aboutsummaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorAnton Schubert2020-06-05 20:41:25 +0200
committerAnton Schubert2020-06-05 20:41:32 +0200
commit5da35b82a29604778d410bf569c55304a1a64a24 (patch)
tree28c1489e844a1563f720033f989941882980cb52 /assets
parent1ee296bcba4f37775206208af0fa65d6886554e2 (diff)
Pass stream language as preferred language to voc-player
This allows setting a preferred language in embeds e.g. with /embed/stream/dash/translated to start off with a different audio lang than native
Diffstat (limited to 'assets')
-rw-r--r--assets/js/lustiges-script.js1
-rw-r--r--assets/voc-player/player.js34
-rw-r--r--assets/voc-player/player.js.map2
3 files changed, 19 insertions, 18 deletions
diff --git a/assets/js/lustiges-script.js b/assets/js/lustiges-script.js
index e7f8a86..1952af4 100644
--- a/assets/js/lustiges-script.js
+++ b/assets/js/lustiges-script.js
@@ -41,6 +41,7 @@ $(function() {
autoPlay: true,
poster: $player.data("poster"),
audioOnly: !!$player.data("audio-only"),
+ preferredAudioLanguage: $player.data("preferred-language"),
events: {
onReady: function() {
var player = this;
diff --git a/assets/voc-player/player.js b/assets/voc-player/player.js
index 6615d1f..e6b2d0f 100644
--- a/assets/voc-player/player.js
+++ b/assets/voc-player/player.js
@@ -74,7 +74,7 @@
/*!********************************************!*\
!*** ./node_modules/clappr-zepto/zepto.js ***!
\********************************************/
-/*! no static exports found */function(e,t){var r,n=function(){var e,t,r,n,i,o=[],a=o.concat,s=o.filter,l=o.slice,u=window.document,c={},d={},f={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},h=/^\s*<(\w+|!)[^>]*>/,p=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,m=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,g=/^(?:body|html)$/i,y=/([A-Z])/g,v=["val","css","html","text","data","width","height","offset"],b=u.createElement("table"),_=u.createElement("tr"),A={tr:u.createElement("tbody"),tbody:b,thead:b,tfoot:b,td:_,th:_,"*":u.createElement("div")},E=/complete|loaded|interactive/,T=/^[\w-]*$/,S={},w=S.toString,k={},x=u.createElement("div"),C={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},R=Array.isArray||function(e){return e instanceof Array};function L(e){return null==e?String(e):S[w.call(e)]||"object"}function j(e){return"function"==L(e)}function P(e){return null!=e&&e==e.window}function I(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function O(e){return"object"==L(e)}function D(e){return O(e)&&!P(e)&&Object.getPrototypeOf(e)==Object.prototype}function M(e){var r=!!e&&"length"in e&&e.length,n=t.type(e);return"function"!=n&&!P(e)&&("array"==n||0===r||"number"==typeof r&&r>0&&r-1 in e)}function N(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function U(e){return e in d?d[e]:d[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function F(e,t){return"number"!=typeof t||f[N(e)]?t:t+"px"}function B(e){return"children"in e?l.call(e.children):t.map(e.childNodes,(function(e){if(1==e.nodeType)return e}))}function K(e,t){var r,n=e?e.length:0;for(r=0;r<n;r++)this[r]=e[r];this.length=n,this.selector=t||""}function G(t,r,n){for(e in r)n&&(D(r[e])||R(r[e]))?(D(r[e])&&!D(t[e])&&(t[e]={}),R(r[e])&&!R(t[e])&&(t[e]=[]),G(t[e],r[e],n)):void 0!==r[e]&&(t[e]=r[e])}function V(e,r){return null==r?t(e):t(e).filter(r)}function H(e,t,r,n){return j(t)?t.call(e,r,n):t}function Y(e,t,r){null==r?e.removeAttribute(t):e.setAttribute(t,r)}function z(e,t){var r=e.className||"",n=r&&void 0!==r.baseVal;if(void 0===t)return n?r.baseVal:r;n?r.baseVal=t:e.className=t}function W(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?t.parseJSON(e):e):e}catch(t){return e}}function $(e,t){t(e);for(var r=0,n=e.childNodes.length;r<n;r++)$(e.childNodes[r],t)}return k.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var r=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(r)return r.call(e,t);var n,i=e.parentNode,o=!i;return o&&(i=x).appendChild(e),n=~k.qsa(i,t).indexOf(e),o&&x.removeChild(e),n},n=function(e){return e.replace(/-+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))},i=function(e){return s.call(e,(function(t,r){return e.indexOf(t)==r}))},k.fragment=function(e,r,n){var i,o,a;return p.test(e)&&(i=t(u.createElement(RegExp.$1))),i||(e.replace&&(e=e.replace(m,"<$1></$2>")),void 0===r&&(r=h.test(e)&&RegExp.$1),r in A||(r="*"),(a=A[r]).innerHTML=""+e,i=t.each(l.call(a.childNodes),(function(){a.removeChild(this)}))),D(n)&&(o=t(i),t.each(n,(function(e,t){v.indexOf(e)>-1?o[e](t):o.attr(e,t)}))),i},k.Z=function(e,t){return new K(e,t)},k.isZ=function(e){return e instanceof k.Z},k.init=function(e,r){var n,i;if(!e)return k.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&h.test(e))n=k.fragment(e,RegExp.$1,r),e=null;else{if(void 0!==r)return t(r).find(e);n=k.qsa(u,e)}else{if(j(e))return t(u).ready(e);if(k.isZ(e))return e;if(R(e))i=e,n=s.call(i,(function(e){return null!=e}));else if(O(e))n=[e],e=null;else if(h.test(e))n=k.fragment(e.trim(),RegExp.$1,r),e=null;else{if(void 0!==r)return t(r).find(e);n=k.qsa(u,e)}}return k.Z(n,e)},(t=function(e,t){return k.init(e,t)}).extend=function(e){var t,r=l.call(arguments,1);return"boolean"==typeof e&&(t=e,e=r.shift()),r.forEach((function(r){G(e,r,t)})),e},k.qsa=function(e,t){var r,n="#"==t[0],i=!n&&"."==t[0],o=n||i?t.slice(1):t,a=T.test(o);return e.getElementById&&a&&n?(r=e.getElementById(o))?[r]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(a&&!n&&e.getElementsByClassName?i?e.getElementsByClassName(o):e.getElementsByTagName(t):e.querySelectorAll(t))},t.contains=u.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},t.type=L,t.isFunction=j,t.isWindow=P,t.isArray=R,t.isPlainObject=D,t.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},t.isNumeric=function(e){var t=Number(e),r=typeof e;return null!=e&&"boolean"!=r&&("string"!=r||e.length)&&!isNaN(t)&&isFinite(t)||!1},t.inArray=function(e,t,r){return o.indexOf.call(t,e,r)},t.camelCase=n,t.trim=function(e){return null==e?"":String.prototype.trim.call(e)},t.uuid=0,t.support={},t.expr={},t.noop=function(){},t.map=function(e,r){var n,i,o,a,s=[];if(M(e))for(i=0;i<e.length;i++)null!=(n=r(e[i],i))&&s.push(n);else for(o in e)null!=(n=r(e[o],o))&&s.push(n);return(a=s).length>0?t.fn.concat.apply([],a):a},t.each=function(e,t){var r,n;if(M(e)){for(r=0;r<e.length;r++)if(!1===t.call(e[r],r,e[r]))return e}else for(n in e)if(!1===t.call(e[n],n,e[n]))return e;return e},t.grep=function(e,t){return s.call(e,t)},window.JSON&&(t.parseJSON=JSON.parse),t.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){S["[object "+t+"]"]=t.toLowerCase()})),t.fn={constructor:k.Z,length:0,forEach:o.forEach,reduce:o.reduce,push:o.push,sort:o.sort,splice:o.splice,indexOf:o.indexOf,concat:function(){var e,t,r=[];for(e=0;e<arguments.length;e++)t=arguments[e],r[e]=k.isZ(t)?t.toArray():t;return a.apply(k.isZ(this)?this.toArray():this,r)},map:function(e){return t(t.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return t(l.apply(this,arguments))},ready:function(e){return E.test(u.readyState)&&u.body?e(t):u.addEventListener("DOMContentLoaded",(function(){e(t)}),!1),this},get:function(e){return void 0===e?l.call(this):this[e>=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(e){return o.every.call(this,(function(t,r){return!1!==e.call(t,r,t)})),this},filter:function(e){return j(e)?this.not(this.not(e)):t(s.call(this,(function(t){return k.matches(t,e)})))},add:function(e,r){return t(i(this.concat(t(e,r))))},is:function(e){return this.length>0&&k.matches(this[0],e)},not:function(e){var r=[];if(j(e)&&void 0!==e.call)this.each((function(t){e.call(this,t)||r.push(this)}));else{var n="string"==typeof e?this.filter(e):M(e)&&j(e.item)?l.call(e):t(e);this.forEach((function(e){n.indexOf(e)<0&&r.push(e)}))}return t(r)},has:function(e){return this.filter((function(){return O(e)?t.contains(this,e):t(this).find(e).size()}))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!O(e)?e:t(e)},last:function(){var e=this[this.length-1];return e&&!O(e)?e:t(e)},find:function(e){var r=this;return e?"object"==typeof e?t(e).filter((function(){var e=this;return o.some.call(r,(function(r){return t.contains(r,e)}))})):1==this.length?t(k.qsa(this[0],e)):this.map((function(){return k.qsa(this,e)})):t()},closest:function(e,r){var n=[],i="object"==typeof e&&t(e);return this.each((function(t,o){for(;o&&!(i?i.indexOf(o)>=0:k.matches(o,e));)o=o!==r&&!I(o)&&o.parentNode;o&&n.indexOf(o)<0&&n.push(o)})),t(n)},parents:function(e){for(var r=[],n=this;n.length>0;)n=t.map(n,(function(e){if((e=e.parentNode)&&!I(e)&&r.indexOf(e)<0)return r.push(e),e}));return V(r,e)},parent:function(e){return V(i(this.pluck("parentNode")),e)},children:function(e){return V(this.map((function(){return B(this)})),e)},contents:function(){return this.map((function(){return this.contentDocument||l.call(this.childNodes)}))},siblings:function(e){return V(this.map((function(e,t){return s.call(B(t.parentNode),(function(e){return e!==t}))})),e)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(e){return t.map(this,(function(t){return t[e]}))},show:function(){return this.each((function(){var e,t,r;"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=(e=this.nodeName,c[e]||(t=u.createElement(e),u.body.appendChild(t),r=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==r&&(r="block"),c[e]=r),c[e]))}))},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var r=j(e);if(this[0]&&!r)var n=t(e).get(0),i=n.parentNode||this.length>1;return this.each((function(o){t(this).wrapAll(r?e.call(this,o):i?n.cloneNode(!0):n)}))},wrapAll:function(e){if(this[0]){var r;for(t(this[0]).before(e=t(e));(r=e.children()).length;)e=r.first();t(e).append(this)}return this},wrapInner:function(e){var r=j(e);return this.each((function(n){var i=t(this),o=i.contents(),a=r?e.call(this,n):e;o.length?o.wrapAll(a):i.append(a)}))},unwrap:function(){return this.parent().each((function(){t(this).replaceWith(t(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(e){return this.each((function(){var r=t(this);(void 0===e?"none"==r.css("display"):e)?r.show():r.hide()}))},prev:function(e){return t(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return t(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each((function(r){var n=this.innerHTML;t(this).empty().append(H(this,e,r,n))})):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each((function(t){var r=H(this,e,t,this.textContent);this.textContent=null==r?"":""+r})):0 in this?this.pluck("textContent").join(""):null},attr:function(t,r){var n;return"string"!=typeof t||1 in arguments?this.each((function(n){if(1===this.nodeType)if(O(t))for(e in t)Y(this,e,t[e]);else Y(this,t,H(this,r,n,this.getAttribute(t)))})):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(t))?n:void 0},removeAttr:function(e){return this.each((function(){1===this.nodeType&&e.split(" ").forEach((function(e){Y(this,e)}),this)}))},prop:function(e,t){return e=C[e]||e,1 in arguments?this.each((function(r){this[e]=H(this,t,r,this[e])})):this[0]&&this[0][e]},removeProp:function(e){return e=C[e]||e,this.each((function(){delete this[e]}))},data:function(e,t){var r="data-"+e.replace(y,"-$1").toLowerCase(),n=1 in arguments?this.attr(r,t):this.attr(r);return null!==n?W(n):void 0},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each((function(t){this.value=H(this,e,t,this.value)}))):this[0]&&(this[0].multiple?t(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each((function(r){var n=t(this),i=H(this,e,r,n.offset()),o=n.offsetParent().offset(),a={top:i.top-o.top,left:i.left-o.left};"static"==n.css("position")&&(a.position="relative"),n.css(a)}));if(!this.length)return null;if(u.documentElement!==this[0]&&!t.contains(u.documentElement,this[0]))return{top:0,left:0};var r=this[0].getBoundingClientRect();return{left:r.left+window.pageXOffset,top:r.top+window.pageYOffset,width:Math.round(r.width),height:Math.round(r.height)}},css:function(r,i){if(arguments.length<2){var o=this[0];if("string"==typeof r){if(!o)return;return o.style[n(r)]||getComputedStyle(o,"").getPropertyValue(r)}if(R(r)){if(!o)return;var a={},s=getComputedStyle(o,"");return t.each(r,(function(e,t){a[t]=o.style[n(t)]||s.getPropertyValue(t)})),a}}var l="";if("string"==L(r))i||0===i?l=N(r)+":"+F(r,i):this.each((function(){this.style.removeProperty(N(r))}));else for(e in r)r[e]||0===r[e]?l+=N(e)+":"+F(e,r[e])+";":this.each((function(){this.style.removeProperty(N(e))}));return this.each((function(){this.style.cssText+=";"+l}))},index:function(e){return e?this.indexOf(t(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&o.some.call(this,(function(e){return this.test(z(e))}),U(e))},addClass:function(e){return e?this.each((function(n){if("className"in this){r=[];var i=z(this);H(this,e,n,i).split(/\s+/g).forEach((function(e){t(this).hasClass(e)||r.push(e)}),this),r.length&&z(this,i+(i?" ":"")+r.join(" "))}})):this},removeClass:function(e){return this.each((function(t){if("className"in this){if(void 0===e)return z(this,"");r=z(this),H(this,e,t,r).split(/\s+/g).forEach((function(e){r=r.replace(U(e)," ")})),z(this,r.trim())}}))},toggleClass:function(e,r){return e?this.each((function(n){var i=t(this);H(this,e,n,z(this)).split(/\s+/g).forEach((function(e){(void 0===r?!i.hasClass(e):r)?i.addClass(e):i.removeClass(e)}))})):this},scrollTop:function(e){if(this.length){var t="scrollTop"in this[0];return void 0===e?t?this[0].scrollTop:this[0].pageYOffset:this.each(t?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var t="scrollLeft"in this[0];return void 0===e?t?this[0].scrollLeft:this[0].pageXOffset:this.each(t?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],r=this.offsetParent(),n=this.offset(),i=g.test(r[0].nodeName)?{top:0,left:0}:r.offset();return n.top-=parseFloat(t(e).css("margin-top"))||0,n.left-=parseFloat(t(e).css("margin-left"))||0,i.top+=parseFloat(t(r[0]).css("border-top-width"))||0,i.left+=parseFloat(t(r[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||u.body;e&&!g.test(e.nodeName)&&"static"==t(e).css("position");)e=e.offsetParent;return e}))}},t.fn.detach=t.fn.remove,["width","height"].forEach((function(e){var r=e.replace(/./,(function(e){return e[0].toUpperCase()}));t.fn[e]=function(n){var i,o=this[0];return void 0===n?P(o)?o["inner"+r]:I(o)?o.documentElement["scroll"+r]:(i=this.offset())&&i[e]:this.each((function(r){(o=t(this)).css(e,H(this,n,r,o[e]()))}))}})),["after","prepend","before","append"].forEach((function(e,r){var n=r%2;t.fn[e]=function(){var e,i,o=t.map(arguments,(function(r){var n=[];return"array"==(e=L(r))?(r.forEach((function(e){return void 0!==e.nodeType?n.push(e):t.zepto.isZ(e)?n=n.concat(e.get()):void(n=n.concat(k.fragment(e)))})),n):"object"==e||null==r?r:k.fragment(r)})),a=this.length>1;return o.length<1?this:this.each((function(e,s){i=n?s:s.parentNode,s=0==r?s.nextSibling:1==r?s.firstChild:2==r?s:null;var l=t.contains(u.documentElement,i);o.forEach((function(e){if(a)e=e.cloneNode(!0);else if(!i)return t(e).remove();i.insertBefore(e,s),l&&$(e,(function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var t=e.ownerDocument?e.ownerDocument.defaultView:window;t.eval.call(t,e.innerHTML)}}))}))}))},t.fn[n?e+"To":"insert"+(r?"Before":"After")]=function(r){return t(r)[e](this),this}})),k.Z.prototype=K.prototype=t.fn,k.uniq=i,k.deserializeValue=W,t.zepto=k,t}();window.Zepto=n,void 0===window.$&&(window.$=n),function(e){var t,r,n=+new Date,i=window.document,o=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,a=/^(?:text|application)\/javascript/i,s=/^(?:text|application)\/xml/i,l=/^\s*$/,u=i.createElement("a");function c(t,r,n,o){if(t.global)return function(t,r,n){var i=e.Event(r);return e(t).trigger(i,n),!i.isDefaultPrevented()}(r||i,n,o)}function d(e,t){var r=t.context;if(!1===t.beforeSend.call(r,e,t)||!1===c(t,r,"ajaxBeforeSend",[e,t]))return!1;c(t,r,"ajaxSend",[e,t])}function f(e,t,r,n){var i=r.context;r.success.call(i,e,"success",t),n&&n.resolveWith(i,[e,"success",t]),c(r,i,"ajaxSuccess",[t,r,e]),p("success",t,r)}function h(e,t,r,n,i){var o=n.context;n.error.call(o,r,t,e),i&&i.rejectWith(o,[r,t,e]),c(n,o,"ajaxError",[r,n,e||t]),p(t,r,n)}function p(t,r,n){var i=n.context;n.complete.call(i,r,t),c(n,i,"ajaxComplete",[r,n]),function(t){t.global&&!--e.active&&c(t,null,"ajaxStop")}(n)}function m(){}function g(e,t){return""==t?e:(e+"&"+t).replace(/[&?]{1,2}/,"?")}function y(t,r,n,i){return e.isFunction(r)&&(i=n,n=r,r=void 0),e.isFunction(n)||(i=n,n=void 0),{url:t,data:r,success:n,dataType:i}}u.href=window.location.href,e.active=0,e.ajaxJSONP=function(t,r){if(!("type"in t))return e.ajax(t);var o,a,s=t.jsonpCallback,l=(e.isFunction(s)?s():s)||"Zepto"+n++,u=i.createElement("script"),c=window[l],p=function(t){e(u).triggerHandler("error",t||"abort")},m={abort:p};return r&&r.promise(m),e(u).on("load error",(function(n,i){clearTimeout(a),e(u).off().remove(),"error"!=n.type&&o?f(o[0],m,t,r):h(null,i||"error",m,t,r),window[l]=c,o&&e.isFunction(c)&&c(o[0]),c=o=void 0})),!1===d(m,t)?(p("abort"),m):(window[l]=function(){o=arguments},u.src=t.url.replace(/\?(.+)=\?/,"?$1="+l),i.head.appendChild(u),t.timeout>0&&(a=setTimeout((function(){p("timeout")}),t.timeout)),m)},e.ajaxSettings={type:"GET",beforeSend:m,success:m,error:m,complete:m,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:"application/json",xml:"application/xml, text/xml",html:"text/html",text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:m},e.ajax=function(n){var o,p,y=e.extend({},n||{}),v=e.Deferred&&e.Deferred();for(t in e.ajaxSettings)void 0===y[t]&&(y[t]=e.ajaxSettings[t]);!function(t){t.global&&0==e.active++&&c(t,null,"ajaxStart")}(y),y.crossDomain||((o=i.createElement("a")).href=y.url,o.href=o.href,y.crossDomain=u.protocol+"//"+u.host!=o.protocol+"//"+o.host),y.url||(y.url=window.location.toString()),(p=y.url.indexOf("#"))>-1&&(y.url=y.url.slice(0,p)),function(t){t.processData&&t.data&&"string"!=e.type(t.data)&&(t.data=e.param(t.data,t.traditional)),!t.data||t.type&&"GET"!=t.type.toUpperCase()&&"jsonp"!=t.dataType||(t.url=g(t.url,t.data),t.data=void 0)}(y);var b=y.dataType,_=/\?.+=\?/.test(y.url);if(_&&(b="jsonp"),!1!==y.cache&&(n&&!0===n.cache||"script"!=b&&"jsonp"!=b)||(y.url=g(y.url,"_="+Date.now())),"jsonp"==b)return _||(y.url=g(y.url,y.jsonp?y.jsonp+"=?":!1===y.jsonp?"":"callback=?")),e.ajaxJSONP(y,v);var A,E=y.accepts[b],T={},S=function(e,t){T[e.toLowerCase()]=[e,t]},w=/^([\w-]+:)\/\//.test(y.url)?RegExp.$1:window.location.protocol,k=y.xhr(),x=k.setRequestHeader;if(v&&v.promise(k),y.crossDomain||S("X-Requested-With","XMLHttpRequest"),S("Accept",E||"*/*"),(E=y.mimeType||E)&&(E.indexOf(",")>-1&&(E=E.split(",",2)[0]),k.overrideMimeType&&k.overrideMimeType(E)),(y.contentType||!1!==y.contentType&&y.data&&"GET"!=y.type.toUpperCase())&&S("Content-Type",y.contentType||"application/x-www-form-urlencoded"),y.headers)for(r in y.headers)S(r,y.headers[r]);if(k.setRequestHeader=S,k.onreadystatechange=function(){if(4==k.readyState){k.onreadystatechange=m,clearTimeout(A);var t,r=!1;if(k.status>=200&&k.status<300||304==k.status||0==k.status&&"file:"==w){if(b=b||function(e){return e&&(e=e.split(";",2)[0]),e&&("text/html"==e?"html":"application/json"==e?"json":a.test(e)?"script":s.test(e)&&"xml")||"text"}(y.mimeType||k.getResponseHeader("content-type")),"arraybuffer"==k.responseType||"blob"==k.responseType)t=k.response;else{t=k.responseText;try{t=function(e,t,r){if(r.dataFilter==m)return e;var n=r.context;return r.dataFilter.call(n,e,t)}(t,b,y),"script"==b?(0,eval)(t):"xml"==b?t=k.responseXML:"json"==b&&(t=l.test(t)?null:e.parseJSON(t))}catch(e){r=e}if(r)return h(r,"parsererror",k,y,v)}f(t,k,y,v)}else h(k.statusText||null,k.status?"error":"abort",k,y,v)}},!1===d(k,y))return k.abort(),h(null,"abort",k,y,v),k;var C=!("async"in y)||y.async;if(k.open(y.type,y.url,C,y.username,y.password),y.xhrFields)for(r in y.xhrFields)k[r]=y.xhrFields[r];for(r in T)x.apply(k,T[r]);return y.timeout>0&&(A=setTimeout((function(){k.onreadystatechange=m,k.abort(),h(null,"timeout",k,y,v)}),y.timeout)),k.send(y.data?y.data:null),k},e.get=function(){return e.ajax(y.apply(null,arguments))},e.post=function(){var t=y.apply(null,arguments);return t.type="POST",e.ajax(t)},e.getJSON=function(){var t=y.apply(null,arguments);return t.dataType="json",e.ajax(t)},e.fn.load=function(t,r,n){if(!this.length)return this;var i,a=this,s=t.split(/\s/),l=y(t,r,n),u=l.success;return s.length>1&&(l.url=s[0],i=s[1]),l.success=function(t){a.html(i?e("<div>").html(t.replace(o,"")).find(i):t),u&&u.apply(a,arguments)},e.ajax(l),this};var v=encodeURIComponent;e.param=function(t,r){var n=[];return n.add=function(t,r){e.isFunction(r)&&(r=r()),null==r&&(r=""),this.push(v(t)+"="+v(r))},function t(r,n,i,o){var a,s=e.isArray(n),l=e.isPlainObject(n);e.each(n,(function(n,u){a=e.type(u),o&&(n=i?o:o+"["+(l||"object"==a||"array"==a?n:"")+"]"),!o&&s?r.add(u.name,u.value):"array"==a||!i&&"object"==a?t(r,u,i,n):r.add(n,u)}))}(n,t,r),n.join("&").replace(/%20/g,"+")}}(n),(r=n).Callbacks=function(e){e=r.extend({},e);var t,n,i,o,a,s,l=[],u=!e.once&&[],c=function(r){for(t=e.memory&&r,n=!0,s=o||0,o=0,a=l.length,i=!0;l&&s<a;++s)if(!1===l[s].apply(r[0],r[1])&&e.stopOnFalse){t=!1;break}i=!1,l&&(u?u.length&&c(u.shift()):t?l.length=0:d.disable())},d={add:function(){if(l){var n=l.length,s=function(t){r.each(t,(function(t,r){"function"==typeof r?e.unique&&d.has(r)||l.push(r):r&&r.length&&"string"!=typeof r&&s(r)}))};s(arguments),i?a=l.length:t&&(o=n,c(t))}return this},remove:function(){return l&&r.each(arguments,(function(e,t){for(var n;(n=r.inArray(t,l,n))>-1;)l.splice(n,1),i&&(n<=a&&--a,n<=s&&--s)})),this},has:function(e){return!(!l||!(e?r.inArray(e,l)>-1:l.length))},empty:function(){return a=l.length=0,this},disable:function(){return l=u=t=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,t||d.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||n&&!u||(t=[e,(t=t||[]).slice?t.slice():t],i?u.push(t):c(t)),this},fire:function(){return d.fireWith(this,arguments)},fired:function(){return!!n}};return d},function(e){var t=Array.prototype.slice;function r(t){var n=[["resolve","done",e.Callbacks({once:1,memory:1}),"resolved"],["reject","fail",e.Callbacks({once:1,memory:1}),"rejected"],["notify","progress",e.Callbacks({memory:1})]],i="pending",o={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var t=arguments;return r((function(r){e.each(n,(function(n,i){var s=e.isFunction(t[n])&&t[n];a[i[1]]((function(){var t=s&&s.apply(this,arguments);if(t&&e.isFunction(t.promise))t.promise().done(r.resolve).fail(r.reject).progress(r.notify);else{var n=this===o?r.promise():this,a=s?[t]:arguments;r[i[0]+"With"](n,a)}}))})),t=null})).promise()},promise:function(t){return null!=t?e.extend(t,o):o}},a={};return e.each(n,(function(e,t){var r=t[2],s=t[3];o[t[1]]=r.add,s&&r.add((function(){i=s}),n[1^e][2].disable,n[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?o:this,arguments),this},a[t[0]+"With"]=r.fireWith})),o.promise(a),t&&t.call(a,a),a}e.when=function(n){var i,o,a,s=t.call(arguments),l=s.length,u=0,c=1!==l||n&&e.isFunction(n.promise)?l:0,d=1===c?n:r(),f=function(e,r,n){return function(o){r[e]=this,n[e]=arguments.length>1?t.call(arguments):o,n===i?d.notifyWith(r,n):--c||d.resolveWith(r,n)}};if(l>1)for(i=new Array(l),o=new Array(l),a=new Array(l);u<l;++u)s[u]&&e.isFunction(s[u].promise)?s[u].promise().done(f(u,a,s)).fail(d.reject).progress(f(u,o,i)):--c;return c||d.resolveWith(a,s),d.promise()},e.Deferred=r}(n),function(e){var t=1,r=Array.prototype.slice,n=e.isFunction,i=function(e){return"string"==typeof e},o={},a={},s="onfocusin"in window,l={focus:"focusin",blur:"focusout"},u={mouseenter:"mouseover",mouseleave:"mouseout"};function c(e){return e._zid||(e._zid=t++)}function d(e,t,r,n){if((t=f(t)).ns)var i=(a=t.ns,new RegExp("(?:^| )"+a.replace(" "," .* ?")+"(?: |$)"));var a;return(o[c(e)]||[]).filter((function(e){return e&&(!t.e||e.e==t.e)&&(!t.ns||i.test(e.ns))&&(!r||c(e.fn)===c(r))&&(!n||e.sel==n)}))}function f(e){var t=(""+e).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function h(e,t){return e.del&&!s&&e.e in l||!!t}function p(e){return u[e]||s&&l[e]||e}function m(t,r,n,i,a,s,l){var d=c(t),m=o[d]||(o[d]=[]);r.split(/\s/).forEach((function(r){if("ready"==r)return e(document).ready(n);var o=f(r);o.fn=n,o.sel=a,o.e in u&&(n=function(t){var r=t.relatedTarget;if(!r||r!==this&&!e.contains(this,r))return o.fn.apply(this,arguments)}),o.del=s;var c=s||n;o.proxy=function(e){if(!(e=A(e)).isImmediatePropagationStopped()){e.data=i;var r=c.apply(t,null==e._args?[e]:[e].concat(e._args));return!1===r&&(e.preventDefault(),e.stopPropagation()),r}},o.i=m.length,m.push(o),"addEventListener"in t&&t.addEventListener(p(o.e),o.proxy,h(o,l))}))}function g(e,t,r,n,i){var a=c(e);(t||"").split(/\s/).forEach((function(t){d(e,t,r,n).forEach((function(t){delete o[a][t.i],"removeEventListener"in e&&e.removeEventListener(p(t.e),t.proxy,h(t,i))}))}))}a.click=a.mousedown=a.mouseup=a.mousemove="MouseEvents",e.event={add:m,remove:g},e.proxy=function(t,o){var a=2 in arguments&&r.call(arguments,2);if(n(t)){var s=function(){return t.apply(o,a?a.concat(r.call(arguments)):arguments)};return s._zid=c(t),s}if(i(o))return a?(a.unshift(t[o],t),e.proxy.apply(null,a)):e.proxy(t[o],t);throw new TypeError("expected function")},e.fn.bind=function(e,t,r){return this.on(e,t,r)},e.fn.unbind=function(e,t){return this.off(e,t)},e.fn.one=function(e,t,r,n){return this.on(e,t,r,n,1)};var y=function(){return!0},v=function(){return!1},b=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,_={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function A(t,r){return!r&&t.isDefaultPrevented||(r||(r=t),e.each(_,(function(e,n){var i=r[e];t[e]=function(){return this[n]=y,i&&i.apply(r,arguments)},t[n]=v})),t.timeStamp||(t.timeStamp=Date.now()),(void 0!==r.defaultPrevented?r.defaultPrevented:"returnValue"in r?!1===r.returnValue:r.getPreventDefault&&r.getPreventDefault())&&(t.isDefaultPrevented=y)),t}function E(e){var t,r={originalEvent:e};for(t in e)b.test(t)||void 0===e[t]||(r[t]=e[t]);return A(r,e)}e.fn.delegate=function(e,t,r){return this.on(t,e,r)},e.fn.undelegate=function(e,t,r){return this.off(t,e,r)},e.fn.live=function(t,r){return e(document.body).delegate(this.selector,t,r),this},e.fn.die=function(t,r){return e(document.body).undelegate(this.selector,t,r),this},e.fn.on=function(t,o,a,s,l){var u,c,d=this;return t&&!i(t)?(e.each(t,(function(e,t){d.on(e,o,a,t,l)})),d):(i(o)||n(s)||!1===s||(s=a,a=o,o=void 0),void 0!==s&&!1!==a||(s=a,a=void 0),!1===s&&(s=v),d.each((function(n,i){l&&(u=function(e){return g(i,e.type,s),s.apply(this,arguments)}),o&&(c=function(t){var n,a=e(t.target).closest(o,i).get(0);if(a&&a!==i)return n=e.extend(E(t),{currentTarget:a,liveFired:i}),(u||s).apply(a,[n].concat(r.call(arguments,1)))}),m(i,t,s,a,o,c||u)})))},e.fn.off=function(t,r,o){var a=this;return t&&!i(t)?(e.each(t,(function(e,t){a.off(e,r,t)})),a):(i(r)||n(o)||!1===o||(o=r,r=void 0),!1===o&&(o=v),a.each((function(){g(this,t,o,r)})))},e.fn.trigger=function(t,r){return(t=i(t)||e.isPlainObject(t)?e.Event(t):A(t))._args=r,this.each((function(){t.type in l&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,r)}))},e.fn.triggerHandler=function(t,r){var n,o;return this.each((function(a,s){(n=E(i(t)?e.Event(t):t))._args=r,n.target=s,e.each(d(s,t.type||t),(function(e,t){if(o=t.proxy(n),n.isImmediatePropagationStopped())return!1}))})),o},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}})),e.Event=function(e,t){i(e)||(e=(t=e).type);var r=document.createEvent(a[e]||"Events"),n=!0;if(t)for(var o in t)"bubbles"==o?n=!!t[o]:r[o]=t[o];return r.initEvent(e,n,!0),A(r)}}(n),function(){try{getComputedStyle(void 0)}catch(t){var e=getComputedStyle;window.getComputedStyle=function(t,r){try{return e(t,r)}catch(e){return null}}}}(),function(e){var t=e.zepto,r=t.qsa,n=t.matches;function i(t){return!(!(t=e(t)).width()&&!t.height())&&"none"!==t.css("display")}var o=e.expr[":"]={visible:function(){if(i(this))return this},hidden:function(){if(!i(this))return this},selected:function(){if(this.selected)return this},checked:function(){if(this.checked)return this},parent:function(){return this.parentNode},first:function(e){if(0===e)return this},last:function(e,t){if(e===t.length-1)return this},eq:function(e,t,r){if(e===r)return this},contains:function(t,r,n){if(e(this).text().indexOf(n)>-1)return this},has:function(e,r,n){if(t.qsa(this,n).length)return this}},a=new RegExp("(.*):(\\w+)(?:\\(([^)]+)\\))?$\\s*"),s=/^\s*>/,l="Zepto"+ +new Date;function u(e,t){e=e.replace(/=#\]/g,'="#"]');var r,n,i=a.exec(e);if(i&&i[2]in o&&(r=o[i[2]],n=i[3],e=i[1],n)){var s=Number(n);n=isNaN(s)?n.replace(/^["']|["']$/g,""):s}return t(e,r,n)}t.qsa=function(n,i){return u(i,(function(o,a,u){try{var c;!o&&a?o="*":s.test(o)&&(c=e(n).addClass(l),o="."+l+" "+o);var d=r(n,o)}catch(e){throw console.error("error performing selector: %o",i),e}finally{c&&c.removeClass(l)}return a?t.uniq(e.map(d,(function(e,t){return a.call(e,t,d,u)}))):d}))},t.matches=function(e,t){return u(t,(function(t,r,i){return(!t||n(e,t))&&(!r||r.call(e,null,i)===e)}))}}(n),e.exports=n},"./node_modules/core-js/library/fn/array/from.js":
+/*! no static exports found */function(e,t){var r,n=function(){var e,t,r,n,i,o=[],a=o.concat,s=o.filter,l=o.slice,u=window.document,c={},d={},f={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},h=/^\s*<(\w+|!)[^>]*>/,p=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,m=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,g=/^(?:body|html)$/i,y=/([A-Z])/g,v=["val","css","html","text","data","width","height","offset"],b=u.createElement("table"),_=u.createElement("tr"),A={tr:u.createElement("tbody"),tbody:b,thead:b,tfoot:b,td:_,th:_,"*":u.createElement("div")},E=/complete|loaded|interactive/,T=/^[\w-]*$/,S={},w=S.toString,k={},C=u.createElement("div"),x={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},R=Array.isArray||function(e){return e instanceof Array};function L(e){return null==e?String(e):S[w.call(e)]||"object"}function j(e){return"function"==L(e)}function P(e){return null!=e&&e==e.window}function I(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function O(e){return"object"==L(e)}function D(e){return O(e)&&!P(e)&&Object.getPrototypeOf(e)==Object.prototype}function M(e){var r=!!e&&"length"in e&&e.length,n=t.type(e);return"function"!=n&&!P(e)&&("array"==n||0===r||"number"==typeof r&&r>0&&r-1 in e)}function N(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function F(e){return e in d?d[e]:d[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function U(e,t){return"number"!=typeof t||f[N(e)]?t:t+"px"}function B(e){return"children"in e?l.call(e.children):t.map(e.childNodes,(function(e){if(1==e.nodeType)return e}))}function K(e,t){var r,n=e?e.length:0;for(r=0;r<n;r++)this[r]=e[r];this.length=n,this.selector=t||""}function G(t,r,n){for(e in r)n&&(D(r[e])||R(r[e]))?(D(r[e])&&!D(t[e])&&(t[e]={}),R(r[e])&&!R(t[e])&&(t[e]=[]),G(t[e],r[e],n)):void 0!==r[e]&&(t[e]=r[e])}function V(e,r){return null==r?t(e):t(e).filter(r)}function H(e,t,r,n){return j(t)?t.call(e,r,n):t}function Y(e,t,r){null==r?e.removeAttribute(t):e.setAttribute(t,r)}function z(e,t){var r=e.className||"",n=r&&void 0!==r.baseVal;if(void 0===t)return n?r.baseVal:r;n?r.baseVal=t:e.className=t}function W(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?t.parseJSON(e):e):e}catch(t){return e}}function $(e,t){t(e);for(var r=0,n=e.childNodes.length;r<n;r++)$(e.childNodes[r],t)}return k.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var r=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(r)return r.call(e,t);var n,i=e.parentNode,o=!i;return o&&(i=C).appendChild(e),n=~k.qsa(i,t).indexOf(e),o&&C.removeChild(e),n},n=function(e){return e.replace(/-+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))},i=function(e){return s.call(e,(function(t,r){return e.indexOf(t)==r}))},k.fragment=function(e,r,n){var i,o,a;return p.test(e)&&(i=t(u.createElement(RegExp.$1))),i||(e.replace&&(e=e.replace(m,"<$1></$2>")),void 0===r&&(r=h.test(e)&&RegExp.$1),r in A||(r="*"),(a=A[r]).innerHTML=""+e,i=t.each(l.call(a.childNodes),(function(){a.removeChild(this)}))),D(n)&&(o=t(i),t.each(n,(function(e,t){v.indexOf(e)>-1?o[e](t):o.attr(e,t)}))),i},k.Z=function(e,t){return new K(e,t)},k.isZ=function(e){return e instanceof k.Z},k.init=function(e,r){var n,i;if(!e)return k.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&h.test(e))n=k.fragment(e,RegExp.$1,r),e=null;else{if(void 0!==r)return t(r).find(e);n=k.qsa(u,e)}else{if(j(e))return t(u).ready(e);if(k.isZ(e))return e;if(R(e))i=e,n=s.call(i,(function(e){return null!=e}));else if(O(e))n=[e],e=null;else if(h.test(e))n=k.fragment(e.trim(),RegExp.$1,r),e=null;else{if(void 0!==r)return t(r).find(e);n=k.qsa(u,e)}}return k.Z(n,e)},(t=function(e,t){return k.init(e,t)}).extend=function(e){var t,r=l.call(arguments,1);return"boolean"==typeof e&&(t=e,e=r.shift()),r.forEach((function(r){G(e,r,t)})),e},k.qsa=function(e,t){var r,n="#"==t[0],i=!n&&"."==t[0],o=n||i?t.slice(1):t,a=T.test(o);return e.getElementById&&a&&n?(r=e.getElementById(o))?[r]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:l.call(a&&!n&&e.getElementsByClassName?i?e.getElementsByClassName(o):e.getElementsByTagName(t):e.querySelectorAll(t))},t.contains=u.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},t.type=L,t.isFunction=j,t.isWindow=P,t.isArray=R,t.isPlainObject=D,t.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},t.isNumeric=function(e){var t=Number(e),r=typeof e;return null!=e&&"boolean"!=r&&("string"!=r||e.length)&&!isNaN(t)&&isFinite(t)||!1},t.inArray=function(e,t,r){return o.indexOf.call(t,e,r)},t.camelCase=n,t.trim=function(e){return null==e?"":String.prototype.trim.call(e)},t.uuid=0,t.support={},t.expr={},t.noop=function(){},t.map=function(e,r){var n,i,o,a,s=[];if(M(e))for(i=0;i<e.length;i++)null!=(n=r(e[i],i))&&s.push(n);else for(o in e)null!=(n=r(e[o],o))&&s.push(n);return(a=s).length>0?t.fn.concat.apply([],a):a},t.each=function(e,t){var r,n;if(M(e)){for(r=0;r<e.length;r++)if(!1===t.call(e[r],r,e[r]))return e}else for(n in e)if(!1===t.call(e[n],n,e[n]))return e;return e},t.grep=function(e,t){return s.call(e,t)},window.JSON&&(t.parseJSON=JSON.parse),t.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),(function(e,t){S["[object "+t+"]"]=t.toLowerCase()})),t.fn={constructor:k.Z,length:0,forEach:o.forEach,reduce:o.reduce,push:o.push,sort:o.sort,splice:o.splice,indexOf:o.indexOf,concat:function(){var e,t,r=[];for(e=0;e<arguments.length;e++)t=arguments[e],r[e]=k.isZ(t)?t.toArray():t;return a.apply(k.isZ(this)?this.toArray():this,r)},map:function(e){return t(t.map(this,(function(t,r){return e.call(t,r,t)})))},slice:function(){return t(l.apply(this,arguments))},ready:function(e){return E.test(u.readyState)&&u.body?e(t):u.addEventListener("DOMContentLoaded",(function(){e(t)}),!1),this},get:function(e){return void 0===e?l.call(this):this[e>=0?e:e+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each((function(){null!=this.parentNode&&this.parentNode.removeChild(this)}))},each:function(e){return o.every.call(this,(function(t,r){return!1!==e.call(t,r,t)})),this},filter:function(e){return j(e)?this.not(this.not(e)):t(s.call(this,(function(t){return k.matches(t,e)})))},add:function(e,r){return t(i(this.concat(t(e,r))))},is:function(e){return this.length>0&&k.matches(this[0],e)},not:function(e){var r=[];if(j(e)&&void 0!==e.call)this.each((function(t){e.call(this,t)||r.push(this)}));else{var n="string"==typeof e?this.filter(e):M(e)&&j(e.item)?l.call(e):t(e);this.forEach((function(e){n.indexOf(e)<0&&r.push(e)}))}return t(r)},has:function(e){return this.filter((function(){return O(e)?t.contains(this,e):t(this).find(e).size()}))},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!O(e)?e:t(e)},last:function(){var e=this[this.length-1];return e&&!O(e)?e:t(e)},find:function(e){var r=this;return e?"object"==typeof e?t(e).filter((function(){var e=this;return o.some.call(r,(function(r){return t.contains(r,e)}))})):1==this.length?t(k.qsa(this[0],e)):this.map((function(){return k.qsa(this,e)})):t()},closest:function(e,r){var n=[],i="object"==typeof e&&t(e);return this.each((function(t,o){for(;o&&!(i?i.indexOf(o)>=0:k.matches(o,e));)o=o!==r&&!I(o)&&o.parentNode;o&&n.indexOf(o)<0&&n.push(o)})),t(n)},parents:function(e){for(var r=[],n=this;n.length>0;)n=t.map(n,(function(e){if((e=e.parentNode)&&!I(e)&&r.indexOf(e)<0)return r.push(e),e}));return V(r,e)},parent:function(e){return V(i(this.pluck("parentNode")),e)},children:function(e){return V(this.map((function(){return B(this)})),e)},contents:function(){return this.map((function(){return this.contentDocument||l.call(this.childNodes)}))},siblings:function(e){return V(this.map((function(e,t){return s.call(B(t.parentNode),(function(e){return e!==t}))})),e)},empty:function(){return this.each((function(){this.innerHTML=""}))},pluck:function(e){return t.map(this,(function(t){return t[e]}))},show:function(){return this.each((function(){var e,t,r;"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=(e=this.nodeName,c[e]||(t=u.createElement(e),u.body.appendChild(t),r=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==r&&(r="block"),c[e]=r),c[e]))}))},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var r=j(e);if(this[0]&&!r)var n=t(e).get(0),i=n.parentNode||this.length>1;return this.each((function(o){t(this).wrapAll(r?e.call(this,o):i?n.cloneNode(!0):n)}))},wrapAll:function(e){if(this[0]){var r;for(t(this[0]).before(e=t(e));(r=e.children()).length;)e=r.first();t(e).append(this)}return this},wrapInner:function(e){var r=j(e);return this.each((function(n){var i=t(this),o=i.contents(),a=r?e.call(this,n):e;o.length?o.wrapAll(a):i.append(a)}))},unwrap:function(){return this.parent().each((function(){t(this).replaceWith(t(this).children())})),this},clone:function(){return this.map((function(){return this.cloneNode(!0)}))},hide:function(){return this.css("display","none")},toggle:function(e){return this.each((function(){var r=t(this);(void 0===e?"none"==r.css("display"):e)?r.show():r.hide()}))},prev:function(e){return t(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return t(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each((function(r){var n=this.innerHTML;t(this).empty().append(H(this,e,r,n))})):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each((function(t){var r=H(this,e,t,this.textContent);this.textContent=null==r?"":""+r})):0 in this?this.pluck("textContent").join(""):null},attr:function(t,r){var n;return"string"!=typeof t||1 in arguments?this.each((function(n){if(1===this.nodeType)if(O(t))for(e in t)Y(this,e,t[e]);else Y(this,t,H(this,r,n,this.getAttribute(t)))})):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(t))?n:void 0},removeAttr:function(e){return this.each((function(){1===this.nodeType&&e.split(" ").forEach((function(e){Y(this,e)}),this)}))},prop:function(e,t){return e=x[e]||e,1 in arguments?this.each((function(r){this[e]=H(this,t,r,this[e])})):this[0]&&this[0][e]},removeProp:function(e){return e=x[e]||e,this.each((function(){delete this[e]}))},data:function(e,t){var r="data-"+e.replace(y,"-$1").toLowerCase(),n=1 in arguments?this.attr(r,t):this.attr(r);return null!==n?W(n):void 0},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each((function(t){this.value=H(this,e,t,this.value)}))):this[0]&&(this[0].multiple?t(this[0]).find("option").filter((function(){return this.selected})).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each((function(r){var n=t(this),i=H(this,e,r,n.offset()),o=n.offsetParent().offset(),a={top:i.top-o.top,left:i.left-o.left};"static"==n.css("position")&&(a.position="relative"),n.css(a)}));if(!this.length)return null;if(u.documentElement!==this[0]&&!t.contains(u.documentElement,this[0]))return{top:0,left:0};var r=this[0].getBoundingClientRect();return{left:r.left+window.pageXOffset,top:r.top+window.pageYOffset,width:Math.round(r.width),height:Math.round(r.height)}},css:function(r,i){if(arguments.length<2){var o=this[0];if("string"==typeof r){if(!o)return;return o.style[n(r)]||getComputedStyle(o,"").getPropertyValue(r)}if(R(r)){if(!o)return;var a={},s=getComputedStyle(o,"");return t.each(r,(function(e,t){a[t]=o.style[n(t)]||s.getPropertyValue(t)})),a}}var l="";if("string"==L(r))i||0===i?l=N(r)+":"+U(r,i):this.each((function(){this.style.removeProperty(N(r))}));else for(e in r)r[e]||0===r[e]?l+=N(e)+":"+U(e,r[e])+";":this.each((function(){this.style.removeProperty(N(e))}));return this.each((function(){this.style.cssText+=";"+l}))},index:function(e){return e?this.indexOf(t(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&o.some.call(this,(function(e){return this.test(z(e))}),F(e))},addClass:function(e){return e?this.each((function(n){if("className"in this){r=[];var i=z(this);H(this,e,n,i).split(/\s+/g).forEach((function(e){t(this).hasClass(e)||r.push(e)}),this),r.length&&z(this,i+(i?" ":"")+r.join(" "))}})):this},removeClass:function(e){return this.each((function(t){if("className"in this){if(void 0===e)return z(this,"");r=z(this),H(this,e,t,r).split(/\s+/g).forEach((function(e){r=r.replace(F(e)," ")})),z(this,r.trim())}}))},toggleClass:function(e,r){return e?this.each((function(n){var i=t(this);H(this,e,n,z(this)).split(/\s+/g).forEach((function(e){(void 0===r?!i.hasClass(e):r)?i.addClass(e):i.removeClass(e)}))})):this},scrollTop:function(e){if(this.length){var t="scrollTop"in this[0];return void 0===e?t?this[0].scrollTop:this[0].pageYOffset:this.each(t?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function(e){if(this.length){var t="scrollLeft"in this[0];return void 0===e?t?this[0].scrollLeft:this[0].pageXOffset:this.each(t?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function(){if(this.length){var e=this[0],r=this.offsetParent(),n=this.offset(),i=g.test(r[0].nodeName)?{top:0,left:0}:r.offset();return n.top-=parseFloat(t(e).css("margin-top"))||0,n.left-=parseFloat(t(e).css("margin-left"))||0,i.top+=parseFloat(t(r[0]).css("border-top-width"))||0,i.left+=parseFloat(t(r[0]).css("border-left-width"))||0,{top:n.top-i.top,left:n.left-i.left}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent||u.body;e&&!g.test(e.nodeName)&&"static"==t(e).css("position");)e=e.offsetParent;return e}))}},t.fn.detach=t.fn.remove,["width","height"].forEach((function(e){var r=e.replace(/./,(function(e){return e[0].toUpperCase()}));t.fn[e]=function(n){var i,o=this[0];return void 0===n?P(o)?o["inner"+r]:I(o)?o.documentElement["scroll"+r]:(i=this.offset())&&i[e]:this.each((function(r){(o=t(this)).css(e,H(this,n,r,o[e]()))}))}})),["after","prepend","before","append"].forEach((function(e,r){var n=r%2;t.fn[e]=function(){var e,i,o=t.map(arguments,(function(r){var n=[];return"array"==(e=L(r))?(r.forEach((function(e){return void 0!==e.nodeType?n.push(e):t.zepto.isZ(e)?n=n.concat(e.get()):void(n=n.concat(k.fragment(e)))})),n):"object"==e||null==r?r:k.fragment(r)})),a=this.length>1;return o.length<1?this:this.each((function(e,s){i=n?s:s.parentNode,s=0==r?s.nextSibling:1==r?s.firstChild:2==r?s:null;var l=t.contains(u.documentElement,i);o.forEach((function(e){if(a)e=e.cloneNode(!0);else if(!i)return t(e).remove();i.insertBefore(e,s),l&&$(e,(function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var t=e.ownerDocument?e.ownerDocument.defaultView:window;t.eval.call(t,e.innerHTML)}}))}))}))},t.fn[n?e+"To":"insert"+(r?"Before":"After")]=function(r){return t(r)[e](this),this}})),k.Z.prototype=K.prototype=t.fn,k.uniq=i,k.deserializeValue=W,t.zepto=k,t}();window.Zepto=n,void 0===window.$&&(window.$=n),function(e){var t,r,n=+new Date,i=window.document,o=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,a=/^(?:text|application)\/javascript/i,s=/^(?:text|application)\/xml/i,l=/^\s*$/,u=i.createElement("a");function c(t,r,n,o){if(t.global)return function(t,r,n){var i=e.Event(r);return e(t).trigger(i,n),!i.isDefaultPrevented()}(r||i,n,o)}function d(e,t){var r=t.context;if(!1===t.beforeSend.call(r,e,t)||!1===c(t,r,"ajaxBeforeSend",[e,t]))return!1;c(t,r,"ajaxSend",[e,t])}function f(e,t,r,n){var i=r.context;r.success.call(i,e,"success",t),n&&n.resolveWith(i,[e,"success",t]),c(r,i,"ajaxSuccess",[t,r,e]),p("success",t,r)}function h(e,t,r,n,i){var o=n.context;n.error.call(o,r,t,e),i&&i.rejectWith(o,[r,t,e]),c(n,o,"ajaxError",[r,n,e||t]),p(t,r,n)}function p(t,r,n){var i=n.context;n.complete.call(i,r,t),c(n,i,"ajaxComplete",[r,n]),function(t){t.global&&!--e.active&&c(t,null,"ajaxStop")}(n)}function m(){}function g(e,t){return""==t?e:(e+"&"+t).replace(/[&?]{1,2}/,"?")}function y(t,r,n,i){return e.isFunction(r)&&(i=n,n=r,r=void 0),e.isFunction(n)||(i=n,n=void 0),{url:t,data:r,success:n,dataType:i}}u.href=window.location.href,e.active=0,e.ajaxJSONP=function(t,r){if(!("type"in t))return e.ajax(t);var o,a,s=t.jsonpCallback,l=(e.isFunction(s)?s():s)||"Zepto"+n++,u=i.createElement("script"),c=window[l],p=function(t){e(u).triggerHandler("error",t||"abort")},m={abort:p};return r&&r.promise(m),e(u).on("load error",(function(n,i){clearTimeout(a),e(u).off().remove(),"error"!=n.type&&o?f(o[0],m,t,r):h(null,i||"error",m,t,r),window[l]=c,o&&e.isFunction(c)&&c(o[0]),c=o=void 0})),!1===d(m,t)?(p("abort"),m):(window[l]=function(){o=arguments},u.src=t.url.replace(/\?(.+)=\?/,"?$1="+l),i.head.appendChild(u),t.timeout>0&&(a=setTimeout((function(){p("timeout")}),t.timeout)),m)},e.ajaxSettings={type:"GET",beforeSend:m,success:m,error:m,complete:m,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:"text/javascript, application/javascript, application/x-javascript",json:"application/json",xml:"application/xml, text/xml",html:"text/html",text:"text/plain"},crossDomain:!1,timeout:0,processData:!0,cache:!0,dataFilter:m},e.ajax=function(n){var o,p,y=e.extend({},n||{}),v=e.Deferred&&e.Deferred();for(t in e.ajaxSettings)void 0===y[t]&&(y[t]=e.ajaxSettings[t]);!function(t){t.global&&0==e.active++&&c(t,null,"ajaxStart")}(y),y.crossDomain||((o=i.createElement("a")).href=y.url,o.href=o.href,y.crossDomain=u.protocol+"//"+u.host!=o.protocol+"//"+o.host),y.url||(y.url=window.location.toString()),(p=y.url.indexOf("#"))>-1&&(y.url=y.url.slice(0,p)),function(t){t.processData&&t.data&&"string"!=e.type(t.data)&&(t.data=e.param(t.data,t.traditional)),!t.data||t.type&&"GET"!=t.type.toUpperCase()&&"jsonp"!=t.dataType||(t.url=g(t.url,t.data),t.data=void 0)}(y);var b=y.dataType,_=/\?.+=\?/.test(y.url);if(_&&(b="jsonp"),!1!==y.cache&&(n&&!0===n.cache||"script"!=b&&"jsonp"!=b)||(y.url=g(y.url,"_="+Date.now())),"jsonp"==b)return _||(y.url=g(y.url,y.jsonp?y.jsonp+"=?":!1===y.jsonp?"":"callback=?")),e.ajaxJSONP(y,v);var A,E=y.accepts[b],T={},S=function(e,t){T[e.toLowerCase()]=[e,t]},w=/^([\w-]+:)\/\//.test(y.url)?RegExp.$1:window.location.protocol,k=y.xhr(),C=k.setRequestHeader;if(v&&v.promise(k),y.crossDomain||S("X-Requested-With","XMLHttpRequest"),S("Accept",E||"*/*"),(E=y.mimeType||E)&&(E.indexOf(",")>-1&&(E=E.split(",",2)[0]),k.overrideMimeType&&k.overrideMimeType(E)),(y.contentType||!1!==y.contentType&&y.data&&"GET"!=y.type.toUpperCase())&&S("Content-Type",y.contentType||"application/x-www-form-urlencoded"),y.headers)for(r in y.headers)S(r,y.headers[r]);if(k.setRequestHeader=S,k.onreadystatechange=function(){if(4==k.readyState){k.onreadystatechange=m,clearTimeout(A);var t,r=!1;if(k.status>=200&&k.status<300||304==k.status||0==k.status&&"file:"==w){if(b=b||function(e){return e&&(e=e.split(";",2)[0]),e&&("text/html"==e?"html":"application/json"==e?"json":a.test(e)?"script":s.test(e)&&"xml")||"text"}(y.mimeType||k.getResponseHeader("content-type")),"arraybuffer"==k.responseType||"blob"==k.responseType)t=k.response;else{t=k.responseText;try{t=function(e,t,r){if(r.dataFilter==m)return e;var n=r.context;return r.dataFilter.call(n,e,t)}(t,b,y),"script"==b?(0,eval)(t):"xml"==b?t=k.responseXML:"json"==b&&(t=l.test(t)?null:e.parseJSON(t))}catch(e){r=e}if(r)return h(r,"parsererror",k,y,v)}f(t,k,y,v)}else h(k.statusText||null,k.status?"error":"abort",k,y,v)}},!1===d(k,y))return k.abort(),h(null,"abort",k,y,v),k;var x=!("async"in y)||y.async;if(k.open(y.type,y.url,x,y.username,y.password),y.xhrFields)for(r in y.xhrFields)k[r]=y.xhrFields[r];for(r in T)C.apply(k,T[r]);return y.timeout>0&&(A=setTimeout((function(){k.onreadystatechange=m,k.abort(),h(null,"timeout",k,y,v)}),y.timeout)),k.send(y.data?y.data:null),k},e.get=function(){return e.ajax(y.apply(null,arguments))},e.post=function(){var t=y.apply(null,arguments);return t.type="POST",e.ajax(t)},e.getJSON=function(){var t=y.apply(null,arguments);return t.dataType="json",e.ajax(t)},e.fn.load=function(t,r,n){if(!this.length)return this;var i,a=this,s=t.split(/\s/),l=y(t,r,n),u=l.success;return s.length>1&&(l.url=s[0],i=s[1]),l.success=function(t){a.html(i?e("<div>").html(t.replace(o,"")).find(i):t),u&&u.apply(a,arguments)},e.ajax(l),this};var v=encodeURIComponent;e.param=function(t,r){var n=[];return n.add=function(t,r){e.isFunction(r)&&(r=r()),null==r&&(r=""),this.push(v(t)+"="+v(r))},function t(r,n,i,o){var a,s=e.isArray(n),l=e.isPlainObject(n);e.each(n,(function(n,u){a=e.type(u),o&&(n=i?o:o+"["+(l||"object"==a||"array"==a?n:"")+"]"),!o&&s?r.add(u.name,u.value):"array"==a||!i&&"object"==a?t(r,u,i,n):r.add(n,u)}))}(n,t,r),n.join("&").replace(/%20/g,"+")}}(n),(r=n).Callbacks=function(e){e=r.extend({},e);var t,n,i,o,a,s,l=[],u=!e.once&&[],c=function(r){for(t=e.memory&&r,n=!0,s=o||0,o=0,a=l.length,i=!0;l&&s<a;++s)if(!1===l[s].apply(r[0],r[1])&&e.stopOnFalse){t=!1;break}i=!1,l&&(u?u.length&&c(u.shift()):t?l.length=0:d.disable())},d={add:function(){if(l){var n=l.length,s=function(t){r.each(t,(function(t,r){"function"==typeof r?e.unique&&d.has(r)||l.push(r):r&&r.length&&"string"!=typeof r&&s(r)}))};s(arguments),i?a=l.length:t&&(o=n,c(t))}return this},remove:function(){return l&&r.each(arguments,(function(e,t){for(var n;(n=r.inArray(t,l,n))>-1;)l.splice(n,1),i&&(n<=a&&--a,n<=s&&--s)})),this},has:function(e){return!(!l||!(e?r.inArray(e,l)>-1:l.length))},empty:function(){return a=l.length=0,this},disable:function(){return l=u=t=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,t||d.disable(),this},locked:function(){return!u},fireWith:function(e,t){return!l||n&&!u||(t=[e,(t=t||[]).slice?t.slice():t],i?u.push(t):c(t)),this},fire:function(){return d.fireWith(this,arguments)},fired:function(){return!!n}};return d},function(e){var t=Array.prototype.slice;function r(t){var n=[["resolve","done",e.Callbacks({once:1,memory:1}),"resolved"],["reject","fail",e.Callbacks({once:1,memory:1}),"rejected"],["notify","progress",e.Callbacks({memory:1})]],i="pending",o={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},then:function(){var t=arguments;return r((function(r){e.each(n,(function(n,i){var s=e.isFunction(t[n])&&t[n];a[i[1]]((function(){var t=s&&s.apply(this,arguments);if(t&&e.isFunction(t.promise))t.promise().done(r.resolve).fail(r.reject).progress(r.notify);else{var n=this===o?r.promise():this,a=s?[t]:arguments;r[i[0]+"With"](n,a)}}))})),t=null})).promise()},promise:function(t){return null!=t?e.extend(t,o):o}},a={};return e.each(n,(function(e,t){var r=t[2],s=t[3];o[t[1]]=r.add,s&&r.add((function(){i=s}),n[1^e][2].disable,n[2][2].lock),a[t[0]]=function(){return a[t[0]+"With"](this===a?o:this,arguments),this},a[t[0]+"With"]=r.fireWith})),o.promise(a),t&&t.call(a,a),a}e.when=function(n){var i,o,a,s=t.call(arguments),l=s.length,u=0,c=1!==l||n&&e.isFunction(n.promise)?l:0,d=1===c?n:r(),f=function(e,r,n){return function(o){r[e]=this,n[e]=arguments.length>1?t.call(arguments):o,n===i?d.notifyWith(r,n):--c||d.resolveWith(r,n)}};if(l>1)for(i=new Array(l),o=new Array(l),a=new Array(l);u<l;++u)s[u]&&e.isFunction(s[u].promise)?s[u].promise().done(f(u,a,s)).fail(d.reject).progress(f(u,o,i)):--c;return c||d.resolveWith(a,s),d.promise()},e.Deferred=r}(n),function(e){var t=1,r=Array.prototype.slice,n=e.isFunction,i=function(e){return"string"==typeof e},o={},a={},s="onfocusin"in window,l={focus:"focusin",blur:"focusout"},u={mouseenter:"mouseover",mouseleave:"mouseout"};function c(e){return e._zid||(e._zid=t++)}function d(e,t,r,n){if((t=f(t)).ns)var i=(a=t.ns,new RegExp("(?:^| )"+a.replace(" "," .* ?")+"(?: |$)"));var a;return(o[c(e)]||[]).filter((function(e){return e&&(!t.e||e.e==t.e)&&(!t.ns||i.test(e.ns))&&(!r||c(e.fn)===c(r))&&(!n||e.sel==n)}))}function f(e){var t=(""+e).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function h(e,t){return e.del&&!s&&e.e in l||!!t}function p(e){return u[e]||s&&l[e]||e}function m(t,r,n,i,a,s,l){var d=c(t),m=o[d]||(o[d]=[]);r.split(/\s/).forEach((function(r){if("ready"==r)return e(document).ready(n);var o=f(r);o.fn=n,o.sel=a,o.e in u&&(n=function(t){var r=t.relatedTarget;if(!r||r!==this&&!e.contains(this,r))return o.fn.apply(this,arguments)}),o.del=s;var c=s||n;o.proxy=function(e){if(!(e=A(e)).isImmediatePropagationStopped()){e.data=i;var r=c.apply(t,null==e._args?[e]:[e].concat(e._args));return!1===r&&(e.preventDefault(),e.stopPropagation()),r}},o.i=m.length,m.push(o),"addEventListener"in t&&t.addEventListener(p(o.e),o.proxy,h(o,l))}))}function g(e,t,r,n,i){var a=c(e);(t||"").split(/\s/).forEach((function(t){d(e,t,r,n).forEach((function(t){delete o[a][t.i],"removeEventListener"in e&&e.removeEventListener(p(t.e),t.proxy,h(t,i))}))}))}a.click=a.mousedown=a.mouseup=a.mousemove="MouseEvents",e.event={add:m,remove:g},e.proxy=function(t,o){var a=2 in arguments&&r.call(arguments,2);if(n(t)){var s=function(){return t.apply(o,a?a.concat(r.call(arguments)):arguments)};return s._zid=c(t),s}if(i(o))return a?(a.unshift(t[o],t),e.proxy.apply(null,a)):e.proxy(t[o],t);throw new TypeError("expected function")},e.fn.bind=function(e,t,r){return this.on(e,t,r)},e.fn.unbind=function(e,t){return this.off(e,t)},e.fn.one=function(e,t,r,n){return this.on(e,t,r,n,1)};var y=function(){return!0},v=function(){return!1},b=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,_={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};function A(t,r){return!r&&t.isDefaultPrevented||(r||(r=t),e.each(_,(function(e,n){var i=r[e];t[e]=function(){return this[n]=y,i&&i.apply(r,arguments)},t[n]=v})),t.timeStamp||(t.timeStamp=Date.now()),(void 0!==r.defaultPrevented?r.defaultPrevented:"returnValue"in r?!1===r.returnValue:r.getPreventDefault&&r.getPreventDefault())&&(t.isDefaultPrevented=y)),t}function E(e){var t,r={originalEvent:e};for(t in e)b.test(t)||void 0===e[t]||(r[t]=e[t]);return A(r,e)}e.fn.delegate=function(e,t,r){return this.on(t,e,r)},e.fn.undelegate=function(e,t,r){return this.off(t,e,r)},e.fn.live=function(t,r){return e(document.body).delegate(this.selector,t,r),this},e.fn.die=function(t,r){return e(document.body).undelegate(this.selector,t,r),this},e.fn.on=function(t,o,a,s,l){var u,c,d=this;return t&&!i(t)?(e.each(t,(function(e,t){d.on(e,o,a,t,l)})),d):(i(o)||n(s)||!1===s||(s=a,a=o,o=void 0),void 0!==s&&!1!==a||(s=a,a=void 0),!1===s&&(s=v),d.each((function(n,i){l&&(u=function(e){return g(i,e.type,s),s.apply(this,arguments)}),o&&(c=function(t){var n,a=e(t.target).closest(o,i).get(0);if(a&&a!==i)return n=e.extend(E(t),{currentTarget:a,liveFired:i}),(u||s).apply(a,[n].concat(r.call(arguments,1)))}),m(i,t,s,a,o,c||u)})))},e.fn.off=function(t,r,o){var a=this;return t&&!i(t)?(e.each(t,(function(e,t){a.off(e,r,t)})),a):(i(r)||n(o)||!1===o||(o=r,r=void 0),!1===o&&(o=v),a.each((function(){g(this,t,o,r)})))},e.fn.trigger=function(t,r){return(t=i(t)||e.isPlainObject(t)?e.Event(t):A(t))._args=r,this.each((function(){t.type in l&&"function"==typeof this[t.type]?this[t.type]():"dispatchEvent"in this?this.dispatchEvent(t):e(this).triggerHandler(t,r)}))},e.fn.triggerHandler=function(t,r){var n,o;return this.each((function(a,s){(n=E(i(t)?e.Event(t):t))._args=r,n.target=s,e.each(d(s,t.type||t),(function(e,t){if(o=t.proxy(n),n.isImmediatePropagationStopped())return!1}))})),o},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach((function(t){e.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}})),e.Event=function(e,t){i(e)||(e=(t=e).type);var r=document.createEvent(a[e]||"Events"),n=!0;if(t)for(var o in t)"bubbles"==o?n=!!t[o]:r[o]=t[o];return r.initEvent(e,n,!0),A(r)}}(n),function(){try{getComputedStyle(void 0)}catch(t){var e=getComputedStyle;window.getComputedStyle=function(t,r){try{return e(t,r)}catch(e){return null}}}}(),function(e){var t=e.zepto,r=t.qsa,n=t.matches;function i(t){return!(!(t=e(t)).width()&&!t.height())&&"none"!==t.css("display")}var o=e.expr[":"]={visible:function(){if(i(this))return this},hidden:function(){if(!i(this))return this},selected:function(){if(this.selected)return this},checked:function(){if(this.checked)return this},parent:function(){return this.parentNode},first:function(e){if(0===e)return this},last:function(e,t){if(e===t.length-1)return this},eq:function(e,t,r){if(e===r)return this},contains:function(t,r,n){if(e(this).text().indexOf(n)>-1)return this},has:function(e,r,n){if(t.qsa(this,n).length)return this}},a=new RegExp("(.*):(\\w+)(?:\\(([^)]+)\\))?$\\s*"),s=/^\s*>/,l="Zepto"+ +new Date;function u(e,t){e=e.replace(/=#\]/g,'="#"]');var r,n,i=a.exec(e);if(i&&i[2]in o&&(r=o[i[2]],n=i[3],e=i[1],n)){var s=Number(n);n=isNaN(s)?n.replace(/^["']|["']$/g,""):s}return t(e,r,n)}t.qsa=function(n,i){return u(i,(function(o,a,u){try{var c;!o&&a?o="*":s.test(o)&&(c=e(n).addClass(l),o="."+l+" "+o);var d=r(n,o)}catch(e){throw console.error("error performing selector: %o",i),e}finally{c&&c.removeClass(l)}return a?t.uniq(e.map(d,(function(e,t){return a.call(e,t,d,u)}))):d}))},t.matches=function(e,t){return u(t,(function(t,r,i){return(!t||n(e,t))&&(!r||r.call(e,null,i)===e)}))}}(n),e.exports=n},"./node_modules/core-js/library/fn/array/from.js":
/*!*******************************************************!*\
!*** ./node_modules/core-js/library/fn/array/from.js ***!
\*******************************************************/
@@ -230,7 +230,7 @@
/*!**************************************************************!*\
!*** ./node_modules/core-js/library/modules/_iter-define.js ***!
\**************************************************************/
-/*! no static exports found */function(e,t,r){"use strict";var n=r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js"),i=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),o=r(/*! ./_redefine */"./node_modules/core-js/library/modules/_redefine.js"),a=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),s=r(/*! ./_has */"./node_modules/core-js/library/modules/_has.js"),l=r(/*! ./_iterators */"./node_modules/core-js/library/modules/_iterators.js"),u=r(/*! ./_iter-create */"./node_modules/core-js/library/modules/_iter-create.js"),c=r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js"),d=r(/*! ./_object-gpo */"./node_modules/core-js/library/modules/_object-gpo.js"),f=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,r,m,g,y,v){u(r,t,m);var b,_,A,E=function(e){if(!h&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},T=t+" Iterator",S="values"==g,w=!1,k=e.prototype,x=k[f]||k["@@iterator"]||g&&k[g],C=x||E(g),R=g?S?E("entries"):C:void 0,L="Array"==t&&k.entries||x;if(L&&(A=d(L.call(new e)))!==Object.prototype&&(c(A,T,!0),n||s(A,f)||a(A,f,p)),S&&x&&"values"!==x.name&&(w=!0,C=function(){return x.call(this)}),n&&!v||!h&&!w&&k[f]||a(k,f,C),l[t]=C,l[T]=p,g)if(b={values:S?C:E("values"),keys:y?C:E("keys"),entries:R},v)for(_ in b)_ in k||o(k,_,b[_]);else i(i.P+i.F*(h||w),t,b);return b}},"./node_modules/core-js/library/modules/_iter-detect.js":
+/*! no static exports found */function(e,t,r){"use strict";var n=r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js"),i=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),o=r(/*! ./_redefine */"./node_modules/core-js/library/modules/_redefine.js"),a=r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js"),s=r(/*! ./_has */"./node_modules/core-js/library/modules/_has.js"),l=r(/*! ./_iterators */"./node_modules/core-js/library/modules/_iterators.js"),u=r(/*! ./_iter-create */"./node_modules/core-js/library/modules/_iter-create.js"),c=r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js"),d=r(/*! ./_object-gpo */"./node_modules/core-js/library/modules/_object-gpo.js"),f=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js")("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,r,m,g,y,v){u(r,t,m);var b,_,A,E=function(e){if(!h&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},T=t+" Iterator",S="values"==g,w=!1,k=e.prototype,C=k[f]||k["@@iterator"]||g&&k[g],x=C||E(g),R=g?S?E("entries"):x:void 0,L="Array"==t&&k.entries||C;if(L&&(A=d(L.call(new e)))!==Object.prototype&&(c(A,T,!0),n||s(A,f)||a(A,f,p)),S&&C&&"values"!==C.name&&(w=!0,x=function(){return C.call(this)}),n&&!v||!h&&!w&&k[f]||a(k,f,x),l[t]=x,l[T]=p,g)if(b={values:S?x:E("values"),keys:y?x:E("keys"),entries:R},v)for(_ in b)_ in k||o(k,_,b[_]);else i(i.P+i.F*(h||w),t,b);return b}},"./node_modules/core-js/library/modules/_iter-detect.js":
/*!**************************************************************!*\
!*** ./node_modules/core-js/library/modules/_iter-detect.js ***!
\**************************************************************/
@@ -426,7 +426,7 @@
/*!************************************************************!*\
!*** ./node_modules/core-js/library/modules/es6.symbol.js ***!
\************************************************************/
-/*! no static exports found */function(e,t,r){"use strict";var n=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),i=r(/*! ./_has */"./node_modules/core-js/library/modules/_has.js"),o=r(/*! ./_descriptors */"./node_modules/core-js/library/modules/_descriptors.js"),a=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),s=r(/*! ./_redefine */"./node_modules/core-js/library/modules/_redefine.js"),l=r(/*! ./_meta */"./node_modules/core-js/library/modules/_meta.js").KEY,u=r(/*! ./_fails */"./node_modules/core-js/library/modules/_fails.js"),c=r(/*! ./_shared */"./node_modules/core-js/library/modules/_shared.js"),d=r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js"),f=r(/*! ./_uid */"./node_modules/core-js/library/modules/_uid.js"),h=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js"),p=r(/*! ./_wks-ext */"./node_modules/core-js/library/modules/_wks-ext.js"),m=r(/*! ./_wks-define */"./node_modules/core-js/library/modules/_wks-define.js"),g=r(/*! ./_keyof */"./node_modules/core-js/library/modules/_keyof.js"),y=r(/*! ./_enum-keys */"./node_modules/core-js/library/modules/_enum-keys.js"),v=r(/*! ./_is-array */"./node_modules/core-js/library/modules/_is-array.js"),b=r(/*! ./_an-object */"./node_modules/core-js/library/modules/_an-object.js"),_=r(/*! ./_to-iobject */"./node_modules/core-js/library/modules/_to-iobject.js"),A=r(/*! ./_to-primitive */"./node_modules/core-js/library/modules/_to-primitive.js"),E=r(/*! ./_property-desc */"./node_modules/core-js/library/modules/_property-desc.js"),T=r(/*! ./_object-create */"./node_modules/core-js/library/modules/_object-create.js"),S=r(/*! ./_object-gopn-ext */"./node_modules/core-js/library/modules/_object-gopn-ext.js"),w=r(/*! ./_object-gopd */"./node_modules/core-js/library/modules/_object-gopd.js"),k=r(/*! ./_object-dp */"./node_modules/core-js/library/modules/_object-dp.js"),x=r(/*! ./_object-keys */"./node_modules/core-js/library/modules/_object-keys.js"),C=w.f,R=k.f,L=S.f,j=n.Symbol,P=n.JSON,I=P&&P.stringify,O=h("_hidden"),D=h("toPrimitive"),M={}.propertyIsEnumerable,N=c("symbol-registry"),U=c("symbols"),F=c("op-symbols"),B=Object.prototype,K="function"==typeof j,G=n.QObject,V=!G||!G.prototype||!G.prototype.findChild,H=o&&u((function(){return 7!=T(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=C(B,t);n&&delete B[t],R(e,t,r),n&&e!==B&&R(B,t,n)}:R,Y=function(e){var t=U[e]=T(j.prototype);return t._k=e,t},z=K&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},W=function(e,t,r){return e===B&&W(F,t,r),b(e),t=A(t,!0),b(r),i(U,t)?(r.enumerable?(i(e,O)&&e[O][t]&&(e[O][t]=!1),r=T(r,{enumerable:E(0,!1)})):(i(e,O)||R(e,O,E(1,{})),e[O][t]=!0),H(e,t,r)):R(e,t,r)},$=function(e,t){b(e);for(var r,n=y(t=_(t)),i=0,o=n.length;o>i;)W(e,r=n[i++],t[r]);return e},q=function(e){var t=M.call(this,e=A(e,!0));return!(this===B&&i(U,e)&&!i(F,e))&&(!(t||!i(this,e)||!i(U,e)||i(this,O)&&this[O][e])||t)},X=function(e,t){if(e=_(e),t=A(t,!0),e!==B||!i(U,t)||i(F,t)){var r=C(e,t);return!r||!i(U,t)||i(e,O)&&e[O][t]||(r.enumerable=!0),r}},J=function(e){for(var t,r=L(_(e)),n=[],o=0;r.length>o;)i(U,t=r[o++])||t==O||t==l||n.push(t);return n},Z=function(e){for(var t,r=e===B,n=L(r?F:_(e)),o=[],a=0;n.length>a;)!i(U,t=n[a++])||r&&!i(B,t)||o.push(U[t]);return o};K||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(r){this===B&&t.call(F,r),i(this,O)&&i(this[O],e)&&(this[O][e]=!1),H(this,e,E(1,r))};return o&&V&&H(B,e,{configurable:!0,set:t}),Y(e)}).prototype,"toString",(function(){return this._k})),w.f=X,k.f=W,r(/*! ./_object-gopn */"./node_modules/core-js/library/modules/_object-gopn.js").f=S.f=J,r(/*! ./_object-pie */"./node_modules/core-js/library/modules/_object-pie.js").f=q,r(/*! ./_object-gops */"./node_modules/core-js/library/modules/_object-gops.js").f=Z,o&&!r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js")&&s(B,"propertyIsEnumerable",q,!0),p.f=function(e){return Y(h(e))}),a(a.G+a.W+a.F*!K,{Symbol:j});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)h(Q[ee++]);for(Q=x(h.store),ee=0;Q.length>ee;)m(Q[ee++]);a(a.S+a.F*!K,"Symbol",{for:function(e){return i(N,e+="")?N[e]:N[e]=j(e)},keyFor:function(e){if(z(e))return g(N,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!K,"Object",{create:function(e,t){return void 0===t?T(e):$(T(e),t)},defineProperty:W,defineProperties:$,getOwnPropertyDescriptor:X,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),P&&a(a.S+a.F*(!K||u((function(){var e=j();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))}))),"JSON",{stringify:function(e){if(void 0!==e&&!z(e)){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return"function"==typeof(t=n[1])&&(r=t),!r&&v(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!z(t))return t}),n[1]=t,I.apply(P,n)}}}),j.prototype[D]||r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js")(j.prototype,D,j.prototype.valueOf),d(j,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},"./node_modules/core-js/library/modules/es7.symbol.async-iterator.js":
+/*! no static exports found */function(e,t,r){"use strict";var n=r(/*! ./_global */"./node_modules/core-js/library/modules/_global.js"),i=r(/*! ./_has */"./node_modules/core-js/library/modules/_has.js"),o=r(/*! ./_descriptors */"./node_modules/core-js/library/modules/_descriptors.js"),a=r(/*! ./_export */"./node_modules/core-js/library/modules/_export.js"),s=r(/*! ./_redefine */"./node_modules/core-js/library/modules/_redefine.js"),l=r(/*! ./_meta */"./node_modules/core-js/library/modules/_meta.js").KEY,u=r(/*! ./_fails */"./node_modules/core-js/library/modules/_fails.js"),c=r(/*! ./_shared */"./node_modules/core-js/library/modules/_shared.js"),d=r(/*! ./_set-to-string-tag */"./node_modules/core-js/library/modules/_set-to-string-tag.js"),f=r(/*! ./_uid */"./node_modules/core-js/library/modules/_uid.js"),h=r(/*! ./_wks */"./node_modules/core-js/library/modules/_wks.js"),p=r(/*! ./_wks-ext */"./node_modules/core-js/library/modules/_wks-ext.js"),m=r(/*! ./_wks-define */"./node_modules/core-js/library/modules/_wks-define.js"),g=r(/*! ./_keyof */"./node_modules/core-js/library/modules/_keyof.js"),y=r(/*! ./_enum-keys */"./node_modules/core-js/library/modules/_enum-keys.js"),v=r(/*! ./_is-array */"./node_modules/core-js/library/modules/_is-array.js"),b=r(/*! ./_an-object */"./node_modules/core-js/library/modules/_an-object.js"),_=r(/*! ./_to-iobject */"./node_modules/core-js/library/modules/_to-iobject.js"),A=r(/*! ./_to-primitive */"./node_modules/core-js/library/modules/_to-primitive.js"),E=r(/*! ./_property-desc */"./node_modules/core-js/library/modules/_property-desc.js"),T=r(/*! ./_object-create */"./node_modules/core-js/library/modules/_object-create.js"),S=r(/*! ./_object-gopn-ext */"./node_modules/core-js/library/modules/_object-gopn-ext.js"),w=r(/*! ./_object-gopd */"./node_modules/core-js/library/modules/_object-gopd.js"),k=r(/*! ./_object-dp */"./node_modules/core-js/library/modules/_object-dp.js"),C=r(/*! ./_object-keys */"./node_modules/core-js/library/modules/_object-keys.js"),x=w.f,R=k.f,L=S.f,j=n.Symbol,P=n.JSON,I=P&&P.stringify,O=h("_hidden"),D=h("toPrimitive"),M={}.propertyIsEnumerable,N=c("symbol-registry"),F=c("symbols"),U=c("op-symbols"),B=Object.prototype,K="function"==typeof j,G=n.QObject,V=!G||!G.prototype||!G.prototype.findChild,H=o&&u((function(){return 7!=T(R({},"a",{get:function(){return R(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=x(B,t);n&&delete B[t],R(e,t,r),n&&e!==B&&R(B,t,n)}:R,Y=function(e){var t=F[e]=T(j.prototype);return t._k=e,t},z=K&&"symbol"==typeof j.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof j},W=function(e,t,r){return e===B&&W(U,t,r),b(e),t=A(t,!0),b(r),i(F,t)?(r.enumerable?(i(e,O)&&e[O][t]&&(e[O][t]=!1),r=T(r,{enumerable:E(0,!1)})):(i(e,O)||R(e,O,E(1,{})),e[O][t]=!0),H(e,t,r)):R(e,t,r)},$=function(e,t){b(e);for(var r,n=y(t=_(t)),i=0,o=n.length;o>i;)W(e,r=n[i++],t[r]);return e},q=function(e){var t=M.call(this,e=A(e,!0));return!(this===B&&i(F,e)&&!i(U,e))&&(!(t||!i(this,e)||!i(F,e)||i(this,O)&&this[O][e])||t)},X=function(e,t){if(e=_(e),t=A(t,!0),e!==B||!i(F,t)||i(U,t)){var r=x(e,t);return!r||!i(F,t)||i(e,O)&&e[O][t]||(r.enumerable=!0),r}},J=function(e){for(var t,r=L(_(e)),n=[],o=0;r.length>o;)i(F,t=r[o++])||t==O||t==l||n.push(t);return n},Z=function(e){for(var t,r=e===B,n=L(r?U:_(e)),o=[],a=0;n.length>a;)!i(F,t=n[a++])||r&&!i(B,t)||o.push(F[t]);return o};K||(s((j=function(){if(this instanceof j)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(r){this===B&&t.call(U,r),i(this,O)&&i(this[O],e)&&(this[O][e]=!1),H(this,e,E(1,r))};return o&&V&&H(B,e,{configurable:!0,set:t}),Y(e)}).prototype,"toString",(function(){return this._k})),w.f=X,k.f=W,r(/*! ./_object-gopn */"./node_modules/core-js/library/modules/_object-gopn.js").f=S.f=J,r(/*! ./_object-pie */"./node_modules/core-js/library/modules/_object-pie.js").f=q,r(/*! ./_object-gops */"./node_modules/core-js/library/modules/_object-gops.js").f=Z,o&&!r(/*! ./_library */"./node_modules/core-js/library/modules/_library.js")&&s(B,"propertyIsEnumerable",q,!0),p.f=function(e){return Y(h(e))}),a(a.G+a.W+a.F*!K,{Symbol:j});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)h(Q[ee++]);for(Q=C(h.store),ee=0;Q.length>ee;)m(Q[ee++]);a(a.S+a.F*!K,"Symbol",{for:function(e){return i(N,e+="")?N[e]:N[e]=j(e)},keyFor:function(e){if(z(e))return g(N,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){V=!0},useSimple:function(){V=!1}}),a(a.S+a.F*!K,"Object",{create:function(e,t){return void 0===t?T(e):$(T(e),t)},defineProperty:W,defineProperties:$,getOwnPropertyDescriptor:X,getOwnPropertyNames:J,getOwnPropertySymbols:Z}),P&&a(a.S+a.F*(!K||u((function(){var e=j();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))}))),"JSON",{stringify:function(e){if(void 0!==e&&!z(e)){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return"function"==typeof(t=n[1])&&(r=t),!r&&v(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!z(t))return t}),n[1]=t,I.apply(P,n)}}}),j.prototype[D]||r(/*! ./_hide */"./node_modules/core-js/library/modules/_hide.js")(j.prototype,D,j.prototype.valueOf),d(j,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},"./node_modules/core-js/library/modules/es7.symbol.async-iterator.js":
/*!***************************************************************************!*\
!*** ./node_modules/core-js/library/modules/es7.symbol.async-iterator.js ***!
\***************************************************************************/
@@ -541,7 +541,7 @@
!*** ./src/controller/audio-stream-controller.js ***!
\***************************************************/
/*! no static exports found */
-/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";(function(e){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(/*! ../utils/binary-search */"./src/utils/binary-search.js"),a=r(/*! ../utils/buffer-helper */"./src/utils/buffer-helper.js"),s=r(/*! ../demux/demuxer */"./src/demux/demuxer.js"),l=r(/*! ../events */"./src/events.js"),u=r(/*! ./level-helper */"./src/controller/level-helper.js"),c=r(/*! ../utils/time-ranges */"./src/utils/time-ranges.js"),d=r(/*! ../errors */"./src/errors.js"),f=r(/*! ../utils/logger */"./src/utils/logger.js"),h=r(/*! ../utils/discontinuities */"./src/utils/discontinuities.js"),p=r(/*! ./fragment-tracker */"./src/controller/fragment-tracker.js"),m=r(/*! ../loader/fragment */"./src/loader/fragment.js"),g=r(/*! ./base-stream-controller */"./src/controller/base-stream-controller.js"),y=window.performance,v=function(t){function r(e,r){var n=t.call(this,e,l.default.MEDIA_ATTACHED,l.default.MEDIA_DETACHING,l.default.AUDIO_TRACKS_UPDATED,l.default.AUDIO_TRACK_SWITCHING,l.default.AUDIO_TRACK_LOADED,l.default.KEY_LOADED,l.default.FRAG_LOADED,l.default.FRAG_PARSING_INIT_SEGMENT,l.default.FRAG_PARSING_DATA,l.default.FRAG_PARSED,l.default.ERROR,l.default.BUFFER_RESET,l.default.BUFFER_CREATED,l.default.BUFFER_APPENDED,l.default.BUFFER_FLUSHED,l.default.INIT_PTS_FOUND)||this;return n.fragmentTracker=r,n.config=e.config,n.audioCodecSwap=!1,n._state=g.State.STOPPED,n.initPTS=[],n.waitingFragment=null,n.videoTrackCC=null,n}return i(r,t),r.prototype.onHandlerDestroying=function(){this.stopLoad(),t.prototype.onHandlerDestroying.call(this)},r.prototype.onHandlerDestroyed=function(){this.state=g.State.STOPPED,this.fragmentTracker=null,t.prototype.onHandlerDestroyed.call(this)},r.prototype.onInitPtsFound=function(e){var t=e.id,r=e.frag.cc,n=e.initPTS;"main"===t&&(this.initPTS[r]=n,this.videoTrackCC=r,f.logger.log("InitPTS for cc: "+r+" found from video track: "+n),this.state===g.State.WAITING_INIT_PTS&&this.tick())},r.prototype.startLoad=function(e){if(this.tracks){var t=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),this.fragLoadError=0,t>0&&-1===e?(f.logger.log("audio:override startPosition with lastCurrentTime @"+t.toFixed(3)),this.state=g.State.IDLE):(this.lastCurrentTime=this.startPosition?this.startPosition:e,this.state=g.State.STARTING),this.nextLoadPosition=this.startPosition=this.lastCurrentTime,this.tick()}else this.startPosition=e,this.state=g.State.STOPPED},r.prototype.stopLoad=function(){var e=this.fragCurrent;e&&(e.loader&&e.loader.abort(),this.fragmentTracker.removeFragment(e),this.fragCurrent=null),this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=g.State.STOPPED},Object.defineProperty(r.prototype,"state",{get:function(){return this._state},set:function(e){if(this.state!==e){var t=this.state;this._state=e,f.logger.log("audio stream:"+t+"->"+e)}},enumerable:!0,configurable:!0}),r.prototype.doTick=function(){var t,r,n,i=this.hls,s=i.config;switch(this.state){case g.State.ERROR:case g.State.PAUSED:case g.State.BUFFER_FLUSHING:break;case g.State.STARTING:this.state=g.State.WAITING_TRACK,this.loadedmetadata=!1;break;case g.State.IDLE:var u=this.tracks;if(!u)break;if(!this.media&&(this.startFragRequested||!s.startFragPrefetch))break;if(this.loadedmetadata)t=this.media.currentTime;else if(void 0===(t=this.nextLoadPosition))break;var c=this.mediaBuffer?this.mediaBuffer:this.media,d=this.videoBuffer?this.videoBuffer:this.media,m=a.BufferHelper.bufferInfo(c,t,s.maxBufferHole),v=a.BufferHelper.bufferInfo(d,t,s.maxBufferHole),b=m.len,_=m.end,A=this.fragPrevious,E=Math.min(s.maxBufferLength,s.maxMaxBufferLength),T=Math.max(E,v.len),S=this.audioSwitch,w=this.trackId;if((b<T||S)&&w<u.length){if(void 0===(n=u[w].details)){this.state=g.State.WAITING_TRACK;break}if(!S&&this._streamEnded(m,n))return this.hls.trigger(l.default.BUFFER_EOS,{type:"audio"}),void(this.state=g.State.ENDED);var k=n.fragments,x=k.length,C=k[0].start,R=k[x-1].start+k[x-1].duration,L=void 0;if(S)if(n.live&&!n.PTSKnown)f.logger.log("switching audiotrack, live stream, unknown PTS,load first fragment"),_=0;else if(_=t,n.PTSKnown&&t<C){if(!(m.end>C||m.nextStart))return;f.logger.log("alt audio track ahead of main track, seek to start of alt audio track"),this.media.currentTime=C+.05}if(n.initSegment&&!n.initSegment.data)L=n.initSegment;else if(_<=C){if(L=k[0],null!==this.videoTrackCC&&L.cc!==this.videoTrackCC&&(L=h.findFragWithCC(k,this.videoTrackCC)),n.live&&L.loadIdx&&L.loadIdx===this.fragLoadIdx){var j=m.nextStart?m.nextStart:C;return f.logger.log("no alt audio available @currentTime:"+this.media.currentTime+", seeking @"+(j+.05)),void(this.media.currentTime=j+.05)}}else{var P=void 0,I=s.maxFragLookUpTolerance,O=A?k[A.sn-k[0].sn+1]:void 0,D=function(e){var t=Math.min(I,e.duration);return e.start+e.duration-t<=_?1:e.start-t>_&&e.start?-1:0};_<R?(_>R-I&&(I=0),P=O&&!D(O)?O:o.default.search(k,D)):P=k[x-1],P&&(L=P,C=P.start,A&&L.level===A.level&&L.sn===A.sn&&(L.sn<n.endSN?(L=k[L.sn+1-n.startSN],f.logger.log("SN just loaded, load next one: "+L.sn)):L=null))}L&&(L.encrypted?(f.logger.log("Loading key for "+L.sn+" of ["+n.startSN+" ,"+n.endSN+"],track "+w),this.state=g.State.KEY_LOADING,i.trigger(l.default.KEY_LOADING,{frag:L})):(f.logger.log("Loading "+L.sn+", cc: "+L.cc+" of ["+n.startSN+" ,"+n.endSN+"],track "+w+", currentTime:"+t+",bufferEnd:"+_.toFixed(3)),this.fragCurrent=L,(S||this.fragmentTracker.getState(L)===p.FragmentState.NOT_LOADED)&&(this.startFragRequested=!0,e.isFinite(L.sn)&&(this.nextLoadPosition=L.start+L.duration),i.trigger(l.default.FRAG_LOADING,{frag:L}),this.state=g.State.FRAG_LOADING)))}break;case g.State.WAITING_TRACK:(r=this.tracks[this.trackId])&&r.details&&(this.state=g.State.IDLE);break;case g.State.FRAG_LOADING_WAITING_RETRY:var M=y.now(),N=this.retryDate,U=(c=this.media)&&c.seeking;(!N||M>=N||U)&&(f.logger.log("audioStreamController: retryDate reached, switch back to IDLE state"),this.state=g.State.IDLE);break;case g.State.WAITING_INIT_PTS:var F=this.videoTrackCC;if(void 0===this.initPTS[F])break;var B=this.waitingFragment;if(B){var K=B.frag.cc;F!==K?(r=this.tracks[this.trackId]).details&&r.details.live&&(f.logger.warn("Waiting fragment CC ("+K+") does not match video track CC ("+F+")"),this.waitingFragment=null,this.state=g.State.IDLE):(this.state=g.State.FRAG_LOADING,this.onFragLoaded(this.waitingFragment),this.waitingFragment=null)}else this.state=g.State.IDLE;break;case g.State.STOPPED:case g.State.FRAG_LOADING:case g.State.PARSING:case g.State.PARSED:case g.State.ENDED:}},r.prototype.onMediaAttached=function(e){var t=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),t.addEventListener("seeking",this.onvseeking),t.addEventListener("ended",this.onvended);var r=this.config;this.tracks&&r.autoStartLoad&&this.startLoad(r.startPosition)},r.prototype.onMediaDetaching=function(){var e=this.media;e&&e.ended&&(f.logger.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1,this.stopLoad()},r.prototype.onAudioTracksUpdated=function(e){f.logger.log("audio tracks updated"),this.tracks=e.audioTracks},r.prototype.onAudioTrackSwitching=function(e){var t=!!e.url;this.trackId=e.id,this.fragCurrent=null,this.state=g.State.PAUSED,this.waitingFragment=null,t?this.setInterval(100):this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),t&&(this.audioSwitch=!0,this.state=g.State.IDLE),this.tick()},r.prototype.onAudioTrackLoaded=function(t){var r=t.details,n=t.id,i=this.tracks[n],o=r.totalduration,a=0;if(f.logger.log("track "+n+" loaded ["+r.startSN+","+r.endSN+"],duration:"+o),r.live){var s=i.details;s&&r.fragments.length>0?(u.mergeDetails(s,r),a=r.fragments[0].start,r.PTSKnown?f.logger.log("live audio playlist sliding:"+a.toFixed(3)):f.logger.log("live audio playlist - outdated PTS, unknown sliding")):(r.PTSKnown=!1,f.logger.log("live audio playlist - first load, unknown sliding"))}else r.PTSKnown=!1;if(i.details=r,!this.startFragRequested){if(-1===this.startPosition){var l=r.startTimeOffset;e.isFinite(l)?(f.logger.log("start time offset found in playlist, adjust startPosition to "+l),this.startPosition=l):this.startPosition=0}this.nextLoadPosition=this.startPosition}this.state===g.State.WAITING_TRACK&&(this.state=g.State.IDLE),this.tick()},r.prototype.onKeyLoaded=function(){this.state===g.State.KEY_LOADING&&(this.state=g.State.IDLE,this.tick())},r.prototype.onFragLoaded=function(e){var t=this.fragCurrent,r=e.frag;if(this.state===g.State.FRAG_LOADING&&t&&"audio"===r.type&&r.level===t.level&&r.sn===t.sn){var n=this.tracks[this.trackId],i=n.details,o=i.totalduration,a=t.level,u=t.sn,c=t.cc,d=this.config.defaultAudioCodec||n.audioCodec||"mp4a.40.2",h=this.stats=e.stats;if("initSegment"===u)this.state=g.State.IDLE,h.tparsed=h.tbuffered=y.now(),i.initSegment.data=e.payload,this.hls.trigger(l.default.FRAG_BUFFERED,{stats:h,frag:t,id:"audio"}),this.tick();else{this.state=g.State.PARSING,this.appended=!1,this.demuxer||(this.demuxer=new s.default(this.hls,"audio"));var p=this.initPTS[c],m=i.initSegment?i.initSegment.data:[];i.initSegment||void 0!==p?(this.pendingBuffering=!0,f.logger.log("Demuxing "+u+" of ["+i.startSN+" ,"+i.endSN+"],track "+a),this.demuxer.push(e.payload,m,d,null,t,o,!1,p)):(f.logger.log("unknown video PTS for continuity counter "+c+", waiting for video PTS before demuxing audio frag "+u+" of ["+i.startSN+" ,"+i.endSN+"],track "+a),this.waitingFragment=e,this.state=g.State.WAITING_INIT_PTS)}}this.fragLoadError=0},r.prototype.onFragParsingInitSegment=function(e){var t=this.fragCurrent,r=e.frag;if(t&&"audio"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===g.State.PARSING){var n=e.tracks,i=void 0;if(n.video&&delete n.video,i=n.audio){i.levelCodec=i.codec,i.id=e.id,this.hls.trigger(l.default.BUFFER_CODECS,n),f.logger.log("audio track:audio,container:"+i.container+",codecs[level/parsed]=["+i.levelCodec+"/"+i.codec+"]");var o=i.initSegment;if(o){var a={type:"audio",data:o,parent:"audio",content:"initSegment"};this.audioSwitch?this.pendingData=[a]:(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(l.default.BUFFER_APPENDING,a))}this.tick()}}},r.prototype.onFragParsingData=function(t){var r=this,n=this.fragCurrent,i=t.frag;if(n&&"audio"===t.id&&"audio"===t.type&&i.sn===n.sn&&i.level===n.level&&this.state===g.State.PARSING){var o=this.trackId,a=this.tracks[o],s=this.hls;e.isFinite(t.endPTS)||(t.endPTS=t.startPTS+n.duration,t.endDTS=t.startDTS+n.duration),n.addElementaryStream(m.default.ElementaryStreamTypes.AUDIO),f.logger.log("parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb),u.updateFragPTSDTS(a.details,n,t.startPTS,t.endPTS);var c=this.audioSwitch,h=this.media,p=!1;if(c&&h)if(h.readyState){var y=h.currentTime;f.logger.log("switching audio track : currentTime:"+y),y>=t.startPTS&&(f.logger.log("switching audio track : flushing all audio"),this.state=g.State.BUFFER_FLUSHING,s.trigger(l.default.BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"}),p=!0,this.audioSwitch=!1,s.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:o}))}else this.audioSwitch=!1,s.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:o});var v=this.pendingData;if(!v)return f.logger.warn("Apparently attempt to enqueue media payload without codec initialization data upfront"),void s.trigger(l.default.ERROR,{type:d.ErrorTypes.MEDIA_ERROR,details:null,fatal:!0});this.audioSwitch||([t.data1,t.data2].forEach((function(e){e&&e.length&&v.push({type:t.type,data:e,parent:"audio",content:"data"})})),!p&&v.length&&(v.forEach((function(e){r.state===g.State.PARSING&&(r.pendingBuffering=!0,r.hls.trigger(l.default.BUFFER_APPENDING,e))})),this.pendingData=[],this.appended=!0)),this.tick()}},r.prototype.onFragParsed=function(e){var t=this.fragCurrent,r=e.frag;t&&"audio"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===g.State.PARSING&&(this.stats.tparsed=y.now(),this.state=g.State.PARSED,this._checkAppendedParsed())},r.prototype.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},r.prototype.onBufferCreated=function(e){var t=e.tracks.audio;t&&(this.mediaBuffer=t.buffer,this.loadedmetadata=!0),e.tracks.video&&(this.videoBuffer=e.tracks.video.buffer)},r.prototype.onBufferAppended=function(e){if("audio"===e.parent){var t=this.state;t!==g.State.PARSING&&t!==g.State.PARSED||(this.pendingBuffering=e.pending>0,this._checkAppendedParsed())}},r.prototype._checkAppendedParsed=function(){if(!(this.state!==g.State.PARSED||this.appended&&this.pendingBuffering)){var e=this.fragCurrent,t=this.stats,r=this.hls;if(e){this.fragPrevious=e,t.tbuffered=y.now(),r.trigger(l.default.FRAG_BUFFERED,{stats:t,frag:e,id:"audio"});var n=this.mediaBuffer?this.mediaBuffer:this.media;f.logger.log("audio buffered : "+c.default.toString(n.buffered)),this.audioSwitch&&this.appended&&(this.audioSwitch=!1,r.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:this.trackId})),this.state=g.State.IDLE}this.tick()}},r.prototype.onError=function(t){var r=t.frag;if(!r||"audio"===r.type)switch(t.details){case d.ErrorDetails.FRAG_LOAD_ERROR:case d.ErrorDetails.FRAG_LOAD_TIMEOUT:var n=t.frag;if(n&&"audio"!==n.type)break;if(!t.fatal){var i=this.fragLoadError;if(i?i++:i=1,i<=(s=this.config).fragLoadingMaxRetry){this.fragLoadError=i;var o=Math.min(Math.pow(2,i-1)*s.fragLoadingRetryDelay,s.fragLoadingMaxRetryTimeout);f.logger.warn("AudioStreamController: frag loading failed, retry in "+o+" ms"),this.retryDate=y.now()+o,this.state=g.State.FRAG_LOADING_WAITING_RETRY}else f.logger.error("AudioStreamController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=g.State.ERROR}break;case d.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:case d.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:case d.ErrorDetails.KEY_LOAD_ERROR:case d.ErrorDetails.KEY_LOAD_TIMEOUT:this.state!==g.State.ERROR&&(this.state=t.fatal?g.State.ERROR:g.State.IDLE,f.logger.warn("AudioStreamController: "+t.details+" while loading frag, now switching to "+this.state+" state ..."));break;case d.ErrorDetails.BUFFER_FULL_ERROR:if("audio"===t.parent&&(this.state===g.State.PARSING||this.state===g.State.PARSED)){var s,u=this.mediaBuffer,c=this.media.currentTime;u&&a.BufferHelper.isBuffered(u,c)&&a.BufferHelper.isBuffered(u,c+.5)?((s=this.config).maxMaxBufferLength>=s.maxBufferLength&&(s.maxMaxBufferLength/=2,f.logger.warn("AudioStreamController: reduce max buffer length to "+s.maxMaxBufferLength+"s")),this.state=g.State.IDLE):(f.logger.warn("AudioStreamController: buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,this.state=g.State.BUFFER_FLUSHING,this.hls.trigger(l.default.BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"}))}}},r.prototype.onBufferFlushed=function(){var e=this,t=this.pendingData;t&&t.length?(f.logger.log("AudioStreamController: appending pending audio data after buffer flushed"),t.forEach((function(t){e.hls.trigger(l.default.BUFFER_APPENDING,t)})),this.appended=!0,this.pendingData=[],this.state=g.State.PARSED):(this.state=g.State.IDLE,this.fragPrevious=null,this.tick())},r}(g.default);t.default=v}).call(this,r(/*! ./src/polyfills/number */"./src/polyfills/number.js").Number)},"./src/controller/audio-track-controller.js":
+/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";(function(e){var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(/*! ../utils/binary-search */"./src/utils/binary-search.js"),a=r(/*! ../utils/buffer-helper */"./src/utils/buffer-helper.js"),s=r(/*! ../demux/demuxer */"./src/demux/demuxer.js"),l=r(/*! ../events */"./src/events.js"),u=r(/*! ./level-helper */"./src/controller/level-helper.js"),c=r(/*! ../utils/time-ranges */"./src/utils/time-ranges.js"),d=r(/*! ../errors */"./src/errors.js"),f=r(/*! ../utils/logger */"./src/utils/logger.js"),h=r(/*! ../utils/discontinuities */"./src/utils/discontinuities.js"),p=r(/*! ./fragment-tracker */"./src/controller/fragment-tracker.js"),m=r(/*! ../loader/fragment */"./src/loader/fragment.js"),g=r(/*! ./base-stream-controller */"./src/controller/base-stream-controller.js"),y=window.performance,v=function(t){function r(e,r){var n=t.call(this,e,l.default.MEDIA_ATTACHED,l.default.MEDIA_DETACHING,l.default.AUDIO_TRACKS_UPDATED,l.default.AUDIO_TRACK_SWITCHING,l.default.AUDIO_TRACK_LOADED,l.default.KEY_LOADED,l.default.FRAG_LOADED,l.default.FRAG_PARSING_INIT_SEGMENT,l.default.FRAG_PARSING_DATA,l.default.FRAG_PARSED,l.default.ERROR,l.default.BUFFER_RESET,l.default.BUFFER_CREATED,l.default.BUFFER_APPENDED,l.default.BUFFER_FLUSHED,l.default.INIT_PTS_FOUND)||this;return n.fragmentTracker=r,n.config=e.config,n.audioCodecSwap=!1,n._state=g.State.STOPPED,n.initPTS=[],n.waitingFragment=null,n.videoTrackCC=null,n}return i(r,t),r.prototype.onHandlerDestroying=function(){this.stopLoad(),t.prototype.onHandlerDestroying.call(this)},r.prototype.onHandlerDestroyed=function(){this.state=g.State.STOPPED,this.fragmentTracker=null,t.prototype.onHandlerDestroyed.call(this)},r.prototype.onInitPtsFound=function(e){var t=e.id,r=e.frag.cc,n=e.initPTS;"main"===t&&(this.initPTS[r]=n,this.videoTrackCC=r,f.logger.log("InitPTS for cc: "+r+" found from video track: "+n),this.state===g.State.WAITING_INIT_PTS&&this.tick())},r.prototype.startLoad=function(e){if(this.tracks){var t=this.lastCurrentTime;this.stopLoad(),this.setInterval(100),this.fragLoadError=0,t>0&&-1===e?(f.logger.log("audio:override startPosition with lastCurrentTime @"+t.toFixed(3)),this.state=g.State.IDLE):(this.lastCurrentTime=this.startPosition?this.startPosition:e,this.state=g.State.STARTING),this.nextLoadPosition=this.startPosition=this.lastCurrentTime,this.tick()}else this.startPosition=e,this.state=g.State.STOPPED},r.prototype.stopLoad=function(){var e=this.fragCurrent;e&&(e.loader&&e.loader.abort(),this.fragmentTracker.removeFragment(e),this.fragCurrent=null),this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=g.State.STOPPED},Object.defineProperty(r.prototype,"state",{get:function(){return this._state},set:function(e){if(this.state!==e){var t=this.state;this._state=e,f.logger.log("audio stream:"+t+"->"+e)}},enumerable:!0,configurable:!0}),r.prototype.doTick=function(){var t,r,n,i=this.hls,s=i.config;switch(this.state){case g.State.ERROR:case g.State.PAUSED:case g.State.BUFFER_FLUSHING:break;case g.State.STARTING:this.state=g.State.WAITING_TRACK,this.loadedmetadata=!1;break;case g.State.IDLE:var u=this.tracks;if(!u)break;if(!this.media&&(this.startFragRequested||!s.startFragPrefetch))break;if(this.loadedmetadata)t=this.media.currentTime;else if(void 0===(t=this.nextLoadPosition))break;var c=this.mediaBuffer?this.mediaBuffer:this.media,d=this.videoBuffer?this.videoBuffer:this.media,m=a.BufferHelper.bufferInfo(c,t,s.maxBufferHole),v=a.BufferHelper.bufferInfo(d,t,s.maxBufferHole),b=m.len,_=m.end,A=this.fragPrevious,E=Math.min(s.maxBufferLength,s.maxMaxBufferLength),T=Math.max(E,v.len),S=this.audioSwitch,w=this.trackId;if((b<T||S)&&w<u.length){if(void 0===(n=u[w].details)){this.state=g.State.WAITING_TRACK;break}if(!S&&this._streamEnded(m,n))return this.hls.trigger(l.default.BUFFER_EOS,{type:"audio"}),void(this.state=g.State.ENDED);var k=n.fragments,C=k.length,x=k[0].start,R=k[C-1].start+k[C-1].duration,L=void 0;if(S)if(n.live&&!n.PTSKnown)f.logger.log("switching audiotrack, live stream, unknown PTS,load first fragment"),_=0;else if(_=t,n.PTSKnown&&t<x){if(!(m.end>x||m.nextStart))return;f.logger.log("alt audio track ahead of main track, seek to start of alt audio track"),this.media.currentTime=x+.05}if(n.initSegment&&!n.initSegment.data)L=n.initSegment;else if(_<=x){if(L=k[0],null!==this.videoTrackCC&&L.cc!==this.videoTrackCC&&(L=h.findFragWithCC(k,this.videoTrackCC)),n.live&&L.loadIdx&&L.loadIdx===this.fragLoadIdx){var j=m.nextStart?m.nextStart:x;return f.logger.log("no alt audio available @currentTime:"+this.media.currentTime+", seeking @"+(j+.05)),void(this.media.currentTime=j+.05)}}else{var P=void 0,I=s.maxFragLookUpTolerance,O=A?k[A.sn-k[0].sn+1]:void 0,D=function(e){var t=Math.min(I,e.duration);return e.start+e.duration-t<=_?1:e.start-t>_&&e.start?-1:0};_<R?(_>R-I&&(I=0),P=O&&!D(O)?O:o.default.search(k,D)):P=k[C-1],P&&(L=P,x=P.start,A&&L.level===A.level&&L.sn===A.sn&&(L.sn<n.endSN?(L=k[L.sn+1-n.startSN],f.logger.log("SN just loaded, load next one: "+L.sn)):L=null))}L&&(L.encrypted?(f.logger.log("Loading key for "+L.sn+" of ["+n.startSN+" ,"+n.endSN+"],track "+w),this.state=g.State.KEY_LOADING,i.trigger(l.default.KEY_LOADING,{frag:L})):(f.logger.log("Loading "+L.sn+", cc: "+L.cc+" of ["+n.startSN+" ,"+n.endSN+"],track "+w+", currentTime:"+t+",bufferEnd:"+_.toFixed(3)),this.fragCurrent=L,(S||this.fragmentTracker.getState(L)===p.FragmentState.NOT_LOADED)&&(this.startFragRequested=!0,e.isFinite(L.sn)&&(this.nextLoadPosition=L.start+L.duration),i.trigger(l.default.FRAG_LOADING,{frag:L}),this.state=g.State.FRAG_LOADING)))}break;case g.State.WAITING_TRACK:(r=this.tracks[this.trackId])&&r.details&&(this.state=g.State.IDLE);break;case g.State.FRAG_LOADING_WAITING_RETRY:var M=y.now(),N=this.retryDate,F=(c=this.media)&&c.seeking;(!N||M>=N||F)&&(f.logger.log("audioStreamController: retryDate reached, switch back to IDLE state"),this.state=g.State.IDLE);break;case g.State.WAITING_INIT_PTS:var U=this.videoTrackCC;if(void 0===this.initPTS[U])break;var B=this.waitingFragment;if(B){var K=B.frag.cc;U!==K?(r=this.tracks[this.trackId]).details&&r.details.live&&(f.logger.warn("Waiting fragment CC ("+K+") does not match video track CC ("+U+")"),this.waitingFragment=null,this.state=g.State.IDLE):(this.state=g.State.FRAG_LOADING,this.onFragLoaded(this.waitingFragment),this.waitingFragment=null)}else this.state=g.State.IDLE;break;case g.State.STOPPED:case g.State.FRAG_LOADING:case g.State.PARSING:case g.State.PARSED:case g.State.ENDED:}},r.prototype.onMediaAttached=function(e){var t=this.media=this.mediaBuffer=e.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvended=this.onMediaEnded.bind(this),t.addEventListener("seeking",this.onvseeking),t.addEventListener("ended",this.onvended);var r=this.config;this.tracks&&r.autoStartLoad&&this.startLoad(r.startPosition)},r.prototype.onMediaDetaching=function(){var e=this.media;e&&e.ended&&(f.logger.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0),e&&(e.removeEventListener("seeking",this.onvseeking),e.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1,this.stopLoad()},r.prototype.onAudioTracksUpdated=function(e){f.logger.log("audio tracks updated"),this.tracks=e.audioTracks},r.prototype.onAudioTrackSwitching=function(e){var t=!!e.url;this.trackId=e.id,this.fragCurrent=null,this.state=g.State.PAUSED,this.waitingFragment=null,t?this.setInterval(100):this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),t&&(this.audioSwitch=!0,this.state=g.State.IDLE),this.tick()},r.prototype.onAudioTrackLoaded=function(t){var r=t.details,n=t.id,i=this.tracks[n],o=r.totalduration,a=0;if(f.logger.log("track "+n+" loaded ["+r.startSN+","+r.endSN+"],duration:"+o),r.live){var s=i.details;s&&r.fragments.length>0?(u.mergeDetails(s,r),a=r.fragments[0].start,r.PTSKnown?f.logger.log("live audio playlist sliding:"+a.toFixed(3)):f.logger.log("live audio playlist - outdated PTS, unknown sliding")):(r.PTSKnown=!1,f.logger.log("live audio playlist - first load, unknown sliding"))}else r.PTSKnown=!1;if(i.details=r,!this.startFragRequested){if(-1===this.startPosition){var l=r.startTimeOffset;e.isFinite(l)?(f.logger.log("start time offset found in playlist, adjust startPosition to "+l),this.startPosition=l):this.startPosition=0}this.nextLoadPosition=this.startPosition}this.state===g.State.WAITING_TRACK&&(this.state=g.State.IDLE),this.tick()},r.prototype.onKeyLoaded=function(){this.state===g.State.KEY_LOADING&&(this.state=g.State.IDLE,this.tick())},r.prototype.onFragLoaded=function(e){var t=this.fragCurrent,r=e.frag;if(this.state===g.State.FRAG_LOADING&&t&&"audio"===r.type&&r.level===t.level&&r.sn===t.sn){var n=this.tracks[this.trackId],i=n.details,o=i.totalduration,a=t.level,u=t.sn,c=t.cc,d=this.config.defaultAudioCodec||n.audioCodec||"mp4a.40.2",h=this.stats=e.stats;if("initSegment"===u)this.state=g.State.IDLE,h.tparsed=h.tbuffered=y.now(),i.initSegment.data=e.payload,this.hls.trigger(l.default.FRAG_BUFFERED,{stats:h,frag:t,id:"audio"}),this.tick();else{this.state=g.State.PARSING,this.appended=!1,this.demuxer||(this.demuxer=new s.default(this.hls,"audio"));var p=this.initPTS[c],m=i.initSegment?i.initSegment.data:[];i.initSegment||void 0!==p?(this.pendingBuffering=!0,f.logger.log("Demuxing "+u+" of ["+i.startSN+" ,"+i.endSN+"],track "+a),this.demuxer.push(e.payload,m,d,null,t,o,!1,p)):(f.logger.log("unknown video PTS for continuity counter "+c+", waiting for video PTS before demuxing audio frag "+u+" of ["+i.startSN+" ,"+i.endSN+"],track "+a),this.waitingFragment=e,this.state=g.State.WAITING_INIT_PTS)}}this.fragLoadError=0},r.prototype.onFragParsingInitSegment=function(e){var t=this.fragCurrent,r=e.frag;if(t&&"audio"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===g.State.PARSING){var n=e.tracks,i=void 0;if(n.video&&delete n.video,i=n.audio){i.levelCodec=i.codec,i.id=e.id,this.hls.trigger(l.default.BUFFER_CODECS,n),f.logger.log("audio track:audio,container:"+i.container+",codecs[level/parsed]=["+i.levelCodec+"/"+i.codec+"]");var o=i.initSegment;if(o){var a={type:"audio",data:o,parent:"audio",content:"initSegment"};this.audioSwitch?this.pendingData=[a]:(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(l.default.BUFFER_APPENDING,a))}this.tick()}}},r.prototype.onFragParsingData=function(t){var r=this,n=this.fragCurrent,i=t.frag;if(n&&"audio"===t.id&&"audio"===t.type&&i.sn===n.sn&&i.level===n.level&&this.state===g.State.PARSING){var o=this.trackId,a=this.tracks[o],s=this.hls;e.isFinite(t.endPTS)||(t.endPTS=t.startPTS+n.duration,t.endDTS=t.startDTS+n.duration),n.addElementaryStream(m.default.ElementaryStreamTypes.AUDIO),f.logger.log("parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb),u.updateFragPTSDTS(a.details,n,t.startPTS,t.endPTS);var c=this.audioSwitch,h=this.media,p=!1;if(c&&h)if(h.readyState){var y=h.currentTime;f.logger.log("switching audio track : currentTime:"+y),y>=t.startPTS&&(f.logger.log("switching audio track : flushing all audio"),this.state=g.State.BUFFER_FLUSHING,s.trigger(l.default.BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"}),p=!0,this.audioSwitch=!1,s.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:o}))}else this.audioSwitch=!1,s.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:o});var v=this.pendingData;if(!v)return f.logger.warn("Apparently attempt to enqueue media payload without codec initialization data upfront"),void s.trigger(l.default.ERROR,{type:d.ErrorTypes.MEDIA_ERROR,details:null,fatal:!0});this.audioSwitch||([t.data1,t.data2].forEach((function(e){e&&e.length&&v.push({type:t.type,data:e,parent:"audio",content:"data"})})),!p&&v.length&&(v.forEach((function(e){r.state===g.State.PARSING&&(r.pendingBuffering=!0,r.hls.trigger(l.default.BUFFER_APPENDING,e))})),this.pendingData=[],this.appended=!0)),this.tick()}},r.prototype.onFragParsed=function(e){var t=this.fragCurrent,r=e.frag;t&&"audio"===e.id&&r.sn===t.sn&&r.level===t.level&&this.state===g.State.PARSING&&(this.stats.tparsed=y.now(),this.state=g.State.PARSED,this._checkAppendedParsed())},r.prototype.onBufferReset=function(){this.mediaBuffer=this.videoBuffer=null,this.loadedmetadata=!1},r.prototype.onBufferCreated=function(e){var t=e.tracks.audio;t&&(this.mediaBuffer=t.buffer,this.loadedmetadata=!0),e.tracks.video&&(this.videoBuffer=e.tracks.video.buffer)},r.prototype.onBufferAppended=function(e){if("audio"===e.parent){var t=this.state;t!==g.State.PARSING&&t!==g.State.PARSED||(this.pendingBuffering=e.pending>0,this._checkAppendedParsed())}},r.prototype._checkAppendedParsed=function(){if(!(this.state!==g.State.PARSED||this.appended&&this.pendingBuffering)){var e=this.fragCurrent,t=this.stats,r=this.hls;if(e){this.fragPrevious=e,t.tbuffered=y.now(),r.trigger(l.default.FRAG_BUFFERED,{stats:t,frag:e,id:"audio"});var n=this.mediaBuffer?this.mediaBuffer:this.media;f.logger.log("audio buffered : "+c.default.toString(n.buffered)),this.audioSwitch&&this.appended&&(this.audioSwitch=!1,r.trigger(l.default.AUDIO_TRACK_SWITCHED,{id:this.trackId})),this.state=g.State.IDLE}this.tick()}},r.prototype.onError=function(t){var r=t.frag;if(!r||"audio"===r.type)switch(t.details){case d.ErrorDetails.FRAG_LOAD_ERROR:case d.ErrorDetails.FRAG_LOAD_TIMEOUT:var n=t.frag;if(n&&"audio"!==n.type)break;if(!t.fatal){var i=this.fragLoadError;if(i?i++:i=1,i<=(s=this.config).fragLoadingMaxRetry){this.fragLoadError=i;var o=Math.min(Math.pow(2,i-1)*s.fragLoadingRetryDelay,s.fragLoadingMaxRetryTimeout);f.logger.warn("AudioStreamController: frag loading failed, retry in "+o+" ms"),this.retryDate=y.now()+o,this.state=g.State.FRAG_LOADING_WAITING_RETRY}else f.logger.error("AudioStreamController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=g.State.ERROR}break;case d.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:case d.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:case d.ErrorDetails.KEY_LOAD_ERROR:case d.ErrorDetails.KEY_LOAD_TIMEOUT:this.state!==g.State.ERROR&&(this.state=t.fatal?g.State.ERROR:g.State.IDLE,f.logger.warn("AudioStreamController: "+t.details+" while loading frag, now switching to "+this.state+" state ..."));break;case d.ErrorDetails.BUFFER_FULL_ERROR:if("audio"===t.parent&&(this.state===g.State.PARSING||this.state===g.State.PARSED)){var s,u=this.mediaBuffer,c=this.media.currentTime;u&&a.BufferHelper.isBuffered(u,c)&&a.BufferHelper.isBuffered(u,c+.5)?((s=this.config).maxMaxBufferLength>=s.maxBufferLength&&(s.maxMaxBufferLength/=2,f.logger.warn("AudioStreamController: reduce max buffer length to "+s.maxMaxBufferLength+"s")),this.state=g.State.IDLE):(f.logger.warn("AudioStreamController: buffer full error also media.currentTime is not buffered, flush audio buffer"),this.fragCurrent=null,this.state=g.State.BUFFER_FLUSHING,this.hls.trigger(l.default.BUFFER_FLUSHING,{startOffset:0,endOffset:e.POSITIVE_INFINITY,type:"audio"}))}}},r.prototype.onBufferFlushed=function(){var e=this,t=this.pendingData;t&&t.length?(f.logger.log("AudioStreamController: appending pending audio data after buffer flushed"),t.forEach((function(t){e.hls.trigger(l.default.BUFFER_APPENDING,t)})),this.appended=!0,this.pendingData=[],this.state=g.State.PARSED):(this.state=g.State.IDLE,this.fragPrevious=null,this.tick())},r}(g.default);t.default=v}).call(this,r(/*! ./src/polyfills/number */"./src/polyfills/number.js").Number)},"./src/controller/audio-track-controller.js":
/*!**************************************************!*\
!*** ./src/controller/audio-track-controller.js ***!
\**************************************************/
@@ -631,7 +631,7 @@
!*** ./src/crypt/aes-decryptor.js ***!
\************************************/
/*! no static exports found */
-/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";function n(e){var t=e.byteLength,r=t&&new DataView(e).getUint8(t-1);return r?e.slice(0,t-r):e}Object.defineProperty(t,"__esModule",{value:!0}),t.removePadding=n;var i=function(){function e(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return e.prototype.uint8ArrayToUint32Array_=function(e){for(var t=new DataView(e),r=new Uint32Array(4),n=0;n<4;n++)r[n]=t.getUint32(4*n);return r},e.prototype.initTable=function(){var e=this.sBox,t=this.invSBox,r=this.subMix,n=r[0],i=r[1],o=r[2],a=r[3],s=this.invSubMix,l=s[0],u=s[1],c=s[2],d=s[3],f=new Uint32Array(256),h=0,p=0,m=0;for(m=0;m<256;m++)f[m]=m<128?m<<1:m<<1^283;for(m=0;m<256;m++){var g=p^p<<1^p<<2^p<<3^p<<4;g=g>>>8^255&g^99,e[h]=g,t[g]=h;var y=f[h],v=f[y],b=f[v],_=257*f[g]^16843008*g;n[h]=_<<24|_>>>8,i[h]=_<<16|_>>>16,o[h]=_<<8|_>>>24,a[h]=_,_=16843009*b^65537*v^257*y^16843008*h,l[g]=_<<24|_>>>8,u[g]=_<<16|_>>>16,c[g]=_<<8|_>>>24,d[g]=_,h?(h=y^f[f[f[b^y]]],p^=f[f[p]]):h=p=1}},e.prototype.expandKey=function(e){for(var t=this.uint8ArrayToUint32Array_(e),r=!0,n=0;n<t.length&&r;)r=t[n]===this.key[n],n++;if(!r){this.key=t;var i=this.keySize=t.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);var o,a,s,l,u=this.ksRows=4*(i+6+1),c=this.keySchedule=new Uint32Array(u),d=this.invKeySchedule=new Uint32Array(u),f=this.sBox,h=this.rcon,p=this.invSubMix,m=p[0],g=p[1],y=p[2],v=p[3];for(o=0;o<u;o++)o<i?s=c[o]=t[o]:(l=s,o%i==0?(l=f[(l=l<<8|l>>>24)>>>24]<<24|f[l>>>16&255]<<16|f[l>>>8&255]<<8|f[255&l],l^=h[o/i|0]<<24):i>6&&o%i==4&&(l=f[l>>>24]<<24|f[l>>>16&255]<<16|f[l>>>8&255]<<8|f[255&l]),c[o]=s=(c[o-i]^l)>>>0);for(a=0;a<u;a++)o=u-a,l=3&a?c[o]:c[o-4],d[a]=a<4||o<=4?l:m[f[l>>>24]]^g[f[l>>>16&255]]^y[f[l>>>8&255]]^v[f[255&l]],d[a]=d[a]>>>0}},e.prototype.networkToHostOrderSwap=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},e.prototype.decrypt=function(e,t,r,i){for(var o,a,s,l,u,c,d,f,h,p,m,g,y,v,b=this.keySize+6,_=this.invKeySchedule,A=this.invSBox,E=this.invSubMix,T=E[0],S=E[1],w=E[2],k=E[3],x=this.uint8ArrayToUint32Array_(r),C=x[0],R=x[1],L=x[2],j=x[3],P=new Int32Array(e),I=new Int32Array(P.length),O=this.networkToHostOrderSwap;t<P.length;){for(h=O(P[t]),p=O(P[t+1]),m=O(P[t+2]),g=O(P[t+3]),u=h^_[0],c=g^_[1],d=m^_[2],f=p^_[3],y=4,v=1;v<b;v++)o=T[u>>>24]^S[c>>16&255]^w[d>>8&255]^k[255&f]^_[y],a=T[c>>>24]^S[d>>16&255]^w[f>>8&255]^k[255&u]^_[y+1],s=T[d>>>24]^S[f>>16&255]^w[u>>8&255]^k[255&c]^_[y+2],l=T[f>>>24]^S[u>>16&255]^w[c>>8&255]^k[255&d]^_[y+3],u=o,c=a,d=s,f=l,y+=4;o=A[u>>>24]<<24^A[c>>16&255]<<16^A[d>>8&255]<<8^A[255&f]^_[y],a=A[c>>>24]<<24^A[d>>16&255]<<16^A[f>>8&255]<<8^A[255&u]^_[y+1],s=A[d>>>24]<<24^A[f>>16&255]<<16^A[u>>8&255]<<8^A[255&c]^_[y+2],l=A[f>>>24]<<24^A[u>>16&255]<<16^A[c>>8&255]<<8^A[255&d]^_[y+3],y+=3,I[t]=O(o^C),I[t+1]=O(l^R),I[t+2]=O(s^L),I[t+3]=O(a^j),C=h,R=p,L=m,j=g,t+=4}return i?n(I.buffer):I.buffer},e.prototype.destroy=function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0},e}();t.default=i},"./src/crypt/decrypter.js":
+/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";function n(e){var t=e.byteLength,r=t&&new DataView(e).getUint8(t-1);return r?e.slice(0,t-r):e}Object.defineProperty(t,"__esModule",{value:!0}),t.removePadding=n;var i=function(){function e(){this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return e.prototype.uint8ArrayToUint32Array_=function(e){for(var t=new DataView(e),r=new Uint32Array(4),n=0;n<4;n++)r[n]=t.getUint32(4*n);return r},e.prototype.initTable=function(){var e=this.sBox,t=this.invSBox,r=this.subMix,n=r[0],i=r[1],o=r[2],a=r[3],s=this.invSubMix,l=s[0],u=s[1],c=s[2],d=s[3],f=new Uint32Array(256),h=0,p=0,m=0;for(m=0;m<256;m++)f[m]=m<128?m<<1:m<<1^283;for(m=0;m<256;m++){var g=p^p<<1^p<<2^p<<3^p<<4;g=g>>>8^255&g^99,e[h]=g,t[g]=h;var y=f[h],v=f[y],b=f[v],_=257*f[g]^16843008*g;n[h]=_<<24|_>>>8,i[h]=_<<16|_>>>16,o[h]=_<<8|_>>>24,a[h]=_,_=16843009*b^65537*v^257*y^16843008*h,l[g]=_<<24|_>>>8,u[g]=_<<16|_>>>16,c[g]=_<<8|_>>>24,d[g]=_,h?(h=y^f[f[f[b^y]]],p^=f[f[p]]):h=p=1}},e.prototype.expandKey=function(e){for(var t=this.uint8ArrayToUint32Array_(e),r=!0,n=0;n<t.length&&r;)r=t[n]===this.key[n],n++;if(!r){this.key=t;var i=this.keySize=t.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);var o,a,s,l,u=this.ksRows=4*(i+6+1),c=this.keySchedule=new Uint32Array(u),d=this.invKeySchedule=new Uint32Array(u),f=this.sBox,h=this.rcon,p=this.invSubMix,m=p[0],g=p[1],y=p[2],v=p[3];for(o=0;o<u;o++)o<i?s=c[o]=t[o]:(l=s,o%i==0?(l=f[(l=l<<8|l>>>24)>>>24]<<24|f[l>>>16&255]<<16|f[l>>>8&255]<<8|f[255&l],l^=h[o/i|0]<<24):i>6&&o%i==4&&(l=f[l>>>24]<<24|f[l>>>16&255]<<16|f[l>>>8&255]<<8|f[255&l]),c[o]=s=(c[o-i]^l)>>>0);for(a=0;a<u;a++)o=u-a,l=3&a?c[o]:c[o-4],d[a]=a<4||o<=4?l:m[f[l>>>24]]^g[f[l>>>16&255]]^y[f[l>>>8&255]]^v[f[255&l]],d[a]=d[a]>>>0}},e.prototype.networkToHostOrderSwap=function(e){return e<<24|(65280&e)<<8|(16711680&e)>>8|e>>>24},e.prototype.decrypt=function(e,t,r,i){for(var o,a,s,l,u,c,d,f,h,p,m,g,y,v,b=this.keySize+6,_=this.invKeySchedule,A=this.invSBox,E=this.invSubMix,T=E[0],S=E[1],w=E[2],k=E[3],C=this.uint8ArrayToUint32Array_(r),x=C[0],R=C[1],L=C[2],j=C[3],P=new Int32Array(e),I=new Int32Array(P.length),O=this.networkToHostOrderSwap;t<P.length;){for(h=O(P[t]),p=O(P[t+1]),m=O(P[t+2]),g=O(P[t+3]),u=h^_[0],c=g^_[1],d=m^_[2],f=p^_[3],y=4,v=1;v<b;v++)o=T[u>>>24]^S[c>>16&255]^w[d>>8&255]^k[255&f]^_[y],a=T[c>>>24]^S[d>>16&255]^w[f>>8&255]^k[255&u]^_[y+1],s=T[d>>>24]^S[f>>16&255]^w[u>>8&255]^k[255&c]^_[y+2],l=T[f>>>24]^S[u>>16&255]^w[c>>8&255]^k[255&d]^_[y+3],u=o,c=a,d=s,f=l,y+=4;o=A[u>>>24]<<24^A[c>>16&255]<<16^A[d>>8&255]<<8^A[255&f]^_[y],a=A[c>>>24]<<24^A[d>>16&255]<<16^A[f>>8&255]<<8^A[255&u]^_[y+1],s=A[d>>>24]<<24^A[f>>16&255]<<16^A[u>>8&255]<<8^A[255&c]^_[y+2],l=A[f>>>24]<<24^A[u>>16&255]<<16^A[c>>8&255]<<8^A[255&d]^_[y+3],y+=3,I[t]=O(o^x),I[t+1]=O(l^R),I[t+2]=O(s^L),I[t+3]=O(a^j),x=h,R=p,L=m,j=g,t+=4}return i?n(I.buffer):I.buffer},e.prototype.destroy=function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0},e}();t.default=i},"./src/crypt/decrypter.js":
/*!********************************!*\
!*** ./src/crypt/decrypter.js ***!
\********************************/
@@ -656,7 +656,7 @@
!*** ./src/demux/demuxer-inline.js ***!
\*************************************/
/*! no static exports found */
-/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(/*! ../events */"./src/events.js"),o=r(/*! ../errors */"./src/errors.js"),a=r(/*! ../crypt/decrypter */"./src/crypt/decrypter.js"),s=r(/*! ../demux/aacdemuxer */"./src/demux/aacdemuxer.js"),l=r(/*! ../demux/mp4demuxer */"./src/demux/mp4demuxer.js"),u=r(/*! ../demux/tsdemuxer */"./src/demux/tsdemuxer.js"),c=r(/*! ../demux/mp3demuxer */"./src/demux/mp3demuxer.js"),d=r(/*! ../remux/mp4-remuxer */"./src/remux/mp4-remuxer.js"),f=r(/*! ../remux/passthrough-remuxer */"./src/remux/passthrough-remuxer.js"),h=r(/*! ../utils/get-self-scope */"./src/utils/get-self-scope.js"),p=r(/*! ../utils/logger */"./src/utils/logger.js"),m=h.getSelfScope();try{n=m.performance.now.bind(m.performance)}catch(e){p.logger.debug("Unable to use Performance API on this environment"),n=m.Date.now}var g=function(){function e(e,t,r,n){this.observer=e,this.typeSupported=t,this.config=r,this.vendor=n}return e.prototype.destroy=function(){var e=this.demuxer;e&&e.destroy()},e.prototype.push=function(e,t,r,o,s,l,u,c,d,f,h,p){var m=this;if(e.byteLength>0&&null!=t&&null!=t.key&&"AES-128"===t.method){var g=this.decrypter;null==g&&(g=this.decrypter=new a.default(this.observer,this.config));var y=n();g.decrypt(e,t.key.buffer,t.iv.buffer,(function(e){var a=n();m.observer.trigger(i.default.FRAG_DECRYPTED,{stats:{tstart:y,tdecrypt:a}}),m.pushDecrypted(new Uint8Array(e),t,new Uint8Array(r),o,s,l,u,c,d,f,h,p)}))}else this.pushDecrypted(new Uint8Array(e),t,new Uint8Array(r),o,s,l,u,c,d,f,h,p)},e.prototype.pushDecrypted=function(e,t,r,n,a,h,p,m,g,y,v,b){var _=this.demuxer;if(!_||(p||m)&&!this.probe(e)){for(var A=this.observer,E=this.typeSupported,T=this.config,S=[{demux:u.default,remux:d.default},{demux:l.default,remux:f.default},{demux:s.default,remux:d.default},{demux:c.default,remux:d.default}],w=0,k=S.length;w<k;w++){var x=S[w],C=x.demux.probe;if(C(e)){var R=this.remuxer=new x.remux(A,T,E,this.vendor);_=new x.demux(A,R,T,E),this.probe=C;break}}if(!_)return void A.trigger(i.default.ERROR,{type:o.ErrorTypes.MEDIA_ERROR,details:o.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=_}var L=this.remuxer;(p||m)&&(_.resetInitSegment(r,n,a,y),L.resetInitSegment()),p&&(_.resetTimeStamp(b),L.resetTimeStamp(b)),"function"==typeof _.setDecryptData&&_.setDecryptData(t),_.append(e,h,g,v)},e}();t.default=g},"./src/demux/demuxer-worker.js":
+/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(/*! ../events */"./src/events.js"),o=r(/*! ../errors */"./src/errors.js"),a=r(/*! ../crypt/decrypter */"./src/crypt/decrypter.js"),s=r(/*! ../demux/aacdemuxer */"./src/demux/aacdemuxer.js"),l=r(/*! ../demux/mp4demuxer */"./src/demux/mp4demuxer.js"),u=r(/*! ../demux/tsdemuxer */"./src/demux/tsdemuxer.js"),c=r(/*! ../demux/mp3demuxer */"./src/demux/mp3demuxer.js"),d=r(/*! ../remux/mp4-remuxer */"./src/remux/mp4-remuxer.js"),f=r(/*! ../remux/passthrough-remuxer */"./src/remux/passthrough-remuxer.js"),h=r(/*! ../utils/get-self-scope */"./src/utils/get-self-scope.js"),p=r(/*! ../utils/logger */"./src/utils/logger.js"),m=h.getSelfScope();try{n=m.performance.now.bind(m.performance)}catch(e){p.logger.debug("Unable to use Performance API on this environment"),n=m.Date.now}var g=function(){function e(e,t,r,n){this.observer=e,this.typeSupported=t,this.config=r,this.vendor=n}return e.prototype.destroy=function(){var e=this.demuxer;e&&e.destroy()},e.prototype.push=function(e,t,r,o,s,l,u,c,d,f,h,p){var m=this;if(e.byteLength>0&&null!=t&&null!=t.key&&"AES-128"===t.method){var g=this.decrypter;null==g&&(g=this.decrypter=new a.default(this.observer,this.config));var y=n();g.decrypt(e,t.key.buffer,t.iv.buffer,(function(e){var a=n();m.observer.trigger(i.default.FRAG_DECRYPTED,{stats:{tstart:y,tdecrypt:a}}),m.pushDecrypted(new Uint8Array(e),t,new Uint8Array(r),o,s,l,u,c,d,f,h,p)}))}else this.pushDecrypted(new Uint8Array(e),t,new Uint8Array(r),o,s,l,u,c,d,f,h,p)},e.prototype.pushDecrypted=function(e,t,r,n,a,h,p,m,g,y,v,b){var _=this.demuxer;if(!_||(p||m)&&!this.probe(e)){for(var A=this.observer,E=this.typeSupported,T=this.config,S=[{demux:u.default,remux:d.default},{demux:l.default,remux:f.default},{demux:s.default,remux:d.default},{demux:c.default,remux:d.default}],w=0,k=S.length;w<k;w++){var C=S[w],x=C.demux.probe;if(x(e)){var R=this.remuxer=new C.remux(A,T,E,this.vendor);_=new C.demux(A,R,T,E),this.probe=x;break}}if(!_)return void A.trigger(i.default.ERROR,{type:o.ErrorTypes.MEDIA_ERROR,details:o.ErrorDetails.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=_}var L=this.remuxer;(p||m)&&(_.resetInitSegment(r,n,a,y),L.resetInitSegment()),p&&(_.resetTimeStamp(b),L.resetTimeStamp(b)),"function"==typeof _.setDecryptData&&_.setDecryptData(t),_.append(e,h,g,v)},e}();t.default=g},"./src/demux/demuxer-worker.js":
/*!*************************************!*\
!*** ./src/demux/demuxer-worker.js ***!
\*************************************/
@@ -701,7 +701,7 @@
!*** ./src/demux/tsdemuxer.js ***!
\********************************/
/*! no static exports found */
-/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(/*! ./adts */"./src/demux/adts.js"),i=r(/*! ./mpegaudio */"./src/demux/mpegaudio.js"),o=r(/*! ../events */"./src/events.js"),a=r(/*! ./exp-golomb */"./src/demux/exp-golomb.js"),s=r(/*! ./sample-aes */"./src/demux/sample-aes.js"),l=r(/*! ../utils/logger */"./src/utils/logger.js"),u=r(/*! ../errors */"./src/errors.js"),c={video:1,audio:2,id3:3,text:4},d=function(){function e(e,t,r,n){this.observer=e,this.config=r,this.typeSupported=n,this.remuxer=t,this.sampleAes=null}return e.prototype.setDecryptData=function(e){null!=e&&null!=e.key&&"SAMPLE-AES"===e.method?this.sampleAes=new s.default(this.observer,this.config,e,this.discardEPB):this.sampleAes=null},e.probe=function(t){var r=e._syncOffset(t);return!(r<0||(r&&l.logger.warn("MPEG2-TS detected but first sync word found @ offset "+r+", junk ahead ?"),0))},e._syncOffset=function(e){for(var t=Math.min(1e3,e.length-564),r=0;r<t;){if(71===e[r]&&71===e[r+188]&&71===e[r+376])return r;r++}return-1},e.createTrack=function(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:c[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:"video"===e?0:void 0,isAAC:"audio"===e||void 0,duration:"audio"===e?t:void 0}},e.prototype.resetInitSegment=function(t,r,n,i){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=e.createTrack("video",i),this._audioTrack=e.createTrack("audio",i),this._id3Track=e.createTrack("id3",i),this._txtTrack=e.createTrack("text",i),this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=r,this.videoCodec=n,this._duration=i},e.prototype.resetTimeStamp=function(){},e.prototype.append=function(t,r,n,i){var a,s,c,d,f,h=t.length,p=!1;this.contiguous=n;var m=this.pmtParsed,g=this._avcTrack,y=this._audioTrack,v=this._id3Track,b=g.pid,_=y.pid,A=v.pid,E=this._pmtId,T=g.pesData,S=y.pesData,w=v.pesData,k=this._parsePAT,x=this._parsePMT,C=this._parsePES,R=this._parseAVCPES.bind(this),L=this._parseAACPES.bind(this),j=this._parseMPEGPES.bind(this),P=this._parseID3PES.bind(this),I=e._syncOffset(t);for(h-=(h+I)%188,a=I;a<h;a+=188)if(71===t[a]){if(s=!!(64&t[a+1]),c=((31&t[a+1])<<8)+t[a+2],(48&t[a+3])>>4>1){if((d=a+5+t[a+4])===a+188)continue}else d=a+4;switch(c){case b:s&&(T&&(f=C(T))&&void 0!==f.pts&&R(f,!1),T={data:[],size:0}),T&&(T.data.push(t.subarray(d,a+188)),T.size+=a+188-d);break;case _:s&&(S&&(f=C(S))&&void 0!==f.pts&&(y.isAAC?L(f):j(f)),S={data:[],size:0}),S&&(S.data.push(t.subarray(d,a+188)),S.size+=a+188-d);break;case A:s&&(w&&(f=C(w))&&void 0!==f.pts&&P(f),w={data:[],size:0}),w&&(w.data.push(t.subarray(d,a+188)),w.size+=a+188-d);break;case 0:s&&(d+=t[d]+1),E=this._pmtId=k(t,d);break;case E:s&&(d+=t[d]+1);var O=x(t,d,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,null!=this.sampleAes);(b=O.avc)>0&&(g.pid=b),(_=O.audio)>0&&(y.pid=_,y.isAAC=O.isAAC),(A=O.id3)>0&&(v.pid=A),p&&!m&&(l.logger.log("reparse from beginning"),p=!1,a=I-188),m=this.pmtParsed=!0;break;case 17:case 8191:break;default:p=!0}}else this.observer.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});T&&(f=C(T))&&void 0!==f.pts?(R(f,!0),g.pesData=null):g.pesData=T,S&&(f=C(S))&&void 0!==f.pts?(y.isAAC?L(f):j(f),y.pesData=null):(S&&S.size&&l.logger.log("last AAC PES packet truncated,might overlap between fragments"),y.pesData=S),w&&(f=C(w))&&void 0!==f.pts?(P(f),v.pesData=null):v.pesData=w,null==this.sampleAes?this.remuxer.remux(y,g,v,this._txtTrack,r,n,i):this.decryptAndRemux(y,g,v,this._txtTrack,r,n,i)},e.prototype.decryptAndRemux=function(e,t,r,n,i,o,a){if(e.samples&&e.isAAC){var s=this;this.sampleAes.decryptAacSamples(e.samples,0,(function(){s.decryptAndRemuxAvc(e,t,r,n,i,o,a)}))}else this.decryptAndRemuxAvc(e,t,r,n,i,o,a)},e.prototype.decryptAndRemuxAvc=function(e,t,r,n,i,o,a){if(t.samples){var s=this;this.sampleAes.decryptAvcSamples(t.samples,0,0,(function(){s.remuxer.remux(e,t,r,n,i,o,a)}))}else this.remuxer.remux(e,t,r,n,i,o,a)},e.prototype.destroy=function(){this._initPTS=this._initDTS=void 0,this._duration=0},e.prototype._parsePAT=function(e,t){return(31&e[t+10])<<8|e[t+11]},e.prototype._parsePMT=function(e,t,r,n){var i,o,a={audio:-1,avc:-1,id3:-1,isAAC:!0};for(i=t+3+((15&e[t+1])<<8|e[t+2])-4,t+=12+((15&e[t+10])<<8|e[t+11]);t<i;){switch(o=(31&e[t+1])<<8|e[t+2],e[t]){case 207:if(!n){l.logger.log("unkown stream type:"+e[t]);break}case 15:-1===a.audio&&(a.audio=o);break;case 21:-1===a.id3&&(a.id3=o);break;case 219:if(!n){l.logger.log("unkown stream type:"+e[t]);break}case 27:-1===a.avc&&(a.avc=o);break;case 3:case 4:r?-1===a.audio&&(a.audio=o,a.isAAC=!1):l.logger.log("MPEG audio found, not supported in this browser for now");break;case 36:l.logger.warn("HEVC stream type found, not supported for now");break;default:l.logger.log("unkown stream type:"+e[t])}t+=5+((15&e[t+3])<<8|e[t+4])}return a},e.prototype._parsePES=function(e){var t,r,n,i,o,a,s,u,c=0,d=e.data;if(!e||0===e.size)return null;for(;d[0].length<19&&d.length>1;){var f=new Uint8Array(d[0].length+d[1].length);f.set(d[0]),f.set(d[1],d[0].length),d[0]=f,d.splice(1,1)}if(1===((t=d[0])[0]<<16)+(t[1]<<8)+t[2]){if((n=(t[4]<<8)+t[5])&&n>e.size-6)return null;192&(r=t[7])&&((a=536870912*(14&t[9])+4194304*(255&t[10])+16384*(254&t[11])+128*(255&t[12])+(254&t[13])/2)>4294967295&&(a-=8589934592),64&r?((s=536870912*(14&t[14])+4194304*(255&t[15])+16384*(254&t[16])+128*(255&t[17])+(254&t[18])/2)>4294967295&&(s-=8589934592),a-s>54e5&&(l.logger.warn(Math.round((a-s)/9e4)+"s delta between PTS and DTS, align them"),a=s)):s=a),u=(i=t[8])+9,e.size-=u,o=new Uint8Array(e.size);for(var h=0,p=d.length;h<p;h++){var m=(t=d[h]).byteLength;if(u){if(u>m){u-=m;continue}t=t.subarray(u),m-=u,u=0}o.set(t,c),c+=m}return n&&(n-=i+3),{data:o,pts:a,dts:s,len:n}}return null},e.prototype.pushAccesUnit=function(e,t){if(e.units.length&&e.frame){var r=t.samples,n=r.length;!this.config.forceKeyFrameOnDiscontinuity||!0===e.key||t.sps&&(n||this.contiguous)?(e.id=n,r.push(e)):t.dropped++}e.debug.length&&l.logger.log(e.pts+"/"+e.dts+":"+e.debug)},e.prototype._parseAVCPES=function(e,t){var r,n,i,o=this,s=this._avcTrack,l=this._parseAVCNALu(e.data),u=this.avcSample,c=!1,d=this.pushAccesUnit.bind(this),f=function(e,t,r,n){return{key:e,pts:t,dts:r,units:[],debug:n}};e.data=null,u&&l.length&&!s.audFound&&(d(u,s),u=this.avcSample=f(!1,e.pts,e.dts,"")),l.forEach((function(t){switch(t.type){case 1:n=!0,u||(u=o.avcSample=f(!0,e.pts,e.dts,"")),u.frame=!0;var l=t.data;if(c&&l.length>4){var h=new a.default(l).readSliceType();2!==h&&4!==h&&7!==h&&9!==h||(u.key=!0)}break;case 5:n=!0,u||(u=o.avcSample=f(!0,e.pts,e.dts,"")),u.key=!0,u.frame=!0;break;case 6:n=!0,(r=new a.default(o.discardEPB(t.data))).readUByte();for(var p=0,m=0,g=!1,y=0;!g&&r.bytesAvailable>1;){p=0;do{p+=y=r.readUByte()}while(255===y);m=0;do{m+=y=r.readUByte()}while(255===y);if(4===p&&0!==r.bytesAvailable){if(g=!0,181===r.readUByte()&&49===r.readUShort()&&1195456820===r.readUInt()&&3===r.readUByte()){var v=r.readUByte(),b=31&v,_=[v,r.readUByte()];for(i=0;i<b;i++)_.push(r.readUByte()),_.push(r.readUByte()),_.push(r.readUByte());o._insertSampleInOrder(o._txtTrack.samples,{type:3,pts:e.pts,bytes:_})}}else if(m<r.bytesAvailable)for(i=0;i<m;i++)r.readUByte()}break;case 7:if(n=!0,c=!0,!s.sps){var A=(r=new a.default(t.data)).readSPS();s.width=A.width,s.height=A.height,s.pixelRatio=A.pixelRatio,s.sps=[t.data],s.duration=o._duration;var E=t.data.subarray(1,4),T="avc1.";for(i=0;i<3;i++){var S=E[i].toString(16);S.length<2&&(S="0"+S),T+=S}s.codec=T}break;case 8:n=!0,s.pps||(s.pps=[t.data]);break;case 9:n=!1,s.audFound=!0,u&&d(u,s),u=o.avcSample=f(!1,e.pts,e.dts,"");break;case 12:n=!1;break;default:n=!1,u&&(u.debug+="unknown NAL "+t.type+" ")}u&&n&&u.units.push(t)})),t&&u&&(d(u,s),this.avcSample=null)},e.prototype._insertSampleInOrder=function(e,t){var r=e.length;if(r>0){if(t.pts>=e[r-1].pts)e.push(t);else for(var n=r-1;n>=0;n--)if(t.pts<e[n].pts){e.splice(n,0,t);break}}else e.push(t)},e.prototype._getLastNalUnit=function(){var e,t=this.avcSample;if(!t||0===t.units.length){var r=this._avcTrack.samples;t=r[r.length-1]}if(t){var n=t.units;e=n[n.length-1]}return e},e.prototype._parseAVCNALu=function(e){var t,r,n,i,o=0,a=e.byteLength,s=this._avcTrack,l=s.naluState||0,u=l,c=[],d=-1;for(-1===l&&(d=0,i=31&e[0],l=0,o=1);o<a;)if(t=e[o++],l)if(1!==l)if(t)if(1===t){var f,h;d>=0?(n={data:e.subarray(d,o-l-1),type:i},c.push(n)):(f=this._getLastNalUnit())&&(u&&o<=4-u&&f.state&&(f.data=f.data.subarray(0,f.data.byteLength-u)),(r=o-l-1)>0&&((h=new Uint8Array(f.data.byteLength+r)).set(f.data,0),h.set(e.subarray(0,r),f.data.byteLength),f.data=h)),o<a?(d=o,i=31&e[o],l=0):l=-1}else l=0;else l=3;else l=t?0:2;else l=t?0:1;return d>=0&&l>=0&&(n={data:e.subarray(d,a),type:i,state:l},c.push(n)),0===c.length&&(f=this._getLastNalUnit())&&((h=new Uint8Array(f.data.byteLength+e.byteLength)).set(f.data,0),h.set(e,f.data.byteLength),f.data=h),s.naluState=l,c},e.prototype.discardEPB=function(e){for(var t,r,n=e.byteLength,i=[],o=1;o<n-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=n-i.length,r=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),r[o]=e[a];return r},e.prototype._parseAACPES=function(e){var t,r,i,a,s,c=this._audioTrack,d=e.data,f=e.pts,h=this.aacOverFlow,p=this.aacLastPTS;if(h){var m=new Uint8Array(h.byteLength+d.byteLength);m.set(h,0),m.set(d,h.byteLength),d=m}for(i=0,s=d.length;i<s-1&&!n.isHeader(d,i);i++);if(i){var g=void 0,y=void 0;if(i<s-1?(g="AAC PES did not start with ADTS header,offset:"+i,y=!1):(g="no ADTS header found in AAC PES",y=!0),l.logger.warn("parsing error:"+g),this.observer.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.FRAG_PARSING_ERROR,fatal:y,reason:g}),y)return}if(n.initTrackConfig(c,this.observer,d,i,this.audioCodec),r=0,t=n.getFrameDuration(c.samplerate),h&&p){var v=p+t;Math.abs(v-f)>1&&(l.logger.log("AAC: align PTS for overlapping frames by "+Math.round((v-f)/90)),f=v)}for(;i<s;)if(n.isHeader(d,i)&&i+5<s){var b=n.appendFrame(c,d,i,f,r);if(!b)break;i+=b.length,a=b.sample.pts,r++}else i++;h=i<s?d.subarray(i,s):null,this.aacOverFlow=h,this.aacLastPTS=a},e.prototype._parseMPEGPES=function(e){for(var t=e.data,r=t.length,n=0,o=0,a=e.pts;o<r;)if(i.default.isHeader(t,o)){var s=i.default.appendFrame(this._audioTrack,t,o,a,n);if(!s)break;o+=s.length,n++}else o++},e.prototype._parseID3PES=function(e){this._id3Track.samples.push(e)},e}();t.default=d},"./src/errors.js":
+/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(/*! ./adts */"./src/demux/adts.js"),i=r(/*! ./mpegaudio */"./src/demux/mpegaudio.js"),o=r(/*! ../events */"./src/events.js"),a=r(/*! ./exp-golomb */"./src/demux/exp-golomb.js"),s=r(/*! ./sample-aes */"./src/demux/sample-aes.js"),l=r(/*! ../utils/logger */"./src/utils/logger.js"),u=r(/*! ../errors */"./src/errors.js"),c={video:1,audio:2,id3:3,text:4},d=function(){function e(e,t,r,n){this.observer=e,this.config=r,this.typeSupported=n,this.remuxer=t,this.sampleAes=null}return e.prototype.setDecryptData=function(e){null!=e&&null!=e.key&&"SAMPLE-AES"===e.method?this.sampleAes=new s.default(this.observer,this.config,e,this.discardEPB):this.sampleAes=null},e.probe=function(t){var r=e._syncOffset(t);return!(r<0||(r&&l.logger.warn("MPEG2-TS detected but first sync word found @ offset "+r+", junk ahead ?"),0))},e._syncOffset=function(e){for(var t=Math.min(1e3,e.length-564),r=0;r<t;){if(71===e[r]&&71===e[r+188]&&71===e[r+376])return r;r++}return-1},e.createTrack=function(e,t){return{container:"video"===e||"audio"===e?"video/mp2t":void 0,type:e,id:c[e],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:"video"===e?0:void 0,isAAC:"audio"===e||void 0,duration:"audio"===e?t:void 0}},e.prototype.resetInitSegment=function(t,r,n,i){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=e.createTrack("video",i),this._audioTrack=e.createTrack("audio",i),this._id3Track=e.createTrack("id3",i),this._txtTrack=e.createTrack("text",i),this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=r,this.videoCodec=n,this._duration=i},e.prototype.resetTimeStamp=function(){},e.prototype.append=function(t,r,n,i){var a,s,c,d,f,h=t.length,p=!1;this.contiguous=n;var m=this.pmtParsed,g=this._avcTrack,y=this._audioTrack,v=this._id3Track,b=g.pid,_=y.pid,A=v.pid,E=this._pmtId,T=g.pesData,S=y.pesData,w=v.pesData,k=this._parsePAT,C=this._parsePMT,x=this._parsePES,R=this._parseAVCPES.bind(this),L=this._parseAACPES.bind(this),j=this._parseMPEGPES.bind(this),P=this._parseID3PES.bind(this),I=e._syncOffset(t);for(h-=(h+I)%188,a=I;a<h;a+=188)if(71===t[a]){if(s=!!(64&t[a+1]),c=((31&t[a+1])<<8)+t[a+2],(48&t[a+3])>>4>1){if((d=a+5+t[a+4])===a+188)continue}else d=a+4;switch(c){case b:s&&(T&&(f=x(T))&&void 0!==f.pts&&R(f,!1),T={data:[],size:0}),T&&(T.data.push(t.subarray(d,a+188)),T.size+=a+188-d);break;case _:s&&(S&&(f=x(S))&&void 0!==f.pts&&(y.isAAC?L(f):j(f)),S={data:[],size:0}),S&&(S.data.push(t.subarray(d,a+188)),S.size+=a+188-d);break;case A:s&&(w&&(f=x(w))&&void 0!==f.pts&&P(f),w={data:[],size:0}),w&&(w.data.push(t.subarray(d,a+188)),w.size+=a+188-d);break;case 0:s&&(d+=t[d]+1),E=this._pmtId=k(t,d);break;case E:s&&(d+=t[d]+1);var O=C(t,d,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,null!=this.sampleAes);(b=O.avc)>0&&(g.pid=b),(_=O.audio)>0&&(y.pid=_,y.isAAC=O.isAAC),(A=O.id3)>0&&(v.pid=A),p&&!m&&(l.logger.log("reparse from beginning"),p=!1,a=I-188),m=this.pmtParsed=!0;break;case 17:case 8191:break;default:p=!0}}else this.observer.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});T&&(f=x(T))&&void 0!==f.pts?(R(f,!0),g.pesData=null):g.pesData=T,S&&(f=x(S))&&void 0!==f.pts?(y.isAAC?L(f):j(f),y.pesData=null):(S&&S.size&&l.logger.log("last AAC PES packet truncated,might overlap between fragments"),y.pesData=S),w&&(f=x(w))&&void 0!==f.pts?(P(f),v.pesData=null):v.pesData=w,null==this.sampleAes?this.remuxer.remux(y,g,v,this._txtTrack,r,n,i):this.decryptAndRemux(y,g,v,this._txtTrack,r,n,i)},e.prototype.decryptAndRemux=function(e,t,r,n,i,o,a){if(e.samples&&e.isAAC){var s=this;this.sampleAes.decryptAacSamples(e.samples,0,(function(){s.decryptAndRemuxAvc(e,t,r,n,i,o,a)}))}else this.decryptAndRemuxAvc(e,t,r,n,i,o,a)},e.prototype.decryptAndRemuxAvc=function(e,t,r,n,i,o,a){if(t.samples){var s=this;this.sampleAes.decryptAvcSamples(t.samples,0,0,(function(){s.remuxer.remux(e,t,r,n,i,o,a)}))}else this.remuxer.remux(e,t,r,n,i,o,a)},e.prototype.destroy=function(){this._initPTS=this._initDTS=void 0,this._duration=0},e.prototype._parsePAT=function(e,t){return(31&e[t+10])<<8|e[t+11]},e.prototype._parsePMT=function(e,t,r,n){var i,o,a={audio:-1,avc:-1,id3:-1,isAAC:!0};for(i=t+3+((15&e[t+1])<<8|e[t+2])-4,t+=12+((15&e[t+10])<<8|e[t+11]);t<i;){switch(o=(31&e[t+1])<<8|e[t+2],e[t]){case 207:if(!n){l.logger.log("unkown stream type:"+e[t]);break}case 15:-1===a.audio&&(a.audio=o);break;case 21:-1===a.id3&&(a.id3=o);break;case 219:if(!n){l.logger.log("unkown stream type:"+e[t]);break}case 27:-1===a.avc&&(a.avc=o);break;case 3:case 4:r?-1===a.audio&&(a.audio=o,a.isAAC=!1):l.logger.log("MPEG audio found, not supported in this browser for now");break;case 36:l.logger.warn("HEVC stream type found, not supported for now");break;default:l.logger.log("unkown stream type:"+e[t])}t+=5+((15&e[t+3])<<8|e[t+4])}return a},e.prototype._parsePES=function(e){var t,r,n,i,o,a,s,u,c=0,d=e.data;if(!e||0===e.size)return null;for(;d[0].length<19&&d.length>1;){var f=new Uint8Array(d[0].length+d[1].length);f.set(d[0]),f.set(d[1],d[0].length),d[0]=f,d.splice(1,1)}if(1===((t=d[0])[0]<<16)+(t[1]<<8)+t[2]){if((n=(t[4]<<8)+t[5])&&n>e.size-6)return null;192&(r=t[7])&&((a=536870912*(14&t[9])+4194304*(255&t[10])+16384*(254&t[11])+128*(255&t[12])+(254&t[13])/2)>4294967295&&(a-=8589934592),64&r?((s=536870912*(14&t[14])+4194304*(255&t[15])+16384*(254&t[16])+128*(255&t[17])+(254&t[18])/2)>4294967295&&(s-=8589934592),a-s>54e5&&(l.logger.warn(Math.round((a-s)/9e4)+"s delta between PTS and DTS, align them"),a=s)):s=a),u=(i=t[8])+9,e.size-=u,o=new Uint8Array(e.size);for(var h=0,p=d.length;h<p;h++){var m=(t=d[h]).byteLength;if(u){if(u>m){u-=m;continue}t=t.subarray(u),m-=u,u=0}o.set(t,c),c+=m}return n&&(n-=i+3),{data:o,pts:a,dts:s,len:n}}return null},e.prototype.pushAccesUnit=function(e,t){if(e.units.length&&e.frame){var r=t.samples,n=r.length;!this.config.forceKeyFrameOnDiscontinuity||!0===e.key||t.sps&&(n||this.contiguous)?(e.id=n,r.push(e)):t.dropped++}e.debug.length&&l.logger.log(e.pts+"/"+e.dts+":"+e.debug)},e.prototype._parseAVCPES=function(e,t){var r,n,i,o=this,s=this._avcTrack,l=this._parseAVCNALu(e.data),u=this.avcSample,c=!1,d=this.pushAccesUnit.bind(this),f=function(e,t,r,n){return{key:e,pts:t,dts:r,units:[],debug:n}};e.data=null,u&&l.length&&!s.audFound&&(d(u,s),u=this.avcSample=f(!1,e.pts,e.dts,"")),l.forEach((function(t){switch(t.type){case 1:n=!0,u||(u=o.avcSample=f(!0,e.pts,e.dts,"")),u.frame=!0;var l=t.data;if(c&&l.length>4){var h=new a.default(l).readSliceType();2!==h&&4!==h&&7!==h&&9!==h||(u.key=!0)}break;case 5:n=!0,u||(u=o.avcSample=f(!0,e.pts,e.dts,"")),u.key=!0,u.frame=!0;break;case 6:n=!0,(r=new a.default(o.discardEPB(t.data))).readUByte();for(var p=0,m=0,g=!1,y=0;!g&&r.bytesAvailable>1;){p=0;do{p+=y=r.readUByte()}while(255===y);m=0;do{m+=y=r.readUByte()}while(255===y);if(4===p&&0!==r.bytesAvailable){if(g=!0,181===r.readUByte()&&49===r.readUShort()&&1195456820===r.readUInt()&&3===r.readUByte()){var v=r.readUByte(),b=31&v,_=[v,r.readUByte()];for(i=0;i<b;i++)_.push(r.readUByte()),_.push(r.readUByte()),_.push(r.readUByte());o._insertSampleInOrder(o._txtTrack.samples,{type:3,pts:e.pts,bytes:_})}}else if(m<r.bytesAvailable)for(i=0;i<m;i++)r.readUByte()}break;case 7:if(n=!0,c=!0,!s.sps){var A=(r=new a.default(t.data)).readSPS();s.width=A.width,s.height=A.height,s.pixelRatio=A.pixelRatio,s.sps=[t.data],s.duration=o._duration;var E=t.data.subarray(1,4),T="avc1.";for(i=0;i<3;i++){var S=E[i].toString(16);S.length<2&&(S="0"+S),T+=S}s.codec=T}break;case 8:n=!0,s.pps||(s.pps=[t.data]);break;case 9:n=!1,s.audFound=!0,u&&d(u,s),u=o.avcSample=f(!1,e.pts,e.dts,"");break;case 12:n=!1;break;default:n=!1,u&&(u.debug+="unknown NAL "+t.type+" ")}u&&n&&u.units.push(t)})),t&&u&&(d(u,s),this.avcSample=null)},e.prototype._insertSampleInOrder=function(e,t){var r=e.length;if(r>0){if(t.pts>=e[r-1].pts)e.push(t);else for(var n=r-1;n>=0;n--)if(t.pts<e[n].pts){e.splice(n,0,t);break}}else e.push(t)},e.prototype._getLastNalUnit=function(){var e,t=this.avcSample;if(!t||0===t.units.length){var r=this._avcTrack.samples;t=r[r.length-1]}if(t){var n=t.units;e=n[n.length-1]}return e},e.prototype._parseAVCNALu=function(e){var t,r,n,i,o=0,a=e.byteLength,s=this._avcTrack,l=s.naluState||0,u=l,c=[],d=-1;for(-1===l&&(d=0,i=31&e[0],l=0,o=1);o<a;)if(t=e[o++],l)if(1!==l)if(t)if(1===t){var f,h;d>=0?(n={data:e.subarray(d,o-l-1),type:i},c.push(n)):(f=this._getLastNalUnit())&&(u&&o<=4-u&&f.state&&(f.data=f.data.subarray(0,f.data.byteLength-u)),(r=o-l-1)>0&&((h=new Uint8Array(f.data.byteLength+r)).set(f.data,0),h.set(e.subarray(0,r),f.data.byteLength),f.data=h)),o<a?(d=o,i=31&e[o],l=0):l=-1}else l=0;else l=3;else l=t?0:2;else l=t?0:1;return d>=0&&l>=0&&(n={data:e.subarray(d,a),type:i,state:l},c.push(n)),0===c.length&&(f=this._getLastNalUnit())&&((h=new Uint8Array(f.data.byteLength+e.byteLength)).set(f.data,0),h.set(e,f.data.byteLength),f.data=h),s.naluState=l,c},e.prototype.discardEPB=function(e){for(var t,r,n=e.byteLength,i=[],o=1;o<n-2;)0===e[o]&&0===e[o+1]&&3===e[o+2]?(i.push(o+2),o+=2):o++;if(0===i.length)return e;t=n-i.length,r=new Uint8Array(t);var a=0;for(o=0;o<t;a++,o++)a===i[0]&&(a++,i.shift()),r[o]=e[a];return r},e.prototype._parseAACPES=function(e){var t,r,i,a,s,c=this._audioTrack,d=e.data,f=e.pts,h=this.aacOverFlow,p=this.aacLastPTS;if(h){var m=new Uint8Array(h.byteLength+d.byteLength);m.set(h,0),m.set(d,h.byteLength),d=m}for(i=0,s=d.length;i<s-1&&!n.isHeader(d,i);i++);if(i){var g=void 0,y=void 0;if(i<s-1?(g="AAC PES did not start with ADTS header,offset:"+i,y=!1):(g="no ADTS header found in AAC PES",y=!0),l.logger.warn("parsing error:"+g),this.observer.trigger(o.default.ERROR,{type:u.ErrorTypes.MEDIA_ERROR,details:u.ErrorDetails.FRAG_PARSING_ERROR,fatal:y,reason:g}),y)return}if(n.initTrackConfig(c,this.observer,d,i,this.audioCodec),r=0,t=n.getFrameDuration(c.samplerate),h&&p){var v=p+t;Math.abs(v-f)>1&&(l.logger.log("AAC: align PTS for overlapping frames by "+Math.round((v-f)/90)),f=v)}for(;i<s;)if(n.isHeader(d,i)&&i+5<s){var b=n.appendFrame(c,d,i,f,r);if(!b)break;i+=b.length,a=b.sample.pts,r++}else i++;h=i<s?d.subarray(i,s):null,this.aacOverFlow=h,this.aacLastPTS=a},e.prototype._parseMPEGPES=function(e){for(var t=e.data,r=t.length,n=0,o=0,a=e.pts;o<r;)if(i.default.isHeader(t,o)){var s=i.default.appendFrame(this._audioTrack,t,o,a,n);if(!s)break;o+=s.length,n++}else o++},e.prototype._parseID3PES=function(e){this._id3Track.samples.push(e)},e}();t.default=d},"./src/errors.js":
/*!***********************!*\
!*** ./src/errors.js ***!
\***********************/
@@ -721,7 +721,7 @@
!*** ./src/hls.js ***!
\********************/
/*! no static exports found */
-/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(/*! url-toolkit */"./node_modules/url-toolkit/src/url-toolkit.js"),a=r(/*! ./errors */"./src/errors.js"),s=r(/*! ./loader/playlist-loader */"./src/loader/playlist-loader.js"),l=r(/*! ./loader/fragment-loader */"./src/loader/fragment-loader.js"),u=r(/*! ./loader/key-loader */"./src/loader/key-loader.js"),c=r(/*! ./controller/fragment-tracker */"./src/controller/fragment-tracker.js"),d=r(/*! ./controller/stream-controller */"./src/controller/stream-controller.js"),f=r(/*! ./controller/level-controller */"./src/controller/level-controller.js"),h=r(/*! ./controller/id3-track-controller */"./src/controller/id3-track-controller.js"),p=r(/*! ./is-supported */"./src/is-supported.js"),m=r(/*! ./utils/logger */"./src/utils/logger.js"),g=r(/*! ./config */"./src/config.js"),y=r(/*! ./events */"./src/events.js"),v=function(e){function t(r){void 0===r&&(r={});var n=e.call(this)||this,i=t.DefaultConfig;if((r.liveSyncDurationCount||r.liveMaxLatencyDurationCount)&&(r.liveSyncDuration||r.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var o in i)o in r||(r[o]=i[o]);if(void 0!==r.liveMaxLatencyDurationCount&&r.liveMaxLatencyDurationCount<=r.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==r.liveMaxLatencyDuration&&(r.liveMaxLatencyDuration<=r.liveSyncDuration||void 0===r.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');m.enableLogs(r.debug),n.config=r,n._autoLevelCapping=-1;var a=n.abrController=new r.abrController(n),p=new r.bufferController(n),g=new r.capLevelController(n),y=new r.fpsController(n),v=new s.default(n),b=new l.default(n),_=new u.default(n),A=new h.default(n),E=n.levelController=new f.default(n),T=new c.FragmentTracker(n),S=[E,n.streamController=new d.default(n,T)],w=r.audioStreamController;w&&S.push(new w(n,T)),n.networkControllers=S;var k=[v,b,_,a,p,g,y,A,T];if(w=r.audioTrackController){var x=new w(n);n.audioTrackController=x,k.push(x)}if(w=r.subtitleTrackController){var C=new w(n);n.subtitleTrackController=C,k.push(C)}if(w=r.emeController){var R=new w(n);n.emeController=R,k.push(R)}return(w=r.subtitleStreamController)&&k.push(new w(n,T)),(w=r.timelineController)&&k.push(new w(n)),n.coreComponents=k,n}return i(t,e),Object.defineProperty(t,"version",{get:function(){return"0.12.2"},enumerable:!0,configurable:!0}),t.isSupported=function(){return p.isSupported()},Object.defineProperty(t,"Events",{get:function(){return y.default},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorTypes",{get:function(){return a.ErrorTypes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorDetails",{get:function(){return a.ErrorDetails},enumerable:!0,configurable:!0}),Object.defineProperty(t,"DefaultConfig",{get:function(){return t.defaultConfig?t.defaultConfig:g.hlsDefaultConfig},set:function(e){t.defaultConfig=e},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){m.logger.log("destroy"),this.trigger(y.default.DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach((function(e){e.destroy()})),this.url=null,this.removeAllListeners(),this._autoLevelCapping=-1},t.prototype.attachMedia=function(e){m.logger.log("attachMedia"),this.media=e,this.trigger(y.default.MEDIA_ATTACHING,{media:e})},t.prototype.detachMedia=function(){m.logger.log("detachMedia"),this.trigger(y.default.MEDIA_DETACHING),this.media=null},t.prototype.loadSource=function(e){e=o.buildAbsoluteURL(window.location.href,e,{alwaysNormalize:!0}),m.logger.log("loadSource:"+e),this.url=e,this.trigger(y.default.MANIFEST_LOADING,{url:e})},t.prototype.startLoad=function(e){void 0===e&&(e=-1),m.logger.log("startLoad("+e+")"),this.networkControllers.forEach((function(t){t.startLoad(e)}))},t.prototype.stopLoad=function(){m.logger.log("stopLoad"),this.networkControllers.forEach((function(e){e.stopLoad()}))},t.prototype.swapAudioCodec=function(){m.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()},t.prototype.recoverMediaError=function(){m.logger.log("recoverMediaError");var e=this.media;this.detachMedia(),this.attachMedia(e)},Object.defineProperty(t.prototype,"levels",{get:function(){return this.levelController.levels},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLevel",{get:function(){return this.streamController.currentLevel},set:function(e){m.logger.log("set currentLevel:"+e),this.loadLevel=e,this.streamController.immediateLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLevel",{get:function(){return this.streamController.nextLevel},set:function(e){m.logger.log("set nextLevel:"+e),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loadLevel",{get:function(){return this.levelController.level},set:function(e){m.logger.log("set loadLevel:"+e),this.levelController.manualLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLoadLevel",{get:function(){return this.levelController.nextLoadLevel},set:function(e){this.levelController.nextLoadLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstLevel",{get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(e){m.logger.log("set firstLevel:"+e),this.levelController.firstLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startLevel",{get:function(){return this.levelController.startLevel},set:function(e){m.logger.log("set startLevel:"+e),-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelCapping",{get:function(){return this._autoLevelCapping},set:function(e){m.logger.log("set autoLevelCapping:"+e),this._autoLevelCapping=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelEnabled",{get:function(){return-1===this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"manualLevel",{get:function(){return this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minAutoLevel",{get:function(){for(var e=this.levels,t=this.config.minAutoBitrate,r=e?e.length:0,n=0;n<r;n++)if((e[n].realBitrate?Math.max(e[n].realBitrate,e[n].bitrate):e[n].bitrate)>t)return n;return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxAutoLevel",{get:function(){var e=this.levels,t=this.autoLevelCapping;return-1===t&&e&&e.length?e.length-1:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextAutoLevel",{get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(e){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTracks",{get:function(){var e=this.audioTrackController;return e?e.audioTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTrack",{get:function(){var e=this.audioTrackController;return e?e.audioTrack:-1},set:function(e){var t=this.audioTrackController;t&&(t.audioTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveSyncPosition",{get:function(){return this.streamController.liveSyncPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTracks",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTrack",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTrack:-1},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleDisplay",{get:function(){var e=this.subtitleTrackController;return!!e&&e.subtitleDisplay},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)},enumerable:!0,configurable:!0}),t}(r(/*! ./observer */"./src/observer.js").Observer);t.default=v},"./src/is-supported.js":
+/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=r(/*! url-toolkit */"./node_modules/url-toolkit/src/url-toolkit.js"),a=r(/*! ./errors */"./src/errors.js"),s=r(/*! ./loader/playlist-loader */"./src/loader/playlist-loader.js"),l=r(/*! ./loader/fragment-loader */"./src/loader/fragment-loader.js"),u=r(/*! ./loader/key-loader */"./src/loader/key-loader.js"),c=r(/*! ./controller/fragment-tracker */"./src/controller/fragment-tracker.js"),d=r(/*! ./controller/stream-controller */"./src/controller/stream-controller.js"),f=r(/*! ./controller/level-controller */"./src/controller/level-controller.js"),h=r(/*! ./controller/id3-track-controller */"./src/controller/id3-track-controller.js"),p=r(/*! ./is-supported */"./src/is-supported.js"),m=r(/*! ./utils/logger */"./src/utils/logger.js"),g=r(/*! ./config */"./src/config.js"),y=r(/*! ./events */"./src/events.js"),v=function(e){function t(r){void 0===r&&(r={});var n=e.call(this)||this,i=t.DefaultConfig;if((r.liveSyncDurationCount||r.liveMaxLatencyDurationCount)&&(r.liveSyncDuration||r.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var o in i)o in r||(r[o]=i[o]);if(void 0!==r.liveMaxLatencyDurationCount&&r.liveMaxLatencyDurationCount<=r.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==r.liveMaxLatencyDuration&&(r.liveMaxLatencyDuration<=r.liveSyncDuration||void 0===r.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');m.enableLogs(r.debug),n.config=r,n._autoLevelCapping=-1;var a=n.abrController=new r.abrController(n),p=new r.bufferController(n),g=new r.capLevelController(n),y=new r.fpsController(n),v=new s.default(n),b=new l.default(n),_=new u.default(n),A=new h.default(n),E=n.levelController=new f.default(n),T=new c.FragmentTracker(n),S=[E,n.streamController=new d.default(n,T)],w=r.audioStreamController;w&&S.push(new w(n,T)),n.networkControllers=S;var k=[v,b,_,a,p,g,y,A,T];if(w=r.audioTrackController){var C=new w(n);n.audioTrackController=C,k.push(C)}if(w=r.subtitleTrackController){var x=new w(n);n.subtitleTrackController=x,k.push(x)}if(w=r.emeController){var R=new w(n);n.emeController=R,k.push(R)}return(w=r.subtitleStreamController)&&k.push(new w(n,T)),(w=r.timelineController)&&k.push(new w(n)),n.coreComponents=k,n}return i(t,e),Object.defineProperty(t,"version",{get:function(){return"0.12.2"},enumerable:!0,configurable:!0}),t.isSupported=function(){return p.isSupported()},Object.defineProperty(t,"Events",{get:function(){return y.default},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorTypes",{get:function(){return a.ErrorTypes},enumerable:!0,configurable:!0}),Object.defineProperty(t,"ErrorDetails",{get:function(){return a.ErrorDetails},enumerable:!0,configurable:!0}),Object.defineProperty(t,"DefaultConfig",{get:function(){return t.defaultConfig?t.defaultConfig:g.hlsDefaultConfig},set:function(e){t.defaultConfig=e},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){m.logger.log("destroy"),this.trigger(y.default.DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach((function(e){e.destroy()})),this.url=null,this.removeAllListeners(),this._autoLevelCapping=-1},t.prototype.attachMedia=function(e){m.logger.log("attachMedia"),this.media=e,this.trigger(y.default.MEDIA_ATTACHING,{media:e})},t.prototype.detachMedia=function(){m.logger.log("detachMedia"),this.trigger(y.default.MEDIA_DETACHING),this.media=null},t.prototype.loadSource=function(e){e=o.buildAbsoluteURL(window.location.href,e,{alwaysNormalize:!0}),m.logger.log("loadSource:"+e),this.url=e,this.trigger(y.default.MANIFEST_LOADING,{url:e})},t.prototype.startLoad=function(e){void 0===e&&(e=-1),m.logger.log("startLoad("+e+")"),this.networkControllers.forEach((function(t){t.startLoad(e)}))},t.prototype.stopLoad=function(){m.logger.log("stopLoad"),this.networkControllers.forEach((function(e){e.stopLoad()}))},t.prototype.swapAudioCodec=function(){m.logger.log("swapAudioCodec"),this.streamController.swapAudioCodec()},t.prototype.recoverMediaError=function(){m.logger.log("recoverMediaError");var e=this.media;this.detachMedia(),this.attachMedia(e)},Object.defineProperty(t.prototype,"levels",{get:function(){return this.levelController.levels},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentLevel",{get:function(){return this.streamController.currentLevel},set:function(e){m.logger.log("set currentLevel:"+e),this.loadLevel=e,this.streamController.immediateLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLevel",{get:function(){return this.streamController.nextLevel},set:function(e){m.logger.log("set nextLevel:"+e),this.levelController.manualLevel=e,this.streamController.nextLevelSwitch()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"loadLevel",{get:function(){return this.levelController.level},set:function(e){m.logger.log("set loadLevel:"+e),this.levelController.manualLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextLoadLevel",{get:function(){return this.levelController.nextLoadLevel},set:function(e){this.levelController.nextLoadLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"firstLevel",{get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(e){m.logger.log("set firstLevel:"+e),this.levelController.firstLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"startLevel",{get:function(){return this.levelController.startLevel},set:function(e){m.logger.log("set startLevel:"+e),-1!==e&&(e=Math.max(e,this.minAutoLevel)),this.levelController.startLevel=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelCapping",{get:function(){return this._autoLevelCapping},set:function(e){m.logger.log("set autoLevelCapping:"+e),this._autoLevelCapping=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"autoLevelEnabled",{get:function(){return-1===this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"manualLevel",{get:function(){return this.levelController.manualLevel},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"minAutoLevel",{get:function(){for(var e=this.levels,t=this.config.minAutoBitrate,r=e?e.length:0,n=0;n<r;n++)if((e[n].realBitrate?Math.max(e[n].realBitrate,e[n].bitrate):e[n].bitrate)>t)return n;return 0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"maxAutoLevel",{get:function(){var e=this.levels,t=this.autoLevelCapping;return-1===t&&e&&e.length?e.length-1:t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"nextAutoLevel",{get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(e){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTracks",{get:function(){var e=this.audioTrackController;return e?e.audioTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"audioTrack",{get:function(){var e=this.audioTrackController;return e?e.audioTrack:-1},set:function(e){var t=this.audioTrackController;t&&(t.audioTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"liveSyncPosition",{get:function(){return this.streamController.liveSyncPosition},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTracks",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTracks:[]},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleTrack",{get:function(){var e=this.subtitleTrackController;return e?e.subtitleTrack:-1},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleTrack=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"subtitleDisplay",{get:function(){var e=this.subtitleTrackController;return!!e&&e.subtitleDisplay},set:function(e){var t=this.subtitleTrackController;t&&(t.subtitleDisplay=e)},enumerable:!0,configurable:!0}),t}(r(/*! ./observer */"./src/observer.js").Observer);t.default=v},"./src/is-supported.js":
/*!*****************************!*\
!*** ./src/is-supported.js ***!
\*****************************/
@@ -756,7 +756,7 @@
!*** ./src/loader/m3u8-parser.js ***!
\***********************************/
/*! no static exports found */
-/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r(/*! url-toolkit */"./node_modules/url-toolkit/src/url-toolkit.js"),i=r(/*! ./fragment */"./src/loader/fragment.js"),o=r(/*! ./level */"./src/loader/level.js"),a=r(/*! ./level-key */"./src/loader/level-key.js"),s=r(/*! ../utils/attr-list */"./src/utils/attr-list.js"),l=r(/*! ../utils/logger */"./src/utils/logger.js"),u=r(/*! ../utils/codecs */"./src/utils/codecs.js"),c=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,d=/#EXT-X-MEDIA:(.*)/g,f=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)([\S+ ?]+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),h=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,p=/\.(mp4|m4s|m4v|m4a)$/i,m=function(){function t(){}return t.findGroup=function(e,t){if(!e)return null;for(var r=null,n=0;n<e.length;n++){var i=e[n];i.id===t&&(r=i)}return r},t.convertAVC1ToAVCOTI=function(e){var t,r=e.split(".");return r.length>2?(t=r.shift()+".",t+=parseInt(r.shift()).toString(16),t+=("000"+parseInt(r.shift()).toString(16)).substr(-4)):t=e,t},t.resolve=function(e,t){return n.buildAbsoluteURL(t,e,{alwaysNormalize:!0})},t.parseMasterPlaylist=function(e,r){var n,i=[];function o(e,t){["video","audio"].forEach((function(r){var n=e.filter((function(e){return u.isCodecType(e,r)}));if(n.length){var i=n.filter((function(e){return 0===e.lastIndexOf("avc1",0)||0===e.lastIndexOf("mp4a",0)}));t[r+"Codec"]=i.length>0?i[0]:n[0],e=e.filter((function(e){return-1===n.indexOf(e)}))}})),t.unknownCodecs=e}for(c.lastIndex=0;null!=(n=c.exec(e));){var a={},l=a.attrs=new s.default(n[1]);a.url=t.resolve(n[2],r);var d=l.decimalResolution("RESOLUTION");d&&(a.width=d.width,a.height=d.height),a.bitrate=l.decimalInteger("AVERAGE-BANDWIDTH")||l.decimalInteger("BANDWIDTH"),a.name=l.NAME,o([].concat((l.CODECS||"").split(/[ ,]+/)),a),a.videoCodec&&-1!==a.videoCodec.indexOf("avc1")&&(a.videoCodec=t.convertAVC1ToAVCOTI(a.videoCodec)),i.push(a)}return i},t.parseMasterPlaylistMedia=function(e,r,n,i){var o;void 0===i&&(i=[]);var a=[],l=0;for(d.lastIndex=0;null!==(o=d.exec(e));){var u={},c=new s.default(o[1]);if(c.TYPE===n){if(u.groupId=c["GROUP-ID"],u.name=c.NAME,u.type=n,u.default="YES"===c.DEFAULT,u.autoselect="YES"===c.AUTOSELECT,u.forced="YES"===c.FORCED,c.URI&&(u.url=t.resolve(c.URI,r)),u.lang=c.LANGUAGE,u.name||(u.name=u.lang),i.length){var f=t.findGroup(i,u.groupId);u.audioCodec=f?f.codec:i[0].codec}u.id=l++,a.push(u)}}return a},t.parseLevelPlaylist=function(t,r,n,u,c){var d,m,y=0,v=0,b=new o.default(r),_=new a.default,A=0,E=null,T=new i.default,S=null;for(f.lastIndex=0;null!==(d=f.exec(t));){var w=d[1];if(w){T.duration=parseFloat(w);var k=(" "+d[2]).slice(1);T.title=k||null,T.tagList.push(k?["INF",w,k]:["INF",w])}else if(d[3]){if(e.isFinite(T.duration)){var x=y++;T.type=u,T.start=v,T.levelkey=_,T.sn=x,T.level=n,T.cc=A,T.urlId=c,T.baseurl=r,T.relurl=(" "+d[3]).slice(1),g(T,E),b.fragments.push(T),E=T,v+=T.duration,T=new i.default}}else if(d[4]){if(T.rawByteRange=(" "+d[4]).slice(1),E){var C=E.byteRangeEndOffset;C&&(T.lastByteRangeEndOffset=C)}}else if(d[5])T.rawProgramDateTime=(" "+d[5]).slice(1),T.tagList.push(["PROGRAM-DATE-TIME",T.rawProgramDateTime]),null===S&&(S=b.fragments.length);else{for(d=d[0].match(h),m=1;m<d.length&&void 0===d[m];m++);var R=(" "+d[m+1]).slice(1),L=(" "+d[m+2]).slice(1);switch(d[m]){case"#":T.tagList.push(L?[R,L]:[R]);break;case"PLAYLIST-TYPE":b.type=R.toUpperCase();break;case"MEDIA-SEQUENCE":y=b.startSN=parseInt(R);break;case"TARGETDURATION":b.targetduration=parseFloat(R);break;case"VERSION":b.version=parseInt(R);break;case"EXTM3U":break;case"ENDLIST":b.live=!1;break;case"DIS":A++,T.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":A=parseInt(R);break;case"KEY":var j=R,P=new s.default(j),I=P.enumeratedString("METHOD"),O=P.URI,D=P.hexadecimalInteger("IV");I&&(_=new a.default,O&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(I)>=0&&(_.method=I,_.baseuri=r,_.reluri=O,_.key=null,_.iv=D));break;case"START":var M=R,N=new s.default(M).decimalFloatingPoint("TIME-OFFSET");e.isFinite(N)&&(b.startTimeOffset=N);break;case"MAP":var U=new s.default(R);T.relurl=U.URI,T.rawByteRange=U.BYTERANGE,T.baseurl=r,T.level=n,T.type=u,T.sn="initSegment",b.initSegment=T,(T=new i.default).rawProgramDateTime=b.initSegment.rawProgramDateTime;break;default:l.logger.warn("line parsed but not handled: "+d)}}}return(T=E)&&!T.relurl&&(b.fragments.pop(),v-=T.duration),b.totalduration=v,b.averagetargetduration=v/b.fragments.length,b.endSN=y-1,b.startCC=b.fragments[0]?b.fragments[0].cc:0,b.endCC=A,!b.initSegment&&b.fragments.length&&b.fragments.every((function(e){return p.test(e.relurl)}))&&(l.logger.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),(T=new i.default).relurl=b.fragments[0].relurl,T.baseurl=r,T.level=n,T.type=u,T.sn="initSegment",b.initSegment=T,b.needSidxRanges=!0),S&&function(e,t){for(var r=e[t],n=t-1;n>=0;n--){var i=e[n];i.programDateTime=r.programDateTime-1e3*i.duration,r=i}}(b.fragments,S),b},t}();function g(t,r){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):r&&r.programDateTime&&(t.programDateTime=r.endProgramDateTime),e.isFinite(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}t.default=m}).call(this,r(/*! ./src/polyfills/number */"./src/polyfills/number.js").Number)},"./src/loader/playlist-loader.js":
+/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var n=r(/*! url-toolkit */"./node_modules/url-toolkit/src/url-toolkit.js"),i=r(/*! ./fragment */"./src/loader/fragment.js"),o=r(/*! ./level */"./src/loader/level.js"),a=r(/*! ./level-key */"./src/loader/level-key.js"),s=r(/*! ../utils/attr-list */"./src/utils/attr-list.js"),l=r(/*! ../utils/logger */"./src/utils/logger.js"),u=r(/*! ../utils/codecs */"./src/utils/codecs.js"),c=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,d=/#EXT-X-MEDIA:(.*)/g,f=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)([\S+ ?]+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),h=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,p=/\.(mp4|m4s|m4v|m4a)$/i,m=function(){function t(){}return t.findGroup=function(e,t){if(!e)return null;for(var r=null,n=0;n<e.length;n++){var i=e[n];i.id===t&&(r=i)}return r},t.convertAVC1ToAVCOTI=function(e){var t,r=e.split(".");return r.length>2?(t=r.shift()+".",t+=parseInt(r.shift()).toString(16),t+=("000"+parseInt(r.shift()).toString(16)).substr(-4)):t=e,t},t.resolve=function(e,t){return n.buildAbsoluteURL(t,e,{alwaysNormalize:!0})},t.parseMasterPlaylist=function(e,r){var n,i=[];function o(e,t){["video","audio"].forEach((function(r){var n=e.filter((function(e){return u.isCodecType(e,r)}));if(n.length){var i=n.filter((function(e){return 0===e.lastIndexOf("avc1",0)||0===e.lastIndexOf("mp4a",0)}));t[r+"Codec"]=i.length>0?i[0]:n[0],e=e.filter((function(e){return-1===n.indexOf(e)}))}})),t.unknownCodecs=e}for(c.lastIndex=0;null!=(n=c.exec(e));){var a={},l=a.attrs=new s.default(n[1]);a.url=t.resolve(n[2],r);var d=l.decimalResolution("RESOLUTION");d&&(a.width=d.width,a.height=d.height),a.bitrate=l.decimalInteger("AVERAGE-BANDWIDTH")||l.decimalInteger("BANDWIDTH"),a.name=l.NAME,o([].concat((l.CODECS||"").split(/[ ,]+/)),a),a.videoCodec&&-1!==a.videoCodec.indexOf("avc1")&&(a.videoCodec=t.convertAVC1ToAVCOTI(a.videoCodec)),i.push(a)}return i},t.parseMasterPlaylistMedia=function(e,r,n,i){var o;void 0===i&&(i=[]);var a=[],l=0;for(d.lastIndex=0;null!==(o=d.exec(e));){var u={},c=new s.default(o[1]);if(c.TYPE===n){if(u.groupId=c["GROUP-ID"],u.name=c.NAME,u.type=n,u.default="YES"===c.DEFAULT,u.autoselect="YES"===c.AUTOSELECT,u.forced="YES"===c.FORCED,c.URI&&(u.url=t.resolve(c.URI,r)),u.lang=c.LANGUAGE,u.name||(u.name=u.lang),i.length){var f=t.findGroup(i,u.groupId);u.audioCodec=f?f.codec:i[0].codec}u.id=l++,a.push(u)}}return a},t.parseLevelPlaylist=function(t,r,n,u,c){var d,m,y=0,v=0,b=new o.default(r),_=new a.default,A=0,E=null,T=new i.default,S=null;for(f.lastIndex=0;null!==(d=f.exec(t));){var w=d[1];if(w){T.duration=parseFloat(w);var k=(" "+d[2]).slice(1);T.title=k||null,T.tagList.push(k?["INF",w,k]:["INF",w])}else if(d[3]){if(e.isFinite(T.duration)){var C=y++;T.type=u,T.start=v,T.levelkey=_,T.sn=C,T.level=n,T.cc=A,T.urlId=c,T.baseurl=r,T.relurl=(" "+d[3]).slice(1),g(T,E),b.fragments.push(T),E=T,v+=T.duration,T=new i.default}}else if(d[4]){if(T.rawByteRange=(" "+d[4]).slice(1),E){var x=E.byteRangeEndOffset;x&&(T.lastByteRangeEndOffset=x)}}else if(d[5])T.rawProgramDateTime=(" "+d[5]).slice(1),T.tagList.push(["PROGRAM-DATE-TIME",T.rawProgramDateTime]),null===S&&(S=b.fragments.length);else{for(d=d[0].match(h),m=1;m<d.length&&void 0===d[m];m++);var R=(" "+d[m+1]).slice(1),L=(" "+d[m+2]).slice(1);switch(d[m]){case"#":T.tagList.push(L?[R,L]:[R]);break;case"PLAYLIST-TYPE":b.type=R.toUpperCase();break;case"MEDIA-SEQUENCE":y=b.startSN=parseInt(R);break;case"TARGETDURATION":b.targetduration=parseFloat(R);break;case"VERSION":b.version=parseInt(R);break;case"EXTM3U":break;case"ENDLIST":b.live=!1;break;case"DIS":A++,T.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":A=parseInt(R);break;case"KEY":var j=R,P=new s.default(j),I=P.enumeratedString("METHOD"),O=P.URI,D=P.hexadecimalInteger("IV");I&&(_=new a.default,O&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(I)>=0&&(_.method=I,_.baseuri=r,_.reluri=O,_.key=null,_.iv=D));break;case"START":var M=R,N=new s.default(M).decimalFloatingPoint("TIME-OFFSET");e.isFinite(N)&&(b.startTimeOffset=N);break;case"MAP":var F=new s.default(R);T.relurl=F.URI,T.rawByteRange=F.BYTERANGE,T.baseurl=r,T.level=n,T.type=u,T.sn="initSegment",b.initSegment=T,(T=new i.default).rawProgramDateTime=b.initSegment.rawProgramDateTime;break;default:l.logger.warn("line parsed but not handled: "+d)}}}return(T=E)&&!T.relurl&&(b.fragments.pop(),v-=T.duration),b.totalduration=v,b.averagetargetduration=v/b.fragments.length,b.endSN=y-1,b.startCC=b.fragments[0]?b.fragments[0].cc:0,b.endCC=A,!b.initSegment&&b.fragments.length&&b.fragments.every((function(e){return p.test(e.relurl)}))&&(l.logger.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),(T=new i.default).relurl=b.fragments[0].relurl,T.baseurl=r,T.level=n,T.type=u,T.sn="initSegment",b.initSegment=T,b.needSidxRanges=!0),S&&function(e,t){for(var r=e[t],n=t-1;n>=0;n--){var i=e[n];i.programDateTime=r.programDateTime-1e3*i.duration,r=i}}(b.fragments,S),b},t}();function g(t,r){t.rawProgramDateTime?t.programDateTime=Date.parse(t.rawProgramDateTime):r&&r.programDateTime&&(t.programDateTime=r.endProgramDateTime),e.isFinite(t.programDateTime)||(t.programDateTime=null,t.rawProgramDateTime=null)}t.default=m}).call(this,r(/*! ./src/polyfills/number */"./src/polyfills/number.js").Number)},"./src/loader/playlist-loader.js":
/*!***************************************!*\
!*** ./src/loader/playlist-loader.js ***!
\***************************************/
@@ -786,7 +786,7 @@
!*** ./src/remux/mp4-remuxer.js ***!
\**********************************/
/*! no static exports found */
-/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(/*! ./aac-helper */"./src/remux/aac-helper.js"),i=r(/*! ./mp4-generator */"./src/remux/mp4-generator.js"),o=r(/*! ../events */"./src/events.js"),a=r(/*! ../errors */"./src/errors.js"),s=r(/*! ../utils/logger */"./src/utils/logger.js"),l=function(){function e(e,t,r,n){this.observer=e,this.config=t,this.typeSupported=r;var i=navigator.userAgent;this.isSafari=n&&n.indexOf("Apple")>-1&&i&&!i.match("CriOS"),this.ISGenerated=!1}return e.prototype.destroy=function(){},e.prototype.resetTimeStamp=function(e){this._initPTS=this._initDTS=e},e.prototype.resetInitSegment=function(){this.ISGenerated=!1},e.prototype.remux=function(e,t,r,n,i,a,l){if(this.ISGenerated||this.generateIS(e,t,i),this.ISGenerated){var u=e.samples.length,c=t.samples.length,d=i,f=i;if(u&&c){var h=(e.samples[0].pts-t.samples[0].pts)/t.inputTimeScale;d+=Math.max(0,h),f+=Math.max(0,-h)}if(u){e.timescale||(s.logger.warn("regenerate InitSegment as audio detected"),this.generateIS(e,t,i));var p=this.remuxAudio(e,d,a,l);if(c){var m=void 0;p&&(m=p.endPTS-p.startPTS),t.timescale||(s.logger.warn("regenerate InitSegment as video detected"),this.generateIS(e,t,i)),this.remuxVideo(t,f,a,m,l)}}else if(c){var g=this.remuxVideo(t,f,a,0,l);g&&e.codec&&this.remuxEmptyAudio(e,d,a,g)}}r.samples.length&&this.remuxID3(r,i),n.samples.length&&this.remuxText(n,i),this.observer.trigger(o.default.FRAG_PARSED)},e.prototype.generateIS=function(e,t,r){var n,l,u=this.observer,c=e.samples,d=t.samples,f=this.typeSupported,h="audio/mp4",p={},m={tracks:p},g=void 0===this._initPTS;if(g&&(n=l=1/0),e.config&&c.length&&(e.timescale=e.samplerate,s.logger.log("audio sampling rate : "+e.samplerate),e.isAAC||(f.mpeg?(h="audio/mpeg",e.codec=""):f.mp3&&(e.codec="mp3")),p.audio={container:h,codec:e.codec,initSegment:!e.isAAC&&f.mpeg?new Uint8Array:i.default.initSegment([e]),metadata:{channelCount:e.channelCount}},g&&(n=l=c[0].pts-e.inputTimeScale*r)),t.sps&&t.pps&&d.length){var y=t.inputTimeScale;t.timescale=y,p.video={container:"video/mp4",codec:t.codec,initSegment:i.default.initSegment([t]),metadata:{width:t.width,height:t.height}},g&&(n=Math.min(n,d[0].pts-y*r),l=Math.min(l,d[0].dts-y*r),this.observer.trigger(o.default.INIT_PTS_FOUND,{initPTS:n}))}Object.keys(p).length?(u.trigger(o.default.FRAG_PARSING_INIT_SEGMENT,m),this.ISGenerated=!0,g&&(this._initPTS=n,this._initDTS=l)):u.trigger(o.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})},e.prototype.remuxVideo=function(e,t,r,n,l){var u,c,d,f,h,p,m,g=8,y=e.timescale,v=e.samples,b=[],_=v.length,A=this._PTSNormalize,E=this._initPTS,T=this.nextAvcDts,S=this.isSafari;if(0!==_){S&&(r|=v.length&&T&&(l&&Math.abs(t-T/y)<.1||Math.abs(v[0].pts-T-E)<y/5)),r||(T=t*y),v.forEach((function(e){e.pts=A(e.pts-E,T),e.dts=A(e.dts-E,T)})),v.sort((function(e,t){var r=e.dts-t.dts,n=e.pts-t.pts;return r||n||e.id-t.id}));var w=v.reduce((function(e,t){return Math.max(Math.min(e,t.pts-t.dts),-18e3)}),0);if(w<0){s.logger.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(w/90)+" ms to overcome this issue");for(var k=0;k<v.length;k++)v[k].dts+=w}var x=v[0];h=Math.max(x.dts,0),f=Math.max(x.pts,0);var C=Math.round((h-T)/90);r&&C&&(C>1?s.logger.log("AVC:"+C+" ms hole between fragments detected,filling it"):C<-1&&s.logger.log("AVC:"+-C+" ms overlapping between fragments detected"),h=T,v[0].dts=h,f=Math.max(f-C,T),v[0].pts=f,s.logger.log("Video/PTS/DTS adjusted: "+Math.round(f/90)+"/"+Math.round(h/90)+",delta:"+C+" ms")),x=v[v.length-1],m=Math.max(x.dts,0),p=Math.max(x.pts,0,m),S&&(u=Math.round((m-h)/(v.length-1)));var R=0,L=0;for(k=0;k<_;k++){for(var j=v[k],P=j.units,I=P.length,O=0,D=0;D<I;D++)O+=P[D].data.length;L+=O,R+=I,j.length=O,j.dts=S?h+k*u:Math.max(j.dts,h),j.pts=Math.max(j.pts,j.dts)}var M=L+4*R+8;try{c=new Uint8Array(M)}catch(e){return void this.observer.trigger(o.default.ERROR,{type:a.ErrorTypes.MUX_ERROR,details:a.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:M,reason:"fail allocating video mdat "+M})}var N=new DataView(c.buffer);for(N.setUint32(0,M),c.set(i.default.types.mdat,4),k=0;k<_;k++){var U=v[k],F=U.units,B=0,K=void 0;for(D=0,I=F.length;D<I;D++){var G=F[D],V=G.data,H=G.data.byteLength;N.setUint32(g,H),g+=4,c.set(V,g),g+=H,B+=4+H}if(S)K=Math.max(0,u*Math.round((U.pts-U.dts)/u));else{if(k<_-1)u=v[k+1].dts-U.dts;else{var Y=this.config,z=U.dts-v[k>0?k-1:k].dts;if(Y.stretchShortVideoTrack){var W=Y.maxBufferHole,$=Math.floor(W*y),q=(n?f+n*y:this.nextAudioPts)-U.pts;q>$?((u=q-z)<0&&(u=z),s.logger.log("It is approximately "+q/90+" ms to the next segment; using duration "+u/90+" ms for the last video frame.")):u=z}else u=z}K=Math.round(U.pts-U.dts)}b.push({size:B,duration:u,cts:K,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:U.key?2:1,isNonSync:U.key?0:1}})}this.nextAvcDts=m+u;var X=e.dropped;if(e.len=0,e.nbNalu=0,e.dropped=0,b.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var J=b[0].flags;J.dependsOn=2,J.isNonSync=0}e.samples=b,d=i.default.moof(e.sequenceNumber++,h,e),e.samples=[];var Z={data1:d,data2:c,startPTS:f/y,endPTS:(p+u)/y,startDTS:h/y,endDTS:this.nextAvcDts/y,type:"video",hasAudio:!1,hasVideo:!0,nb:b.length,dropped:X};return this.observer.trigger(o.default.FRAG_PARSING_DATA,Z),Z}},e.prototype.remuxAudio=function(e,t,r,l){var u,c,d,f,h,p,m,g=e.inputTimeScale,y=e.timescale,v=g/y,b=(e.isAAC?1024:1152)*v,_=this._PTSNormalize,A=this._initPTS,E=!e.isAAC&&this.typeSupported.mpeg,T=e.samples,S=[],w=this.nextAudioPts;if(r|=T.length&&w&&(l&&Math.abs(t-w/g)<.1||Math.abs(T[0].pts-w-A)<20*b),T.forEach((function(e){e.pts=e.dts=_(e.pts-A,t*g)})),0!==(T=T.filter((function(e){return e.pts>=0}))).length){if(r||(w=l?t*g:T[0].pts),e.isAAC)for(var k=this.config.maxAudioFramesDrift,x=0,C=w;x<T.length;){var R,L=T[x];R=(U=L.pts)-C;var j=Math.abs(1e3*R/g);if(R<=-k*b)s.logger.warn("Dropping 1 audio frame @ "+(C/g).toFixed(3)+"s due to "+Math.round(j)+" ms overlap."),T.splice(x,1),e.len-=L.unit.length;else if(R>=k*b&&j<1e4&&C){var P=Math.round(R/b);s.logger.warn("Injecting "+P+" audio frame @ "+(C/g).toFixed(3)+"s due to "+Math.round(1e3*R/g)+" ms gap.");for(var I=0;I<P;I++){var O=Math.max(C,0);(d=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(s.logger.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),d=L.unit.subarray()),T.splice(x,0,{unit:d,pts:O,dts:O}),e.len+=d.length,C+=b,x++}L.pts=L.dts=C,C+=b,x++}else Math.abs(R),L.pts=L.dts=C,C+=b,x++}I=0;for(var D=T.length;I<D;I++){var M=T[I],N=M.unit,U=M.pts;if(void 0!==m)c.duration=Math.round((U-m)/v);else{var F=Math.round(1e3*(U-w)/g),B=0;if(r&&e.isAAC&&F){if(F>0&&F<1e4)B=Math.round((U-w)/b),s.logger.log(F+" ms hole between AAC samples detected,filling it"),B>0&&((d=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(d=N.subarray()),e.len+=B*d.length);else if(F<-12){s.logger.log("drop overlapping AAC sample, expected/parsed/delta:"+(w/g).toFixed(3)+"s/"+(U/g).toFixed(3)+"s/"+-F+"ms"),e.len-=N.byteLength;continue}U=w}if(p=U,!(e.len>0))return;var K=E?e.len:e.len+8;u=E?0:8;try{f=new Uint8Array(K)}catch(e){return void this.observer.trigger(o.default.ERROR,{type:a.ErrorTypes.MUX_ERROR,details:a.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:K,reason:"fail allocating audio mdat "+K})}for(E||(new DataView(f.buffer).setUint32(0,K),f.set(i.default.types.mdat,4)),x=0;x<B;x++)(d=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(s.logger.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),d=N.subarray()),f.set(d,u),u+=d.byteLength,c={size:d.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(c)}f.set(N,u);var G=N.byteLength;u+=G,c={size:G,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(c),m=U}var V=0,H=S.length;if(H>=2&&(V=S[H-2].duration,c.duration=V),H){this.nextAudioPts=w=m+v*V,e.len=0,e.samples=S,h=E?new Uint8Array:i.default.moof(e.sequenceNumber++,p/v,e),e.samples=[];var Y=p/g,z=w/g,W={data1:h,data2:f,startPTS:Y,endPTS:z,startDTS:Y,endDTS:z,type:"audio",hasAudio:!0,hasVideo:!1,nb:H};return this.observer.trigger(o.default.FRAG_PARSING_DATA,W),W}return null}},e.prototype.remuxEmptyAudio=function(e,t,r,i){var o=e.inputTimeScale,a=o/(e.samplerate?e.samplerate:o),l=this.nextAudioPts,u=(void 0!==l?l:i.startDTS*o)+this._initDTS,c=i.endDTS*o+this._initDTS,d=1024*a,f=Math.ceil((c-u)/d),h=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(s.logger.warn("remux empty Audio"),h){for(var p=[],m=0;m<f;m++){var g=u+m*d;p.push({unit:h,pts:g,dts:g}),e.len+=h.length}e.samples=p,this.remuxAudio(e,t,r)}else s.logger.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!")},e.prototype.remuxID3=function(e){var t,r=e.samples.length,n=e.inputTimeScale,i=this._initPTS,a=this._initDTS;if(r){for(var s=0;s<r;s++)(t=e.samples[s]).pts=(t.pts-i)/n,t.dts=(t.dts-a)/n;this.observer.trigger(o.default.FRAG_PARSING_METADATA,{samples:e.samples})}e.samples=[]},e.prototype.remuxText=function(e){e.samples.sort((function(e,t){return e.pts-t.pts}));var t,r=e.samples.length,n=e.inputTimeScale,i=this._initPTS;if(r){for(var a=0;a<r;a++)(t=e.samples[a]).pts=(t.pts-i)/n;this.observer.trigger(o.default.FRAG_PARSING_USERDATA,{samples:e.samples})}e.samples=[]},e.prototype._PTSNormalize=function(e,t){var r;if(void 0===t)return e;for(r=t<e?-8589934592:8589934592;Math.abs(e-t)>4294967296;)e+=r;return e},e}();t.default=l},"./src/remux/passthrough-remuxer.js":
+/*! ModuleConcatenation bailout: Module is not an ECMAScript module */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(/*! ./aac-helper */"./src/remux/aac-helper.js"),i=r(/*! ./mp4-generator */"./src/remux/mp4-generator.js"),o=r(/*! ../events */"./src/events.js"),a=r(/*! ../errors */"./src/errors.js"),s=r(/*! ../utils/logger */"./src/utils/logger.js"),l=function(){function e(e,t,r,n){this.observer=e,this.config=t,this.typeSupported=r;var i=navigator.userAgent;this.isSafari=n&&n.indexOf("Apple")>-1&&i&&!i.match("CriOS"),this.ISGenerated=!1}return e.prototype.destroy=function(){},e.prototype.resetTimeStamp=function(e){this._initPTS=this._initDTS=e},e.prototype.resetInitSegment=function(){this.ISGenerated=!1},e.prototype.remux=function(e,t,r,n,i,a,l){if(this.ISGenerated||this.generateIS(e,t,i),this.ISGenerated){var u=e.samples.length,c=t.samples.length,d=i,f=i;if(u&&c){var h=(e.samples[0].pts-t.samples[0].pts)/t.inputTimeScale;d+=Math.max(0,h),f+=Math.max(0,-h)}if(u){e.timescale||(s.logger.warn("regenerate InitSegment as audio detected"),this.generateIS(e,t,i));var p=this.remuxAudio(e,d,a,l);if(c){var m=void 0;p&&(m=p.endPTS-p.startPTS),t.timescale||(s.logger.warn("regenerate InitSegment as video detected"),this.generateIS(e,t,i)),this.remuxVideo(t,f,a,m,l)}}else if(c){var g=this.remuxVideo(t,f,a,0,l);g&&e.codec&&this.remuxEmptyAudio(e,d,a,g)}}r.samples.length&&this.remuxID3(r,i),n.samples.length&&this.remuxText(n,i),this.observer.trigger(o.default.FRAG_PARSED)},e.prototype.generateIS=function(e,t,r){var n,l,u=this.observer,c=e.samples,d=t.samples,f=this.typeSupported,h="audio/mp4",p={},m={tracks:p},g=void 0===this._initPTS;if(g&&(n=l=1/0),e.config&&c.length&&(e.timescale=e.samplerate,s.logger.log("audio sampling rate : "+e.samplerate),e.isAAC||(f.mpeg?(h="audio/mpeg",e.codec=""):f.mp3&&(e.codec="mp3")),p.audio={container:h,codec:e.codec,initSegment:!e.isAAC&&f.mpeg?new Uint8Array:i.default.initSegment([e]),metadata:{channelCount:e.channelCount}},g&&(n=l=c[0].pts-e.inputTimeScale*r)),t.sps&&t.pps&&d.length){var y=t.inputTimeScale;t.timescale=y,p.video={container:"video/mp4",codec:t.codec,initSegment:i.default.initSegment([t]),metadata:{width:t.width,height:t.height}},g&&(n=Math.min(n,d[0].pts-y*r),l=Math.min(l,d[0].dts-y*r),this.observer.trigger(o.default.INIT_PTS_FOUND,{initPTS:n}))}Object.keys(p).length?(u.trigger(o.default.FRAG_PARSING_INIT_SEGMENT,m),this.ISGenerated=!0,g&&(this._initPTS=n,this._initDTS=l)):u.trigger(o.default.ERROR,{type:a.ErrorTypes.MEDIA_ERROR,details:a.ErrorDetails.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})},e.prototype.remuxVideo=function(e,t,r,n,l){var u,c,d,f,h,p,m,g=8,y=e.timescale,v=e.samples,b=[],_=v.length,A=this._PTSNormalize,E=this._initPTS,T=this.nextAvcDts,S=this.isSafari;if(0!==_){S&&(r|=v.length&&T&&(l&&Math.abs(t-T/y)<.1||Math.abs(v[0].pts-T-E)<y/5)),r||(T=t*y),v.forEach((function(e){e.pts=A(e.pts-E,T),e.dts=A(e.dts-E,T)})),v.sort((function(e,t){var r=e.dts-t.dts,n=e.pts-t.pts;return r||n||e.id-t.id}));var w=v.reduce((function(e,t){return Math.max(Math.min(e,t.pts-t.dts),-18e3)}),0);if(w<0){s.logger.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(w/90)+" ms to overcome this issue");for(var k=0;k<v.length;k++)v[k].dts+=w}var C=v[0];h=Math.max(C.dts,0),f=Math.max(C.pts,0);var x=Math.round((h-T)/90);r&&x&&(x>1?s.logger.log("AVC:"+x+" ms hole between fragments detected,filling it"):x<-1&&s.logger.log("AVC:"+-x+" ms overlapping between fragments detected"),h=T,v[0].dts=h,f=Math.max(f-x,T),v[0].pts=f,s.logger.log("Video/PTS/DTS adjusted: "+Math.round(f/90)+"/"+Math.round(h/90)+",delta:"+x+" ms")),C=v[v.length-1],m=Math.max(C.dts,0),p=Math.max(C.pts,0,m),S&&(u=Math.round((m-h)/(v.length-1)));var R=0,L=0;for(k=0;k<_;k++){for(var j=v[k],P=j.units,I=P.length,O=0,D=0;D<I;D++)O+=P[D].data.length;L+=O,R+=I,j.length=O,j.dts=S?h+k*u:Math.max(j.dts,h),j.pts=Math.max(j.pts,j.dts)}var M=L+4*R+8;try{c=new Uint8Array(M)}catch(e){return void this.observer.trigger(o.default.ERROR,{type:a.ErrorTypes.MUX_ERROR,details:a.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:M,reason:"fail allocating video mdat "+M})}var N=new DataView(c.buffer);for(N.setUint32(0,M),c.set(i.default.types.mdat,4),k=0;k<_;k++){var F=v[k],U=F.units,B=0,K=void 0;for(D=0,I=U.length;D<I;D++){var G=U[D],V=G.data,H=G.data.byteLength;N.setUint32(g,H),g+=4,c.set(V,g),g+=H,B+=4+H}if(S)K=Math.max(0,u*Math.round((F.pts-F.dts)/u));else{if(k<_-1)u=v[k+1].dts-F.dts;else{var Y=this.config,z=F.dts-v[k>0?k-1:k].dts;if(Y.stretchShortVideoTrack){var W=Y.maxBufferHole,$=Math.floor(W*y),q=(n?f+n*y:this.nextAudioPts)-F.pts;q>$?((u=q-z)<0&&(u=z),s.logger.log("It is approximately "+q/90+" ms to the next segment; using duration "+u/90+" ms for the last video frame.")):u=z}else u=z}K=Math.round(F.pts-F.dts)}b.push({size:B,duration:u,cts:K,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:F.key?2:1,isNonSync:F.key?0:1}})}this.nextAvcDts=m+u;var X=e.dropped;if(e.len=0,e.nbNalu=0,e.dropped=0,b.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var J=b[0].flags;J.dependsOn=2,J.isNonSync=0}e.samples=b,d=i.default.moof(e.sequenceNumber++,h,e),e.samples=[];var Z={data1:d,data2:c,startPTS:f/y,endPTS:(p+u)/y,startDTS:h/y,endDTS:this.nextAvcDts/y,type:"video",hasAudio:!1,hasVideo:!0,nb:b.length,dropped:X};return this.observer.trigger(o.default.FRAG_PARSING_DATA,Z),Z}},e.prototype.remuxAudio=function(e,t,r,l){var u,c,d,f,h,p,m,g=e.inputTimeScale,y=e.timescale,v=g/y,b=(e.isAAC?1024:1152)*v,_=this._PTSNormalize,A=this._initPTS,E=!e.isAAC&&this.typeSupported.mpeg,T=e.samples,S=[],w=this.nextAudioPts;if(r|=T.length&&w&&(l&&Math.abs(t-w/g)<.1||Math.abs(T[0].pts-w-A)<20*b),T.forEach((function(e){e.pts=e.dts=_(e.pts-A,t*g)})),0!==(T=T.filter((function(e){return e.pts>=0}))).length){if(r||(w=l?t*g:T[0].pts),e.isAAC)for(var k=this.config.maxAudioFramesDrift,C=0,x=w;C<T.length;){var R,L=T[C];R=(F=L.pts)-x;var j=Math.abs(1e3*R/g);if(R<=-k*b)s.logger.warn("Dropping 1 audio frame @ "+(x/g).toFixed(3)+"s due to "+Math.round(j)+" ms overlap."),T.splice(C,1),e.len-=L.unit.length;else if(R>=k*b&&j<1e4&&x){var P=Math.round(R/b);s.logger.warn("Injecting "+P+" audio frame @ "+(x/g).toFixed(3)+"s due to "+Math.round(1e3*R/g)+" ms gap.");for(var I=0;I<P;I++){var O=Math.max(x,0);(d=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(s.logger.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),d=L.unit.subarray()),T.splice(C,0,{unit:d,pts:O,dts:O}),e.len+=d.length,x+=b,C++}L.pts=L.dts=x,x+=b,C++}else Math.abs(R),L.pts=L.dts=x,x+=b,C++}I=0;for(var D=T.length;I<D;I++){var M=T[I],N=M.unit,F=M.pts;if(void 0!==m)c.duration=Math.round((F-m)/v);else{var U=Math.round(1e3*(F-w)/g),B=0;if(r&&e.isAAC&&U){if(U>0&&U<1e4)B=Math.round((F-w)/b),s.logger.log(U+" ms hole between AAC samples detected,filling it"),B>0&&((d=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(d=N.subarray()),e.len+=B*d.length);else if(U<-12){s.logger.log("drop overlapping AAC sample, expected/parsed/delta:"+(w/g).toFixed(3)+"s/"+(F/g).toFixed(3)+"s/"+-U+"ms"),e.len-=N.byteLength;continue}F=w}if(p=F,!(e.len>0))return;var K=E?e.len:e.len+8;u=E?0:8;try{f=new Uint8Array(K)}catch(e){return void this.observer.trigger(o.default.ERROR,{type:a.ErrorTypes.MUX_ERROR,details:a.ErrorDetails.REMUX_ALLOC_ERROR,fatal:!1,bytes:K,reason:"fail allocating audio mdat "+K})}for(E||(new DataView(f.buffer).setUint32(0,K),f.set(i.default.types.mdat,4)),C=0;C<B;C++)(d=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount))||(s.logger.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),d=N.subarray()),f.set(d,u),u+=d.byteLength,c={size:d.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(c)}f.set(N,u);var G=N.byteLength;u+=G,c={size:G,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(c),m=F}var V=0,H=S.length;if(H>=2&&(V=S[H-2].duration,c.duration=V),H){this.nextAudioPts=w=m+v*V,e.len=0,e.samples=S,h=E?new Uint8Array:i.default.moof(e.sequenceNumber++,p/v,e),e.samples=[];var Y=p/g,z=w/g,W={data1:h,data2:f,startPTS:Y,endPTS:z,startDTS:Y,endDTS:z,type:"audio",hasAudio:!0,hasVideo:!1,nb:H};return this.observer.trigger(o.default.FRAG_PARSING_DATA,W),W}return null}},e.prototype.remuxEmptyAudio=function(e,t,r,i){var o=e.inputTimeScale,a=o/(e.samplerate?e.samplerate:o),l=this.nextAudioPts,u=(void 0!==l?l:i.startDTS*o)+this._initDTS,c=i.endDTS*o+this._initDTS,d=1024*a,f=Math.ceil((c-u)/d),h=n.default.getSilentFrame(e.manifestCodec||e.codec,e.channelCount);if(s.logger.warn("remux empty Audio"),h){for(var p=[],m=0;m<f;m++){var g=u+m*d;p.push({unit:h,pts:g,dts:g}),e.len+=h.length}e.samples=p,this.remuxAudio(e,t,r)}else s.logger.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!")},e.prototype.remuxID3=function(e){var t,r=e.samples.length,n=e.inputTimeScale,i=this._initPTS,a=this._initDTS;if(r){for(var s=0;s<r;s++)(t=e.samples[s]).pts=(t.pts-i)/n,t.dts=(t.dts-a)/n;this.observer.trigger(o.default.FRAG_PARSING_METADATA,{samples:e.samples})}e.samples=[]},e.prototype.remuxText=function(e){e.samples.sort((function(e,t){return e.pts-t.pts}));var t,r=e.samples.length,n=e.inputTimeScale,i=this._initPTS;if(r){for(var a=0;a<r;a++)(t=e.samples[a]).pts=(t.pts-i)/n;this.observer.trigger(o.default.FRAG_PARSING_USERDATA,{samples:e.samples})}e.samples=[]},e.prototype._PTSNormalize=function(e,t){var r;if(void 0===t)return e;for(r=t<e?-8589934592:8589934592;Math.abs(e-t)>4294967296;)e+=r;return e},e}();t.default=l},"./src/remux/passthrough-remuxer.js":
/*!******************************************!*\
!*** ./src/remux/passthrough-remuxer.js ***!
\******************************************/
@@ -968,7 +968,7 @@
/*!***************************!*\
!*** ./src/base/utils.js ***!
\***************************/
-/*! no static exports found */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SvgIcons=t.DoubleEventHandler=t.DomRecycler=t.cancelAnimationFrame=t.requestAnimationFrame=t.QueryString=t.Config=t.Fullscreen=void 0;var n=p(r(/*! babel-runtime/core-js/object/assign */"./node_modules/babel-runtime/core-js/object/assign.js")),i=p(r(/*! babel-runtime/helpers/createClass */"./node_modules/babel-runtime/helpers/createClass.js")),o=p(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),a=p(r(/*! babel-runtime/helpers/possibleConstructorReturn */"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js")),s=p(r(/*! babel-runtime/helpers/inherits */"./node_modules/babel-runtime/helpers/inherits.js")),l=p(r(/*! babel-runtime/core-js/object/define-property */"./node_modules/babel-runtime/core-js/object/define-property.js")),u=p(r(/*! babel-runtime/core-js/object/get-own-property-descriptor */"./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js"));t.assign=m,t.extend=g,t.formatTime=y,t.seekStringToSeconds=A,t.uniqueId=T,t.isNumber=S,t.currentScriptUrl=w,t.getBrowserLanguage=C,t.now=R,t.removeArrayItem=L,t.listContainsIgnoreCase=function(e,t){return void 0!==e&&void 0!==t&&void 0!==t.find((function(t){return e.toLowerCase()===t.toLowerCase()}))},t.canAutoPlayMedia=j,r(/*! ./polyfills */"./src/base/polyfills.js");var c=p(r(/*! ../components/browser */"./src/components/browser/index.js")),d=p(r(/*! clappr-zepto */"./node_modules/clappr-zepto/zepto.js")),f=p(r(/*! ./media */"./src/base/media.js")),h=p(r(/*! ./svg_icons */"./src/base/svg_icons.js"));function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(t)for(var r in t){var n=(0,u.default)(t,r);n?(0,l.default)(e,r,n):e[r]=t[r]}return e}function g(e,t){var r=function(e){function r(){(0,o.default)(this,r);for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];var l=(0,a.default)(this,e.call.apply(e,[this].concat(i)));return t.initialize&&t.initialize.apply(l,i),l}return(0,s.default)(r,e),r}(e);return m(r.prototype,t),r}function y(e,t){if(!isFinite(e))return"--:--";e*=1e3;var r=(e=parseInt(e/1e3))%60,n=(e=parseInt(e/60))%60,i=(e=parseInt(e/60))%24,o=parseInt(e/24),a="";return o&&o>0&&(a+=o+":",i<1&&(a+="00:")),(i&&i>0||t)&&(a+=("0"+i).slice(-2)+":"),a+=("0"+n).slice(-2)+":",(a+=("0"+r).slice(-2)).trim()}var v=t.Fullscreen={fullscreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},requestFullscreen:function(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen?e.msRequestFullscreen():e.querySelector&&e.querySelector("video")&&e.querySelector("video").webkitEnterFullScreen?e.querySelector("video").webkitEnterFullScreen():e.webkitEnterFullScreen&&e.webkitEnterFullScreen()},cancelFullscreen:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;e.exitFullscreen?e.exitFullscreen():e.webkitCancelFullScreen?e.webkitCancelFullScreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen()},fullscreenEnabled:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},b=t.Config=function(){function e(){(0,o.default)(this,e)}return e._defaultConfig=function(){return{volume:{value:100,parse:parseInt}}},e._defaultValueFor=function(e){try{return this._defaultConfig()[e].parse(this._defaultConfig()[e].value)}catch(e){return}},e._createKeyspace=function(e){return"clappr."+document.domain+"."+e},e.restore=function(e){return c.default.hasLocalstorage&&localStorage[this._createKeyspace(e)]?this._defaultConfig()[e].parse(localStorage[this._createKeyspace(e)]):this._defaultValueFor(e)},e.persist=function(e,t){if(c.default.hasLocalstorage)try{return localStorage[this._createKeyspace(e)]=t,!0}catch(e){return!1}},e}(),_=t.QueryString=function(){function e(){(0,o.default)(this,e)}return e.parse=function(e){for(var t=void 0,r=/\+/g,n=/([^&=]+)=?([^&]*)/g,i=function(e){return decodeURIComponent(e.replace(r," "))},o={};t=n.exec(e);)o[i(t[1]).toLowerCase()]=i(t[2]);return o},(0,i.default)(e,null,[{key:"params",get:function(){var e=window.location.search.substring(1);return e!==this.query&&(this._urlParams=this.parse(e),this.query=e),this._urlParams}},{key:"hashParams",get:function(){var e=window.location.hash.substring(1);return e!==this.hash&&(this._hashParams=this.parse(e),this.hash=e),this._hashParams}}]),e}();function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"t",t=0,r=_.params[e]||_.hashParams[e]||"",n=r.match(/[0-9]+[hms]+/g)||[];if(n.length>0){var i={h:3600,m:60,s:1};n.forEach((function(e){if(e){var r=e[e.length-1],n=parseInt(e.slice(0,e.length-1),10);t+=n*i[r]}}))}else r&&(t=parseInt(r,10));return t}var E={};function T(e){return E[e]||(E[e]=0),e+ ++E[e]}function S(e){return e-parseFloat(e)+1>=0}function w(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}var k=t.requestAnimationFrame=(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}).bind(window),x=t.cancelAnimationFrame=(window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout).bind(window);function C(){return window.navigator&&window.navigator.language}function R(){return window.performance&&window.performance.now?performance.now():Date.now()}function L(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function j(e,t){var r=(t=(0,n.default)({inline:!1,muted:!1,timeout:250,type:"video",source:f.default.mp4,element:null},t)).element?t.element:document.createElement(t.type);r.muted=t.muted,!0===t.muted&&r.setAttribute("muted","muted"),!0===t.inline&&r.setAttribute("playsinline","playsinline"),r.src=t.source;var i=r.play(),o=setTimeout((function(){a(!1,new Error("Timeout "+t.timeout+" ms has been reached"))}),t.timeout),a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;clearTimeout(o),e(t,r)};void 0!==i?i.then((function(){return a(!0)})).catch((function(e){return a(!1,e)})):a(!0)}var P=[],I=t.DomRecycler=function(){function e(){(0,o.default)(this,e)}return e.configure=function(e){this.options=d.default.extend(this.options,e)},e.create=function(e){return this.options.recycleVideo&&"video"===e&&P.length>0?P.shift():(0,d.default)("<"+e+">")},e.garbage=function(e){this.options.recycleVideo&&"VIDEO"===e[0].tagName.toUpperCase()&&(e.children().remove(),P.push(e))},e}();I.options={recycleVideo:!1};var O=t.DoubleEventHandler=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;(0,o.default)(this,e),this.delay=t,this.lastTime=0}return e.prototype.handle=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=(new Date).getTime(),i=n-this.lastTime;i<this.delay&&i>0&&(t(),r&&e.preventDefault()),this.lastTime=n},e}();t.SvgIcons=h.default,t.default={Config:b,Fullscreen:v,QueryString:_,DomRecycler:I,extend:g,formatTime:y,seekStringToSeconds:A,uniqueId:T,currentScriptUrl:w,isNumber:S,requestAnimationFrame:k,cancelAnimationFrame:x,getBrowserLanguage:C,now:R,removeArrayItem:L,canAutoPlayMedia:j,Media:f.default,DoubleEventHandler:O,SvgIcons:h.default}},"./src/components/browser/browser.js":
+/*! no static exports found */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SvgIcons=t.DoubleEventHandler=t.DomRecycler=t.cancelAnimationFrame=t.requestAnimationFrame=t.QueryString=t.Config=t.Fullscreen=void 0;var n=p(r(/*! babel-runtime/core-js/object/assign */"./node_modules/babel-runtime/core-js/object/assign.js")),i=p(r(/*! babel-runtime/helpers/createClass */"./node_modules/babel-runtime/helpers/createClass.js")),o=p(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),a=p(r(/*! babel-runtime/helpers/possibleConstructorReturn */"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js")),s=p(r(/*! babel-runtime/helpers/inherits */"./node_modules/babel-runtime/helpers/inherits.js")),l=p(r(/*! babel-runtime/core-js/object/define-property */"./node_modules/babel-runtime/core-js/object/define-property.js")),u=p(r(/*! babel-runtime/core-js/object/get-own-property-descriptor */"./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js"));t.assign=m,t.extend=g,t.formatTime=y,t.seekStringToSeconds=A,t.uniqueId=T,t.isNumber=S,t.currentScriptUrl=w,t.getBrowserLanguage=x,t.now=R,t.removeArrayItem=L,t.listContainsIgnoreCase=function(e,t){return void 0!==e&&void 0!==t&&void 0!==t.find((function(t){return e.toLowerCase()===t.toLowerCase()}))},t.canAutoPlayMedia=j,r(/*! ./polyfills */"./src/base/polyfills.js");var c=p(r(/*! ../components/browser */"./src/components/browser/index.js")),d=p(r(/*! clappr-zepto */"./node_modules/clappr-zepto/zepto.js")),f=p(r(/*! ./media */"./src/base/media.js")),h=p(r(/*! ./svg_icons */"./src/base/svg_icons.js"));function p(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(t)for(var r in t){var n=(0,u.default)(t,r);n?(0,l.default)(e,r,n):e[r]=t[r]}return e}function g(e,t){var r=function(e){function r(){(0,o.default)(this,r);for(var n=arguments.length,i=Array(n),s=0;s<n;s++)i[s]=arguments[s];var l=(0,a.default)(this,e.call.apply(e,[this].concat(i)));return t.initialize&&t.initialize.apply(l,i),l}return(0,s.default)(r,e),r}(e);return m(r.prototype,t),r}function y(e,t){if(!isFinite(e))return"--:--";e*=1e3;var r=(e=parseInt(e/1e3))%60,n=(e=parseInt(e/60))%60,i=(e=parseInt(e/60))%24,o=parseInt(e/24),a="";return o&&o>0&&(a+=o+":",i<1&&(a+="00:")),(i&&i>0||t)&&(a+=("0"+i).slice(-2)+":"),a+=("0"+n).slice(-2)+":",(a+=("0"+r).slice(-2)).trim()}var v=t.Fullscreen={fullscreenElement:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement},requestFullscreen:function(e){e.requestFullscreen?e.requestFullscreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.msRequestFullscreen?e.msRequestFullscreen():e.querySelector&&e.querySelector("video")&&e.querySelector("video").webkitEnterFullScreen?e.querySelector("video").webkitEnterFullScreen():e.webkitEnterFullScreen&&e.webkitEnterFullScreen()},cancelFullscreen:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;e.exitFullscreen?e.exitFullscreen():e.webkitCancelFullScreen?e.webkitCancelFullScreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen()},fullscreenEnabled:function(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}},b=t.Config=function(){function e(){(0,o.default)(this,e)}return e._defaultConfig=function(){return{volume:{value:100,parse:parseInt}}},e._defaultValueFor=function(e){try{return this._defaultConfig()[e].parse(this._defaultConfig()[e].value)}catch(e){return}},e._createKeyspace=function(e){return"clappr."+document.domain+"."+e},e.restore=function(e){return c.default.hasLocalstorage&&localStorage[this._createKeyspace(e)]?this._defaultConfig()[e].parse(localStorage[this._createKeyspace(e)]):this._defaultValueFor(e)},e.persist=function(e,t){if(c.default.hasLocalstorage)try{return localStorage[this._createKeyspace(e)]=t,!0}catch(e){return!1}},e}(),_=t.QueryString=function(){function e(){(0,o.default)(this,e)}return e.parse=function(e){for(var t=void 0,r=/\+/g,n=/([^&=]+)=?([^&]*)/g,i=function(e){return decodeURIComponent(e.replace(r," "))},o={};t=n.exec(e);)o[i(t[1]).toLowerCase()]=i(t[2]);return o},(0,i.default)(e,null,[{key:"params",get:function(){var e=window.location.search.substring(1);return e!==this.query&&(this._urlParams=this.parse(e),this.query=e),this._urlParams}},{key:"hashParams",get:function(){var e=window.location.hash.substring(1);return e!==this.hash&&(this._hashParams=this.parse(e),this.hash=e),this._hashParams}}]),e}();function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"t",t=0,r=_.params[e]||_.hashParams[e]||"",n=r.match(/[0-9]+[hms]+/g)||[];if(n.length>0){var i={h:3600,m:60,s:1};n.forEach((function(e){if(e){var r=e[e.length-1],n=parseInt(e.slice(0,e.length-1),10);t+=n*i[r]}}))}else r&&(t=parseInt(r,10));return t}var E={};function T(e){return E[e]||(E[e]=0),e+ ++E[e]}function S(e){return e-parseFloat(e)+1>=0}function w(){var e=document.getElementsByTagName("script");return e.length?e[e.length-1].src:""}var k=t.requestAnimationFrame=(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}).bind(window),C=t.cancelAnimationFrame=(window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.clearTimeout).bind(window);function x(){return window.navigator&&window.navigator.language}function R(){return window.performance&&window.performance.now?performance.now():Date.now()}function L(e,t){var r=e.indexOf(t);r>=0&&e.splice(r,1)}function j(e,t){var r=(t=(0,n.default)({inline:!1,muted:!1,timeout:250,type:"video",source:f.default.mp4,element:null},t)).element?t.element:document.createElement(t.type);r.muted=t.muted,!0===t.muted&&r.setAttribute("muted","muted"),!0===t.inline&&r.setAttribute("playsinline","playsinline"),r.src=t.source;var i=r.play(),o=setTimeout((function(){a(!1,new Error("Timeout "+t.timeout+" ms has been reached"))}),t.timeout),a=function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;clearTimeout(o),e(t,r)};void 0!==i?i.then((function(){return a(!0)})).catch((function(e){return a(!1,e)})):a(!0)}var P=[],I=t.DomRecycler=function(){function e(){(0,o.default)(this,e)}return e.configure=function(e){this.options=d.default.extend(this.options,e)},e.create=function(e){return this.options.recycleVideo&&"video"===e&&P.length>0?P.shift():(0,d.default)("<"+e+">")},e.garbage=function(e){this.options.recycleVideo&&"VIDEO"===e[0].tagName.toUpperCase()&&(e.children().remove(),P.push(e))},e}();I.options={recycleVideo:!1};var O=t.DoubleEventHandler=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:500;(0,o.default)(this,e),this.delay=t,this.lastTime=0}return e.prototype.handle=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=(new Date).getTime(),i=n-this.lastTime;i<this.delay&&i>0&&(t(),r&&e.preventDefault()),this.lastTime=n},e}();t.SvgIcons=h.default,t.default={Config:b,Fullscreen:v,QueryString:_,DomRecycler:I,extend:g,formatTime:y,seekStringToSeconds:A,uniqueId:T,currentScriptUrl:w,isNumber:S,requestAnimationFrame:k,cancelAnimationFrame:C,getBrowserLanguage:x,now:R,removeArrayItem:L,canAutoPlayMedia:j,Media:f.default,DoubleEventHandler:O,SvgIcons:h.default}},"./src/components/browser/browser.js":
/*!*******************************************!*\
!*** ./src/components/browser/browser.js ***!
\*******************************************/
@@ -1048,7 +1048,7 @@
/*!*****************************************!*\
!*** ./src/components/loader/loader.js ***!
\*****************************************/
-/*! no static exports found */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=P(r(/*! babel-runtime/core-js/object/create */"./node_modules/babel-runtime/core-js/object/create.js")),i=P(r(/*! babel-runtime/helpers/toConsumableArray */"./node_modules/babel-runtime/helpers/toConsumableArray.js")),o=P(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),a=P(r(/*! babel-runtime/helpers/possibleConstructorReturn */"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js")),s=P(r(/*! babel-runtime/helpers/inherits */"./node_modules/babel-runtime/helpers/inherits.js")),l=P(r(/*! ../../base/base_object */"./src/base/base_object.js")),u=P(r(/*! ../player_info */"./src/components/player_info.js")),c=P(r(/*! ../../playbacks/html5_video */"./src/playbacks/html5_video/index.js")),d=P(r(/*! ../../playbacks/flash */"./src/playbacks/flash/index.js")),f=P(r(/*! ../../playbacks/html5_audio */"./src/playbacks/html5_audio/index.js")),h=P(r(/*! ../../playbacks/flashls */"./src/playbacks/flashls/index.js")),p=P(r(/*! ../../playbacks/hls */"./src/playbacks/hls/index.js")),m=P(r(/*! ../../playbacks/html_img */"./src/playbacks/html_img/index.js")),g=P(r(/*! ../../playbacks/no_op */"./src/playbacks/no_op/index.js")),y=P(r(/*! ../../plugins/spinner_three_bounce */"./src/plugins/spinner_three_bounce/index.js")),v=P(r(/*! ../../plugins/stats */"./src/plugins/stats/index.js")),b=P(r(/*! ../../plugins/watermark */"./src/plugins/watermark/index.js")),_=P(r(/*! ../../plugins/poster */"./src/plugins/poster/index.js")),A=P(r(/*! ../../plugins/google_analytics */"./src/plugins/google_analytics/index.js")),E=P(r(/*! ../../plugins/click_to_pause */"./src/plugins/click_to_pause/index.js")),T=P(r(/*! ../../plugins/media_control */"./src/plugins/media_control/index.js")),S=P(r(/*! ../../plugins/dvr_controls */"./src/plugins/dvr_controls/index.js")),w=P(r(/*! ../../plugins/closed_captions */"./src/plugins/closed_captions/index.js")),k=P(r(/*! ../../plugins/favicon */"./src/plugins/favicon/index.js")),x=P(r(/*! ../../plugins/seek_time */"./src/plugins/seek_time/index.js")),C=P(r(/*! ../../plugins/sources */"./src/plugins/sources.js")),R=P(r(/*! ../../plugins/end_video */"./src/plugins/end_video.js")),L=P(r(/*! ../../plugins/strings */"./src/plugins/strings.js")),j=P(r(/*! ../../plugins/error_screen */"./src/plugins/error_screen/index.js"));function P(e){return e&&e.__esModule?e:{default:e}}var I=function(e){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,o.default)(this,t);var l=(0,a.default)(this,e.call(this));return l.playerId=n,l.playbackPlugins=[],s||(l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[p.default])),l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[c.default,f.default]),s||(l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[d.default,h.default])),l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[m.default,g.default]),l.containerPlugins=[y.default,b.default,_.default,v.default,A.default,E.default],l.corePlugins=[T.default,S.default,w.default,k.default,x.default,C.default,R.default,j.default,L.default],Array.isArray(r)||l.validateExternalPluginsType(r),l.addExternalPlugins(r),l}return(0,s.default)(t,e),t.prototype.groupPluginsByType=function(e){return Array.isArray(e)&&(e=e.reduce((function(e,t){return e[t.type]||(e[t.type]=[]),e[t.type].push(t),e}),{})),e},t.prototype.removeDups=function(e){var t=e.reduceRight((function(e,t){return e[t.prototype.name]&&delete e[t.prototype.name],e[t.prototype.name]=t,e}),(0,n.default)(null)),r=[];for(var i in t)r.unshift(t[i]);return r},t.prototype.addExternalPlugins=function(e){(e=this.groupPluginsByType(e)).playback&&(this.playbackPlugins=this.removeDups(e.playback.concat(this.playbackPlugins))),e.container&&(this.containerPlugins=this.removeDups(e.container.concat(this.containerPlugins))),e.core&&(this.corePlugins=this.removeDups(e.core.concat(this.corePlugins))),u.default.getInstance(this.playerId).playbackPlugins=this.playbackPlugins},t.prototype.validateExternalPluginsType=function(e){["playback","container","core"].forEach((function(t){(e[t]||[]).forEach((function(e){var r="external "+e.type+" plugin on "+t+" array";if(e.type!==t)throw new ReferenceError(r)}))}))},t}(l.default);t.default=I,e.exports=t.default},"./src/components/mediator.js":
+/*! no static exports found */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=P(r(/*! babel-runtime/core-js/object/create */"./node_modules/babel-runtime/core-js/object/create.js")),i=P(r(/*! babel-runtime/helpers/toConsumableArray */"./node_modules/babel-runtime/helpers/toConsumableArray.js")),o=P(r(/*! babel-runtime/helpers/classCallCheck */"./node_modules/babel-runtime/helpers/classCallCheck.js")),a=P(r(/*! babel-runtime/helpers/possibleConstructorReturn */"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js")),s=P(r(/*! babel-runtime/helpers/inherits */"./node_modules/babel-runtime/helpers/inherits.js")),l=P(r(/*! ../../base/base_object */"./src/base/base_object.js")),u=P(r(/*! ../player_info */"./src/components/player_info.js")),c=P(r(/*! ../../playbacks/html5_video */"./src/playbacks/html5_video/index.js")),d=P(r(/*! ../../playbacks/flash */"./src/playbacks/flash/index.js")),f=P(r(/*! ../../playbacks/html5_audio */"./src/playbacks/html5_audio/index.js")),h=P(r(/*! ../../playbacks/flashls */"./src/playbacks/flashls/index.js")),p=P(r(/*! ../../playbacks/hls */"./src/playbacks/hls/index.js")),m=P(r(/*! ../../playbacks/html_img */"./src/playbacks/html_img/index.js")),g=P(r(/*! ../../playbacks/no_op */"./src/playbacks/no_op/index.js")),y=P(r(/*! ../../plugins/spinner_three_bounce */"./src/plugins/spinner_three_bounce/index.js")),v=P(r(/*! ../../plugins/stats */"./src/plugins/stats/index.js")),b=P(r(/*! ../../plugins/watermark */"./src/plugins/watermark/index.js")),_=P(r(/*! ../../plugins/poster */"./src/plugins/poster/index.js")),A=P(r(/*! ../../plugins/google_analytics */"./src/plugins/google_analytics/index.js")),E=P(r(/*! ../../plugins/click_to_pause */"./src/plugins/click_to_pause/index.js")),T=P(r(/*! ../../plugins/media_control */"./src/plugins/media_control/index.js")),S=P(r(/*! ../../plugins/dvr_controls */"./src/plugins/dvr_controls/index.js")),w=P(r(/*! ../../plugins/closed_captions */"./src/plugins/closed_captions/index.js")),k=P(r(/*! ../../plugins/favicon */"./src/plugins/favicon/index.js")),C=P(r(/*! ../../plugins/seek_time */"./src/plugins/seek_time/index.js")),x=P(r(/*! ../../plugins/sources */"./src/plugins/sources.js")),R=P(r(/*! ../../plugins/end_video */"./src/plugins/end_video.js")),L=P(r(/*! ../../plugins/strings */"./src/plugins/strings.js")),j=P(r(/*! ../../plugins/error_screen */"./src/plugins/error_screen/index.js"));function P(e){return e&&e.__esModule?e:{default:e}}var I=function(e){function t(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];(0,o.default)(this,t);var l=(0,a.default)(this,e.call(this));return l.playerId=n,l.playbackPlugins=[],s||(l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[p.default])),l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[c.default,f.default]),s||(l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[d.default,h.default])),l.playbackPlugins=[].concat((0,i.default)(l.playbackPlugins),[m.default,g.default]),l.containerPlugins=[y.default,b.default,_.default,v.default,A.default,E.default],l.corePlugins=[T.default,S.default,w.default,k.default,C.default,x.default,R.default,j.default,L.default],Array.isArray(r)||l.validateExternalPluginsType(r),l.addExternalPlugins(r),l}return(0,s.default)(t,e),t.prototype.groupPluginsByType=function(e){return Array.isArray(e)&&(e=e.reduce((function(e,t){return e[t.type]||(e[t.type]=[]),e[t.type].push(t),e}),{})),e},t.prototype.removeDups=function(e){var t=e.reduceRight((function(e,t){return e[t.prototype.name]&&delete e[t.prototype.name],e[t.prototype.name]=t,e}),(0,n.default)(null)),r=[];for(var i in t)r.unshift(t[i]);return r},t.prototype.addExternalPlugins=function(e){(e=this.groupPluginsByType(e)).playback&&(this.playbackPlugins=this.removeDups(e.playback.concat(this.playbackPlugins))),e.container&&(this.containerPlugins=this.removeDups(e.container.concat(this.containerPlugins))),e.core&&(this.corePlugins=this.removeDups(e.core.concat(this.corePlugins))),u.default.getInstance(this.playerId).playbackPlugins=this.playbackPlugins},t.prototype.validateExternalPluginsType=function(e){["playback","container","core"].forEach((function(t){(e[t]||[]).forEach((function(e){var r="external "+e.type+" plugin on "+t+" array";if(e.type!==t)throw new ReferenceError(r)}))}))},t}(l.default);t.default=I,e.exports=t.default},"./src/components/mediator.js":
/*!************************************!*\
!*** ./src/components/mediator.js ***!
\************************************/
@@ -1104,7 +1104,7 @@
/*!*********************!*\
!*** ./src/main.js ***!
\*********************/
-/*! no static exports found */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=B(r(/*! ./components/player */"./src/components/player.js")),i=B(r(/*! ./base/utils */"./src/base/utils.js")),o=B(r(/*! ./base/events */"./src/base/events.js")),a=B(r(/*! ./base/playback */"./src/base/playback.js")),s=B(r(/*! ./base/container_plugin */"./src/base/container_plugin.js")),l=B(r(/*! ./base/core_plugin */"./src/base/core_plugin.js")),u=B(r(/*! ./base/ui_core_plugin */"./src/base/ui_core_plugin.js")),c=B(r(/*! ./base/ui_container_plugin */"./src/base/ui_container_plugin.js")),d=B(r(/*! ./base/base_object */"./src/base/base_object.js")),f=B(r(/*! ./base/ui_object */"./src/base/ui_object.js")),h=B(r(/*! ./components/browser */"./src/components/browser/index.js")),p=B(r(/*! ./components/container */"./src/components/container/index.js")),m=B(r(/*! ./components/core */"./src/components/core/index.js")),g=B(r(/*! ./components/error */"./src/components/error/index.js")),y=B(r(/*! ./components/loader */"./src/components/loader/index.js")),v=B(r(/*! ./components/mediator */"./src/components/mediator.js")),b=B(r(/*! ./components/player_info */"./src/components/player_info.js")),_=B(r(/*! ./playbacks/base_flash_playback */"./src/playbacks/base_flash_playback/index.js")),A=B(r(/*! ./playbacks/flash */"./src/playbacks/flash/index.js")),E=B(r(/*! ./playbacks/flashls */"./src/playbacks/flashls/index.js")),T=B(r(/*! ./playbacks/hls */"./src/playbacks/hls/index.js")),S=B(r(/*! ./playbacks/html5_audio */"./src/playbacks/html5_audio/index.js")),w=B(r(/*! ./playbacks/html5_video */"./src/playbacks/html5_video/index.js")),k=B(r(/*! ./playbacks/html_img */"./src/playbacks/html_img/index.js")),x=B(r(/*! ./playbacks/no_op */"./src/playbacks/no_op/index.js")),C=B(r(/*! ./plugins/media_control */"./src/plugins/media_control/index.js")),R=B(r(/*! ./plugins/click_to_pause */"./src/plugins/click_to_pause/index.js")),L=B(r(/*! ./plugins/dvr_controls */"./src/plugins/dvr_controls/index.js")),j=B(r(/*! ./plugins/favicon */"./src/plugins/favicon/index.js")),P=B(r(/*! ./plugins/log */"./src/plugins/log/index.js")),I=B(r(/*! ./plugins/poster */"./src/plugins/poster/index.js")),O=B(r(/*! ./plugins/spinner_three_bounce */"./src/plugins/spinner_three_bounce/index.js")),D=B(r(/*! ./plugins/watermark */"./src/plugins/watermark/index.js")),M=B(r(/*! ./base/styler */"./src/base/styler.js")),N=B(r(/*! ./vendor */"./src/vendor/index.js")),U=B(r(/*! ./base/template */"./src/base/template.js")),F=B(r(/*! clappr-zepto */"./node_modules/clappr-zepto/zepto.js"));function B(e){return e&&e.__esModule?e:{default:e}}t.default={Player:n.default,Mediator:v.default,Events:o.default,Browser:h.default,PlayerInfo:b.default,MediaControl:C.default,ContainerPlugin:s.default,UIContainerPlugin:c.default,CorePlugin:l.default,UICorePlugin:u.default,Playback:a.default,Container:p.default,Core:m.default,PlayerError:g.default,Loader:y.default,BaseObject:d.default,UIObject:f.default,Utils:i.default,BaseFlashPlayback:_.default,Flash:A.default,FlasHLS:E.default,HLS:T.default,HTML5Audio:S.default,HTML5Video:w.default,HTMLImg:k.default,NoOp:x.default,ClickToPausePlugin:R.default,DVRControls:L.default,Favicon:j.default,Log:P.default,Poster:I.default,SpinnerThreeBouncePlugin:O.default,WaterMarkPlugin:D.default,Styler:M.default,Vendor:N.default,version:"0.3.12",template:U.default,$:F.default},e.exports=t.default},"./src/playbacks/base_flash_playback/base_flash_playback.js":
+/*! no static exports found */function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=B(r(/*! ./components/player */"./src/components/player.js")),i=B(r(/*! ./base/utils */"./src/base/utils.js")),o=B(r(/*! ./base/events */"./src/base/events.js")),a=B(r(/*! ./base/playback */"./src/base/playback.js")),s=B(r(/*! ./base/container_plugin */"./src/base/container_plugin.js")),l=B(r(/*! ./base/core_plugin */"./src/base/core_plugin.js")),u=B(r(/*! ./base/ui_core_plugin */"./src/base/ui_core_plugin.js")),c=B(r(/*! ./base/ui_container_plugin */"./src/base/ui_container_plugin.js")),d=B(r(/*! ./base/base_object */"./src/base/base_object.js")),f=B(r(/*! ./base/ui_object */"./src/base/ui_object.js")),h=B(r(/*! ./components/browser */"./src/components/browser/index.js")),p=B(r(/*! ./components/container */"./src/components/container/index.js")),m=B(r(/*! ./components/core */"./src/components/core/index.js")),g=B(r(/*! ./components/error */"./src/components/error/index.js")),y=B(r(/*! ./components/loader */"./src/components/loader/index.js")),v=B(r(/*! ./components/mediator */"./src/components/mediator.js")),b=B(r(/*! ./components/player_info */"./src/components/player_info.js")),_=B(r(/*! ./playbacks/base_flash_playback */"./src/playbacks/base_flash_playback/index.js")),A=B(r(/*! ./playbacks/flash */"./src/playbacks/flash/index.js")),E=B(r(/*! ./playbacks/flashls */"./src/playbacks/flashls/index.js")),T=B(r(/*! ./playbacks/hls */"./src/playbacks/hls/index.js")),S=B(r(/*! ./playbacks/html5_audio */"./src/playbacks/html5_audio/index.js")),w=B(r(/*! ./playbacks/html5_video */"./src/playbacks/html5_video/index.js")),k=B(r(/*! ./playbacks/html_img */"./src/playbacks/html_img/index.js")),C=B(r(/*! ./playbacks/no_op */"./src/playbacks/no_op/index.js")),x=B(r(/*! ./plugins/media_control */"./src/plugins/media_control/index.js")),R=B(r(/*! ./plugins/click_to_pause */"./src/plugins/click_to_pause/index.js")),L=B(r(/*! ./plugins/dvr_controls */"./src/plugins/dvr_controls/index.js")),j=B(r(/*! ./plugins/favicon */"./src/plugins/favicon/index.js")),P=B(r(/*! ./plugins/log */"./src/plugins/log/index.js")),I=B(r(/*! ./plugins/poster */"./src/plugins/poster/index.js")),O=B(r(/*! ./plugins/spinner_three_bounce */"./src/plugins/spinner_three_bounce/index.js")),D=B(r(/*! ./plugins/watermark */"./src/plugins/watermark/index.js")),M=B(r(/*! ./base/styler */"./src/base/styler.js")),N=B(r(/*! ./vendor */"./src/vendor/index.js")),F=B(r(/*! ./base/template */"./src/base/template.js")),U=B(r(/*! clappr-zepto */"./node_modules/clappr-zepto/zepto.js"));function B(e){return e&&e.__esModule?e:{default:e}}t.default={Player:n.default,Mediator:v.default,Events:o.default,Browser:h.default,PlayerInfo:b.default,MediaControl:x.default,ContainerPlugin:s.default,UIContainerPlugin:c.default,CorePlugin:l.default,UICorePlugin:u.default,Playback:a.default,Container:p.default,Core:m.default,PlayerError:g.default,Loader:y.default,BaseObject:d.default,UIObject:f.default,Utils:i.default,BaseFlashPlayback:_.default,Flash:A.default,FlasHLS:E.default,HLS:T.default,HTML5Audio:S.default,HTML5Video:w.default,HTMLImg:k.default,NoOp:C.default,ClickToPausePlugin:R.default,DVRControls:L.default,Favicon:j.default,Log:P.default,Poster:I.default,SpinnerThreeBouncePlugin:O.default,WaterMarkPlugin:D.default,Styler:M.default,Vendor:N.default,version:"0.3.12",template:F.default,$:U.default},e.exports=t.default},"./src/playbacks/base_flash_playback/base_flash_playback.js":
/*!******************************************************************!*\
!*** ./src/playbacks/base_flash_playback/base_flash_playback.js ***!
\******************************************************************/
@@ -1404,14 +1404,14 @@
/*!*****************************************************************!*\
!*** ./node_modules/shaka-player/dist/shaka-player.compiled.js ***!
\*****************************************************************/
-/*! no static exports found */function(e,t,r){(function(e,r){!function(){var n="undefined"!=typeof window?window:e,i={};for(var o in function(e,t){var n,i="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){e!=Array.prototype&&e!=Object.prototype&&(e[t]=r.value)},o=void 0!==e&&e===this?this:void 0!==t&&null!=t?t:this;function a(){a=function(){},o.Symbol||(o.Symbol=l)}var s,l=(s=0,function(e){return"jscomp_symbol_"+(e||"")+s++});function u(){a();var e=o.Symbol.iterator;e||(e=o.Symbol.iterator=o.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&i(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return c(this)}}),u=function(){}}function c(e){var t=0;return d((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))}function d(e){return u(),(e={next:e})[o.Symbol.iterator]=function(){return this},e}function f(e){u();var t=e[Symbol.iterator];return t?t.call(e):c(e)}function h(e,t){if(t){for(var r=o,n=e.split("."),a=0;a<n.length-1;a++){var s=n[a];s in r||(r[s]={}),r=r[s]}(s=t(a=r[n=n[n.length-1]]))!=a&&null!=s&&i(r,n,{configurable:!0,writable:!0,value:s})}}function p(e){return function(e){function t(t){return e.next(t)}function r(t){return e.throw(t)}return new Promise((function(n,i){!function e(o){o.done?n(o.value):Promise.resolve(o.value).then(t,r).then(e,i)}(e.next())}))}(e())}h("Promise",(function(e){function t(e){this.b=0,this.g=void 0,this.a=[];var t=this.c();try{e(t.resolve,t.reject)}catch(e){t.reject(e)}}function r(){this.a=null}function n(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;r.prototype.b=function(e){null==this.a&&(this.a=[],this.f()),this.a.push(e)},r.prototype.f=function(){var e=this;this.c((function(){e.h()}))};var i=o.setTimeout;r.prototype.c=function(e){i(e,0)},r.prototype.h=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var r=e[t];e[t]=null;try{r()}catch(e){this.g(e)}}}this.a=null},r.prototype.g=function(e){this.c((function(){throw e}))},t.prototype.c=function(){function e(e){return function(n){r||(r=!0,e.call(t,n))}}var t=this,r=!1;return{resolve:e(this.s),reject:e(this.f)}},t.prototype.s=function(e){if(e===this)this.f(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.u(e);else{e:switch(typeof e){case"object":var r=null!=e;break e;case"function":r=!0;break e;default:r=!1}r?this.m(e):this.h(e)}},t.prototype.m=function(e){var t=void 0;try{t=e.then}catch(e){return void this.f(e)}"function"==typeof t?this.B(t,e):this.h(e)},t.prototype.f=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.g=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)a.b(this.a[e]);this.a=null}};var a=new r;return t.prototype.u=function(e){var t=this.c();e.cc(t.resolve,t.reject)},t.prototype.B=function(e,t){var r=this.c();try{e.call(t,r.resolve,r.reject)}catch(e){r.reject(e)}},t.prototype.then=function(e,r){function n(e,t){return"function"==typeof e?function(t){try{i(e(t))}catch(e){o(e)}}:t}var i,o,a=new t((function(e,t){i=e,o=t}));return this.cc(n(e,i),n(r,o)),a},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.cc=function(e,t){function r(){switch(n.b){case 1:e(n.g);break;case 2:t(n.g);break;default:throw Error("Unexpected state: "+n.b)}}var n=this;null==this.a?a.b(r):this.a.push(r)},t.resolve=n,t.reject=function(e){return new t((function(t,r){r(e)}))},t.race=function(e){return new t((function(t,r){for(var i=f(e),o=i.next();!o.done;o=i.next())n(o.value).cc(t,r)}))},t.all=function(e){var r=f(e),i=r.next();return i.done?n([]):new t((function(e,t){function o(t){return function(r){a[t]=r,0==--s&&e(a)}}var a=[],s=0;do{a.push(void 0),s++,n(i.value).cc(o(a.length-1),t),i=r.next()}while(!i.done)}))},t})),h("Promise.prototype.finally",(function(e){return e||function(e){return this.then((function(t){return Promise.resolve(e()).then((function(){return t}))}),(function(t){return Promise.resolve(e()).then((function(){throw t}))}))}}));var m,g="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)m=Object.setPrototypeOf;else{var y;e:{var v={};try{v.__proto__={Ae:!0},y=v.Ae;break e}catch(s){}y=!1}m=y?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var b=m;function _(e,t){if(e.prototype=g(t.prototype),e.prototype.constructor=e,b)b(e,t);else for(var r in t)if("prototype"!=r)if(Object.defineProperties){var n=Object.getOwnPropertyDescriptor(t,r);n&&Object.defineProperty(e,r,n)}else e[r]=t[r];e.tg=t.prototype}function A(){this.g=!1,this.c=null,this.o=void 0,this.j=1,this.b=this.f=0,this.i=this.a=null}function E(e){if(e.g)throw new TypeError("Generator is already running");e.g=!0}function T(e,t){e.a={Ld:t,Wd:!0},e.j=e.f||e.b}function S(e,t,r){return e.j=r,{value:t}}function w(e){e.j=0}function k(e,t,r){e.f=t,null!=r&&(e.b=r)}function x(e,t){e.f=0,e.b=t||0}function C(e,t){e.j=t,e.f=0}function R(e){e.f=0;var t=e.a.Ld;return e.a=null,t}function L(e){e.i=[e.a],e.f=0,e.b=0}function j(e,t){var r=e.i.splice(0)[0];(r=e.a=e.a||r)?r.Wd?e.j=e.f||e.b:null!=r.A&&e.b<r.A?(e.j=r.A,e.a=null):e.j=e.b:e.j=t}function P(e){this.a=new A,this.b=e}function I(e,t,r,n){try{var i=t.call(e.a.c,r);if(!(i instanceof Object))throw new TypeError("Iterator result "+i+" is not an object");if(!i.done)return e.a.g=!1,i;var o=i.value}catch(t){return e.a.c=null,T(e.a,t),O(e)}return e.a.c=null,n.call(e.a,o),O(e)}function O(e){for(;e.a.j;)try{var t=e.b(e.a);if(t)return e.a.g=!1,{value:t.value,done:!1}}catch(t){e.a.o=void 0,T(e.a,t)}if(e.a.g=!1,e.a.a){if(t=e.a.a,e.a.a=null,t.Wd)throw t.Ld;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function D(e){this.next=function(t){return E(e.a),e.a.c?t=I(e,e.a.c.next,t,e.a.h):(e.a.h(t),t=O(e)),t},this.throw=function(t){return E(e.a),e.a.c?t=I(e,e.a.c.throw,t,e.a.h):(T(e.a,t),t=O(e)),t},this.return=function(t){return function(e,t){E(e.a);var r=e.a.c;return r?I(e,"return"in r?r.return:function(e){return{value:e,done:!0}},t,e.a.return):(e.a.return(t),O(e))}(e,t)},u(),this[Symbol.iterator]=function(){return this}}function M(e,t){return D.prototype=e.prototype,new D(new P(t))}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function U(e,t,r){e instanceof String&&(e=String(e));for(var n=e.length,i=0;i<n;i++){var o=e[i];if(t.call(r,o,i,e))return{Td:i,ve:o}}return{Td:-1,ve:void 0}}function F(e,t,r){if(null==e)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return e+""}A.prototype.h=function(e){this.o=e},A.prototype.return=function(e){this.a={return:e},this.j=this.b},A.prototype.A=function(e){this.j=e},h("WeakMap",(function(e){function t(e){if(this.a=(s+=Math.random()+1).toString(),e){a(),u(),e=f(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}}function r(e){N(e,o)||i(e,o,{value:{}})}function n(e){var t=Object[e];t&&(Object[e]=function(e){return r(e),t(e)})}if(function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}),r=Object.seal({}),n=new e([[t,2],[r,3]]);return 2==n.get(t)&&3==n.get(r)&&(n.delete(t),n.set(r,4),!n.has(t)&&4==n.get(r))}catch(e){return!1}}())return e;var o="$jscomp_hidden_"+Math.random();n("freeze"),n("preventExtensions"),n("seal");var s=0;return t.prototype.set=function(e,t){if(r(e),!N(e,o))throw Error("WeakMap key fail: "+e);return e[o][this.a]=t,this},t.prototype.get=function(e){return N(e,o)?e[o][this.a]:void 0},t.prototype.has=function(e){return N(e,o)&&N(e[o],this.a)},t.prototype.delete=function(e){return!(!N(e,o)||!N(e[o],this.a))&&delete e[o][this.a]},t})),h("Map",(function(e){function t(){var e={};return e.Fa=e.next=e.head=e}function r(e,t){var r=e.a;return d((function(){if(r){for(;r.head!=e.a;)r=r.Fa;for(;r.next!=r.head;)return r=r.next,{done:!1,value:t(r)};r=null}return{done:!0,value:void 0}}))}function n(e,t){var r=t&&typeof t;"object"==r||"function"==r?o.has(t)?r=o.get(t):(r=""+ ++s,o.set(t,r)):r="p_"+t;var n=e.b[r];if(n&&N(e.b,r))for(var i=0;i<n.length;i++){var a=n[i];if(t!=t&&a.key!=a.key||t===a.key)return{id:r,list:n,index:i,X:a}}return{id:r,list:n,index:-1,X:void 0}}function i(e){if(this.b={},this.a=t(),this.size=0,e){e=f(e);for(var r;!(r=e.next()).done;)r=r.value,this.set(r[0],r[1])}}if(function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),r=new e(f([[t,"s"]]));if("s"!=r.get(t)||1!=r.size||r.get({x:4})||r.set({x:4},"t")!=r||2!=r.size)return!1;var n=r.entries(),i=n.next();return!i.done&&i.value[0]==t&&"s"==i.value[1]&&!((i=n.next()).done||4!=i.value[0].x||"t"!=i.value[1]||!n.next().done)}catch(e){return!1}}())return e;a(),u();var o=new WeakMap;i.prototype.set=function(e,t){var r=n(this,e);return r.list||(r.list=this.b[r.id]=[]),r.X?r.X.value=t:(r.X={next:this.a,Fa:this.a.Fa,head:this.a,key:e,value:t},r.list.push(r.X),this.a.Fa.next=r.X,this.a.Fa=r.X,this.size++),this},i.prototype.delete=function(e){return!(!(e=n(this,e)).X||!e.list||(e.list.splice(e.index,1),e.list.length||delete this.b[e.id],e.X.Fa.next=e.X.next,e.X.next.Fa=e.X.Fa,e.X.head=null,this.size--,0))},i.prototype.clear=function(){this.b={},this.a=this.a.Fa=t(),this.size=0},i.prototype.has=function(e){return!!n(this,e).X},i.prototype.get=function(e){return(e=n(this,e).X)&&e.value},i.prototype.entries=function(){return r(this,(function(e){return[e.key,e.value]}))},i.prototype.keys=function(){return r(this,(function(e){return e.key}))},i.prototype.values=function(){return r(this,(function(e){return e.value}))},i.prototype.forEach=function(e,t){for(var r,n=this.entries();!(r=n.next()).done;)r=r.value,e.call(t,r[1],r[0],this)},i.prototype[Symbol.iterator]=i.prototype.entries;var s=0;return i})),h("Set",(function(e){function t(e){if(this.a=new Map,e){e=f(e);for(var t;!(t=e.next()).done;)this.add(t.value)}this.size=this.a.size}return function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),r=new e(f([t]));if(!r.has(t)||1!=r.size||r.add(t)!=r||1!=r.size||r.add({x:4})!=r||2!=r.size)return!1;var n=r.entries(),i=n.next();return!i.done&&i.value[0]==t&&i.value[1]==t&&!(i=n.next()).done&&i.value[0]!=t&&4==i.value[0].x&&i.value[1]==i.value[0]&&n.next().done}catch(e){return!1}}()?e:(a(),u(),t.prototype.add=function(e){return this.a.set(e,e),this.size=this.a.size,this},t.prototype.delete=function(e){return e=this.a.delete(e),this.size=this.a.size,e},t.prototype.clear=function(){this.a.clear(),this.size=0},t.prototype.has=function(e){return this.a.has(e)},t.prototype.entries=function(){return this.a.entries()},t.prototype.values=function(){return this.a.values()},t.prototype.keys=t.prototype.values,t.prototype[Symbol.iterator]=t.prototype.values,t.prototype.forEach=function(e,t){var r=this;this.a.forEach((function(n){return e.call(t,n,n,r)}))},t)})),h("Array.prototype.findIndex",(function(e){return e||function(e,t){return U(this,e,t).Td}})),h("Array.prototype.keys",(function(e){return e||function(){return function(e,t){u(),e instanceof String&&(e+="");var r=0,n={next:function(){if(r<e.length){var i=r++;return{value:t(i,e[i]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n}(this,(function(e){return e}))}})),h("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}})),h("Array.prototype.includes",(function(e){return e||function(e,t){var r=this;r instanceof String&&(r=String(r));var n=r.length,i=t||0;for(0>i&&(i=Math.max(i+n,0));i<n;i++){var o=r[i];if(o===e||Object.is(o,e))return!0}return!1}})),h("String.prototype.includes",(function(e){return e||function(e,t){return-1!==F(this,e,"includes").indexOf(e,t||0)}})),h("Array.from",(function(e){return e||function(e,t,r){u(),t=null!=t?t:function(e){return e};var n=[],i=e[Symbol.iterator];if("function"==typeof i)for(e=i.call(e);!(i=e.next()).done;)n.push(t.call(r,i.value));else{i=e.length;for(var o=0;o<i;o++)n.push(t.call(r,e[o]))}return n}})),h("String.prototype.startsWith",(function(e){return e||function(e,t){for(var r=F(this,e,"startsWith"),n=r.length,i=e.length,o=Math.max(0,Math.min(0|t,r.length)),a=0;a<i&&o<n;)if(r[o++]!=e[a++])return!1;return a>=i}})),h("Array.prototype.find",(function(e){return e||function(e,t){return U(this,e,t).ve}}));var B="function"==typeof Object.assign?Object.assign:function(e,t){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var i in n)N(n,i)&&(e[i]=n[i])}return e};h("Object.assign",(function(e){return e||B}));var K=this;function G(e,t){var r,n=e.split("."),i=K;n[0]in i||!i.execScript||i.execScript("var "+n[0]);for(;n.length&&(r=n.shift());)n.length||void 0===t?i=i[r]?i[r]:i[r]={}:i[r]=t}function V(e,t){function r(){}r.prototype=t.prototype,e.tg=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.Eg=function(e,r,n){return t.prototype[r].apply(e,Array.prototype.slice.call(arguments,2))}}function H(e){this.c=Math.exp(Math.log(.5)/e),this.b=this.a=0}function Y(e,t,r){var n=Math.pow(e.c,t);r=r*(1-n)+n*e.a,isNaN(r)||(e.a=r,e.b+=t)}function z(e){return e.a/(1-Math.pow(e.c,e.b))}function W(){this.b=new H(2),this.c=new H(5),this.a=0}function $(){}function q(){}function X(){}K.a=!0,W.prototype.getBandwidthEstimate=function(e){return 128e3>this.a?e:Math.min(z(this.b),z(this.c))},e.console&&e.console.log.bind&&(q=console.warn.bind(console),$=console.error.bind(console));var J=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Z(e){var t;e instanceof Z?(Q(this,e.ta),this.bb=e.bb,this.sa=e.sa,ee(this,e.Ab),this.ja=e.ja,te(this,e.a.clone()),this.Sa=e.Sa):e&&(t=String(e).match(J))?(Q(this,t[1]||"",!0),this.bb=re(t[2]||""),this.sa=re(t[3]||"",!0),ee(this,t[4]),this.ja=re(t[5]||"",!0),te(this,t[6]||"",!0),this.Sa=re(t[7]||"")):this.a=new ce(null)}function Q(e,t,r){e.ta=r?re(t,!0):t,e.ta&&(e.ta=e.ta.replace(/:$/,""))}function ee(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.Ab=t}else e.Ab=null}function te(e,t,r){t instanceof ce?e.a=t:(r||(t=ne(t,le)),e.a=new ce(t))}function re(e,t){return e?t?decodeURI(e):decodeURIComponent(e):""}function ne(e,t,r){return"string"==typeof e?(e=encodeURI(e).replace(t,ie),r&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function ie(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}(n=Z.prototype).ta="",n.bb="",n.sa="",n.Ab=null,n.ja="",n.Sa="",n.toString=function(){var e=[],t=this.ta;if(t&&e.push(ne(t,oe,!0),":"),t=this.sa){e.push("//");var r=this.bb;r&&e.push(ne(r,oe,!0),"@"),e.push(encodeURIComponent(t).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(t=this.Ab)&&e.push(":",String(t))}return(t=this.ja)&&(this.sa&&"/"!=t.charAt(0)&&e.push("/"),e.push(ne(t,"/"==t.charAt(0)?se:ae,!0))),(t=this.a.toString())&&e.push("?",t),(t=this.Sa)&&e.push("#",ne(t,ue)),e.join("")},n.resolve=function(e){var t=this.clone();"data"===t.ta&&(t=new Z);var r=!!e.ta;r?Q(t,e.ta):r=!!e.bb,r?t.bb=e.bb:r=!!e.sa,r?t.sa=e.sa:r=null!=e.Ab;var n=e.ja;if(r)ee(t,e.Ab);else if(r=!!e.ja){if("/"!=n.charAt(0))if(this.sa&&!this.ja)n="/"+n;else{var i=t.ja.lastIndexOf("/");-1!=i&&(n=t.ja.substr(0,i+1)+n)}if(".."==n||"."==n)n="";else if(-1!=n.indexOf("./")||-1!=n.indexOf("/.")){i=0==n.lastIndexOf("/",0),n=n.split("/");for(var o=[],a=0;a<n.length;){var s=n[a++];"."==s?i&&a==n.length&&o.push(""):".."==s?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),i&&a==n.length&&o.push("")):(o.push(s),i=!0)}n=o.join("/")}}return r?t.ja=n:r=""!==e.a.toString(),r?te(t,e.a.clone()):r=!!e.Sa,r&&(t.Sa=e.Sa),t},n.clone=function(){return new Z(this)};var oe=/[#\/\?@]/g,ae=/[#\?:]/g,se=/[#\?]/g,le=/[#\?@]/g,ue=/#/g;function ce(e){this.a=e||null}function de(e){this.b=e,this.a=null}function fe(e){this.b=e,this.a=null}function he(e,t){var r={maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0};this.i=null==e.maxAttempts?r.maxAttempts:e.maxAttempts,this.f=null==e.baseDelay?r.baseDelay:e.baseDelay,this.h=null==e.fuzzFactor?r.fuzzFactor:e.fuzzFactor,this.g=null==e.backoffFactor?r.backoffFactor:e.backoffFactor,this.a=0,this.b=this.f,(this.c=void 0!==t&&t)&&(this.a=1)}function pe(e){return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:if(e.a>=e.i){if(!e.c)return t.return(Promise.reject());e.a=1,e.b=e.f}return r=e.a,e.a++,0==r?t.return():(n=e.b*(1+(2*Math.random()-1)*e.h),S(t,new Promise((function(e){new fe(e).R(n/1e3)})),2));case 2:e.b*=e.g,w(t)}}))}))}function me(e,t,r,n){for(var i=[],o=3;o<arguments.length;++o)i[o-3]=arguments[o];this.severity=e,this.category=t,this.code=r,this.data=i,this.handled=!1}function ge(){var e,t,r=new Promise((function(r,n){e=r,t=n}));return r.resolve=e,r.reject=t,r}function ye(e,t){this.promise=e,this.Zd=t,this.a=!1}function ve(e){return new ye(Promise.reject(e),(function(){return Promise.resolve()}))}function be(){var e=Promise.reject(new me(2,7,7001));return e.catch((function(){})),new ye(e,(function(){return Promise.resolve()}))}function _e(e){return new ye(Promise.resolve(e),(function(){return Promise.resolve()}))}function Ae(e){return new ye(e,(function(){return e.catch((function(){}))}))}function Ee(e){return new ye(Promise.all(e.map((function(e){return e.promise}))),(function(){return Promise.all(e.map((function(e){return e.abort()})))}))}function Te(e,t,r){try{var n=e(t);return n&&n.promise&&n.abort?(r.resolve(n.promise),function(){return n.abort()}):(r.resolve(n),function(){return Promise.resolve(n).then((function(){})).catch((function(){}))})}catch(e){return r.reject(e),function(){return Promise.resolve()}}}function Se(t,r){for(var n in r=void 0===r?{}:r)this[n]=r[n];this.defaultPrevented=this.cancelable=this.bubbles=!1,this.timeStamp=e.performance&&e.performance.now?e.performance.now():Date.now(),this.type=t,this.isTrusted=!1,this.target=this.currentTarget=null,this.a=!1}function we(){this.a={}}function ke(){this.Jc=new we,this.$b=this}function xe(e){var t=new Set;return function e(r){switch(typeof r){case"undefined":case"boolean":case"number":case"string":case"symbol":case"function":return r;default:if(!r||r.buffer&&r.buffer.constructor==ArrayBuffer)return r;if(t.has(r))return null;var n=r.constructor==Array;if(r.constructor!=Object&&!n)return null;t.add(r);var i,o=n?[]:{};for(i in r)o[i]=e(r[i]);return n&&(o.length=r.length),o}}(e)}function Ce(e,t){return!("number"!=typeof e||"number"!=typeof t||!isNaN(e)||!isNaN(t))||e===t}function Re(e,t){var r=e.indexOf(t);-1<r&&e.splice(r,1)}function Le(e,t,r){if(r||(r=Ce),e.length!=t.length)return!1;t=t.slice();for(var n={},i=(e=f(e)).next();!i.done;n={item:n.item},i=e.next()){if(n.item=i.value,-1==(i=t.findIndex(function(e){return function(t){return r(e.item,t)}}(n))))return!1;t[i]=t[t.length-1],t.pop()}return 0==t.length}function je(){this.a=[]}function Pe(e,t){e.a.push(t.finally((function(){Re(e.a,t)})))}function Ie(e){ke.call(this),this.f=!1,this.g=new je,this.a=new Set,this.b=new Set,this.c=e||null}(n=ce.prototype).ha=null,n.fc=null,n.add=function(e,t){if(!this.ha&&(this.ha={},this.fc=0,this.a))for(var r=this.a.split("&"),n=0;n<r.length;n++){var i=r[n].indexOf("="),o=null;if(0<=i){var a=r[n].substring(0,i);o=r[n].substring(i+1)}else a=r[n];a=decodeURIComponent(a.replace(/\+/g," ")),o=o||"",this.add(a,decodeURIComponent(o.replace(/\+/g," ")))}return this.a=null,(r=this.ha.hasOwnProperty(e)&&this.ha[e])||(this.ha[e]=r=[]),r.push(t),this.fc++,this},n.toString=function(){if(this.a)return this.a;if(!this.ha)return"";var e,t=[];for(e in this.ha)for(var r=encodeURIComponent(e),n=this.ha[e],i=0;i<n.length;i++){var o=r;""!==n[i]&&(o+="="+encodeURIComponent(n[i])),t.push(o)}return this.a=t.join("&")},n.clone=function(){var e=new ce;if(e.a=this.a,this.ha){var t,r={};for(t in this.ha)r[t]=this.ha[t].concat();e.ha=r,e.fc=this.fc}return e},de.prototype.R=function(t){var r=this;this.stop();var n=!0,i=null;return this.a=function(){e.clearTimeout(i),n=!1},i=e.setTimeout((function(){n&&r.b()}),1e3*t),this},de.prototype.stop=function(){this.a&&(this.a(),this.a=null)},G("shaka.util.Timer",fe),fe.prototype.yc=function(){return this.stop(),this.b(),this},fe.prototype.tickNow=fe.prototype.yc,fe.prototype.R=function(e){var t=this;return this.stop(),this.a=new de((function(){t.b()})).R(e),this},fe.prototype.tickAfter=fe.prototype.R,fe.prototype.Na=function(e){var t=this;return this.stop(),this.a=new de((function(){t.a.R(e),t.b()})).R(e),this},fe.prototype.tickEvery=fe.prototype.Na,fe.prototype.stop=function(){this.a&&(this.a.stop(),this.a=null)},fe.prototype.stop=fe.prototype.stop,G("shaka.util.Error",me),me.prototype.toString=function(){return"shaka.util.Error "+JSON.stringify(this,null," ")},me.Severity={RECOVERABLE:1,CRITICAL:2},me.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9},me.Code={UNSUPPORTED_SCHEME:1e3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,UNKNOWN_DATA_URI_ENCODING:1005,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,MALFORMED_TEST_URI:1008,UNEXPECTED_TEST_REQUEST:1009,INVALID_TEXT_HEADER:2e3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_EXTRACT_CUE_START_TIME:2009,BUFFER_READ_OUT_OF_BOUNDS:3e3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,TRANSMUXING_FAILED:3018,UNABLE_TO_GUESS_MANIFEST_TYPE:4e3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,UNPLAYABLE_PERIOD:4011,RESTRICTIONS_CANNOT_BE_MET:4012,NO_PERIODS:4014,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_COULD_NOT_GUESS_MIME_TYPE:4021,HLS_MASTER_PLAYLIST_NOT_PROVIDED:4022,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_LIMIT:4028,HLS_COULD_NOT_PARSE_SEGMENT_START_TIME:4030,CONTENT_UNSUPPORTED_BY_BROWSER:4032,CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM:4033,HLS_AES_128_ENCRYPTION_NOT_SUPPORTED:4034,HLS_INTERNAL_SKIP_STREAM:4035,INVALID_STREAMS_CHOSEN:5005,NO_RECOGNIZED_KEY_SYSTEMS:6e3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,SERVER_CERTIFICATE_REQUIRED:6015,INIT_DATA_TRANSFORM_ERROR:6016,LOAD_INTERRUPTED:7e3,OPERATION_ABORTED:7001,NO_VIDEO_ELEMENT:7002,CAST_API_UNAVAILABLE:8e3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9e3,INDEXED_DB_ERROR:9001,DEPRECATED_OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,STORE_ALREADY_IN_PROGRESS:9006,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,NEW_KEY_OPERATION_NOT_SUPPORTED:9011,KEY_NOT_FOUND:9012,MISSING_STORAGE_CELL:9013},ge.prototype.resolve=function(){},ge.prototype.reject=function(){},G("shaka.util.AbortableOperation",ye),ye.failed=ve,ye.aborted=be,ye.completed=_e,ye.notAbortable=Ae,ye.prototype.abort=function(){return this.a=!0,this.Zd()},ye.prototype.abort=ye.prototype.abort,ye.all=Ee,ye.prototype.finally=function(e){return this.promise.then((function(){return e(!0)}),(function(){return e(!1)})),this},ye.prototype.finally=ye.prototype.finally,ye.prototype.U=function(e,t){function r(){return i.reject(new me(2,7,7001)),n.abort()}var n=this,i=new ge;return this.promise.then((function(t){n.a?i.reject(new me(2,7,7001)):e?r=Te(e,t,i):i.resolve(t)}),(function(e){t?r=Te(t,e,i):i.reject(e)})),new ye(i,(function(){return r()}))},ye.prototype.chain=ye.prototype.U,Se.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)},Se.prototype.stopImmediatePropagation=function(){this.a=!0},Se.prototype.stopPropagation=function(){},(n=we.prototype).push=function(e,t){this.a.hasOwnProperty(e)?this.a[e].push(t):this.a[e]=[t]},n.get=function(e){return(e=this.a[e])?e.slice():null},n.getAll=function(){var e,t=[];for(e in this.a)t.push.apply(t,this.a[e]);return t},n.remove=function(e,t){var r=this.a[e];if(r)for(var n=0;n<r.length;++n)r[n]==t&&(r.splice(n,1),--n)},n.forEach=function(e){for(var t in this.a)e(t,this.a[t])},ke.prototype.addEventListener=function(e,t){this.Jc.push(e,t)},ke.prototype.removeEventListener=function(e,t){this.Jc.remove(e,t)},ke.prototype.dispatchEvent=function(e){for(var t=this.Jc.get(e.type)||[],r=0;r<t.length;++r){e.target=this.$b,e.currentTarget=this.$b;var n=t[r];try{n.handleEvent?n.handleEvent(e):n.call(this,e)}catch(e){}if(e.a)break}return e.defaultPrevented},je.prototype.destroy=function(){var e=[];return this.a.forEach((function(t){t.promise.catch((function(){})),e.push(t.abort())})),this.a=[],Promise.all(e)},V(Ie,ke),G("shaka.net.NetworkingEngine",Ie),Ie.RequestType={MANIFEST:0,SEGMENT:1,LICENSE:2,APP:3,TIMING:4},Ie.PluginPriority={FALLBACK:1,PREFERRED:2,APPLICATION:3};var Oe={};function De(e,t,r){r=r||3;var n=Oe[e];(!n||r>=n.priority)&&(Oe[e]={priority:r,Rf:t})}function Me(e,t){return{uris:e,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:t,licenseRequestType:null,sessionId:null}}function Ne(){this.a=0}function Ue(e,t,r){ye.call(this,e,t),this.b=r}function Fe(){}function Be(){this.a=new we}function Ke(e,t,r,n){this.target=e,this.type=t,this.listener=r,this.a=function(e,t){if(null==t)return!1;if("boolean"==typeof t)return t;var r=new Set(["passive","capture"]);return Object.keys(t).filter((function(e){return!r.has(e)})),function(e){var t=Ge;if(null==t){t=!1;try{var r={},n={get:function(){return t=!0,!1}};Object.defineProperty(r,"passive",n),Object.defineProperty(r,"capture",n),n=function(){},e.addEventListener("test",n,r),e.removeEventListener("test",n,r)}catch(e){t=!1}Ge=t}return t||!1}(e)?t:t.capture||!1}(e,n),this.target.addEventListener(t,r,this.a)}Ie.registerScheme=De,Ie.unregisterScheme=function(e){delete Oe[e]},Ie.prototype.Tf=function(e){this.a.add(e)},Ie.prototype.registerRequestFilter=Ie.prototype.Tf,Ie.prototype.vg=function(e){this.a.delete(e)},Ie.prototype.unregisterRequestFilter=Ie.prototype.vg,Ie.prototype.Ie=function(){this.a.clear()},Ie.prototype.clearAllRequestFilters=Ie.prototype.Ie,Ie.prototype.Uf=function(e){this.b.add(e)},Ie.prototype.registerResponseFilter=Ie.prototype.Uf,Ie.prototype.wg=function(e){this.b.delete(e)},Ie.prototype.unregisterResponseFilter=Ie.prototype.wg,Ie.prototype.Je=function(){this.b.clear()},Ie.prototype.clearAllResponseFilters=Ie.prototype.Je,Ie.defaultRetryParameters=function(){return{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0}},Ie.makeRequest=Me,Ie.prototype.destroy=function(){return this.f=!0,this.a.clear(),this.b.clear(),this.g.destroy()},Ie.prototype.destroy=Ie.prototype.destroy,Ie.prototype.request=function(e,t){var r=this,n=new Ne;if(this.f){var i=Promise.reject(new me(2,7,7001));return i.catch((function(){})),new Ue(i,(function(){return Promise.resolve()}),n)}t.method=t.method||"GET",t.headers=t.headers||{},t.retryParameters=t.retryParameters?xe(t.retryParameters):{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},t.uris=xe(t.uris);var o=(i=function(e,t,r){for(var n=_e(void 0),i={},o=(e=f(e.a)).next();!o.done;i={qd:i.qd},o=e.next())i.qd=o.value,n=n.U(function(e){return function(){return e.qd(t,r)}}(i));return n.U(void 0,(function(e){if(e&&7001==e.code)throw e;throw new me(2,1,1006,e)}))}(this,e,t)).U((function(){return function e(t,r,n,i,o,a,s){var l=new Z(n.uris[o]),u=l.ta,c=!1;u||(u=(u=location.protocol).slice(0,-1),Q(l,u),n.uris[o]=l.toString()),u=u.toLowerCase();var d,f=(u=Oe[u])?u.Rf:null;return f?Ae(pe(i)).U((function(){return t.f?be():(d=Date.now(),f(n.uris[o],n,r,(function(e,n,i){t.c&&1==r&&(t.c(e,n),c=!0,s.a=i)})))})).U((function(e){return null==e.timeMs&&(e.timeMs=Date.now()-d),{response:e,qf:c}}),(function(l){if(l&&7001==l.code)throw l;if(t.f)return be();if(l&&1==l.severity)return t.dispatchEvent(new Se("retry",{error:l instanceof me?l:null})),o=(o+1)%n.uris.length,e(t,r,n,i,o,l,s);throw l||a})):ve(new me(2,1,1e3,l))}(r,e,t,new he(t.retryParameters,!1),0,null,n)})),a=o.U((function(t){return function(e,t,r){for(var n=_e(void 0),i=(e=f(e.b)).next();!i.done;i=e.next())n=n.U(i.value.bind(null,t,r.response));return n.U((function(){return r}),(function(e){if(e&&7001==e.code)throw e;var t=2;throw e instanceof me&&(t=e.severity),new me(t,1,1007,e)}))}(r,e,t)})),s=Date.now(),l=0;i.promise.then((function(){l=Date.now()-s}),(function(){}));var u=0;return o.promise.then((function(){u=Date.now()}),(function(){})),i=new Ue((i=a.U((function(t){var n=Date.now()-u,i=t.response;return i.timeMs+=l,i.timeMs+=n,t.qf||!r.c||i.fromCache||1!=e||r.c(i.timeMs,i.data.byteLength),i}),(function(e){throw e&&(e.severity=2),e}))).promise,i.Zd,n),Pe(this.g,i),i},Ie.prototype.request=Ie.prototype.request,Ie.NumBytesRemainingClass=Ne,_(Ue,ye),Ie.PendingRequest=Ue,Ue.all=Ee,Ue.notAbortable=Ae,Ue.completed=_e,Ue.aborted=be,Ue.failed=ve,G("shaka.util.IReleasable",Fe),Fe.prototype.release=function(){},G("shaka.util.EventManager",Be),Be.prototype.release=function(){this.$a(),this.a=null},Be.prototype.release=Be.prototype.release,Be.prototype.w=function(e,t,r,n){this.a&&(e=new Ke(e,t,r,n),this.a.push(t,e))},Be.prototype.listen=Be.prototype.w,Be.prototype.da=function(e,t,r,n){var i=this;this.w(e,t,(function n(o){i.ea(e,t,n),r(o)}),n)},Be.prototype.listenOnce=Be.prototype.da,Be.prototype.ea=function(e,t,r){if(this.a)for(var n=this.a.get(t)||[],i=(n=f(n)).next();!i.done;i=n.next())(i=i.value).target!=e||r!=i.listener&&r||(i.ea(),this.a.remove(t,i))},Be.prototype.unlisten=Be.prototype.ea,Be.prototype.$a=function(){if(this.a){for(var e=this.a.getAll(),t=(e=f(e)).next();!t.done;t=e.next())t.value.ea();this.a.a={}}},Be.prototype.removeAll=Be.prototype.$a,Ke.prototype.ea=function(){this.target.removeEventListener(this.type,this.listener,this.a),this.listener=this.target=null,this.a=!1},Ke.prototype.unlisten=Ke.prototype.ea;var Ge=void 0;function Ve(e){if(e=new Uint8Array(e),new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(0,!0)+4!=e.byteLength)throw new RangeError("Malformed FairPlay init data");return new Z(e=st(e.subarray(4),!0)).sa}function He(e,t,r){function n(e){new DataView(o.buffer).setUint32(a,e.byteLength,!0),a+=4,i(e)}function i(e){o.set(e,a),a+=e.byteLength}if(!r||!r.byteLength)throw new me(2,6,6015);t="string"==typeof t?new Uint8Array(ct(t,!0)):new Uint8Array(t);var o=new Uint8Array(8+e.byteLength+t.byteLength+r.byteLength),a=0;return i(new Uint8Array(e)),n(t),n(new Uint8Array(r)),o}function Ye(e,t){for(var r=[],n=f(e),i=n.next();!i.done;i=n.next())r.push(t(i.value));return r}function ze(e,t){for(var r=f(e),n=r.next();!n.done;n=r.next())if(!t(n.value))return!1;return!0}function We(e){var t=new Map;return Object.keys(e).forEach((function(r){t.set(r,e[r])})),t}function $e(e){var t={};return e.forEach((function(e,r){t[r]=e})),t}function qe(e,t){var r=e;return t&&(r+='; codecs="'+t+'"'),r}function Xe(e){var t=(e=e.split("."))[0];return e.pop(),[t,e.join(".")]}G("shaka.util.FairPlayUtils.defaultGetContentId",Ve),G("shaka.util.FairPlayUtils.initDataTransform",He);var Je=(new Map).set("codecs","codecs").set("frameRate","framerate").set("bandwidth","bitrate").set("width","width").set("height","height").set("channelsCount","channels");function Ze(){return!(!e.MediaSource||!MediaSource.isTypeSupported)}function Qe(e){return""!=nt().canPlayType(e)}function et(){return!!navigator.vendor&&navigator.vendor.includes("Apple")&&!rt("Tizen")}function tt(){if(!et())return null;var e=navigator.userAgent.match(/Version\/(\d+)/);return e||(e=navigator.userAgent.match(/OS (\d+)(?:_\d+)?/))?parseInt(e[1],10):null}function rt(e){return(navigator.userAgent||"").includes(e)}function nt(){return ot||(it||(it=new fe((function(){ot=null}))),(ot=document.querySelector("video")||document.querySelector("audio"))||(ot=document.createElement("video")),it.R(1),ot)}var it=null,ot=null;function at(e){if(!e)return"";239==(e=new Uint8Array(e))[0]&&187==e[1]&&191==e[2]&&(e=e.subarray(3)),e=dt(e),e=escape(e);try{return decodeURIComponent(e)}catch(e){throw new me(2,2,2004)}}function st(e,t,r){if(!e)return"";if(!r&&0!=e.byteLength%2)throw new me(2,2,2004);if(e instanceof ArrayBuffer)var n=e;else(r=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),n=r.buffer;e=Math.floor(e.byteLength/2),r=new Uint16Array(e),n=new DataView(n);for(var i=0;i<e;i++)r[i]=n.getUint16(2*i,t);return dt(r)}function lt(e){var t=new Uint8Array(e);if(239==t[0]&&187==t[1]&&191==t[2])return at(t);if(254==t[0]&&255==t[1])return st(t.subarray(2),!1);if(255==t[0]&&254==t[1])return st(t.subarray(2),!0);var r=function(e,t){return e.byteLength<=t||32<=e[t]&&126>=e[t]}.bind(null,t);if(0==t[0]&&0==t[2])return st(e,!1);if(0==t[1]&&0==t[3])return st(e,!0);if(r(0)&&r(1)&&r(2)&&r(3))return at(e);throw new me(2,2,2003)}function ut(e){e=encodeURIComponent(e),e=unescape(e);for(var t=new Uint8Array(e.length),r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t.buffer}function ct(e,t){for(var r=new Uint8Array(2*e.length),n=new DataView(r.buffer),i=0;i<e.length;++i)n.setUint16(2*i,e.charCodeAt(i),t);return r.buffer}function dt(e){if(!ft)for(var t=function(e){try{var t=new Uint8Array(e);return 0<String.fromCharCode.apply(null,t).length}catch(e){return!1}},r={size:65536};0<r.size;(r={size:r.size}).size/=2)if(t(r.size)){ft=function(e){return function(t){for(var r="",n=0;n<t.length;n+=e.size)r+=String.fromCharCode.apply(null,t.subarray(n,n+e.size));return r}}(r);break}return ft(e)}G("shaka.util.StringUtils.fromUTF8",at),G("shaka.util.StringUtils.fromUTF16",st),G("shaka.util.StringUtils.fromBytesAutoDetect",lt),G("shaka.util.StringUtils.toUTF8",ut),G("shaka.util.StringUtils.toUTF16",ct);var ft=null;G("shaka.util.StringUtils.resetFromCharCode",(function(){ft=null}));var ht={zc:function(t,r){var n=dt(t);return r=null==r||r,n=e.btoa(n).replace(/\+/g,"-").replace(/\//g,"_"),r?n:n.replace(/=*$/,"")}};function pt(e){var t=this;this.B=e,this.u=new Set,this.h=this.l=null,this.S=!1,this.K=0,this.a=null,this.i=new Be,this.b=new Map,this.s=[],this.m=new ge,this.f=null,this.g=function(r){t.m.reject(r),e.onError(r)},this.pa=new Map,this.W=new Map,this.O=new fe((function(){return function(e){var t=e.pa,r=e.W;r.clear(),t.forEach((function(e,t){return r.set(t,e)})),(t=Array.from(r.values())).length&&t.every((function(e){return"expired"==e}))&&e.g(new me(2,6,6014)),e.B.qc($e(r))}(t)})),this.c=!1,this.na=new ge,this.D=!1,this.F=[],this.oa=!1,this.$=new fe((function(){!function(e){e.b.forEach((function(t,r){var n=t.hd,i=r.expiration;isNaN(i)&&(i=1/0),i!=n&&(e.B.onExpirationUpdated(r.sessionId,i),t.hd=i)}))}(t)})).Na(1),this.m.catch((function(){}))}function mt(e,t,r){return e.s=r,e.D=0<r.length,gt(e,t)}function gt(t,r){var n=function(t){if(0==(t=We(t.f.clearKeys)).size)return null;var r=[],n=[];t.forEach((function(e,t){var i=ht.Qc(t),o=ht.Qc(e);i={kty:"oct",kid:ht.zc(i,!1),k:ht.zc(o,!1)},r.push(i),n.push(i.kid)})),t=JSON.stringify({keys:r});var i=JSON.stringify({kids:n});return i=[{initData:new Uint8Array(ut(i)),initDataType:"keyids"}],{keySystem:"org.w3.clearkey",licenseServerUri:"data:application/json;base64,"+e.btoa(t),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:i,keyIds:[]}}(t);if(n)for(var i=f(r),o=i.next();!o.done;o=i.next())o.value.drmInfos=[n];for((n=r.some((function(e){return 0<e.drmInfos.length})))||function(e,t){var r=[];t.forEach((function(e,t){r.push({keySystem:t,licenseServerUri:e,distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:[],keyIds:[]})}));for(var n=f(e),i=n.next();!i.done;i=n.next())i.value.drmInfos=r}(r,o=We(t.f.servers)),o=(i=f(r)).next();!o.done;o=i.next())for(var a=(o=f(o.value.drmInfos)).next();!a.done;a=o.next())It(a.value,We(t.f.servers),We(t.f.advanced||{}));return(o=function(e,t){for(var r=new Set,n=f(t),i=n.next();!i.done;i=n.next()){var o=f(i.value.drmInfos);for(i=o.next();!i.done;i=o.next())r.add(i.value)}for(n=f(r),i=n.next();!i.done;i=n.next())It(i.value,We(e.f.servers),We(e.f.advanced||{}));o=e.D?"required":"optional";var a=e.D?["persistent-license"]:["temporary"];for(n=new Map,r=f(r),i=r.next();!i.done;i=r.next())i=i.value,n.set(i.keySystem,{audioCapabilities:[],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:o,sessionTypes:a,label:i.keySystem,drmInfos:[]});for(r=f(t),i=r.next();!i.done;i=r.next()){i=i.value,o=i.audio,a=i.video;var s=o?qe(o.mimeType,o.codecs):"",l=a?qe(a.mimeType,a.codecs):"",u=f(i.drmInfos);for(i=u.next();!i.done;i=u.next()){i=i.value;var c=n.get(i.keySystem);c.drmInfos.push(i),i.distinctiveIdentifierRequired&&(c.distinctiveIdentifier="required"),i.persistentStateRequired&&(c.persistentState="required"),o&&c.audioCapabilities.push({robustness:i.audioRobustness||"",contentType:s}),a&&c.videoCapabilities.push({robustness:i.videoRobustness||"",contentType:l})}}return n}(t,r)).size?(o=Tt(t,o),n?o:o.catch((function(){}))):(t.S=!0,Promise.resolve())}function yt(e){return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:if(!(e.l&&e.a&&e.a.serverCertificate&&e.a.serverCertificate.length)){t.A(0);break}return k(t,3),S(t,e.l.setServerCertificate(e.a.serverCertificate),5);case 5:C(t,0);break;case 3:return r=R(t),t.return(Promise.reject(new me(2,6,6004,r.message)))}}))}))}function vt(e){var t=e.a?e.a.initData:[];return t.forEach((function(t){return wt(e,t.initDataType,t.initData)})),e.s.forEach((function(t){return St(e,t)})),t.length||e.s.length||e.m.resolve(),e.m}function bt(e,t,r){for(var n=e.b.values(),i=(n=f(n)).next();!i.done;i=n.next())if(ht.za(r,i.value.initData)&&!rt("Tizen 2"))return;wt(e,t,r)}function _t(e){return e?e.keySystem:""}function At(e,t){return!!rt("Edge/")||e.u.has(t)}function Et(e){return e=Ye(e=e.b.keys(),(function(e){return e.sessionId})),Array.from(e)}function Tt(e,t){if(1==t.size&&t.has(""))return Promise.reject(new me(2,6,6e3));for(var r=f(t.values()),n=r.next();!n.done;n=r.next())0==(n=n.value).audioCapabilities.length&&delete n.audioCapabilities,0==n.videoCapabilities.length&&delete n.videoCapabilities;var i=r=new ge;return[!0,!1].forEach(function(e){var r=this;t.forEach((function(t,n){t.drmInfos.some((function(e){return!!e.licenseServerUri}))==e&&(i=i.catch(function(){if(!this.c)return navigator.requestMediaKeySystemAccess(n,[t])}.bind(r)))}))}.bind(e)),i=(i=i.catch((function(){return Promise.reject(new me(2,6,6001))}))).then(function(e){if(this.c)return Promise.reject();this.u.clear();var r=e.getConfiguration(),n=r.videoCapabilities||[],i=f(r.audioCapabilities||[]);for(r=i.next();!r.done;r=i.next())this.u.add(r.value.contentType);for(r=(n=f(n)).next();!r.done;r=n.next())this.u.add(r.value.contentType);n=e.keySystem,i=[];var o=[],a=[],s=[];return function(e,t,r,n,i){e.forEach((function(e){if(t.includes(e.licenseServerUri)||t.push(e.licenseServerUri),e.serverCertificate&&(r.some((function(t){return ht.za(t,e.serverCertificate)}))||r.push(e.serverCertificate)),e.initData&&e.initData.forEach((function(e){n.some((function(t){return!(!t.keyId||t.keyId!=e.keyId)||t.initDataType==e.initDataType&&ht.za(t.initData,e.initData)}))||n.push(e)})),e.keyIds)for(var o=0;o<e.keyIds.length;++o)i.includes(e.keyIds[o])||i.push(e.keyIds[o])}))}((r=t.get(e.keySystem)).drmInfos,i,o,a,s),this.a={keySystem:n,licenseServerUri:i[0],distinctiveIdentifierRequired:"required"==r.distinctiveIdentifier,persistentStateRequired:"required"==r.persistentState,audioRobustness:(r.audioCapabilities?r.audioCapabilities[0].robustness:"")||"",videoRobustness:(r.videoCapabilities?r.videoCapabilities[0].robustness:"")||"",serverCertificate:o[0],initData:a,keyIds:s},this.a.licenseServerUri?e.createMediaKeys():Promise.reject(new me(2,6,6012,this.a.keySystem))}.bind(e)).then(function(e){if(this.c)return Promise.reject();this.l=e,this.S=!0}.bind(e)).catch(function(e){if(!this.c)return this.a=null,this.u.clear(),e instanceof me?Promise.reject(e):Promise.reject(new me(2,6,6002,e.message))}.bind(e)),r.reject(),i}function St(e,t){try{var r=e.l.createSession("persistent-license")}catch(t){var n=new me(2,6,6005,t.message);return e.g(n),Promise.reject(n)}e.i.w(r,"message",e.fe.bind(e)),e.i.w(r,"keystatuseschange",e.de.bind(e));var i={initData:null,loaded:!1,hd:1/0,ya:null};return e.b.set(r,i),r.load(t).then(function(e){return this.c?Promise.reject():e?(i.loaded=!0,Pt(this)&&this.m.resolve(),r):(this.b.delete(r),void this.g(new me(2,6,6013)))}.bind(e),function(e){this.c||(this.b.delete(r),this.g(new me(2,6,6005,e.message)))}.bind(e))}function wt(e,t,r){try{var n=e.D?e.l.createSession("persistent-license"):e.l.createSession()}catch(t){return void e.g(new me(2,6,6005,t.message))}e.i.w(n,"message",e.fe.bind(e)),e.i.w(n,"keystatuseschange",e.de.bind(e)),e.b.set(n,{initData:r,loaded:!1,hd:1/0,ya:null});try{r=e.f.initDataTransform(r,e.a)}catch(r){return t=r,r instanceof me||(t=new me(2,6,6016,r)),void e.g(t)}n.generateRequest(t,r.buffer).catch((function(t){if(!e.c){if(e.b.delete(n),t.errorCode&&t.errorCode.systemCode){var r=t.errorCode.systemCode;0>r&&(r+=Math.pow(2,32)),r="0x"+r.toString(16)}e.g(new me(2,6,6006,t.message,t,r))}}))}function kt(e,t){if(_t(t).startsWith("com.apple.fps")){var r=t.serverCertificate;e=He(e,Ve(e),r)}return e}function xt(e,t){var r=t.target,n=e.b.get(r),i=e.a.licenseServerUri,o=e.f.advanced[e.a.keySystem];"individualization-request"==t.messageType&&o&&o.individualizationServer&&(i=o.individualizationServer),(i=Me([i],e.f.retryParameters)).body=t.message,i.method="POST",i.licenseRequestType=t.messageType,i.sessionId=r.sessionId,"com.microsoft.playready"!=e.a.keySystem&&"com.chromecast.playready"!=e.a.keySystem||function(e){var t=st(e.body,!0,!0);if(t.includes("PlayReadyKeyMessage")){for(var r=(t=(new DOMParser).parseFromString(t,"application/xml")).getElementsByTagName("HttpHeader"),n=0;n<r.length;++n)e.headers[r[n].querySelector("name").textContent]=r[n].querySelector("value").textContent;e.body=ht.Ba(t.querySelector("Challenge").textContent).buffer}else e.headers["Content-Type"]="text/xml; charset=utf-8"}(i),e.a.keySystem.startsWith("com.apple.fps")&&e.f.fairPlayTransform&&function(e){var t=new Uint8Array(e.body);t="spc="+ht.zc(t),e.headers["Content-Type"]="application/x-www-form-urlencoded",e.body=ut(t)}(i);var a=Date.now();e.B.ub.request(2,i).promise.then(function(e){return this.c?Promise.reject():(this.a.keySystem.startsWith("com.apple.fps")&&this.f.fairPlayTransform&&function(e){try{var t=at(e.data)}catch(e){return}"<ckc>"===(t=t.trim()).substr(0,5)&&"</ckc>"===t.substr(-6)&&(t=t.slice(5,-6));try{t=JSON.parse(t).ckc}catch(e){}e.data=ht.Ba(t).buffer}(e),this.K+=(Date.now()-a)/1e3,r.update(e.data).then(function(){var e=this;this.B.onEvent(new Se("drmsessionupdate")),n&&(n.ya&&n.ya.resolve(),new fe((function(){n.loaded=!0,Pt(e)&&e.m.resolve()})).R(Ot))}.bind(this)))}.bind(e),function(e){this.c||(e=new me(2,6,6007,e),this.g(e),n&&n.ya&&n.ya.reject(e))}.bind(e)).catch(function(e){this.c||(e=new me(2,6,6008,e.message),this.g(e),n&&n.ya&&n.ya.reject(e))}.bind(e))}function Ct(){var e=[{contentType:'video/mp4; codecs="avc1.42E01E"'},{contentType:'video/webm; codecs="vp8"'}],t=[{videoCapabilities:e,persistentState:"required",sessionTypes:["persistent-license"]},{videoCapabilities:e}],r=new Map;return e="org.w3.clearkey com.widevine.alpha com.microsoft.playready com.apple.fps.3_0 com.apple.fps.2_0 com.apple.fps.1_0 com.apple.fps com.adobe.primetime".split(" ").map((function(e){return function(e){return p((function n(){var i,o,a;return M(n,(function(n){switch(n.j){case 1:return k(n,2),S(n,navigator.requestMediaKeySystemAccess(e,t),4);case 4:return i=n.o,a=!!(o=i.getConfiguration().sessionTypes)&&o.includes("persistent-license"),rt("Tizen 3")&&(a=!1),r.set(e,{persistentState:a}),S(n,i.createMediaKeys(),5);case 5:C(n,0);break;case 2:R(n),r.set(e,null),w(n)}}))}))}(e)})),Promise.all(e).then((function(){return $e(r)}))}function Rt(e,t){var r=t.audio,n=t.video;if(r&&r.encrypted&&!At(e,qe(r.mimeType,r.codecs))||n&&n.encrypted&&!At(e,qe(n.mimeType,n.codecs)))return!1;var i=_t(e.a);return 0==t.drmInfos.length||t.drmInfos.some((function(e){return e.keySystem==i}))}function Lt(e,t){if(!e.length)return t;if(!t.length)return e;for(var r=[],n=0;n<e.length;n++)for(var i=0;i<t.length;i++)if(e[n].keySystem==t[i].keySystem){var o=e[n];i=t[i];var a=[];a=(a=a.concat(o.initData||[])).concat(i.initData||[]);var s=[];s=(s=s.concat(o.keyIds)).concat(i.keyIds),r.push({keySystem:o.keySystem,licenseServerUri:o.licenseServerUri||i.licenseServerUri,distinctiveIdentifierRequired:o.distinctiveIdentifierRequired||i.distinctiveIdentifierRequired,persistentStateRequired:o.persistentStateRequired||i.persistentStateRequired,videoRobustness:o.videoRobustness||i.videoRobustness,audioRobustness:o.audioRobustness||i.audioRobustness,serverCertificate:o.serverCertificate||i.serverCertificate,initData:a,keyIds:s});break}return r}function jt(e){return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:return r=Array.from(e.b.keys()),e.b.clear(),S(t,Promise.all(r.map((function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return k(t,2),S(t,Promise.all([e.close(),e.closed]),4);case 4:C(t,0);break;case 2:R(t),w(t)}}))}))}))),0)}}))}))}function Pt(e){return ze(e=e.b.values(),(function(e){return e.loaded}))}function It(t,r,n){!t.keySystem||"org.w3.clearkey"==t.keySystem&&t.licenseServerUri||(r.size&&(r=r.get(t.keySystem)||"",t.licenseServerUri=r),t.keyIds||(t.keyIds=[]),(n=n.get(t.keySystem))&&(t.distinctiveIdentifierRequired||(t.distinctiveIdentifierRequired=n.distinctiveIdentifierRequired),t.persistentStateRequired||(t.persistentStateRequired=n.persistentStateRequired),t.videoRobustness||(t.videoRobustness=n.videoRobustness),t.audioRobustness||(t.audioRobustness=n.audioRobustness),t.serverCertificate||(t.serverCertificate=n.serverCertificate)),e.cast&&e.cast.__platform__&&"com.microsoft.playready"==t.keySystem&&(t.keySystem="com.chromecast.playready"))}G("shaka.util.Uint8ArrayUtils.toBase64",ht.zc),ht.Ba=function(t){t=e.atob(t.replace(/-/g,"+").replace(/_/g,"/"));for(var r=new Uint8Array(t.length),n=0;n<t.length;++n)r[n]=t.charCodeAt(n);return r},G("shaka.util.Uint8ArrayUtils.fromBase64",ht.Ba),ht.Qc=function(t){for(var r=new Uint8Array(t.length/2),n=0;n<t.length;n+=2)r[n/2]=e.parseInt(t.substr(n,2),16);return r},G("shaka.util.Uint8ArrayUtils.fromHex",ht.Qc),ht.Ac=function(e){for(var t="",r=0;r<e.length;++r){var n=e[r].toString(16);1==n.length&&(n="0"+n),t+=n}return t},G("shaka.util.Uint8ArrayUtils.toHex",ht.Ac),ht.za=function(e,t){if(!e&&!t)return!0;if(!e||!t||e.length!=t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!=t[r])return!1;return!0},G("shaka.util.Uint8ArrayUtils.equal",ht.za),ht.concat=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];for(var n=r=0;n<t.length;++n)r+=t[n].length;r=new Uint8Array(r);for(var i=n=0;i<t.length;++i)r.set(t[i],n),n+=t[i].length;return r},G("shaka.util.Uint8ArrayUtils.concat",ht.concat),(n=pt.prototype).destroy=function(){var e=this;return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.c?S(t,e.na,0):(e.c=!0,S(t,function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.i.release(),e.i=null,e.m.reject(),e.$.stop(),e.$=null,e.O.stop(),e.O=null,S(t,jt(e),2);case 2:if(!e.h){t.A(3);break}return k(t,4),S(t,e.h.setMediaKeys(null),6);case 6:C(t,5);break;case 4:R(t);case 5:e.h=null;case 3:e.a=null,e.u.clear(),e.l=null,e.s=[],e.f=null,e.g=null,e.B=null,w(t)}}))}))}(e),4));case 4:e.na.resolve(),t.A(0)}}))}))},n.configure=function(e){this.f=e},n.Hb=function(e){var t=this;if(!this.l)return this.i.da(e,"encrypted",(function(){t.g(new me(2,6,6010))})),Promise.resolve();this.h=e,this.i.da(this.h,"play",(function(){for(var e=0;e<t.F.length;e++)xt(t,t.F[e]);t.oa=!0,t.F=[]})),"webkitCurrentPlaybackTargetIsWireless"in this.h&&this.i.w(this.h,"webkitcurrentplaybacktargetiswirelesschanged",(function(){return jt(t)})),e=(e=this.h.setMediaKeys(this.l)).catch((function(e){return Promise.reject(new me(2,6,6003,e.message))}));var r=yt(this);return Promise.all([e,r]).then((function(){if(t.c)return Promise.reject();vt(t),t.a.initData.length||t.s.length||t.i.w(t.h,"encrypted",(function(e){return bt(t,e.initDataType,new Uint8Array(e.initData))}))})).catch((function(e){if(!t.c)return Promise.reject(e)}))},n.Lb=function(){for(var e=1/0,t=this.b.keys(),r=(t=f(t)).next();!r.done;r=t.next())r=r.value,isNaN(r.expiration)||(e=Math.min(e,r.expiration));return e},n.fe=function(e){this.h&&this.f.delayLicenseRequestUntilPlayed&&this.h.paused&&!this.oa?this.F.push(e):xt(this,e)},n.de=function(e){e=e.target;var t=this.b.get(e),r=!1;e.keyStatuses.forEach(function(e,n){if("string"==typeof n){var i=n;n=e,e=i}if("com.microsoft.playready"==this.a.keySystem&&16==n.byteLength&&!rt("Tizen")&&!rt("VITIS")){var o=(i=new DataView(n)).getUint32(0,!0),a=i.getUint16(4,!0),s=i.getUint16(6,!0);i.setUint32(0,o,!1),i.setUint16(4,a,!1),i.setUint16(6,s,!1)}"com.microsoft.playready"==this.a.keySystem&&"status-pending"==e&&(e="usable"),"status-pending"!=e&&(t.loaded=!0),"expired"==e&&(r=!0),i=ht.Ac(new Uint8Array(n)),this.pa.set(i,e)}.bind(this));var n=e.expiration-Date.now();(0>n||r&&1e3>n)&&t&&!t.ya&&(this.b.delete(e),e.close().catch((function(){}))),Pt(this)&&(this.m.resolve(),this.O.R(Dt))};var Ot=5,Dt=.5;function Mt(){this.a=new muxjs.mp4.CaptionParser,this.g=[],this.f={}}function Nt(){}function Ut(e){return!e||1==e.length&&1e-6>e.end(0)-e.start(0)?null:e.length?e.end(e.length-1):null}function Ft(e,t,r){return r=void 0===r?0:r,!(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0)||t>e.end(e.length-1))&&t+r>=e.start(0)}function Bt(e,t){if(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0))return 0;for(var r=0,n=e.length-1;0<=n&&e.end(n)>t;--n)r+=e.end(n)-Math.max(e.start(n),t);return r}function Kt(e){if(!e)return[];for(var t=[],r=0;r<e.length;r++)t.push({start:e.start(r),end:e.end(r)});return t}Mt.prototype.init=function(e){var t=muxjs.mp4.probe;e=new Uint8Array(e),this.g=t.videoTrackIds(e),this.f=t.timescale(e),this.a.init()},Mt.prototype.b=function(e,t){var r=new Uint8Array(e);(r=this.a.parse(r,this.g,this.f))&&r.captions&&t(r.captions),this.a.clearParsedCaptions()},Mt.prototype.c=function(){this.a.resetCaptionStream()},Nt.prototype.init=function(){},Nt.prototype.b=function(){},Nt.prototype.c=function(){};var Gt={Ke:function(e,t){return e.reduce(function(e,t,r){return t.catch(e.bind(null,r))}.bind(null,t),Promise.reject())},Gc:function(e,t){return e.concat(t)},oc:function(){},Ia:function(e){return null!=e}};function Vt(e,t){if(0==t.length)return e;var r=t.map((function(e){return new Z(e)}));return e.map((function(e){return new Z(e)})).map((function(e){return r.map(e.resolve.bind(e))})).reduce(Gt.Gc,[]).map((function(e){return e.toString()}))}function Ht(e,t){return{keySystem:e,licenseServerUri:"",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:t||[],keyIds:[]}}var Yt={Pa:"video",Eb:"audio",ra:"text",Cg:"image",Ag:"application"};function zt(){this.a=new muxjs.mp4.Transmuxer({keepOriginalTimestamps:!0}),this.b=null,this.g=[],this.c=[],this.f=!1,this.a.on("data",this.i.bind(this)),this.a.on("done",this.h.bind(this))}function Wt(t,r){return!(!e.muxjs||"mp2t"!=t.toLowerCase().split(";")[0].split("/")[1])&&(r?MediaSource.isTypeSupported($t(r,t)):MediaSource.isTypeSupported($t("audio",t))||MediaSource.isTypeSupported($t("video",t)))}function $t(e,t){var r=t.replace(/mp2t/i,"mp4");"audio"==e&&(r=r.replace("video","audio"));var n=/avc1\.(66|77|100)\.(\d+)/.exec(r);if(n){var i="avc1.",o=n[1],a=Number(n[2]);i=("66"==o?i+"4200":"77"==o?i+"4d00":i+"6400")+(a>>4).toString(16),i+=(15&a).toString(16),r=r.replace(n[0],i)}return r}function qt(e,t,r){this.startTime=e,this.direction=tr,this.endTime=t,this.payload=r,this.region=new ur,this.position=null,this.positionAlign=Xt,this.size=100,this.textAlign=Jt,this.writingMode=rr,this.lineInterpretation=nr,this.line=null,this.lineHeight="",this.lineAlign=ir,this.displayAlign=Qt,this.fontSize=this.backgroundImage=this.backgroundColor=this.color="",this.fontWeight=ar,this.fontStyle=sr,this.fontFamily="",this.textDecoration=[],this.wrapLine=!0,this.id="",this.nestedCues=[],this.spacer=!1}zt.prototype.destroy=function(){return this.a.dispose(),this.a=null,Promise.resolve()},zt.prototype.i=function(e){this.c=e.captions;var t=new Uint8Array(e.data.byteLength+e.initSegment.byteLength);t.set(e.initSegment,0),t.set(e.data,e.initSegment.byteLength),this.g.push(t)},zt.prototype.h=function(){var e={data:ht.concat.apply(null,this.g),captions:this.c};this.b.resolve(e),this.f=!1},G("shaka.text.Cue",qt);var Xt="auto";qt.positionAlign={LEFT:"line-left",RIGHT:"line-right",CENTER:"center",AUTO:Xt};var Jt="center",Zt={LEFT:"left",RIGHT:"right",CENTER:Jt,START:"start",END:"end"};qt.textAlign=Zt;var Qt="after",er={BEFORE:"before",CENTER:"center",AFTER:Qt};qt.displayAlign=er;var tr="ltr";qt.direction={HORIZONTAL_LEFT_TO_RIGHT:tr,HORIZONTAL_RIGHT_TO_LEFT:"rtl"};var rr="horizontal-tb";qt.writingMode={HORIZONTAL_TOP_TO_BOTTOM:rr,VERTICAL_LEFT_TO_RIGHT:"vertical-lr",VERTICAL_RIGHT_TO_LEFT:"vertical-rl"};var nr=0;qt.lineInterpretation={LINE_NUMBER:nr,PERCENTAGE:1};var ir="start",or={CENTER:"center",START:ir,END:"end"};qt.lineAlign=or;var ar=400;qt.fontWeight={NORMAL:ar,BOLD:700};var sr="normal",lr={NORMAL:sr,ITALIC:"italic",OBLIQUE:"oblique"};function ur(){this.id="",this.regionAnchorY=this.regionAnchorX=this.viewportAnchorY=this.viewportAnchorX=0,this.height=this.width=100,this.viewportAnchorUnits=this.widthUnits=this.heightUnits=cr,this.scroll=dr}qt.fontStyle=lr,qt.textDecoration={UNDERLINE:"underline",LINE_THROUGH:"lineThrough",OVERLINE:"overline"},G("shaka.text.CueRegion",ur);var cr=1;ur.units={PX:0,PERCENTAGE:cr,LINES:2};var dr="";function fr(e){this.g=null,this.c=e,this.f=this.m=0,this.h=1/0,this.b=this.a=null,this.l="",this.i=new Map}ur.scrollMode={NONE:dr,UP:"up"};var hr={};function pr(t){return!!(hr[t]||e.muxjs&&"application/cea-608"==t)}function mr(e,t){"application/cea-608"!=t&&(e.g=new hr[t])}function gr(e,t,r,n,i){for(var o=r+" "+n,a=new Map,s=(t=f(t)).next();!s.done;s=t.next()){var l=s.value;s=l.stream,a.has(s)||a.set(s,new Map),a.get(s).has(o)||a.get(s).set(o,[]),l.startTime+=i,l.endTime+=i,l.startTime>=e.f&&l.startTime<e.h&&(l=new qt(l.startTime,l.endTime,l.text),a.get(s).get(o).push(l),s==e.l&&e.c.append([l]))}for(o=(i=f(a.keys())).next();!o.done;o=i.next())for(o=o.value,e.i.has(o)||e.i.set(o,new Map),s=(t=f(a.get(o).keys())).next();!s.done;s=t.next())s=s.value,l=a.get(o).get(s),e.i.get(o).set(s,l);e.a=null==e.a?Math.max(r,e.f):Math.min(e.a,Math.max(r,e.f)),e.b=Math.max(e.b,Math.min(n,e.h))}function yr(e,t,r){this.f=e,this.g=r,this.b={},this.a=null,this.c={},this.i=new Be,this.u=!1,this.l={},this.m=t,e=this.s=new ge,t=new MediaSource,this.i.da(t,"sourceopen",e.resolve),this.f.src=vr(t),this.h=t}G("shaka.text.TextEngine.registerParser",(function(e,t){hr[e]=t})),G("shaka.text.TextEngine.unregisterParser",(function(e){delete hr[e]})),fr.prototype.destroy=function(){return this.c=this.g=null,this.i.clear(),Promise.resolve()},fr.prototype.kc=function(e){try{return this.g.parseMedia(new Uint8Array(e),{periodStart:0,segmentStart:null,segmentEnd:0})[0].startTime}catch(e){throw new me(2,2,2009,e)}},fr.prototype.remove=function(e,t){return Promise.resolve().then(function(){!this.c||!this.c.remove(e,t)||null==this.a||t<=this.a||e>=this.b||(e<=this.a&&t>=this.b?this.a=this.b=null:e<=this.a&&t<this.b?this.a=t:e>this.a&&t>=this.b&&(this.b=e))}.bind(this))};var vr=e.URL.createObjectURL;function br(e){var t=qe(e.mimeType,e.codecs),r=function(e){var t=[e.mimeType];return Je.forEach((function(r,n){var i=e[n];i&&t.push(r+'="'+i+'"')})),t.join(";")}(e);return pr(t)||MediaSource.isTypeSupported(r)||Wt(t,e.type)}function _r(e,t){e.a||(e.a=new fr(e.g)),mr(e.a,t)}function Ar(e){return!e.h||"ended"==e.h.readyState}function Er(e,t){if("text"==t)var r=e.a.a;else r=!(r=Sr(e,t))||1==r.length&&1e-6>r.end(0)-r.start(0)?null:1==r.length&&0>r.start(0)?0:r.length?r.start(0):null;return r}function Tr(e,t){return"text"==t?e.a.b:Ut(Sr(e,t))}function Sr(e,t){try{return e.b[t].buffered}catch(e){return null}}function wr(t,r,n,i,o,a){return"text"==r?function(e,t,r,n){return Promise.resolve().then(function(){if(this.g&&this.c)if(null==r||null==n)this.g.parseInit(new Uint8Array(t));else{var e={periodStart:this.m,segmentStart:r,segmentEnd:n};e=this.g.parseMedia(new Uint8Array(t),e).filter(function(e){return e.startTime>=this.f&&e.startTime<this.h}.bind(this)),this.c.append(e),null==this.a&&(this.a=Math.max(r,this.f)),this.b=Math.min(n,this.h)}}.bind(e))}(t.a,n,i,o):t.l[r]?function(e,t){e.f=!0,e.b=new ge,e.g=[],e.c=[];var r=new Uint8Array(t);return e.a.push(r),e.a.flush(),e.f&&e.b.reject(new me(2,3,3018)),e.b}(t.l[r],n).then(function(e){return this.a||_r(this,"text/vtt"),e.captions&&e.captions.length&&gr(this.a,e.captions,i,o,this.b.video.timestampOffset),Cr(this,r,this.re.bind(this,r,e.data.buffer))}.bind(t)):(a&&e.muxjs&&(t.a||_r(t,"text/vtt"),null==i&&null==o?t.m.init(n):t.m.b(n,(function(e){e.length&&gr(t.a,e,i,o,t.b.video.timestampOffset)}))),Cr(t,r,t.re.bind(t,r,n)))}function kr(e,t){var r=Tr(e,"video")||0;!function(e,t,r){if(e.l=t,t=e.i.get(t))for(var n=f(t.keys()),i=n.next();!i.done;i=n.next())(i=t.get(i.value).filter((function(e){return e.endTime<=r})))&&e.c.append(i)}(e.a,t,r)}function xr(e,t){return"text"==t?e.a?(e.m.c(),e.a.remove(0,1/0)):Promise.resolve():Cr(e,t,e.se.bind(e,t,0,e.h.duration))}function Cr(e,t,r){if(e.u)return Promise.reject();if(r={start:r,p:new ge},e.c[t].push(r),1==e.c[t].length)try{r.start()}catch(n){"QuotaExceededError"==n.name?r.p.reject(new me(2,3,3017,t)):r.p.reject(new me(2,3,3015,n)),Lr(e,t)}return r.p}function Rr(e,t){if(e.u)return Promise.reject();var r,n=[];for(r in e.b){var i=new ge,o={start:function(e){e.resolve()}.bind(null,i),p:i};e.c[r].push(o),n.push(i),1==e.c[r].length&&o.start()}return Promise.all(n).then(function(){try{t()}catch(t){var e=Promise.reject(new me(2,3,3015,t))}for(var r in this.b)Lr(this,r);return e}.bind(e),function(e){throw e}.bind(e))}function Lr(e,t){e.c[t].shift();var r=e.c[t][0];if(r)try{r.start()}catch(n){r.p.reject(new me(2,3,3015,n)),Lr(e,t)}}function jr(e,t){return e=Ir(e),t=Ir(t),e.split("-")[0]==t.split("-")[0]}function Pr(e,t){e=Ir(e),t=Ir(t);var r=e.split("-"),n=t.split("-");return r[0]==n[0]&&1==r.length&&2==n.length}function Ir(e){var t=e.split("-");return e=t[0]||"",t=t[1]||"",e=e.toLowerCase(),e=Mr.get(e)||e,(t=t.toUpperCase())?e+"-"+t:e}function Or(e){return e.language?Ir(e.language):e.audio&&e.audio.language?Ir(e.audio.language):e.video&&e.video.language?Ir(e.video.language):"und"}function Dr(e,t){for(var r=Ir(e),n=new Set,i=f(t),o=i.next();!o.done;o=i.next())n.add(Ir(o.value));for(o=(i=f(n)).next();!o.done;o=i.next())if((o=o.value)==r)return o;for(o=(i=f(n)).next();!o.done;o=i.next())if(Pr(o=o.value,r))return o;for(o=(i=f(n)).next();!o.done;o=i.next()){var a=o=o.value,s=r;if(a=Ir(a),s=Ir(s),a=a.split("-"),s=s.split("-"),2==a.length&&2==s.length&&a[0]==s[0])return o}for(o=(n=f(n)).next();!o.done;o=n.next())if(Pr(r,i=o.value))return i;return null}(n=yr.prototype).destroy=function(){var e=this;this.u=!0;var t,r=[];for(t in this.c){var n=this.c[t],i=n[0];for(this.c[t]=n.slice(0,1),i&&r.push(i.p.catch(Gt.oc)),i=1;i<n.length;++i)n[i].p.reject()}for(var o in this.a&&r.push(this.a.destroy()),this.g&&r.push(this.g.destroy()),this.l)r.push(this.l[o].destroy());return Promise.all(r).then((function(){e.i&&(e.i.release(),e.i=null),e.f&&(e.f.removeAttribute("src"),e.f.load(),e.f=null),e.h=null,e.a=null,e.g=null,e.b={},e.l={},e.m=null,e.c={}}))},n.init=function(e,t){var r=this;return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return i=Yt,S(n,r.s,2);case 2:e.forEach((function(e,n){var o=qe(e.mimeType,e.codecs);n==i.ra?_r(r,o):(!t&&MediaSource.isTypeSupported(o)||!Wt(o,n)||(r.l[n]=new zt,o=$t(n,o)),o=r.h.addSourceBuffer(o),r.i.w(o,"error",r.lg.bind(r,n)),r.i.w(o,"updateend",r.xb.bind(r,n)),r.b[n]=o,r.c[n]=[])})),w(n)}}))}))},n.Sc=function(e){if(e.total=Kt(this.f.buffered),e.audio=Kt(Sr(this,"audio")),e.video=Kt(Sr(this,"video")),e.text=[],this.a){var t=this.a.a,r=this.a.b;null!=t&&null!=r&&e.text.push({start:t,end:r})}},n.remove=function(e,t,r){return"text"==e?this.a.remove(t,r):Cr(this,e,this.se.bind(this,e,t,r))},n.flush=function(e){return"text"==e?Promise.resolve():Cr(this,e,this.Pe.bind(this,e))},n.endOfStream=function(e){return Rr(this,function(){Ar(this)||(e?this.h.endOfStream(e):this.h.endOfStream())}.bind(this))},n.xa=function(e){return Rr(this,function(){this.h.duration=e}.bind(this))},n.Y=function(){return this.h.duration},n.re=function(e,t){this.b[e].appendBuffer(t)},n.se=function(e,t,r){r<=t?this.xb(e):this.b[e].remove(t,r)},n.Be=function(e){var t=this.b[e].appendWindowStart,r=this.b[e].appendWindowEnd;this.b[e].abort(),this.b[e].appendWindowStart=t,this.b[e].appendWindowEnd=r,this.xb(e)},n.Pe=function(e){this.f.currentTime-=.001,this.xb(e)},n.kg=function(e,t){0>t&&(t+=.001),this.b[e].timestampOffset=t,this.xb(e)},n.hg=function(e,t,r){this.b[e].appendWindowStart=0,this.b[e].appendWindowEnd=r,this.b[e].appendWindowStart=t,this.xb(e)},n.lg=function(e){this.c[e][0].p.reject(new me(2,3,3014,this.f.error?this.f.error.code:0))},n.xb=function(e){var t=this.c[e][0];t&&(t.p.resolve(),Lr(this,e))};var Mr=new Map([["aar","aa"],["abk","ab"],["afr","af"],["aka","ak"],["alb","sq"],["amh","am"],["ara","ar"],["arg","an"],["arm","hy"],["asm","as"],["ava","av"],["ave","ae"],["aym","ay"],["aze","az"],["bak","ba"],["bam","bm"],["baq","eu"],["bel","be"],["ben","bn"],["bih","bh"],["bis","bi"],["bod","bo"],["bos","bs"],["bre","br"],["bul","bg"],["bur","my"],["cat","ca"],["ces","cs"],["cha","ch"],["che","ce"],["chi","zh"],["chu","cu"],["chv","cv"],["cor","kw"],["cos","co"],["cre","cr"],["cym","cy"],["cze","cs"],["dan","da"],["deu","de"],["div","dv"],["dut","nl"],["dzo","dz"],["ell","el"],["eng","en"],["epo","eo"],["est","et"],["eus","eu"],["ewe","ee"],["fao","fo"],["fas","fa"],["fij","fj"],["fin","fi"],["fra","fr"],["fre","fr"],["fry","fy"],["ful","ff"],["geo","ka"],["ger","de"],["gla","gd"],["gle","ga"],["glg","gl"],["glv","gv"],["gre","el"],["grn","gn"],["guj","gu"],["hat","ht"],["hau","ha"],["heb","he"],["her","hz"],["hin","hi"],["hmo","ho"],["hrv","hr"],["hun","hu"],["hye","hy"],["ibo","ig"],["ice","is"],["ido","io"],["iii","ii"],["iku","iu"],["ile","ie"],["ina","ia"],["ind","id"],["ipk","ik"],["isl","is"],["ita","it"],["jav","jv"],["jpn","ja"],["kal","kl"],["kan","kn"],["kas","ks"],["kat","ka"],["kau","kr"],["kaz","kk"],["khm","km"],["kik","ki"],["kin","rw"],["kir","ky"],["kom","kv"],["kon","kg"],["kor","ko"],["kua","kj"],["kur","ku"],["lao","lo"],["lat","la"],["lav","lv"],["lim","li"],["lin","ln"],["lit","lt"],["ltz","lb"],["lub","lu"],["lug","lg"],["mac","mk"],["mah","mh"],["mal","ml"],["mao","mi"],["mar","mr"],["may","ms"],["mkd","mk"],["mlg","mg"],["mlt","mt"],["mon","mn"],["mri","mi"],["msa","ms"],["mya","my"],["nau","na"],["nav","nv"],["nbl","nr"],["nde","nd"],["ndo","ng"],["nep","ne"],["nld","nl"],["nno","nn"],["nob","nb"],["nor","no"],["nya","ny"],["oci","oc"],["oji","oj"],["ori","or"],["orm","om"],["oss","os"],["pan","pa"],["per","fa"],["pli","pi"],["pol","pl"],["por","pt"],["pus","ps"],["que","qu"],["roh","rm"],["ron","ro"],["rum","ro"],["run","rn"],["rus","ru"],["sag","sg"],["san","sa"],["sin","si"],["slk","sk"],["slo","sk"],["slv","sl"],["sme","se"],["smo","sm"],["sna","sn"],["snd","sd"],["som","so"],["sot","st"],["spa","es"],["sqi","sq"],["srd","sc"],["srp","sr"],["ssw","ss"],["sun","su"],["swa","sw"],["swe","sv"],["tah","ty"],["tam","ta"],["tat","tt"],["tel","te"],["tgk","tg"],["tgl","tl"],["tha","th"],["tib","bo"],["tir","ti"],["ton","to"],["tsn","tn"],["tso","ts"],["tuk","tk"],["tur","tr"],["twi","tw"],["uig","ug"],["ukr","uk"],["urd","ur"],["uzb","uz"],["ven","ve"],["vie","vi"],["vol","vo"],["wel","cy"],["wln","wa"],["wol","wo"],["xho","xh"],["yid","yi"],["yor","yo"],["zha","za"],["zho","zh"],["zul","zu"]]),Nr={bd:function(e,t,r){function n(e,t,r){return e>=t&&e<=r}var i=e.video;return!(i&&i.width&&i.height&&(!n(i.width,t.minWidth,Math.min(t.maxWidth,r.width))||!n(i.height,t.minHeight,Math.min(t.maxHeight,r.height))||!n(i.width*i.height,t.minPixels,t.maxPixels))||e&&e.frameRate&&!n(e.frameRate,t.minFrameRate,t.maxFrameRate)||!n(e.bandwidth,t.minBandwidth,t.maxBandwidth))},Gd:function(e,t,r){var n=!1;return e.forEach((function(e){var i=e.allowedByApplication;e.allowedByApplication=Nr.bd(e,t,r),i!=e.allowedByApplication&&(n=!0)})),n},filterNewPeriod:function(e,t,r,n){n.variants=n.variants.filter((function(n){if(e&&e.S&&!Rt(e,n))return!1;var i=n.audio;return n=n.video,!(i&&!br(i)||n&&!br(n)||i&&t&&!Nr.Hd(i,t)||n&&r&&!Nr.Hd(n,r))})),n.textStreams=n.textStreams.filter((function(e){return pr(qe(e.mimeType,e.codecs))}))},Hd:function(e,t){return e.mimeType==t.mimeType&&e.codecs.split(".")[0]==t.codecs.split(".")[0]},Ed:function(e){var t=e.audio,r=e.video,n=t?t.codecs:null,i=r?r.codecs:null,o=[];i&&o.push(i),n&&o.push(n);var a=[];r&&a.push(r.mimeType),t&&a.push(t.mimeType),a=a[0]||null;var s=[];t&&s.push(t.kind),r&&s.push(r.kind),s=s[0]||null;var l=new Set;return t&&t.roles.forEach((function(e){return l.add(e)})),r&&r.roles.forEach((function(e){return l.add(e)})),e={id:e.id,active:!1,type:"variant",bandwidth:e.bandwidth,language:e.language,label:null,kind:s,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:a,codecs:o.join(", "),audioCodec:n,videoCodec:i,primary:e.primary,roles:Array.from(l),audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null},r&&(e.videoId=r.id,e.originalVideoId=r.originalId,e.width=r.width||null,e.height=r.height||null,e.frameRate=r.frameRate||null,e.pixelAspectRatio=r.pixelAspectRatio||null,e.videoBandwidth=r.bandwidth||null),t&&(e.audioId=t.id,e.originalAudioId=t.originalId,e.channelsCount=t.channelsCount,e.audioSamplingRate=t.audioSamplingRate,e.audioBandwidth=t.bandwidth||null,e.label=t.label,e.audioRoles=t.roles),e},xc:function(e){return{id:e.id,active:!1,type:"text",bandwidth:0,language:e.language,label:e.label,kind:e.kind||null,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:e.mimeType,codecs:e.codecs||null,audioCodec:null,videoCodec:null,primary:e.primary,roles:e.roles,audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:e.originalId}},Wc:function(e){return e.__shaka_id||(e.__shaka_id=Nr.yf++),e.__shaka_id},yf:0,sf:function(e){var t=Nr.Sd(e);return t.active="disabled"!=e.mode,t.type="text",t.originalTextId=e.id,"captions"==e.kind&&(t.mimeType="application/cea-608"),t},rf:function(e){var t=Nr.Sd(e);return t.active=e.enabled,t.type="variant",t.originalAudioId=e.id,"main"==e.kind?(t.primary=!0,t.roles=["main"],t.audioRoles=["main"]):t.audioRoles=[],t},Sd:function(e){return{id:Nr.Wc(e),active:!1,type:"",bandwidth:0,language:Ir(e.language),label:e.label,kind:e.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null}},rb:function(e){return e.allowedByApplication&&e.allowedByKeySystem},df:function(e){return e.filter((function(e){return Nr.rb(e)}))},Nd:function(e,t){for(var r=e.filter((function(e){return e.audio&&e.audio.channelsCount})),n=new Map,i=(r=f(r)).next();!i.done;i=r.next()){var o=(i=i.value).audio.channelsCount;n.has(o)||n.set(o,[]),n.get(o).push(i)}return 0==(r=Array.from(n.keys())).length?e:(i=r.filter((function(e){return e<=t}))).length?n.get(Math.max.apply(null,i)):n.get(Math.min.apply(null,r))},Jb:function(e,t,r){var n=e,i=e.filter((function(e){return e.primary}));i.length&&(n=i);var o=n.length?n[0].language:"";if(n=n.filter((function(e){return e.language==o})),t){var a=Dr(Ir(t),e.map((function(e){return e.language})));a&&(n=e.filter((function(e){return Ir(e.language)==a})))}if(r){if((e=Nr.Md(n,r)).length)return e}else if((e=n.filter((function(e){return 0==e.roles.length}))).length)return e;return(e=n.map((function(e){return e.roles})).reduce(Gt.Gc,[])).length?Nr.Md(n,e[0]):n},Md:function(e,t){return e.filter((function(e){return e.roles.includes(t)}))},Qd:function(e,t,r){for(var n=0;n<r.length;n++)if(r[n].audio==e&&r[n].video==t)return r[n];return null},tf:function(e){return"audio"==e.type},wf:function(e){return"video"==e.type},nf:function(e){var t=[];return e.audio&&t.push(e.audio),e.video&&t.push(e.video),t},Gg:function(e){return Nr.tf(e)?"type=audio codecs="+e.codecs+" bandwidth="+e.bandwidth+" channelsCount="+e.channelsCount+" audioSamplingRate="+e.audioSamplingRate:Nr.wf(e)?"type=video codecs="+e.codecs+" bandwidth="+e.bandwidth+" frameRate="+e.frameRate+" width="+e.width+" height="+e.height:"unexpected stream type"}};function Ur(){this.h=null,this.f=!1,this.b=new W,this.c=[],this.i=!1,this.a=this.g=null}function Fr(e,t){return e&&(t=t.filter((function(t){return Nr.bd(t,e,{width:1/0,height:1/0})}))),t.sort((function(e,t){return e.bandwidth-t.bandwidth}))}function Br(e,t){this.a=e,this.b=t}function Kr(e,t){var r=new Br(2,6),n=Hr,i=n.a,o=r.b-i.b;(0<(r.a-i.a||o)?n.c:n.b)(n.a,r,e,t)}function Gr(e,t,r,n){q([r,"has been deprecated and will be removed in",t,". We are currently at version",e,". Additional information:",n].join(" "))}function Vr(e,t,r,n){$([r,"has been deprecated and has been removed in",t,". We are now at version",e,". Additional information:",n].join(""))}G("shaka.abr.SimpleAbrManager",Ur),Ur.prototype.stop=function(){this.h=null,this.f=!1,this.c=[],this.g=null},Ur.prototype.stop=Ur.prototype.stop,Ur.prototype.init=function(e){this.h=e},Ur.prototype.init=Ur.prototype.init,Ur.prototype.chooseVariant=function(){var e=Fr(this.a.restrictions,this.c),t=this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate);this.c.length&&!e.length&&(e=[(e=Fr(null,this.c))[0]]);for(var r=e[0]||null,n=0;n<e.length;++n){var i=e[n],o=(e[n+1]||{bandwidth:1/0}).bandwidth/this.a.bandwidthUpgradeTarget;t>=i.bandwidth/this.a.bandwidthDowngradeTarget&&t<=o&&(r=i)}return this.g=Date.now(),r},Ur.prototype.chooseVariant=Ur.prototype.chooseVariant,Ur.prototype.enable=function(){this.f=!0},Ur.prototype.enable=Ur.prototype.enable,Ur.prototype.disable=function(){this.f=!1},Ur.prototype.disable=Ur.prototype.disable,Ur.prototype.segmentDownloaded=function(e,t){var r=this.b;if(!(16e3>t)){var n=8e3*t/e,i=e/1e3;r.a+=t,Y(r.b,i,n),Y(r.c,i,n)}if(null!=this.g&&this.f)e:{if(this.i){if(Date.now()-this.g<1e3*this.a.switchInterval)break e}else{if(!(128e3<=this.b.a))break e;this.i=!0}r=this.chooseVariant(),this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate),this.h(r)}},Ur.prototype.segmentDownloaded=Ur.prototype.segmentDownloaded,Ur.prototype.getBandwidthEstimate=function(){return this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate)},Ur.prototype.getBandwidthEstimate=Ur.prototype.getBandwidthEstimate,Ur.prototype.setVariants=function(e){this.c=e},Ur.prototype.setVariants=Ur.prototype.setVariants,Ur.prototype.configure=function(e){this.a=e},Ur.prototype.configure=Ur.prototype.configure,Br.prototype.toString=function(){return"v"+this.a+"."+this.b};var Hr=null,Yr="ended play playing pause pausing ratechange seeked seeking timeupdate volumechange".split(" "),zr="buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume".split(" "),Wr=["loop","playbackRate"],$r=["pause","play"],qr="abrstatuschanged adaptation buffering drmsessionupdate emsg error expirationupdated largegap loading manifestparsed onstatechange onstateidle streaming textchanged texttrackvisibility timelineregionadded timelineregionenter timelineregionexit trackschanged unloading variantchanged".split(" "),Xr={getAssetUri:2,getAudioLanguages:2,getAudioLanguagesAndRoles:2,getBufferedInfo:2,getConfiguration:2,getExpiration:2,getPlaybackRate:2,getTextLanguages:2,getTextLanguagesAndRoles:2,getTextTracks:2,getStats:5,getVariantTracks:2,isAudioOnly:10,isBuffering:1,isInProgress:1,isLive:10,isTextTrackVisible:1,keySystem:10,seekRange:1,usingEmbeddedTextTrack:2,getLoadMode:10},Jr={getPlayheadTimeAsDate:1,getPresentationStartTimeAsDate:20},Zr=[["getConfiguration","configure"]],Qr=[["isTextTrackVisible","setTextTrackVisibility"]],en="addTextTrack cancelTrickPlay configure resetConfiguration retryStreaming selectAudioLanguage selectEmbeddedTextTrack selectTextLanguage selectTextTrack selectVariantTrack selectVariantsByLabel setTextTrackVisibility trickPlay".split(" "),tn=["attach","detach","load","unload"];function rn(e){return JSON.stringify(e,(function(e,t){if("function"!=typeof t){if(t instanceof Event||t instanceof Se){var r,n={};for(r in t){var i=t[r];i&&"object"==typeof i?"detail"==r&&(n[r]=i):r in Event||(n[r]=i)}return n}if(t instanceof TimeRanges)for(n={__type__:"TimeRanges",length:t.length,start:[],end:[]},r=0;r<t.length;++r)n.start.push(t.start(r)),n.end.push(t.end(r));else n=t instanceof Uint8Array?{__type__:"Uint8Array",entries:Array.from(t)}:"number"==typeof t?isNaN(t)?"NaN":isFinite(t)?t:0>t?"-Infinity":"Infinity":t;return n}}))}function nn(e){return JSON.parse(e,(function(e,t){return"NaN"==t?NaN:"-Infinity"==t?-1/0:"Infinity"==t?1/0:t&&"object"==typeof t&&"TimeRanges"==t.__type__?function(e){return{length:e.length,start:function(t){return e.start[t]},end:function(t){return e.end[t]}}}(t):t&&"object"==typeof t&&"Uint8Array"==t.__type__?new Uint8Array(t.entries):t}))}function on(e,t,r,n,i,o){this.O=e,this.f=new fe(t),this.S=r,this.l=!1,this.F=n,this.K=i,this.B=o,this.b=this.h=!1,this.D="",this.i=null,this.m=this.ce.bind(this),this.s=this.Ff.bind(this),this.a={video:{},player:{}},this.u=0,this.c={},this.g=null,pn.add(this)}var an=!1,sn=null;function ln(e){for(var t=f(pn),r=t.next();!r.done;r=t.next())un(r.value,e)}function un(e,t){var r=e.B();e.g=new ge,e.l=!0,e.kd(r,t)}function cn(e){for(var t=f(pn),r=t.next();!r.done;r=t.next())r=r.value,an="available"==e,r.f.yc()}function dn(e){var t=sn;t.removeUpdateListener(e.m),t.removeMessageListener("urn:x-cast:com.google.shaka.v2",e.s)}function fn(e){for(var t in e.c){var r=e.c[t];delete e.c[t],r.reject(new me(1,7,7e3))}}function hn(e){e=rn(e),sn.sendMessage("urn:x-cast:com.google.shaka.v2",e,(function(){}),X)}(n=on.prototype).destroy=function(){return pn.delete(this),fn(this),sn&&dn(this),this.f&&(this.f.stop(),this.f=null),this.K=this.F=null,this.b=this.h=!1,this.s=this.m=this.g=this.c=this.a=this.i=null,Promise.resolve()},n.ga=function(){return this.b},n.nd=function(){return this.D},n.init=function(){if(e.chrome&&chrome.cast&&chrome.cast.isAvailable&&this.O.length){this.h=!0,this.f.yc();var t=new chrome.cast.SessionRequest(this.O);t=new chrome.cast.ApiConfig(t,ln.bind(this),cn.bind(this),"origin_scoped"),chrome.cast.initialize(t,(function(){}),(function(){})),an&&this.f.R(.02),(t=sn)&&t.status!=chrome.cast.SessionStatus.STOPPED?un(this,t):sn=null}},n.ud=function(e){this.i=e,this.b&&hn({type:"appData",appData:this.i})},n.cast=function(e){return this.h?an?this.b?Promise.reject(new me(1,8,8002)):(this.g=new ge,chrome.cast.requestSession(this.kd.bind(this,e),this.be.bind(this)),this.g):Promise.reject(new me(1,8,8001)):Promise.reject(new me(1,8,8e3))},n.Kb=function(){this.b&&(fn(this),sn&&(dn(this),sn.stop((function(){}),(function(){})),sn=null))},n.get=function(e,t){if("video"==e){if($r.includes(t))return this.le.bind(this,e,t)}else if("player"==e){if(Jr[t]&&!this.get("player","isLive")())return function(){};if(en.includes(t))return this.le.bind(this,e,t);if(tn.includes(t))return this.Wf.bind(this,e,t);if(Xr[t])return this.ie.bind(this,e,t)}return this.ie(e,t)},n.set=function(e,t,r){this.a[e][t]=r,hn({type:"set",targetName:e,property:t,value:r})},n.kd=function(e,t){sn=t,t.addUpdateListener(this.m),t.addMessageListener("urn:x-cast:com.google.shaka.v2",this.s),this.ce(),hn({type:"init",initState:e,appData:this.i}),this.g.resolve()},n.be=function(e){var t=8003;switch(e.code){case"cancel":t=8004;break;case"timeout":t=8005;break;case"receiver_unavailable":t=8006}this.g.reject(new me(2,8,t,e))},n.ie=function(e,t){return this.a[e][t]},n.le=function(e,t,r){for(var n=[],i=2;i<arguments.length;++i)n[i-2]=arguments[i];hn({type:"call",targetName:e,methodName:t,args:n})},n.Wf=function(e,t,r){for(var n=[],i=2;i<arguments.length;++i)n[i-2]=arguments[i];i=new ge;var o=this.u.toString();return this.u++,this.c[o]=i,hn({type:"asyncCall",targetName:e,methodName:t,args:n,id:o}),i},n.ce=function(){var e=!!sn&&"connected"==sn.status;if(this.b&&!e){for(var t in this.K(),this.a)this.a[t]={};fn(this)}this.D=(this.b=e)?sn.receiver.friendlyName:"",this.f.yc()},n.Ff=function(e,t){var r=nn(t);switch(r.type){case"event":var n=r.event;this.F(r.targetName,new Se(n.type,n));break;case"update":for(var i in n=r.update)for(var o in r=this.a[i]||{},n[i])r[o]=n[i][o];this.l&&(this.S(),this.l=!1);break;case"asyncComplete":if(i=r.id,r=r.error,o=this.c[i],delete this.c[i],o)if(r){for(n in i=new me(r.severity,r.category,r.code),r)i[n]=r[n];o.reject(i)}else o.resolve()}};var pn=new Set;function mn(e,t,r){var n=this;ke.call(this),this.c=e,this.b=t,this.i=this.g=this.f=this.l=this.h=null,this.s=r,this.m=new Map,this.a=new on(r,(function(){return vn(n)}),(function(){return bn(n)}),(function(e,t){return An(n,e,t)}),(function(){return _n(n)}),(function(){return yn(n)})),function(e){for(var t in e.a.init(),e.i=new Be,Yr.forEach(function(e){this.i.w(this.c,e,this.D.bind(this))}.bind(e)),qr.forEach(function(e){this.i.w(this.b,e,this.u.bind(this))}.bind(e)),e.h={},e.c)Object.defineProperty(e.h,t,{configurable:!1,enumerable:!0,get:e.B.bind(e,t),set:e.F.bind(e,t)});e.l={},gn(e,(function(t){Object.defineProperty(e.l,t,{configurable:!1,enumerable:!0,get:function(){return function e(t,r){if(t.m.has(r)&&(r=t.m.get(r)),"addEventListener"==r)return t.g.addEventListener.bind(t.g);if("removeEventListener"==r)return t.g.removeEventListener.bind(t.g);if("getMediaElement"==r)return function(){return this.h}.bind(t);if("getSharedConfiguration"==r)return t.a.get("player","getConfiguration");if("getNetworkingEngine"==r)return t.b.Mb.bind(t.b);if(t.a.ga()){if("getManifest"==r||"drmInfo"==r)return function(){return q(r+"() does not work while casting!"),null};if("getManifestUri"==r)return Kr("getManifestUri",'Please use "getAssetUri" instead.'),e(t,"getAssetUri");if("attach"==r||"detach"==r)return function(){return q(r+"() does not work while casting!"),Promise.resolve()}}return t.a.ga()&&0==Object.keys(t.a.a.video).length&&Xr[r]||!t.a.ga()?t.b[r].bind(t.b):t.a.get("player",r)}(e,t)}})})),function(e){var t=new Map;gn(e,(function(r,n){if(t.has(n)){var i=t.get(n);r.length<i.length?e.m.set(r,i):e.m.set(i,r)}else t.set(n,r)}))}(e),e.f=new ke,e.f.$b=e.h,e.g=new ke,e.g.$b=e.l}(this)}function gn(e,t){function r(e){return"constructor"!=e&&"function"==typeof n[e]&&!i.has(e)}var n=e.b,i=new Set;for(o in n)r(o)&&(i.add(o),t(o,n[o]));for(var o=Object.getPrototypeOf(n),a=Object.getPrototypeOf({});o&&o!=a;){for(var s=f(Object.getOwnPropertyNames(o)),l=s.next();!l.done;l=s.next())r(l=l.value)&&(i.add(l),t(l,n[l]));o=Object.getPrototypeOf(o)}}function yn(e){var t={video:{},player:{},playerAfterLoad:{},manifest:e.b.hc(),startTime:null};return e.c.pause(),Wr.forEach(function(e){t.video[e]=this.c[e]}.bind(e)),e.c.ended||(t.startTime=e.c.currentTime),Zr.forEach(function(e){var r=e[1];e=this.b[e[0]](),t.player[r]=e}.bind(e)),Qr.forEach(function(e){var r=e[1];e=this.b[e[0]](),t.playerAfterLoad[r]=e}.bind(e)),t}function vn(e){e.dispatchEvent(new Se("caststatuschanged"))}function bn(e){e.f.dispatchEvent(new Se(e.h.paused?"pause":"play"))}function _n(e){Zr.forEach(function(e){var t=e[1];e=this.a.get("player",e[0])(),this.b[t](e)}.bind(e));var t=e.a.get("player","getAssetUri")(),r=e.a.get("video","ended"),n=Promise.resolve(),i=e.c.autoplay,o=null;r||(o=e.a.get("video","currentTime")),t&&(e.c.autoplay=!1,n=e.b.load(t,o));var a={};Wr.forEach(function(e){a[e]=this.a.get("video",e)}.bind(e)),n.then((function(){e.c&&(Wr.forEach(function(e){this.c[e]=a[e]}.bind(e)),Qr.forEach(function(e){var t=e[1];e=this.a.get("player",e[0])(),this.b[t](e)}.bind(e)),e.c.autoplay=i,t&&e.c.play())}),(function(t){e.b.dispatchEvent(new Se("error",{detail:t}))}))}function An(e,t,r){e.a.ga()&&("video"==t?e.f.dispatchEvent(r):"player"==t&&e.g.dispatchEvent(r))}function En(e,t,r,n){var i=this;ke.call(this),this.a=e,this.b=t,this.c=new Be,this.D={video:e,player:t},this.s=r||function(){},this.F=n||function(e){return e},this.u=!1,this.h=!0,this.g=0,this.m=!1,this.l=!0,this.i=this.f=null,this.B=new fe((function(){Sn(i)})),function(e){var t=cast.receiver.CastReceiverManager.getInstance();t.onSenderConnected=e.ee.bind(e),t.onSenderDisconnected=e.ee.bind(e),t.onSystemVolumeChanged=e.Oe.bind(e),e.i=t.getCastMessageBus("urn:x-cast:com.google.cast.media"),e.i.onMessage=e.Af.bind(e),e.f=t.getCastMessageBus("urn:x-cast:com.google.shaka.v2"),e.f.onMessage=e.Kf.bind(e),t.start(),Yr.forEach(function(e){this.c.w(this.a,e,this.je.bind(this,"video"))}.bind(e)),qr.forEach(function(e){this.c.w(this.b,e,this.je.bind(this,"player"))}.bind(e)),cast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs="avc1.640028"; width=3840; height=2160')?e.b.vd(3840,2160):e.b.vd(1920,1080),e.c.w(e.a,"loadeddata",function(){this.m=!0}.bind(e)),e.c.w(e.b,"loading",function(){this.h=!1,Tn(this)}.bind(e)),e.c.w(e.a,"playing",function(){this.h=!1,Tn(this)}.bind(e)),e.c.w(e.a,"pause",function(){Tn(this)}.bind(e)),e.c.w(e.b,"unloading",function(){this.h=!0,Tn(this)}.bind(e)),e.c.w(e.a,"ended",function(){var e=this;new fe((function(){e.a&&e.a.ended&&(e.h=!0,Tn(e))})).R(5)}.bind(e))}(this)}function Tn(e){Promise.resolve().then(function(){this.b&&(this.dispatchEvent(new Se("caststatuschanged")),wn(this)||Cn(this,0))}.bind(e))}function Sn(e){e.B.R(.5);var t={video:{},player:{}};if(zr.forEach(function(e){t.video[e]=this.a[e]}.bind(e)),e.b.V())for(var r in Jr)0==e.g%Jr[r]&&(t.player[r]=e.b[r]());for(var n in Xr)0==e.g%Xr[n]&&(t.player[n]=e.b[n]());(r=cast.receiver.CastReceiverManager.getInstance().getSystemVolume())&&(t.video.volume=r.level,t.video.muted=r.muted),e.m&&(e.g+=1),xn(e,{type:"update",update:t},e.f),wn(e)}function wn(e){return!(!e.l||!e.a.duration&&!e.b.V()||(kn(e),e.l=!1,0))}function kn(e){var t={contentId:e.b.hc(),streamType:e.b.V()?"LIVE":"BUFFERED",duration:e.a.duration,contentType:""};Cn(e,0,t)}function xn(e,t,r,n){e.u&&(e=rn(t),n?r.getCastChannel(n).send(e):r.broadcast(e))}function Cn(e,t,r){var n=e.a.playbackRate,i=Rn;n={mediaSessionId:0,playbackRate:n,playerState:i=e.h?i.IDLE:e.b.Xc()?i.we:e.a.paused?i.ye:i.ze,currentTime:e.a.currentTime,supportedMediaCommands:15,volume:{level:e.a.volume,muted:e.a.muted}},r&&(n.media=r),xn(e,{requestId:t,type:"MEDIA_STATUS",status:[n]},e.i)}e.__onGCastApiAvailable=function(e){if(e)for(var t=(e=f(pn)).next();!t.done;t=e.next())t.value.init()},V(mn,ke),G("shaka.cast.CastProxy",mn),mn.prototype.destroy=function(e){return e&&this.a.Kb(),this.i&&(this.i.release(),this.i=null),e=[],this.b&&(e.push(this.b.destroy()),this.b=null),this.a&&(e.push(this.a.destroy()),this.a=null),this.l=this.h=this.c=null,Promise.all(e)},mn.prototype.destroy=mn.prototype.destroy,mn.prototype.pf=function(){return this.h},mn.prototype.getVideo=mn.prototype.pf,mn.prototype.ff=function(){return this.l},mn.prototype.getPlayer=mn.prototype.ff,mn.prototype.Ee=function(){return this.a.h&&an},mn.prototype.canCast=mn.prototype.Ee,mn.prototype.ga=function(){return this.a.ga()},mn.prototype.isCasting=mn.prototype.ga,mn.prototype.nd=function(){return this.a.nd()},mn.prototype.receiverName=mn.prototype.nd,mn.prototype.cast=function(){var e=yn(this);return this.a.cast(e).then(function(){if(this.b)return this.b.Cd()}.bind(this))},mn.prototype.cast=mn.prototype.cast,mn.prototype.ud=function(e){this.a.ud(e)},mn.prototype.setAppData=mn.prototype.ud,mn.prototype.sg=function(){var e=this.a;if(e.b){var t=e.B();chrome.cast.requestSession(e.kd.bind(e,t),e.be.bind(e))}},mn.prototype.suggestDisconnect=mn.prototype.sg,mn.prototype.He=function(e){var t=this;return p((function r(){return M(r,(function(r){switch(r.j){case 1:return e==t.s?r.return():(t.s=e,t.a.Kb(),S(r,t.a.destroy(),2));case 2:t.a=null,t.a=new on(e,(function(){return vn(t)}),(function(){return bn(t)}),(function(e,r){return An(t,e,r)}),(function(){return _n(t)}),(function(){return yn(t)})),t.a.init(),w(r)}}))}))},mn.prototype.changeReceiverId=mn.prototype.He,mn.prototype.Kb=function(){this.a.Kb()},mn.prototype.forceDisconnect=mn.prototype.Kb,mn.prototype.B=function(e){if("addEventListener"==e)return this.f.addEventListener.bind(this.f);if("removeEventListener"==e)return this.f.removeEventListener.bind(this.f);if(this.a.ga()&&0==Object.keys(this.a.a.video).length){var t=this.c[e];if("function"!=typeof t)return t}return this.a.ga()?this.a.get("video",e):("function"==typeof(e=this.c[e])&&(e=e.bind(this.c)),e)},mn.prototype.F=function(e,t){this.a.ga()?this.a.set("video",e,t):this.c[e]=t},mn.prototype.D=function(e){this.a.ga()||this.f.dispatchEvent(new Se(e.type,e))},mn.prototype.u=function(e){this.a.ga()||this.g.dispatchEvent(e)},V(En,ke),G("shaka.cast.CastReceiver",En),En.prototype.isConnected=function(){return this.u},En.prototype.isConnected=En.prototype.isConnected,En.prototype.vf=function(){return this.h},En.prototype.isIdle=En.prototype.vf,En.prototype.destroy=function(){var e=this;return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:return e.c&&(e.c.release(),e.c=null),r=[],e.b&&(r.push(e.b.destroy()),e.b=null),e.B&&(e.B.stop(),e.B=null),e.a=null,e.D=null,e.s=null,e.u=!1,e.h=!0,e.f=null,e.i=null,S(t,Promise.all(r),2);case 2:cast.receiver.CastReceiverManager.getInstance().stop(),w(t)}}))}))},En.prototype.destroy=En.prototype.destroy,(n=En.prototype).ee=function(){this.g=0,this.l=!0,this.u=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length,Tn(this)},n.je=function(e,t){this.b&&(Sn(this),xn(this,{type:"event",targetName:e,event:t},this.f))},n.Oe=function(){var e=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();e&&xn(this,{type:"update",update:{video:{volume:e.level,muted:e.muted}}},this.f),xn(this,{type:"event",targetName:"video",event:{type:"volumechange"}},this.f)},n.Kf=function(e){var t=nn(e.data);switch(t.type){case"init":this.g=0,this.m=!1,this.l=!0,function(e,t,r){for(var n in t.player)e.b[n](t.player[n]);e.s(r),r=Promise.resolve();var i=e.a.autoplay;t.manifest&&(e.a.autoplay=!1,r=e.b.load(t.manifest,t.startTime)),r.then((function(){if(e.b){for(var r in t.video)e.a[r]=t.video[r];for(var n in t.playerAfterLoad)e.b[n](t.playerAfterLoad[n]);e.a.autoplay=i,t.manifest&&(e.a.play(),Cn(e,0))}}),(function(t){e.b.dispatchEvent(new Se("error",{detail:t}))}))}(this,t.initState,t.appData),Sn(this);break;case"appData":this.s(t.appData);break;case"set":var r=t.targetName,n=t.property;if(t=t.value,"video"==r){var i=cast.receiver.CastReceiverManager.getInstance();if("volume"==n){i.setSystemVolumeLevel(t);break}if("muted"==n){i.setSystemVolumeMuted(t);break}}this.D[r][n]=t;break;case"call":(r=this.D[t.targetName])[t.methodName].apply(r,t.args);break;case"asyncCall":r=t.targetName,n=t.methodName,"player"==r&&"load"==n&&(this.g=0,this.m=!1),i=t.id,e=e.senderId;var o=this.D[r];t=o[n].apply(o,t.args),"player"==r&&"load"==n&&(t=t.then(function(){this.l=!0}.bind(this))),t.then(this.oe.bind(this,e,i,null),this.oe.bind(this,e,i))}},n.Af=function(e){var t=nn(e.data);switch(t.type){case"PLAY":this.a.play(),Cn(this,0);break;case"PAUSE":this.a.pause(),Cn(this,0);break;case"SEEK":e=t.currentTime;var r=t.resumeState;null!=e&&(this.a.currentTime=Number(e)),r&&"PLAYBACK_START"==r?(this.a.play(),Cn(this,0)):r&&"PLAYBACK_PAUSE"==r&&(this.a.pause(),Cn(this,0));break;case"STOP":this.b.Cd().then(function(){this.b&&Cn(this,0)}.bind(this));break;case"GET_STATUS":Cn(this,Number(t.requestId));break;case"VOLUME":e=(r=t.volume).level,r=r.muted;var n=this.a.volume,i=this.a.muted;null!=e&&(this.a.volume=Number(e)),null!=r&&(this.a.muted=r),n==this.a.volume&&i==this.a.muted||Cn(this,0);break;case"LOAD":this.g=0,this.l=this.m=!1,e=t.media,r=t.currentTime,n=this.F(e.contentId),i=t.autoplay||!0,this.s(e.customData),i&&(this.a.autoplay=!0),this.b.load(n,r).then(function(){this.b&&kn(this)}.bind(this)).catch(function(e){var r="LOAD_FAILED";7==e.category&&7e3==e.code&&(r="LOAD_CANCELLED"),xn(this,{requestId:Number(t.requestId),type:r},this.i)}.bind(this));break;default:xn(this,{requestId:Number(t.requestId),type:"INVALID_REQUEST",reason:"INVALID_COMMAND"},this.i)}},n.oe=function(e,t,r){this.b&&xn(this,{type:"asyncComplete",id:t,error:r},this.f,e)};var Rn={IDLE:"IDLE",ze:"PLAYING",we:"BUFFERING",ye:"PAUSED"};function Ln(e,t){this.J=e,this.b=t==jn,this.a=0}G("shaka.util.DataViewReader",Ln);var jn=1;function Pn(){throw new me(2,3,3e3)}function In(){this.c=[],this.b=[],this.a=!1}function On(e){for(var t=null!=e.flags?12:8;e.reader.ua()&&!e.parser.a;)e.parser.sc(e.start+t,e.reader,e.partialOkay)}function Dn(e){for(var t=null!=e.flags?12:8,r=e.reader.G();0<r&&!e.parser.a;--r)e.parser.sc(e.start+t,e.reader,e.partialOkay)}function Mn(e){return function(t){e(t.reader.Za(t.reader.J.byteLength-t.reader.ca()))}}function Nn(e){for(var t=0,r=0;r<e.length;r++)t=t<<8|e.charCodeAt(r);return t}function Un(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function Fn(e){var t=this;this.a=[],this.b=[],this.data=[],(new In).H("moov",On).fa("pssh",(function(e){if(!(1<e.version)){var r=e.reader.J;if(r=new Uint8Array(r.buffer,r.byteOffset-12,e.size),t.data.push(r),t.a.push(ht.Ac(e.reader.Za(16))),0<e.version){r=e.reader.G();for(var n=0;n<r;++n){var i=ht.Ac(e.reader.Za(16));t.b.push(i)}}}})).parse(e)}Ln.Endianness={Bg:0,Dg:jn},Ln.prototype.ua=function(){return this.a<this.J.byteLength},Ln.prototype.hasMoreData=Ln.prototype.ua,Ln.prototype.ca=function(){return this.a},Ln.prototype.getPosition=Ln.prototype.ca,Ln.prototype.Ve=function(){return this.J.byteLength},Ln.prototype.getLength=Ln.prototype.Ve,Ln.prototype.la=function(){try{var e=this.J.getUint8(this.a);return this.a+=1,e}catch(e){Pn()}},Ln.prototype.readUint8=Ln.prototype.la,Ln.prototype.Tb=function(){try{var e=this.J.getUint16(this.a,this.b);return this.a+=2,e}catch(e){Pn()}},Ln.prototype.readUint16=Ln.prototype.Tb,Ln.prototype.G=function(){try{var e=this.J.getUint32(this.a,this.b);return this.a+=4,e}catch(e){Pn()}},Ln.prototype.readUint32=Ln.prototype.G,Ln.prototype.ke=function(){try{var e=this.J.getInt32(this.a,this.b);return this.a+=4,e}catch(e){Pn()}},Ln.prototype.readInt32=Ln.prototype.ke,Ln.prototype.Bb=function(){try{if(this.b)var e=this.J.getUint32(this.a,!0),t=this.J.getUint32(this.a+4,!0);else t=this.J.getUint32(this.a,!1),e=this.J.getUint32(this.a+4,!1)}catch(e){Pn()}if(2097151<t)throw new me(2,3,3001);return this.a+=8,t*Math.pow(2,32)+e},Ln.prototype.readUint64=Ln.prototype.Bb,Ln.prototype.Za=function(e){this.a+e>this.J.byteLength&&Pn();var t=new Uint8Array(this.J.buffer,this.J.byteOffset+this.a,e);return this.a+=e,t},Ln.prototype.readBytes=Ln.prototype.Za,Ln.prototype.M=function(e){this.a+e>this.J.byteLength&&Pn(),this.a+=e},Ln.prototype.skip=Ln.prototype.M,Ln.prototype.me=function(e){this.a<e&&Pn(),this.a-=e},Ln.prototype.rewind=Ln.prototype.me,Ln.prototype.seek=function(e){(0>e||e>this.J.byteLength)&&Pn(),this.a=e},Ln.prototype.seek=Ln.prototype.seek,Ln.prototype.md=function(){for(var e=this.a;this.ua()&&0!=this.J.getUint8(this.a);)this.a+=1;return e=new Uint8Array(this.J.buffer,this.J.byteOffset+e,this.a-e),this.a+=1,at(e)},Ln.prototype.readTerminatedString=Ln.prototype.md,G("shaka.util.Mp4Parser",In),In.prototype.H=function(e,t){var r=Nn(e);return this.c[r]=0,this.b[r]=t,this},In.prototype.box=In.prototype.H,In.prototype.fa=function(e,t){var r=Nn(e);return this.c[r]=1,this.b[r]=t,this},In.prototype.fullBox=In.prototype.fa,In.prototype.stop=function(){this.a=!0},In.prototype.stop=In.prototype.stop,In.prototype.parse=function(e,t){var r=new Uint8Array(e);for(r=new Ln(new DataView(r.buffer,r.byteOffset,r.byteLength),0),this.a=!1;r.ua()&&!this.a;)this.sc(0,r,t)},In.prototype.parse=In.prototype.parse,In.prototype.sc=function(e,t,r){var n=t.ca(),i=t.G(),o=t.G();switch(i){case 0:i=t.J.byteLength-n;break;case 1:i=t.Bb()}var a=this.b[o];if(a){var s=null,l=null;1==this.c[o]&&(s=(l=t.G())>>>24,l&=16777215),o=n+i,r&&o>t.J.byteLength&&(o=t.J.byteLength),o-=t.ca(),t=0<o?t.Za(o):new Uint8Array(0),a({parser:this,partialOkay:r||!1,version:s,flags:l,reader:t=new Ln(new DataView(t.buffer,t.byteOffset,t.byteLength),0),size:i,start:n+e})}else t.M(Math.min(n+i-t.ca(),t.J.byteLength-t.ca()))},In.prototype.parseNext=In.prototype.sc,In.children=On,In.sampleDescription=Dn,In.allData=Mn,In.typeToString=Un;var Bn={gc:function(e,t){var r=Bn.P(e,t);return 1!=r.length?null:r[0]},Oc:function(e,t,r){return 1!=(e=Bn.Od(e,t,r)).length?null:e[0]},P:function(e,t){return Array.prototype.filter.call(e.childNodes,(function(e){return e instanceof Element&&e.tagName==t}))},Od:function(e,t,r){return Array.prototype.filter.call(e.childNodes,(function(e){return e instanceof Element&&e.localName==r&&e.namespaceURI==t}))},getAttributeNS:function(e,t,r){return e.hasAttributeNS(t,r)?e.getAttributeNS(t,r):null},ic:function(e){return Array.prototype.every.call(e.childNodes,(function(e){return e.nodeType==Node.TEXT_NODE||e.nodeType==Node.CDATA_SECTION_NODE}))?e.textContent.trim():null},I:function(e,t,r,n){n=void 0===n?null:n;var i=null;return null!=(e=e.getAttribute(t))&&(i=r(e)),null==i?n:i},Of:function(e){return e?(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e)&&(e+="Z"),e=Date.parse(e),isNaN(e)?null:Math.floor(e/1e3)):null},Ea:function(e){return e&&(e=/^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$/.exec(e))?(e=31536e3*Number(e[1]||null)+2592e3*Number(e[2]||null)+86400*Number(e[3]||null)+3600*Number(e[4]||null)+60*Number(e[5]||null)+Number(e[6]||null),isFinite(e)?e:null):null},uc:function(e){var t=/([0-9]+)-([0-9]+)/.exec(e);return t?(e=Number(t[1]),isFinite(e)?(t=Number(t[2]),isFinite(t)?{start:e,end:t}:null):null):null},parseInt:function(e){return 0==(e=Number(e))%1?e:null},tc:function(e){return 0==(e=Number(e))%1&&0<e?e:null},yb:function(e){return 0==(e=Number(e))%1&&0<=e?e:null},parseFloat:function(e){return e=Number(e),isNaN(e)?null:e},Me:function(e){var t;return e=(t=e.match(/^(\d+)\/(\d+)$/))?Number(t[1])/Number(t[2]):Number(e),isNaN(e)?null:e},he:function(e,t){var r=new DOMParser;try{var n=r.parseFromString(e,"text/xml")}catch(e){}if(n&&n.documentElement.tagName==t)var i=n.documentElement;return i&&0<i.getElementsByTagName("parsererror").length?null:i},ge:function(e,t){try{var r=at(e);return Bn.he(r,t)}catch(e){}}},Kn=(new Map).set("urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b","org.w3.clearkey").set("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","com.widevine.alpha").set("urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95","com.microsoft.playready").set("urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb","com.adobe.primetime");function Gn(e,t,r){var n=function(e){for(var t=[],r=(e=f(e)).next();!r.done;r=e.next())(r=Yn(r.value))&&t.push(r);return t}(e),i=null;e=[];var o=[],a=new Set(n.map((function(e){return e.keyId})));if(a.delete(null),1<a.size)throw new me(2,4,4010);if(r||(o=n.filter((function(e){return"urn:mpeg:dash:mp4protection:2011"!=e.ne||(i=e.init||i,!1)}))).length&&0==(e=function(e,t,r){for(var n=[],i=(r=f(r)).next();!i.done;i=r.next()){i=i.value;var o=Kn.get(i.ne);if(o){var a;if(a=Bn.Oc(i.node,"urn:microsoft:playready","pro")){a=ht.Ba(a.textContent);var s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),l=a.length,u=s.length+16+l,c=new ArrayBuffer(u),d=new Uint8Array(c);c=new DataView(c);var h=0;c.setUint32(h,u),h+=4,c.setUint32(h,1886614376),h+=4,c.setUint32(h,0),h+=4,d.set(s,h),h+=s.length,c.setUint32(h,l),h+=4,d.set(a,h),a=[{initData:d,initDataType:"cenc",keyId:i.keyId}]}else a=null;a=Ht(o,i.init||e||a),(o=Hn.get(o))&&(a.licenseServerUri=o(i)),n.push(a)}else for(i=f(i=t(i.node)||[]),o=i.next();!o.done;o=i.next())n.push(o.value)}return n}(i,t,o)).length&&(e=[Ht("",i)]),n.length&&(r||!o.length))for(e=[],r=(t=f(Kn.values())).next();!r.done;r=t.next())"org.w3.clearkey"!=(r=r.value)&&e.push(Ht(r,i));if(a=Array.from(a)[0]||null)for(r=(t=f(e)).next();!r.done;r=t.next())for(n=(r=f(r.value.initData)).next();!n.done;n=r.next())n.value.keyId=a;return{Kd:a,Fg:i,drmInfos:e,Pd:!0}}var Vn,Hn=(new Map).set("com.widevine.alpha",(function(e){return(e=Bn.Oc(e.node,"urn:microsoft","laurl"))&&e.getAttribute("licenseUrl")||""})).set("com.microsoft.playready",(function(e){return(e=Bn.Oc(e.node,"urn:microsoft:playready","pro"))&&(e=function(e){var t=0,r=new DataView(e).getUint32(t,!0);if(r!==e.byteLength)return[];t+=6,r=[];for(var n=new DataView(e);t<e.byteLength-1;){var i=n.getUint16(t,!0);t+=2;var o=n.getUint16(t,!0);t+=2;var a=new Uint8Array(e,t,o);r.push({type:i,value:a}),t+=o}return r}((e=ht.Ba(e.textContent)).buffer).filter((function(e){return 1===e.type}))[0])?(e=st(e.value,!0),(e=Bn.he(e,"WRMHEADER"))?function(e){return(e=e.querySelector("DATA > LA_URL"))?e.textContent:""}(e):""):""}));function Yn(e){var t=e.getAttribute("schemeIdUri"),r=Bn.getAttributeNS(e,"urn:mpeg:cenc:2013","default_KID"),n=Bn.Od(e,"urn:mpeg:cenc:2013","pssh").map(Bn.ic);if(!t)return null;if(t=t.toLowerCase(),r&&(r=r.replace(/-/g,"").toLowerCase()).includes(" "))throw new me(2,4,4009);var i=[];try{i=n.map((function(e){return{initDataType:"cenc",initData:ht.Ba(e),keyId:null}}))}catch(e){throw new me(2,4,4007)}return{node:e,ne:t,keyId:r,init:0<i.length?i:null}}function zn(t,r,n,i,o){var a={RepresentationID:r,Number:n,Bandwidth:i,Time:o};return t.replace(/\$(RepresentationID|Number|Bandwidth|Time)?(?:%0([0-9]+)([diouxX]))?\$/g,(function(t,r,n,i){if("$$"==t)return"$";var o=a[r];if(null==o)return t;switch("RepresentationID"==r&&n&&(n=void 0),"Time"==r&&(o=Math.round(o)),i){case void 0:case"d":case"i":case"u":t=o.toString();break;case"o":t=o.toString(8);break;case"x":t=o.toString(16);break;case"X":t=o.toString(16).toUpperCase();break;default:t=o.toString()}return n=e.parseInt(n,10)||1,Array(Math.max(0,n-t.length)+1).join("0")+t}))}function Wn(e,t){var r=$n(e,t,"timescale"),n=1;r&&(n=Bn.tc(r)||1),r=$n(e,t,"duration"),(r=Bn.tc(r||""))&&(r/=n);var i=$n(e,t,"startNumber"),o=Number($n(e,t,"presentationTimeOffset"))||0,a=Bn.yb(i||"");null!=i&&null!=a||(a=1);var s=qn(e,t,"SegmentTimeline");if(i=null,s){i=n;var l=e.T.duration||1/0;s=Bn.P(s,"S");for(var u=[],c=0,d=0;d<s.length;++d){var f=s[d],h=Bn.I(f,"t",Bn.yb),p=Bn.I(f,"d",Bn.yb);if(f=Bn.I(f,"r",Bn.parseInt),null!=h&&(h-=o),!p)break;if(h=null!=h?h:c,0>(f=f||0))if(d+1<s.length){if(null==(f=Bn.I(s[d+1],"t",Bn.yb)))break;if(h>=f)break;f=Math.ceil((f-h)/p)-1}else{if(1/0==l)break;if(h/i>=l)break;f=Math.ceil((l*i-h)/p)-1}0<u.length&&h!=c&&(u[u.length-1].end=h/i);for(var m=0;m<=f;++m)c=h+p,u.push({start:h/i,end:c/i,xg:h}),h=c}i=u}return{timescale:n,Z:r,ab:a,ma:o/n||0,Dd:o,N:i}}function $n(e,t,r){return[t(e.C),t(e.aa),t(e.ka)].filter(Gt.Ia).map((function(e){return e.getAttribute(r)})).reduce((function(e,t){return e||t}))}function qn(e,t,r){return[t(e.C),t(e.aa),t(e.ka)].filter(Gt.Ia).map((function(e){return Bn.gc(e,r)})).reduce((function(e,t){return e||t}))}function Xn(e,t,r,n,i,o){if(o=void 0===o?0:o,Bn.getAttributeNS(e,"http://www.w3.org/1999/xlink","href")){var a=function(e,t,r,n,i,o){for(var a=Bn.getAttributeNS(e,"http://www.w3.org/1999/xlink","href"),s=Bn.getAttributeNS(e,"http://www.w3.org/1999/xlink","actuate")||"onRequest",l=0;l<e.attributes.length;l++){var u=e.attributes[l];"http://www.w3.org/1999/xlink"==u.namespaceURI&&(e.removeAttributeNS(u.namespaceURI,u.localName),--l)}if(5<=o)return ve(new me(2,4,4028));if("onLoad"!=s)return ve(new me(2,4,4027));var c=Vt([n],[a]);return i.request(0,Me(c,t)).U((function(n){if(!(n=Bn.ge(n.data,e.tagName)))return ve(new me(2,4,4001,a));for(;e.childNodes.length;)e.removeChild(e.childNodes[0]);for(;n.childNodes.length;){var s=n.childNodes[0];n.removeChild(s),e.appendChild(s)}for(s=0;s<n.attributes.length;s++){var l=n.attributes[s].nodeName,u=n.getAttribute(l);e.setAttribute(l,u)}return Xn(e,t,r,c[0],i,o+1)}))}(e,t,r,n,i,o);return r&&(a=a.U(void 0,(function(){return Xn(e,t,r,n,i,o)}))),a}a=[];for(var s=0;s<e.childNodes.length;s++){var l=e.childNodes[s];l instanceof Element&&("urn:mpeg:dash:resolve-to-zero:2013"==Bn.getAttributeNS(l,"http://www.w3.org/1999/xlink","href")?(e.removeChild(l),--s):"SegmentTimeline"!=l.tagName&&a.push(Xn(l,t,r,n,i,o)))}return Ee(a).U((function(){return e}))}function Jn(e,t,r){this.c=e,this.b=t,this.a=r}function Zn(e,t,r,n,i,o){this.position=e,this.startTime=t,this.endTime=r,this.c=n,this.b=i,this.a=o}function Qn(e,t,r,n){var i,o=(new In).fa("sidx",(function(e){i=function(e,t,r,n){var i=[];n.reader.M(4);var o=n.reader.G();if(0==o)throw new me(2,3,3005);if(0==n.version)var a=n.reader.G(),s=n.reader.G();else a=n.reader.Bb(),s=n.reader.Bb();n.reader.M(2);var l=n.reader.Tb();for(e=e+n.size+s,s=0;s<l;s++){var u=n.reader.G(),c=(2147483648&u)>>>31;u&=2147483647;var d=n.reader.G();if(n.reader.M(4),1==c)throw new me(2,3,3006);i.push(new Zn(i.length,a/o-t,(a+d)/o-t,(function(){return r}),e,e+u-1)),a+=d,e+=u}return n.parser.stop(),i}(t,n,r,e)}));if(e&&o.parse(e),i)return i;throw new me(2,3,3004)}function ei(e){this.a=e}function ti(e,t){for(;e.a.length&&e.a[e.a.length-1].startTime>=t;)e.a.pop();for(;e.a.length&&0>=e.a[0].endTime;)e.a.shift();if(0!=e.a.length){var r=e.a[e.a.length-1];e.a[e.a.length-1]=new Zn(r.position,r.startTime,t,r.c,r.b,r.a)}}function ri(e){this.b=e,this.a=new Ln(e,0),Vn||(Vn=[new Uint8Array([255]),new Uint8Array([127,255]),new Uint8Array([63,255,255]),new Uint8Array([31,255,255,255]),new Uint8Array([15,255,255,255,255]),new Uint8Array([7,255,255,255,255,255]),new Uint8Array([3,255,255,255,255,255,255]),new Uint8Array([1,255,255,255,255,255,255,255])])}function ni(e){var t=ii(e);if(7<t.length)throw new me(2,3,3002);for(var r=0,n=0;n<t.length;n++)r=256*r+t[n];t=r,r=ii(e);e:{n=ht.za;for(var i=0;i<Vn.length;i++)if(n(r,Vn[i])){n=!0;break e}n=!1}if(n)r=e.b.byteLength-e.a.ca();else{if(8==r.length&&224&r[1])throw new me(2,3,3001);for(n=r[0]&(1<<8-r.length)-1,i=1;i<r.length;i++)n=256*n+r[i];r=n}return r=e.a.ca()+r<=e.b.byteLength?r:e.b.byteLength-e.a.ca(),n=new DataView(e.b.buffer,e.b.byteOffset+e.a.ca(),r),e.a.M(r),new oi(t,n)}function ii(e){var t,r=e.a.la();for(t=1;8>=t&&!(r&1<<8-t);t++);if(8<t)throw new me(2,3,3002);var n=new Uint8Array(t);for(n[0]=r,r=1;r<t;r++)n[r]=e.a.la();return n}function oi(e,t){this.id=e,this.a=t}function ai(e){if(8<e.a.byteLength)throw new me(2,3,3002);if(8==e.a.byteLength&&224&e.a.getUint8(0))throw new me(2,3,3001);for(var t=0,r=0;r<e.a.byteLength;r++)t=256*t+e.a.getUint8(r);return t}function si(){}function li(e){var t=new ri(e.a);if(179!=(e=ni(t)).id)throw new me(2,3,3013);if(e=ai(e),183!=(t=ni(t)).id)throw new me(2,3,3012);t=new ri(t.a);for(var r=0;t.ua();){var n=ni(t);if(241==n.id){r=ai(n);break}}return{yg:e,Vf:r}}function ui(e,t){var r=qn(e,t,"Initialization");if(!r)return null;var n=e.C.qa,i=r.getAttribute("sourceURL");i&&(n=Vt(e.C.qa,[i])),i=0;var o=null;return(r=Bn.I(r,"range",Bn.uc))&&(i=r.start,o=r.end),new Jn((function(){return n}),i,o)}function ci(e,t,r,n,i,o,a,s){var l=e.presentationTimeline,u=!e.mb||!e.T.Zc,c=e.T.start,d=e.T.duration,f=t,h=null;return{createSegmentIndex:function(){var e=[f(n,i,o),"webm"==a?f(r.c(),r.b,r.a):null];return f=null,Promise.all(e).then((function(e){var t=e[0];e=e[1]||null,t="mp4"==a?Qn(t,i,n,s):(new si).parse(t,e,n,s),l.vb(t,c),h=new ei(t),u&&ti(h,d)}))},findSegmentPosition:function(e){return h.find(e)},getSegmentReference:function(e){return h.get(e)}}}function di(e){return e.Ub}function fi(e,t){var r=ui(e,hi),n=function(e){return[e.C.La,e.aa.La,e.ka.La].filter(Gt.Ia).map((function(e){return Bn.P(e,"SegmentURL")})).reduce((function(e,t){return 0<e.length?e:t})).map((function(t){return t.getAttribute("indexRange")&&!e.Vd&&(e.Vd=!0),{xf:t.getAttribute("media"),start:(t=Bn.I(t,"mediaRange",Bn.uc,{start:0,end:null})).start,end:t.end}}))}(e),i=Wn(e,hi),o=i.ab;0==o&&(o=1);var a=0;if(i.Z?a=i.Z*(o-1):i.N&&0<i.N.length&&(a=i.N[0].start),!(n={Z:i.Z,startTime:a,ab:o,ma:i.ma,N:i.N,tb:n}).Z&&!n.N&&1<n.tb.length)throw new me(2,4,4002);if(!n.Z&&!e.T.duration&&!n.N&&1==n.tb.length)throw new me(2,4,4002);if(n.N&&0==n.N.length)throw new me(2,4,4002);return o=i=null,e.ka.id&&e.C.id&&(i=t[o=e.ka.id+","+e.C.id]),a=function(e,t,r,n){var i=n.tb.length;n.N&&n.N.length!=n.tb.length&&(i=Math.min(n.N.length,n.tb.length));for(var o=[],a=n.startTime,s=0;s<i;s++){var l,u=n.tb[s],c=Vt(r,[u.xf]);l=null!=n.Z?a+n.Z:n.N?n.N[s].end:a+e,o.push(new Zn(s+t,a,l,function(e){return e}.bind(null,c),u.start,u.end)),a=l}return o}(e.T.duration,n.ab,e.C.qa,n),i?(i.cd(a),o=e.presentationTimeline.Ob(),i.Lc(o-e.T.start)):(e.presentationTimeline.vb(a,e.T.start),i=new ei(a),o&&e.mb&&(t[o]=i)),e.mb&&e.T.Zc||ti(i,e.T.duration),{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:i.find.bind(i),getSegmentReference:i.get.bind(i),initSegmentReference:r,ma:n.ma}}function hi(e){return e.La}function pi(e,t,r,n){var i=function(e){var t=$n(e,mi,"initialization");if(!t)return null;var r=e.C.id,n=e.bandwidth||null,i=e.C.qa;return new Jn((function(){var e=zn(t,r,null,n,null);return Vt(i,[e])}),0,null)}(e),o=Wn(e,mi),a=$n(e,mi,"media"),s=$n(e,mi,"index");if(a=(o={Z:o.Z,timescale:o.timescale,ab:o.ab,ma:o.ma,Dd:o.Dd,N:o.N,ad:a,Qb:s}).Qb?1:0,a+=o.N?1:0,0==(a+=o.Z?1:0))throw new me(2,4,4002);if(1!=a&&(o.Qb&&(o.N=null),o.Z=null),!o.Qb&&!o.ad)throw new me(2,4,4002);if(o.Qb){if("mp4"!=(r=e.C.mimeType.split("/")[1])&&"webm"!=r)throw new me(2,4,4006);if("webm"==r&&!i)throw new me(2,4,4005);n=zn(o.Qb,e.C.id,null,e.bandwidth||null,null),e=ci(e,t,i,n=Vt(e.C.qa,[n]),0,null,r,o.ma)}else o.Z?(n||(e.presentationTimeline.ed(o.Z),e.presentationTimeline.fd(e.T.start)),e=function(e,t){var r=e.T.duration,n=t.Z,i=t.ab,o=t.timescale,a=t.ad,s=e.bandwidth||null,l=e.C.id,u=e.C.qa;return{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(e){return 0>e||r&&e>=r?null:Math.floor(e/n)},getSegmentReference:function(e){var t=e*n,c=t+n;return r&&(c=Math.min(c,r)),0>c||r&&t>=r?null:new Zn(e,t,c,(function(){var r=zn(a,l,e+i,s,t*o);return Vt(u,[r])}),0,null)}}}(e,o)):(a=t=null,e.ka.id&&e.C.id&&(t=r[a=e.ka.id+","+e.C.id]),s=function(e,t){for(var r=[],n=0;n<t.N.length;n++){var i=n+t.ab;r.push(new Zn(i,t.N[n].start,t.N[n].end,function(e,t,r,n,i,o){return Vt(n,[e=zn(e,t,i,r,o)]).map((function(e){return e.toString()}))}.bind(null,t.ad,e.C.id,e.bandwidth||null,e.C.qa,i,t.N[n].xg+t.Dd),0,null))}return r}(e,o),n=!e.mb||!e.T.Zc,t?(n&&ti(new ei(s),e.T.duration),t.cd(s),r=e.presentationTimeline.Ob(),t.Lc(r-e.T.start)):(e.presentationTimeline.vb(s,e.T.start),t=new ei(s),a&&e.mb&&(r[a]=t)),n&&ti(t,e.T.duration),e={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:t.find.bind(t),getSegmentReference:t.get.bind(t)});return{createSegmentIndex:e.createSegmentIndex,findSegmentPosition:e.findSegmentPosition,getSegmentReference:e.getSegmentReference,initSegmentReference:i,ma:o.ma}}function mi(e){return e.Wb}G("shaka.media.InitSegmentReference",Jn),Jn.prototype.Ic=function(){return this.c()},Jn.prototype.createUris=Jn.prototype.Ic,Jn.prototype.Uc=function(){return this.b},Jn.prototype.getStartByte=Jn.prototype.Uc,Jn.prototype.Tc=function(){return this.a},Jn.prototype.getEndByte=Jn.prototype.Tc,G("shaka.media.SegmentReference",Zn),Zn.prototype.ca=function(){return this.position},Zn.prototype.getPosition=Zn.prototype.ca,Zn.prototype.kc=function(){return this.startTime},Zn.prototype.getStartTime=Zn.prototype.kc,Zn.prototype.Te=function(){return this.endTime},Zn.prototype.getEndTime=Zn.prototype.Te,Zn.prototype.Ic=function(){return this.c()},Zn.prototype.createUris=Zn.prototype.Ic,Zn.prototype.Uc=function(){return this.b},Zn.prototype.getStartByte=Zn.prototype.Uc,Zn.prototype.Tc=function(){return this.a},Zn.prototype.getEndByte=Zn.prototype.Tc,G("shaka.media.SegmentIndex",ei),ei.prototype.destroy=function(){return this.a=null,Promise.resolve()},ei.prototype.destroy=ei.prototype.destroy,ei.prototype.find=function(e){for(var t=this.a.length-1;0<=t;--t){var r=this.a[t];if(e>=r.startTime&&e<r.endTime)return r.position}return this.a.length&&e<this.a[0].startTime?this.a[0].position:null},ei.prototype.find=ei.prototype.find,ei.prototype.get=function(e){return 0==this.a.length||0>(e-=this.a[0].position)||e>=this.a.length?null:this.a[e]},ei.prototype.get=ei.prototype.get,ei.prototype.offset=function(e){for(var t=0;t<this.a.length;++t)this.a[t].startTime+=e,this.a[t].endTime+=e},ei.prototype.offset=ei.prototype.offset,ei.prototype.cd=function(e){for(var t=[],r=0,n=0;r<this.a.length&&n<e.length;){var i=this.a[r],o=e[n];i.startTime<o.startTime?(t.push(i),r++):(i.startTime>o.startTime?0==r&&t.push(o):(.1<Math.abs(i.endTime-o.endTime)?t.push(new Zn(i.position,o.startTime,o.endTime,o.c,o.b,o.a)):t.push(i),r++),n++)}for(;r<this.a.length;)t.push(this.a[r++]);if(t.length)for(r=t[t.length-1].position+1;n<e.length;)i=new Zn(r++,(i=e[n++]).startTime,i.endTime,i.c,i.b,i.a),t.push(i);else t=e;this.a=t},ei.prototype.merge=ei.prototype.cd,ei.prototype.Lc=function(e){for(var t=0;t<this.a.length;++t)if(this.a[t].endTime>e)return void this.a.splice(0,t);this.a=[]},ei.prototype.evict=ei.prototype.Lc,ri.prototype.ua=function(){return this.a.ua()},si.prototype.parse=function(e,t,r,n){var i;if(440786851!=ni(t=new ri(new DataView(t))).id)throw new me(2,3,3008);var o=ni(t);if(408125543!=o.id)throw new me(2,3,3009);for(t=o.a.byteOffset,o=new ri(o.a),i=null;o.ua();){var a=ni(o);if(357149030==a.id){i=a;break}}if(!i)throw new me(2,3,3010);for(o=new ri(i.a),i=1e6,a=null;o.ua();){var s=ni(o);if(2807729==s.id)i=ai(s);else if(17545==s.id)if(4==(a=s).a.byteLength)a=a.a.getFloat32(0);else{if(8!=a.a.byteLength)throw new me(2,3,3003);a=a.a.getFloat64(0)}}if(null==a)throw new me(2,3,3011);if(i=a*(o=i/1e9),475249515!=(e=ni(new ri(new DataView(e)))).id)throw new me(2,3,3007);return function(e,t,r,n,i,o){function a(){return i}var s=[];e=new ri(e.a);for(var l=null,u=null;e.ua();){var c=ni(e);if(187==c.id){var d=li(c);d&&(c=r*d.yg,d=t+d.Vf,null!=l&&s.push(new Zn(s.length,l-o,c-o,a,u,d-1)),l=c,u=d)}}return null!=l&&s.push(new Zn(s.length,l-o,n-o,a,u,null)),s}(e,t,o,i,r,n)};var gi={zb:{},Sb:{},pd:function(e,t){gi.Sb[e]=t}};function yi(e,t,r){this.f=e,this.vc=t,this.h=this.g=1/0,this.a=1,this.b=this.c=null,this.l=0,this.m=!0,this.i=0,this.s=void 0===r||r}function vi(e,t,r,n){return e=Me(e,n),0==t&&null==r||(e.headers.Range=r?"bytes="+t+"-"+r:"bytes="+t+"-"),e}function bi(){var e=this;this.b=this.a=null,this.f=[],this.c=null,this.l=[],this.h=1,this.m={},this.s=0,this.u=new H(5),this.i=new fe((function(){!function(e){p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=0,k(t,2),S(t,_i(e),4);case 4:r=t.o,C(t,3);break;case 2:n=R(t),e.b&&(n.severity=1,e.b.onError(n));case 3:if(!e.b)return t.return();Si(e,r),w(t)}}))}))}(e)})),this.g=new je}function _i(e){var t=Date.now(),r=e.b.networkingEngine.request(0,Me(e.f,e.a.retryParameters));return Pe(e.g,r),r.promise.then((function(t){if(e.b)return t.uri&&!e.f.includes(t.uri)&&e.f.unshift(t.uri),function(e,t,r){if(!(t=Bn.ge(t,"MPD")))throw new me(2,4,4001,r);return t=Xn(t,e.a.retryParameters,e.a.dash.xlinkFailGracefully,r,e.b.networkingEngine),Pe(e.g,t),t.promise.then((function(t){return function(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,f,h,p,m,g,y,v,b,_,A,E,T,k,x,C,R;return M(n,(function(n){switch(n.j){case 1:s=Gt,u=[r],0<(c=(l=Bn).P(t,"Location").map(l.ic).filter(s.Ia)).length&&(d=Vt(u,c),u=e.f=d),f=l.P(t,"BaseURL").map(l.ic),h=Vt(u,f),p=e.a.dash.ignoreMinBufferTime,m=0,p||(m=l.I(t,"minBufferTime",l.Ea)),e.s=l.I(t,"minimumUpdatePeriod",l.Ea,-1),g=l.I(t,"availabilityStartTime",l.Of),y=l.I(t,"timeShiftBufferDepth",l.Ea),v=l.I(t,"maxSegmentDuration",l.Ea),b=t.getAttribute("type")||"static",_=e.a.dash.ignoreSuggestedPresentationDelay,A=null,_||(A=l.I(t,"suggestedPresentationDelay",l.Ea)),e.c?E=e.c.presentationTimeline:(T=Math.max(e.a.dash.defaultPresentationDelay,1.5*m),E=new yi(g,null!=A?A:T,e.a.dash.autoCorrectDrift));for(var L={mb:"static"!=b,presentationTimeline:E,ka:null,T:null,aa:null,C:null,bandwidth:0,Vd:!1},j=h,P=Bn.I(t,"mediaPresentationDuration",Bn.Ea),I=[],O=0,D=Bn.P(t,"Period"),M=0;M<D.length;M++){var N=D[M];O=Bn.I(N,"start",Bn.Ea,O);var U=Bn.I(N,"duration",Bn.Ea),F=null;if(M!=D.length-1){var B=Bn.I(D[M+1],"start",Bn.Ea);null!=B&&(F=B-O)}else null!=P&&(F=P-O);if(null==F&&(F=U),N=Ai(e,L,j,{start:O,duration:F,node:N,Zc:null==F||M==D.length-1}),I.push(N),U=L.ka.id,e.l.includes(U)||(e.l.push(U),e.c&&(e.b.filterNewPeriod(N),e.c.periods.push(N))),null==F){O=null;break}O+=F}if(null==e.c&&e.b.filterAllPeriods(I),null!=P?(i=I,o=P,a=!1):(i=I,o=O,a=!0),k=o,x=i,E.Xb("static"==b),"static"!=b&&a||E.xa(k||1/0),E.V()&&!isNaN(e.a.availabilityWindowOverride)&&(y=e.a.availabilityWindowOverride),null==y&&(y=1/0),E.xd(y),E.ed(v||1),e.c){n.A(0);break}if(e.c={presentationTimeline:E,periods:x,offlineSessionIds:[],minBufferTime:m||0},!E.ue()){n.A(0);break}return C=l.P(t,"UTCTiming"),S(n,function(e,t,r){r=r.map((function(e){return{scheme:e.getAttribute("schemeIdUri"),value:e.getAttribute("value")}}));var n=e.a.dash.clockSyncUri;return!r.length&&n&&r.push({scheme:"urn:mpeg:dash:utc:http-head:2014",value:n}),Gt.Ke(r,function(e){var r=e.scheme;switch(e=e.value,r){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":return ki(this,t,e,"HEAD");case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":return ki(this,t,e,"GET");case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":return r=Date.parse(e),isNaN(r)?0:r-Date.now();case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":return q("NTP UTCTiming scheme is not supported"),Promise.reject();default:return q("Unrecognized scheme in UTCTiming element",r),Promise.reject()}}.bind(e)).catch((function(){return q("A UTCTiming element should always be given in live manifests! This content may not play on clients with bad clocks!"),0}))}(e,h,C),4);case 4:if(R=n.o,!e.b)return n.return();E.pe(R),w(n)}}))}))}(e,t,r)}))}(e,t.data,t.uri)})).then((function(){var r=(Date.now()-t)/1e3;return Y(e.u,1,r),r}))}function Ai(e,t,r,n){if(t.ka=wi(n.node,null,r),t.T=n,t.ka.id||(t.ka.id="__shaka_period_"+n.start),Bn.P(n.node,"EventStream").forEach(e.Pf.bind(e,n.start,n.duration)),r=Bn.P(n.node,"AdaptationSet").map(e.Nf.bind(e,t)).filter(Gt.Ia),t.mb){t=[];for(var i=f(r),o=i.next();!o.done;o=i.next())for(var a=(o=f(o.value.Yf)).next();!a.done;a=o.next())t.push(a.value);if(t.length!=new Set(t).size)throw new me(2,4,4018)}var s=r.filter((function(e){return!e.Bd}));if(r.filter((function(e){return e.Bd})).forEach((function(e){var t=e.streams[0],r=e.Bd;s.forEach((function(e){e.id==r&&e.streams.forEach((function(e){e.trickModeVideo=t}))}))})),t=Ei(s,"video"),i=Ei(s,"audio"),!t.length&&!i.length)throw new me(2,4,4004);for(r=e.a.disableAudio,i.length&&!r||(i=[null]),r=e.a.disableVideo,t.length&&!r||(t=[null]),r=[],o=0;o<i.length;o++)for(a=0;a<t.length;a++)Ti(e,i[o],t[a],r);if(t=[],!e.a.disableText)for(e=Ei(s,"text"),i=0;i<e.length;i++)t.push.apply(t,e[i].streams);return{startTime:n.start,textStreams:t,variants:r}}function Ei(e,t){return e.filter((function(e){return e.contentType==t}))}function Ti(e,t,r,n){if(t||r)if(t&&r){var i=t.drmInfos,o=r.drmInfos;if(!i.length||!o.length||0<Lt(i,o).length){o=Lt(t.drmInfos,r.drmInfos);for(var a=0;a<t.streams.length;a++)for(var s=0;s<r.streams.length;s++)i=(r.streams[s].bandwidth||0)+(t.streams[a].bandwidth||0),i={id:e.h++,language:t.language,primary:t.$c||r.$c,audio:t.streams[a],video:r.streams[s],bandwidth:i,drmInfos:o,allowedByApplication:!0,allowedByKeySystem:!0},n.push(i)}}else for(o=t||r,a=0;a<o.streams.length;a++)i=o.streams[a].bandwidth||0,i={id:e.h++,language:o.language||"und",primary:o.$c,audio:t?o.streams[a]:null,video:r?o.streams[a]:null,bandwidth:i,drmInfos:o.drmInfos,allowedByApplication:!0,allowedByKeySystem:!0},n.push(i)}function Si(e,t){0>e.s||e.i.R(Math.max(3,e.s-t,z(e.u)))}function wi(e,t,r){t=t||{contentType:"",mimeType:"",codecs:"",emsgSchemeIdUris:[],frameRate:void 0,gd:null,audioSamplingRate:null},r=r||t.qa;var n=Bn.yb,i=Bn.Me,o=Bn.P(e,"BaseURL").map(Bn.ic),a=e.getAttribute("contentType")||t.contentType,s=e.getAttribute("mimeType")||t.mimeType,l=e.getAttribute("codecs")||t.codecs;i=Bn.I(e,"frameRate",i)||t.frameRate;for(var u=e.getAttribute("par")||t.pixelAspectRatio,c=Bn.P(e,"InbandEventStream"),d=t.emsgSchemeIdUris.slice(),h=(c=f(c)).next();!h.done;h=c.next())h=h.value.getAttribute("schemeIdUri"),d.includes(h)||d.push(h);return c=function(e){for(var t=0;t<e.length;++t){var r=e[t],n=r.getAttribute("schemeIdUri");if(n&&(r=r.getAttribute("value")))switch(n){case"urn:mpeg:dash:outputChannelPositionList:2012":return r.trim().split(/ +/).length;case"urn:mpeg:dash:23003:3:audio_channel_configuration:2011":case"urn:dts:dash:audio_channel_configuration:2012":if(!(n=parseInt(r,10)))continue;return n;case"tag:dolby.com,2014:dash:audio_channel_configuration:2011":case"urn:dolby:dash:audio_channel_configuration:2011":if(n=parseInt(r,16)){for(e=0;n;)1&n&&++e,n>>=1;return e}}}return null}(c=Bn.P(e,"AudioChannelConfiguration"))||t.gd,h=Bn.I(e,"audioSamplingRate",n)||t.audioSamplingRate,a||(a=xi(s,l)),{qa:Vt(r,o),Ub:Bn.gc(e,"SegmentBase")||t.Ub,La:Bn.gc(e,"SegmentList")||t.La,Wb:Bn.gc(e,"SegmentTemplate")||t.Wb,width:Bn.I(e,"width",n)||t.width,height:Bn.I(e,"height",n)||t.height,contentType:a,mimeType:s,codecs:l,frameRate:i,pixelAspectRatio:u,emsgSchemeIdUris:d,id:e.getAttribute("id"),gd:c,audioSamplingRate:h}}function ki(e,t,r,n){return(t=Me(t=Vt(t,[r]),e.a.retryParameters)).method=n,t=e.b.networkingEngine.request(4,t),Pe(e.g,t),t.promise.then((function(e){if("HEAD"==n){if(!e.headers||!e.headers.date)return 0;e=e.headers.date}else e=at(e.data);return e=Date.parse(e),isNaN(e)?0:e-Date.now()}))}function xi(e,t){return pr(qe(e,t))?"text":e.split("/")[0]}function Ci(e,t,r,n){this.b=e,this.type=t,this.a=r,this.segments=n||null}function Ri(e,t,r,n){this.id=e,this.name=t,this.a=r,this.value=void 0===n?null:n}function Li(e,t){this.name=e,this.value=t}function ji(e,t,r){return(e=e.getAttribute(t))?e.value:r||null}function Pi(e,t){this.b=t,this.a=e}G("shaka.media.ManifestParser.registerParserByExtension",gi.pd),gi.Cb=function(e,t){gi.zb[e]=t},G("shaka.media.ManifestParser.registerParserByMime",gi.Cb),gi.Sf=function(){var e={};if(Ze()){for(var t in gi.zb)e[t]=!0;for(var r in gi.Sb)e[r]=!0}t={mpd:"application/dash+xml",m3u8:"application/x-mpegurl",ism:"application/vnd.ms-sstr+xml"};for(var n=(r=f(["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"])).next();!n.done;n=r.next())e[n=n.value]=Ze()?!!gi.zb[n]:Qe(n);for(var i in t)e[i]=Ze()?!!gi.Sb[i]:Qe(t[i]);return e},gi.create=function(e,t,r,n){return p((function i(){var o,a;return M(i,(function(i){switch(i.j){case 1:return k(i,2),S(i,gi.Ue(e,t,r,n),4);case 4:return o=i.o,i.return(new o);case 2:throw(a=R(i)).severity=2,a}}))}))},gi.Ue=function(e,t,r,n){return p((function i(){var o,a,s,l,u;return M(i,(function(i){switch(i.j){case 1:if(o=gi,n&&(a=o.zb[n.toLowerCase()]))return i.return(a);if((s=o.getExtension(e))&&(l=o.Sb[s]))return i.return(l);if(n){i.A(2);break}return S(i,o.bf(e,t,r),3);case 3:if((n=i.o)&&(u=gi.zb[n]))return i.return(u);case 2:throw new me(2,4,4e3,e)}}))}))},gi.bf=function(e,t,r){return p((function n(){var i,o,a;return M(n,(function(n){switch(n.j){case 1:return(i=Me([e],r)).method="HEAD",S(n,t.request(0,i).promise,2);case 2:return o=n.o,a=o.headers["content-type"],n.return(a?a.toLowerCase().split(";").shift():"")}}))}))},gi.getExtension=function(e){return 1==(e=new Z(e).ja.split("/").pop().split(".")).length?"":e.pop().toLowerCase()},gi.isSupported=function(e,t){return!!Ze()&&(t in gi.zb||gi.getExtension(e)in gi.Sb)},G("shaka.media.PresentationTimeline",yi),yi.prototype.Y=function(){return this.g},yi.prototype.getDuration=yi.prototype.Y,yi.prototype.$e=function(){return this.a},yi.prototype.getMaxSegmentDuration=yi.prototype.$e,yi.prototype.xa=function(e){this.g=e},yi.prototype.setDuration=yi.prototype.xa,yi.prototype.hf=function(){return this.f},yi.prototype.getPresentationStartTime=yi.prototype.hf,yi.prototype.pe=function(e){this.l=e},yi.prototype.setClockOffset=yi.prototype.pe,yi.prototype.Xb=function(e){this.m=e},yi.prototype.setStatic=yi.prototype.Xb,yi.prototype.xd=function(e){this.h=e},yi.prototype.setSegmentAvailabilityDuration=yi.prototype.xd,yi.prototype.ig=function(e){this.vc=e},yi.prototype.setDelay=yi.prototype.ig,yi.prototype.Se=function(){return this.vc},yi.prototype.getDelay=yi.prototype.Se,yi.prototype.vb=function(e,t){if(0!=e.length){var r=e[e.length-1].endTime+t;this.fd(e[0].startTime+t),this.a=e.reduce((function(e,t){return Math.max(e,t.endTime-t.startTime)}),this.a),this.b=Math.max(this.b,r),null!=this.f&&this.s&&(this.f=(Date.now()+this.l)/1e3-this.b-this.a)}},yi.prototype.notifySegments=yi.prototype.vb,yi.prototype.fd=function(e){this.c=null==this.c?e:Math.min(this.c,e)},yi.prototype.notifyMinSegmentStartTime=yi.prototype.fd,yi.prototype.ed=function(e){this.a=Math.max(this.a,e)},yi.prototype.notifyMaxSegmentDuration=yi.prototype.ed,yi.prototype.offset=function(e){null!=this.c&&(this.c+=e),null!=this.b&&(this.b+=e)},yi.prototype.offset=yi.prototype.offset,yi.prototype.V=function(){return 1/0==this.g&&!this.m},yi.prototype.isLive=yi.prototype.V,yi.prototype.Xa=function(){return 1/0!=this.g&&!this.m},yi.prototype.isInProgress=yi.prototype.Xa,yi.prototype.Ob=function(){if(1/0==this.h)return this.i;var e=this.pb()-this.h;return Math.max(this.i,e)},yi.prototype.getSegmentAvailabilityStart=yi.prototype.Ob,yi.prototype.qe=function(e){this.i=e},yi.prototype.setUserSeekStart=yi.prototype.qe,yi.prototype.pb=function(){return this.V()||this.Xa()?Math.min(Math.max(0,(Date.now()+this.l)/1e3-this.a-this.f),this.g):this.g},yi.prototype.getSegmentAvailabilityEnd=yi.prototype.pb,yi.prototype.Nb=function(e){var t=Math.max(this.c,this.i);if(1/0==this.h)return t;var r=this.pb()-this.h;return e=Math.min(r+e,this.Ca()),Math.max(t,e)},yi.prototype.getSafeSeekRangeStart=yi.prototype.Nb,yi.prototype.ob=function(){return this.Nb(0)},yi.prototype.getSeekRangeStart=yi.prototype.ob,yi.prototype.Ca=function(){var e=this.V()||this.Xa()?this.vc:0;return Math.max(0,this.pb()-e)},yi.prototype.getSeekRangeEnd=yi.prototype.Ca,yi.prototype.ue=function(){return!(null==this.f||null!=this.b&&this.s)},yi.prototype.usingPresentationStartTime=yi.prototype.ue,G("shaka.dash.DashParser",bi),(n=bi.prototype).configure=function(e){this.a=e},n.start=function(e,t){var r=this;return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return r.f=[e],r.b=t,S(n,_i(r),2);case 2:if(i=n.o,r.b&&Si(r,i),!r.b)throw new me(2,7,7001);return n.return(r.c)}}))}))},n.stop=function(){return this.a=this.b=null,this.f=[],this.c=null,this.l=[],this.m={},null!=this.i&&(this.i.stop(),this.i=null),this.g.destroy()},n.update=function(){_i(this).catch(function(e){this.b&&this.b.onError(e)}.bind(this))},n.onExpirationUpdated=function(){},n.Nf=function(e,t){if(e.aa=wi(t,e.ka,null),"image"==e.aa.contentType)return null;var r=!1,n=Bn.P(t,"Role"),i=n.map((function(e){return e.getAttribute("value")})).filter(Gt.Ia),o=void 0,a="text"==e.aa.contentType;a&&(o="subtitle");for(var s=0;s<n.length;s++){var l=n[s].getAttribute("schemeIdUri");if(null==l||"urn:mpeg:dash:role:2011"==l)switch(l=n[s].getAttribute("value"),l){case"main":r=!0;break;case"caption":case"subtitle":o=l}}var u=null,c=!1;Bn.P(t,"EssentialProperty").forEach((function(e){"http://dashif.org/guidelines/trickmode"==e.getAttribute("schemeIdUri")?u=e.getAttribute("value"):c=!0})),s=Bn.P(t,"Accessibility");var d=new Map;for(n={},l=(s=f(s)).next();!l.done;n={Ib:n.Ib},l=s.next()){var h=l.value;l=h.getAttribute("schemeIdUri"),h=h.getAttribute("value"),"urn:scte:dash:cc:cea-608:2015"==l||"urn:scte:dash:cc:cea-708:2015"==l?(n.Ib=1,null!=h?h.split(";").forEach(function(e){return function(t){if(t.includes("=")){var r=(t=t.split("="))[0].startsWith("CC")?t[0]:"CC"+t[0];t=t[1].split(",")[0].split(":").pop()}else r="CC"+e.Ib,e.Ib+=2;d.set(r,Ir(t))}}(n)):d.set("CC1","und")):"urn:mpeg:dash:role:2011"==l&&null!=h&&(i.push(h),"captions"==h&&(o="caption"))}if(c)return null;var p=Gn(n=Bn.P(t,"ContentProtection"),this.a.dash.customScheme,this.a.dash.ignoreDrmInfo);if(n=Ir(t.getAttribute("lang")||"und"),s=t.getAttribute("label"),(l=Bn.P(t,"Label"))&&l.length&&(l=l[0]).textContent&&(s=l.textContent),0==(i=(l=Bn.P(t,"Representation")).map(this.Qf.bind(this,e,p,o,n,s,r,i,d)).filter((function(e){return!!e}))).length){if(this.a.dash.ignoreEmptyAdaptationSet||a)return null;throw new me(2,4,4003)}return e.aa.contentType&&"application"!=e.aa.contentType||(e.aa.contentType=xi(i[0].mimeType,i[0].codecs),i.forEach((function(t){t.type=e.aa.contentType}))),i.forEach((function(e){p.drmInfos.forEach((function(t){e.keyId&&t.keyIds.push(e.keyId)}))})),a=l.map((function(e){return e.getAttribute("id")})).filter(Gt.Ia),{id:e.aa.id||"__fake__"+this.h++,contentType:e.aa.contentType,language:n,$c:r,streams:i,drmInfos:p.drmInfos,Bd:u,Yf:a}},n.Qf=function(e,t,r,n,i,o,a,s,l){if(e.C=wi(l,e.aa,null),!function(e){var t=e.Ub?1:0;return t+=e.La?1:0,0==(t+=e.Wb?1:0)?"text"==e.contentType||"application"==e.contentType:(1!=t&&(e.Ub&&(e.La=null),e.Wb=null),!0)}(e.C))return null;e.bandwidth=Bn.I(l,"bandwidth",Bn.tc)||0;var u=e.C.contentType;u="text"==u||"application"==u;try{var c=this.Zf.bind(this);if(e.C.Ub)var d=function(e,t){var r=Number($n(e,di,"presentationTimeOffset"))||0,n=$n(e,di,"timescale"),i=1;n&&(i=Bn.tc(n)||1),r=r/i||0,n=ui(e,di);var o=e.C.contentType;if(i=e.C.mimeType.split("/")[1],"text"!=o&&"mp4"!=i&&"webm"!=i)throw new me(2,4,4006);if("webm"==i&&!n)throw new me(2,4,4005);o=qn(e,di,"RepresentationIndex");var a=$n(e,di,"indexRange"),s=e.C.qa;if(a=Bn.uc(a||""),o){var l=o.getAttribute("sourceURL");l&&(s=Vt(e.C.qa,[l])),a=Bn.I(o,"range",Bn.uc,a)}if(!a)throw new me(2,4,4002);return{createSegmentIndex:(i=ci(e,t,n,s,a.start,a.end,i,r)).createSegmentIndex,findSegmentPosition:i.findSegmentPosition,getSegmentReference:i.getSegmentReference,initSegmentReference:n,ma:r}}(e,c);else if(e.C.La)d=fi(e,this.m);else if(e.C.Wb)d=pi(e,c,this.m,!!this.c);else{var f=e.C.qa,h=e.T.duration||0;d={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(e){return 0<=e&&e<h?1:null},getSegmentReference:function(e){return 1!=e?null:new Zn(1,0,h,(function(){return f}),0,null)},initSegmentReference:null,ma:0}}}catch(e){if(u&&4002==e.code)return null;throw e}return l=function(e,t,r,n){var i=Gn(e,t,n);if(r.Pd)e=1==r.drmInfos.length&&!r.drmInfos[0].keySystem,t=0==i.drmInfos.length,(0==r.drmInfos.length||e&&!t)&&(r.drmInfos=i.drmInfos),r.Pd=!1;else if(0<i.drmInfos.length&&(r.drmInfos=r.drmInfos.filter((function(e){return i.drmInfos.some((function(t){return t.keySystem==e.keySystem}))})),0==r.drmInfos.length))throw new me(2,4,4008);return i.Kd||r.Kd}(l=Bn.P(l,"ContentProtection"),this.a.dash.customScheme,t,this.a.dash.ignoreDrmInfo),{id:this.h++,originalId:e.C.id,createSegmentIndex:d.createSegmentIndex,findSegmentPosition:d.findSegmentPosition,getSegmentReference:d.getSegmentReference,initSegmentReference:d.initSegmentReference,presentationTimeOffset:d.ma,mimeType:e.C.mimeType,codecs:e.C.codecs,frameRate:e.C.frameRate,pixelAspectRatio:e.C.pixelAspectRatio,bandwidth:e.bandwidth,width:e.C.width,height:e.C.height,kind:r,encrypted:0<t.drmInfos.length,keyId:l,language:n,label:i,type:e.aa.contentType,primary:o,trickModeVideo:null,emsgSchemeIdUris:e.C.emsgSchemeIdUris,roles:a,channelsCount:e.C.gd,audioSamplingRate:e.C.audioSamplingRate,closedCaptions:s}},n.Pf=function(e,t,r){var n=Bn.yb,i=r.getAttribute("schemeIdUri")||"",o=r.getAttribute("value")||"",a=Bn.I(r,"timescale",n)||1;Bn.P(r,"Event").forEach(function(r){var s=Bn.I(r,"presentationTime",n)||0,l=Bn.I(r,"duration",n)||0;l=(s=s/a+e)+l/a,null!=t&&(s=Math.min(s,e+t),l=Math.min(l,e+t)),r={schemeIdUri:i,value:o,startTime:s,endTime:l,id:r.getAttribute("id")||"",eventElement:r},this.b.onTimelineRegionAdded(r)}.bind(this))},n.Zf=function(e,t,r){return e=vi(e,t,r,this.a.retryParameters),e=this.b.networkingEngine.request(1,e),Pe(this.g,e),e.promise.then((function(e){return e.data}))},gi.pd("mpd",bi),gi.Cb("application/dash+xml",bi),gi.Cb("video/vnd.mpeg.dash.mpd",bi),Ri.prototype.toString=function(){var e="#"+this.name,t=this.a?this.a.map((function(e){return e.name+"="+(isNaN(Number(e.value))?'"'+e.value+'"':e.value)})):[];return this.value&&t.unshift(this.value),0<t.length&&(e+=":"+t.join(",")),e},Ri.prototype.getAttribute=function(e){var t=this.a.filter((function(t){return t.name==e}));return t.length?t[0]:null};var Ii={nb:function(e,t){return e.filter((function(e){return e.name==t}))},Ta:function(e,t){var r=Ii.nb(e,t);return r.length?r[0]:null},Pc:function(e,t,r){return e.filter((function(e){var n=e.getAttribute("TYPE");return e=e.getAttribute("GROUP-ID"),n.value==t&&e.value==r}))},Hc:function(e,t){return Vt([e],[t])[0]},Yc:function(e){return/^#(?!EXT)/m.test(e)}};function Oi(e){this.b=e,this.a=0}function Di(e){Mi(e,/[ \t]+/gm)}function Mi(e,t){t.lastIndex=e.a;var r=t.exec(e.b);return r=null==r?null:{position:r.index,length:r[0].length,ag:r},e.a==e.b.length||null==r||r.position!=e.a?null:(e.a+=r.length,r.ag)}function Ni(e){return e.a==e.b.length?null:(e=Mi(e,/[^ \t\n]*/gm))?e[0]:null}function Ui(){this.a=0}function Fi(e,t,r){var n=(t=(t=at(t)).replace(/\r\n|\r(?=[^\n]|$)/gm,"\n").trim()).split(/\n+/m);if(!/^#EXTM3U($|[ \t\n])/m.test(n[0]))throw new me(2,4,4015);t=0;for(var i=1;i<n.length;i++)if(!Ii.Yc(n[i])){var o=Ki(e,n[i]);if(--e.a,Gi.includes(o.name)){t=1;break}"EXT-X-STREAM-INF"==o.name&&(i+=1)}for(i=[],o=1;o<n.length;)if(Ii.Yc(n[o]))o+=1;else{var a=Ki(e,n[o]);if(Vi.includes(a.name)){if(1!=t)throw new me(2,4,4017);return new Ci(r,t,i,e=Bi(e,r,n=n.splice(o,n.length-o),i))}i.push(a),o+=1,"EXT-X-STREAM-INF"==a.name&&(a.a.push(new Li("URI",n[o])),o+=1)}return new Ci(r,t,i)}function Bi(e,t,r,n){var i=[],o=[];return r.forEach((function(r){if(/^(#EXT)/.test(r))r=Ki(e,r),Gi.includes(r.name)?n.push(r):o.push(r);else{if(Ii.Yc(r))return[];r=Ii.Hc(t,r.trim()),i.push(new Pi(r,o)),o=[]}})),i}function Ki(e,t){var r=e.a++,n=t.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!n)throw new me(2,4,4016,t);var i,o=n[1],a=n[2];if(n=[],a){var s;(s=Mi(a=new Oi(a),/^([^,=]+)(?:,|$)/g))&&(i=s[1]);for(var l=/([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g;s=Mi(a,l);)n.push(new Li(s[1],s[2]||s[3]))}return new Ri(r,o,n,i)}var Gi="EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-MAP EXT-X-I-FRAMES-ONLY EXT-X-ENDLIST".split(" "),Vi="EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE".split(" ");function Hi(e){try{var t=Hi.parse(e);return _e({uri:e,ld:e,data:t.data,headers:{"content-type":t.contentType}})}catch(e){return ve(e)}}function Yi(){var e=this;this.a=this.f=null,this.$=1,this.D=new Map,this.S=new Set,this.b=new Map,this.c=null,this.u="",this.s=new Ui,this.O=0,this.h=new fe((function(){!function(e){p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return e.f?(k(t,2),S(t,e.update(),4)):t.return();case 4:r=e.O,e.h.R(r),C(t,0);break;case 2:if(n=R(t),!e.f)return t.return();n.severity=1,e.f.onError(n),e.h.R(.1),w(t)}}))}))}(e)})),this.g=fo,this.m=null,this.B=0,this.F=1/0,this.i=new je,this.K=[],this.l=new Map,this.W=!1}function zi(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d,f;return M(r,(function(r){switch(r.j){case 1:return n=Ii,i=ho,o=t.Ce,S(r,uo(e,Me([o],e.a.retryParameters),0),2);case 2:if(a=r.o,1!=(s=Fi(e.s,a.data,a.uri)).type)throw new me(2,4,4017);return u=(l=n.Ta(s.a,"EXT-X-MEDIA-SEQUENCE"))?Number(l.value):0,c=t.stream,S(r,eo(e,t.Bc,s,u,c.mimeType,c.codecs),3);case 3:d=r.o,t.Vb.a=d,f=d[d.length-1],n.Ta(s.a,"EXT-X-ENDLIST")&&(lo(e,i.Qa),e.c.xa(f.endTime)),w(r)}}))}))}function Wi(e){e.forEach((function(e){if(e){var t=e.stream.codecs.split(",");t=t.filter((function(e){return"mp4a.40.34"!=e})),e.stream.codecs=t.join(",")}}))}function $i(e,t,r,n,i){return{id:e.$++,language:t?t.language:"und",primary:!!t&&t.primary||!!r&&r.primary,audio:t,video:r,bandwidth:n,drmInfos:i,allowedByApplication:!0,allowedByKeySystem:!0}}function qi(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,f;return M(n,(function(n){switch(n.j){case 1:if(i=no(t,"URI"),e.b.has(i))return n.return(e.b.get(i));if(o=no(t,"TYPE").toLowerCase(),a=Yt,"subtitles"==o&&(o=a.ra),s=Ir(ji(t,"LANGUAGE","und")),l=ji(t,"NAME"),u=t.getAttribute("DEFAULT"),c=t.getAttribute("AUTOSELECT"),d=ji(t,"CHANNELS"),"audio"==o)if(d){var h=d.split("/")[0];h=parseInt(h,10)}else h=null;else h=null;return S(n,Xi(e,i,r,o,s,!!u||!!c,l,h,null),2);case 2:return f=n.o,e.b.has(i)?n.return(e.b.get(i)):null==f?n.return(null):(e.D.set(t.id,f),e.b.set(i,f),n.return(f))}}))}))}function Xi(e,t,r,n,i,o,a,s,l){return p((function u(){var c,d,h,m,g,y,v,b,_,A,E,T,w,x,L,j,P,I,O,D,N,U,F,B,K,G;return M(u,(function(u){switch(u.j){case 1:return d=(c=Ii).Hc(e.u,t),S(u,uo(e,Me([d],e.a.retryParameters),0),2);case 2:if(h=u.o,d=h.uri,1!=(m=Fi(e.s,h.data,d)).type)throw new me(2,4,4017);g=[],m.segments.forEach((function(e){e=c.nb(e.b,"EXT-X-KEY"),g.push.apply(g,e)})),y=!1,v=[],b=null;for(var V=f(g),H=V.next();!H.done;H=V.next())if(_=H.value,"NONE"!=(A=no(_,"METHOD"))){if(y=!0,"AES-128"==A)return e.W=!0,u.return(null);E=no(_,"KEYFORMAT"),(w=(T=co[E])?T(_):null)&&(w.keyIds.length&&(b=w.keyIds[0]),v.push(w))}if(y&&!v.length)throw new me(2,4,4026);return function(e,t){var r=ho,n=Ii.Ta(t.a,"EXT-X-PLAYLIST-TYPE"),i=Ii.Ta(t.a,"EXT-X-ENDLIST");i=n&&"VOD"==n.value||i,n=n&&"EVENT"==n.value&&!i,n=!i&&!n,i?lo(e,r.Qa):(lo(e,n?r.Fd:r.xe),r=io(t.a,"EXT-X-TARGETDURATION"),r=Number(r.value),e.B=Math.max(r,e.B),e.F=Math.min(r,e.F))}(e,m),x=function(e,t){if(1==t.length)return t[0];var r=ro(e,t);if(null!=r)return r;throw new me(2,4,4025,t)}(n,r),S(u,function(e,t,r,n){return p((function i(){var o,a,s,l,u,c,d,f,h;return M(i,(function(i){switch(i.j){case 1:return o=Yt,a=n.segments[0].a,s=new Z(a),l=s.ja.split(".").pop(),u=so[t],(c=u[l])?i.return(c):t==o.ra?r&&"vtt"!=r?i.return("application/mp4"):i.return("text/vtt"):((d=Me([a],e.a.retryParameters)).method="HEAD",S(i,uo(e,d,1),2));case 2:if(f=i.o,!(h=f.headers["content-type"]))throw new me(2,4,4021,l);return i.return(h.split(";")[0])}}))}))}(e,n,x,m),3);case 3:return L=u.o,ao.includes(L)&&(x=""),P=(j=c.Ta(m.a,"EXT-X-MEDIA-SEQUENCE"))?Number(j.value):0,k(u,4),S(u,eo(e,t,m,P,L,x),6);case 6:I=u.o,C(u,5);break;case 4:if(4035==(O=R(u)).code)return q("Skipping unsupported HLS stream",L,t),u.return(null);throw O;case 5:return D=I[0].startTime,N=I[I.length-1].endTime,U=N-D,F=new ei(I),B=Ji(m),K=void 0,"text"==n&&(K="subtitle"),G={id:e.$++,originalId:a,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:F.find.bind(F),getSegmentReference:F.get.bind(F),initSegmentReference:B,presentationTimeOffset:0,mimeType:L,codecs:x,kind:K,encrypted:y,keyId:b,language:i,label:a,type:n,primary:o,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,width:void 0,height:void 0,bandwidth:void 0,roles:[],channelsCount:s,audioSamplingRate:null,closedCaptions:l},u.return({stream:G,Vb:F,drmInfos:v,Bc:t,Ce:d,dd:D,Hg:N,duration:U})}}))}))}function Ji(e){var t=Ii.nb(e.a,"EXT-X-MAP");if(!t.length)return null;if(1<t.length)throw new me(2,4,4020);var r=no(t=t[0],"URI"),n=Ii.Hc(e.b,r);return e=0,r=null,(t=ji(t,"BYTERANGE"))&&(e=t.split("@"),t=Number(e[0]),r=(e=Number(e[1]))+t-1),new Jn((function(){return[n]}),e,r)}function Zi(e,t,r,n){var i=t.b,o=t.a;t=io(i,"EXTINF").value.split(","),t=n+Number(t[0]);var a=0,s=null;return(i=Ii.Ta(i,"EXT-X-BYTERANGE"))&&(a=i.value.split("@"),i=Number(a[0]),s=(a=a[1]?Number(a[1]):e.a+1)+i-1),new Zn(r,n,t,(function(){return[o]}),a,s)}function Qi(e){e.c&&(e.K.forEach((function(t){e.c.vb(t,0)})),e.K=[])}function eo(e,t,r,n,i,o){return p((function a(){var s,l,u,c,d,f,h,m,g,y;return M(a,(function(a){switch(a.j){case 1:return s=r.segments,l=[],u=s[0].a,c=Zi(null,s[0],n,0),d=Ji(r),S(a,function(e,t,r,n,i,o){return p((function a(){var s,l,u,c,d,f,h,p,m;return M(a,(function(a){switch(a.j){case 1:if(e.m&&(s=e.b.get(t),l=s.Vb,u=l.get(n.position)))return a.return(u.startTime);if(i=i.toLowerCase(),ao.includes(i))throw q("Raw formats are not yet supported. Skipping "+i),new me(1,4,4035);if("video/webm"==i)throw q("WebM in HLS is not yet supported. Skipping."),new me(1,4,4035);if("video/mp4"!=i&&"audio/mp4"!=i){a.A(2);break}return c=[to(e,n)],r&&c.push(to(e,r)),S(a,Promise.all(c),3);case 3:return d=a.o,f=d[0],h=d[1]||d[0],a.return(function(e,t,r,n){var i=0;if((new In).H("moov",On).H("trak",On).H("mdia",On).fa("mdhd",(function(e){e.reader.M(0==e.version?8:16),i=e.reader.G(),e.parser.stop()})).parse(n,!0),!i)throw new me(2,4,4030,e,t);var o=0,a=!1;if((new In).H("moof",On).H("traf",On).fa("tfdt",(function(e){o=(0==e.version?e.reader.G():e.reader.Bb())/i,a=!0,e.parser.stop()})).parse(r,!0),!a)throw new me(2,4,4030,e,t);return o}(t,f.uri,f.data,h.data));case 2:if("video/mp2t"!=i){a.A(4);break}return S(a,to(e,n),5);case 5:return p=a.o,a.return(function(e,t,r){function n(){throw new me(2,4,4030,e,t)}r=new Ln(new DataView(r),0);for(var i=0,o=0;;){if(i=r.ca(),71!=(o=r.la())&&n(),16384&r.Tb()||n(),0!=(o=(48&r.la())>>4)&&2!=o||n(),3==o&&(o=r.la(),r.M(o)),1==r.G()>>8)return r.M(3),0!=(i=r.la()>>6)&&1!=i||n(),0==r.la()&&n(),i=r.la(),o=r.Tb(),r=r.Tb(),(1073741824*((14&i)>>1)+((65534&o)<<14|(65534&r)>>1))/9e4;r.seek(i+188),71!=(o=r.la())&&(r.seek(i+192),o=r.la()),71!=o&&(r.seek(i+204),o=r.la()),71!=o&&n(),r.me(1)}}(t,p.uri,p.data));case 4:if("application/mp4"!=i&&!i.startsWith("text/")){a.A(6);break}return S(a,to(e,n),7);case 7:return m=a.o,a.return(function(e,t,r){return pr(e=qe(e,t))?(mr(t=new fr(null),e),t.kc(r)):0}(i,o,m.data));case 6:throw new me(2,4,4030,t)}}))}))}(e,t,d,c,i,o),2);case 2:f=a.o,u.split("/").pop();for(var v=0;v<s.length;++v)h=s[v],m=l[l.length-1],g=0==v?f:m.endTime,y=Zi(m,h,n+v,g),l.push(y);return e.K.push(l),Qi(e),a.return(l)}}))}))}function to(e,t){return p((function r(){var n,i,o,a,s,l;return M(r,(function(r){switch(r.j){case 1:return n=1,i=vi(t.c(),t.b,t.b+2048-1,e.a.retryParameters),o=vi(t.c(),t.b,t.a,e.a.retryParameters),k(r,2),S(r,uo(e,i,n),4);case 4:return a=r.o,r.return(a);case 2:if(7001==(s=R(r)).code)throw s;return q("Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive! Your server should support Range requests and CORS preflights.",i.uris[0]),S(r,uo(e,o,n),5);case 5:return l=r.o,r.return(l)}}))}))}function ro(e,t){for(var r=oo[e],n=0;n<r.length;n++)for(var i=0;i<t.length;i++)if(r[n].test(t[i].trim()))return t[i].trim();return"text"==e?"":null}function no(e,t){var r=e.getAttribute(t);if(!r)throw new me(2,4,4023,t);return r.value}function io(e,t){var r=Ii.Ta(e,t);if(!r)throw new me(2,4,4024,t);return r}G("shaka.net.DataUriPlugin",Hi),Hi.parse=function(t){var r=t.split(":");if(2>r.length||"data"!=r[0])throw new me(2,1,1004,t);if(2>(r=r.slice(1).join(":").split(",")).length)throw new me(2,1,1004,t);var n=r[0];r=e.decodeURIComponent(r.slice(1).join(","));var i=null;if(1<(n=n.split(";")).length&&(i=n[1]),"base64"==i)t=ht.Ba(r).buffer;else{if(i)throw new me(2,1,1005,t);t=ut(r)}return{data:t,contentType:n[0]}},De("data",Hi),G("shaka.hls.HlsParser",Yi),(n=Yi.prototype).configure=function(e){this.a=e},n.start=function(e,t){var r=this;return p((function n(){var i,o;return M(n,(function(n){switch(n.j){case 1:return r.f=t,S(n,uo(r,Me([e],r.a.retryParameters),0),2);case 2:return i=n.o,r.u=i.uri,S(n,function(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d,h,m;return M(r,(function(r){switch(r.j){case 1:if(0!=(n=Fi(e.s,t,e.u)).type)throw new me(2,4,4022);return S(r,function(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d,h,m,g;return M(r,(function(r){switch(r.j){case 1:return n=Ii,i=Gt,o=t.a,a=n.nb(t.a,"EXT-X-MEDIA"),s=a.filter(function(e){return"SUBTITLES"==no(e,"TYPE")}.bind(e)),l=s.map(function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return t.a.disableText?r.return(null):(k(r,2),S(r,function(e,t){return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return no(t,"TYPE"),S(r,qi(e,t,[]),2);case 2:return n=r.o,r.return(n.stream)}}))}))}(t,e),4));case 4:return r.return(r.o);case 2:if(n=R(r),t.a.hls.ignoreTextStreamFailures)return r.return(null);throw n}}))}))}.bind(e)),u=a.filter((function(e){return"CLOSED-CAPTIONS"==no(e,"TYPE")})),function(e,t){for(var r=f(t),n=r.next();!n.done;n=r.next()){no(n=n.value,"TYPE");var i=ji(n,"LANGUAGE")||"und";i=Ir(i);var o=no(n,"GROUP-ID");n=no(n,"INSTREAM-ID"),e.l.get(o)||e.l.set(o,new Map),e.l.get(o).set(n,i)}}(e,u),S(r,Promise.all(l),2);case 2:return c=r.o,d=n.nb(o,"EXT-X-STREAM-INF"),h=d.map(function(e){return function(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,h,m,g,y,v,b,_,A,E,T,w,k,x,C,R,L,j,P,I;return M(n,(function(n){switch(n.j){case 1:return i=Yt,o=Ii,a=ji(t,"CODECS","avc1.42E01E,mp4a.40.2"),s=function(e){for(var t=new Set,r=[],n=(e=f(e)).next();!n.done;n=e.next()){var i=Xe(n=n.value)[0];t.has(i)||(r.push(n),t.add(i))}return r}(a.split(/\s*,\s*/)),l=t.getAttribute("RESOLUTION"),c=u=null,d=ji(t,"FRAME-RATE"),h=Number(no(t,"BANDWIDTH")),l&&(m=l.value.split("x"),u=m[0],c=m[1]),g=(g=(g=o.nb(r.a,"EXT-X-MEDIA")).filter((function(e){return"CLOSED-CAPTIONS"!=no(e,"TYPE")}))).filter((function(e){var t=ji(e,"URI")||"";return"SUBTITLES"==(ji(e,"TYPE")||"")||""!=t})),y=ji(t,"AUDIO"),v=ji(t,"VIDEO"),y?g=o.Pc(g,"AUDIO",y):v&&(g=o.Pc(g,"VIDEO",v)),(b=ro(i.ra,s))&&((_=ji(t,"SUBTITLES"))&&(A=o.Pc(g,"SUBTITLES",_)).length&&(E=e.D.get(A[0].id))&&(E.stream.codecs=b),Re(s,b)),T=g.map(function(e){return qi(this,e,s)}.bind(e)),w=[],k=[],S(n,Promise.all(T),2);case 2:if(C=(C=n.o).filter((function(e){return null!=e})),y?w=C:v&&(k=C),L=!1,w.length||k.length?w.length?(P=no(t,"URI"),I=w[0].Bc,P==I?(R=i.Eb,L=!0):R=i.Pa):R=i.Eb:1==s.length?(j=ro(i.Pa,s),R=l||d||j?i.Pa:i.Eb):(R=i.Pa,s=[s.join(",")]),L){n.A(3);break}return S(n,function(e,t,r,n){return p((function i(){var o,a,s,l,u;return M(i,(function(i){switch(i.j){case 1:return o=Yt,a=no(t,"URI"),e.b.has(a)?i.return(e.b.get(a)):(s=ji(t,"CLOSED-CAPTIONS"),l=null,n==o.Pa&&s&&"NONE"!=s&&(l=e.l.get(s)),S(i,Xi(e,a,r,n,"und",!1,null,null,l),2));case 2:return null==(u=i.o)?i.return(null):e.b.has(a)?i.return(e.b.get(a)):(e.b.set(a,u),i.return(u))}}))}))}(e,t,s,R),4);case 4:x=n.o;case 3:if(x)x.stream.type==i.Eb?w=[x]:k=[x];else if(null===x)return n.return([]);return k&&Wi(k),w&&Wi(w),n.return(function(e,t,r,n,i,o,a){r.forEach(function(e){(e=e.stream)&&(e.width=Number(i)||void 0,e.height=Number(o)||void 0,e.frameRate=Number(a)||void 0)}.bind(e));var s=!!e.a&&e.a.disableAudio;t.length&&!s||(t=[null]),s=!!e.a&&e.a.disableVideo,(!r.length||s)&&(r=[null]),s=[];for(var l=(t=f(t)).next();!l.done;l=t.next()){l=l.value;for(var u=f(r),c=u.next();!c.done;c=u.next()){var d=c.value;c=l?l.stream:null;var h=d?d.stream:null,p=l?l.drmInfos:null,m=d?d.drmInfos:null;d=(d?d.Bc:"")+" - "+(l?l.Bc:"");var g=void 0;if(c&&h){if(p.length&&m.length&&!(0<Lt(p,m).length))continue;g=Lt(p,m)}else c?g=p:h&&(g=m);e.S.has(d)||(c=$i(e,c,h,n,g),s.push(c),e.S.add(d))}}return s}(e,w,k,h,u,c,d))}}))}))}(this,e,t)}.bind(e)),S(r,Promise.all(h),3);case 3:return m=r.o,g=(g=m.reduce(i.Gc,[])).filter((function(e){return null!=e})),r.return({startTime:0,variants:g,textStreams:c.filter((function(e){return null!=e}))})}}))}))}(e,n),2);case 2:if(i=r.o,!e.f)throw new me(2,7,7001);if(e.W&&0==i.variants.length)throw new me(2,4,4034);e.f.filterAllPeriods([i]),o=1/0,a=0,s=1/0;for(var g=f(e.b.values()),y=g.next();!y.done;y=g.next())l=y.value,o=Math.min(o,l.dd),a=Math.max(a,l.dd),"text"!=l.stream.type&&(s=Math.min(s,l.duration));if(e.g!=ho.Qa?(e.c=new yi(0,3*e.B),e.c.Xb(!1)):(e.c=new yi(null,0),e.c.Xb(!0)),Qi(e),e.g!=ho.Qa){for(e.O=e.F,u=ho,e.g==u.Fd&&(c=e.c.vc,isNaN(e.a.availabilityWindowOverride)||(c=e.a.availabilityWindowOverride),e.c.xd(c)),d=0;95443.7176888889<=a;)d+=95443.7176888889,a-=95443.7176888889;if(d)for(y=(g=f(e.b.values())).next();!y.done;y=g.next())95443.7176888889>(h=y.value).dd&&(h.stream.presentationTimeOffset=-d,h.Vb.offset(d))}else for(e.c.xa(s),e.c.offset(-o),y=(g=f(e.b.values())).next();!y.done;y=g.next())(m=y.value).stream.presentationTimeOffset=o,m.Vb.offset(-o),ti(m.Vb,s);e.m={presentationTimeline:e.c,periods:[i],offlineSessionIds:[],minBufferTime:0},w(r)}}))}))}(r,i.data),3);case 3:return 0<(o=r.O)&&r.h.R(o),n.return(r.m)}}))}))},n.stop=function(){this.h&&(this.h.stop(),this.h=null);var e=[];return this.i&&(e.push(this.i.destroy()),this.i=null),this.a=this.f=null,this.D.clear(),this.S.clear(),this.b.clear(),this.m=null,Promise.all(e)},n.update=function(){if(this.g!=ho.Qa){for(var e=[],t=f(this.b.values()),r=t.next();!r.done;r=t.next())e.push(zi(this,r.value));return Promise.all(e)}},n.onExpirationUpdated=function(){};var oo={audio:[/^vorbis$/,/^opus$/,/^flac$/,/^mp4a/,/^[ae]c-3$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av1$/],text:[/^vtt$/,/^wvtt/,/^stpp/]},ao=["audio/aac","audio/ac3","audio/ec3","audio/mpeg"],so={audio:{mp4:"audio/mp4",m4s:"audio/mp4",m4i:"audio/mp4",m4a:"audio/mp4",ts:"video/mp2t",aac:"audio/aac",ac3:"audio/ac3",ec3:"audio/ec3",mp3:"audio/mpeg"},video:{mp4:"video/mp4",m4s:"video/mp4",m4i:"video/mp4",m4v:"video/mp4",ts:"video/mp2t"},text:{mp4:"application/mp4",m4s:"application/mp4",m4i:"application/mp4",vtt:"text/vtt",ttml:"application/ttml+xml"}};function lo(e,t){e.g=t,e.c&&e.c.Xb(e.g==ho.Qa),e.g!=ho.Qa||e.h.stop()}function uo(e,t,r){if(!e.i)throw new me(2,7,7001);return t=e.f.networkingEngine.request(r,t),Pe(e.i,t),t.promise}var co={"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":function(e){var t=no(e,"METHOD");return Kr("HLS SAMPLE-AES-CENC","SAMPLE-AES-CENC will no longer be supported, see Issue #1227"),["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].includes(t)?(t=no(e,"URI"),t=Hi.parse(t),t=Ht("com.widevine.alpha",[{initDataType:"cenc",initData:t=new Uint8Array(t.data)}]),(e=ji(e,"KEYID"))&&(t.keyIds=[e.substr(2).toLowerCase()]),t):null}},fo="VOD",ho={Qa:fo,xe:"EVENT",Fd:"LIVE"};function po(){this.a=new Map}function mo(e,t,r){go(e,t).text=r}function go(e,t){return e.a.has(t)||e.a.set(t,new yo),e.a.get(t)}function yo(){this.text=this.variant=null}function vo(e,t){this.a=e,this.b=new Set([e]);for(var r=f(t=t||[]),n=r.next();!n.done;n=r.next())this.add(n.value)}function bo(e,t){var r;if(!(r=!!e.audio!=!!t.audio||!!e.video!=!!t.video||e.language!=t.language)&&(r=e.audio&&t.audio)){r=e.audio;var n=t.audio;r=!(r.channelsCount==n.channelsCount&&_o(r,n)&&Ao(r.roles,n.roles))}return!r&&(r=e.video&&t.video)&&(r=!(_o(r=e.video,n=t.video)&&Ao(r.roles,n.roles))),!r}function _o(e,t){if(e.mimeType!=t.mimeType)return!1;var r=e.codecs.split(",").map((function(e){return Xe(e)[0]})),n=t.codecs.split(",").map((function(e){return Xe(e)[0]}));if(r.length!=n.length)return!1;r.sort(),n.sort();for(var i=0;i<r.length;i++)if(r[i]!=n[i])return!1;return!0}function Ao(e,t){var r=new Set(e),n=new Set(t);if(r.delete("main"),n.delete("main"),r.size!=n.size)return!1;for(var i=(r=f(r)).next();!i.done;i=r.next())if(!n.has(i.value))return!1;return!0}function Eo(e){this.a=e,this.b=new To(e.language,"",e.audio&&e.audio.channelsCount?e.audio.channelsCount:0,"")}function To(e,t,r,n,i){this.f=e,this.c=t,this.a=r,this.b=void 0===n?"":n,this.g=void 0===i?"":i}function So(){this.a=xo,this.b=(new Map).set(xo,2).set(ko,1)}function wo(e,t,r){e.b.set(xo,r).set(ko,t)}gi.pd("m3u8",Yi),gi.Cb("application/x-mpegurl",Yi),gi.Cb("application/vnd.apple.mpegurl",Yi),vo.prototype.add=function(e){return!!bo(this.a,e)&&(this.b.add(e),!0)},vo.prototype.values=function(){return this.b.values()},Eo.prototype.create=function(e){var t=this,r=e.filter((function(e){return bo(t.a,e)}));return r.length?new vo(r[0],r):this.b.create(e)},To.prototype.create=function(e){var t=[];t=function(e,t){var r=Dr(Ir(t),e.map((function(e){return Or(e)})));return r?e.filter((function(e){return r==Or(e)})):[]}(e,this.f);var r=e.filter((function(e){return e.primary}));for(t=t.length?t:r.length?r:e,this.c&&(e=function(e,t,r){return e.filter((function(e){if(r){var n=e[r];return n&&n.roles.includes(t)}return n=e.audio,e=e.video,n&&0<=n.roles.indexOf(t)||e&&0<=e.roles.indexOf(t)}))}(t,this.c,this.g)).length&&(t=e),this.a&&(e=Nr.Nd(t,this.a)).length&&(t=e),this.b&&(e=function(e,t){return e.filter((function(e){return!!e.audio&&e.audio.label.toLowerCase()==t.toLowerCase()}))}(t,this.b)).length&&(t=e),e=new vo(t[0]),r=(t=f(t)).next();!r.done;r=t.next())r=r.value,bo(e.a,r)&&e.add(r);return e};var ko=0,xo=1;function Co(e,t){this.g=e,this.h=Lo(e),this.a=e.a.currentTime,this.f=Date.now()/1e3,this.b=!1,this.i=t,this.c=function(){}}function Ro(e){this.a=e}function Lo(e){if(e.a.paused||0==e.a.playbackRate||null==e.a.buffered)var t=!1;else e:{t=e.a.buffered,e=e.a.currentTime;for(var r=0;r<t.length;r++){var n=t.start(r),i=t.end(r);if(!(e<n||e>i-.5)){t=!0;break e}}t=!1}return t}function jo(e,t,r,n,i){var o=this;this.a=e,this.u=t,this.s=r,this.l=i,this.f=new Be,this.i=!1,this.m=e.readyState,this.c=!1,this.b=n,this.h=!1,this.f.w(e,"waiting",(function(){return Po(o)})),this.g=new fe((function(){Po(o)})).Na(.25)}function Po(e){if(0!=e.a.readyState){if(e.a.seeking){if(!e.i)return}else e.i=!1;if(!e.a.paused){e.a.readyState!=e.m&&(e.c=!1,e.m=e.a.readyState);var t=e.s.smallGapLimit,r=e.a.currentTime,n=e.a.buffered;e:{if(n&&n.length&&!(1==n.length&&1e-6>n.end(0)-n.start(0)))for(var i=rt("Edge/")||rt("Trident/")||rt("Tizen")||rt("CrKey")?.5:.1,o=0;o<n.length;o++)if(n.start(o)>r&&(0==o||n.end(o-1)-r<=i)){i=o;break e}i=null}if(null==i)e.b&&(r=Lo(n=(e=e.b).g),i=n.a.currentTime,o=Date.now()/1e3,e.a==i&&e.h==r||(e.f=o,e.a=i,e.h=r,e.b=!1),(i=o-e.f)>=e.i&&r&&!e.b&&(e.c(e.a,i),e.b=!0,e.a=n.a.currentTime));else if(0!=i||e.h){o=n.start(i);var a=e.u.Ca();if(!(o>=a)){t=(a=o-r)<=t;var s=!1;.001>a||(t||e.c||(e.c=!0,(r=new Se("largegap",{currentTime:r,gapSize:a})).cancelable=!0,e.l(r),e.s.jumpLargeGaps&&!r.defaultPrevented&&(s=!0)),!t&&!s)||(0!=i&&n.end(i-1),e.a.currentTime=o)}}}}}function Io(e){var t=this;this.c=e,this.a=new Set,this.b=new fe((function(){Oo(t,!1)})).Na(.25)}function Oo(e,t){for(var r=f(e.a),n=r.next();!n.done;n=r.next())n.value.g(e.c.currentTime,t)}function Do(e){for(var t=[],r=(e=f(e)).next();!r.done;r=e.next())for(var n=(r=f(r.value.variants)).next();!n.done;n=r.next())t.push(n.value);return t}function Mo(e,t){for(var r=null,n=f(e),i=n.next();!i.done;i=n.next())t>=(i=i.value).startTime&&(r=i);return r}function No(e){this.c=e,this.a=null,this.b=function(){}}function Uo(e){var t=this;this.a=e,this.f=!1,this.c=this.a.jc(),this.b=new fe((function(){t.a.Yd(.25*t.c)}))}function Fo(e){e.b.stop();var t=e.f?0:e.c;if(0<=t)try{return void(e.a.jc()!=t&&e.a.wd(t))}catch(e){}e.b.Na(.25),0!=e.a.jc()&&e.a.wd(0)}function Bo(e,t,r){this.a=e,this.f=t,this.g=r,this.h=!1,this.b=new Be,this.c=new Yo(e),0<e.readyState?Vo(this,r):Go(this,r)}function Ko(e){return e.h?e.a.currentTime:e.g}function Go(e,t){e.g=t,e.b.ea(e.a,"loadedmetadata"),e.b.da(e.a,"loadedmetadata",(function(){Vo(e,t)}))}function Vo(e,t){.001>Math.abs(e.a.currentTime-t)?Ho(e):(e.b.da(e.a,"seeking",(function(){Ho(e)})),zo(e.c,0==e.a.currentTime?t:e.a.currentTime))}function Ho(e){e.h=!0,e.b.w(e.a,"seeking",(function(){return e.f()}))}function Yo(e){var t=this;this.b=e,this.h=10,this.g=this.f=this.c=0,this.a=new fe((function(){0>=t.c||t.b.currentTime!=t.f?t.a.stop():(t.b.currentTime=t.g,t.c--)}))}function zo(e,t){e.f=e.b.currentTime,e.g=t,e.c=e.h,e.b.currentTime=t,e.a.Na(.1)}function Wo(e){function t(){null==r.c?r.f=!0:(r.b.da(r.a,"seeking",(function(){r.f=!0})),r.a.currentTime=Math.max(0,r.a.currentTime+r.c))}var r=this;this.a=e,this.f=!1,this.c=null,this.b=new Be,0==this.a.readyState?this.b.da(this.a,"loadeddata",t):t()}function $o(e,t,r,n,i,o){var a=this;this.b=e,this.a=t.presentationTimeline,this.B=t.minBufferTime||0,this.g=r,this.u=i,this.l=null,this.f=new jo(e,t.presentationTimeline,r,function(e,t){if(!t.stallEnabled)return null;var r=t.stallSkip,n=new Co(new Ro(e),t.stallThreshold);return function(e,t){e.c=t}(n,(function(){e.currentTime+=r})),n}(e,r),o),this.c=new Bo(e,(function(){var e=a.f;e.i=!0,e.h=!1,e.c=!1;var t=Ko(a.c);return e=Xo(a,t),.001<Math.abs(e-t)&&(t=(new Date).getTime()/1e3,!a.l||a.l<t-1)?(a.l=t,0<(t=a.c).a.readyState?zo(t.c,e):Go(t,e),e=void 0):(a.u(),e=void 0),e}),function(e,t){return null==t?t=1/0>e.a.Y()?e.a.ob():e.a.Ca():0>t&&(t=e.a.Ca()+t),qo(e,Jo(e,t))}(this,n)),this.i=new fe((function(){if(0!=a.b.readyState&&!a.b.paused){var e=a.b.currentTime,t=a.a.ob(),r=a.a.Ca();3>r-t&&(t=r-3),e<t&&(e=Xo(a,e),a.b.currentTime=e)}})).Na(.25)}function qo(e,t){var r=e.a.Y();return t>=r?r-e.g.durationBackoff:t}function Xo(e,t){var r=Ft.bind(null,e.b.buffered),n=Math.max(e.B,e.g.rebufferingGoal),i=e.g.safeSeekOffset,o=e.a.ob(),a=e.a.Ca(),s=e.a.Y();3>a-o&&(o=a-3);var l=e.a.Nb(n),u=e.a.Nb(i);return n=e.a.Nb(n+i),t>=s?qo(e,t):t>a?a:t<o?r(u)?u:n:t>=l||r(t)?t:n}function Jo(e,t){var r=e.a.ob();return t<r||t>(r=e.a.Ca())?r:t}function Zo(){this.b=function(){},this.a=new Set}function Qo(e){var t=this;this.h=e,this.f=new Map,this.a=function(){},this.b=function(){},this.c=function(){},this.i=[{eb:null,cb:ta,Wa:function(e,r){return t.a(e,r)}},{eb:ea,cb:ta,Wa:function(e,r){return t.a(e,r)}},{eb:ra,cb:ta,Wa:function(e,r){return t.a(e,r)}},{eb:ta,cb:ea,Wa:function(e,r){return t.b(e,r)}},{eb:ta,cb:ra,Wa:function(e,r){return t.b(e,r)}},{eb:ea,cb:ra,Wa:function(e,r){return t.c(e,r)}},{eb:ra,cb:ea,Wa:function(e,r){return t.c(e,r)}}]}Co.prototype.release=function(){this.g=null,this.c=function(){}},jo.prototype.release=function(){this.f&&(this.f.release(),this.f=null),null!=this.g&&(this.g.stop(),this.g=null),this.b&&(this.b.release(),this.b=null),this.a=this.u=this.l=null},jo.prototype.jd=function(){this.h=!0,Po(this)},Io.prototype.release=function(){this.b.stop();for(var e=f(this.a),t=e.next();!t.done;t=e.next())t.value.release();this.a.clear()},No.prototype.release=function(){this.a=this.c=null,this.b=function(){}},No.prototype.g=function(e){var t=this.a,r=this.c.periods;t!=(e=Mo(r,e)||r[0])&&this.b(e),this.a=e},Uo.prototype.release=function(){this.b&&(this.b.stop(),this.b=null),this.a=null},Uo.prototype.set=function(e){this.c=e,Fo(this)},Bo.prototype.release=function(){this.b&&(this.b.release(),this.b=null),null!=this.c&&(this.c.release(),this.c=null),this.f=function(){},this.a=null},Yo.prototype.release=function(){this.a&&(this.a.stop(),this.a=null),this.b=null},Wo.prototype.release=function(){this.b&&(this.b.release(),this.b=null),this.a=null},Wo.prototype.m=function(e){this.c=this.f?this.c:e},Wo.prototype.h=function(){return(this.f?this.a.currentTime:this.c)||0},Wo.prototype.s=function(){},$o.prototype.release=function(){this.c&&(this.c.release(),this.c=null),this.f&&(this.f.release(),this.f=null),this.i&&(this.i.stop(),this.i=null),this.b=this.c=this.a=this.g=null,this.u=function(){}},$o.prototype.m=function(e){var t=this.c;0<t.a.readyState?zo(t.c,e):Go(t,e)},$o.prototype.h=function(){var e=Ko(this.c);return 0<this.b.readyState&&!this.b.paused?Jo(this,e):e},$o.prototype.s=function(){this.f.jd()},Zo.prototype.release=function(){this.b=function(){},this.a.clear()},Qo.prototype.release=function(){this.h=null,this.f.clear(),this.a=function(){},this.b=function(){},this.c=function(){}},Qo.prototype.g=function(e,t){for(var r=f(this.h.a),n=r.next();!n.done;n=r.next()){n=n.value;var i=this.f.get(n),o=e<n.startTime?ea:e>n.endTime?ra:ta;this.f.set(n,o);for(var a=f(this.i),s=a.next();!s.done;s=a.next())(s=s.value).eb==i&&s.cb==o&&s.Wa(n,t)}};var ea=1,ta=2,ra=3;function na(e,t){this.a=t,this.c=e,this.g=null,this.l=1,this.u=Promise.resolve(),this.h=[],this.i=new Map,this.b=new Map,this.s=!1,this.F=null,this.D=this.f=this.m=!1,this.B=0}function ia(e){return aa(e,"audio")}function oa(e){return aa(e,"video")}function aa(e,t){var r=e.b.get(t);return r?r.Ka||r.stream:null}function sa(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d;return M(r,(function(r){switch(r.j){case 1:return n=Yt,S(r,xr(e.a.L,n.ra),2);case 2:return e.B++,e.D=!1,i=e.B,o=e.a.L,a=new Map,s=new Set,a.set(n.ra,t),s.add(t),S(r,o.init(a,!1),3);case 3:return e.f?r.return():S(r,ma(e,s),4);case 4:if(e.f)return r.return();l=e.a.L.g.isTextVisible()||e.g.alwaysStreamText,e.B!=i||e.b.has(n.ra)||e.D||!l||(u=e.a.Ua(),c=Ea(e,u),d=ha(t,c,0),e.b.set(n.ra,d),ka(e,d,0)),w(r)}}))}))}function la(e,t){var r=e.b.get("video");if(r){var n=r.stream;if(n)if(t){var i=n.trickModeVideo;i&&!r.Ka&&(ca(e,i,!1,0,!1),r.Ka=n)}else(n=r.Ka)&&(r.Ka=null,ca(e,n,!0,0,!1))}}function ua(e,t,r,n){var i=!1;if(t.video){var o=ca(e,t.video,r,n,!1);i=i||o}return t.audio&&(e=ca(e,t.audio,r,n,!1),i=i||e),i}function ca(e,t,r,n,i){var o=e.b.get(t.type);if(!o&&"text"==t.type&&e.g.ignoreTextStreamFailures)return sa(e,t),!0;if(!o)return!1;var a=Ta(e,t),s=Array.from(e.b.values()).every((function(e){return e.ia==o.ia}));return r&&a!=o.ia&&s?(e.b.forEach((function(t){da(e,t)})),!0):(o.Ka&&(t.trickModeVideo?(o.Ka=t,t=t.trickModeVideo):o.Ka=null),!(!(s=e.h[a])||!s.Db||!(s=e.i.get(t.id))||!s.Db||o.stream==t&&!i||("text"==t.type&&_r(e.a.L,qe(t.mimeType,t.codecs)),o.stream=t,o.nc=!0,function(e,t,r){if(!t.Rb)return!1;var n=e.a.Ua(),i=Tr(e.a.L,t.type),o=va(e,t,n,i,r);return r=o&&o.a?o.a-o.b:null,o&&!r&&(r=(o.endTime-o.kc())*t.stream.bandwidth/8),!isNaN(r)&&((o=t.stream.initSegmentReference)&&(r+=(o.a?o.a-o.b:null)||0),o=e.a.getBandwidthEstimate(),8*r/o<i-n-Math.max(e.c.minBufferTime||0,e.g.rebufferingGoal)||t.Rb.b.a>r)}(e,o,a)&&o.Rb.abort(),r&&(o.Ra?o.Cc=!0:o.Ja?(o.Oa=!0,o.dc=n,o.Cc=!0):(xa(o),wa(e,o,!0,n).catch((function(t){e.a&&e.a.onError(t)})))),0)))}function da(e,t){t.Ra||t.Oa||(t.Ja?(t.Oa=!0,t.dc=0):null==Er(e.a.L,t.type)?null==t.Ga&&ka(e,t,0):(xa(t),wa(e,t,!1,0).catch((function(t){e.a&&e.a.onError(t)}))))}function fa(e,t,r,n,i){return p((function o(){var a,s,l,u,c,d,f;return M(o,(function(o){switch(o.j){case 1:return a=e.a.Ua(),s=Ea(e,a),l=Yt,u=new Map,c=new Set,t&&(u.set(l.Eb,t),c.add(t)),r&&(u.set(l.Pa,r),c.add(r)),n&&(u.set(l.ra,n),c.add(n)),d=e.a.L,f=e.g.forceTransmuxTS,S(o,d.init(u,f),2);case 2:return e.f?o.return():(function(e){var t=e.c.presentationTimeline.Y();1/0>t?e.a.L.xa(t):e.a.L.xa(Math.pow(2,32))}(e),S(o,ma(e,c),3));case 3:if(e.f)return o.return();u.forEach((function(t,r){if(!e.b.has(r)){var n=ha(t,s,i);e.b.set(r,n),ka(e,n,0)}})),w(o)}}))}))}function ha(e,t,r){return{stream:e,type:e.type,sb:null,Da:null,Ka:null,nc:!0,ia:t,endOfStream:!1,Ja:!1,Ga:null,Oa:!1,dc:0,Cc:!1,Ra:!1,od:!1,Pb:!1,rd:r||0,Rb:null}}function pa(e,t){var r=e.h[t];if(r)return r.promise;r={promise:new ge,Db:!1},e.h[t]=r;for(var n=new Set,i=f(e.c.periods[t].variants),o=i.next();!o.done;o=i.next())(o=o.value).video&&n.add(o.video),o.video&&o.video.trickModeVideo&&n.add(o.video.trickModeVideo),o.audio&&n.add(o.audio);for(o=(i=f(e.c.periods[t].textStreams)).next();!o.done;o=i.next())n.add(o.value);return e.u=e.u.then(function(){if(!this.f)return ma(this,n)}.bind(e)).then(function(){this.f||(this.h[t].promise.resolve(),this.h[t].Db=!0)}.bind(e)).catch(function(e){this.f||(this.h[t].promise.catch((function(){})),this.h[t].promise.reject(),delete this.h[t],this.a.onError(e))}.bind(e)),r.promise}function ma(e,t){return p((function r(){var n,i,o,a,s,l,u;return M(r,(function(r){switch(r.j){case 1:n=[];for(var c=f(t),d=c.next();!d.done;d=c.next())i=d.value,(o=e.i.get(i.id))?n.push(o.promise):(e.i.set(i.id,{promise:new ge,Db:!1}),n.push(i.createSegmentIndex()));return k(r,2),S(r,Promise.all(n),4);case 4:if(e.f)return r.return();C(r,3);break;case 2:if(a=R(r),e.f)return r.return();for(d=(r=f(t)).next();!d.done;d=r.next())s=d.value,e.i.get(s.id).promise.catch((function(){})),e.i.get(s.id).promise.reject(),e.i.delete(s.id);throw a;case 3:for(d=(c=f(t)).next();!d.done;d=c.next())l=d.value,(u=e.i.get(l.id)).Db||(u.promise.resolve(),u.Db=!0);w(r)}}))}))}function ga(e,t){if(!e.f&&!t.Ja&&null!=t.Ga&&!t.Ra)if(t.Ga=null,t.Oa)wa(e,t,t.Cc,t.dc);else{try{var r=function(e,t){if(_a(t))return kr(e.a.L,t.stream.originalId||""),null;var r=e.a.Ua(),n=ya(e,t,r),i=Ta(e,t.stream),o=Ea(e,n),a=function(e,t,r){return"text"==t?null==(e=e.a).b||e.b<r?0:e.b-Math.max(r,e.a):Bt(e=Sr(e,t),r)}(e.a.L,t.type,r),s=Math.max(e.c.minBufferTime||0,e.g.rebufferingGoal,e.g.bufferingGoal)*e.l;if(n>=e.c.presentationTimeline.Y())return t.endOfStream=!0,"video"==t.type&&(n=e.b.get("text"))&&"application/cea-608"==n.stream.mimeType&&(n.endOfStream=!0),null;if(t.endOfStream=!1,t.ia=o,o!=i)return null;if(a>=s)return.5;if(o=Tr(e.a.L,t.type),!(o=va(e,t,r,o,i)))return 1;var l=1/0;return Array.from(e.b.values()).forEach((function(t){_a(t)||(t=ya(e,t,r),l=Math.min(l,t))})),n>=l+e.c.presentationTimeline.a?1:(t.rd=0,function(e,t,r,n,i){var o=e.c.periods[n],a=t.stream,s=e.c.presentationTimeline.Y(),l=e.c.periods[n+1];n=function(e,t,r,n,i){return t.nc?(r=function(e,t,r,n,i){return"text"==t?(e.a.m=r,(e=e.a).f=n,e.h=i,Promise.resolve()):Promise.all([Cr(e,t,e.Be.bind(e,t)),Cr(e,t,e.kg.bind(e,t,r)),Cr(e,t,e.hg.bind(e,t,n,i))])}(e.a.L,t.type,e.c.periods[r].startTime-t.stream.presentationTimeOffset,n,i),t.stream.initSegmentReference?(e=Sa(e,t,t.stream.initSegmentReference).then(function(e){if(!this.f)return wr(this.a.L,t.type,e,null,null,t.stream.closedCaptions&&0<t.stream.closedCaptions.size)}.bind(e)).catch((function(e){return t.nc=!0,Promise.reject(e)})),Promise.all([r,e])):r):Promise.resolve()}(e,t,n,Math.max(0,o.startTime-.1),l?l.startTime+.01:s),t.Ja=!0,t.nc=!1,s=Sa(e,t,i),Promise.all([n,s]).then(function(e){if(!this.f&&!this.m)return function(e,t,r,n,i,o,a){var s=i.closedCaptions&&0<i.closedCaptions.size;return null!=i.emsgSchemeIdUris&&0<i.emsgSchemeIdUris.length&&(new In).fa("emsg",e.K.bind(e,n,o,i.emsgSchemeIdUris)).parse(a),function(e,t,r){var n=Math.max(e.g.bufferBehind,e.c.presentationTimeline.a),i=Er(e.a.L,t.type);return null==i||0>=(r=r-i-n)?Promise.resolve():e.a.L.remove(t.type,i,i+r).then(function(){}.bind(e))}(e,t,r).then(function(){if(!this.f)return wr(this.a.L,t.type,a,o.startTime+n.startTime,o.endTime+n.startTime,s)}.bind(e)).then(function(){if(!this.f)return t.sb=i,t.Da=o,Promise.resolve()}.bind(e))}(this,t,r,o,a,i,e[1])}.bind(e)).then(function(){this.f||this.m||(t.Ja=!1,t.od=!1,t.Oa||this.a.jd(),ka(this,t,0),function(e,t){if(!e.s){var r=Array.from(e.b.values());if(1==r.length&&"text"==r[0].type||(e.s=r.every((function(e){return"text"==e.type||!e.Oa&&!e.Ra&&e.Da}))),e.s){for(r=Ta(e,t),e.h[r]||pa(e,r).then(function(){this.f||this.a.$d()}.bind(e)).catch(Gt.oc),r=0;r<e.c.periods.length;++r)pa(e,r).catch(Gt.oc);e.a.Lf&&e.a.Lf()}}}(this,a))}.bind(e)).catch(function(e){this.f||this.m||(t.Ja=!1,"text"==t.type&&this.g.ignoreTextStreamFailures?this.b.delete("text"):7001==e.code?(t.Ja=!1,t.Ga=null,ka(this,t,0)):3017==e.code?function(e,t,r){if(!Array.from(e.b.values()).some((function(e){return e!=t&&e.od}))){var n=Math.round(100*e.l);if(20<n)e.l-=.2;else{if(!(4<n))return t.Pb=!0,e.m=!0,void e.a.onError(r);e.l-=.04}t.od=!0}ka(e,t,4)}(this,t,e):(t.Pb=!0,e.severity=2,Ca(this,e)))}.bind(e))}(e,t,r,i,o),null)}(e,t);null!=r&&(ka(e,t,r),t.Pb=!1)}catch(t){return void Ca(e,t)}r=Array.from(e.b.values()),function(e,t){var r=Ta(e,t.stream);if(t.ia!=r){var n=t.ia,i=Array.from(e.b.values());i.every((function(e){return e.ia==n||_a(e)}))&&i.every(Aa)&&pa(e,n).then(function(){if(!this.f&&i.every(function(e){var t=Aa(e),r=Ta(this,e.stream);return!!_a(e)||t&&e.ia==n&&r!=n}.bind(this))){var e=this.c.periods[n],t=this.a.ae(e),r=new Map;t.variant&&t.variant.video&&r.set("video",t.variant.video),t.variant&&t.variant.audio&&r.set("audio",t.variant.audio),t.text&&r.set("text",t.text);for(var o=(t=f(this.b.keys())).next();!o.done;o=t.next())if(o=o.value,!r.has(o)&&"text"!=o)return void this.a.onError(new me(2,5,5005));for(o=(t=f(Array.from(r.keys()))).next();!o.done;o=t.next())if(o=o.value,!this.b.has(o)){if("text"!=o)return void this.a.onError(new me(2,5,5005));fa(this,null,null,r.get("text"),e.startTime),r.delete(o)}for(o=(t=f(Array.from(this.b.keys()))).next();!o.done;o=t.next()){o=o.value;var a=this.b.get(o),s=r.get(o);if(s){var l=_a(a);l&&(a.ia=n,a.rd=e.startTime),ca(this,s,!1,0,!1),l&&_a(a)||ka(this,this.b.get(o),0)}else this.b.delete(o)}this.a.$d()}}.bind(e)).catch(Gt.oc)}}(e,t),e.s&&r.every((function(e){return e.endOfStream}))&&e.a.L.endOfStream().then(function(){if(!this.f){var e=this.a.L.Y();0!=e&&e<this.c.presentationTimeline.Y()&&this.c.presentationTimeline.xa(e)}}.bind(e))}}function ya(e,t,r){return t.sb&&t.Da?(r=Ta(e,t.sb),e.c.periods[r].startTime+t.Da.endTime):Math.max(r,t.rd)}function va(e,t,r,n,i){if(t.Da&&t.stream==t.sb)return ba(e,t,i,t.Da.position+1);if(t.Da?(r=Ta(e,t.sb),r=t.stream.findSegmentPosition(Math.max(0,e.c.periods[r].startTime+t.Da.endTime-e.c.periods[i].startTime))):r=t.stream.findSegmentPosition(Math.max(0,(n||r)-e.c.periods[i].startTime)),null==r)return null;var o=null;return null==n&&(o=ba(e,t,i,Math.max(0,r-1))),o||ba(e,t,i,r)}function ba(e,t,r,n){return r=e.c.periods[r],(t=t.stream.getSegmentReference(n))?(e=(n=e.c.presentationTimeline).Ob(),n=n.pb(),r.startTime+t.endTime<e||r.startTime+t.startTime>n?null:t):null}function _a(e){return e&&"text"==e.type&&"application/cea-608"==e.stream.mimeType}function Aa(e){return!e.Ja&&null==e.Ga&&!e.Oa&&!e.Ra}function Ea(e,t){var r=Mo(e.c.periods,t+1/15);return r?e.c.periods.indexOf(r):0}function Ta(e,t){for(var r=e.c.periods,n=0;n<r.length;n++){for(var i=r[n],o=new Set,a=f(i.variants),s=a.next();!s.done;s=a.next())(s=s.value).audio&&o.add(s.audio),s.video&&o.add(s.video),s.video&&s.video.trickModeVideo&&o.add(s.video.trickModeVideo);for(a=(i=f(i.textStreams)).next();!a.done;a=i.next())o.add(a.value);if(o.has(t))return n}return-1}function Sa(e,t,r){return r=vi(r.c(),r.b,r.a,e.g.retryParameters),e=e.a.ub.request(1,r),t.Rb=e,e.promise.then((function(e){return t.Rb=null,e.data}))}function wa(e,t,r,n){return p((function i(){var o,a,s;return M(i,(function(i){switch(i.j){case 1:return t.Oa=!1,t.Cc=!1,t.dc=0,t.Ra=!0,n?(a=e.a.Ua(),s=e.a.L.Y(),o=e.a.L.remove(t.type,a+n,s)):o=xr(e.a.L,t.type).then(function(){if(!this.f&&r)return this.a.L.flush(t.type)}.bind(e)),S(i,o,2);case 2:if(e.f)return i.return();t.sb=null,t.Da=null,t.Ra=!1,t.endOfStream=!1,ka(e,t,0),w(i)}}))}))}function ka(e,t,r){t.Ga=new de((function(){return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return k(r,2),S(r,ga(e,t),4);case 4:C(r,0);break;case 2:n=R(r),e.a&&e.a.onError(n),w(r)}}))}))})).R(r)}function xa(e){null!=e.Ga&&(e.Ga.stop(),e.Ga=null)}function Ca(e,t){pe(e.F).then(function(){this.f||(this.a.onError(t),t.handled||this.g.failureCallback(t))}.bind(e))}function Ra(e,t,r,n,i,o){if(200<=r&&299>=r&&202!=r)return{uri:i||n,ld:n,data:t,headers:e,fromCache:!!e["x-shaka-from-cache"]};i=null;try{i=lt(t)}catch(e){}throw new me(401==r||403==r?2:1,1,1001,n,r,i,e,o)}function La(e,t,r,n){var i=new La.b;We(t.headers).forEach((function(e,t){i.append(t,e)}));var o=new La.a,a={Id:!1,te:!1};if(e=new ye(e=La.l(e,r,{body:t.body||void 0,headers:i,method:t.method,signal:o.signal,credentials:t.allowCrossSiteCredentials?"include":void 0},a,n),(function(){return a.Id=!0,o.abort(),Promise.resolve()})),t=t.retryParameters.timeout){var s=new fe((function(){a.te=!0,o.abort()}));s.R(t/1e3),e.finally((function(){s.stop()}))}return e}function ja(e,t,r,n){var i=new ja.f,o=Date.now(),a=0;return new ye(new Promise((function(s,l){for(var u in i.open(t.method,e,!0),i.responseType="arraybuffer",i.timeout=t.retryParameters.timeout,i.withCredentials=t.allowCrossSiteCredentials,i.onabort=function(){l(new me(1,1,7001,e,r))},i.onload=function(t){for(var n=(t=t.target).getAllResponseHeaders().trim().split("\r\n"),i={},o=(n=f(n)).next();!o.done;o=n.next())i[(o=o.value.split(": "))[0].toLowerCase()]=o.slice(1).join(": ");try{var a=Ra(i,t.response,t.status,e,t.responseURL,r);s(a)}catch(e){l(e)}},i.onerror=function(t){l(new me(1,1,1002,e,t,r))},i.ontimeout=function(){l(new me(1,1,1003,e,r))},i.onprogress=function(e){var t=Date.now();(100<t-o||e.lengthComputable&&e.loaded==e.total)&&(n(t-o,e.loaded-a,e.total-e.loaded),a=e.loaded,o=t)},t.headers)i.setRequestHeader(u.toLowerCase(),t.headers[u]);i.send(t.body)})),(function(){return i.abort(),Promise.resolve()}))}function Pa(){this.a=this.f=this.b=0,this.c=new Map,this.g=0}function Ia(e,t,r){this.h=e,this.b=new Map,this.c=!1,this.g=t,this.f=r,this.a=new Pa}function Oa(e,t,r,n,i,o){var a=function(e,t){e.b+=t;var r=e.g;return e.g++,e.c.set(r,t),r}(e.a,n);n=e.b.get(t)||Promise.resolve(),e.b.set(t,n.then((function(){return p((function t(){var n,s,l,u,c,d;return M(t,(function(t){switch(t.j){case 1:return S(t,function(e,t){return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,e.h.request(1,t).promise,2);case 2:return n=r.o,r.return(n.data)}}))}))}(e,r),2);case 2:if(n=t.o,e.c)throw new me(2,9,7001);if(i)for(var f in s=new Uint8Array(n),(l=new Fn(s)).data)u=Number(f),c=l.data[u],d=l.a[u],e.f(c,d);return e.a.close(a,n.byteLength),f=e.a,e.g(0==f.b?0:f.f/f.b,e.a.a),t.return(o(n))}}))}))})))}function Da(e,t){var r=this;this.c=e,this.b=e.objectStore(t),this.a=new ge,e.onabort=function(e){e.preventDefault(),r.a.reject()},e.onerror=function(e){e.preventDefault(),r.a.reject()},e.oncomplete=function(){r.a.resolve()}}function Ma(e,t){return new Promise((function(r,n){var i=e.b.openCursor();i.onerror=n,i.onsuccess=function(e){if(!(e=e.target.result))return r();t(e.key,e.value,e),e.continue()}}))}function Na(e){this.b=e,this.a=[]}function Ua(e,t){return Fa(e,t,"readwrite")}function Fa(e,t,r){var n=new Da(r=e.b.transaction([t],r),t);return e.a.push(n),n.promise().then((function(){Re(e.a,n)}),(function(){Re(e.a,n)})),n}function Ba(e,t,r){this.b=new Na(e),this.c=t,this.a=r}function Ka(e){return Promise.reject(new me(2,9,9011,"Cannot add new value to "+e))}function Ga(e,t,r,n){t=(e=Ua(e.b,t)).store();for(var i={},o=(r=f(r)).next();!o.done;i={key:i.key},o=r.next())i.key=o.value,t.delete(i.key).onsuccess=function(e){return function(){return n(e.key)}}(i);return e.promise()}function Va(e,t,r){return p((function n(){var i,o,a,s,l,u,c;return M(n,(function(n){switch(n.j){case 1:for(i=Fa(e.b,t,"readonly"),o=i.store(),a={},s=[],l={},u=f(r),c=u.next();!c.done;l={request:l.request,key:l.key},c=u.next())l.key=c.value,l.request=o.get(l.key),l.request.onsuccess=function(e){return function(){null==e.request.result&&s.push(e.key),a[e.key]=e.request.result}}(l);return S(n,i.promise(),2);case 2:if(s.length)throw new me(2,9,9012,"Could not find values for "+s);return n.return(r.map((function(e){return a[e]})))}}))}))}function Ha(e){this.a=new Na(e)}function Ya(){this.a=new Map}function za(e,t,r){if(!(e=e.a.get(t)))throw new me(2,9,9013,"Could not find mechanism with name "+t);if(!(t=e.getCells().get(r)))throw new me(2,9,9013,"Could not find cell with name "+r);return t}function Wa(e,t){$a.set(e,t)}na.prototype.destroy=function(){for(var e=f(this.b.values()),t=e.next();!t.done;t=e.next())xa(t.value);return this.b.clear(),this.i.clear(),this.g=this.h=this.u=this.c=this.a=null,this.f=!0,Promise.resolve()},na.prototype.configure=function(e){this.g=e,this.F=new he({maxAttempts:Math.max(e.retryParameters.maxAttempts,2),baseDelay:e.retryParameters.baseDelay,backoffFactor:e.retryParameters.backoffFactor,fuzzFactor:e.retryParameters.fuzzFactor,timeout:0},!0)},na.prototype.start=function(){var e=this;return p((function t(){var r,n,i;return M(t,(function(t){switch(t.j){case 1:return r=e.a.Ua(),n=Ea(e,r),(i=e.a.ae(e.c.periods[n])).variant||i.text?S(t,fa(e,i.variant?i.variant.audio:null,i.variant?i.variant.video:null,i.text,r),2):t.return(new me(2,5,5005));case 2:if(e.f)return t.return();e.a&&e.a.Cf&&e.a.Cf(),w(t)}}))}))},na.prototype.K=function(e,t,r,n){var i=n.reader.md(),o=n.reader.md(),a=n.reader.G(),s=n.reader.G(),l=n.reader.G(),u=n.reader.G();n=n.reader.Za(n.reader.J.byteLength-n.reader.ca()),e=e.startTime+t.startTime+s/a,r.includes(i)&&("urn:mpeg:dash:event:2012"==i?this.a.Df():this.a.onEvent(new Se("emsg",{detail:{startTime:e,endTime:e+l/a,schemeIdUri:i,value:o,timescale:a,presentationTimeDelta:s,eventDuration:l,id:u,messageData:n}})))},G("shaka.net.HttpFetchPlugin",La),La.l=function(e,t,r,n,i){return p((function o(){var a,s,l,u,c,d,f,h,m,g,y,v;return M(o,(function(o){switch(o.j){case 1:return a=La.g,s=La.c,d=c=0,f=Date.now(),k(o,2),S(o,a(e,r),4);case 4:return l=o.o,h=l.clone().body.getReader(),g=(m=l.headers.get("Content-Length"))?parseInt(m,10):0,new s({start:function(e){!function t(){return p((function r(){var n,o;return M(r,(function(r){switch(r.j){case 1:return k(r,2),S(r,h.read(),4);case 4:n=r.o,C(r,3);break;case 2:return R(r),r.return();case 3:n.done||(c+=n.value.byteLength),(100<(o=Date.now())-f||n.done)&&(i(o-f,c-d,g-c),d=c,f=o),n.done?e.close():(e.enqueue(n.value),t()),w(r)}}))}))}()}}),S(o,l.arrayBuffer(),5);case 5:u=o.o,C(o,3);break;case 2:if(y=R(o),n.Id)throw new me(1,1,7001,e,t);if(n.te)throw new me(1,1,1003,e,t);throw new me(1,1,1002,e,y,t);case 3:return v={},l.headers.forEach((function(e,t){v[t.trim()]=e})),o.return(Ra(v,u,l.status,e,l.url,t))}}))}))},La.isSupported=function(){if(!e.ReadableStream)return!1;try{new ReadableStream({})}catch(e){return!1}return!(!e.fetch||!e.AbortController)},La.isSupported=La.isSupported,La.g=e.fetch,La.a=e.AbortController,La.c=e.ReadableStream,La.b=e.Headers,La.isSupported()&&(De("http",La,2),De("https",La,2)),G("shaka.net.HttpXHRPlugin",ja),ja.f=e.XMLHttpRequest,De("http",ja,1),De("https",ja,1),Pa.prototype.close=function(e,t){if(this.c.has(e)){var r=this.c.get(e);this.c.delete(e),this.f+=r,this.a+=t}},Ia.prototype.destroy=function(){return this.c=!0,Promise.all(this.b.values()).then((function(){}),(function(){}))},Da.prototype.abort=function(){try{this.c.abort()}catch(e){}return this.a.catch((function(){}))},Da.prototype.store=function(){return this.b},Da.prototype.promise=function(){return this.a},Na.prototype.destroy=function(){return Promise.all(this.a.map((function(e){return e.abort()})))},(n=Ba.prototype).destroy=function(){return this.b.destroy()},n.hasFixedKeySpace=function(){return!0},n.addSegments=function(){return Ka(this.c)},n.removeSegments=function(e,t){return Ga(this,this.c,e,t)},n.getSegments=function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,Va(t,t.c,e),2);case 2:return n=r.o,r.return(n.map((function(e){return t.Jd(e)})))}}))}))},n.addManifests=function(){return Ka(this.a)},n.updateManifestExpiration=function(e,t){var r=Ua(this.b,this.a),n=r.store();return n.get(e).onsuccess=function(r){(r=r.target.result)&&(r.expiration=t,n.put(r,e))},r.promise()},n.removeManifests=function(e,t){return Ga(this,this.a,e,t)},n.getManifests=function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,Va(t,t.a,e),2);case 2:return n=r.o,r.return(n.map((function(e){return t.ec(e)})))}}))}))},n.getAllManifests=function(){var e=this;return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=Fa(e.b,e.a,"readonly"),n=new Map,S(t,Ma(r,(function(t,r){n.set(t,e.ec(r))})),2);case 2:return S(t,r.promise(),3);case 3:return t.return(n)}}))}))},n.Jd=function(e){return e},n.ec=function(e){return e},n.add=function(e,t){var r=this;return p((function n(){var i,o,a,s;return M(n,(function(n){switch(n.j){case 1:i=Ua(r.b,e),o=i.store(),a=[];for(var l=f(t),u=l.next();!u.done;u=l.next())s=u.value,o.add(s).onsuccess=function(e){a.push(e.target.result)};return S(n,i.promise(),2);case 2:return n.return(a)}}))}))},Ha.prototype.destroy=function(){return this.a.destroy()},Ha.prototype.getAll=function(){var e=this;return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=Fa(e.a,"session-ids","readonly"),n=[],S(t,Ma(r,(function(e,t){n.push(t)})),2);case 2:return S(t,r.promise(),3);case 3:return t.return(n)}}))}))},Ha.prototype.add=function(e){for(var t=Ua(this.a,"session-ids"),r=t.store(),n=(e=f(e)).next();!n.done;n=e.next())r.add(n.value);return t.promise()},Ha.prototype.remove=function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,Ma(n=Ua(t.a,"session-ids"),(function(t,r,n){0<=e.indexOf(r.sessionId)&&n.delete()})),2);case 2:return S(r,n.promise(),0)}}))}))},Ya.prototype.destroy=function(){for(var e=[],t=f(this.a.values()),r=t.next();!r.done;r=t.next())e.push(r.value.destroy());return this.a.clear(),Promise.all(e)},Ya.prototype.init=function(){var e=this;$a.forEach((function(t,r){var n=t();n&&e.a.set(r,n)}));for(var t=[],r=f(this.a.values()),n=r.next();!n.done;n=r.next())t.push(n.value.init());return Promise.all(t)},Ya.prototype.erase=function(){var e=this;return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=Array.from(e.a.values()),(n=0<r.length)||$a.forEach((function(e){(e=e())&&r.push(e)})),S(t,Promise.all(r.map((function(e){return e.erase()}))),2);case 2:if(!n)return S(t,Promise.all(r.map((function(e){return e.destroy()}))),0);t.A(0)}}))}))},G("shaka.offline.StorageMuxer.register",Wa),G("shaka.offline.StorageMuxer.unregister",(function(e){$a.delete(e)}));var $a=new Map;function qa(e){Ba.apply(this,arguments)}function Xa(e){return function(e){var t=e.streams.filter((function(e){return"audio"==e.contentType})),r=e.streams.filter((function(e){return"video"==e.contentType}));if(!t.every((function(e){return e.variantIds}))||!r.every((function(e){return e.variantIds}))){t.forEach((function(e){e.variantIds=[]})),r.forEach((function(e){e.variantIds=[]}));var n=0;if(r.length&&!t.length){var i=n++;r.forEach((function(e){e.variantIds.push(i)}))}if(!r.length&&t.length){var o=n++;t.forEach((function(e){e.variantIds.push(o)}))}r.length&&t.length&&t.forEach((function(e){r.forEach((function(t){var r=n++;e.variantIds.push(r),t.variantIds.push(r)}))}))}}(e),e.streams.forEach((function(){})),{startTime:e.startTime,streams:e.streams.map(Ja)}}function Ja(e){var t=e.initSegmentUri?Qa(e.initSegmentUri):null;return{id:e.id,originalId:null,primary:e.primary,presentationTimeOffset:e.presentationTimeOffset,contentType:e.contentType,mimeType:e.mimeType,codecs:e.codecs,frameRate:e.frameRate,pixelAspectRatio:void 0,kind:e.kind,language:e.language,label:e.label,width:e.width,height:e.height,initSegmentKey:t,encrypted:e.encrypted,keyId:e.keyId,segments:e.segments.map(Za),variantIds:e.variantIds}}function Za(e){var t=Qa(e.uri);return{startTime:e.startTime,endTime:e.endTime,dataKey:t}}function Qa(e){var t;if((t=/^offline:[0-9]+\/[0-9]+\/([0-9]+)$/.exec(e))||(t=/^offline:segment\/([0-9]+)$/.exec(e)))return Number(t[1]);throw new me(2,9,9004,"Could not parse uri "+e)}function es(e,t,r,n){Ba.call(this,e,t,r),this.f=n}function ts(){this.g=this.c=this.b=this.a=this.f=null}function rs(e,t,r,n){this.a=e,this.g=t,this.f=r,this.c=n,this.b=["offline:",e,"/",t,"/",r,"/",n].join("")}function ns(e){if(null==(e=/^offline:([a-z]+)\/([^/]+)\/([^/]+)\/([0-9]+)$/.exec(e)))return null;var t=e[1];if("manifest"!=t&&"segment"!=t)return null;var r=e[2];if(!r)return null;var n=e[3];return n&&null!=t?new rs(t,r,n,Number(e[4])):null}function is(e,t){this.b=e,this.a=t}function os(e,t,r){var n=t.streams.filter((function(e){return"audio"==e.contentType})),i=t.streams.filter((function(e){return"video"==e.contentType}));return n=function(e,t,r){for(var n=new Set,i=f(t),o=i.next();!o.done;o=i.next()){var a=f(o.value.variantIds);for(o=a.next();!o.done;o=a.next())n.add(o.value)}for(i=f(r),o=i.next();!o.done;o=i.next())for(a=f(o.value.variantIds),o=a.next();!o.done;o=a.next())n.add(o.value);for(i=new Map,n=f(n),o=n.next();!o.done;o=n.next())o=o.value,i.set(o,{id:o,language:"",primary:!1,audio:null,video:null,bandwidth:0,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0});for(t=f(t),n=t.next();!n.done;n=t.next())for(n=n.value,o=as(e,n),a=f(n.variantIds),n=a.next();!n.done;n=a.next())(n=i.get(n.value)).language=o.language,n.primary=n.primary||o.primary,n.audio=o;for(r=f(r),t=r.next();!t.done;t=r.next())for(n=t.value,t=as(e,n),o=f(n.variantIds),n=o.next();!n.done;n=o.next())(n=i.get(n.value)).primary=n.primary||t.primary,n.video=t;return i}(e,n,i),i=t.streams.filter((function(e){return"text"==e.contentType})).map((function(t){return as(e,t)})),t.streams.forEach((function(n){n=n.segments.map((function(t,r){return ss(e,r,t)})),r.vb(n,t.startTime)})),{startTime:t.startTime,variants:Array.from(n.values()),textStreams:i}}function as(e,t){var r=t.segments.map((function(t,r){return ss(e,r,t)})),n=new ei(r);return r={id:t.id,originalId:t.originalId,createSegmentIndex:function(){return Promise.resolve()},findSegmentPosition:function(e){return n.find(e)},getSegmentReference:function(e){return n.get(e)},initSegmentReference:null,presentationTimeOffset:t.presentationTimeOffset,mimeType:t.mimeType,codecs:t.codecs,width:t.width||void 0,height:t.height||void 0,frameRate:t.frameRate||void 0,pixelAspectRatio:t.pixelAspectRatio||void 0,kind:t.kind,encrypted:t.encrypted,keyId:t.keyId,language:t.language,label:t.label||null,type:t.contentType,primary:t.primary,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},null!=t.initSegmentKey&&(r.initSegmentReference=function(e,t){var r=new rs("segment",e.b,e.a,t);return new Jn((function(){return[r.toString()]}),0,null)}(e,t.initSegmentKey)),r}function ss(e,t,r){var n=new rs("segment",e.b,e.a,r.dataKey);return new Zn(t,r.startTime,r.endTime,(function(){return[n.toString()]}),0,null)}function ls(){this.a=null}function us(e){var t=ns(e);return t&&"manifest"==t.a?us.h(e):t&&"segment"==t.a?us.i(t.key(),t):ve(new me(2,1,9004,e))}function cs(e,t,r){return p((function n(){var i,o,a,s,l,u;return M(n,(function(n){switch(n.j){case 1:i=[];for(var c=[],d=f(r),h=d.next();!h.done;h=d.next()){h=h.value;for(var m=!1,g=f(c),y=g.next();!y.done;y=g.next())if(ds((y=y.value).info,h)){y.sessionIds.push(h.sessionId),m=!0;break}m||c.push({info:h,sessionIds:[h.sessionId]})}o=f(c),a=o.next();case 2:if(a.done){n.A(4);break}return s=a.value,l=function(e,t,r){return p((function n(){var i,o;return M(n,(function(n){switch(n.j){case 1:return i=new pt({ub:t,onError:function(){},qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),k(n,2),i.configure(e),S(n,function(e,t,r,n,i,o){var a=new Map;return a.set(t,{audioCapabilities:i,videoCapabilities:o,distinctiveIdentifier:"optional",persistentState:"required",sessionTypes:["persistent-license"],label:t,drmInfos:[{keySystem:t,licenseServerUri:r,distinctiveIdentifierRequired:!1,persistentStateRequired:!0,audioRobustness:"",videoRobustness:"",serverCertificate:n,initData:null,keyIds:null}]}),Tt(e,a)}(i,r.info.keySystem,r.info.licenseUri,r.info.serverCertificate,r.info.audioCapabilities,r.info.videoCapabilities),4);case 4:C(n,3);break;case 2:return R(n),S(n,i.destroy(),5);case 5:return n.return([]);case 3:return k(n,6),S(n,yt(i),8);case 8:C(n,7);break;case 6:return R(n),S(n,i.destroy(),9);case 9:return n.return([]);case 7:return o=[],S(n,Promise.all(r.sessionIds.map((function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return k(t,2),S(t,function(e,t){return p((function r(){var n,i,o;return M(r,(function(r){switch(r.j){case 1:return S(r,St(e,t),2);case 2:return(n=r.o)?(i=[],(o=e.b.get(n))&&(o.ya=new ge,i.push(o.ya)),i.push(n.remove()),S(r,Promise.all(i),0)):r.return()}}))}))}(i,e),4);case 4:o.push(e),C(t,0);break;case 2:R(t),w(t)}}))}))}))),10);case 10:return S(n,i.destroy(),11);case 11:return n.return(o)}}))}))}(e,t,s),S(n,l,5);case 5:u=n.o,i=i.concat(u),a=o.next(),n.A(2);break;case 4:return n.return(i)}}))}))}function ds(e,t){function r(e,t){return e.robustness==t.robustness&&e.contentType==t.contentType}return e.keySystem==t.keySystem&&e.licenseUri==t.licenseUri&&Le(e.audioCapabilities,t.audioCapabilities,r)&&Le(e.videoCapabilities,t.videoCapabilities,r)}function fs(e,t){var r={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},n=this;this.g=t,this.c=e,this.i=r,this.h=null,this.f=[],this.b=this.a=null,this.l=!0,this.m=Promise.resolve().then((function(){return function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:if(e.l){if(0==e.f.length||e.a&&!e.a.Va)var r=!1;else{e.a&&(e.a.va.Ya(),e.a=null);var n=(r=e.f.shift()).create(e.i);n?(r.va.wb(),e.a={node:n.node,payload:n.payload,Va:n.Va,va:r.va}):r.va.rc(),r=!0}return r?r=Promise.resolve():e.a?r=function(e){return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return e.c=e.g.cf(e.c,e.i,e.a.node,e.a.payload),k(t,2),e.b=e.g.Le(e.c,e.i,e.a.payload),S(t,e.b.promise,4);case 4:e.b=null,e.c==e.a.node&&(e.a.va.pc(),e.a=null),C(t,0);break;case 2:return 7001==(r=R(t)).code?e.a.va.Ya():e.a.va.onError(r),e.a=null,e.b=null,n=e,S(t,e.g.handleError(e.i,r),5);case 5:n.c=t.o,w(t)}}))}))}(e):(e.g.Bf(e.c),e.h=new ge,r=e.h),S(t,r,1)}t.A(0)}}))}))}(n)}))}function hs(e,t){var r={wb:function(){},pc:function(){},Ya:function(){},onError:function(){},rc:function(){},Jg:function(){}};return e.f.push({create:t,va:r}),e.b&&e.b.abort(),ps(e),r}function ps(e){e.h&&(e.h.resolve(),e.h=null)}function ms(e){this.a=null;for(var t=0;t<e.textTracks.length;++t){var r=e.textTracks[t];r.mode="disabled","Shaka Player TextTrack"==r.label&&(this.a=r)}this.a||(this.a=e.addTextTrack("subtitles","Shaka Player TextTrack")),this.a.mode="hidden"}function gs(e){if(e.startTime>=e.endTime)return null;var t=new VTTCue(e.startTime,e.endTime,e.payload);t.lineAlign=e.lineAlign,t.positionAlign=e.positionAlign,t.size=e.size;try{t.align=e.textAlign}catch(e){}return"center"==e.textAlign&&"center"!=t.align&&(t.align="middle"),"vertical-lr"==e.writingMode?t.vertical="lr":"vertical-rl"==e.writingMode&&(t.vertical="rl"),1==e.lineInterpretation&&(t.snapToLines=!1),null!=e.line&&(t.line=e.line),null!=e.position&&(t.position=e.position),t}function ys(e,t){var r=e.mode;e.mode="showing"==r?"showing":"hidden";for(var n=e.cues,i=n.length-1;0<=i;i--){var o=n[i];o&&t(o)&&e.removeCue(o)}e.mode=r}function vs(e,t,r,n,i){var o,a=i in n,s=!0;for(o in t){var l=i+"."+o,u=a?n[i]:r[o];a||o in r?void 0===t[o]?void 0===u||a?delete e[o]:e[o]=xe(u):u.constructor==Object&&t[o]&&t[o].constructor==Object?(e[o]||(e[o]=xe(u)),l=vs(e[o],t[o],u,n,l),s=s&&l):typeof t[o]!=typeof u||null==t[o]||"function"!=typeof t[o]&&t[o].constructor!=u.constructor?($("Invalid config, wrong type for "+l),s=!1):("function"==typeof r[o]&&r[o].length!=t[o].length&&q("Unexpected number of arguments for "+l),e[o]=t[o]):($("Invalid config, unrecognized key "+l),s=!1)}return s}function bs(e,t){for(var r={},n=r,i=0,o=0;!(0>(i=e.indexOf(".",i)));)0!=i&&"\\"==e[i-1]||(n[o=e.substring(o,i).replace(/\\\./g,".")]={},n=n[o],o=i+1),i+=1;return n[e.substring(o).replace(/\\\./g,".")]=t,r}function _s(){}function As(){var e=5e5,t=1/0;navigator.connection&&(e=1e6*navigator.connection.downlink,navigator.connection.saveData&&(t=360));var r={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1,initDataTransform:kt,fairPlayTransform:!0},n={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},availabilityWindowOverride:NaN,disableAudio:!1,disableVideo:!1,disableText:!1,dash:{customScheme:function(e){if(e)return null},clockSyncUri:"",ignoreDrmInfo:!1,xlinkFailGracefully:!1,defaultPresentationDelay:10,ignoreMinBufferTime:!1,autoCorrectDrift:!0,ignoreSuggestedPresentationDelay:!1,ignoreEmptyAdaptationSet:!1},hls:{ignoreTextStreamFailures:!1}},i={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},failureCallback:function(e){return[e]},rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,alwaysStreamText:!1,startAtSegmentBoundary:!1,smallGapLimit:.5,jumpLargeGaps:!1,durationBackoff:1,forceTransmuxTS:!1,safeSeekOffset:5,stallEnabled:!0,stallThreshold:1,stallSkip:.1,useNativeHlsOnSafari:!0};rt("Web0S")&&(i.stallEnabled=!1);var o={trackSelectionCallback:function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return t.return(e)}}))}))},progressCallback:function(e,t){return[e,t]},usePersistentLicense:!0},a={drm:r,manifest:n,streaming:i,offline:o,abrFactory:Ur,abr:{enabled:!0,defaultBandwidthEstimate:e,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:t,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0}},preferredAudioLanguage:"",preferredTextLanguage:"",preferredVariantRole:"",preferredTextRole:"",preferredAudioChannelCount:2,restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:1/0,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0},playRangeStart:0,playRangeEnd:1/0,textDisplayFactory:function(){return null}};return o.trackSelectionCallback=function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return t.return(function(e,t){var r=e.filter((function(e){return"variant"==e.type})),n=[],i=Dr(t,r.map((function(e){return e.language})));i&&(n=r.filter((function(e){return Ir(e.language)==i}))),0==n.length&&(n=r.filter((function(e){return e.primary}))),0==n.length&&(r.map((function(e){return e.language})),n=r);var o=n.filter((function(e){return e.height&&480>=e.height}));if(o.length&&(o.sort((function(e,t){return t.height-e.height})),n=o.filter((function(e){return e.height==o[0].height}))),r=[],n.length){var a=Math.floor(n.length/2);n.sort((function(e,t){return e.bandwidth-t.bandwidth})),r.push(n[a])}for(n=f(e),a=n.next();!a.done;a=n.next())"text"==(a=a.value).type&&r.push(a);return r}(e,a.preferredAudioLanguage))}}))}))},a}function Es(e,t,r){var n={".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",serverCertificate:new Uint8Array(0),individualizationServer:""}};return vs(e,t,r||As(),n,"")}function Ts(){this.a=null,this.b=[]}function Ss(e,t){if(null==e.a)e.a={timestamp:Date.now()/1e3,state:t,duration:0};else{var r=Date.now()/1e3;e.a.duration=r-e.a.timestamp,e.a.state!=t&&(e.b.push(e.a),e.a={timestamp:r,state:t,duration:0})}}function ws(e,t){var r=0;e.a&&e.a.state==t&&(r+=e.a.duration);for(var n=f(e.b),i=n.next();!i.done;i=n.next())r+=(i=i.value).state==t?i.duration:0;return r}function ks(){this.b=this.c=null,this.a=[]}function xs(){this.f=this.s=this.h=this.b=this.i=this.l=this.m=this.g=this.u=NaN,this.a=new Ts,this.c=new ks}function Cs(t,r){var n=this;ke.call(this),this.i=pl,this.a=null,this.gb=!1,this.g=new Be,this.Dc=this.l=this.Fb=this.b=this.s=this.f=this.Yb=this.B=this.Zb=this.W=this.ib=this.m=this.D=this.h=this.K=null,this.Xd=1e9,this.ac=new Set,this.kb=!0,this.pa=null,this.Ud=!1,this.Rd=0,this.oa=null,this.$=new po,this.c=Us(this),this.bc={width:1/0,height:1/0},this.u=null,this.Gb=new To(this.c.preferredAudioLanguage,this.c.preferredVariantRole,this.c.preferredAudioChannelCount),this.na=this.c.preferredTextLanguage,this.fb=this.c.preferredTextRole,r&&r(this),this.K=function(e){return new Ie((function(t,r){e.l&&e.l.segmentDownloaded(t,r)}))}(this),this.g.w(e,"online",(function(){n.sd()})),this.F={name:"detach"},this.O={name:"attach"},this.Ha={name:"unload"},this.Mc={name:"manifest-parser"},this.Kc={name:"manifest"},this.hb={name:"media-source"},this.Ec={name:"drm-engine"},this.S={name:"load"},this.Rc={name:"src-equals-drm-engine"},this.jb={name:"src-equals"};var i=new Map;i.set(this.O,(function(e,t){return Ae(function(e,t,r){return null==t.v&&(t.v=r.v,e.g.w(t.v,"error",(function(){var t=el(e);t&&e.Ma(t)}))),e.a=t.v,Promise.resolve()}(n,e,t))})),i.set(this.F,(function(e){return e.v&&(n.g.ea(e.v,"error"),e.v=null),n.a=null,Ae(e=Promise.resolve())})),i.set(this.Ha,(function(e){return Ae(Ps(n,e))})),i.set(this.hb,(function(t){return Ae(t=function(t,r){return p((function n(){var i,o,a,s;return M(n,(function(n){switch(n.j){case 1:return i=e.muxjs?new Mt:new Nt,o=t.c.textDisplayFactory,a=new o,t.Fc=o,S(n,(s=new yr(r.v,i,a)).s,2);case 2:t.D=s,w(n)}}))}))}(n,t))})),i.set(this.Mc,(function(e,t){return Ae(function(e,t,r){return p((function n(){var i,o,a,s;return M(n,(function(n){switch(n.j){case 1:if(t.Aa=r.Aa,t.mimeType=r.mimeType,t.uri=r.uri,i=t.uri,o=e.K,e.Fb=i,t.Aa){e.s=t.Aa(),n.A(2);break}return a=e,S(n,gi.create(i,o,e.c.manifest.retryParameters,t.mimeType),3);case 3:a.s=n.o;case 2:s=xe(e.c.manifest),r.v&&"AUDIO"===r.v.nodeName&&(s.disableVideo=!0),e.s.configure(s),w(n)}}))}))}(n,e,t))})),i.set(this.Kc,(function(e){return function(e,t){var r=t.uri,n=e.K;e.Yb=new Zo,function(e,t){e.b=t}(e.Yb,(function(t){Qs(e,"timelineregionadded",t)}));var i={networkingEngine:n,filterNewPeriod:function(t){return e.Nc(t)},filterAllPeriods:function(t){return Fs(e,t)},onTimelineRegionAdded:function(t){var r=e.Yb;e:{for(var n=f(r.a),i=n.next();!i.done;i=n.next())if((i=i.value).schemeIdUri==t.schemeIdUri&&i.id==t.id&&i.startTime==t.startTime&&i.endTime==t.endTime){n=i;break e}n=null}null==n&&(r.a.add(t),r.b(t))},onEvent:function(t){return e.dispatchEvent(t)},onError:function(t){return e.Ma(t)}};return new ye(Promise.resolve().then((function(){return p((function t(){var n;return M(t,(function(t){switch(t.j){case 1:return n=e,S(t,e.s.start(r,i),2);case 2:if(n.b=t.o,e.dispatchEvent(new Se("manifestparsed")),0==e.b.periods.length)throw new me(2,4,4014);!function(e){function t(e){return e.video&&e.audio||e.video&&e.video.codecs.includes(",")}e.some((function(e){return e.variants.some(t)}))&&e.forEach((function(e){e.variants=e.variants.filter(t)}))}(e.b.periods),w(t)}}))}))})),(function(){return e.s.stop()}))}(n,e)})),i.set(this.Ec,(function(){return Ae(function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.h=new pt({ub:e.K,onError:function(t){e.Ma(t)},qc:function(t){tl(e,t)},onExpirationUpdated:function(t,r){rl(e,t,r)},onEvent:function(t){e.dispatchEvent(t)}}),e.h.configure(e.c.drm),S(t,mt(e.h,Do(e.b.periods),e.b.offlineSessionIds),2);case 2:Fs(e,e.b.periods),w(t)}}))}))}(n))})),i.set(this.S,(function(e,t){return Ae(function(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,h;return M(n,(function(n){switch(n.j){case 1:return t.startTime=r.startTime,i=t.v,o=t.uri,e.Fb=o,e.u=new xs,a=function(){return Vs(e)},s=function(){var t=e.a.playbackRate;0!=t&&e.W.set(t)},e.g.w(i,"playing",a),e.g.w(i,"pause",a),e.g.w(i,"ended",a),e.g.w(i,"ratechange",s),l=e.c.abrFactory,e.l&&e.Dc==l||(e.Dc=l,e.l=new l,e.l.configure(e.c.abr)),function(e,t){for(var r=0;r<t.length;r++){for(var n=t[r],i=new Map,o=f(n.variants),a=o.next();!a.done;a=o.next())if((a=a.value).video&&a.video.closedCaptions)for(var s=f((a=a.video).closedCaptions.keys()),l=s.next();!l.done;l=s.next())if(l=l.value,!i.has(l)){var u={id:e.Xd++,originalId:l,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,presentationTimeOffset:0,mimeType:"application/cea-608",codecs:"",kind:"caption",encrypted:!1,keyId:null,language:a.closedCaptions.get(l),label:null,type:"text",primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:a.roles,channelsCount:null,audioSamplingRate:null,closedCaptions:null};i.set(l,u)}for(i=f(i.values()),o=i.next();!o.done;o=i.next())n.textStreams.push(o.value)}}(e,e.b.periods),e.Gb=new To(e.c.preferredAudioLanguage,e.c.preferredVariantRole,e.c.preferredAudioChannelCount),e.na=e.c.preferredTextLanguage,function(e,t,r){0<t&&(e.V()||e.qe(t)),r<e.Y()&&(e.V()||e.xa(r))}(e.b.presentationTimeline,e.c.playRangeStart,e.c.playRangeEnd),S(n,e.h.Hb(i),2);case 2:return e.l.init((function(t,r,n){r=void 0!==r&&r,n=void 0===n?0:n;e:{for(var i=f(e.b.periods),o=i.next();!o.done;o=i.next())if((o=o.value).variants.includes(t)){i=o;break e}i=null}Ms(e,i,t,!0),e.f&&ua(e.f,t,r,n)&&Ws(e)})),e.m=function(e,t){return new $o(e.a,e.b,e.c.streaming,t,(function(){e.ib&&Oo(e.ib,!0),e.f&&function(e){function t(t){var i=e.a.L;return t="text"==t?null!=(t=i.a).a&&null!=t.b&&r>=t.a&&r<t.b:Ft(t=Sr(i,t),r,n)}var r=e.a.Ua(),n=e.g.smallGapLimit,i=Ea(e,r);if(ze(e.b.values(),(function(e){return e.ia==i})))for(var o=f(e.b.keys()),a=o.next();!a.done;a=o.next())t(a=a.value)||da(e,e.b.get(a));else ze(e.b.keys(),t)||e.b.forEach((function(t){da(e,t)}))}(e.f),e.B&&Os(e)}),(function(t){return e.dispatchEvent(t)}))}(e,t.startTime),e.ib=function(e){var t=new No(e.b);!function(e,t){e.b=t}(t,(function(){$s(e)}));var r=new Qo(e.Yb);!function(e,t,r,n){e.a=t,e.b=r,e.c=n}(r,(function(t){Qs(e,"timelineregionenter",t)}),(function(t){Qs(e,"timelineregionexit",t)}),(function(t,r){r||(Qs(e,"timelineregionenter",t),Qs(e,"timelineregionexit",t))}));var n=new Io(e.a);return n.a.add(t),n.a.add(r),n}(e),e.W=new Uo({jc:function(){return t.v.playbackRate},wd:function(e){t.v.playbackRate=e},Yd:function(e){t.v.currentTime+=e}}),u=Math.max(e.b.minBufferTime,e.c.streaming.rebufferingGoal),Is(e,u),e.f=function(e){return new na(e.b,{Ua:function(){return e.m.h()},getBandwidthEstimate:function(){return e.l.getBandwidthEstimate()},L:e.D,ub:e.K,ae:e.zf.bind(e),$d:e.Fe.bind(e),onError:e.Ma.bind(e),onEvent:function(t){return e.dispatchEvent(t)},Df:e.Ef.bind(e),jd:e.Jf.bind(e)})}(e),e.f.configure(e.c.streaming),function(e){function t(e){var t="";e.video&&(t=Xe(e.video.codecs)[0]);var r="";return e.audio&&(r=Xe(e.audio.codecs)[0]),t+"-"+r}var r=e.b.periods.reduce((function(e,t){return e.concat(t.variants)}),[]);r=Nr.Nd(r,e.c.preferredAudioChannelCount);var n=new we;r.forEach((function(e){var r=t(e);n.push(r,e)}));var i=null,o=1/0;n.forEach((function(e,t){var r=0,n=0;t.forEach((function(e){r+=e.bandwidth||0,++n}));var a=r/n;a<o&&(i=e,o=a)})),e.b.periods.forEach((function(e){e.variants=e.variants.filter((function(e){return t(e)==i}))}))}(e),e.i=ml,e.dispatchEvent(new Se("streaming")),S(n,e.f.start(),3);case 3:e.c.streaming.startAtSegmentBoundary&&(c=e.m.h(),d=function(e,t){function r(e,t){if(!e)return null;var r=e.findSegmentPosition(t-o.startTime);return null==r?null:(r=e.getSegmentReference(r))?r.startTime+o.startTime:null}var n=ia(e.f),i=oa(e.f),o=ll(e);return n=r(n,t),null!=(i=r(i,t))&&null!=n?Math.max(i,n):null!=i?i:null!=n?n:t}(e,c),e.m.m(d)),e.b.periods.forEach(e.Nc.bind(e)),$s(e),Ws(e),(h=ll(e)||e.b.periods[0]).variants.some((function(e){return e.primary})),Hs(e,h.variants),e.g.da(i,"loadeddata",(function(){e.u.b=Date.now()/1e3-r.zd})),w(n)}}))}))}(n,e,t))})),i.set(this.Rc,(function(e){return Ae(e=function(e,t){return p((function r(){var n,i;return M(r,(function(r){switch(r.j){case 1:return n=Yt,e.h=new pt({ub:e.K,onError:function(t){e.Ma(t)},qc:function(t){tl(e,t)},onExpirationUpdated:function(t,r){rl(e,t,r)},onEvent:function(t){e.dispatchEvent(t)}}),e.h.configure(e.c.drm),i={id:0,language:"und",primary:!1,audio:null,video:{id:0,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,presentationTimeOffset:0,mimeType:"video/mp4",codecs:"",encrypted:!0,keyId:null,language:"und",label:null,type:n.Pa,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},bandwidth:100,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0},S(r,mt(e.h,[i],[]),2);case 2:return S(r,e.h.Hb(t.v),0)}}))}))}(n,e))})),i.set(this.jb,(function(e,t){return function(e,t,r){function n(){return Vs(e)}if(t.uri=r.uri,t.startTime=r.startTime,e.Fb=t.uri,e.u=new xs,e.m=new Wo(t.v),null!=t.startTime&&e.m.m(t.startTime),e.W=new Uo({jc:function(){return t.v.playbackRate},wd:function(e){t.v.playbackRate=e},Yd:function(e){t.v.currentTime+=e}}),Is(e,e.c.streaming.rebufferingGoal),e.g.w(t.v,"playing",n),e.g.w(t.v,"pause",n),e.g.w(t.v,"ended",n),e.g.da(t.v,"loadeddata",(function(){e.u.b=Date.now()/1e3-r.zd})),e.a.audioTracks&&(e.g.w(e.a.audioTracks,"addtrack",(function(){return $s(e)})),e.g.w(e.a.audioTracks,"removetrack",(function(){return $s(e)})),e.g.w(e.a.audioTracks,"change",(function(){return $s(e)}))),e.a.textTracks){var i=e.a.textTracks;e.g.w(i,"addtrack",(function(){return $s(e)})),e.g.w(i,"removetrack",(function(){return $s(e)})),e.g.w(i,"change",(function(){return $s(e)}))}t.v.src=t.uri,e.i=gl,e.dispatchEvent(new Se("streaming"));var o=new ge;return e.a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?o.resolve():e.a.error?o.reject(el(e)):(e.g.da(e.a,"loadeddata",(function(){o.resolve()})),e.g.da(e.a,"error",(function(){o.reject(el(e))}))),new ye(o,(function(){return o.reject(new me(2,7,7001)),Promise.resolve()}))}(n,e,t)})),this.lb=new fs(this.F,{cf:function(e,t,r,i){var o=null;return e==n.F&&(o=r==n.F?n.F:n.O),e==n.O&&(o=r==n.F||t.v!=i.v?n.F:r==n.O?n.O:r==n.hb||r==n.S?n.hb:r==n.jb?n.Rc:null),e==n.hb&&(o=r==n.S&&t.v==i.v?n.Mc:n.Ha),e==n.Mc&&(o=dl(n.S,n.Kc,n.Ha,r,t,i)),e==n.Kc&&(o=dl(n.S,n.Ec,n.Ha,r,t,i)),e==n.Ec&&(o=dl(n.S,n.S,n.Ha,r,t,i)),e==n.Rc&&(o=r==n.jb&&t.v==i.v?n.jb:n.Ha),e!=n.S&&e!=n.jb||(o=n.Ha),e==n.Ha&&(o=i.v&&t.v==i.v?n.O:n.F),o},Le:function(e,t,r){return n.dispatchEvent(new Se("onstatechange",{state:e.name})),i.get(e)(t,r)},handleError:function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return S(t,Ps(n,e),2);case 2:return t.return(e.v?n.O:n.F)}}))}))},Bf:function(e){n.dispatchEvent(new Se("onstateidle",{state:e.name}))}}),t&&this.Hb(t,!0)}_(qa,Ba),qa.prototype.updateManifestExpiration=function(e,t){var r=Ua(this.b,this.a),n=r.store(),i=new ge;return n.get(e).onsuccess=function(r){(r=r.target.result)?(r.expiration=t,n.put(r),i.resolve()):i.reject(new me(2,9,9012,"Could not find values for "+e))},r.promise().then((function(){return i}))},qa.prototype.ec=function(e){return{originalManifestUri:e.originalManifestUri,duration:e.duration,size:e.size,expiration:null==e.expiration?1/0:e.expiration,periods:e.periods.map(Xa),sessionIds:e.sessionIds,drmInfo:e.drmInfo,appMetadata:e.appMetadata}},qa.prototype.Jd=function(e){return{data:e.data}},_(es,Ba),es.prototype.hasFixedKeySpace=function(){return this.f},es.prototype.addSegments=function(e){return this.f?Ka(this.c):this.add(this.c,e)},es.prototype.addManifests=function(e){return this.f?Ka(this.a):this.add(this.a,e)},es.prototype.ec=function(e){return null==e.expiration&&(e.expiration=1/0),e},(n=ts.prototype).init=function(){var t=this,r=new ge,n=e.indexedDB.open("shaka_offline_db",4);return n.onsuccess=function(e){e=e.target.result,t.f=e;var n=e.objectStoreNames;n=n.contains("manifest")&&n.contains("segment")?new qa(e,"segment","manifest"):null,t.a=n,n=(n=e.objectStoreNames).contains("manifest-v2")&&n.contains("segment-v2")?new es(e,"segment-v2","manifest-v2",!0):null,t.b=n,n=(n=e.objectStoreNames).contains("manifest-v3")&&n.contains("segment-v3")?new es(e,"segment-v3","manifest-v3",!1):null,t.c=n,e=e.objectStoreNames.contains("session-ids")?new Ha(e):null,t.g=e,r.resolve()},n.onupgradeneeded=function(e){e=e.target.result;for(var t=f(["segment-v3","manifest-v3","session-ids"]),r=t.next();!r.done;r=t.next())r=r.value,e.objectStoreNames.contains(r)||e.createObjectStore(r,{autoIncrement:!0})},n.onerror=function(e){r.reject(new me(2,9,9001,n.error)),e.preventDefault()},r},n.destroy=function(){var e=this;return p((function t(){return M(t,(function(t){switch(t.j){case 1:if(!e.a){t.A(2);break}return S(t,e.a.destroy(),2);case 2:if(!e.b){t.A(4);break}return S(t,e.b.destroy(),4);case 4:if(!e.c){t.A(6);break}return S(t,e.c.destroy(),6);case 6:if(!e.g){t.A(8);break}return S(t,e.g.destroy(),8);case 8:e.f&&e.f.close(),w(t)}}))}))},n.getCells=function(){var e=new Map;return this.a&&e.set("v1",this.a),this.b&&e.set("v2",this.b),this.c&&e.set("v3",this.c),e},n.getEmeSessionCell=function(){return this.g},n.erase=function(){var t=this;return p((function r(){return M(r,(function(r){switch(r.j){case 1:if(!t.a){r.A(2);break}return S(r,t.a.destroy(),2);case 2:if(!t.b){r.A(4);break}return S(r,t.b.destroy(),4);case 4:if(!t.c){r.A(6);break}return S(r,t.c.destroy(),6);case 6:return t.f&&t.f.close(),S(r,function(){var t=new ge,r=e.indexedDB.deleteDatabase("shaka_offline_db");return r.onblocked=function(){},r.onsuccess=function(){t.resolve()},r.onerror=function(e){t.reject(new me(2,9,9001,r.error)),e.preventDefault()},t}(),8);case 8:return t.f=null,t.a=null,t.b=null,t.c=null,S(r,t.init(),0)}}))}))},Wa("idb",(function(){return e.indexedDB?new ts:null})),rs.prototype.wa=function(){return this.g},rs.prototype.ba=function(){return this.f},rs.prototype.key=function(){return this.c},rs.prototype.toString=function(){return this.b},(n=ls.prototype).configure=function(){},n.start=function(e){var t=this;return p((function r(){var n,i,o,a,s;return M(r,(function(r){switch(r.j){case 1:return n=ns(e),t.a=n,null==n||"manifest"!=n.a?r.return(Promise.reject(new me(2,1,9004,n))):(i=new Ya,x(r,2),S(r,i.init(),4));case 4:return S(r,za(i,n.wa(),n.ba()),5);case 5:return S(r,r.o.getManifests([n.key()]),6);case 6:return o=r.o,a=o[0],s=new is(n.wa(),n.ba()),r.return(function(e,t){var r=new yi(null,0);r.xa(t.duration);var n=t.periods.map((function(t){return os(e,t,r)})),i=t.drmInfo?[t.drmInfo]:[];return t.drmInfo&&n.forEach((function(e){e.variants.forEach((function(e){e.drmInfos=i}))})),{presentationTimeline:r,minBufferTime:2,offlineSessionIds:t.sessionIds,periods:n}}(s,a));case 2:return L(r),S(r,i.destroy(),7);case 7:j(r,0)}}))}))},n.stop=function(){return Promise.resolve()},n.update=function(){},n.onExpirationUpdated=function(e,t){var r=this;return p((function n(){var i,o,a,s,l,u,c;return M(n,(function(n){switch(n.j){case 1:return i=r.a,o=new Ya,k(n,2,3),S(n,o.init(),5);case 5:return S(n,za(o,i.wa(),i.ba()),6);case 6:return S(n,(a=n.o).getManifests([i.key()]),7);case 7:if(s=n.o,l=s[0],u=l.sessionIds.includes(e),c=null==l.expiration||l.expiration>t,!u||!c){n.A(3);break}return S(n,a.updateManifestExpiration(i.key(),t),3);case 3:return L(n),S(n,o.destroy(),10);case 10:j(n,0);break;case 2:R(n),n.A(3)}}))}))},gi.Cb("application/x-offline-manifest",ls),G("shaka.offline.OfflineScheme",us),us.h=function(e){return _e(e={uri:e,ld:e,data:new ArrayBuffer(0),headers:{"content-type":"application/x-offline-manifest"}})},us.i=function(e,t){var r=new Ya;return _e(void 0).U((function(){return r.init()})).U((function(){return za(r,t.wa(),t.ba())})).U((function(e){return e.getSegments([t.key()])})).U((function(e){return{uri:t,ld:t,data:e[0].data,headers:{}}})).finally((function(){return r.destroy()}))},De("offline",us),fs.prototype.destroy=function(){var e=this;return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.l=!1,e.b&&e.b.abort(),ps(e),S(t,e.m,2);case 2:e.a&&e.a.va.Ya();for(var r=f(e.f),n=r.next();!n.done;n=r.next())n.value.va.Ya();e.a=null,e.f=[],e.g=null,w(t)}}))}))},G("shaka.text.SimpleTextDisplayer",ms),ms.prototype.remove=function(e,t){return!!this.a&&(ys(this.a,(function(r){return r.startTime<t&&r.endTime>e})),!0)},ms.prototype.remove=ms.prototype.remove,ms.prototype.append=function(e){for(var t=gs,r=[],n=0;n<e.length;n++){var i=t(e[n]);i&&r.push(i)}r.slice().sort((function(e,t){return e.startTime!=t.startTime?e.startTime-t.startTime:e.endTime!=t.endTime?e.endTime-t.startTime:r.indexOf(t)-r.indexOf(e)})).forEach(function(e){this.a.addCue(e)}.bind(this))},ms.prototype.append=ms.prototype.append,ms.prototype.destroy=function(){return this.a&&ys(this.a,(function(){return!0})),this.a=null,Promise.resolve()},ms.prototype.destroy=ms.prototype.destroy,ms.prototype.isTextVisible=function(){return"showing"==this.a.mode},ms.prototype.isTextVisible=ms.prototype.isTextVisible,ms.prototype.setTextVisibility=function(e){this.a.mode=e?"showing":"hidden"},ms.prototype.setTextVisibility=ms.prototype.setTextVisibility,G("shaka.util.ConfigUtils.mergeConfigObjects",vs),G("shaka.util.ConfigUtils.convertToConfigObject",bs),G("shaka.util.PlayerConfiguration",_s),_s.mergeConfigObjects=Es,V(Cs,ke),G("shaka.Player",Cs),Cs.prototype.destroy=function(){var e=this;return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:return e.i==hl?t.return():(e.i=hl,r=hs(e.lb,(function(){return{node:e.F,payload:{Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},Va:!1}})),S(t,new Promise((function(t){r.wb=function(){},r.pc=function(){t(),e.dispatchEvent(new Se("loaded"))},r.Ya=function(){t()},r.onError=function(){t()},r.rc=function(){t()}})),2));case 2:return S(t,e.lb.destroy(),3);case 3:if(e.g&&(e.g.release(),e.g=null),e.Dc=null,e.l=null,e.c=null,!e.K){t.A(0);break}return S(t,e.K.destroy(),5);case 5:e.K=null,w(t)}}))}))},Cs.prototype.destroy=Cs.prototype.destroy,Cs.version="v2.5.10";var Rs=["2","5"];Hr=new function(e){this.a=e,this.c=Gr,this.b=Vr}(new Br(Number(Rs[0]),Number(Rs[1])));var Ls=["output-restricted","internal-error"],js={};function Ps(e,t){return p((function r(){return M(r,(function(r){switch(r.j){case 1:if(e.i!=hl&&(e.i=pl),e.dispatchEvent(new Se("unloading")),t.Aa=null,t.mimeType=null,t.startTime=null,t.uri=null,t.v&&(e.g.ea(t.v,"loadeddata"),e.g.ea(t.v,"playing"),e.g.ea(t.v,"pause"),e.g.ea(t.v,"ended"),e.g.ea(t.v,"ratechange")),e.ib&&(e.ib.release(),e.ib=null),e.Zb&&(e.Zb.stop(),e.Zb=null),!e.s){r.A(2);break}return S(r,e.s.stop(),3);case 3:e.s=null;case 2:if(!e.l){r.A(4);break}return S(r,e.l.stop(),4);case 4:if(!e.f){r.A(6);break}return S(r,e.f.destroy(),7);case 7:e.f=null;case 6:if(e.m&&(e.m.release(),e.m=null),!e.D){r.A(8);break}return S(r,e.D.destroy(),9);case 9:e.D=null;case 8:if(!t.v||!t.v.src){r.A(10);break}return S(r,new Promise((function(e){return new fe(e).R(.1)})),11);case 11:t.v.removeAttribute("src"),t.v.load();case 10:if(!e.h){r.A(12);break}return S(r,e.h.destroy(),13);case 13:e.h=null;case 12:e.$.a.clear(),e.Fb=null,e.B=null,e.ac.clear(),e.b=null,e.u=null,e.Fc=null,e.kb=!0,Gs(e),w(r)}}))}))}function Is(e,t){e.B=new So,e.B.a=ko,wo(e.B,t,Math.min(.5,t/2)),Gs(e),e.Zb=new fe((function(){Os(e)})).Na(.25)}function Os(e){switch(e.i){case gl:var t=!!e.a.ended||Ut(e.a.buffered)>=e.a.duration-1;break;case ml:e:if(e.a.ended||Ar(e.D))t=!0;else{if(e.b.presentationTimeline.V()){var r=e.b.presentationTimeline.pb();if(Ut(e.a.buffered)>=r){t=!0;break e}}t=!1}break;default:t=!1}var n=Bt(e.a.buffered,e.a.currentTime),i=t,o=(r=e.B).b.get(r.a);t=r.a,n=i||n>=o?xo:ko,r.a=n,t!=n&&Gs(e)}function Ds(e){if(e.s){var t=xe(e.c.manifest);e.a&&"AUDIO"===e.a.nodeName&&(t.disableVideo=!0),e.s.configure(t)}if(e.h&&e.h.configure(e.c.drm),e.f){e.f.configure(e.c.streaming);try{e.b.periods.forEach(e.Nc.bind(e))}catch(t){e.Ma(t)}var r=ia(e.f),n=oa(e.f);t=ll(e),r=Nr.Qd(r,n,t.variants),e.l&&r&&r.allowedByApplication&&r.allowedByKeySystem?Hs(e,t.variants):Ys(e,t)}if(e.D&&(t=e.c.textDisplayFactory,e.Fc!=t)){r=new t;var i=(n=e.D).g;n.g=r,i&&(r.setTextVisibility(i.isTextVisible()),i.destroy()),n.a&&(n.a.c=r),e.Fc=t,e.f&&(r=(t=e.f).b.get("text"))&&ca(t,r.stream,!0,0,!0)}e.l&&(e.l.configure(e.c.abr),e.c.abr.enabled&&!e.kb?e.l.enable():e.l.disable(),Zs(e)),e.B&&(t=e.c.streaming.rebufferingGoal,e.b&&(t=Math.max(t,e.b.minBufferTime)),wo(e.B,t,Math.min(.5,t/2)))}function Ms(e,t,r,n){go(e.$,t).variant=r,(e=e.u.c).c!=r&&(e.c=r,e.a.push({timestamp:Date.now()/1e3,id:r.id,type:"variant",fromAdaptation:n,bandwidth:r.bandwidth}))}function Ns(e,t,r,n){mo(e.$,t,r),(e=e.u.c).b!=r&&(e.b=r,e.a.push({timestamp:Date.now()/1e3,id:r.id,type:"text",fromAdaptation:n,bandwidth:null}))}function Us(e){var t=As();return t.streaming.failureCallback=function(t){e.V()&&[1001,1002,1003].includes(t.code)&&(t.severity=1,e.sd())},t.textDisplayFactory=function(){return new ms(e.a)},t}function Fs(e,t){var r=e.f?ia(e.f):null,n=e.f?oa(e.f):null;if(t.forEach(Nr.filterNewPeriod.bind(null,e.h,r,n)),0==(r=function(e,t){var r=0;return e.forEach((function(e){r+=t(e)?1:0})),r}(t,(function(e){return e.variants.some(Nr.rb)}))))throw new me(2,4,4032);if(r<t.length)throw new me(2,4,4011);t.forEach(function(e){Nr.Gd(e.variants,this.c.restrictions,this.bc)&&this.f&&ll(this)==e&&$s(this),nl(this,e.variants)}.bind(e))}function Bs(e,t,r,n){return r=void 0!==r&&r,n=void 0===n?0:n,e.kb?(e.pa=t,e.Ud=r,e.Rd=n,!0):((t=ua(e.f,t,r,n))&&qs(e),t)}function Ks(e,t){if(e.kb)return e.oa=t,!0;var r=ca(e.f,t,!0,0,!1);return r&&Xs(e),r}function Gs(e){var t=e.Xc();if(e.u&&e.B&&e.m){var r=e.W;r.f=t,Fo(r),Vs(e)}e.dispatchEvent(new Se("buffering",{buffering:t}))}function Vs(e){if(e.u&&e.B){var t=e.u.a;e.B.a==ko?Ss(t,"buffering"):e.a.paused?Ss(t,"paused"):e.a.ended?Ss(t,"ended"):Ss(t,"playing")}}function Hs(e,t){try{nl(e,t)}catch(t){return e.Ma(t),null}var r=t.filter((function(e){return Nr.rb(e)}));return r=e.Gb.create(r),e.l.setVariants(Array.from(r.values())),e.l.chooseVariant()}function Ys(e,t){var r=zs(e,t,!1),n=Nr.Jb(t.textStreams,e.na,e.fb)[0]||null,i=!1;n&&(e.c.streaming.alwaysStreamText||e.mc())&&(Ns(e,t,n,!0),i=Ks(e,n)),(r||i)&&Ws(e)}function zs(e,t,r){r=void 0===r||r;var n=Hs(e,t.variants),i=!1;return n&&(Ms(e,t,n,!0),i=Bs(e,n,!0)),r&&i&&Ws(e),i}function Ws(e){il(e,new Se("adaptation"))}function $s(e){il(e,new Se("trackschanged"))}function qs(e){il(e,new Se("variantchanged"))}function Xs(e){il(e,new Se("textchanged"))}function Js(e){il(e,new Se("texttrackvisibility"))}function Zs(e){il(e,new Se("abrstatuschanged",{Ig:e.c.abr.enabled}))}function Qs(e,t,r){e.dispatchEvent(new Se(t,{detail:{schemeIdUri:r.schemeIdUri,value:r.value,startTime:r.startTime,endTime:r.endTime,id:r.id,eventElement:r.eventElement}}))}function el(e){if(!e.a.error)return null;var t=e.a.error.code;if(1==t)return null;var r=e.a.error.msExtendedCode;return r&&(0>r&&(r+=Math.pow(2,32)),r=r.toString(16)),new me(2,3,3016,t,r,e.a.error.message)}function tl(e,t){if(e.f){var r=ll(e),n=!1,i=Object.keys(t),o=1==i.length&&"00"==i[0];i.length&&e.b.periods.forEach((function(e){e.variants.forEach((function(e){Nr.nf(e).forEach((function(r){var i=e.allowedByKeySystem;r.keyId&&(r=t[o?"00":r.keyId],e.allowedByKeySystem=!!r&&!Ls.includes(r)),i!=e.allowedByKeySystem&&(n=!0)}))}))})),i=ia(e.f);var a=oa(e.f);(i=Nr.Qd(i,a,r.variants))&&!i.allowedByKeySystem&&zs(e,r),n&&($s(e),Hs(e,r.variants))}}function rl(e,t,r){e.s&&e.s.onExpirationUpdated&&e.s.onExpirationUpdated(t,r),e.dispatchEvent(new Se("expirationupdated"))}function nl(e,t){var r=e.h?$e(e.h.W):{},n=Object.keys(r);n=n.length&&"00"==n[0];for(var i=!1,o=!1,a=[],s=[],l=f(t),u=l.next();!u.done;u=l.next()){var c=[];(u=u.value).audio&&c.push(u.audio),u.video&&c.push(u.video);for(var d=(c=f(c)).next();!d.done;d=c.next())if((d=d.value).keyId){var h=r[n?"00":d.keyId];h?Ls.includes(h)&&(s.includes(h)||s.push(h)):a.includes(d.keyId)||a.push(d.keyId)}u.allowedByApplication?u.allowedByKeySystem&&(i=!0):o=!0}if(!i)throw new me(2,4,4012,{hasAppRestrictions:o,missingKeys:a,restrictedKeyStatuses:s})}function il(e,t){p((function r(){return M(r,(function(r){switch(r.j){case 1:return S(r,Promise.resolve(),2);case 2:e.i!=hl&&e.dispatchEvent(t),w(r)}}))}))}function ol(e){for(var t=new Set,r=(e=f(e)).next();!r.done;r=e.next())(r=r.value).language?t.add(Ir(r.language)):t.add("und");return t}function al(e){for(var t=new Map,r=(e=f(e)).next();!r.done;r=e.next()){var n=r.value;r="und";var i=[];for(n.language&&(r=Ir(n.language)),(i="variant"==n.type?n.audioRoles:n.roles)&&i.length||(i=[""]),t.has(r)||t.set(r,new Set),i=(n=f(i)).next();!i.done;i=n.next())i=i.value,t.get(r).add(i)}var o=[];return t.forEach((function(e,t){for(var r=f(e),n=r.next();!n.done;n=r.next())o.push({language:t,role:n.value})})),o}function sl(e){return null==(e=ll(e))?[]:e.variants.filter((function(e){return Nr.rb(e)}))}function ll(e){for(var t=e.m.h(),r=null,n=(e=f(e.b.periods)).next();!n.done;n=e.next())(n=n.value).startTime<=t&&(r=n);return r}function ul(e){var t=ll(e);return go(e.$,t).variant}function cl(){return new me(2,7,7e3)}function dl(e,t,r,n,i,o){return n==e&&i.v==o.v&&i.uri==o.uri&&i.mimeType==o.mimeType&&i.Aa==o.Aa?t:r}function fl(e){return new Promise((function(t,r){e.Ya=function(){return r(cl())},e.pc=function(){return t()},e.onError=function(e){return r(e)},e.rc=function(){return r(cl())}}))}Cs.registerSupportPlugin=function(e,t){js[e]=t},Cs.isBrowserSupported=function(){if(!(e.Promise&&e.Uint8Array&&Array.prototype.forEach))return!1;var t=tt();return!(t&&12>t||!(e.MediaKeys&&e.navigator&&e.navigator.requestMediaKeySystemAccess&&e.MediaKeySystemAccess&&e.MediaKeySystemAccess.prototype.getConfiguration))&&(!!Ze()||Qe("application/x-mpegurl"))},Cs.probeSupport=function(){return Ct().then((function(e){for(var t=gi.Sf(),r={},n=f('video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="opus",audio/mp4; codecs="flac",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",")),i=n.next();!i.done;i=n.next()){r[i=i.value]=Ze()?!!pr(i)||MediaSource.isTypeSupported(i)||Wt(i):Qe(i);var o=i.split(";")[0];r[o]=r[o]||r[i]}for(var a in e={manifest:t,media:r,drm:e},js)e[a]=js[a]();return e}))},Cs.prototype.Hb=function(e,t){if(t=void 0===t||t,this.i==hl)return Promise.reject(cl());var r={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null};r.v=e,Ze()||(t=!1);var n=t?this.hb:this.O,i=hs(this.lb,(function(){return{node:n,payload:r,Va:!1}}));return i.wb=function(){},fl(i)},Cs.prototype.attach=Cs.prototype.Hb,Cs.prototype.detach=function(){var e=this;if(this.i==hl)return Promise.reject(cl());var t=hs(this.lb,(function(){return{node:e.F,payload:{Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},Va:!1}}));return t.wb=function(){},fl(t)},Cs.prototype.detach=Cs.prototype.detach,Cs.prototype.Cd=function(e){var t=this;if(e=void 0===e||e,this.i==hl)return Promise.reject(cl());Ze()||(e=!1);var r={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},n=hs(this.lb,(function(n){var i=n.v&&e?t.hb:n.v?t.O:t.F;return r.v=n.v,{node:i,payload:r,Va:!1}}));return n.wb=function(){},fl(n)},Cs.prototype.unload=Cs.prototype.Cd,Cs.prototype.load=function(e,t,r){if(this.i==hl)return Promise.reject(cl());this.dispatchEvent(new Se("loading"));var n={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null};n.uri=e,n.zd=Date.now()/1e3,r&&"string"!=typeof r&&(Kr("Loading with a manifest parser factory","Please register a manifest parser and for the mime-type."),n.Aa=function(){return new r}),r&&"string"==typeof r&&(n.mimeType=r),void 0!==t&&(n.startTime=t);var i=function(e,t){if(t.Aa)return!1;if(!Ze())return!0;var r=t.mimeType,n=t.uri||"";return r||(r={mp4:"video/mp4",m4v:"video/mp4",m4a:"audio/mp4",webm:"video/webm",weba:"audio/webm",mkv:"video/webm",ts:"video/mp2t",ogv:"video/ogg",ogg:"audio/ogg",mpg:"video/mpeg",mpeg:"video/mpeg",m3u8:"application/x-mpegurl",mp3:"audio/mpeg",aac:"audio/aac",flac:"audio/flac",wav:"audio/wav"}[gi.getExtension(n)]),!!r&&""!=(t.v||nt()).canPlayType(r)&&(!gi.isSupported(n,r)||et()&&e.c.streaming.useNativeHlsOnSafari)}(this,n)?this.jb:this.S,o=hs(this.lb,(function(e){return null==e.v?null:(n.v=e.v,{node:i,payload:n,Va:!0})}));return o.wb=function(){},new Promise((function(e,t){o.rc=function(){return t(new me(2,7,7002))},o.pc=function(){return e()},o.Ya=function(){return t(cl())},o.onError=function(e){return t(e)}}))},Cs.prototype.load=Cs.prototype.load,Cs.prototype.configure=function(e,t){2==arguments.length&&"string"==typeof e&&(e=bs(e,t));var r=Es(this.c,e,Us(this));return Ds(this),r},Cs.prototype.configure=Cs.prototype.configure,Cs.prototype.getConfiguration=function(){var e=Us(this);return Es(e,this.c,Us(this)),e},Cs.prototype.getConfiguration=Cs.prototype.getConfiguration,Cs.prototype.$f=function(){for(var e in this.c)delete this.c[e];Es(this.c,Us(this),Us(this)),Ds(this)},Cs.prototype.resetConfiguration=Cs.prototype.$f,Cs.prototype.We=function(){return this.i},Cs.prototype.getLoadMode=Cs.prototype.We,Cs.prototype.af=function(){return this.a},Cs.prototype.getMediaElement=Cs.prototype.af,Cs.prototype.Mb=function(){return this.K},Cs.prototype.getNetworkingEngine=Cs.prototype.Mb,Cs.prototype.hc=function(){return this.Fb},Cs.prototype.getAssetUri=Cs.prototype.hc,Cs.prototype.Ze=function(){return Kr("getManifestUri",'Please use "getAssetUri" instead.'),this.hc()},Cs.prototype.getManifestUri=Cs.prototype.Ze,Cs.prototype.V=function(){return this.b?this.b.presentationTimeline.V():!(!this.a||!this.a.src)&&1/0==this.a.duration},Cs.prototype.isLive=Cs.prototype.V,Cs.prototype.Xa=function(){return!!this.b&&this.b.presentationTimeline.Xa()},Cs.prototype.isInProgress=Cs.prototype.Xa,Cs.prototype.uf=function(){if(this.b){if(!this.b.periods.length)return!1;var e=this.b.periods[0].variants;return!!e.length&&!e[0].video}return!(!this.a||!this.a.src)&&(this.a.videoTracks?0==this.a.videoTracks.length:0==this.a.videoHeight)},Cs.prototype.isAudioOnly=Cs.prototype.uf,Cs.prototype.bg=function(){if(this.b){var e=this.b.presentationTimeline;return{start:e.ob(),end:e.Ca()}}return this.a&&this.a.src&&(e=this.a.seekable).length?{start:e.start(0),end:e.end(e.length-1)}:{start:0,end:0}},Cs.prototype.seekRange=Cs.prototype.bg,Cs.prototype.keySystem=function(){return _t(this.drmInfo())},Cs.prototype.keySystem=Cs.prototype.keySystem,Cs.prototype.drmInfo=function(){return this.h?this.h.a:null},Cs.prototype.drmInfo=Cs.prototype.drmInfo,Cs.prototype.Lb=function(){return this.h?this.h.Lb():1/0},Cs.prototype.getExpiration=Cs.prototype.Lb,Cs.prototype.Xc=function(){return!!this.B&&this.B.a==ko},Cs.prototype.isBuffering=Cs.prototype.Xc,Cs.prototype.ef=function(){if(this.W){var e=this.W;e=e.f?0:e.c}else e=0;return e},Cs.prototype.getPlaybackRate=Cs.prototype.ef,Cs.prototype.ug=function(e){0==e?q("A trick play rate of 0 is unsupported!"):(this.a.paused&&this.a.play(),this.W.set(e),this.i==ml&&la(this.f,1<Math.abs(e)))},Cs.prototype.trickPlay=Cs.prototype.ug,Cs.prototype.Ge=function(){this.i==gl&&this.W.set(1),this.i==ml&&(this.W.set(1),la(this.f,!1))},Cs.prototype.cancelTrickPlay=Cs.prototype.Ge,Cs.prototype.Vc=function(){if(this.b&&this.m){for(var e=ul(this),t=[],r=f(sl(this)),n=r.next();!n.done;n=r.next()){n=n.value;var i=Nr.Ed(n);i.active=n==e,t.push(i)}return t}return this.a&&this.a.audioTracks?Array.from(this.a.audioTracks).map((function(e){return Nr.rf(e)})):[]},Cs.prototype.getVariantTracks=Cs.prototype.Vc,Cs.prototype.qb=function(){if(this.b&&this.m){for(var e=function(e){var t=ll(e);if(null==t)return null;if(!go(e.$,t).text){var r=Nr.Jb(t.textStreams,e.na,e.fb);r.length&&mo(e.$,t,r[0])}return go(e.$,t).text}(this),t=[],r=f(function(e){var t=ll(e);return null==t?[]:t.textStreams.filter((function(t){return!e.ac.has(t)}))}(this)),n=r.next();!n.done;n=r.next()){n=n.value;var i=Nr.xc(n);i.active=n==e,t.push(i)}return t}return this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).map((function(e){return Nr.sf(e)})):[]},Cs.prototype.getTextTracks=Cs.prototype.qb,Cs.prototype.td=function(e){if(this.b&&this.f){var t=ll(this),r=t.textStreams.find((function(t){return t.id==e.id}));r&&(Ns(this,t,r,!1),Ks(this,r),this.na=r.language)}else if(this.a&&this.a.src&&this.a.textTracks){for(r=(t=f(t=Array.from(this.a.textTracks))).next();!r.done;r=t.next())r=r.value,Nr.Wc(r)==e.id?r.mode=this.gb?"showing":"hidden":r.mode="disabled";Xs(this)}},Cs.prototype.selectTextTrack=Cs.prototype.td,Cs.prototype.dg=function(){Kr("selectEmbeddedTextTrack","If closed captions are signaled in the manifest, a text stream will be created to represent them. Please use SelectTextTrack.");var e=this.qb().filter((function(e){return"application/cea-608"==e.mimeType}));0<e.length&&this.td(e[0])},Cs.prototype.selectEmbeddedTextTrack=Cs.prototype.dg,Cs.prototype.zg=function(){Kr("usingEmbeddedTextTrack","If closed captions are signaled in the manifest, a text stream will be created to represent them. There should be no reason to know if the player is playing embedded text.");var e=this.qb().filter((function(e){return e.active}))[0];return!!e&&"application/cea-608"==e.mimeType},Cs.prototype.usingEmbeddedTextTrack=Cs.prototype.zg,Cs.prototype.fg=function(e,t,r){if(r=void 0===r?0:r,this.b&&this.f){var n=ll(this);this.c.abr.enabled&&q("Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().");var i=n.variants.find((function(t){return t.id==e.id}));i&&Nr.rb(i)&&(Ms(this,n,i,!1),Bs(this,i,t,r),this.Gb=new Eo(i),Hs(this,n.variants))}else if(this.a&&this.a.audioTracks){for(r=(t=f(t=Array.from(this.a.audioTracks))).next();!r.done;r=t.next())r=r.value,Nr.Wc(r)==e.id&&(r.enabled=!0);qs(this)}},Cs.prototype.selectVariantTrack=Cs.prototype.fg,Cs.prototype.Re=function(){return al(this.Vc())},Cs.prototype.getAudioLanguagesAndRoles=Cs.prototype.Re,Cs.prototype.mf=function(){return al(this.qb())},Cs.prototype.getTextLanguagesAndRoles=Cs.prototype.mf,Cs.prototype.Qe=function(){return Array.from(ol(this.Vc()))},Cs.prototype.getAudioLanguages=Cs.prototype.Qe,Cs.prototype.lf=function(){return Array.from(ol(this.qb()))},Cs.prototype.getTextLanguages=Cs.prototype.lf,Cs.prototype.cg=function(e,t){if(this.b&&this.m){var r=ll(this);this.Gb=new To(e,t||"",0,"","audio"),zs(this,r)}else if(this.a&&this.a.audioTracks){for(var n=(r=f(r=Array.from(this.a.audioTracks))).next();!n.done;n=r.next())(n=n.value).language==e&&(n.enabled=!0);qs(this)}},Cs.prototype.selectAudioLanguage=Cs.prototype.cg,Cs.prototype.eg=function(e,t){if(this.b&&this.m){var r=ll(this);this.na=e,this.fb=t||"";var n=Nr.Jb(r.textStreams,this.na,this.fb)[0]||null;n&&(Ns(this,r,n,!1),(this.c.streaming.alwaysStreamText||this.mc())&&Ks(this,n))}else(r=this.qb().filter((function(t){return t.language==e}))[0])&&this.td(r)},Cs.prototype.selectTextLanguage=Cs.prototype.eg,Cs.prototype.gg=function(e){if(this.b&&this.m){for(var t=ll(this),r=null,n=f(sl(this)),i=n.next();!i.done;i=n.next())if((i=i.value).audio.label==e){r=i;break}null!=r&&(this.Gb=new To(r.language,"",0,e),zs(this,t))}},Cs.prototype.selectVariantsByLabel=Cs.prototype.gg,Cs.prototype.mc=function(){var e=this.gb;return this.D?this.D.g.isTextVisible():this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).some((function(e){return"showing"==e.mode})):e},Cs.prototype.isTextTrackVisible=Cs.prototype.mc,Cs.prototype.jg=function(e){var t=this;return p((function r(){var n,i,o,a;return M(r,(function(r){switch(r.j){case 1:if(t.gb==(n=!!e))return r.return();if(t.gb=n,t.i!=ml){if(t.a&&t.a.src&&t.a.textTracks)for(var s=f(Array.from(t.a.textTracks)),l=s.next();!l.done;l=s.next())"disabled"!=(i=l.value).mode&&(i.mode=n?"showing":"hidden");r.A(2);break}if(t.D.g.setTextVisibility(n),t.c.streaming.alwaysStreamText){r.A(2);break}if(!n){(s=t.f).D=!0,(l=s.b.get("text"))&&(xa(l),s.b.delete("text")),r.A(2);break}if(o=ll(t),!(0<(a=Nr.Jb(o.textStreams,t.na,t.fb)).length)){r.A(2);break}return S(r,sa(t.f,a[0]),2);case 2:Js(t),w(r)}}))}))},Cs.prototype.setTextTrackVisibility=Cs.prototype.jg,Cs.prototype.gf=function(){if(!this.V())return null;if(this.b)return new Date(1e3*(this.b.presentationTimeline.f+this.a.currentTime));if(this.a&&this.a.getStartDate){var e=this.a.getStartDate();return isNaN(e.getTime())?null:new Date(e.getTime()+1e3*this.a.currentTime)}return null},Cs.prototype.getPlayheadTimeAsDate=Cs.prototype.gf,Cs.prototype.jf=function(){if(!this.V())return null;if(this.b)return new Date(1e3*this.b.presentationTimeline.f);if(this.a&&this.a.getStartDate){var e=this.a.getStartDate();return isNaN(e.getTime())?null:e}return null},Cs.prototype.getPresentationStartTimeAsDate=Cs.prototype.jf,Cs.prototype.Sc=function(){var e={total:[],audio:[],video:[],text:[]};return this.i==gl&&(e.total=Kt(this.a.buffered)),this.i==ml&&this.D.Sc(e),e},Cs.prototype.getBufferedInfo=Cs.prototype.Sc,Cs.prototype.getStats=function(){if(this.i!=ml&&this.i!=gl)return{width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,corruptedFrames:NaN,estimatedBandwidth:NaN,loadLatency:NaN,playTime:NaN,pauseTime:NaN,bufferingTime:NaN,licenseTime:NaN,switchHistory:[],stateHistory:[]};Vs(this);var e=this.a;if(e.getVideoPlaybackQuality){e=e.getVideoPlaybackQuality();var t=this.u,r=Number(e.totalVideoFrames);t.m=Number(e.droppedVideoFrames),t.l=r,this.u.i=Number(e.corruptedVideoFrames)}e=this.h&&(e=this.h).K?e.K:NaN,this.u.h=e,this.i==ml&&((e=ul(this))&&(this.u.s=e.bandwidth),e&&e.video&&(t=this.u,r=e.video.height||NaN,t.u=e.video.width||NaN,t.g=r),e=this.l.getBandwidthEstimate(),this.u.f=e);var n=this.u;e=n.u,t=n.g,r=n.s;for(var i=n.l,o=n.m,a=n.i,s=n.f,l=n.b,u=ws(n.a,"playing"),c=ws(n.a,"paused"),d=ws(n.a,"buffering"),h=n.h,p=function(e){function t(e){return{timestamp:e.timestamp,state:e.state,duration:e.duration}}for(var r=[],n=f(e.b),i=n.next();!i.done;i=n.next())r.push(t(i.value));return e.a&&r.push(t(e.a)),r}(n.a),m=[],g=(n=f(n.c.a)).next();!g.done;g=n.next())g=g.value,m.push({timestamp:g.timestamp,id:g.id,type:g.type,fromAdaptation:g.fromAdaptation,bandwidth:g.bandwidth});return{width:e,height:t,streamBandwidth:r,decodedFrames:i,droppedFrames:o,corruptedFrames:a,estimatedBandwidth:s,loadLatency:l,playTime:u,pauseTime:c,bufferingTime:d,licenseTime:h,stateHistory:p,switchHistory:m}},Cs.prototype.getStats=Cs.prototype.getStats,Cs.prototype.addTextTrack=function(e,t,r,n,i,o){var a=this;return p((function s(){var l,u,c,d,f,h,p,m,g;return M(s,(function(s){switch(s.j){case 1:if(a.i==gl)throw Error("State error!");if(a.i!=ml)throw Error("State error!");if(l=ll(a),u=Yt,c=a.b.periods.indexOf(l),f=(d=c+1)>=a.b.periods.length?a.b.presentationTimeline.Y():a.b.periods[d].startTime,1/0==(h=f-l.startTime))throw new me(1,4,4033);return p=new Zn(1,0,h,(function(){return[e]}),0,null),m={id:a.Xd++,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return 1},getSegmentReference:function(e){return 1==e?p:null},initSegmentReference:null,presentationTimeOffset:0,mimeType:n,codecs:i||"",kind:r,encrypted:!1,keyId:null,language:t,label:o||null,type:u.ra,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},a.ac.add(m),l.textStreams.push(m),S(s,sa(a.f,m),2);case 2:return(g=aa(a.f,"text"))&&mo(a.$,l,g),a.ac.delete(m),Ys(a,l),$s(a),s.return(Nr.xc(m))}}))}))},Cs.prototype.addTextTrack=Cs.prototype.addTextTrack,Cs.prototype.vd=function(e,t){this.bc.width=e,this.bc.height=t},Cs.prototype.setMaxHardwareResolution=Cs.prototype.vd,Cs.prototype.sd=function(){if(this.i==ml){var e=this.f;if(e.f)e=!1;else if(e.m)e=!1;else{for(var t=f(e.b.values()),r=t.next();!r.done;r=t.next())(r=r.value).Pb&&(r.Pb=!1,ka(e,r,.1));e=!0}}else e=!1;return e},Cs.prototype.retryStreaming=Cs.prototype.sd,Cs.prototype.Xe=function(){return this.b},Cs.prototype.getManifest=Cs.prototype.Xe,Cs.prototype.Ye=function(){return this.s?this.s.constructor:null},Cs.prototype.getManifestParserFactory=Cs.prototype.Ye,(n=Cs.prototype).Nc=function(e){var t=this.f?ia(this.f):null,r=this.f?oa(this.f):null;if(Nr.filterNewPeriod(this.h,t,r,e),!(t=e.variants).some(Nr.rb))throw new me(2,4,4011);if(nl(this,e.variants),Nr.Gd(t,this.c.restrictions,this.bc)&&this.f&&ll(this)==e&&$s(this),e=this.h?this.h.a:null)for(r=(t=f(t)).next();!r.done;r=t.next())for(var n=(r=f(r.value.drmInfos)).next();!n.done;n=r.next())if((n=n.value).keySystem==e.keySystem)for(var i=(n=f(n.initData||[])).next();!i.done;i=n.next())i=i.value,bt(this.h,i.initDataType,i.initData)},n.zf=function(e){try{this.kb=!0,this.l.disable(),Zs(this);var t=Hs(this,e.variants),r=Nr.Jb(e.textStreams,this.na,this.fb)[0]||null;this.pa&&(e.variants.includes(this.pa)&&(t=this.pa),this.pa=null),this.oa&&(e.textStreams.includes(this.oa)&&(r=this.oa),this.oa=null),t&&Ms(this,e,t,!0),r&&Ns(this,e,r,!0);var n=this.f,i=n.b.get("video");if(i)var o=n.c.periods[i.ia];else{var a=n.b.get("audio");o=a?n.c.periods[a.ia]:null}var s=t?t.audio:null;if(!o&&r){var l;if(l=s){e=r;var u=Ir(this.c.preferredTextLanguage),c=Ir(s.language),d=Ir(e.language);l=jr(d,u)&&!jr(c,d)}l&&(this.gb=!0),this.gb&&this.D.g.setTextVisibility(!0),Js(this)}return this.c.streaming.alwaysStreamText||this.mc()?{variant:t,text:r}:{variant:t,text:null}}catch(e){return this.Ma(e),{variant:null,text:null}}},n.Fe=function(){this.kb=!1,this.c.abr.enabled&&(this.l.enable(),Zs(this)),this.pa&&(ua(this.f,this.pa,this.Ud,this.Rd),qs(this),this.pa=null),this.oa&&(ca(this.f,this.oa,!0,0,!1),Xs(this),this.oa=null)},n.Ef=function(){this.s&&this.s.update&&this.s.update()},n.Jf=function(){this.m&&this.m.s()},n.Ma=function(e){if(this.i!=hl){var t=new Se("error",{detail:e});this.dispatchEvent(t),t.defaultPrevented&&(e.handled=!0)}};var hl=0,pl=1,ml=2,gl=3;function yl(e,t){var r=os(new is(e.wa(),e.ba()),t.periods[0],new yi(null,0)),n=t.appMetadata||{};return r=vl(r),{offlineUri:e.toString(),originalManifestUri:t.originalManifestUri,duration:t.duration,size:t.size,expiration:t.expiration,tracks:r,appMetadata:n}}function vl(e){for(var t=[],r=Nr.df(e.variants),n=(r=f(r)).next();!n.done;n=r.next())t.push(Nr.Ed(n.value));for(r=(e=f(e.textStreams)).next();!r.done;r=e.next())t.push(Nr.xc(r.value));return t}function bl(){this.a={}}function _l(e,t){var r=t.audio,n=t.video;if(r&&!n&&(e.a[r.id]=r.bandwidth||t.bandwidth),!r&&n&&(e.a[n.id]=n.bandwidth||t.bandwidth),r&&n){var i=r.bandwidth||393216,o=n.bandwidth||t.bandwidth-i;0>=o&&(o=t.bandwidth),e.a[r.id]=i,e.a[n.id]=o}}function Al(e,t){var r=e.a[t];return null==r&&(r=0),r}function El(e){this.a=!1,this.b=new ge,this.c=e}function Tl(e){var t=new wl;e.periods.forEach((function(e,r){var n=xl(e.variants);if(0==r)for(var i=(n=f(n.a)).next();!i.done;i=n.next())t.add(i.value);else!function(e,t){e.a=e.a.filter((function(e){return kl(t,e)}))}(t,n)}));for(var r=(e=f(e.periods)).next();!r.done;r=e.next())(r=r.value).variants=r.variants.filter((function(e){return kl(t,new Sl(e))}))}function Sl(e){var t=e.audio;e=e.video,this.b=t?t.mimeType:null,this.a=t?t.codecs.split(".")[0]:null,this.f=e?e.mimeType:null,this.c=e?e.codecs.split(".")[0]:null}function wl(){this.a=[]}function kl(e,t){return e.a.some((function(e){return t.b==e.b&&t.a==e.a&&t.f==e.f&&t.c==e.c}))}function xl(e){for(var t=new wl,r=(e=f(e)).next();!r.done;r=e.next())t.add(new Sl(r.value));return t}function Cl(e){var t=this;if(e&&e.constructor!=Cs)throw new me(2,9,9008);this.b=this.a=null,e?(this.a=e.c,this.b=e.Mb()):(this.a=As(),this.b=new Ie),this.f=!1,this.c=[],this.g=[];var r=!e;this.h=new El((function(){return p((function e(){var n;return M(e,(function(e){switch(e.j){case 1:return n=function(){},S(e,Promise.all(t.g.map((function(e){return e.then(n,n)}))),2);case 2:if(!r){e.A(3);break}return S(e,t.b.destroy(),3);case 3:t.a=null,t.b=null,w(e)}}))}))}))}function Rl(){if(Ze())e:{for(var e=f($a.values()),t=e.next();!t.done;t=e.next())if(t=(t=t.value)()){t.destroy(),e=!0;break e}e=!1}else e=!1;return e}function Ll(e,t){for(var r=[],n=f(e.periods),i=n.next();!i.done;i=n.next())for(var o=(i=f(i.value.streams)).next();!o.done;o=i.next())o=o.value,t&&"video"==o.contentType?r.push({contentType:qe(o.mimeType,o.codecs),robustness:e.drmInfo.videoRobustness}):t||"audio"!=o.contentType||r.push({contentType:qe(o.mimeType,o.codecs),robustness:e.drmInfo.audioRobustness});return r}function jl(e,t,r){return p((function n(){return M(n,(function(n){switch(n.j){case 1:return S(n,function(e,t,r,n){return p((function i(){var o,a,s;return M(i,(function(i){switch(i.j){case 1:return n.drmInfo?(o=function(e){var t=Array.from(e.a.keys());if(!t.length)throw new me(2,9,9e3,"No supported storage mechanisms found");return e.a.get(t[0]).getEmeSessionCell()}(r),a=n.sessionIds.map((function(e){return{sessionId:e,keySystem:n.drmInfo.keySystem,licenseUri:n.drmInfo.licenseServerUri,serverCertificate:n.drmInfo.serverCertificate,audioCapabilities:Ll(n,!1),videoCapabilities:Ll(n,!0)}})),S(i,cs(t,e,a),2)):i.return();case 2:return s=i.o,S(i,o.remove(s),3);case 3:return S(i,o.add(a.filter((function(e){return-1==s.indexOf(e.sessionId)}))),0)}}))}))}(e.b,e.a.drm,r,t),0)}}))}))}function Pl(e,t,r,n){function i(){s+=1,e.a.offline.progressCallback(l,s/a)}var o=function(e){var t=[];return e.periods.forEach((function(e){e.streams.forEach((function(e){null!=e.initSegmentKey&&t.push(e.initSegmentKey),e.segments.forEach((function(e){t.push(e.dataKey)}))}))})),t}(n),a=o.length+1,s=0,l=yl(r,n);return Promise.all([t.removeSegments(o,i),t.removeManifests([r.key()],i)])}function Il(e,t,r,n,i,o){var a={id:o.id,originalId:o.originalId,primary:o.primary,presentationTimeOffset:o.presentationTimeOffset||0,contentType:o.type,mimeType:o.mimeType,codecs:o.codecs,frameRate:o.frameRate,pixelAspectRatio:o.pixelAspectRatio,kind:o.kind,language:o.language,label:o.label,width:o.width||null,height:o.height||null,initSegmentKey:null,encrypted:o.encrypted,keyId:o.keyId,segments:[],variantIds:[]};i=i.presentationTimeline.Ob();var s=o.id,l=o.initSegmentReference;return l&&(l=vi(l.c(),l.b,l.a,e.a.streaming.retryParameters),Oa(t,s,l,.5*Al(n,o.id),!0,(function(t){return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return S(n,r.addSegments([{data:t}]),2);case 2:i=n.o,e.c.push(i[0]),a.initSegmentKey=i[0],w(n)}}))}))}))),function(e,t,r){for(var n=null==(t=e.findSegmentPosition(t))?null:e.getSegmentReference(t);n;)r(n),n=e.getSegmentReference(++t)}(o,i,(function(i){var l=vi(i.c(),i.b,i.a,e.a.streaming.retryParameters);Oa(t,s,l,function(e,t,r){return r=r.endTime-r.startTime,Al(e,t)*r}(n,o.id,i),!1,(function(t){return p((function n(){var o;return M(n,(function(n){switch(n.j){case 1:return S(n,r.addSegments([{data:t}]),2);case 2:o=n.o,e.c.push(o[0]),a.segments.push({startTime:i.startTime,endTime:i.endTime,dataKey:o[0]}),w(n)}}))}))}))})),a}function Ol(e){if(e.h.a)throw new me(2,9,7001)}function Dl(){if(!Rl())throw new me(2,9,9e3)}function Ml(e,t){return p((function r(){return M(r,(function(r){switch(r.j){case 1:return e.g.push(t),x(r,2),S(r,t,4);case 4:return r.return(r.o);case 2:L(r),Re(e.g,t),j(r,0)}}))}))}function Nl(e){e.variants.map((function(e){return e.video}));var t=new Set(e.variants.map((function(e){return e.audio})));e=e.textStreams;for(var r=f(t),n=r.next();!n.done;n=r.next())for(var i=(n=f(t)).next();!i.done;i=n.next());for(r=(t=f(e)).next();!r.done;r=t.next())for(n=(r=f(e)).next();!n.done;n=r.next());}Cs.LoadMode={DESTROYED:hl,NOT_LOADED:pl,MEDIA_SOURCE:ml,SRC_EQUALS:gl},El.prototype.destroy=function(){var e=this;return this.a?this.b:(this.a=!0,this.c().then((function(){e.b.resolve()}),(function(){e.b.resolve()})))},wl.prototype.add=function(e){kl(this,e)||this.a.push(e)},G("shaka.offline.Storage",Cl),Cl.support=Rl,Cl.prototype.destroy=function(){return this.h.destroy()},Cl.prototype.destroy=Cl.prototype.destroy,Cl.prototype.configure=function(e,t){2==arguments.length&&"string"==typeof e&&(e=bs(e,t));var r=e,n=!1;return null!=r.trackSelectionCallback&&(n=!0,r.offline=r.offline||{},r.offline.trackSelectionCallback=r.trackSelectionCallback,delete r.trackSelectionCallback),null!=r.progressCallback&&(n=!0,r.offline=r.offline||{},r.offline.progressCallback=r.progressCallback,delete r.progressCallback),null!=r.usePersistentLicense&&(n=!0,r.offline=r.offline||{},r.offline.usePersistentLicense=r.usePersistentLicense,delete r.usePersistentLicense),n&&Kr("Storage.configure with OfflineConfig","Please configure storage with a player configuration."),Es(this.a,e)},Cl.prototype.configure=Cl.prototype.configure,Cl.prototype.getConfiguration=function(){var e=As();return Es(e,this.a,As()),e},Cl.prototype.getConfiguration=Cl.prototype.getConfiguration,Cl.prototype.Mb=function(){return this.b},Cl.prototype.getNetworkingEngine=Cl.prototype.Mb,Cl.prototype.store=function(e,t,r){var n=this;return Ml(this,function(e,t,r,n){return p((function i(){var o,a,s,l,u,c,d,h,m;return M(i,(function(i){switch(i.j){case 1:return Dl(),e.f?i.return(Promise.reject(new me(2,9,9006))):(e.f=!0,S(i,function(e,t,r){return p((function n(){var i,o,a,s,l,u;return M(n,(function(n){switch(n.j){case 1:return i=null,o=e.b,a={networkingEngine:o,filterAllPeriods:function(){},filterNewPeriod:function(){},onTimelineRegionAdded:function(){},onEvent:function(){},onError:function(e){i=e}},S(n,r(),2);case 2:return(s=n.o).configure(e.a.manifest),Ol(e),x(n,3),S(n,s.start(t,a),5);case 5:return l=n.o,Ol(e),u=function(e){for(var t=new Set,r=(e=f(e.periods)).next();!r.done;r=e.next()){for(var n=f((r=r.value).textStreams),i=n.next();!i.done;i=n.next())t.add(i.value);for(r=f(r.variants),n=r.next();!n.done;n=r.next())(n=n.value).audio&&t.add(n.audio),n.video&&t.add(n.video)}return t}(l),S(n,Promise.all(Ye(u,(function(e){return e.createSegmentIndex()}))),6);case 6:if(Ol(e),i)throw i;return n.return(l);case 3:return L(n),S(n,s.stop(),7);case 7:j(n,0)}}))}))}(e,t,n),2));case 2:if(o=i.o,Ol(e),o.presentationTimeline.V()||o.presentationTimeline.Xa())throw new me(2,9,9005,t);return a=null,s=new Ya,u=l=null,k(i,3,4),S(i,function(e,t,r){return p((function n(){var i,o,a;return M(n,(function(n){switch(n.j){case 1:return i=new pt({ub:e.b,onError:r,qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),o=Do(t.periods),a=e.a,i.configure(a.drm),S(n,function(e,t,r){return e.s=[],e.D=r,gt(e,t)}(i,o,a.offline.usePersistentLicense),2);case 2:return S(n,yt(i),3);case 3:return S(n,vt(i),4);case 4:return n.return(i)}}))}))}(e,o,(function(e){u=u||e})),6);case 6:if(a=i.o,Ol(e),u)throw u;return S(i,function(e,t,r){return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return i={width:1/0,height:1/0},function(e,t,r){for(var n=(e=f(e.periods)).next();!n.done;n=e.next())(n=n.value).variants=n.variants.filter((function(e){return Nr.bd(e,t,r)}))}(t,e.a.restrictions,i),function(e){for(var t=(e=f(e.periods)).next();!t.done;t=e.next())(t=t.value).variants=t.variants.filter((function(e){var t=!0;return e.audio&&(t=t&&br(e.audio)),e.video&&(t=t&&br(e.video)),t}))}(t),function(e,t){for(var r=f(e.periods),n=r.next();!n.done;n=r.next())(n=n.value).variants=n.variants.filter((function(e){return Rt(t,e)}))}(t,r),Tl(t),S(n,function(e,t){return p((function r(){var n,i,o,a;return M(r,(function(r){switch(r.j){case 1:n=null,i=f(e.periods),o=i.next();case 2:if(o.done){r.A(0);break}return a=o.value,n&&(a.variants=a.variants.filter((function(e){return kl(n,new Sl(e))}))),S(r,t(a),5);case 5:n=xl(a.variants),o=i.next(),r.A(2)}}))}))}(t,(function(t){return p((function r(){var n,i,o,a,s,l,u,c;return M(r,(function(r){switch(r.j){case 1:n=Nr,i=[];for(var d=f(t.variants),h=d.next();!h.done;h=d.next())o=h.value,i.push(n.Ed(o));for(h=(d=f(t.textStreams)).next();!h.done;h=d.next())a=h.value,i.push(n.xc(a));return S(r,e.a.offline.trackSelectionCallback(i),2);case 2:for(s=r.o,l=new Set,u=new Set,h=(d=f(s)).next();!h.done;h=d.next())"variant"==(c=h.value).type&&l.add(c.id),"text"==c.type&&u.add(c.id);t.variants=t.variants.filter((function(e){return l.has(e.id)})),t.textStreams=t.textStreams.filter((function(e){return u.has(e.id)})),w(r)}}))}))})),2);case 2:(function(e){if(0==e.periods.length)throw new me(2,4,4014);for(var t=(e=f(e.periods)).next();!t.done;t=e.next())Nl(t.value)})(t),w(n)}}))}))}(e,o,a),7);case 7:return S(i,s.init(),8);case 8:return Ol(e),S(i,function(e){var t=null;if(e.a.forEach((function(e,r){e.getCells().forEach((function(e,n){e.hasFixedKeySpace()||t||(t={path:{wa:r,ba:n},ba:e})}))})),t)return t;throw new me(2,9,9013,"Could not find a cell that supports add-operations")}(s),9);case 9:return l=i.o,Ol(e),S(i,function(e,t,r,n,i,o){return p((function a(){var s,l,u,c,d,h,m,g,y,v;return M(a,(function(a){switch(a.j){case 1:return s=function(e,t,r){var n=null==t.expiration?1/0:t.expiration;return{offlineUri:null,originalManifestUri:e,duration:t.presentationTimeline.Y(),size:0,expiration:n,tracks:t=vl(t.periods[0]),appMetadata:r}}(i,n,o),l=n.periods.some((function(e){return e.variants.some((function(e){return e.drmInfos&&e.drmInfos.length}))})),u=n.periods.some((function(e){return e.variants.some((function(e){return e.drmInfos.some((function(e){return e.initData&&e.initData.length}))}))})),d=null,(c=l&&!u)&&(h=r.a,d=Ul.get(h.keySystem)),m=new Ia(e.b,(function(t,r){s.size=r,e.a.offline.progressCallback(s,t)}),(function(t,n){c&&e.a.offline.usePersistentLicense&&d==n&&bt(r,"cenc",t)})),x(a,2),y=g=function(e,t,r,n,i,o,a){var s=new bl,l=i.periods.map((function(n){return function(e,t,r,n,i,o){for(var a=f(o.variants),s=a.next();!s.done;s=a.next())_l(n,s.value);for(a=f(o.textStreams),s=a.next();!s.done;s=a.next())n.a[s.value.id]=52;a=function(e){for(var t=new Set,r=f(e.textStreams),n=r.next();!n.done;n=r.next())t.add(n.value);for(e=f(e.variants),r=e.next();!r.done;r=e.next())(r=r.value).audio&&t.add(r.audio),r.video&&t.add(r.video);return t}(o);var l=new Map;for(a=f(a),s=a.next();!s.done;s=a.next()){s=s.value;var u=Il(e,t,r,n,i,s);l.set(s.id,u)}return o.variants.forEach((function(e){e.audio&&l.get(e.audio.id).variantIds.push(e.id),e.video&&l.get(e.video.id).variantIds.push(e.id)})),{startTime:o.startTime,streams:Array.from(l.values())}}(e,t,r,s,i,n)})),u=n.a,c=e.a.offline.usePersistentLicense;return u&&c&&(u.initData=[]),{originalManifestUri:o,duration:i.presentationTimeline.Y(),size:0,expiration:n.Lb(),periods:l,sessionIds:c?Et(n):[],drmInfo:u,appMetadata:a}}(e,m,t,r,n,i,o),S(a,function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return S(t,Promise.all(e.b.values()),2);case 2:return t.return(e.a.a)}}))}))}(m),4);case 4:if(y.size=a.o,g.expiration=r.Lb(),v=Et(r),g.sessionIds=e.a.offline.usePersistentLicense?v:[],l&&e.a.offline.usePersistentLicense&&!v.length)throw new me(2,9,9007);return a.return(g);case 2:return L(a),S(a,m.destroy(),5);case 5:j(a,0)}}))}))}(e,l.ba,a,o,t,r),10);case 10:if(c=i.o,Ol(e),u)throw u;return S(i,l.ba.addManifests([c]),11);case 11:return d=i.o,Ol(e),h=new rs("manifest",l.path.wa,l.path.ba,d[0]),i.return(yl(h,c));case 4:return L(i),e.f=!1,e.c=[],S(i,s.destroy(),12);case 12:if(!a){i.A(13);break}return S(i,a.destroy(),13);case 13:j(i,0);break;case 3:if(m=R(i),!l){i.A(15);break}return S(i,l.ba.removeSegments(e.c,(function(){})),15);case 15:throw u||m}}))}))}(this,e,t||{},(function(){return p((function t(){var i,o;return M(t,(function(t){switch(t.j){case 1:return r&&"string"!=typeof r?(Kr("Storing with a manifest parser factory","Please register a manifest parser and for the mime-type."),i=r,t.return(new i)):S(t,gi.create(e,n.b,n.a.manifest.retryParameters,r),2);case 2:return o=t.o,t.return(o)}}))}))})))},Cl.prototype.store=Cl.prototype.store,Cl.prototype.kf=function(){return this.f},Cl.prototype.getStoreInProgress=Cl.prototype.kf,Cl.prototype.remove=function(e){return Ml(this,function(e,t){return p((function r(){var n,i,o,a,s,l;return M(r,(function(r){switch(r.j){case 1:return Dl(),null==(n=ns(t))||"manifest"!=n.a?r.return(Promise.reject(new me(2,9,9004,t))):(i=n,o=new Ya,x(r,2),S(r,o.init(),4));case 4:return S(r,za(o,i.wa(),i.ba()),5);case 5:return S(r,(a=r.o).getManifests([i.key()]),6);case 6:return s=r.o,l=s[0],S(r,Promise.all([jl(e,l,o),Pl(e,a,i,l)]),2);case 2:return L(r),S(r,o.destroy(),8);case 8:j(r,0)}}))}))}(this,e))},Cl.prototype.remove=Cl.prototype.remove,Cl.prototype.Xf=function(){return Ml(this,function(e){return p((function t(){var r,n,i,o,a,s,l,u,c;return M(t,(function(t){switch(t.j){case 1:return Dl(),r=e.b,n=e.a.drm,i=new Ya,o=!1,x(t,2),S(t,i.init(),4);case 4:for(a=[],function(e,t){e.a.forEach((function(e){t(e.getEmeSessionCell())}))}(i,(function(e){return a.push(e)})),s=Promise.resolve(),l={},u=f(a),c=u.next();!c.done;l={wc:l.wc},c=u.next())l.wc=c.value,s=s.then(function(e){return function(){return p((function t(){var i,a;return M(t,(function(t){switch(t.j){case 1:return S(t,e.wc.getAll(),2);case 2:return i=t.o,S(t,cs(n,r,i),3);case 3:return a=t.o,S(t,e.wc.remove(a),4);case 4:a.length!=i.length&&(o=!0),w(t)}}))}))}}(l));return S(t,s,2);case 2:return L(t),S(t,i.destroy(),6);case 6:j(t,3);break;case 3:return t.return(!o)}}))}))}(this))},Cl.prototype.removeEmeSessions=Cl.prototype.Xf,Cl.prototype.list=function(){return Ml(this,p((function e(){var t,r,n;return M(e,(function(e){switch(e.j){case 1:return Dl(),t=[],r=new Ya,x(e,2),S(e,r.init(),4);case 4:return n=Promise.resolve(),function(e,t){e.a.forEach((function(e,r){e.getCells().forEach((function(e,n){t({wa:r,ba:n},e)}))}))}(r,(function(e,r){n=n.then((function(){return p((function n(){return M(n,(function(n){switch(n.j){case 1:return S(n,r.getAllManifests(),2);case 2:n.o.forEach((function(r,n){var i=yl(new rs("manifest",e.wa,e.ba,n),r);t.push(i)})),w(n)}}))}))}))})),S(e,n,2);case 2:return L(e),S(e,r.destroy(),6);case 6:j(e,3);break;case 3:return e.return(t)}}))})))},Cl.prototype.list=Cl.prototype.list,Cl.deleteAll=function(){return p((function e(){var t;return M(e,(function(e){switch(e.j){case 1:return t=new Ya,x(e,2),S(e,t.erase(),2);case 2:return L(e),S(e,t.destroy(),5);case 5:j(e,0)}}))}))};var Ul=(new Map).set("org.w3.clearkey","1077efecc0b24d02ace33c1e52e2fb4b").set("com.widevine.alpha","edef8ba979d64acea3c827dcd51d21ed").set("com.microsoft.playready","9a04f07998404286ab92e65be0885f95").set("com.adobe.primetime","f239e769efa348509c16a903c6932efb");js.offline=Rl,G("shaka.polyfill.installAll",(function(){for(var e=0;e<Kl.length;++e)try{Kl[e].De()}catch(e){q("Error installing polyfill!",e)}}));var Fl,Bl,Kl=[];function Gl(e,t){for(var r={priority:t=t||0,De:e},n=0;n<Kl.length;n++)if(Kl[n].priority<t)return void Kl.splice(n,0,r);Kl.push(r)}function Vl(e){var t=e.type.replace(/^(webkit|moz|MS)/,"").toLowerCase();if("function"==typeof Event)var r=new Event(t,e);else(r=document.createEvent("Event")).initEvent(t,e.bubbles,e.cancelable);e.target.dispatchEvent(r)}function Hl(e,t,r){if("input"==e)switch(this.type){case"range":e="change"}HTMLInputElement.prototype.originalAddEventListener.call(this,e,t,r)}function Yl(){var e=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(t){for(var r=[],n=0;n<arguments.length;++n)r[n]=arguments[n];return(r=e.apply(this,r)).abort=function(){},r}}function zl(e,t){try{var r=new Wl(e,t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}function Wl(e,t){if(this.keySystem=e,e.startsWith("com.apple.fps"))for(var r=f(t),n=r.next();!n.done;n=r.next()){var i=n.value;if("required"==i.persistentState)n=null;else{n={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:i.initDataTypes,sessionTypes:["temporary"],label:i.label};var o=!1,a=!1;if(i.audioCapabilities)for(var s=f(i.audioCapabilities),l=s.next();!l.done;l=s.next())if((l=l.value).contentType){o=!0;var u=l.contentType.split(";")[0];WebKitMediaKeys.isTypeSupported(this.keySystem,u)&&(n.audioCapabilities.push(l),a=!0)}if(i.videoCapabilities)for(l=(i=f(i.videoCapabilities)).next();!l.done;l=i.next())(s=l.value).contentType&&(o=!0,l=s.contentType.split(";")[0],WebKitMediaKeys.isTypeSupported(this.keySystem,l)&&(n.videoCapabilities.push(s),a=!0));o||(a=WebKitMediaKeys.isTypeSupported(this.keySystem,"video/mp4")),n=a?n:null}if(n)return void(this.a=n)}throw(r=Error("Unsupported keySystem")).name="NotSupportedError",r.code=DOMException.NOT_SUPPORTED_ERR,r}function $l(e){var t=this.mediaKeys;return t&&t!=e&&Xl(t,null),delete this.mediaKeys,(this.mediaKeys=e)?Xl(e,this):Promise.resolve()}function ql(e){this.b=new WebKitMediaKeys(e),this.a=new Be}function Xl(e,t){if(e.a.$a(),!t)return Promise.resolve();e.a.w(t,"webkitneedkey",Zl);try{return 1<=t.readyState?t.webkitSetMediaKeys(e.b):e.a.da(t,"loadedmetadata",(function(){t.webkitSetMediaKeys(e.b)})),Promise.resolve()}catch(e){return Promise.reject(e)}}function Jl(e){ke.call(this),this.b=null,this.g=e,this.c=this.a=null,this.f=new Be,this.sessionId="",this.expiration=NaN,this.closed=new ge,this.keyStatuses=new eu}function Zl(e){var t=new Event("encrypted");t.initDataType="cenc",t.initData=e.initData,this.dispatchEvent(t)}function Ql(e,t){var r=e.keyStatuses;r.size=null==t?0:1,r.a=t,e.dispatchEvent(new Se("keystatuseschange"))}function eu(){this.size=0,this.a=void 0}function tu(e,t){try{var r=new ru(e,t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}function ru(e,t){this.keySystem=e;for(var r=!1,n=0;n<t.length;++n){var i=t[n],o={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:i.initDataTypes,sessionTypes:["temporary"],label:i.label},a=!1;if(i.audioCapabilities)for(var s=0;s<i.audioCapabilities.length;++s){var l=i.audioCapabilities[s];if(l.contentType){a=!0;var u=l.contentType.split(";")[0];MSMediaKeys.isTypeSupported(this.keySystem,u)&&(o.audioCapabilities.push(l),r=!0)}}if(i.videoCapabilities)for(s=0;s<i.videoCapabilities.length;++s)(l=i.videoCapabilities[s]).contentType&&(a=!0,u=l.contentType.split(";")[0],MSMediaKeys.isTypeSupported(this.keySystem,u)&&(o.videoCapabilities.push(l),r=!0));if(a||(r=MSMediaKeys.isTypeSupported(this.keySystem,"video/mp4")),"required"==i.persistentState&&(r=!1),r)return void(this.a=o)}throw(r=Error("Unsupported keySystem")).name="NotSupportedError",r.code=DOMException.NOT_SUPPORTED_ERR,r}function nu(e){var t=this.mediaKeys;return t&&t!=e&&ou(t,null),delete this.mediaKeys,(this.mediaKeys=e)?ou(e,this):Promise.resolve()}function iu(e){this.a=new MSMediaKeys(e),this.b=new Be}function ou(e,t){if(e.b.$a(),!t)return Promise.resolve();e.b.w(t,"msneedkey",su);var r=e;try{return 1<=t.readyState?t.msSetMediaKeys(e.a):t.addEventListener("loadedmetadata",(function e(){t.msSetMediaKeys(r.a),t.removeEventListener("loadedmetadata",e)})),Promise.resolve()}catch(e){return Promise.reject(e)}}function au(e){ke.call(this),this.c=null,this.g=e,this.b=this.a=null,this.f=new Be,this.sessionId="",this.expiration=NaN,this.closed=new ge,this.keyStatuses=new uu}function su(e){if(e.initData){var t=document.createEvent("CustomEvent");t.initCustomEvent("encrypted",!1,!1,null),t.initDataType="cenc",t.initData=function(e){if(!e)return e;var t=new Fn(e);if(1>=t.data.length)return e;e=[];for(var r={},n=(t=f(t.data)).next();!n.done;r={lc:r.lc},n=t.next())r.lc=n.value,e.some(function(e){return function(t){return ht.za(t,e.lc)}}(r))||e.push(r.lc);return ht.concat.apply(ht,e instanceof Array?e:function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(f(e)))}(e.initData),this.dispatchEvent(t)}}function lu(e,t){var r=e.keyStatuses;r.size=null==t?0:1,r.a=t,e.dispatchEvent(new Se("keystatuseschange"))}function uu(){this.size=0,this.a=void 0}function cu(){return Promise.reject(Error("The key system specified is not supported."))}function du(e){return null==e?Promise.resolve():Promise.reject(Error("MediaKeys not supported."))}function fu(){throw new TypeError("Illegal constructor.")}function hu(){throw new TypeError("Illegal constructor.")}G("shaka.polyfill.register",Gl),Gl((function(){Sc()}),-1),Gl((function(){if(e.Document){var t=Element.prototype;t.requestFullscreen=t.requestFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen||t.webkitRequestFullscreen,(t=Document.prototype).exitFullscreen=t.exitFullscreen||t.mozCancelFullScreen||t.msExitFullscreen||t.webkitExitFullscreen,"fullscreenElement"in document||(Object.defineProperty(document,"fullscreenElement",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement}}),Object.defineProperty(document,"fullscreenEnabled",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}})),document.addEventListener("webkitfullscreenchange",Vl),document.addEventListener("webkitfullscreenerror",Vl),document.addEventListener("mozfullscreenchange",Vl),document.addEventListener("mozfullscreenerror",Vl),document.addEventListener("MSFullscreenChange",Vl),document.addEventListener("MSFullscreenError",Vl)}})),Gl((function(){var t=!1;if(rt("CrKey"))t=!0;else try{e.indexedDB&&(t=!1)}catch(e){t=!0}t&&delete e.indexedDB})),Gl((function(){rt("Trident/")&&!HTMLInputElement.prototype.originalAddEventListener&&(HTMLInputElement.prototype.originalAddEventListener=HTMLInputElement.prototype.addEventListener,HTMLInputElement.prototype.addEventListener=Hl)})),Gl((function(){navigator.languages||Object.defineProperty(navigator,"languages",{get:function(){return navigator.language?[navigator.language]:["en"]}})})),Gl((function(){})),Gl((function(){var t=tt();e.MediaSource&&(e.cast&&cast.__platform__&&cast.__platform__.canDisplayType?function(){var e=MediaSource.isTypeSupported,t=/^dv(?:h[e1]|a[v1])\./;MediaSource.isTypeSupported=function(r){for(var n=r.split(/ *; */),i=n[0],o={},a=1;a<n.length;++a){var s=n[a].split("="),l=s[0];s=s[1].replace(/"(.*)"/,"$1"),o[l]=s}if(!(n=o.codecs))return e(r);var u=!1,c=!1;for(var d in r=n.split(",").filter((function(e){return t.test(e)&&(c=!0),/^(hev|hvc)1\.2/.test(e)&&(u=!0),!0})),c&&(u=!1),o.codecs=r.join(","),u&&(o.eotf="smpte2084"),o)i+="; "+d+'="'+o[d]+'"';return cast.__platform__.canDisplayType(i)}}():t?(function(){var e=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(t){return"mp2t"!=t.split(/ *; */)[0].split("/")[1].toLowerCase()&&e(t)}}(),12>=t?(Yl(),function(){var e=SourceBuffer.prototype.remove;SourceBuffer.prototype.remove=function(t,r){return e.call(this,t,r-.001)}}()):Yl()):rt("Tizen")&&function(){var e=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(t){return"opus"!=Xe(t)[0]&&e(t)}}())})),Wl.prototype.createMediaKeys=function(){var e=new ql(this.keySystem);return Promise.resolve(e)},Wl.prototype.getConfiguration=function(){return this.a},ql.prototype.createSession=function(e){if("temporary"!=(e=e||"temporary"))throw new TypeError("Session type "+e+" is unsupported on this platform.");return new Jl(this.b,e)},ql.prototype.setServerCertificate=function(e){return e&&new Uint8Array(e),Promise.resolve(!0)},V(Jl,ke),(n=Jl.prototype).generateRequest=function(e,t){this.a=new ge;try{this.b=this.g.createSession("video/mp4",new Uint8Array(t)),this.sessionId=this.b.sessionId||"",this.f.w(this.b,"webkitkeymessage",this.og.bind(this)),this.f.w(this.b,"webkitkeyadded",this.mg.bind(this)),this.f.w(this.b,"webkitkeyerror",this.ng.bind(this)),Ql(this,"status-pending")}catch(e){this.a.reject(e)}return this.a},n.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))},n.update=function(e){this.c=new ge;try{this.b.update(new Uint8Array(e))}catch(e){this.c.reject(e)}return this.c},n.close=function(){try{this.b.close(),this.closed.resolve(),this.f.$a()}catch(e){this.closed.reject(e)}return this.closed},n.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))},n.og=function(e){this.a&&(this.a.resolve(),this.a=null),this.dispatchEvent(new Se("message",{messageType:null==this.keyStatuses.a?"license-request":"license-renewal",message:e.message.buffer}))},n.mg=function(){this.c&&(Ql(this,"usable"),this.c.resolve(),this.c=null)},n.ng=function(){var e=Error("EME PatchedMediaKeysApple key error");if(e.errorCode=this.b.error,null!=this.a)this.a.reject(e),this.a=null;else if(null!=this.c)this.c.reject(e),this.c=null;else switch(this.b.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:Ql(this,"output-not-allowed");break;default:Ql(this,"internal-error")}},(n=eu.prototype).forEach=function(e){this.a&&e(this.a,Fl)},n.get=function(e){if(this.has(e))return this.a},n.has=function(e){var t=Fl;return!(!this.a||!ht.za(new Uint8Array(e),new Uint8Array(t)))},n.entries=function(){},n.keys=function(){},n.values=function(){},Gl((function(){e.HTMLVideoElement&&e.WebKitMediaKeys&&(Fl=new Uint8Array([0]).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=$l,e.MediaKeys=ql,e.MediaKeySystemAccess=Wl,navigator.requestMediaKeySystemAccess=zl)})),ru.prototype.createMediaKeys=function(){var e=new iu(this.keySystem);return Promise.resolve(e)},ru.prototype.getConfiguration=function(){return this.a},iu.prototype.createSession=function(e){if("temporary"!=(e=e||"temporary"))throw new TypeError("Session type "+e+" is unsupported on this platform.");return new au(this.a,e)},iu.prototype.setServerCertificate=function(){return Promise.resolve(!1)},V(au,ke),(n=au.prototype).generateRequest=function(e,t){this.a=new ge;try{this.c=this.g.createSession("video/mp4",new Uint8Array(t),null),this.f.w(this.c,"mskeymessage",this.If.bind(this)),this.f.w(this.c,"mskeyadded",this.Gf.bind(this)),this.f.w(this.c,"mskeyerror",this.Hf.bind(this)),lu(this,"status-pending")}catch(e){this.a.reject(e)}return this.a},n.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))},n.update=function(e){this.b=new ge;try{this.c.update(new Uint8Array(e))}catch(e){this.b.reject(e)}return this.b},n.close=function(){try{this.c.close(),this.closed.resolve(),this.f.$a()}catch(e){this.closed.reject(e)}return this.closed},n.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))},n.If=function(e){this.a&&(this.a.resolve(),this.a=null),this.dispatchEvent(new Se("message",{messageType:null==this.keyStatuses.a?"license-request":"license-renewal",message:e.message.buffer}))},n.Gf=function(){this.a?(lu(this,"usable"),this.a.resolve(),this.a=null):this.b&&(lu(this,"usable"),this.b.resolve(),this.b=null)},n.Hf=function(){var e=Error("EME PatchedMediaKeysMs key error");if(e.errorCode=this.c.error,null!=this.a)this.a.reject(e),this.a=null;else if(null!=this.b)this.b.reject(e),this.b=null;else switch(this.c.error.code){case MSMediaKeyError.MS_MEDIA_KEYERR_OUTPUT:case MSMediaKeyError.MS_MEDIA_KEYERR_HARDWARECHANGE:lu(this,"output-not-allowed");break;default:lu(this,"internal-error")}},(n=uu.prototype).forEach=function(e){this.a&&e(this.a,Bl)},n.get=function(e){if(this.has(e))return this.a},n.has=function(e){var t=Bl;return!(!this.a||!ht.za(new Uint8Array(e),new Uint8Array(t)))},n.entries=function(){},n.keys=function(){},n.values=function(){},Gl((function(){!e.HTMLVideoElement||!e.MSMediaKeys||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(Bl=new Uint8Array([0]).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=nu,e.MediaKeys=iu,e.MediaKeySystemAccess=ru,navigator.requestMediaKeySystemAccess=tu)})),fu.prototype.createSession=function(){},fu.prototype.setServerCertificate=function(){},hu.prototype.getConfiguration=function(){},hu.prototype.createMediaKeys=function(){},Gl((function(){!e.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(navigator.requestMediaKeySystemAccess=cu,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=du,e.MediaKeys=fu,e.MediaKeySystemAccess=hu)}),-10);var pu,mu="";function gu(e){return mu?mu+e.charAt(0).toUpperCase()+e.slice(1):e}function yu(e,t){try{var r=new bu(e,t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}function vu(e){var t=this.mediaKeys;return t&&t!=e&&Au(t,null),delete this.mediaKeys,(this.mediaKeys=e)&&Au(e,this),Promise.resolve()}function bu(e,t){this.a=this.keySystem=e;var r=!1;"org.w3.clearkey"==e&&(this.a="webkit-org.w3.clearkey",r=!1);var n=!1,i=document.getElementsByTagName("video");i=i.length?i[0]:document.createElement("video");for(var o=0;o<t.length;++o){var a=t[o],s={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:a.initDataTypes,sessionTypes:["temporary"],label:a.label},l=!1;if(a.audioCapabilities)for(var u=0;u<a.audioCapabilities.length;++u){var c=a.audioCapabilities[u];if(c.contentType){l=!0;var d=c.contentType.split(";")[0];i.canPlayType(d,this.a)&&(s.audioCapabilities.push(c),n=!0)}}if(a.videoCapabilities)for(u=0;u<a.videoCapabilities.length;++u)(c=a.videoCapabilities[u]).contentType&&(l=!0,i.canPlayType(c.contentType,this.a)&&(s.videoCapabilities.push(c),n=!0));if(l||(n=i.canPlayType("video/mp4",this.a)||i.canPlayType("video/webm",this.a)),"required"==a.persistentState&&(r?(s.persistentState="required",s.sessionTypes=["persistent-license"]):n=!1),n)return void(this.b=s)}throw r="Unsupported keySystem","org.w3.clearkey"!=e&&"com.widevine.alpha"!=e||(r="None of the requested configurations were supported."),(r=Error(r)).name="NotSupportedError",r.code=DOMException.NOT_SUPPORTED_ERR,r}function _u(e){this.g=e,this.b=null,this.a=new Be,this.c=[],this.f={}}function Au(e,t){e.b=t,e.a.$a();var r=mu;t&&(e.a.w(t,r+"needkey",e.Mf.bind(e)),e.a.w(t,r+"keymessage",e.rg.bind(e)),e.a.w(t,r+"keyadded",e.pg.bind(e)),e.a.w(t,r+"keyerror",e.qg.bind(e)))}function Eu(e,t){var r=e.f[t];return r||((r=e.c.shift())?(r.sessionId=t,e.f[t]=r):null)}function Tu(e,t,r){ke.call(this),this.f=e,this.h=!1,this.a=this.b=null,this.c=t,this.g=r,this.sessionId="",this.expiration=NaN,this.closed=new ge,this.keyStatuses=new ku}function Su(e,t,r){if(e.h)return Promise.reject(Error("The session is already initialized."));e.h=!0;try{if("persistent-license"==e.g)if(r)var n=new Uint8Array(ut("LOAD_SESSION|"+r));else{var i=ut("PERSISTENT|"),o=new Uint8Array(i.byteLength+t.byteLength);o.set(new Uint8Array(i),0),o.set(new Uint8Array(t),i.byteLength),n=o}else n=new Uint8Array(t)}catch(e){return Promise.reject(e)}e.b=new ge;var a=gu("generateKeyRequest");try{e.f[a](e.c,n)}catch(t){if("InvalidStateError"!=t.name)return e.b=null,Promise.reject(t);new fe((function(){try{e.f[a](e.c,n)}catch(t){e.b.reject(t),e.b=null}})).R(.01)}return e.b}function wu(e,t){var r=e.keyStatuses;r.size=null==t?0:1,r.a=t,e.dispatchEvent(new Se("keystatuseschange"))}function ku(){this.size=0,this.a=void 0}function xu(e){if("picture-in-picture"==(e=e.target).webkitPresentationMode){document.pictureInPictureElement=e;var t=new Event("enterpictureinpicture");e.dispatchEvent(t)}else document.pictureInPictureElement==e&&(document.pictureInPictureElement=null),t=new Event("leavepictureinpicture"),e.dispatchEvent(t)}function Cu(){return this.webkitSupportsPresentationMode("picture-in-picture")?(this.webkitSetPresentationMode("picture-in-picture"),document.pictureInPictureElement=this,Promise.resolve()):Promise.reject(Error("PiP not allowed by video element"))}function Ru(){var e=document.pictureInPictureElement;return e?(e.webkitSetPresentationMode("inline"),document.pictureInPictureElement=null,Promise.resolve()):Promise.reject(Error("No picture in picture element found"))}function Lu(){return!!this.hasAttribute("disablePictureInPicture")||!this.webkitSupportsPresentationMode("picture-in-picture")}function ju(e){e?this.setAttribute("disablePictureInPicture",""):this.removeAttribute("disablePictureInPicture")}function Pu(){return{droppedVideoFrames:this.webkitDroppedFrameCount,totalVideoFrames:this.webkitDecodedFrameCount,corruptedVideoFrames:0,creationTime:NaN,totalFrameDelay:0}}function Iu(t,r,n){return new e.TextTrackCue(t,r,n)}function Ou(t,r,n){return new e.TextTrackCue(t+"-"+r+"-"+n,t,r,n)}function Du(){}bu.prototype.createMediaKeys=function(){var e=new _u(this.a);return Promise.resolve(e)},bu.prototype.getConfiguration=function(){return this.b},(n=_u.prototype).createSession=function(e){if("temporary"!=(e=e||"temporary")&&"persistent-license"!=e)throw new TypeError("Session type "+e+" is unsupported on this platform.");var t=this.b||document.createElement("video");return t.src||(t.src="about:blank"),e=new Tu(t,this.g,e),this.c.push(e),e},n.setServerCertificate=function(){return Promise.resolve(!1)},n.Mf=function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("encrypted",!1,!1,null),t.initDataType="webm",t.initData=e.initData,this.b.dispatchEvent(t)},n.rg=function(e){var t=Eu(this,e.sessionId);t&&(e=new Se("message",{messageType:null==t.keyStatuses.a?"licenserequest":"licenserenewal",message:e.message}),t.b&&(t.b.resolve(),t.b=null),t.dispatchEvent(e))},n.pg=function(e){(e=Eu(this,e.sessionId))&&(wu(e,"usable"),e.a&&e.a.resolve(),e.a=null)},n.qg=function(e){var t=Eu(this,e.sessionId);t&&t.handleError(e)},V(Tu,ke),(n=Tu.prototype).handleError=function(e){var t=Error("EME v0.1b key error");t.errorCode=e.errorCode,t.errorCode.systemCode=e.systemCode,!e.sessionId&&this.b?(t.method="generateRequest",45==e.systemCode&&(t.message="Unsupported session type."),this.b.reject(t),this.b=null):e.sessionId&&this.a?(t.method="update",this.a.reject(t),this.a=null):(t=e.systemCode,e.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?wu(this,"output-restricted"):wu(this,1==t?"expired":"internal-error"))},n.yd=function(e,t){if(this.a)this.a.then(this.yd.bind(this,e,t)).catch(this.yd.bind(this,e,t));else{if(this.a=e,"webkit-org.w3.clearkey"==this.c){var r=at(t),n=JSON.parse(r);"oct"!=n.keys[0].kty&&(this.a.reject(Error("Response is not a valid JSON Web Key Set.")),this.a=null),r=ht.Ba(n.keys[0].k),n=ht.Ba(n.keys[0].kid)}else r=new Uint8Array(t),n=null;var i=gu("addKey");try{this.f[i](this.c,r,n,this.sessionId)}catch(e){this.a.reject(e),this.a=null}}},n.generateRequest=function(e,t){return Su(this,t,null)},n.load=function(e){return"persistent-license"==this.g?Su(this,null,e):Promise.reject(Error("Not a persistent session."))},n.update=function(e){var t=new ge;return this.yd(t,e),t},n.close=function(){if("persistent-license"!=this.g){if(!this.sessionId)return this.closed.reject(Error("The session is not callable.")),this.closed;var e=gu("cancelKeyRequest");try{this.f[e](this.c,this.sessionId)}catch(e){}}return this.closed.resolve(),this.closed},n.remove=function(){return"persistent-license"!=this.g?Promise.reject(Error("Not a persistent session.")):this.close()},(n=ku.prototype).forEach=function(e){this.a&&e(this.a,pu)},n.get=function(e){if(this.has(e))return this.a},n.has=function(e){var t=pu;return!(!this.a||!ht.za(new Uint8Array(e),new Uint8Array(t)))},n.entries=function(){},n.keys=function(){},n.values=function(){},Gl((function(){if(!(!e.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration)){if(HTMLMediaElement.prototype.webkitGenerateKeyRequest)mu="webkit";else if(!HTMLMediaElement.prototype.generateKeyRequest)return;pu=new Uint8Array([0]).buffer,navigator.requestMediaKeySystemAccess=yu,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=vu,e.MediaKeys=_u,e.MediaKeySystemAccess=bu}})),Gl((function(){if(e.HTMLVideoElement){var t=HTMLVideoElement.prototype;t.requestPictureInPicture&&document.exitPictureInPicture||!t.webkitSupportsPresentationMode||(document.pictureInPictureEnabled=!0,document.pictureInPictureElement=null,t.requestPictureInPicture=Cu,Object.defineProperty(t,"disablePictureInPicture",{get:Lu,set:ju,enumerable:!0,configurable:!0}),document.exitPictureInPicture=Ru,document.addEventListener("webkitpresentationmodechanged",xu,!0))}})),Gl((function(){if(e.HTMLMediaElement){var t=HTMLMediaElement.prototype.play;HTMLMediaElement.prototype.play=function(){var e=t.apply(this);return e&&e.catch((function(){})),e}}})),Gl((function(){if(e.HTMLVideoElement){var t=HTMLVideoElement.prototype;!t.getVideoPlaybackQuality&&"webkitDroppedFrameCount"in t&&(t.getVideoPlaybackQuality=Pu)}})),Gl((function(){if(!e.VTTCue&&e.TextTrackCue){var t=TextTrackCue.length;if(3==t)e.VTTCue=Iu;else if(6==t)e.VTTCue=Ou;else{try{var r=!!Iu(1,2,"")}catch(e){r=!1}r&&(e.VTTCue=Iu)}}})),G("shaka.text.TtmlTextParser",Du),Du.prototype.parseInit=function(){},Du.prototype.parseInit=Du.prototype.parseInit,Du.prototype.parseMedia=function(e,t){var r=at(e),n=[],i=new DOMParser,o=null;if(""==r)return n;try{o=i.parseFromString(r,"text/xml")}catch(e){throw new me(2,2,2005,"Failed to parse TTML.")}if(o){if(r=o.getElementsByTagName("parsererror")[0])throw new me(2,2,2005,r.textContent);if(!(i=o.getElementsByTagName("tt")[0]))throw new me(2,2,2005,"TTML does not contain <tt> tag.");var a=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","frameRate"),s=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","subFrameRate"),l=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","frameRateMultiplier"),u=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","tickRate");if(o=i.getAttribute("xml:space")||"default",r=i.getAttribute("tts:extent"),"default"!=o&&"preserve"!=o)throw new me(2,2,2005,"Invalid xml:space value: "+o);o="default"==o,a=new ic(a,s,l,u),s=qu(i.getElementsByTagName("metadata")[0]),l=qu(i.getElementsByTagName("styling")[0]),u=qu(i.getElementsByTagName("layout")[0]);for(var c=[],d=0;d<u.length;d++){var h,p,m=u[d],g=l,y=r,v=new ur,b=m.getAttribute("xml:id");b?(v.id=b,b=null,y&&(b=Uu.exec(y)||Bu.exec(y)),y=b?Number(b[1]):null,b=b?Number(b[2]):null,(h=Qu(m,g,"extent"))&&null!=(h=(p=Uu.exec(h))||Bu.exec(h))&&(v.width=null!=y?100*Number(h[1])/y:Number(h[1]),v.height=null!=b?100*Number(h[2])/b:Number(h[2]),v.widthUnits=p||null!=y?cr:0,v.heightUnits=p||null!=b?cr:0),(m=Qu(m,g,"origin"))&&null!=(h=(p=Uu.exec(m))||Bu.exec(m))&&(v.viewportAnchorX=null!=b?100*Number(h[1])/b:Number(h[1]),v.viewportAnchorY=null!=y?100*Number(h[2])/y:Number(h[2]),v.viewportAnchorUnits=p||null!=y?cr:0)):v=null,v&&c.push(v)}for(r=(r=i.getElementsByTagName("body")[0])?Array.from(r.querySelectorAll("[begin]")):[],i=(r=f(r)).next();!i.done;i=r.next())(i=Xu(i.value,t.periodStart,a,s,l,u,c,o,!1))&&n.push(i)}return n},Du.prototype.parseMedia=Du.prototype.parseMedia;var Mu,Nu,Uu=/^(\d{1,2}(?:\.\d+)?|100)% (\d{1,2}(?:\.\d+)?|100)%$/,Fu=/^(\d+px|\d+em)$/,Bu=/^(\d+)px (\d+)px$/,Ku=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Gu=/^(?:(\d{2,}):)?(\d{2}):(\d{2})$/,Vu=/^(?:(\d{2,}):)?(\d{2}):(\d{2}\.\d{2,})$/,Hu=/^(\d*(?:\.\d*)?)f$/,Yu=/^(\d*(?:\.\d*)?)t$/,zu=/^(?:(\d*(?:\.\d*)?)h)?(?:(\d*(?:\.\d*)?)m)?(?:(\d*(?:\.\d*)?)s)?(?:(\d*(?:\.\d*)?)ms)?$/,Wu={left:ir,center:"center",right:"end",start:ir,end:"end"},$u={left:"line-left",center:"center",right:"line-right"};function qu(e){var t=[];if(!e)return t;for(var r=f(e.childNodes),n=r.next();!n.done;n=r.next())(n=n.value).nodeType==Node.ELEMENT_NODE&&"br"!==n.nodeName&&(n=qu(n),t=t.concat(n));return t.length||t.push(e),t}function Xu(e,t,r,n,i,o,a,s,l){if(l&&"br"==e.nodeName)return(e=new qt(0,0,"")).spacer=!0,e;var u=/^[\s\n]*$/.test(e.textContent),c=e.nodeType==Node.ELEMENT_NODE&&!e.hasAttribute("begin")&&!e.hasAttribute("end");if(e.nodeType!=Node.ELEMENT_NODE||c&&u||c&&!l)return null;u=rc(e.getAttribute("begin"),r),c=rc(e.getAttribute("end"),r);var d=rc(e.getAttribute("dur"),r);if(null==c&&null!=d&&(c=u+d),!l&&(null==u||null==c))throw new me(2,2,2001);if(u+=t,c+=t,d="",l=[],Array.from(e.childNodes).find((function(e){return e.nodeType===Node.TEXT_NODE&&/\w+/.test(e.textContent)})))d=function e(t,r){for(var n="",i=f(t.childNodes),o=i.next();!o.done;o=i.next())"br"==(o=o.value).nodeName&&t.childNodes[0]!==o?n+="\n":o.childNodes&&0<o.childNodes.length?n+=e(o,r):n+=r?o=(o=o.textContent.trim()).replace(/\s+/g," "):o.textContent;return n}(e,s);else for(var h=f(e.childNodes),p=h.next();!p.done;p=h.next())(p=Xu(p.value,t,r,n,i,o,a,s,!0))&&l.push(p);if((t=new qt(u,c,d)).nestedCues=l,(o=tc(e,"region",o,"")[0])&&o.getAttribute("xml:id")){var m=o.getAttribute("xml:id");t.region=a.filter((function(e){return e.id==m}))[0]}return function(e,t,r,n,i){"rtl"==Zu(t,r,i,"direction")&&(e.direction="rtl");var o=Zu(t,r,i,"writingMode");if("tb"==o||"tblr"==o?e.writingMode="vertical-lr":"tbrl"==o?e.writingMode="vertical-rl":"rltb"==o||"rl"==o?e.direction="rtl":o&&(e.direction=tr),(o=Zu(t,r,i,"textAlign"))?(e.positionAlign=$u[o],e.lineAlign=Wu[o],e.textAlign=Zt[o.toUpperCase()]):e.textAlign="start",(o=Zu(t,r,i,"displayAlign"))&&(e.displayAlign=er[o.toUpperCase()]),(o=Zu(t,r,i,"color"))&&(e.color=o),(o=Zu(t,r,i,"backgroundColor"))&&(e.backgroundColor=o),(o=Zu(t,r,i,"fontFamily"))&&(e.fontFamily=o),(o=Zu(t,r,i,"fontWeight"))&&"bold"==o&&(e.fontWeight=700),(o=Zu(t,r,i,"wrapOption"))&&"noWrap"==o&&(e.wrapLine=!1),(o=Zu(t,r,i,"lineHeight"))&&o.match(Fu)&&(e.lineHeight=o),(o=Zu(t,r,i,"fontSize"))&&o.match(Fu)&&(e.fontSize=o),(o=Zu(t,r,i,"fontStyle"))&&(e.fontStyle=lr[o.toUpperCase()]),n){o=n.getAttribute("imagetype");var a=n.getAttribute("encoding");n=n.textContent.trim(),"PNG"==o&&"Base64"==a&&n&&(e.backgroundImage="data:image/png;base64,"+n)}(r=Qu(r,i,"textDecoration"))&&Ju(e,r),(t=ec(t,i,"textDecoration"))&&Ju(e,t)}(t,e,o,n=tc(e,"smpte:backgroundImage",n,"#")[0],i),t}function Ju(e,t){for(var r=t.split(" "),n=0;n<r.length;n++)switch(r[n]){case"underline":e.textDecoration.includes("underline")||e.textDecoration.push("underline");break;case"noUnderline":e.textDecoration.includes("underline")&&Re(e.textDecoration,"underline");break;case"lineThrough":e.textDecoration.includes("lineThrough")||e.textDecoration.push("lineThrough");break;case"noLineThrough":e.textDecoration.includes("lineThrough")&&Re(e.textDecoration,"lineThrough");break;case"overline":e.textDecoration.includes("overline")||e.textDecoration.push("overline");break;case"noOverline":e.textDecoration.includes("overline")&&Re(e.textDecoration,"overline")}}function Zu(e,t,r,n){return(e=ec(e,r,n))?e:Qu(t,r,n)}function Qu(e,t,r){for(var n=qu(e),i=0;i<n.length;i++){var o=Bn.getAttributeNS(n[i],"http://www.w3.org/ns/ttml#styling",r);if(o)return o}return(e=tc(e,"style",t,"")[0])?Bn.getAttributeNS(e,"http://www.w3.org/ns/ttml#styling",r):null}function ec(e,t,r){var n=Bn.getAttributeNS(e,"http://www.w3.org/ns/ttml#styling",r);if(n)return n;for(e=tc(e,"style",t,""),t=null,n=0;n<e.length;n++){var i=Bn.getAttributeNS(e[n],"http://www.w3.org/ns/ttml#styling",r);i&&(t=i)}return t}function tc(e,t,r,n){var i=[];if(!e||1>r.length)return i;var o=e;for(e=null;o&&!(e=o.getAttribute(t))&&(o=o.parentNode)instanceof Element;);if(t=e)for(e=(t=f(t=t.split(" "))).next();!e.done;e=t.next()){e=e.value;for(var a=(o=f(r)).next();!a.done;a=o.next())if(n+(a=a.value).getAttribute("xml:id")==e){i.push(a);break}}return i}function rc(e,t){var r=null;if(Ku.test(e)){r=Ku.exec(e);var n=Number(r[1]),i=Number(r[2]),o=Number(r[3]),a=Number(r[4]);r=(o+=(a+=(Number(r[5])||0)/t.b)/t.frameRate)+60*i+3600*n}else Gu.test(e)?r=nc(Gu,e):Vu.test(e)?r=nc(Vu,e):Hu.test(e)?(r=Hu.exec(e),r=Number(r[1])/t.frameRate):Yu.test(e)?(r=Yu.exec(e),r=Number(r[1])/t.a):zu.test(e)&&(r=nc(zu,e));return r}function nc(e,t){var r=e.exec(t);return null==r||""==r[0]?null:(Number(r[4])||0)/1e3+(Number(r[3])||0)+60*(Number(r[2])||0)+3600*(Number(r[1])||0)}function ic(e,t,r,n){this.frameRate=Number(e)||30,this.b=Number(t)||1,this.a=Number(n),0==this.a&&(this.a=e?this.frameRate*this.b:1),r&&(e=/^(\d+) (\d+)$/g.exec(r))&&(this.frameRate*=Number(e[1])/Number(e[2]))}function oc(){this.a=new Du}function ac(){}function sc(e,t,r){var n;(n=/^align:(start|middle|center|end|left|right)$/.exec(t))?(t=n[1],e.textAlign="middle"==t?Jt:Zt[t.toUpperCase()]):(n=/^vertical:(lr|rl)$/.exec(t))?e.writingMode="lr"==n[1]?"vertical-lr":"vertical-rl":(n=/^size:([\d.]+)%$/.exec(t))?e.size=Number(n[1]):(n=/^position:([\d.]+)%(?:,(line-left|line-right|center|start|end))?$/.exec(t))?(e.position=Number(n[1]),n[2]&&(t=n[2],e.positionAlign="line-left"==t||"start"==t?"line-left":"line-right"==t||"end"==t?"line-right":"center")):(n=/^region:(.*)$/.exec(t))?(t=function(e,t){var r=e.filter((function(e){return e.id==t}));return r.length?r[0]:null}(r,n[1]))&&(e.region=t):(r=/^line:([\d.]+)%(?:,(start|end|center))?$/.exec(t))?(e.lineInterpretation=1,e.line=Number(r[1]),r[2]&&(e.lineAlign=or[r[2].toUpperCase()])):(r=/^line:(-?\d+)(?:,(start|end|center))?$/.exec(t))&&(e.lineInterpretation=nr,e.line=Number(r[1]),r[2]&&(e.lineAlign=or[r[2].toUpperCase()]))}function lc(e){if(null==(e=Mi(e,/(?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3})/g)))return null;var t=Number(e[2]),r=Number(e[3]);return 59<t||59<r?null:Number(e[4])/1e3+r+60*t+3600*(Number(e[1])||0)}function uc(){this.a=null}function cc(e,t,r){var n,i,o;return(new In).H("payl",Mn((function(e){n=at(e)}))).H("iden",Mn((function(e){i=at(e)}))).H("sttg",Mn((function(e){o=at(e)}))).parse(e),n?function(e,t,r,n,i){if(e=new qt(n,i,e),t&&(e.id=t),r)for(t=new Oi(r),r=Ni(t);r;)sc(e,r,[]),Di(t),r=Ni(t);return e}(n,i,o,t,r):null}
+/*! no static exports found */function(e,t,r){(function(e,r){!function(){var n="undefined"!=typeof window?window:e,i={};for(var o in function(e,t){var n,i="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){e!=Array.prototype&&e!=Object.prototype&&(e[t]=r.value)},o=void 0!==e&&e===this?this:void 0!==t&&null!=t?t:this;function a(){a=function(){},o.Symbol||(o.Symbol=l)}var s,l=(s=0,function(e){return"jscomp_symbol_"+(e||"")+s++});function u(){a();var e=o.Symbol.iterator;e||(e=o.Symbol.iterator=o.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&i(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return c(this)}}),u=function(){}}function c(e){var t=0;return d((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))}function d(e){return u(),(e={next:e})[o.Symbol.iterator]=function(){return this},e}function f(e){u();var t=e[Symbol.iterator];return t?t.call(e):c(e)}function h(e,t){if(t){for(var r=o,n=e.split("."),a=0;a<n.length-1;a++){var s=n[a];s in r||(r[s]={}),r=r[s]}(s=t(a=r[n=n[n.length-1]]))!=a&&null!=s&&i(r,n,{configurable:!0,writable:!0,value:s})}}function p(e){return function(e){function t(t){return e.next(t)}function r(t){return e.throw(t)}return new Promise((function(n,i){!function e(o){o.done?n(o.value):Promise.resolve(o.value).then(t,r).then(e,i)}(e.next())}))}(e())}h("Promise",(function(e){function t(e){this.b=0,this.g=void 0,this.a=[];var t=this.c();try{e(t.resolve,t.reject)}catch(e){t.reject(e)}}function r(){this.a=null}function n(e){return e instanceof t?e:new t((function(t){t(e)}))}if(e)return e;r.prototype.b=function(e){null==this.a&&(this.a=[],this.f()),this.a.push(e)},r.prototype.f=function(){var e=this;this.c((function(){e.h()}))};var i=o.setTimeout;r.prototype.c=function(e){i(e,0)},r.prototype.h=function(){for(;this.a&&this.a.length;){var e=this.a;this.a=[];for(var t=0;t<e.length;++t){var r=e[t];e[t]=null;try{r()}catch(e){this.g(e)}}}this.a=null},r.prototype.g=function(e){this.c((function(){throw e}))},t.prototype.c=function(){function e(e){return function(n){r||(r=!0,e.call(t,n))}}var t=this,r=!1;return{resolve:e(this.s),reject:e(this.f)}},t.prototype.s=function(e){if(e===this)this.f(new TypeError("A Promise cannot resolve to itself"));else if(e instanceof t)this.u(e);else{e:switch(typeof e){case"object":var r=null!=e;break e;case"function":r=!0;break e;default:r=!1}r?this.m(e):this.h(e)}},t.prototype.m=function(e){var t=void 0;try{t=e.then}catch(e){return void this.f(e)}"function"==typeof t?this.B(t,e):this.h(e)},t.prototype.f=function(e){this.i(2,e)},t.prototype.h=function(e){this.i(1,e)},t.prototype.i=function(e,t){if(0!=this.b)throw Error("Cannot settle("+e+", "+t+"): Promise already settled in state"+this.b);this.b=e,this.g=t,this.l()},t.prototype.l=function(){if(null!=this.a){for(var e=0;e<this.a.length;++e)a.b(this.a[e]);this.a=null}};var a=new r;return t.prototype.u=function(e){var t=this.c();e.cc(t.resolve,t.reject)},t.prototype.B=function(e,t){var r=this.c();try{e.call(t,r.resolve,r.reject)}catch(e){r.reject(e)}},t.prototype.then=function(e,r){function n(e,t){return"function"==typeof e?function(t){try{i(e(t))}catch(e){o(e)}}:t}var i,o,a=new t((function(e,t){i=e,o=t}));return this.cc(n(e,i),n(r,o)),a},t.prototype.catch=function(e){return this.then(void 0,e)},t.prototype.cc=function(e,t){function r(){switch(n.b){case 1:e(n.g);break;case 2:t(n.g);break;default:throw Error("Unexpected state: "+n.b)}}var n=this;null==this.a?a.b(r):this.a.push(r)},t.resolve=n,t.reject=function(e){return new t((function(t,r){r(e)}))},t.race=function(e){return new t((function(t,r){for(var i=f(e),o=i.next();!o.done;o=i.next())n(o.value).cc(t,r)}))},t.all=function(e){var r=f(e),i=r.next();return i.done?n([]):new t((function(e,t){function o(t){return function(r){a[t]=r,0==--s&&e(a)}}var a=[],s=0;do{a.push(void 0),s++,n(i.value).cc(o(a.length-1),t),i=r.next()}while(!i.done)}))},t})),h("Promise.prototype.finally",(function(e){return e||function(e){return this.then((function(t){return Promise.resolve(e()).then((function(){return t}))}),(function(t){return Promise.resolve(e()).then((function(){throw t}))}))}}));var m,g="function"==typeof Object.create?Object.create:function(e){function t(){}return t.prototype=e,new t};if("function"==typeof Object.setPrototypeOf)m=Object.setPrototypeOf;else{var y;e:{var v={};try{v.__proto__={Ae:!0},y=v.Ae;break e}catch(s){}y=!1}m=y?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var b=m;function _(e,t){if(e.prototype=g(t.prototype),e.prototype.constructor=e,b)b(e,t);else for(var r in t)if("prototype"!=r)if(Object.defineProperties){var n=Object.getOwnPropertyDescriptor(t,r);n&&Object.defineProperty(e,r,n)}else e[r]=t[r];e.tg=t.prototype}function A(){this.g=!1,this.c=null,this.o=void 0,this.j=1,this.b=this.f=0,this.i=this.a=null}function E(e){if(e.g)throw new TypeError("Generator is already running");e.g=!0}function T(e,t){e.a={Ld:t,Wd:!0},e.j=e.f||e.b}function S(e,t,r){return e.j=r,{value:t}}function w(e){e.j=0}function k(e,t,r){e.f=t,null!=r&&(e.b=r)}function C(e,t){e.f=0,e.b=t||0}function x(e,t){e.j=t,e.f=0}function R(e){e.f=0;var t=e.a.Ld;return e.a=null,t}function L(e){e.i=[e.a],e.f=0,e.b=0}function j(e,t){var r=e.i.splice(0)[0];(r=e.a=e.a||r)?r.Wd?e.j=e.f||e.b:null!=r.A&&e.b<r.A?(e.j=r.A,e.a=null):e.j=e.b:e.j=t}function P(e){this.a=new A,this.b=e}function I(e,t,r,n){try{var i=t.call(e.a.c,r);if(!(i instanceof Object))throw new TypeError("Iterator result "+i+" is not an object");if(!i.done)return e.a.g=!1,i;var o=i.value}catch(t){return e.a.c=null,T(e.a,t),O(e)}return e.a.c=null,n.call(e.a,o),O(e)}function O(e){for(;e.a.j;)try{var t=e.b(e.a);if(t)return e.a.g=!1,{value:t.value,done:!1}}catch(t){e.a.o=void 0,T(e.a,t)}if(e.a.g=!1,e.a.a){if(t=e.a.a,e.a.a=null,t.Wd)throw t.Ld;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function D(e){this.next=function(t){return E(e.a),e.a.c?t=I(e,e.a.c.next,t,e.a.h):(e.a.h(t),t=O(e)),t},this.throw=function(t){return E(e.a),e.a.c?t=I(e,e.a.c.throw,t,e.a.h):(T(e.a,t),t=O(e)),t},this.return=function(t){return function(e,t){E(e.a);var r=e.a.c;return r?I(e,"return"in r?r.return:function(e){return{value:e,done:!0}},t,e.a.return):(e.a.return(t),O(e))}(e,t)},u(),this[Symbol.iterator]=function(){return this}}function M(e,t){return D.prototype=e.prototype,new D(new P(t))}function N(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function F(e,t,r){e instanceof String&&(e=String(e));for(var n=e.length,i=0;i<n;i++){var o=e[i];if(t.call(r,o,i,e))return{Td:i,ve:o}}return{Td:-1,ve:void 0}}function U(e,t,r){if(null==e)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(t instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return e+""}A.prototype.h=function(e){this.o=e},A.prototype.return=function(e){this.a={return:e},this.j=this.b},A.prototype.A=function(e){this.j=e},h("WeakMap",(function(e){function t(e){if(this.a=(s+=Math.random()+1).toString(),e){a(),u(),e=f(e);for(var t;!(t=e.next()).done;)t=t.value,this.set(t[0],t[1])}}function r(e){N(e,o)||i(e,o,{value:{}})}function n(e){var t=Object[e];t&&(Object[e]=function(e){return r(e),t(e)})}if(function(){if(!e||!Object.seal)return!1;try{var t=Object.seal({}),r=Object.seal({}),n=new e([[t,2],[r,3]]);return 2==n.get(t)&&3==n.get(r)&&(n.delete(t),n.set(r,4),!n.has(t)&&4==n.get(r))}catch(e){return!1}}())return e;var o="$jscomp_hidden_"+Math.random();n("freeze"),n("preventExtensions"),n("seal");var s=0;return t.prototype.set=function(e,t){if(r(e),!N(e,o))throw Error("WeakMap key fail: "+e);return e[o][this.a]=t,this},t.prototype.get=function(e){return N(e,o)?e[o][this.a]:void 0},t.prototype.has=function(e){return N(e,o)&&N(e[o],this.a)},t.prototype.delete=function(e){return!(!N(e,o)||!N(e[o],this.a))&&delete e[o][this.a]},t})),h("Map",(function(e){function t(){var e={};return e.Fa=e.next=e.head=e}function r(e,t){var r=e.a;return d((function(){if(r){for(;r.head!=e.a;)r=r.Fa;for(;r.next!=r.head;)return r=r.next,{done:!1,value:t(r)};r=null}return{done:!0,value:void 0}}))}function n(e,t){var r=t&&typeof t;"object"==r||"function"==r?o.has(t)?r=o.get(t):(r=""+ ++s,o.set(t,r)):r="p_"+t;var n=e.b[r];if(n&&N(e.b,r))for(var i=0;i<n.length;i++){var a=n[i];if(t!=t&&a.key!=a.key||t===a.key)return{id:r,list:n,index:i,X:a}}return{id:r,list:n,index:-1,X:void 0}}function i(e){if(this.b={},this.a=t(),this.size=0,e){e=f(e);for(var r;!(r=e.next()).done;)r=r.value,this.set(r[0],r[1])}}if(function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),r=new e(f([[t,"s"]]));if("s"!=r.get(t)||1!=r.size||r.get({x:4})||r.set({x:4},"t")!=r||2!=r.size)return!1;var n=r.entries(),i=n.next();return!i.done&&i.value[0]==t&&"s"==i.value[1]&&!((i=n.next()).done||4!=i.value[0].x||"t"!=i.value[1]||!n.next().done)}catch(e){return!1}}())return e;a(),u();var o=new WeakMap;i.prototype.set=function(e,t){var r=n(this,e);return r.list||(r.list=this.b[r.id]=[]),r.X?r.X.value=t:(r.X={next:this.a,Fa:this.a.Fa,head:this.a,key:e,value:t},r.list.push(r.X),this.a.Fa.next=r.X,this.a.Fa=r.X,this.size++),this},i.prototype.delete=function(e){return!(!(e=n(this,e)).X||!e.list||(e.list.splice(e.index,1),e.list.length||delete this.b[e.id],e.X.Fa.next=e.X.next,e.X.next.Fa=e.X.Fa,e.X.head=null,this.size--,0))},i.prototype.clear=function(){this.b={},this.a=this.a.Fa=t(),this.size=0},i.prototype.has=function(e){return!!n(this,e).X},i.prototype.get=function(e){return(e=n(this,e).X)&&e.value},i.prototype.entries=function(){return r(this,(function(e){return[e.key,e.value]}))},i.prototype.keys=function(){return r(this,(function(e){return e.key}))},i.prototype.values=function(){return r(this,(function(e){return e.value}))},i.prototype.forEach=function(e,t){for(var r,n=this.entries();!(r=n.next()).done;)r=r.value,e.call(t,r[1],r[0],this)},i.prototype[Symbol.iterator]=i.prototype.entries;var s=0;return i})),h("Set",(function(e){function t(e){if(this.a=new Map,e){e=f(e);for(var t;!(t=e.next()).done;)this.add(t.value)}this.size=this.a.size}return function(){if(!e||"function"!=typeof e||!e.prototype.entries||"function"!=typeof Object.seal)return!1;try{var t=Object.seal({x:4}),r=new e(f([t]));if(!r.has(t)||1!=r.size||r.add(t)!=r||1!=r.size||r.add({x:4})!=r||2!=r.size)return!1;var n=r.entries(),i=n.next();return!i.done&&i.value[0]==t&&i.value[1]==t&&!(i=n.next()).done&&i.value[0]!=t&&4==i.value[0].x&&i.value[1]==i.value[0]&&n.next().done}catch(e){return!1}}()?e:(a(),u(),t.prototype.add=function(e){return this.a.set(e,e),this.size=this.a.size,this},t.prototype.delete=function(e){return e=this.a.delete(e),this.size=this.a.size,e},t.prototype.clear=function(){this.a.clear(),this.size=0},t.prototype.has=function(e){return this.a.has(e)},t.prototype.entries=function(){return this.a.entries()},t.prototype.values=function(){return this.a.values()},t.prototype.keys=t.prototype.values,t.prototype[Symbol.iterator]=t.prototype.values,t.prototype.forEach=function(e,t){var r=this;this.a.forEach((function(n){return e.call(t,n,n,r)}))},t)})),h("Array.prototype.findIndex",(function(e){return e||function(e,t){return F(this,e,t).Td}})),h("Array.prototype.keys",(function(e){return e||function(){return function(e,t){u(),e instanceof String&&(e+="");var r=0,n={next:function(){if(r<e.length){var i=r++;return{value:t(i,e[i]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n}(this,(function(e){return e}))}})),h("Object.is",(function(e){return e||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}})),h("Array.prototype.includes",(function(e){return e||function(e,t){var r=this;r instanceof String&&(r=String(r));var n=r.length,i=t||0;for(0>i&&(i=Math.max(i+n,0));i<n;i++){var o=r[i];if(o===e||Object.is(o,e))return!0}return!1}})),h("String.prototype.includes",(function(e){return e||function(e,t){return-1!==U(this,e,"includes").indexOf(e,t||0)}})),h("Array.from",(function(e){return e||function(e,t,r){u(),t=null!=t?t:function(e){return e};var n=[],i=e[Symbol.iterator];if("function"==typeof i)for(e=i.call(e);!(i=e.next()).done;)n.push(t.call(r,i.value));else{i=e.length;for(var o=0;o<i;o++)n.push(t.call(r,e[o]))}return n}})),h("String.prototype.startsWith",(function(e){return e||function(e,t){for(var r=U(this,e,"startsWith"),n=r.length,i=e.length,o=Math.max(0,Math.min(0|t,r.length)),a=0;a<i&&o<n;)if(r[o++]!=e[a++])return!1;return a>=i}})),h("Array.prototype.find",(function(e){return e||function(e,t){return F(this,e,t).ve}}));var B="function"==typeof Object.assign?Object.assign:function(e,t){for(var r=1;r<arguments.length;r++){var n=arguments[r];if(n)for(var i in n)N(n,i)&&(e[i]=n[i])}return e};h("Object.assign",(function(e){return e||B}));var K=this;function G(e,t){var r,n=e.split("."),i=K;n[0]in i||!i.execScript||i.execScript("var "+n[0]);for(;n.length&&(r=n.shift());)n.length||void 0===t?i=i[r]?i[r]:i[r]={}:i[r]=t}function V(e,t){function r(){}r.prototype=t.prototype,e.tg=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.Eg=function(e,r,n){return t.prototype[r].apply(e,Array.prototype.slice.call(arguments,2))}}function H(e){this.c=Math.exp(Math.log(.5)/e),this.b=this.a=0}function Y(e,t,r){var n=Math.pow(e.c,t);r=r*(1-n)+n*e.a,isNaN(r)||(e.a=r,e.b+=t)}function z(e){return e.a/(1-Math.pow(e.c,e.b))}function W(){this.b=new H(2),this.c=new H(5),this.a=0}function $(){}function q(){}function X(){}K.a=!0,W.prototype.getBandwidthEstimate=function(e){return 128e3>this.a?e:Math.min(z(this.b),z(this.c))},e.console&&e.console.log.bind&&(q=console.warn.bind(console),$=console.error.bind(console));var J=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Z(e){var t;e instanceof Z?(Q(this,e.ta),this.bb=e.bb,this.sa=e.sa,ee(this,e.Ab),this.ja=e.ja,te(this,e.a.clone()),this.Sa=e.Sa):e&&(t=String(e).match(J))?(Q(this,t[1]||"",!0),this.bb=re(t[2]||""),this.sa=re(t[3]||"",!0),ee(this,t[4]),this.ja=re(t[5]||"",!0),te(this,t[6]||"",!0),this.Sa=re(t[7]||"")):this.a=new ce(null)}function Q(e,t,r){e.ta=r?re(t,!0):t,e.ta&&(e.ta=e.ta.replace(/:$/,""))}function ee(e,t){if(t){if(t=Number(t),isNaN(t)||0>t)throw Error("Bad port number "+t);e.Ab=t}else e.Ab=null}function te(e,t,r){t instanceof ce?e.a=t:(r||(t=ne(t,le)),e.a=new ce(t))}function re(e,t){return e?t?decodeURI(e):decodeURIComponent(e):""}function ne(e,t,r){return"string"==typeof e?(e=encodeURI(e).replace(t,ie),r&&(e=e.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e):null}function ie(e){return"%"+((e=e.charCodeAt(0))>>4&15).toString(16)+(15&e).toString(16)}(n=Z.prototype).ta="",n.bb="",n.sa="",n.Ab=null,n.ja="",n.Sa="",n.toString=function(){var e=[],t=this.ta;if(t&&e.push(ne(t,oe,!0),":"),t=this.sa){e.push("//");var r=this.bb;r&&e.push(ne(r,oe,!0),"@"),e.push(encodeURIComponent(t).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),null!=(t=this.Ab)&&e.push(":",String(t))}return(t=this.ja)&&(this.sa&&"/"!=t.charAt(0)&&e.push("/"),e.push(ne(t,"/"==t.charAt(0)?se:ae,!0))),(t=this.a.toString())&&e.push("?",t),(t=this.Sa)&&e.push("#",ne(t,ue)),e.join("")},n.resolve=function(e){var t=this.clone();"data"===t.ta&&(t=new Z);var r=!!e.ta;r?Q(t,e.ta):r=!!e.bb,r?t.bb=e.bb:r=!!e.sa,r?t.sa=e.sa:r=null!=e.Ab;var n=e.ja;if(r)ee(t,e.Ab);else if(r=!!e.ja){if("/"!=n.charAt(0))if(this.sa&&!this.ja)n="/"+n;else{var i=t.ja.lastIndexOf("/");-1!=i&&(n=t.ja.substr(0,i+1)+n)}if(".."==n||"."==n)n="";else if(-1!=n.indexOf("./")||-1!=n.indexOf("/.")){i=0==n.lastIndexOf("/",0),n=n.split("/");for(var o=[],a=0;a<n.length;){var s=n[a++];"."==s?i&&a==n.length&&o.push(""):".."==s?((1<o.length||1==o.length&&""!=o[0])&&o.pop(),i&&a==n.length&&o.push("")):(o.push(s),i=!0)}n=o.join("/")}}return r?t.ja=n:r=""!==e.a.toString(),r?te(t,e.a.clone()):r=!!e.Sa,r&&(t.Sa=e.Sa),t},n.clone=function(){return new Z(this)};var oe=/[#\/\?@]/g,ae=/[#\?:]/g,se=/[#\?]/g,le=/[#\?@]/g,ue=/#/g;function ce(e){this.a=e||null}function de(e){this.b=e,this.a=null}function fe(e){this.b=e,this.a=null}function he(e,t){var r={maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0};this.i=null==e.maxAttempts?r.maxAttempts:e.maxAttempts,this.f=null==e.baseDelay?r.baseDelay:e.baseDelay,this.h=null==e.fuzzFactor?r.fuzzFactor:e.fuzzFactor,this.g=null==e.backoffFactor?r.backoffFactor:e.backoffFactor,this.a=0,this.b=this.f,(this.c=void 0!==t&&t)&&(this.a=1)}function pe(e){return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:if(e.a>=e.i){if(!e.c)return t.return(Promise.reject());e.a=1,e.b=e.f}return r=e.a,e.a++,0==r?t.return():(n=e.b*(1+(2*Math.random()-1)*e.h),S(t,new Promise((function(e){new fe(e).R(n/1e3)})),2));case 2:e.b*=e.g,w(t)}}))}))}function me(e,t,r,n){for(var i=[],o=3;o<arguments.length;++o)i[o-3]=arguments[o];this.severity=e,this.category=t,this.code=r,this.data=i,this.handled=!1}function ge(){var e,t,r=new Promise((function(r,n){e=r,t=n}));return r.resolve=e,r.reject=t,r}function ye(e,t){this.promise=e,this.Zd=t,this.a=!1}function ve(e){return new ye(Promise.reject(e),(function(){return Promise.resolve()}))}function be(){var e=Promise.reject(new me(2,7,7001));return e.catch((function(){})),new ye(e,(function(){return Promise.resolve()}))}function _e(e){return new ye(Promise.resolve(e),(function(){return Promise.resolve()}))}function Ae(e){return new ye(e,(function(){return e.catch((function(){}))}))}function Ee(e){return new ye(Promise.all(e.map((function(e){return e.promise}))),(function(){return Promise.all(e.map((function(e){return e.abort()})))}))}function Te(e,t,r){try{var n=e(t);return n&&n.promise&&n.abort?(r.resolve(n.promise),function(){return n.abort()}):(r.resolve(n),function(){return Promise.resolve(n).then((function(){})).catch((function(){}))})}catch(e){return r.reject(e),function(){return Promise.resolve()}}}function Se(t,r){for(var n in r=void 0===r?{}:r)this[n]=r[n];this.defaultPrevented=this.cancelable=this.bubbles=!1,this.timeStamp=e.performance&&e.performance.now?e.performance.now():Date.now(),this.type=t,this.isTrusted=!1,this.target=this.currentTarget=null,this.a=!1}function we(){this.a={}}function ke(){this.Jc=new we,this.$b=this}function Ce(e){var t=new Set;return function e(r){switch(typeof r){case"undefined":case"boolean":case"number":case"string":case"symbol":case"function":return r;default:if(!r||r.buffer&&r.buffer.constructor==ArrayBuffer)return r;if(t.has(r))return null;var n=r.constructor==Array;if(r.constructor!=Object&&!n)return null;t.add(r);var i,o=n?[]:{};for(i in r)o[i]=e(r[i]);return n&&(o.length=r.length),o}}(e)}function xe(e,t){return!("number"!=typeof e||"number"!=typeof t||!isNaN(e)||!isNaN(t))||e===t}function Re(e,t){var r=e.indexOf(t);-1<r&&e.splice(r,1)}function Le(e,t,r){if(r||(r=xe),e.length!=t.length)return!1;t=t.slice();for(var n={},i=(e=f(e)).next();!i.done;n={item:n.item},i=e.next()){if(n.item=i.value,-1==(i=t.findIndex(function(e){return function(t){return r(e.item,t)}}(n))))return!1;t[i]=t[t.length-1],t.pop()}return 0==t.length}function je(){this.a=[]}function Pe(e,t){e.a.push(t.finally((function(){Re(e.a,t)})))}function Ie(e){ke.call(this),this.f=!1,this.g=new je,this.a=new Set,this.b=new Set,this.c=e||null}(n=ce.prototype).ha=null,n.fc=null,n.add=function(e,t){if(!this.ha&&(this.ha={},this.fc=0,this.a))for(var r=this.a.split("&"),n=0;n<r.length;n++){var i=r[n].indexOf("="),o=null;if(0<=i){var a=r[n].substring(0,i);o=r[n].substring(i+1)}else a=r[n];a=decodeURIComponent(a.replace(/\+/g," ")),o=o||"",this.add(a,decodeURIComponent(o.replace(/\+/g," ")))}return this.a=null,(r=this.ha.hasOwnProperty(e)&&this.ha[e])||(this.ha[e]=r=[]),r.push(t),this.fc++,this},n.toString=function(){if(this.a)return this.a;if(!this.ha)return"";var e,t=[];for(e in this.ha)for(var r=encodeURIComponent(e),n=this.ha[e],i=0;i<n.length;i++){var o=r;""!==n[i]&&(o+="="+encodeURIComponent(n[i])),t.push(o)}return this.a=t.join("&")},n.clone=function(){var e=new ce;if(e.a=this.a,this.ha){var t,r={};for(t in this.ha)r[t]=this.ha[t].concat();e.ha=r,e.fc=this.fc}return e},de.prototype.R=function(t){var r=this;this.stop();var n=!0,i=null;return this.a=function(){e.clearTimeout(i),n=!1},i=e.setTimeout((function(){n&&r.b()}),1e3*t),this},de.prototype.stop=function(){this.a&&(this.a(),this.a=null)},G("shaka.util.Timer",fe),fe.prototype.yc=function(){return this.stop(),this.b(),this},fe.prototype.tickNow=fe.prototype.yc,fe.prototype.R=function(e){var t=this;return this.stop(),this.a=new de((function(){t.b()})).R(e),this},fe.prototype.tickAfter=fe.prototype.R,fe.prototype.Na=function(e){var t=this;return this.stop(),this.a=new de((function(){t.a.R(e),t.b()})).R(e),this},fe.prototype.tickEvery=fe.prototype.Na,fe.prototype.stop=function(){this.a&&(this.a.stop(),this.a=null)},fe.prototype.stop=fe.prototype.stop,G("shaka.util.Error",me),me.prototype.toString=function(){return"shaka.util.Error "+JSON.stringify(this,null," ")},me.Severity={RECOVERABLE:1,CRITICAL:2},me.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9},me.Code={UNSUPPORTED_SCHEME:1e3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,UNKNOWN_DATA_URI_ENCODING:1005,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,MALFORMED_TEST_URI:1008,UNEXPECTED_TEST_REQUEST:1009,INVALID_TEXT_HEADER:2e3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_EXTRACT_CUE_START_TIME:2009,BUFFER_READ_OUT_OF_BOUNDS:3e3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,EBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,TRANSMUXING_FAILED:3018,UNABLE_TO_GUESS_MANIFEST_TYPE:4e3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,UNPLAYABLE_PERIOD:4011,RESTRICTIONS_CANNOT_BE_MET:4012,NO_PERIODS:4014,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_COULD_NOT_GUESS_MIME_TYPE:4021,HLS_MASTER_PLAYLIST_NOT_PROVIDED:4022,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_LIMIT:4028,HLS_COULD_NOT_PARSE_SEGMENT_START_TIME:4030,CONTENT_UNSUPPORTED_BY_BROWSER:4032,CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM:4033,HLS_AES_128_ENCRYPTION_NOT_SUPPORTED:4034,HLS_INTERNAL_SKIP_STREAM:4035,INVALID_STREAMS_CHOSEN:5005,NO_RECOGNIZED_KEY_SYSTEMS:6e3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,SERVER_CERTIFICATE_REQUIRED:6015,INIT_DATA_TRANSFORM_ERROR:6016,LOAD_INTERRUPTED:7e3,OPERATION_ABORTED:7001,NO_VIDEO_ELEMENT:7002,CAST_API_UNAVAILABLE:8e3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9e3,INDEXED_DB_ERROR:9001,DEPRECATED_OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,STORE_ALREADY_IN_PROGRESS:9006,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,NEW_KEY_OPERATION_NOT_SUPPORTED:9011,KEY_NOT_FOUND:9012,MISSING_STORAGE_CELL:9013},ge.prototype.resolve=function(){},ge.prototype.reject=function(){},G("shaka.util.AbortableOperation",ye),ye.failed=ve,ye.aborted=be,ye.completed=_e,ye.notAbortable=Ae,ye.prototype.abort=function(){return this.a=!0,this.Zd()},ye.prototype.abort=ye.prototype.abort,ye.all=Ee,ye.prototype.finally=function(e){return this.promise.then((function(){return e(!0)}),(function(){return e(!1)})),this},ye.prototype.finally=ye.prototype.finally,ye.prototype.U=function(e,t){function r(){return i.reject(new me(2,7,7001)),n.abort()}var n=this,i=new ge;return this.promise.then((function(t){n.a?i.reject(new me(2,7,7001)):e?r=Te(e,t,i):i.resolve(t)}),(function(e){t?r=Te(t,e,i):i.reject(e)})),new ye(i,(function(){return r()}))},ye.prototype.chain=ye.prototype.U,Se.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)},Se.prototype.stopImmediatePropagation=function(){this.a=!0},Se.prototype.stopPropagation=function(){},(n=we.prototype).push=function(e,t){this.a.hasOwnProperty(e)?this.a[e].push(t):this.a[e]=[t]},n.get=function(e){return(e=this.a[e])?e.slice():null},n.getAll=function(){var e,t=[];for(e in this.a)t.push.apply(t,this.a[e]);return t},n.remove=function(e,t){var r=this.a[e];if(r)for(var n=0;n<r.length;++n)r[n]==t&&(r.splice(n,1),--n)},n.forEach=function(e){for(var t in this.a)e(t,this.a[t])},ke.prototype.addEventListener=function(e,t){this.Jc.push(e,t)},ke.prototype.removeEventListener=function(e,t){this.Jc.remove(e,t)},ke.prototype.dispatchEvent=function(e){for(var t=this.Jc.get(e.type)||[],r=0;r<t.length;++r){e.target=this.$b,e.currentTarget=this.$b;var n=t[r];try{n.handleEvent?n.handleEvent(e):n.call(this,e)}catch(e){}if(e.a)break}return e.defaultPrevented},je.prototype.destroy=function(){var e=[];return this.a.forEach((function(t){t.promise.catch((function(){})),e.push(t.abort())})),this.a=[],Promise.all(e)},V(Ie,ke),G("shaka.net.NetworkingEngine",Ie),Ie.RequestType={MANIFEST:0,SEGMENT:1,LICENSE:2,APP:3,TIMING:4},Ie.PluginPriority={FALLBACK:1,PREFERRED:2,APPLICATION:3};var Oe={};function De(e,t,r){r=r||3;var n=Oe[e];(!n||r>=n.priority)&&(Oe[e]={priority:r,Rf:t})}function Me(e,t){return{uris:e,method:"GET",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:t,licenseRequestType:null,sessionId:null}}function Ne(){this.a=0}function Fe(e,t,r){ye.call(this,e,t),this.b=r}function Ue(){}function Be(){this.a=new we}function Ke(e,t,r,n){this.target=e,this.type=t,this.listener=r,this.a=function(e,t){if(null==t)return!1;if("boolean"==typeof t)return t;var r=new Set(["passive","capture"]);return Object.keys(t).filter((function(e){return!r.has(e)})),function(e){var t=Ge;if(null==t){t=!1;try{var r={},n={get:function(){return t=!0,!1}};Object.defineProperty(r,"passive",n),Object.defineProperty(r,"capture",n),n=function(){},e.addEventListener("test",n,r),e.removeEventListener("test",n,r)}catch(e){t=!1}Ge=t}return t||!1}(e)?t:t.capture||!1}(e,n),this.target.addEventListener(t,r,this.a)}Ie.registerScheme=De,Ie.unregisterScheme=function(e){delete Oe[e]},Ie.prototype.Tf=function(e){this.a.add(e)},Ie.prototype.registerRequestFilter=Ie.prototype.Tf,Ie.prototype.vg=function(e){this.a.delete(e)},Ie.prototype.unregisterRequestFilter=Ie.prototype.vg,Ie.prototype.Ie=function(){this.a.clear()},Ie.prototype.clearAllRequestFilters=Ie.prototype.Ie,Ie.prototype.Uf=function(e){this.b.add(e)},Ie.prototype.registerResponseFilter=Ie.prototype.Uf,Ie.prototype.wg=function(e){this.b.delete(e)},Ie.prototype.unregisterResponseFilter=Ie.prototype.wg,Ie.prototype.Je=function(){this.b.clear()},Ie.prototype.clearAllResponseFilters=Ie.prototype.Je,Ie.defaultRetryParameters=function(){return{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0}},Ie.makeRequest=Me,Ie.prototype.destroy=function(){return this.f=!0,this.a.clear(),this.b.clear(),this.g.destroy()},Ie.prototype.destroy=Ie.prototype.destroy,Ie.prototype.request=function(e,t){var r=this,n=new Ne;if(this.f){var i=Promise.reject(new me(2,7,7001));return i.catch((function(){})),new Fe(i,(function(){return Promise.resolve()}),n)}t.method=t.method||"GET",t.headers=t.headers||{},t.retryParameters=t.retryParameters?Ce(t.retryParameters):{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},t.uris=Ce(t.uris);var o=(i=function(e,t,r){for(var n=_e(void 0),i={},o=(e=f(e.a)).next();!o.done;i={qd:i.qd},o=e.next())i.qd=o.value,n=n.U(function(e){return function(){return e.qd(t,r)}}(i));return n.U(void 0,(function(e){if(e&&7001==e.code)throw e;throw new me(2,1,1006,e)}))}(this,e,t)).U((function(){return function e(t,r,n,i,o,a,s){var l=new Z(n.uris[o]),u=l.ta,c=!1;u||(u=(u=location.protocol).slice(0,-1),Q(l,u),n.uris[o]=l.toString()),u=u.toLowerCase();var d,f=(u=Oe[u])?u.Rf:null;return f?Ae(pe(i)).U((function(){return t.f?be():(d=Date.now(),f(n.uris[o],n,r,(function(e,n,i){t.c&&1==r&&(t.c(e,n),c=!0,s.a=i)})))})).U((function(e){return null==e.timeMs&&(e.timeMs=Date.now()-d),{response:e,qf:c}}),(function(l){if(l&&7001==l.code)throw l;if(t.f)return be();if(l&&1==l.severity)return t.dispatchEvent(new Se("retry",{error:l instanceof me?l:null})),o=(o+1)%n.uris.length,e(t,r,n,i,o,l,s);throw l||a})):ve(new me(2,1,1e3,l))}(r,e,t,new he(t.retryParameters,!1),0,null,n)})),a=o.U((function(t){return function(e,t,r){for(var n=_e(void 0),i=(e=f(e.b)).next();!i.done;i=e.next())n=n.U(i.value.bind(null,t,r.response));return n.U((function(){return r}),(function(e){if(e&&7001==e.code)throw e;var t=2;throw e instanceof me&&(t=e.severity),new me(t,1,1007,e)}))}(r,e,t)})),s=Date.now(),l=0;i.promise.then((function(){l=Date.now()-s}),(function(){}));var u=0;return o.promise.then((function(){u=Date.now()}),(function(){})),i=new Fe((i=a.U((function(t){var n=Date.now()-u,i=t.response;return i.timeMs+=l,i.timeMs+=n,t.qf||!r.c||i.fromCache||1!=e||r.c(i.timeMs,i.data.byteLength),i}),(function(e){throw e&&(e.severity=2),e}))).promise,i.Zd,n),Pe(this.g,i),i},Ie.prototype.request=Ie.prototype.request,Ie.NumBytesRemainingClass=Ne,_(Fe,ye),Ie.PendingRequest=Fe,Fe.all=Ee,Fe.notAbortable=Ae,Fe.completed=_e,Fe.aborted=be,Fe.failed=ve,G("shaka.util.IReleasable",Ue),Ue.prototype.release=function(){},G("shaka.util.EventManager",Be),Be.prototype.release=function(){this.$a(),this.a=null},Be.prototype.release=Be.prototype.release,Be.prototype.w=function(e,t,r,n){this.a&&(e=new Ke(e,t,r,n),this.a.push(t,e))},Be.prototype.listen=Be.prototype.w,Be.prototype.da=function(e,t,r,n){var i=this;this.w(e,t,(function n(o){i.ea(e,t,n),r(o)}),n)},Be.prototype.listenOnce=Be.prototype.da,Be.prototype.ea=function(e,t,r){if(this.a)for(var n=this.a.get(t)||[],i=(n=f(n)).next();!i.done;i=n.next())(i=i.value).target!=e||r!=i.listener&&r||(i.ea(),this.a.remove(t,i))},Be.prototype.unlisten=Be.prototype.ea,Be.prototype.$a=function(){if(this.a){for(var e=this.a.getAll(),t=(e=f(e)).next();!t.done;t=e.next())t.value.ea();this.a.a={}}},Be.prototype.removeAll=Be.prototype.$a,Ke.prototype.ea=function(){this.target.removeEventListener(this.type,this.listener,this.a),this.listener=this.target=null,this.a=!1},Ke.prototype.unlisten=Ke.prototype.ea;var Ge=void 0;function Ve(e){if(e=new Uint8Array(e),new DataView(e.buffer,e.byteOffset,e.byteLength).getUint32(0,!0)+4!=e.byteLength)throw new RangeError("Malformed FairPlay init data");return new Z(e=st(e.subarray(4),!0)).sa}function He(e,t,r){function n(e){new DataView(o.buffer).setUint32(a,e.byteLength,!0),a+=4,i(e)}function i(e){o.set(e,a),a+=e.byteLength}if(!r||!r.byteLength)throw new me(2,6,6015);t="string"==typeof t?new Uint8Array(ct(t,!0)):new Uint8Array(t);var o=new Uint8Array(8+e.byteLength+t.byteLength+r.byteLength),a=0;return i(new Uint8Array(e)),n(t),n(new Uint8Array(r)),o}function Ye(e,t){for(var r=[],n=f(e),i=n.next();!i.done;i=n.next())r.push(t(i.value));return r}function ze(e,t){for(var r=f(e),n=r.next();!n.done;n=r.next())if(!t(n.value))return!1;return!0}function We(e){var t=new Map;return Object.keys(e).forEach((function(r){t.set(r,e[r])})),t}function $e(e){var t={};return e.forEach((function(e,r){t[r]=e})),t}function qe(e,t){var r=e;return t&&(r+='; codecs="'+t+'"'),r}function Xe(e){var t=(e=e.split("."))[0];return e.pop(),[t,e.join(".")]}G("shaka.util.FairPlayUtils.defaultGetContentId",Ve),G("shaka.util.FairPlayUtils.initDataTransform",He);var Je=(new Map).set("codecs","codecs").set("frameRate","framerate").set("bandwidth","bitrate").set("width","width").set("height","height").set("channelsCount","channels");function Ze(){return!(!e.MediaSource||!MediaSource.isTypeSupported)}function Qe(e){return""!=nt().canPlayType(e)}function et(){return!!navigator.vendor&&navigator.vendor.includes("Apple")&&!rt("Tizen")}function tt(){if(!et())return null;var e=navigator.userAgent.match(/Version\/(\d+)/);return e||(e=navigator.userAgent.match(/OS (\d+)(?:_\d+)?/))?parseInt(e[1],10):null}function rt(e){return(navigator.userAgent||"").includes(e)}function nt(){return ot||(it||(it=new fe((function(){ot=null}))),(ot=document.querySelector("video")||document.querySelector("audio"))||(ot=document.createElement("video")),it.R(1),ot)}var it=null,ot=null;function at(e){if(!e)return"";239==(e=new Uint8Array(e))[0]&&187==e[1]&&191==e[2]&&(e=e.subarray(3)),e=dt(e),e=escape(e);try{return decodeURIComponent(e)}catch(e){throw new me(2,2,2004)}}function st(e,t,r){if(!e)return"";if(!r&&0!=e.byteLength%2)throw new me(2,2,2004);if(e instanceof ArrayBuffer)var n=e;else(r=new Uint8Array(e.byteLength)).set(new Uint8Array(e)),n=r.buffer;e=Math.floor(e.byteLength/2),r=new Uint16Array(e),n=new DataView(n);for(var i=0;i<e;i++)r[i]=n.getUint16(2*i,t);return dt(r)}function lt(e){var t=new Uint8Array(e);if(239==t[0]&&187==t[1]&&191==t[2])return at(t);if(254==t[0]&&255==t[1])return st(t.subarray(2),!1);if(255==t[0]&&254==t[1])return st(t.subarray(2),!0);var r=function(e,t){return e.byteLength<=t||32<=e[t]&&126>=e[t]}.bind(null,t);if(0==t[0]&&0==t[2])return st(e,!1);if(0==t[1]&&0==t[3])return st(e,!0);if(r(0)&&r(1)&&r(2)&&r(3))return at(e);throw new me(2,2,2003)}function ut(e){e=encodeURIComponent(e),e=unescape(e);for(var t=new Uint8Array(e.length),r=0;r<e.length;++r)t[r]=e.charCodeAt(r);return t.buffer}function ct(e,t){for(var r=new Uint8Array(2*e.length),n=new DataView(r.buffer),i=0;i<e.length;++i)n.setUint16(2*i,e.charCodeAt(i),t);return r.buffer}function dt(e){if(!ft)for(var t=function(e){try{var t=new Uint8Array(e);return 0<String.fromCharCode.apply(null,t).length}catch(e){return!1}},r={size:65536};0<r.size;(r={size:r.size}).size/=2)if(t(r.size)){ft=function(e){return function(t){for(var r="",n=0;n<t.length;n+=e.size)r+=String.fromCharCode.apply(null,t.subarray(n,n+e.size));return r}}(r);break}return ft(e)}G("shaka.util.StringUtils.fromUTF8",at),G("shaka.util.StringUtils.fromUTF16",st),G("shaka.util.StringUtils.fromBytesAutoDetect",lt),G("shaka.util.StringUtils.toUTF8",ut),G("shaka.util.StringUtils.toUTF16",ct);var ft=null;G("shaka.util.StringUtils.resetFromCharCode",(function(){ft=null}));var ht={zc:function(t,r){var n=dt(t);return r=null==r||r,n=e.btoa(n).replace(/\+/g,"-").replace(/\//g,"_"),r?n:n.replace(/=*$/,"")}};function pt(e){var t=this;this.B=e,this.u=new Set,this.h=this.l=null,this.S=!1,this.K=0,this.a=null,this.i=new Be,this.b=new Map,this.s=[],this.m=new ge,this.f=null,this.g=function(r){t.m.reject(r),e.onError(r)},this.pa=new Map,this.W=new Map,this.O=new fe((function(){return function(e){var t=e.pa,r=e.W;r.clear(),t.forEach((function(e,t){return r.set(t,e)})),(t=Array.from(r.values())).length&&t.every((function(e){return"expired"==e}))&&e.g(new me(2,6,6014)),e.B.qc($e(r))}(t)})),this.c=!1,this.na=new ge,this.D=!1,this.F=[],this.oa=!1,this.$=new fe((function(){!function(e){e.b.forEach((function(t,r){var n=t.hd,i=r.expiration;isNaN(i)&&(i=1/0),i!=n&&(e.B.onExpirationUpdated(r.sessionId,i),t.hd=i)}))}(t)})).Na(1),this.m.catch((function(){}))}function mt(e,t,r){return e.s=r,e.D=0<r.length,gt(e,t)}function gt(t,r){var n=function(t){if(0==(t=We(t.f.clearKeys)).size)return null;var r=[],n=[];t.forEach((function(e,t){var i=ht.Qc(t),o=ht.Qc(e);i={kty:"oct",kid:ht.zc(i,!1),k:ht.zc(o,!1)},r.push(i),n.push(i.kid)})),t=JSON.stringify({keys:r});var i=JSON.stringify({kids:n});return i=[{initData:new Uint8Array(ut(i)),initDataType:"keyids"}],{keySystem:"org.w3.clearkey",licenseServerUri:"data:application/json;base64,"+e.btoa(t),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:i,keyIds:[]}}(t);if(n)for(var i=f(r),o=i.next();!o.done;o=i.next())o.value.drmInfos=[n];for((n=r.some((function(e){return 0<e.drmInfos.length})))||function(e,t){var r=[];t.forEach((function(e,t){r.push({keySystem:t,licenseServerUri:e,distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:[],keyIds:[]})}));for(var n=f(e),i=n.next();!i.done;i=n.next())i.value.drmInfos=r}(r,o=We(t.f.servers)),o=(i=f(r)).next();!o.done;o=i.next())for(var a=(o=f(o.value.drmInfos)).next();!a.done;a=o.next())It(a.value,We(t.f.servers),We(t.f.advanced||{}));return(o=function(e,t){for(var r=new Set,n=f(t),i=n.next();!i.done;i=n.next()){var o=f(i.value.drmInfos);for(i=o.next();!i.done;i=o.next())r.add(i.value)}for(n=f(r),i=n.next();!i.done;i=n.next())It(i.value,We(e.f.servers),We(e.f.advanced||{}));o=e.D?"required":"optional";var a=e.D?["persistent-license"]:["temporary"];for(n=new Map,r=f(r),i=r.next();!i.done;i=r.next())i=i.value,n.set(i.keySystem,{audioCapabilities:[],videoCapabilities:[],distinctiveIdentifier:"optional",persistentState:o,sessionTypes:a,label:i.keySystem,drmInfos:[]});for(r=f(t),i=r.next();!i.done;i=r.next()){i=i.value,o=i.audio,a=i.video;var s=o?qe(o.mimeType,o.codecs):"",l=a?qe(a.mimeType,a.codecs):"",u=f(i.drmInfos);for(i=u.next();!i.done;i=u.next()){i=i.value;var c=n.get(i.keySystem);c.drmInfos.push(i),i.distinctiveIdentifierRequired&&(c.distinctiveIdentifier="required"),i.persistentStateRequired&&(c.persistentState="required"),o&&c.audioCapabilities.push({robustness:i.audioRobustness||"",contentType:s}),a&&c.videoCapabilities.push({robustness:i.videoRobustness||"",contentType:l})}}return n}(t,r)).size?(o=Tt(t,o),n?o:o.catch((function(){}))):(t.S=!0,Promise.resolve())}function yt(e){return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:if(!(e.l&&e.a&&e.a.serverCertificate&&e.a.serverCertificate.length)){t.A(0);break}return k(t,3),S(t,e.l.setServerCertificate(e.a.serverCertificate),5);case 5:x(t,0);break;case 3:return r=R(t),t.return(Promise.reject(new me(2,6,6004,r.message)))}}))}))}function vt(e){var t=e.a?e.a.initData:[];return t.forEach((function(t){return wt(e,t.initDataType,t.initData)})),e.s.forEach((function(t){return St(e,t)})),t.length||e.s.length||e.m.resolve(),e.m}function bt(e,t,r){for(var n=e.b.values(),i=(n=f(n)).next();!i.done;i=n.next())if(ht.za(r,i.value.initData)&&!rt("Tizen 2"))return;wt(e,t,r)}function _t(e){return e?e.keySystem:""}function At(e,t){return!!rt("Edge/")||e.u.has(t)}function Et(e){return e=Ye(e=e.b.keys(),(function(e){return e.sessionId})),Array.from(e)}function Tt(e,t){if(1==t.size&&t.has(""))return Promise.reject(new me(2,6,6e3));for(var r=f(t.values()),n=r.next();!n.done;n=r.next())0==(n=n.value).audioCapabilities.length&&delete n.audioCapabilities,0==n.videoCapabilities.length&&delete n.videoCapabilities;var i=r=new ge;return[!0,!1].forEach(function(e){var r=this;t.forEach((function(t,n){t.drmInfos.some((function(e){return!!e.licenseServerUri}))==e&&(i=i.catch(function(){if(!this.c)return navigator.requestMediaKeySystemAccess(n,[t])}.bind(r)))}))}.bind(e)),i=(i=i.catch((function(){return Promise.reject(new me(2,6,6001))}))).then(function(e){if(this.c)return Promise.reject();this.u.clear();var r=e.getConfiguration(),n=r.videoCapabilities||[],i=f(r.audioCapabilities||[]);for(r=i.next();!r.done;r=i.next())this.u.add(r.value.contentType);for(r=(n=f(n)).next();!r.done;r=n.next())this.u.add(r.value.contentType);n=e.keySystem,i=[];var o=[],a=[],s=[];return function(e,t,r,n,i){e.forEach((function(e){if(t.includes(e.licenseServerUri)||t.push(e.licenseServerUri),e.serverCertificate&&(r.some((function(t){return ht.za(t,e.serverCertificate)}))||r.push(e.serverCertificate)),e.initData&&e.initData.forEach((function(e){n.some((function(t){return!(!t.keyId||t.keyId!=e.keyId)||t.initDataType==e.initDataType&&ht.za(t.initData,e.initData)}))||n.push(e)})),e.keyIds)for(var o=0;o<e.keyIds.length;++o)i.includes(e.keyIds[o])||i.push(e.keyIds[o])}))}((r=t.get(e.keySystem)).drmInfos,i,o,a,s),this.a={keySystem:n,licenseServerUri:i[0],distinctiveIdentifierRequired:"required"==r.distinctiveIdentifier,persistentStateRequired:"required"==r.persistentState,audioRobustness:(r.audioCapabilities?r.audioCapabilities[0].robustness:"")||"",videoRobustness:(r.videoCapabilities?r.videoCapabilities[0].robustness:"")||"",serverCertificate:o[0],initData:a,keyIds:s},this.a.licenseServerUri?e.createMediaKeys():Promise.reject(new me(2,6,6012,this.a.keySystem))}.bind(e)).then(function(e){if(this.c)return Promise.reject();this.l=e,this.S=!0}.bind(e)).catch(function(e){if(!this.c)return this.a=null,this.u.clear(),e instanceof me?Promise.reject(e):Promise.reject(new me(2,6,6002,e.message))}.bind(e)),r.reject(),i}function St(e,t){try{var r=e.l.createSession("persistent-license")}catch(t){var n=new me(2,6,6005,t.message);return e.g(n),Promise.reject(n)}e.i.w(r,"message",e.fe.bind(e)),e.i.w(r,"keystatuseschange",e.de.bind(e));var i={initData:null,loaded:!1,hd:1/0,ya:null};return e.b.set(r,i),r.load(t).then(function(e){return this.c?Promise.reject():e?(i.loaded=!0,Pt(this)&&this.m.resolve(),r):(this.b.delete(r),void this.g(new me(2,6,6013)))}.bind(e),function(e){this.c||(this.b.delete(r),this.g(new me(2,6,6005,e.message)))}.bind(e))}function wt(e,t,r){try{var n=e.D?e.l.createSession("persistent-license"):e.l.createSession()}catch(t){return void e.g(new me(2,6,6005,t.message))}e.i.w(n,"message",e.fe.bind(e)),e.i.w(n,"keystatuseschange",e.de.bind(e)),e.b.set(n,{initData:r,loaded:!1,hd:1/0,ya:null});try{r=e.f.initDataTransform(r,e.a)}catch(r){return t=r,r instanceof me||(t=new me(2,6,6016,r)),void e.g(t)}n.generateRequest(t,r.buffer).catch((function(t){if(!e.c){if(e.b.delete(n),t.errorCode&&t.errorCode.systemCode){var r=t.errorCode.systemCode;0>r&&(r+=Math.pow(2,32)),r="0x"+r.toString(16)}e.g(new me(2,6,6006,t.message,t,r))}}))}function kt(e,t){if(_t(t).startsWith("com.apple.fps")){var r=t.serverCertificate;e=He(e,Ve(e),r)}return e}function Ct(e,t){var r=t.target,n=e.b.get(r),i=e.a.licenseServerUri,o=e.f.advanced[e.a.keySystem];"individualization-request"==t.messageType&&o&&o.individualizationServer&&(i=o.individualizationServer),(i=Me([i],e.f.retryParameters)).body=t.message,i.method="POST",i.licenseRequestType=t.messageType,i.sessionId=r.sessionId,"com.microsoft.playready"!=e.a.keySystem&&"com.chromecast.playready"!=e.a.keySystem||function(e){var t=st(e.body,!0,!0);if(t.includes("PlayReadyKeyMessage")){for(var r=(t=(new DOMParser).parseFromString(t,"application/xml")).getElementsByTagName("HttpHeader"),n=0;n<r.length;++n)e.headers[r[n].querySelector("name").textContent]=r[n].querySelector("value").textContent;e.body=ht.Ba(t.querySelector("Challenge").textContent).buffer}else e.headers["Content-Type"]="text/xml; charset=utf-8"}(i),e.a.keySystem.startsWith("com.apple.fps")&&e.f.fairPlayTransform&&function(e){var t=new Uint8Array(e.body);t="spc="+ht.zc(t),e.headers["Content-Type"]="application/x-www-form-urlencoded",e.body=ut(t)}(i);var a=Date.now();e.B.ub.request(2,i).promise.then(function(e){return this.c?Promise.reject():(this.a.keySystem.startsWith("com.apple.fps")&&this.f.fairPlayTransform&&function(e){try{var t=at(e.data)}catch(e){return}"<ckc>"===(t=t.trim()).substr(0,5)&&"</ckc>"===t.substr(-6)&&(t=t.slice(5,-6));try{t=JSON.parse(t).ckc}catch(e){}e.data=ht.Ba(t).buffer}(e),this.K+=(Date.now()-a)/1e3,r.update(e.data).then(function(){var e=this;this.B.onEvent(new Se("drmsessionupdate")),n&&(n.ya&&n.ya.resolve(),new fe((function(){n.loaded=!0,Pt(e)&&e.m.resolve()})).R(Ot))}.bind(this)))}.bind(e),function(e){this.c||(e=new me(2,6,6007,e),this.g(e),n&&n.ya&&n.ya.reject(e))}.bind(e)).catch(function(e){this.c||(e=new me(2,6,6008,e.message),this.g(e),n&&n.ya&&n.ya.reject(e))}.bind(e))}function xt(){var e=[{contentType:'video/mp4; codecs="avc1.42E01E"'},{contentType:'video/webm; codecs="vp8"'}],t=[{videoCapabilities:e,persistentState:"required",sessionTypes:["persistent-license"]},{videoCapabilities:e}],r=new Map;return e="org.w3.clearkey com.widevine.alpha com.microsoft.playready com.apple.fps.3_0 com.apple.fps.2_0 com.apple.fps.1_0 com.apple.fps com.adobe.primetime".split(" ").map((function(e){return function(e){return p((function n(){var i,o,a;return M(n,(function(n){switch(n.j){case 1:return k(n,2),S(n,navigator.requestMediaKeySystemAccess(e,t),4);case 4:return i=n.o,a=!!(o=i.getConfiguration().sessionTypes)&&o.includes("persistent-license"),rt("Tizen 3")&&(a=!1),r.set(e,{persistentState:a}),S(n,i.createMediaKeys(),5);case 5:x(n,0);break;case 2:R(n),r.set(e,null),w(n)}}))}))}(e)})),Promise.all(e).then((function(){return $e(r)}))}function Rt(e,t){var r=t.audio,n=t.video;if(r&&r.encrypted&&!At(e,qe(r.mimeType,r.codecs))||n&&n.encrypted&&!At(e,qe(n.mimeType,n.codecs)))return!1;var i=_t(e.a);return 0==t.drmInfos.length||t.drmInfos.some((function(e){return e.keySystem==i}))}function Lt(e,t){if(!e.length)return t;if(!t.length)return e;for(var r=[],n=0;n<e.length;n++)for(var i=0;i<t.length;i++)if(e[n].keySystem==t[i].keySystem){var o=e[n];i=t[i];var a=[];a=(a=a.concat(o.initData||[])).concat(i.initData||[]);var s=[];s=(s=s.concat(o.keyIds)).concat(i.keyIds),r.push({keySystem:o.keySystem,licenseServerUri:o.licenseServerUri||i.licenseServerUri,distinctiveIdentifierRequired:o.distinctiveIdentifierRequired||i.distinctiveIdentifierRequired,persistentStateRequired:o.persistentStateRequired||i.persistentStateRequired,videoRobustness:o.videoRobustness||i.videoRobustness,audioRobustness:o.audioRobustness||i.audioRobustness,serverCertificate:o.serverCertificate||i.serverCertificate,initData:a,keyIds:s});break}return r}function jt(e){return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:return r=Array.from(e.b.keys()),e.b.clear(),S(t,Promise.all(r.map((function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return k(t,2),S(t,Promise.all([e.close(),e.closed]),4);case 4:x(t,0);break;case 2:R(t),w(t)}}))}))}))),0)}}))}))}function Pt(e){return ze(e=e.b.values(),(function(e){return e.loaded}))}function It(t,r,n){!t.keySystem||"org.w3.clearkey"==t.keySystem&&t.licenseServerUri||(r.size&&(r=r.get(t.keySystem)||"",t.licenseServerUri=r),t.keyIds||(t.keyIds=[]),(n=n.get(t.keySystem))&&(t.distinctiveIdentifierRequired||(t.distinctiveIdentifierRequired=n.distinctiveIdentifierRequired),t.persistentStateRequired||(t.persistentStateRequired=n.persistentStateRequired),t.videoRobustness||(t.videoRobustness=n.videoRobustness),t.audioRobustness||(t.audioRobustness=n.audioRobustness),t.serverCertificate||(t.serverCertificate=n.serverCertificate)),e.cast&&e.cast.__platform__&&"com.microsoft.playready"==t.keySystem&&(t.keySystem="com.chromecast.playready"))}G("shaka.util.Uint8ArrayUtils.toBase64",ht.zc),ht.Ba=function(t){t=e.atob(t.replace(/-/g,"+").replace(/_/g,"/"));for(var r=new Uint8Array(t.length),n=0;n<t.length;++n)r[n]=t.charCodeAt(n);return r},G("shaka.util.Uint8ArrayUtils.fromBase64",ht.Ba),ht.Qc=function(t){for(var r=new Uint8Array(t.length/2),n=0;n<t.length;n+=2)r[n/2]=e.parseInt(t.substr(n,2),16);return r},G("shaka.util.Uint8ArrayUtils.fromHex",ht.Qc),ht.Ac=function(e){for(var t="",r=0;r<e.length;++r){var n=e[r].toString(16);1==n.length&&(n="0"+n),t+=n}return t},G("shaka.util.Uint8ArrayUtils.toHex",ht.Ac),ht.za=function(e,t){if(!e&&!t)return!0;if(!e||!t||e.length!=t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!=t[r])return!1;return!0},G("shaka.util.Uint8ArrayUtils.equal",ht.za),ht.concat=function(e){for(var t=[],r=0;r<arguments.length;++r)t[r]=arguments[r];for(var n=r=0;n<t.length;++n)r+=t[n].length;r=new Uint8Array(r);for(var i=n=0;i<t.length;++i)r.set(t[i],n),n+=t[i].length;return r},G("shaka.util.Uint8ArrayUtils.concat",ht.concat),(n=pt.prototype).destroy=function(){var e=this;return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.c?S(t,e.na,0):(e.c=!0,S(t,function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.i.release(),e.i=null,e.m.reject(),e.$.stop(),e.$=null,e.O.stop(),e.O=null,S(t,jt(e),2);case 2:if(!e.h){t.A(3);break}return k(t,4),S(t,e.h.setMediaKeys(null),6);case 6:x(t,5);break;case 4:R(t);case 5:e.h=null;case 3:e.a=null,e.u.clear(),e.l=null,e.s=[],e.f=null,e.g=null,e.B=null,w(t)}}))}))}(e),4));case 4:e.na.resolve(),t.A(0)}}))}))},n.configure=function(e){this.f=e},n.Hb=function(e){var t=this;if(!this.l)return this.i.da(e,"encrypted",(function(){t.g(new me(2,6,6010))})),Promise.resolve();this.h=e,this.i.da(this.h,"play",(function(){for(var e=0;e<t.F.length;e++)Ct(t,t.F[e]);t.oa=!0,t.F=[]})),"webkitCurrentPlaybackTargetIsWireless"in this.h&&this.i.w(this.h,"webkitcurrentplaybacktargetiswirelesschanged",(function(){return jt(t)})),e=(e=this.h.setMediaKeys(this.l)).catch((function(e){return Promise.reject(new me(2,6,6003,e.message))}));var r=yt(this);return Promise.all([e,r]).then((function(){if(t.c)return Promise.reject();vt(t),t.a.initData.length||t.s.length||t.i.w(t.h,"encrypted",(function(e){return bt(t,e.initDataType,new Uint8Array(e.initData))}))})).catch((function(e){if(!t.c)return Promise.reject(e)}))},n.Lb=function(){for(var e=1/0,t=this.b.keys(),r=(t=f(t)).next();!r.done;r=t.next())r=r.value,isNaN(r.expiration)||(e=Math.min(e,r.expiration));return e},n.fe=function(e){this.h&&this.f.delayLicenseRequestUntilPlayed&&this.h.paused&&!this.oa?this.F.push(e):Ct(this,e)},n.de=function(e){e=e.target;var t=this.b.get(e),r=!1;e.keyStatuses.forEach(function(e,n){if("string"==typeof n){var i=n;n=e,e=i}if("com.microsoft.playready"==this.a.keySystem&&16==n.byteLength&&!rt("Tizen")&&!rt("VITIS")){var o=(i=new DataView(n)).getUint32(0,!0),a=i.getUint16(4,!0),s=i.getUint16(6,!0);i.setUint32(0,o,!1),i.setUint16(4,a,!1),i.setUint16(6,s,!1)}"com.microsoft.playready"==this.a.keySystem&&"status-pending"==e&&(e="usable"),"status-pending"!=e&&(t.loaded=!0),"expired"==e&&(r=!0),i=ht.Ac(new Uint8Array(n)),this.pa.set(i,e)}.bind(this));var n=e.expiration-Date.now();(0>n||r&&1e3>n)&&t&&!t.ya&&(this.b.delete(e),e.close().catch((function(){}))),Pt(this)&&(this.m.resolve(),this.O.R(Dt))};var Ot=5,Dt=.5;function Mt(){this.a=new muxjs.mp4.CaptionParser,this.g=[],this.f={}}function Nt(){}function Ft(e){return!e||1==e.length&&1e-6>e.end(0)-e.start(0)?null:e.length?e.end(e.length-1):null}function Ut(e,t,r){return r=void 0===r?0:r,!(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0)||t>e.end(e.length-1))&&t+r>=e.start(0)}function Bt(e,t){if(!e||!e.length||1==e.length&&1e-6>e.end(0)-e.start(0))return 0;for(var r=0,n=e.length-1;0<=n&&e.end(n)>t;--n)r+=e.end(n)-Math.max(e.start(n),t);return r}function Kt(e){if(!e)return[];for(var t=[],r=0;r<e.length;r++)t.push({start:e.start(r),end:e.end(r)});return t}Mt.prototype.init=function(e){var t=muxjs.mp4.probe;e=new Uint8Array(e),this.g=t.videoTrackIds(e),this.f=t.timescale(e),this.a.init()},Mt.prototype.b=function(e,t){var r=new Uint8Array(e);(r=this.a.parse(r,this.g,this.f))&&r.captions&&t(r.captions),this.a.clearParsedCaptions()},Mt.prototype.c=function(){this.a.resetCaptionStream()},Nt.prototype.init=function(){},Nt.prototype.b=function(){},Nt.prototype.c=function(){};var Gt={Ke:function(e,t){return e.reduce(function(e,t,r){return t.catch(e.bind(null,r))}.bind(null,t),Promise.reject())},Gc:function(e,t){return e.concat(t)},oc:function(){},Ia:function(e){return null!=e}};function Vt(e,t){if(0==t.length)return e;var r=t.map((function(e){return new Z(e)}));return e.map((function(e){return new Z(e)})).map((function(e){return r.map(e.resolve.bind(e))})).reduce(Gt.Gc,[]).map((function(e){return e.toString()}))}function Ht(e,t){return{keySystem:e,licenseServerUri:"",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:"",videoRobustness:"",serverCertificate:null,initData:t||[],keyIds:[]}}var Yt={Pa:"video",Eb:"audio",ra:"text",Cg:"image",Ag:"application"};function zt(){this.a=new muxjs.mp4.Transmuxer({keepOriginalTimestamps:!0}),this.b=null,this.g=[],this.c=[],this.f=!1,this.a.on("data",this.i.bind(this)),this.a.on("done",this.h.bind(this))}function Wt(t,r){return!(!e.muxjs||"mp2t"!=t.toLowerCase().split(";")[0].split("/")[1])&&(r?MediaSource.isTypeSupported($t(r,t)):MediaSource.isTypeSupported($t("audio",t))||MediaSource.isTypeSupported($t("video",t)))}function $t(e,t){var r=t.replace(/mp2t/i,"mp4");"audio"==e&&(r=r.replace("video","audio"));var n=/avc1\.(66|77|100)\.(\d+)/.exec(r);if(n){var i="avc1.",o=n[1],a=Number(n[2]);i=("66"==o?i+"4200":"77"==o?i+"4d00":i+"6400")+(a>>4).toString(16),i+=(15&a).toString(16),r=r.replace(n[0],i)}return r}function qt(e,t,r){this.startTime=e,this.direction=tr,this.endTime=t,this.payload=r,this.region=new ur,this.position=null,this.positionAlign=Xt,this.size=100,this.textAlign=Jt,this.writingMode=rr,this.lineInterpretation=nr,this.line=null,this.lineHeight="",this.lineAlign=ir,this.displayAlign=Qt,this.fontSize=this.backgroundImage=this.backgroundColor=this.color="",this.fontWeight=ar,this.fontStyle=sr,this.fontFamily="",this.textDecoration=[],this.wrapLine=!0,this.id="",this.nestedCues=[],this.spacer=!1}zt.prototype.destroy=function(){return this.a.dispose(),this.a=null,Promise.resolve()},zt.prototype.i=function(e){this.c=e.captions;var t=new Uint8Array(e.data.byteLength+e.initSegment.byteLength);t.set(e.initSegment,0),t.set(e.data,e.initSegment.byteLength),this.g.push(t)},zt.prototype.h=function(){var e={data:ht.concat.apply(null,this.g),captions:this.c};this.b.resolve(e),this.f=!1},G("shaka.text.Cue",qt);var Xt="auto";qt.positionAlign={LEFT:"line-left",RIGHT:"line-right",CENTER:"center",AUTO:Xt};var Jt="center",Zt={LEFT:"left",RIGHT:"right",CENTER:Jt,START:"start",END:"end"};qt.textAlign=Zt;var Qt="after",er={BEFORE:"before",CENTER:"center",AFTER:Qt};qt.displayAlign=er;var tr="ltr";qt.direction={HORIZONTAL_LEFT_TO_RIGHT:tr,HORIZONTAL_RIGHT_TO_LEFT:"rtl"};var rr="horizontal-tb";qt.writingMode={HORIZONTAL_TOP_TO_BOTTOM:rr,VERTICAL_LEFT_TO_RIGHT:"vertical-lr",VERTICAL_RIGHT_TO_LEFT:"vertical-rl"};var nr=0;qt.lineInterpretation={LINE_NUMBER:nr,PERCENTAGE:1};var ir="start",or={CENTER:"center",START:ir,END:"end"};qt.lineAlign=or;var ar=400;qt.fontWeight={NORMAL:ar,BOLD:700};var sr="normal",lr={NORMAL:sr,ITALIC:"italic",OBLIQUE:"oblique"};function ur(){this.id="",this.regionAnchorY=this.regionAnchorX=this.viewportAnchorY=this.viewportAnchorX=0,this.height=this.width=100,this.viewportAnchorUnits=this.widthUnits=this.heightUnits=cr,this.scroll=dr}qt.fontStyle=lr,qt.textDecoration={UNDERLINE:"underline",LINE_THROUGH:"lineThrough",OVERLINE:"overline"},G("shaka.text.CueRegion",ur);var cr=1;ur.units={PX:0,PERCENTAGE:cr,LINES:2};var dr="";function fr(e){this.g=null,this.c=e,this.f=this.m=0,this.h=1/0,this.b=this.a=null,this.l="",this.i=new Map}ur.scrollMode={NONE:dr,UP:"up"};var hr={};function pr(t){return!!(hr[t]||e.muxjs&&"application/cea-608"==t)}function mr(e,t){"application/cea-608"!=t&&(e.g=new hr[t])}function gr(e,t,r,n,i){for(var o=r+" "+n,a=new Map,s=(t=f(t)).next();!s.done;s=t.next()){var l=s.value;s=l.stream,a.has(s)||a.set(s,new Map),a.get(s).has(o)||a.get(s).set(o,[]),l.startTime+=i,l.endTime+=i,l.startTime>=e.f&&l.startTime<e.h&&(l=new qt(l.startTime,l.endTime,l.text),a.get(s).get(o).push(l),s==e.l&&e.c.append([l]))}for(o=(i=f(a.keys())).next();!o.done;o=i.next())for(o=o.value,e.i.has(o)||e.i.set(o,new Map),s=(t=f(a.get(o).keys())).next();!s.done;s=t.next())s=s.value,l=a.get(o).get(s),e.i.get(o).set(s,l);e.a=null==e.a?Math.max(r,e.f):Math.min(e.a,Math.max(r,e.f)),e.b=Math.max(e.b,Math.min(n,e.h))}function yr(e,t,r){this.f=e,this.g=r,this.b={},this.a=null,this.c={},this.i=new Be,this.u=!1,this.l={},this.m=t,e=this.s=new ge,t=new MediaSource,this.i.da(t,"sourceopen",e.resolve),this.f.src=vr(t),this.h=t}G("shaka.text.TextEngine.registerParser",(function(e,t){hr[e]=t})),G("shaka.text.TextEngine.unregisterParser",(function(e){delete hr[e]})),fr.prototype.destroy=function(){return this.c=this.g=null,this.i.clear(),Promise.resolve()},fr.prototype.kc=function(e){try{return this.g.parseMedia(new Uint8Array(e),{periodStart:0,segmentStart:null,segmentEnd:0})[0].startTime}catch(e){throw new me(2,2,2009,e)}},fr.prototype.remove=function(e,t){return Promise.resolve().then(function(){!this.c||!this.c.remove(e,t)||null==this.a||t<=this.a||e>=this.b||(e<=this.a&&t>=this.b?this.a=this.b=null:e<=this.a&&t<this.b?this.a=t:e>this.a&&t>=this.b&&(this.b=e))}.bind(this))};var vr=e.URL.createObjectURL;function br(e){var t=qe(e.mimeType,e.codecs),r=function(e){var t=[e.mimeType];return Je.forEach((function(r,n){var i=e[n];i&&t.push(r+'="'+i+'"')})),t.join(";")}(e);return pr(t)||MediaSource.isTypeSupported(r)||Wt(t,e.type)}function _r(e,t){e.a||(e.a=new fr(e.g)),mr(e.a,t)}function Ar(e){return!e.h||"ended"==e.h.readyState}function Er(e,t){if("text"==t)var r=e.a.a;else r=!(r=Sr(e,t))||1==r.length&&1e-6>r.end(0)-r.start(0)?null:1==r.length&&0>r.start(0)?0:r.length?r.start(0):null;return r}function Tr(e,t){return"text"==t?e.a.b:Ft(Sr(e,t))}function Sr(e,t){try{return e.b[t].buffered}catch(e){return null}}function wr(t,r,n,i,o,a){return"text"==r?function(e,t,r,n){return Promise.resolve().then(function(){if(this.g&&this.c)if(null==r||null==n)this.g.parseInit(new Uint8Array(t));else{var e={periodStart:this.m,segmentStart:r,segmentEnd:n};e=this.g.parseMedia(new Uint8Array(t),e).filter(function(e){return e.startTime>=this.f&&e.startTime<this.h}.bind(this)),this.c.append(e),null==this.a&&(this.a=Math.max(r,this.f)),this.b=Math.min(n,this.h)}}.bind(e))}(t.a,n,i,o):t.l[r]?function(e,t){e.f=!0,e.b=new ge,e.g=[],e.c=[];var r=new Uint8Array(t);return e.a.push(r),e.a.flush(),e.f&&e.b.reject(new me(2,3,3018)),e.b}(t.l[r],n).then(function(e){return this.a||_r(this,"text/vtt"),e.captions&&e.captions.length&&gr(this.a,e.captions,i,o,this.b.video.timestampOffset),xr(this,r,this.re.bind(this,r,e.data.buffer))}.bind(t)):(a&&e.muxjs&&(t.a||_r(t,"text/vtt"),null==i&&null==o?t.m.init(n):t.m.b(n,(function(e){e.length&&gr(t.a,e,i,o,t.b.video.timestampOffset)}))),xr(t,r,t.re.bind(t,r,n)))}function kr(e,t){var r=Tr(e,"video")||0;!function(e,t,r){if(e.l=t,t=e.i.get(t))for(var n=f(t.keys()),i=n.next();!i.done;i=n.next())(i=t.get(i.value).filter((function(e){return e.endTime<=r})))&&e.c.append(i)}(e.a,t,r)}function Cr(e,t){return"text"==t?e.a?(e.m.c(),e.a.remove(0,1/0)):Promise.resolve():xr(e,t,e.se.bind(e,t,0,e.h.duration))}function xr(e,t,r){if(e.u)return Promise.reject();if(r={start:r,p:new ge},e.c[t].push(r),1==e.c[t].length)try{r.start()}catch(n){"QuotaExceededError"==n.name?r.p.reject(new me(2,3,3017,t)):r.p.reject(new me(2,3,3015,n)),Lr(e,t)}return r.p}function Rr(e,t){if(e.u)return Promise.reject();var r,n=[];for(r in e.b){var i=new ge,o={start:function(e){e.resolve()}.bind(null,i),p:i};e.c[r].push(o),n.push(i),1==e.c[r].length&&o.start()}return Promise.all(n).then(function(){try{t()}catch(t){var e=Promise.reject(new me(2,3,3015,t))}for(var r in this.b)Lr(this,r);return e}.bind(e),function(e){throw e}.bind(e))}function Lr(e,t){e.c[t].shift();var r=e.c[t][0];if(r)try{r.start()}catch(n){r.p.reject(new me(2,3,3015,n)),Lr(e,t)}}function jr(e,t){return e=Ir(e),t=Ir(t),e.split("-")[0]==t.split("-")[0]}function Pr(e,t){e=Ir(e),t=Ir(t);var r=e.split("-"),n=t.split("-");return r[0]==n[0]&&1==r.length&&2==n.length}function Ir(e){var t=e.split("-");return e=t[0]||"",t=t[1]||"",e=e.toLowerCase(),e=Mr.get(e)||e,(t=t.toUpperCase())?e+"-"+t:e}function Or(e){return e.language?Ir(e.language):e.audio&&e.audio.language?Ir(e.audio.language):e.video&&e.video.language?Ir(e.video.language):"und"}function Dr(e,t){for(var r=Ir(e),n=new Set,i=f(t),o=i.next();!o.done;o=i.next())n.add(Ir(o.value));for(o=(i=f(n)).next();!o.done;o=i.next())if((o=o.value)==r)return o;for(o=(i=f(n)).next();!o.done;o=i.next())if(Pr(o=o.value,r))return o;for(o=(i=f(n)).next();!o.done;o=i.next()){var a=o=o.value,s=r;if(a=Ir(a),s=Ir(s),a=a.split("-"),s=s.split("-"),2==a.length&&2==s.length&&a[0]==s[0])return o}for(o=(n=f(n)).next();!o.done;o=n.next())if(Pr(r,i=o.value))return i;return null}(n=yr.prototype).destroy=function(){var e=this;this.u=!0;var t,r=[];for(t in this.c){var n=this.c[t],i=n[0];for(this.c[t]=n.slice(0,1),i&&r.push(i.p.catch(Gt.oc)),i=1;i<n.length;++i)n[i].p.reject()}for(var o in this.a&&r.push(this.a.destroy()),this.g&&r.push(this.g.destroy()),this.l)r.push(this.l[o].destroy());return Promise.all(r).then((function(){e.i&&(e.i.release(),e.i=null),e.f&&(e.f.removeAttribute("src"),e.f.load(),e.f=null),e.h=null,e.a=null,e.g=null,e.b={},e.l={},e.m=null,e.c={}}))},n.init=function(e,t){var r=this;return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return i=Yt,S(n,r.s,2);case 2:e.forEach((function(e,n){var o=qe(e.mimeType,e.codecs);n==i.ra?_r(r,o):(!t&&MediaSource.isTypeSupported(o)||!Wt(o,n)||(r.l[n]=new zt,o=$t(n,o)),o=r.h.addSourceBuffer(o),r.i.w(o,"error",r.lg.bind(r,n)),r.i.w(o,"updateend",r.xb.bind(r,n)),r.b[n]=o,r.c[n]=[])})),w(n)}}))}))},n.Sc=function(e){if(e.total=Kt(this.f.buffered),e.audio=Kt(Sr(this,"audio")),e.video=Kt(Sr(this,"video")),e.text=[],this.a){var t=this.a.a,r=this.a.b;null!=t&&null!=r&&e.text.push({start:t,end:r})}},n.remove=function(e,t,r){return"text"==e?this.a.remove(t,r):xr(this,e,this.se.bind(this,e,t,r))},n.flush=function(e){return"text"==e?Promise.resolve():xr(this,e,this.Pe.bind(this,e))},n.endOfStream=function(e){return Rr(this,function(){Ar(this)||(e?this.h.endOfStream(e):this.h.endOfStream())}.bind(this))},n.xa=function(e){return Rr(this,function(){this.h.duration=e}.bind(this))},n.Y=function(){return this.h.duration},n.re=function(e,t){this.b[e].appendBuffer(t)},n.se=function(e,t,r){r<=t?this.xb(e):this.b[e].remove(t,r)},n.Be=function(e){var t=this.b[e].appendWindowStart,r=this.b[e].appendWindowEnd;this.b[e].abort(),this.b[e].appendWindowStart=t,this.b[e].appendWindowEnd=r,this.xb(e)},n.Pe=function(e){this.f.currentTime-=.001,this.xb(e)},n.kg=function(e,t){0>t&&(t+=.001),this.b[e].timestampOffset=t,this.xb(e)},n.hg=function(e,t,r){this.b[e].appendWindowStart=0,this.b[e].appendWindowEnd=r,this.b[e].appendWindowStart=t,this.xb(e)},n.lg=function(e){this.c[e][0].p.reject(new me(2,3,3014,this.f.error?this.f.error.code:0))},n.xb=function(e){var t=this.c[e][0];t&&(t.p.resolve(),Lr(this,e))};var Mr=new Map([["aar","aa"],["abk","ab"],["afr","af"],["aka","ak"],["alb","sq"],["amh","am"],["ara","ar"],["arg","an"],["arm","hy"],["asm","as"],["ava","av"],["ave","ae"],["aym","ay"],["aze","az"],["bak","ba"],["bam","bm"],["baq","eu"],["bel","be"],["ben","bn"],["bih","bh"],["bis","bi"],["bod","bo"],["bos","bs"],["bre","br"],["bul","bg"],["bur","my"],["cat","ca"],["ces","cs"],["cha","ch"],["che","ce"],["chi","zh"],["chu","cu"],["chv","cv"],["cor","kw"],["cos","co"],["cre","cr"],["cym","cy"],["cze","cs"],["dan","da"],["deu","de"],["div","dv"],["dut","nl"],["dzo","dz"],["ell","el"],["eng","en"],["epo","eo"],["est","et"],["eus","eu"],["ewe","ee"],["fao","fo"],["fas","fa"],["fij","fj"],["fin","fi"],["fra","fr"],["fre","fr"],["fry","fy"],["ful","ff"],["geo","ka"],["ger","de"],["gla","gd"],["gle","ga"],["glg","gl"],["glv","gv"],["gre","el"],["grn","gn"],["guj","gu"],["hat","ht"],["hau","ha"],["heb","he"],["her","hz"],["hin","hi"],["hmo","ho"],["hrv","hr"],["hun","hu"],["hye","hy"],["ibo","ig"],["ice","is"],["ido","io"],["iii","ii"],["iku","iu"],["ile","ie"],["ina","ia"],["ind","id"],["ipk","ik"],["isl","is"],["ita","it"],["jav","jv"],["jpn","ja"],["kal","kl"],["kan","kn"],["kas","ks"],["kat","ka"],["kau","kr"],["kaz","kk"],["khm","km"],["kik","ki"],["kin","rw"],["kir","ky"],["kom","kv"],["kon","kg"],["kor","ko"],["kua","kj"],["kur","ku"],["lao","lo"],["lat","la"],["lav","lv"],["lim","li"],["lin","ln"],["lit","lt"],["ltz","lb"],["lub","lu"],["lug","lg"],["mac","mk"],["mah","mh"],["mal","ml"],["mao","mi"],["mar","mr"],["may","ms"],["mkd","mk"],["mlg","mg"],["mlt","mt"],["mon","mn"],["mri","mi"],["msa","ms"],["mya","my"],["nau","na"],["nav","nv"],["nbl","nr"],["nde","nd"],["ndo","ng"],["nep","ne"],["nld","nl"],["nno","nn"],["nob","nb"],["nor","no"],["nya","ny"],["oci","oc"],["oji","oj"],["ori","or"],["orm","om"],["oss","os"],["pan","pa"],["per","fa"],["pli","pi"],["pol","pl"],["por","pt"],["pus","ps"],["que","qu"],["roh","rm"],["ron","ro"],["rum","ro"],["run","rn"],["rus","ru"],["sag","sg"],["san","sa"],["sin","si"],["slk","sk"],["slo","sk"],["slv","sl"],["sme","se"],["smo","sm"],["sna","sn"],["snd","sd"],["som","so"],["sot","st"],["spa","es"],["sqi","sq"],["srd","sc"],["srp","sr"],["ssw","ss"],["sun","su"],["swa","sw"],["swe","sv"],["tah","ty"],["tam","ta"],["tat","tt"],["tel","te"],["tgk","tg"],["tgl","tl"],["tha","th"],["tib","bo"],["tir","ti"],["ton","to"],["tsn","tn"],["tso","ts"],["tuk","tk"],["tur","tr"],["twi","tw"],["uig","ug"],["ukr","uk"],["urd","ur"],["uzb","uz"],["ven","ve"],["vie","vi"],["vol","vo"],["wel","cy"],["wln","wa"],["wol","wo"],["xho","xh"],["yid","yi"],["yor","yo"],["zha","za"],["zho","zh"],["zul","zu"]]),Nr={bd:function(e,t,r){function n(e,t,r){return e>=t&&e<=r}var i=e.video;return!(i&&i.width&&i.height&&(!n(i.width,t.minWidth,Math.min(t.maxWidth,r.width))||!n(i.height,t.minHeight,Math.min(t.maxHeight,r.height))||!n(i.width*i.height,t.minPixels,t.maxPixels))||e&&e.frameRate&&!n(e.frameRate,t.minFrameRate,t.maxFrameRate)||!n(e.bandwidth,t.minBandwidth,t.maxBandwidth))},Gd:function(e,t,r){var n=!1;return e.forEach((function(e){var i=e.allowedByApplication;e.allowedByApplication=Nr.bd(e,t,r),i!=e.allowedByApplication&&(n=!0)})),n},filterNewPeriod:function(e,t,r,n){n.variants=n.variants.filter((function(n){if(e&&e.S&&!Rt(e,n))return!1;var i=n.audio;return n=n.video,!(i&&!br(i)||n&&!br(n)||i&&t&&!Nr.Hd(i,t)||n&&r&&!Nr.Hd(n,r))})),n.textStreams=n.textStreams.filter((function(e){return pr(qe(e.mimeType,e.codecs))}))},Hd:function(e,t){return e.mimeType==t.mimeType&&e.codecs.split(".")[0]==t.codecs.split(".")[0]},Ed:function(e){var t=e.audio,r=e.video,n=t?t.codecs:null,i=r?r.codecs:null,o=[];i&&o.push(i),n&&o.push(n);var a=[];r&&a.push(r.mimeType),t&&a.push(t.mimeType),a=a[0]||null;var s=[];t&&s.push(t.kind),r&&s.push(r.kind),s=s[0]||null;var l=new Set;return t&&t.roles.forEach((function(e){return l.add(e)})),r&&r.roles.forEach((function(e){return l.add(e)})),e={id:e.id,active:!1,type:"variant",bandwidth:e.bandwidth,language:e.language,label:null,kind:s,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:a,codecs:o.join(", "),audioCodec:n,videoCodec:i,primary:e.primary,roles:Array.from(l),audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null},r&&(e.videoId=r.id,e.originalVideoId=r.originalId,e.width=r.width||null,e.height=r.height||null,e.frameRate=r.frameRate||null,e.pixelAspectRatio=r.pixelAspectRatio||null,e.videoBandwidth=r.bandwidth||null),t&&(e.audioId=t.id,e.originalAudioId=t.originalId,e.channelsCount=t.channelsCount,e.audioSamplingRate=t.audioSamplingRate,e.audioBandwidth=t.bandwidth||null,e.label=t.label,e.audioRoles=t.roles),e},xc:function(e){return{id:e.id,active:!1,type:"text",bandwidth:0,language:e.language,label:e.label,kind:e.kind||null,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:e.mimeType,codecs:e.codecs||null,audioCodec:null,videoCodec:null,primary:e.primary,roles:e.roles,audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:e.originalId}},Wc:function(e){return e.__shaka_id||(e.__shaka_id=Nr.yf++),e.__shaka_id},yf:0,sf:function(e){var t=Nr.Sd(e);return t.active="disabled"!=e.mode,t.type="text",t.originalTextId=e.id,"captions"==e.kind&&(t.mimeType="application/cea-608"),t},rf:function(e){var t=Nr.Sd(e);return t.active=e.enabled,t.type="variant",t.originalAudioId=e.id,"main"==e.kind?(t.primary=!0,t.roles=["main"],t.audioRoles=["main"]):t.audioRoles=[],t},Sd:function(e){return{id:Nr.Wc(e),active:!1,type:"",bandwidth:0,language:Ir(e.language),label:e.label,kind:e.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null}},rb:function(e){return e.allowedByApplication&&e.allowedByKeySystem},df:function(e){return e.filter((function(e){return Nr.rb(e)}))},Nd:function(e,t){for(var r=e.filter((function(e){return e.audio&&e.audio.channelsCount})),n=new Map,i=(r=f(r)).next();!i.done;i=r.next()){var o=(i=i.value).audio.channelsCount;n.has(o)||n.set(o,[]),n.get(o).push(i)}return 0==(r=Array.from(n.keys())).length?e:(i=r.filter((function(e){return e<=t}))).length?n.get(Math.max.apply(null,i)):n.get(Math.min.apply(null,r))},Jb:function(e,t,r){var n=e,i=e.filter((function(e){return e.primary}));i.length&&(n=i);var o=n.length?n[0].language:"";if(n=n.filter((function(e){return e.language==o})),t){var a=Dr(Ir(t),e.map((function(e){return e.language})));a&&(n=e.filter((function(e){return Ir(e.language)==a})))}if(r){if((e=Nr.Md(n,r)).length)return e}else if((e=n.filter((function(e){return 0==e.roles.length}))).length)return e;return(e=n.map((function(e){return e.roles})).reduce(Gt.Gc,[])).length?Nr.Md(n,e[0]):n},Md:function(e,t){return e.filter((function(e){return e.roles.includes(t)}))},Qd:function(e,t,r){for(var n=0;n<r.length;n++)if(r[n].audio==e&&r[n].video==t)return r[n];return null},tf:function(e){return"audio"==e.type},wf:function(e){return"video"==e.type},nf:function(e){var t=[];return e.audio&&t.push(e.audio),e.video&&t.push(e.video),t},Gg:function(e){return Nr.tf(e)?"type=audio codecs="+e.codecs+" bandwidth="+e.bandwidth+" channelsCount="+e.channelsCount+" audioSamplingRate="+e.audioSamplingRate:Nr.wf(e)?"type=video codecs="+e.codecs+" bandwidth="+e.bandwidth+" frameRate="+e.frameRate+" width="+e.width+" height="+e.height:"unexpected stream type"}};function Fr(){this.h=null,this.f=!1,this.b=new W,this.c=[],this.i=!1,this.a=this.g=null}function Ur(e,t){return e&&(t=t.filter((function(t){return Nr.bd(t,e,{width:1/0,height:1/0})}))),t.sort((function(e,t){return e.bandwidth-t.bandwidth}))}function Br(e,t){this.a=e,this.b=t}function Kr(e,t){var r=new Br(2,6),n=Hr,i=n.a,o=r.b-i.b;(0<(r.a-i.a||o)?n.c:n.b)(n.a,r,e,t)}function Gr(e,t,r,n){q([r,"has been deprecated and will be removed in",t,". We are currently at version",e,". Additional information:",n].join(" "))}function Vr(e,t,r,n){$([r,"has been deprecated and has been removed in",t,". We are now at version",e,". Additional information:",n].join(""))}G("shaka.abr.SimpleAbrManager",Fr),Fr.prototype.stop=function(){this.h=null,this.f=!1,this.c=[],this.g=null},Fr.prototype.stop=Fr.prototype.stop,Fr.prototype.init=function(e){this.h=e},Fr.prototype.init=Fr.prototype.init,Fr.prototype.chooseVariant=function(){var e=Ur(this.a.restrictions,this.c),t=this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate);this.c.length&&!e.length&&(e=[(e=Ur(null,this.c))[0]]);for(var r=e[0]||null,n=0;n<e.length;++n){var i=e[n],o=(e[n+1]||{bandwidth:1/0}).bandwidth/this.a.bandwidthUpgradeTarget;t>=i.bandwidth/this.a.bandwidthDowngradeTarget&&t<=o&&(r=i)}return this.g=Date.now(),r},Fr.prototype.chooseVariant=Fr.prototype.chooseVariant,Fr.prototype.enable=function(){this.f=!0},Fr.prototype.enable=Fr.prototype.enable,Fr.prototype.disable=function(){this.f=!1},Fr.prototype.disable=Fr.prototype.disable,Fr.prototype.segmentDownloaded=function(e,t){var r=this.b;if(!(16e3>t)){var n=8e3*t/e,i=e/1e3;r.a+=t,Y(r.b,i,n),Y(r.c,i,n)}if(null!=this.g&&this.f)e:{if(this.i){if(Date.now()-this.g<1e3*this.a.switchInterval)break e}else{if(!(128e3<=this.b.a))break e;this.i=!0}r=this.chooseVariant(),this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate),this.h(r)}},Fr.prototype.segmentDownloaded=Fr.prototype.segmentDownloaded,Fr.prototype.getBandwidthEstimate=function(){return this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate)},Fr.prototype.getBandwidthEstimate=Fr.prototype.getBandwidthEstimate,Fr.prototype.setVariants=function(e){this.c=e},Fr.prototype.setVariants=Fr.prototype.setVariants,Fr.prototype.configure=function(e){this.a=e},Fr.prototype.configure=Fr.prototype.configure,Br.prototype.toString=function(){return"v"+this.a+"."+this.b};var Hr=null,Yr="ended play playing pause pausing ratechange seeked seeking timeupdate volumechange".split(" "),zr="buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume".split(" "),Wr=["loop","playbackRate"],$r=["pause","play"],qr="abrstatuschanged adaptation buffering drmsessionupdate emsg error expirationupdated largegap loading manifestparsed onstatechange onstateidle streaming textchanged texttrackvisibility timelineregionadded timelineregionenter timelineregionexit trackschanged unloading variantchanged".split(" "),Xr={getAssetUri:2,getAudioLanguages:2,getAudioLanguagesAndRoles:2,getBufferedInfo:2,getConfiguration:2,getExpiration:2,getPlaybackRate:2,getTextLanguages:2,getTextLanguagesAndRoles:2,getTextTracks:2,getStats:5,getVariantTracks:2,isAudioOnly:10,isBuffering:1,isInProgress:1,isLive:10,isTextTrackVisible:1,keySystem:10,seekRange:1,usingEmbeddedTextTrack:2,getLoadMode:10},Jr={getPlayheadTimeAsDate:1,getPresentationStartTimeAsDate:20},Zr=[["getConfiguration","configure"]],Qr=[["isTextTrackVisible","setTextTrackVisibility"]],en="addTextTrack cancelTrickPlay configure resetConfiguration retryStreaming selectAudioLanguage selectEmbeddedTextTrack selectTextLanguage selectTextTrack selectVariantTrack selectVariantsByLabel setTextTrackVisibility trickPlay".split(" "),tn=["attach","detach","load","unload"];function rn(e){return JSON.stringify(e,(function(e,t){if("function"!=typeof t){if(t instanceof Event||t instanceof Se){var r,n={};for(r in t){var i=t[r];i&&"object"==typeof i?"detail"==r&&(n[r]=i):r in Event||(n[r]=i)}return n}if(t instanceof TimeRanges)for(n={__type__:"TimeRanges",length:t.length,start:[],end:[]},r=0;r<t.length;++r)n.start.push(t.start(r)),n.end.push(t.end(r));else n=t instanceof Uint8Array?{__type__:"Uint8Array",entries:Array.from(t)}:"number"==typeof t?isNaN(t)?"NaN":isFinite(t)?t:0>t?"-Infinity":"Infinity":t;return n}}))}function nn(e){return JSON.parse(e,(function(e,t){return"NaN"==t?NaN:"-Infinity"==t?-1/0:"Infinity"==t?1/0:t&&"object"==typeof t&&"TimeRanges"==t.__type__?function(e){return{length:e.length,start:function(t){return e.start[t]},end:function(t){return e.end[t]}}}(t):t&&"object"==typeof t&&"Uint8Array"==t.__type__?new Uint8Array(t.entries):t}))}function on(e,t,r,n,i,o){this.O=e,this.f=new fe(t),this.S=r,this.l=!1,this.F=n,this.K=i,this.B=o,this.b=this.h=!1,this.D="",this.i=null,this.m=this.ce.bind(this),this.s=this.Ff.bind(this),this.a={video:{},player:{}},this.u=0,this.c={},this.g=null,pn.add(this)}var an=!1,sn=null;function ln(e){for(var t=f(pn),r=t.next();!r.done;r=t.next())un(r.value,e)}function un(e,t){var r=e.B();e.g=new ge,e.l=!0,e.kd(r,t)}function cn(e){for(var t=f(pn),r=t.next();!r.done;r=t.next())r=r.value,an="available"==e,r.f.yc()}function dn(e){var t=sn;t.removeUpdateListener(e.m),t.removeMessageListener("urn:x-cast:com.google.shaka.v2",e.s)}function fn(e){for(var t in e.c){var r=e.c[t];delete e.c[t],r.reject(new me(1,7,7e3))}}function hn(e){e=rn(e),sn.sendMessage("urn:x-cast:com.google.shaka.v2",e,(function(){}),X)}(n=on.prototype).destroy=function(){return pn.delete(this),fn(this),sn&&dn(this),this.f&&(this.f.stop(),this.f=null),this.K=this.F=null,this.b=this.h=!1,this.s=this.m=this.g=this.c=this.a=this.i=null,Promise.resolve()},n.ga=function(){return this.b},n.nd=function(){return this.D},n.init=function(){if(e.chrome&&chrome.cast&&chrome.cast.isAvailable&&this.O.length){this.h=!0,this.f.yc();var t=new chrome.cast.SessionRequest(this.O);t=new chrome.cast.ApiConfig(t,ln.bind(this),cn.bind(this),"origin_scoped"),chrome.cast.initialize(t,(function(){}),(function(){})),an&&this.f.R(.02),(t=sn)&&t.status!=chrome.cast.SessionStatus.STOPPED?un(this,t):sn=null}},n.ud=function(e){this.i=e,this.b&&hn({type:"appData",appData:this.i})},n.cast=function(e){return this.h?an?this.b?Promise.reject(new me(1,8,8002)):(this.g=new ge,chrome.cast.requestSession(this.kd.bind(this,e),this.be.bind(this)),this.g):Promise.reject(new me(1,8,8001)):Promise.reject(new me(1,8,8e3))},n.Kb=function(){this.b&&(fn(this),sn&&(dn(this),sn.stop((function(){}),(function(){})),sn=null))},n.get=function(e,t){if("video"==e){if($r.includes(t))return this.le.bind(this,e,t)}else if("player"==e){if(Jr[t]&&!this.get("player","isLive")())return function(){};if(en.includes(t))return this.le.bind(this,e,t);if(tn.includes(t))return this.Wf.bind(this,e,t);if(Xr[t])return this.ie.bind(this,e,t)}return this.ie(e,t)},n.set=function(e,t,r){this.a[e][t]=r,hn({type:"set",targetName:e,property:t,value:r})},n.kd=function(e,t){sn=t,t.addUpdateListener(this.m),t.addMessageListener("urn:x-cast:com.google.shaka.v2",this.s),this.ce(),hn({type:"init",initState:e,appData:this.i}),this.g.resolve()},n.be=function(e){var t=8003;switch(e.code){case"cancel":t=8004;break;case"timeout":t=8005;break;case"receiver_unavailable":t=8006}this.g.reject(new me(2,8,t,e))},n.ie=function(e,t){return this.a[e][t]},n.le=function(e,t,r){for(var n=[],i=2;i<arguments.length;++i)n[i-2]=arguments[i];hn({type:"call",targetName:e,methodName:t,args:n})},n.Wf=function(e,t,r){for(var n=[],i=2;i<arguments.length;++i)n[i-2]=arguments[i];i=new ge;var o=this.u.toString();return this.u++,this.c[o]=i,hn({type:"asyncCall",targetName:e,methodName:t,args:n,id:o}),i},n.ce=function(){var e=!!sn&&"connected"==sn.status;if(this.b&&!e){for(var t in this.K(),this.a)this.a[t]={};fn(this)}this.D=(this.b=e)?sn.receiver.friendlyName:"",this.f.yc()},n.Ff=function(e,t){var r=nn(t);switch(r.type){case"event":var n=r.event;this.F(r.targetName,new Se(n.type,n));break;case"update":for(var i in n=r.update)for(var o in r=this.a[i]||{},n[i])r[o]=n[i][o];this.l&&(this.S(),this.l=!1);break;case"asyncComplete":if(i=r.id,r=r.error,o=this.c[i],delete this.c[i],o)if(r){for(n in i=new me(r.severity,r.category,r.code),r)i[n]=r[n];o.reject(i)}else o.resolve()}};var pn=new Set;function mn(e,t,r){var n=this;ke.call(this),this.c=e,this.b=t,this.i=this.g=this.f=this.l=this.h=null,this.s=r,this.m=new Map,this.a=new on(r,(function(){return vn(n)}),(function(){return bn(n)}),(function(e,t){return An(n,e,t)}),(function(){return _n(n)}),(function(){return yn(n)})),function(e){for(var t in e.a.init(),e.i=new Be,Yr.forEach(function(e){this.i.w(this.c,e,this.D.bind(this))}.bind(e)),qr.forEach(function(e){this.i.w(this.b,e,this.u.bind(this))}.bind(e)),e.h={},e.c)Object.defineProperty(e.h,t,{configurable:!1,enumerable:!0,get:e.B.bind(e,t),set:e.F.bind(e,t)});e.l={},gn(e,(function(t){Object.defineProperty(e.l,t,{configurable:!1,enumerable:!0,get:function(){return function e(t,r){if(t.m.has(r)&&(r=t.m.get(r)),"addEventListener"==r)return t.g.addEventListener.bind(t.g);if("removeEventListener"==r)return t.g.removeEventListener.bind(t.g);if("getMediaElement"==r)return function(){return this.h}.bind(t);if("getSharedConfiguration"==r)return t.a.get("player","getConfiguration");if("getNetworkingEngine"==r)return t.b.Mb.bind(t.b);if(t.a.ga()){if("getManifest"==r||"drmInfo"==r)return function(){return q(r+"() does not work while casting!"),null};if("getManifestUri"==r)return Kr("getManifestUri",'Please use "getAssetUri" instead.'),e(t,"getAssetUri");if("attach"==r||"detach"==r)return function(){return q(r+"() does not work while casting!"),Promise.resolve()}}return t.a.ga()&&0==Object.keys(t.a.a.video).length&&Xr[r]||!t.a.ga()?t.b[r].bind(t.b):t.a.get("player",r)}(e,t)}})})),function(e){var t=new Map;gn(e,(function(r,n){if(t.has(n)){var i=t.get(n);r.length<i.length?e.m.set(r,i):e.m.set(i,r)}else t.set(n,r)}))}(e),e.f=new ke,e.f.$b=e.h,e.g=new ke,e.g.$b=e.l}(this)}function gn(e,t){function r(e){return"constructor"!=e&&"function"==typeof n[e]&&!i.has(e)}var n=e.b,i=new Set;for(o in n)r(o)&&(i.add(o),t(o,n[o]));for(var o=Object.getPrototypeOf(n),a=Object.getPrototypeOf({});o&&o!=a;){for(var s=f(Object.getOwnPropertyNames(o)),l=s.next();!l.done;l=s.next())r(l=l.value)&&(i.add(l),t(l,n[l]));o=Object.getPrototypeOf(o)}}function yn(e){var t={video:{},player:{},playerAfterLoad:{},manifest:e.b.hc(),startTime:null};return e.c.pause(),Wr.forEach(function(e){t.video[e]=this.c[e]}.bind(e)),e.c.ended||(t.startTime=e.c.currentTime),Zr.forEach(function(e){var r=e[1];e=this.b[e[0]](),t.player[r]=e}.bind(e)),Qr.forEach(function(e){var r=e[1];e=this.b[e[0]](),t.playerAfterLoad[r]=e}.bind(e)),t}function vn(e){e.dispatchEvent(new Se("caststatuschanged"))}function bn(e){e.f.dispatchEvent(new Se(e.h.paused?"pause":"play"))}function _n(e){Zr.forEach(function(e){var t=e[1];e=this.a.get("player",e[0])(),this.b[t](e)}.bind(e));var t=e.a.get("player","getAssetUri")(),r=e.a.get("video","ended"),n=Promise.resolve(),i=e.c.autoplay,o=null;r||(o=e.a.get("video","currentTime")),t&&(e.c.autoplay=!1,n=e.b.load(t,o));var a={};Wr.forEach(function(e){a[e]=this.a.get("video",e)}.bind(e)),n.then((function(){e.c&&(Wr.forEach(function(e){this.c[e]=a[e]}.bind(e)),Qr.forEach(function(e){var t=e[1];e=this.a.get("player",e[0])(),this.b[t](e)}.bind(e)),e.c.autoplay=i,t&&e.c.play())}),(function(t){e.b.dispatchEvent(new Se("error",{detail:t}))}))}function An(e,t,r){e.a.ga()&&("video"==t?e.f.dispatchEvent(r):"player"==t&&e.g.dispatchEvent(r))}function En(e,t,r,n){var i=this;ke.call(this),this.a=e,this.b=t,this.c=new Be,this.D={video:e,player:t},this.s=r||function(){},this.F=n||function(e){return e},this.u=!1,this.h=!0,this.g=0,this.m=!1,this.l=!0,this.i=this.f=null,this.B=new fe((function(){Sn(i)})),function(e){var t=cast.receiver.CastReceiverManager.getInstance();t.onSenderConnected=e.ee.bind(e),t.onSenderDisconnected=e.ee.bind(e),t.onSystemVolumeChanged=e.Oe.bind(e),e.i=t.getCastMessageBus("urn:x-cast:com.google.cast.media"),e.i.onMessage=e.Af.bind(e),e.f=t.getCastMessageBus("urn:x-cast:com.google.shaka.v2"),e.f.onMessage=e.Kf.bind(e),t.start(),Yr.forEach(function(e){this.c.w(this.a,e,this.je.bind(this,"video"))}.bind(e)),qr.forEach(function(e){this.c.w(this.b,e,this.je.bind(this,"player"))}.bind(e)),cast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs="avc1.640028"; width=3840; height=2160')?e.b.vd(3840,2160):e.b.vd(1920,1080),e.c.w(e.a,"loadeddata",function(){this.m=!0}.bind(e)),e.c.w(e.b,"loading",function(){this.h=!1,Tn(this)}.bind(e)),e.c.w(e.a,"playing",function(){this.h=!1,Tn(this)}.bind(e)),e.c.w(e.a,"pause",function(){Tn(this)}.bind(e)),e.c.w(e.b,"unloading",function(){this.h=!0,Tn(this)}.bind(e)),e.c.w(e.a,"ended",function(){var e=this;new fe((function(){e.a&&e.a.ended&&(e.h=!0,Tn(e))})).R(5)}.bind(e))}(this)}function Tn(e){Promise.resolve().then(function(){this.b&&(this.dispatchEvent(new Se("caststatuschanged")),wn(this)||xn(this,0))}.bind(e))}function Sn(e){e.B.R(.5);var t={video:{},player:{}};if(zr.forEach(function(e){t.video[e]=this.a[e]}.bind(e)),e.b.V())for(var r in Jr)0==e.g%Jr[r]&&(t.player[r]=e.b[r]());for(var n in Xr)0==e.g%Xr[n]&&(t.player[n]=e.b[n]());(r=cast.receiver.CastReceiverManager.getInstance().getSystemVolume())&&(t.video.volume=r.level,t.video.muted=r.muted),e.m&&(e.g+=1),Cn(e,{type:"update",update:t},e.f),wn(e)}function wn(e){return!(!e.l||!e.a.duration&&!e.b.V()||(kn(e),e.l=!1,0))}function kn(e){var t={contentId:e.b.hc(),streamType:e.b.V()?"LIVE":"BUFFERED",duration:e.a.duration,contentType:""};xn(e,0,t)}function Cn(e,t,r,n){e.u&&(e=rn(t),n?r.getCastChannel(n).send(e):r.broadcast(e))}function xn(e,t,r){var n=e.a.playbackRate,i=Rn;n={mediaSessionId:0,playbackRate:n,playerState:i=e.h?i.IDLE:e.b.Xc()?i.we:e.a.paused?i.ye:i.ze,currentTime:e.a.currentTime,supportedMediaCommands:15,volume:{level:e.a.volume,muted:e.a.muted}},r&&(n.media=r),Cn(e,{requestId:t,type:"MEDIA_STATUS",status:[n]},e.i)}e.__onGCastApiAvailable=function(e){if(e)for(var t=(e=f(pn)).next();!t.done;t=e.next())t.value.init()},V(mn,ke),G("shaka.cast.CastProxy",mn),mn.prototype.destroy=function(e){return e&&this.a.Kb(),this.i&&(this.i.release(),this.i=null),e=[],this.b&&(e.push(this.b.destroy()),this.b=null),this.a&&(e.push(this.a.destroy()),this.a=null),this.l=this.h=this.c=null,Promise.all(e)},mn.prototype.destroy=mn.prototype.destroy,mn.prototype.pf=function(){return this.h},mn.prototype.getVideo=mn.prototype.pf,mn.prototype.ff=function(){return this.l},mn.prototype.getPlayer=mn.prototype.ff,mn.prototype.Ee=function(){return this.a.h&&an},mn.prototype.canCast=mn.prototype.Ee,mn.prototype.ga=function(){return this.a.ga()},mn.prototype.isCasting=mn.prototype.ga,mn.prototype.nd=function(){return this.a.nd()},mn.prototype.receiverName=mn.prototype.nd,mn.prototype.cast=function(){var e=yn(this);return this.a.cast(e).then(function(){if(this.b)return this.b.Cd()}.bind(this))},mn.prototype.cast=mn.prototype.cast,mn.prototype.ud=function(e){this.a.ud(e)},mn.prototype.setAppData=mn.prototype.ud,mn.prototype.sg=function(){var e=this.a;if(e.b){var t=e.B();chrome.cast.requestSession(e.kd.bind(e,t),e.be.bind(e))}},mn.prototype.suggestDisconnect=mn.prototype.sg,mn.prototype.He=function(e){var t=this;return p((function r(){return M(r,(function(r){switch(r.j){case 1:return e==t.s?r.return():(t.s=e,t.a.Kb(),S(r,t.a.destroy(),2));case 2:t.a=null,t.a=new on(e,(function(){return vn(t)}),(function(){return bn(t)}),(function(e,r){return An(t,e,r)}),(function(){return _n(t)}),(function(){return yn(t)})),t.a.init(),w(r)}}))}))},mn.prototype.changeReceiverId=mn.prototype.He,mn.prototype.Kb=function(){this.a.Kb()},mn.prototype.forceDisconnect=mn.prototype.Kb,mn.prototype.B=function(e){if("addEventListener"==e)return this.f.addEventListener.bind(this.f);if("removeEventListener"==e)return this.f.removeEventListener.bind(this.f);if(this.a.ga()&&0==Object.keys(this.a.a.video).length){var t=this.c[e];if("function"!=typeof t)return t}return this.a.ga()?this.a.get("video",e):("function"==typeof(e=this.c[e])&&(e=e.bind(this.c)),e)},mn.prototype.F=function(e,t){this.a.ga()?this.a.set("video",e,t):this.c[e]=t},mn.prototype.D=function(e){this.a.ga()||this.f.dispatchEvent(new Se(e.type,e))},mn.prototype.u=function(e){this.a.ga()||this.g.dispatchEvent(e)},V(En,ke),G("shaka.cast.CastReceiver",En),En.prototype.isConnected=function(){return this.u},En.prototype.isConnected=En.prototype.isConnected,En.prototype.vf=function(){return this.h},En.prototype.isIdle=En.prototype.vf,En.prototype.destroy=function(){var e=this;return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:return e.c&&(e.c.release(),e.c=null),r=[],e.b&&(r.push(e.b.destroy()),e.b=null),e.B&&(e.B.stop(),e.B=null),e.a=null,e.D=null,e.s=null,e.u=!1,e.h=!0,e.f=null,e.i=null,S(t,Promise.all(r),2);case 2:cast.receiver.CastReceiverManager.getInstance().stop(),w(t)}}))}))},En.prototype.destroy=En.prototype.destroy,(n=En.prototype).ee=function(){this.g=0,this.l=!0,this.u=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length,Tn(this)},n.je=function(e,t){this.b&&(Sn(this),Cn(this,{type:"event",targetName:e,event:t},this.f))},n.Oe=function(){var e=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();e&&Cn(this,{type:"update",update:{video:{volume:e.level,muted:e.muted}}},this.f),Cn(this,{type:"event",targetName:"video",event:{type:"volumechange"}},this.f)},n.Kf=function(e){var t=nn(e.data);switch(t.type){case"init":this.g=0,this.m=!1,this.l=!0,function(e,t,r){for(var n in t.player)e.b[n](t.player[n]);e.s(r),r=Promise.resolve();var i=e.a.autoplay;t.manifest&&(e.a.autoplay=!1,r=e.b.load(t.manifest,t.startTime)),r.then((function(){if(e.b){for(var r in t.video)e.a[r]=t.video[r];for(var n in t.playerAfterLoad)e.b[n](t.playerAfterLoad[n]);e.a.autoplay=i,t.manifest&&(e.a.play(),xn(e,0))}}),(function(t){e.b.dispatchEvent(new Se("error",{detail:t}))}))}(this,t.initState,t.appData),Sn(this);break;case"appData":this.s(t.appData);break;case"set":var r=t.targetName,n=t.property;if(t=t.value,"video"==r){var i=cast.receiver.CastReceiverManager.getInstance();if("volume"==n){i.setSystemVolumeLevel(t);break}if("muted"==n){i.setSystemVolumeMuted(t);break}}this.D[r][n]=t;break;case"call":(r=this.D[t.targetName])[t.methodName].apply(r,t.args);break;case"asyncCall":r=t.targetName,n=t.methodName,"player"==r&&"load"==n&&(this.g=0,this.m=!1),i=t.id,e=e.senderId;var o=this.D[r];t=o[n].apply(o,t.args),"player"==r&&"load"==n&&(t=t.then(function(){this.l=!0}.bind(this))),t.then(this.oe.bind(this,e,i,null),this.oe.bind(this,e,i))}},n.Af=function(e){var t=nn(e.data);switch(t.type){case"PLAY":this.a.play(),xn(this,0);break;case"PAUSE":this.a.pause(),xn(this,0);break;case"SEEK":e=t.currentTime;var r=t.resumeState;null!=e&&(this.a.currentTime=Number(e)),r&&"PLAYBACK_START"==r?(this.a.play(),xn(this,0)):r&&"PLAYBACK_PAUSE"==r&&(this.a.pause(),xn(this,0));break;case"STOP":this.b.Cd().then(function(){this.b&&xn(this,0)}.bind(this));break;case"GET_STATUS":xn(this,Number(t.requestId));break;case"VOLUME":e=(r=t.volume).level,r=r.muted;var n=this.a.volume,i=this.a.muted;null!=e&&(this.a.volume=Number(e)),null!=r&&(this.a.muted=r),n==this.a.volume&&i==this.a.muted||xn(this,0);break;case"LOAD":this.g=0,this.l=this.m=!1,e=t.media,r=t.currentTime,n=this.F(e.contentId),i=t.autoplay||!0,this.s(e.customData),i&&(this.a.autoplay=!0),this.b.load(n,r).then(function(){this.b&&kn(this)}.bind(this)).catch(function(e){var r="LOAD_FAILED";7==e.category&&7e3==e.code&&(r="LOAD_CANCELLED"),Cn(this,{requestId:Number(t.requestId),type:r},this.i)}.bind(this));break;default:Cn(this,{requestId:Number(t.requestId),type:"INVALID_REQUEST",reason:"INVALID_COMMAND"},this.i)}},n.oe=function(e,t,r){this.b&&Cn(this,{type:"asyncComplete",id:t,error:r},this.f,e)};var Rn={IDLE:"IDLE",ze:"PLAYING",we:"BUFFERING",ye:"PAUSED"};function Ln(e,t){this.J=e,this.b=t==jn,this.a=0}G("shaka.util.DataViewReader",Ln);var jn=1;function Pn(){throw new me(2,3,3e3)}function In(){this.c=[],this.b=[],this.a=!1}function On(e){for(var t=null!=e.flags?12:8;e.reader.ua()&&!e.parser.a;)e.parser.sc(e.start+t,e.reader,e.partialOkay)}function Dn(e){for(var t=null!=e.flags?12:8,r=e.reader.G();0<r&&!e.parser.a;--r)e.parser.sc(e.start+t,e.reader,e.partialOkay)}function Mn(e){return function(t){e(t.reader.Za(t.reader.J.byteLength-t.reader.ca()))}}function Nn(e){for(var t=0,r=0;r<e.length;r++)t=t<<8|e.charCodeAt(r);return t}function Fn(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function Un(e){var t=this;this.a=[],this.b=[],this.data=[],(new In).H("moov",On).fa("pssh",(function(e){if(!(1<e.version)){var r=e.reader.J;if(r=new Uint8Array(r.buffer,r.byteOffset-12,e.size),t.data.push(r),t.a.push(ht.Ac(e.reader.Za(16))),0<e.version){r=e.reader.G();for(var n=0;n<r;++n){var i=ht.Ac(e.reader.Za(16));t.b.push(i)}}}})).parse(e)}Ln.Endianness={Bg:0,Dg:jn},Ln.prototype.ua=function(){return this.a<this.J.byteLength},Ln.prototype.hasMoreData=Ln.prototype.ua,Ln.prototype.ca=function(){return this.a},Ln.prototype.getPosition=Ln.prototype.ca,Ln.prototype.Ve=function(){return this.J.byteLength},Ln.prototype.getLength=Ln.prototype.Ve,Ln.prototype.la=function(){try{var e=this.J.getUint8(this.a);return this.a+=1,e}catch(e){Pn()}},Ln.prototype.readUint8=Ln.prototype.la,Ln.prototype.Tb=function(){try{var e=this.J.getUint16(this.a,this.b);return this.a+=2,e}catch(e){Pn()}},Ln.prototype.readUint16=Ln.prototype.Tb,Ln.prototype.G=function(){try{var e=this.J.getUint32(this.a,this.b);return this.a+=4,e}catch(e){Pn()}},Ln.prototype.readUint32=Ln.prototype.G,Ln.prototype.ke=function(){try{var e=this.J.getInt32(this.a,this.b);return this.a+=4,e}catch(e){Pn()}},Ln.prototype.readInt32=Ln.prototype.ke,Ln.prototype.Bb=function(){try{if(this.b)var e=this.J.getUint32(this.a,!0),t=this.J.getUint32(this.a+4,!0);else t=this.J.getUint32(this.a,!1),e=this.J.getUint32(this.a+4,!1)}catch(e){Pn()}if(2097151<t)throw new me(2,3,3001);return this.a+=8,t*Math.pow(2,32)+e},Ln.prototype.readUint64=Ln.prototype.Bb,Ln.prototype.Za=function(e){this.a+e>this.J.byteLength&&Pn();var t=new Uint8Array(this.J.buffer,this.J.byteOffset+this.a,e);return this.a+=e,t},Ln.prototype.readBytes=Ln.prototype.Za,Ln.prototype.M=function(e){this.a+e>this.J.byteLength&&Pn(),this.a+=e},Ln.prototype.skip=Ln.prototype.M,Ln.prototype.me=function(e){this.a<e&&Pn(),this.a-=e},Ln.prototype.rewind=Ln.prototype.me,Ln.prototype.seek=function(e){(0>e||e>this.J.byteLength)&&Pn(),this.a=e},Ln.prototype.seek=Ln.prototype.seek,Ln.prototype.md=function(){for(var e=this.a;this.ua()&&0!=this.J.getUint8(this.a);)this.a+=1;return e=new Uint8Array(this.J.buffer,this.J.byteOffset+e,this.a-e),this.a+=1,at(e)},Ln.prototype.readTerminatedString=Ln.prototype.md,G("shaka.util.Mp4Parser",In),In.prototype.H=function(e,t){var r=Nn(e);return this.c[r]=0,this.b[r]=t,this},In.prototype.box=In.prototype.H,In.prototype.fa=function(e,t){var r=Nn(e);return this.c[r]=1,this.b[r]=t,this},In.prototype.fullBox=In.prototype.fa,In.prototype.stop=function(){this.a=!0},In.prototype.stop=In.prototype.stop,In.prototype.parse=function(e,t){var r=new Uint8Array(e);for(r=new Ln(new DataView(r.buffer,r.byteOffset,r.byteLength),0),this.a=!1;r.ua()&&!this.a;)this.sc(0,r,t)},In.prototype.parse=In.prototype.parse,In.prototype.sc=function(e,t,r){var n=t.ca(),i=t.G(),o=t.G();switch(i){case 0:i=t.J.byteLength-n;break;case 1:i=t.Bb()}var a=this.b[o];if(a){var s=null,l=null;1==this.c[o]&&(s=(l=t.G())>>>24,l&=16777215),o=n+i,r&&o>t.J.byteLength&&(o=t.J.byteLength),o-=t.ca(),t=0<o?t.Za(o):new Uint8Array(0),a({parser:this,partialOkay:r||!1,version:s,flags:l,reader:t=new Ln(new DataView(t.buffer,t.byteOffset,t.byteLength),0),size:i,start:n+e})}else t.M(Math.min(n+i-t.ca(),t.J.byteLength-t.ca()))},In.prototype.parseNext=In.prototype.sc,In.children=On,In.sampleDescription=Dn,In.allData=Mn,In.typeToString=Fn;var Bn={gc:function(e,t){var r=Bn.P(e,t);return 1!=r.length?null:r[0]},Oc:function(e,t,r){return 1!=(e=Bn.Od(e,t,r)).length?null:e[0]},P:function(e,t){return Array.prototype.filter.call(e.childNodes,(function(e){return e instanceof Element&&e.tagName==t}))},Od:function(e,t,r){return Array.prototype.filter.call(e.childNodes,(function(e){return e instanceof Element&&e.localName==r&&e.namespaceURI==t}))},getAttributeNS:function(e,t,r){return e.hasAttributeNS(t,r)?e.getAttributeNS(t,r):null},ic:function(e){return Array.prototype.every.call(e.childNodes,(function(e){return e.nodeType==Node.TEXT_NODE||e.nodeType==Node.CDATA_SECTION_NODE}))?e.textContent.trim():null},I:function(e,t,r,n){n=void 0===n?null:n;var i=null;return null!=(e=e.getAttribute(t))&&(i=r(e)),null==i?n:i},Of:function(e){return e?(/^\d+-\d+-\d+T\d+:\d+:\d+(\.\d+)?$/.test(e)&&(e+="Z"),e=Date.parse(e),isNaN(e)?null:Math.floor(e/1e3)):null},Ea:function(e){return e&&(e=/^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$/.exec(e))?(e=31536e3*Number(e[1]||null)+2592e3*Number(e[2]||null)+86400*Number(e[3]||null)+3600*Number(e[4]||null)+60*Number(e[5]||null)+Number(e[6]||null),isFinite(e)?e:null):null},uc:function(e){var t=/([0-9]+)-([0-9]+)/.exec(e);return t?(e=Number(t[1]),isFinite(e)?(t=Number(t[2]),isFinite(t)?{start:e,end:t}:null):null):null},parseInt:function(e){return 0==(e=Number(e))%1?e:null},tc:function(e){return 0==(e=Number(e))%1&&0<e?e:null},yb:function(e){return 0==(e=Number(e))%1&&0<=e?e:null},parseFloat:function(e){return e=Number(e),isNaN(e)?null:e},Me:function(e){var t;return e=(t=e.match(/^(\d+)\/(\d+)$/))?Number(t[1])/Number(t[2]):Number(e),isNaN(e)?null:e},he:function(e,t){var r=new DOMParser;try{var n=r.parseFromString(e,"text/xml")}catch(e){}if(n&&n.documentElement.tagName==t)var i=n.documentElement;return i&&0<i.getElementsByTagName("parsererror").length?null:i},ge:function(e,t){try{var r=at(e);return Bn.he(r,t)}catch(e){}}},Kn=(new Map).set("urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b","org.w3.clearkey").set("urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed","com.widevine.alpha").set("urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95","com.microsoft.playready").set("urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb","com.adobe.primetime");function Gn(e,t,r){var n=function(e){for(var t=[],r=(e=f(e)).next();!r.done;r=e.next())(r=Yn(r.value))&&t.push(r);return t}(e),i=null;e=[];var o=[],a=new Set(n.map((function(e){return e.keyId})));if(a.delete(null),1<a.size)throw new me(2,4,4010);if(r||(o=n.filter((function(e){return"urn:mpeg:dash:mp4protection:2011"!=e.ne||(i=e.init||i,!1)}))).length&&0==(e=function(e,t,r){for(var n=[],i=(r=f(r)).next();!i.done;i=r.next()){i=i.value;var o=Kn.get(i.ne);if(o){var a;if(a=Bn.Oc(i.node,"urn:microsoft:playready","pro")){a=ht.Ba(a.textContent);var s=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),l=a.length,u=s.length+16+l,c=new ArrayBuffer(u),d=new Uint8Array(c);c=new DataView(c);var h=0;c.setUint32(h,u),h+=4,c.setUint32(h,1886614376),h+=4,c.setUint32(h,0),h+=4,d.set(s,h),h+=s.length,c.setUint32(h,l),h+=4,d.set(a,h),a=[{initData:d,initDataType:"cenc",keyId:i.keyId}]}else a=null;a=Ht(o,i.init||e||a),(o=Hn.get(o))&&(a.licenseServerUri=o(i)),n.push(a)}else for(i=f(i=t(i.node)||[]),o=i.next();!o.done;o=i.next())n.push(o.value)}return n}(i,t,o)).length&&(e=[Ht("",i)]),n.length&&(r||!o.length))for(e=[],r=(t=f(Kn.values())).next();!r.done;r=t.next())"org.w3.clearkey"!=(r=r.value)&&e.push(Ht(r,i));if(a=Array.from(a)[0]||null)for(r=(t=f(e)).next();!r.done;r=t.next())for(n=(r=f(r.value.initData)).next();!n.done;n=r.next())n.value.keyId=a;return{Kd:a,Fg:i,drmInfos:e,Pd:!0}}var Vn,Hn=(new Map).set("com.widevine.alpha",(function(e){return(e=Bn.Oc(e.node,"urn:microsoft","laurl"))&&e.getAttribute("licenseUrl")||""})).set("com.microsoft.playready",(function(e){return(e=Bn.Oc(e.node,"urn:microsoft:playready","pro"))&&(e=function(e){var t=0,r=new DataView(e).getUint32(t,!0);if(r!==e.byteLength)return[];t+=6,r=[];for(var n=new DataView(e);t<e.byteLength-1;){var i=n.getUint16(t,!0);t+=2;var o=n.getUint16(t,!0);t+=2;var a=new Uint8Array(e,t,o);r.push({type:i,value:a}),t+=o}return r}((e=ht.Ba(e.textContent)).buffer).filter((function(e){return 1===e.type}))[0])?(e=st(e.value,!0),(e=Bn.he(e,"WRMHEADER"))?function(e){return(e=e.querySelector("DATA > LA_URL"))?e.textContent:""}(e):""):""}));function Yn(e){var t=e.getAttribute("schemeIdUri"),r=Bn.getAttributeNS(e,"urn:mpeg:cenc:2013","default_KID"),n=Bn.Od(e,"urn:mpeg:cenc:2013","pssh").map(Bn.ic);if(!t)return null;if(t=t.toLowerCase(),r&&(r=r.replace(/-/g,"").toLowerCase()).includes(" "))throw new me(2,4,4009);var i=[];try{i=n.map((function(e){return{initDataType:"cenc",initData:ht.Ba(e),keyId:null}}))}catch(e){throw new me(2,4,4007)}return{node:e,ne:t,keyId:r,init:0<i.length?i:null}}function zn(t,r,n,i,o){var a={RepresentationID:r,Number:n,Bandwidth:i,Time:o};return t.replace(/\$(RepresentationID|Number|Bandwidth|Time)?(?:%0([0-9]+)([diouxX]))?\$/g,(function(t,r,n,i){if("$$"==t)return"$";var o=a[r];if(null==o)return t;switch("RepresentationID"==r&&n&&(n=void 0),"Time"==r&&(o=Math.round(o)),i){case void 0:case"d":case"i":case"u":t=o.toString();break;case"o":t=o.toString(8);break;case"x":t=o.toString(16);break;case"X":t=o.toString(16).toUpperCase();break;default:t=o.toString()}return n=e.parseInt(n,10)||1,Array(Math.max(0,n-t.length)+1).join("0")+t}))}function Wn(e,t){var r=$n(e,t,"timescale"),n=1;r&&(n=Bn.tc(r)||1),r=$n(e,t,"duration"),(r=Bn.tc(r||""))&&(r/=n);var i=$n(e,t,"startNumber"),o=Number($n(e,t,"presentationTimeOffset"))||0,a=Bn.yb(i||"");null!=i&&null!=a||(a=1);var s=qn(e,t,"SegmentTimeline");if(i=null,s){i=n;var l=e.T.duration||1/0;s=Bn.P(s,"S");for(var u=[],c=0,d=0;d<s.length;++d){var f=s[d],h=Bn.I(f,"t",Bn.yb),p=Bn.I(f,"d",Bn.yb);if(f=Bn.I(f,"r",Bn.parseInt),null!=h&&(h-=o),!p)break;if(h=null!=h?h:c,0>(f=f||0))if(d+1<s.length){if(null==(f=Bn.I(s[d+1],"t",Bn.yb)))break;if(h>=f)break;f=Math.ceil((f-h)/p)-1}else{if(1/0==l)break;if(h/i>=l)break;f=Math.ceil((l*i-h)/p)-1}0<u.length&&h!=c&&(u[u.length-1].end=h/i);for(var m=0;m<=f;++m)c=h+p,u.push({start:h/i,end:c/i,xg:h}),h=c}i=u}return{timescale:n,Z:r,ab:a,ma:o/n||0,Dd:o,N:i}}function $n(e,t,r){return[t(e.C),t(e.aa),t(e.ka)].filter(Gt.Ia).map((function(e){return e.getAttribute(r)})).reduce((function(e,t){return e||t}))}function qn(e,t,r){return[t(e.C),t(e.aa),t(e.ka)].filter(Gt.Ia).map((function(e){return Bn.gc(e,r)})).reduce((function(e,t){return e||t}))}function Xn(e,t,r,n,i,o){if(o=void 0===o?0:o,Bn.getAttributeNS(e,"http://www.w3.org/1999/xlink","href")){var a=function(e,t,r,n,i,o){for(var a=Bn.getAttributeNS(e,"http://www.w3.org/1999/xlink","href"),s=Bn.getAttributeNS(e,"http://www.w3.org/1999/xlink","actuate")||"onRequest",l=0;l<e.attributes.length;l++){var u=e.attributes[l];"http://www.w3.org/1999/xlink"==u.namespaceURI&&(e.removeAttributeNS(u.namespaceURI,u.localName),--l)}if(5<=o)return ve(new me(2,4,4028));if("onLoad"!=s)return ve(new me(2,4,4027));var c=Vt([n],[a]);return i.request(0,Me(c,t)).U((function(n){if(!(n=Bn.ge(n.data,e.tagName)))return ve(new me(2,4,4001,a));for(;e.childNodes.length;)e.removeChild(e.childNodes[0]);for(;n.childNodes.length;){var s=n.childNodes[0];n.removeChild(s),e.appendChild(s)}for(s=0;s<n.attributes.length;s++){var l=n.attributes[s].nodeName,u=n.getAttribute(l);e.setAttribute(l,u)}return Xn(e,t,r,c[0],i,o+1)}))}(e,t,r,n,i,o);return r&&(a=a.U(void 0,(function(){return Xn(e,t,r,n,i,o)}))),a}a=[];for(var s=0;s<e.childNodes.length;s++){var l=e.childNodes[s];l instanceof Element&&("urn:mpeg:dash:resolve-to-zero:2013"==Bn.getAttributeNS(l,"http://www.w3.org/1999/xlink","href")?(e.removeChild(l),--s):"SegmentTimeline"!=l.tagName&&a.push(Xn(l,t,r,n,i,o)))}return Ee(a).U((function(){return e}))}function Jn(e,t,r){this.c=e,this.b=t,this.a=r}function Zn(e,t,r,n,i,o){this.position=e,this.startTime=t,this.endTime=r,this.c=n,this.b=i,this.a=o}function Qn(e,t,r,n){var i,o=(new In).fa("sidx",(function(e){i=function(e,t,r,n){var i=[];n.reader.M(4);var o=n.reader.G();if(0==o)throw new me(2,3,3005);if(0==n.version)var a=n.reader.G(),s=n.reader.G();else a=n.reader.Bb(),s=n.reader.Bb();n.reader.M(2);var l=n.reader.Tb();for(e=e+n.size+s,s=0;s<l;s++){var u=n.reader.G(),c=(2147483648&u)>>>31;u&=2147483647;var d=n.reader.G();if(n.reader.M(4),1==c)throw new me(2,3,3006);i.push(new Zn(i.length,a/o-t,(a+d)/o-t,(function(){return r}),e,e+u-1)),a+=d,e+=u}return n.parser.stop(),i}(t,n,r,e)}));if(e&&o.parse(e),i)return i;throw new me(2,3,3004)}function ei(e){this.a=e}function ti(e,t){for(;e.a.length&&e.a[e.a.length-1].startTime>=t;)e.a.pop();for(;e.a.length&&0>=e.a[0].endTime;)e.a.shift();if(0!=e.a.length){var r=e.a[e.a.length-1];e.a[e.a.length-1]=new Zn(r.position,r.startTime,t,r.c,r.b,r.a)}}function ri(e){this.b=e,this.a=new Ln(e,0),Vn||(Vn=[new Uint8Array([255]),new Uint8Array([127,255]),new Uint8Array([63,255,255]),new Uint8Array([31,255,255,255]),new Uint8Array([15,255,255,255,255]),new Uint8Array([7,255,255,255,255,255]),new Uint8Array([3,255,255,255,255,255,255]),new Uint8Array([1,255,255,255,255,255,255,255])])}function ni(e){var t=ii(e);if(7<t.length)throw new me(2,3,3002);for(var r=0,n=0;n<t.length;n++)r=256*r+t[n];t=r,r=ii(e);e:{n=ht.za;for(var i=0;i<Vn.length;i++)if(n(r,Vn[i])){n=!0;break e}n=!1}if(n)r=e.b.byteLength-e.a.ca();else{if(8==r.length&&224&r[1])throw new me(2,3,3001);for(n=r[0]&(1<<8-r.length)-1,i=1;i<r.length;i++)n=256*n+r[i];r=n}return r=e.a.ca()+r<=e.b.byteLength?r:e.b.byteLength-e.a.ca(),n=new DataView(e.b.buffer,e.b.byteOffset+e.a.ca(),r),e.a.M(r),new oi(t,n)}function ii(e){var t,r=e.a.la();for(t=1;8>=t&&!(r&1<<8-t);t++);if(8<t)throw new me(2,3,3002);var n=new Uint8Array(t);for(n[0]=r,r=1;r<t;r++)n[r]=e.a.la();return n}function oi(e,t){this.id=e,this.a=t}function ai(e){if(8<e.a.byteLength)throw new me(2,3,3002);if(8==e.a.byteLength&&224&e.a.getUint8(0))throw new me(2,3,3001);for(var t=0,r=0;r<e.a.byteLength;r++)t=256*t+e.a.getUint8(r);return t}function si(){}function li(e){var t=new ri(e.a);if(179!=(e=ni(t)).id)throw new me(2,3,3013);if(e=ai(e),183!=(t=ni(t)).id)throw new me(2,3,3012);t=new ri(t.a);for(var r=0;t.ua();){var n=ni(t);if(241==n.id){r=ai(n);break}}return{yg:e,Vf:r}}function ui(e,t){var r=qn(e,t,"Initialization");if(!r)return null;var n=e.C.qa,i=r.getAttribute("sourceURL");i&&(n=Vt(e.C.qa,[i])),i=0;var o=null;return(r=Bn.I(r,"range",Bn.uc))&&(i=r.start,o=r.end),new Jn((function(){return n}),i,o)}function ci(e,t,r,n,i,o,a,s){var l=e.presentationTimeline,u=!e.mb||!e.T.Zc,c=e.T.start,d=e.T.duration,f=t,h=null;return{createSegmentIndex:function(){var e=[f(n,i,o),"webm"==a?f(r.c(),r.b,r.a):null];return f=null,Promise.all(e).then((function(e){var t=e[0];e=e[1]||null,t="mp4"==a?Qn(t,i,n,s):(new si).parse(t,e,n,s),l.vb(t,c),h=new ei(t),u&&ti(h,d)}))},findSegmentPosition:function(e){return h.find(e)},getSegmentReference:function(e){return h.get(e)}}}function di(e){return e.Ub}function fi(e,t){var r=ui(e,hi),n=function(e){return[e.C.La,e.aa.La,e.ka.La].filter(Gt.Ia).map((function(e){return Bn.P(e,"SegmentURL")})).reduce((function(e,t){return 0<e.length?e:t})).map((function(t){return t.getAttribute("indexRange")&&!e.Vd&&(e.Vd=!0),{xf:t.getAttribute("media"),start:(t=Bn.I(t,"mediaRange",Bn.uc,{start:0,end:null})).start,end:t.end}}))}(e),i=Wn(e,hi),o=i.ab;0==o&&(o=1);var a=0;if(i.Z?a=i.Z*(o-1):i.N&&0<i.N.length&&(a=i.N[0].start),!(n={Z:i.Z,startTime:a,ab:o,ma:i.ma,N:i.N,tb:n}).Z&&!n.N&&1<n.tb.length)throw new me(2,4,4002);if(!n.Z&&!e.T.duration&&!n.N&&1==n.tb.length)throw new me(2,4,4002);if(n.N&&0==n.N.length)throw new me(2,4,4002);return o=i=null,e.ka.id&&e.C.id&&(i=t[o=e.ka.id+","+e.C.id]),a=function(e,t,r,n){var i=n.tb.length;n.N&&n.N.length!=n.tb.length&&(i=Math.min(n.N.length,n.tb.length));for(var o=[],a=n.startTime,s=0;s<i;s++){var l,u=n.tb[s],c=Vt(r,[u.xf]);l=null!=n.Z?a+n.Z:n.N?n.N[s].end:a+e,o.push(new Zn(s+t,a,l,function(e){return e}.bind(null,c),u.start,u.end)),a=l}return o}(e.T.duration,n.ab,e.C.qa,n),i?(i.cd(a),o=e.presentationTimeline.Ob(),i.Lc(o-e.T.start)):(e.presentationTimeline.vb(a,e.T.start),i=new ei(a),o&&e.mb&&(t[o]=i)),e.mb&&e.T.Zc||ti(i,e.T.duration),{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:i.find.bind(i),getSegmentReference:i.get.bind(i),initSegmentReference:r,ma:n.ma}}function hi(e){return e.La}function pi(e,t,r,n){var i=function(e){var t=$n(e,mi,"initialization");if(!t)return null;var r=e.C.id,n=e.bandwidth||null,i=e.C.qa;return new Jn((function(){var e=zn(t,r,null,n,null);return Vt(i,[e])}),0,null)}(e),o=Wn(e,mi),a=$n(e,mi,"media"),s=$n(e,mi,"index");if(a=(o={Z:o.Z,timescale:o.timescale,ab:o.ab,ma:o.ma,Dd:o.Dd,N:o.N,ad:a,Qb:s}).Qb?1:0,a+=o.N?1:0,0==(a+=o.Z?1:0))throw new me(2,4,4002);if(1!=a&&(o.Qb&&(o.N=null),o.Z=null),!o.Qb&&!o.ad)throw new me(2,4,4002);if(o.Qb){if("mp4"!=(r=e.C.mimeType.split("/")[1])&&"webm"!=r)throw new me(2,4,4006);if("webm"==r&&!i)throw new me(2,4,4005);n=zn(o.Qb,e.C.id,null,e.bandwidth||null,null),e=ci(e,t,i,n=Vt(e.C.qa,[n]),0,null,r,o.ma)}else o.Z?(n||(e.presentationTimeline.ed(o.Z),e.presentationTimeline.fd(e.T.start)),e=function(e,t){var r=e.T.duration,n=t.Z,i=t.ab,o=t.timescale,a=t.ad,s=e.bandwidth||null,l=e.C.id,u=e.C.qa;return{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(e){return 0>e||r&&e>=r?null:Math.floor(e/n)},getSegmentReference:function(e){var t=e*n,c=t+n;return r&&(c=Math.min(c,r)),0>c||r&&t>=r?null:new Zn(e,t,c,(function(){var r=zn(a,l,e+i,s,t*o);return Vt(u,[r])}),0,null)}}}(e,o)):(a=t=null,e.ka.id&&e.C.id&&(t=r[a=e.ka.id+","+e.C.id]),s=function(e,t){for(var r=[],n=0;n<t.N.length;n++){var i=n+t.ab;r.push(new Zn(i,t.N[n].start,t.N[n].end,function(e,t,r,n,i,o){return Vt(n,[e=zn(e,t,i,r,o)]).map((function(e){return e.toString()}))}.bind(null,t.ad,e.C.id,e.bandwidth||null,e.C.qa,i,t.N[n].xg+t.Dd),0,null))}return r}(e,o),n=!e.mb||!e.T.Zc,t?(n&&ti(new ei(s),e.T.duration),t.cd(s),r=e.presentationTimeline.Ob(),t.Lc(r-e.T.start)):(e.presentationTimeline.vb(s,e.T.start),t=new ei(s),a&&e.mb&&(r[a]=t)),n&&ti(t,e.T.duration),e={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:t.find.bind(t),getSegmentReference:t.get.bind(t)});return{createSegmentIndex:e.createSegmentIndex,findSegmentPosition:e.findSegmentPosition,getSegmentReference:e.getSegmentReference,initSegmentReference:i,ma:o.ma}}function mi(e){return e.Wb}G("shaka.media.InitSegmentReference",Jn),Jn.prototype.Ic=function(){return this.c()},Jn.prototype.createUris=Jn.prototype.Ic,Jn.prototype.Uc=function(){return this.b},Jn.prototype.getStartByte=Jn.prototype.Uc,Jn.prototype.Tc=function(){return this.a},Jn.prototype.getEndByte=Jn.prototype.Tc,G("shaka.media.SegmentReference",Zn),Zn.prototype.ca=function(){return this.position},Zn.prototype.getPosition=Zn.prototype.ca,Zn.prototype.kc=function(){return this.startTime},Zn.prototype.getStartTime=Zn.prototype.kc,Zn.prototype.Te=function(){return this.endTime},Zn.prototype.getEndTime=Zn.prototype.Te,Zn.prototype.Ic=function(){return this.c()},Zn.prototype.createUris=Zn.prototype.Ic,Zn.prototype.Uc=function(){return this.b},Zn.prototype.getStartByte=Zn.prototype.Uc,Zn.prototype.Tc=function(){return this.a},Zn.prototype.getEndByte=Zn.prototype.Tc,G("shaka.media.SegmentIndex",ei),ei.prototype.destroy=function(){return this.a=null,Promise.resolve()},ei.prototype.destroy=ei.prototype.destroy,ei.prototype.find=function(e){for(var t=this.a.length-1;0<=t;--t){var r=this.a[t];if(e>=r.startTime&&e<r.endTime)return r.position}return this.a.length&&e<this.a[0].startTime?this.a[0].position:null},ei.prototype.find=ei.prototype.find,ei.prototype.get=function(e){return 0==this.a.length||0>(e-=this.a[0].position)||e>=this.a.length?null:this.a[e]},ei.prototype.get=ei.prototype.get,ei.prototype.offset=function(e){for(var t=0;t<this.a.length;++t)this.a[t].startTime+=e,this.a[t].endTime+=e},ei.prototype.offset=ei.prototype.offset,ei.prototype.cd=function(e){for(var t=[],r=0,n=0;r<this.a.length&&n<e.length;){var i=this.a[r],o=e[n];i.startTime<o.startTime?(t.push(i),r++):(i.startTime>o.startTime?0==r&&t.push(o):(.1<Math.abs(i.endTime-o.endTime)?t.push(new Zn(i.position,o.startTime,o.endTime,o.c,o.b,o.a)):t.push(i),r++),n++)}for(;r<this.a.length;)t.push(this.a[r++]);if(t.length)for(r=t[t.length-1].position+1;n<e.length;)i=new Zn(r++,(i=e[n++]).startTime,i.endTime,i.c,i.b,i.a),t.push(i);else t=e;this.a=t},ei.prototype.merge=ei.prototype.cd,ei.prototype.Lc=function(e){for(var t=0;t<this.a.length;++t)if(this.a[t].endTime>e)return void this.a.splice(0,t);this.a=[]},ei.prototype.evict=ei.prototype.Lc,ri.prototype.ua=function(){return this.a.ua()},si.prototype.parse=function(e,t,r,n){var i;if(440786851!=ni(t=new ri(new DataView(t))).id)throw new me(2,3,3008);var o=ni(t);if(408125543!=o.id)throw new me(2,3,3009);for(t=o.a.byteOffset,o=new ri(o.a),i=null;o.ua();){var a=ni(o);if(357149030==a.id){i=a;break}}if(!i)throw new me(2,3,3010);for(o=new ri(i.a),i=1e6,a=null;o.ua();){var s=ni(o);if(2807729==s.id)i=ai(s);else if(17545==s.id)if(4==(a=s).a.byteLength)a=a.a.getFloat32(0);else{if(8!=a.a.byteLength)throw new me(2,3,3003);a=a.a.getFloat64(0)}}if(null==a)throw new me(2,3,3011);if(i=a*(o=i/1e9),475249515!=(e=ni(new ri(new DataView(e)))).id)throw new me(2,3,3007);return function(e,t,r,n,i,o){function a(){return i}var s=[];e=new ri(e.a);for(var l=null,u=null;e.ua();){var c=ni(e);if(187==c.id){var d=li(c);d&&(c=r*d.yg,d=t+d.Vf,null!=l&&s.push(new Zn(s.length,l-o,c-o,a,u,d-1)),l=c,u=d)}}return null!=l&&s.push(new Zn(s.length,l-o,n-o,a,u,null)),s}(e,t,o,i,r,n)};var gi={zb:{},Sb:{},pd:function(e,t){gi.Sb[e]=t}};function yi(e,t,r){this.f=e,this.vc=t,this.h=this.g=1/0,this.a=1,this.b=this.c=null,this.l=0,this.m=!0,this.i=0,this.s=void 0===r||r}function vi(e,t,r,n){return e=Me(e,n),0==t&&null==r||(e.headers.Range=r?"bytes="+t+"-"+r:"bytes="+t+"-"),e}function bi(){var e=this;this.b=this.a=null,this.f=[],this.c=null,this.l=[],this.h=1,this.m={},this.s=0,this.u=new H(5),this.i=new fe((function(){!function(e){p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=0,k(t,2),S(t,_i(e),4);case 4:r=t.o,x(t,3);break;case 2:n=R(t),e.b&&(n.severity=1,e.b.onError(n));case 3:if(!e.b)return t.return();Si(e,r),w(t)}}))}))}(e)})),this.g=new je}function _i(e){var t=Date.now(),r=e.b.networkingEngine.request(0,Me(e.f,e.a.retryParameters));return Pe(e.g,r),r.promise.then((function(t){if(e.b)return t.uri&&!e.f.includes(t.uri)&&e.f.unshift(t.uri),function(e,t,r){if(!(t=Bn.ge(t,"MPD")))throw new me(2,4,4001,r);return t=Xn(t,e.a.retryParameters,e.a.dash.xlinkFailGracefully,r,e.b.networkingEngine),Pe(e.g,t),t.promise.then((function(t){return function(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,f,h,p,m,g,y,v,b,_,A,E,T,k,C,x,R;return M(n,(function(n){switch(n.j){case 1:s=Gt,u=[r],0<(c=(l=Bn).P(t,"Location").map(l.ic).filter(s.Ia)).length&&(d=Vt(u,c),u=e.f=d),f=l.P(t,"BaseURL").map(l.ic),h=Vt(u,f),p=e.a.dash.ignoreMinBufferTime,m=0,p||(m=l.I(t,"minBufferTime",l.Ea)),e.s=l.I(t,"minimumUpdatePeriod",l.Ea,-1),g=l.I(t,"availabilityStartTime",l.Of),y=l.I(t,"timeShiftBufferDepth",l.Ea),v=l.I(t,"maxSegmentDuration",l.Ea),b=t.getAttribute("type")||"static",_=e.a.dash.ignoreSuggestedPresentationDelay,A=null,_||(A=l.I(t,"suggestedPresentationDelay",l.Ea)),e.c?E=e.c.presentationTimeline:(T=Math.max(e.a.dash.defaultPresentationDelay,1.5*m),E=new yi(g,null!=A?A:T,e.a.dash.autoCorrectDrift));for(var L={mb:"static"!=b,presentationTimeline:E,ka:null,T:null,aa:null,C:null,bandwidth:0,Vd:!1},j=h,P=Bn.I(t,"mediaPresentationDuration",Bn.Ea),I=[],O=0,D=Bn.P(t,"Period"),M=0;M<D.length;M++){var N=D[M];O=Bn.I(N,"start",Bn.Ea,O);var F=Bn.I(N,"duration",Bn.Ea),U=null;if(M!=D.length-1){var B=Bn.I(D[M+1],"start",Bn.Ea);null!=B&&(U=B-O)}else null!=P&&(U=P-O);if(null==U&&(U=F),N=Ai(e,L,j,{start:O,duration:U,node:N,Zc:null==U||M==D.length-1}),I.push(N),F=L.ka.id,e.l.includes(F)||(e.l.push(F),e.c&&(e.b.filterNewPeriod(N),e.c.periods.push(N))),null==U){O=null;break}O+=U}if(null==e.c&&e.b.filterAllPeriods(I),null!=P?(i=I,o=P,a=!1):(i=I,o=O,a=!0),k=o,C=i,E.Xb("static"==b),"static"!=b&&a||E.xa(k||1/0),E.V()&&!isNaN(e.a.availabilityWindowOverride)&&(y=e.a.availabilityWindowOverride),null==y&&(y=1/0),E.xd(y),E.ed(v||1),e.c){n.A(0);break}if(e.c={presentationTimeline:E,periods:C,offlineSessionIds:[],minBufferTime:m||0},!E.ue()){n.A(0);break}return x=l.P(t,"UTCTiming"),S(n,function(e,t,r){r=r.map((function(e){return{scheme:e.getAttribute("schemeIdUri"),value:e.getAttribute("value")}}));var n=e.a.dash.clockSyncUri;return!r.length&&n&&r.push({scheme:"urn:mpeg:dash:utc:http-head:2014",value:n}),Gt.Ke(r,function(e){var r=e.scheme;switch(e=e.value,r){case"urn:mpeg:dash:utc:http-head:2014":case"urn:mpeg:dash:utc:http-head:2012":return ki(this,t,e,"HEAD");case"urn:mpeg:dash:utc:http-xsdate:2014":case"urn:mpeg:dash:utc:http-iso:2014":case"urn:mpeg:dash:utc:http-xsdate:2012":case"urn:mpeg:dash:utc:http-iso:2012":return ki(this,t,e,"GET");case"urn:mpeg:dash:utc:direct:2014":case"urn:mpeg:dash:utc:direct:2012":return r=Date.parse(e),isNaN(r)?0:r-Date.now();case"urn:mpeg:dash:utc:http-ntp:2014":case"urn:mpeg:dash:utc:ntp:2014":case"urn:mpeg:dash:utc:sntp:2014":return q("NTP UTCTiming scheme is not supported"),Promise.reject();default:return q("Unrecognized scheme in UTCTiming element",r),Promise.reject()}}.bind(e)).catch((function(){return q("A UTCTiming element should always be given in live manifests! This content may not play on clients with bad clocks!"),0}))}(e,h,x),4);case 4:if(R=n.o,!e.b)return n.return();E.pe(R),w(n)}}))}))}(e,t,r)}))}(e,t.data,t.uri)})).then((function(){var r=(Date.now()-t)/1e3;return Y(e.u,1,r),r}))}function Ai(e,t,r,n){if(t.ka=wi(n.node,null,r),t.T=n,t.ka.id||(t.ka.id="__shaka_period_"+n.start),Bn.P(n.node,"EventStream").forEach(e.Pf.bind(e,n.start,n.duration)),r=Bn.P(n.node,"AdaptationSet").map(e.Nf.bind(e,t)).filter(Gt.Ia),t.mb){t=[];for(var i=f(r),o=i.next();!o.done;o=i.next())for(var a=(o=f(o.value.Yf)).next();!a.done;a=o.next())t.push(a.value);if(t.length!=new Set(t).size)throw new me(2,4,4018)}var s=r.filter((function(e){return!e.Bd}));if(r.filter((function(e){return e.Bd})).forEach((function(e){var t=e.streams[0],r=e.Bd;s.forEach((function(e){e.id==r&&e.streams.forEach((function(e){e.trickModeVideo=t}))}))})),t=Ei(s,"video"),i=Ei(s,"audio"),!t.length&&!i.length)throw new me(2,4,4004);for(r=e.a.disableAudio,i.length&&!r||(i=[null]),r=e.a.disableVideo,t.length&&!r||(t=[null]),r=[],o=0;o<i.length;o++)for(a=0;a<t.length;a++)Ti(e,i[o],t[a],r);if(t=[],!e.a.disableText)for(e=Ei(s,"text"),i=0;i<e.length;i++)t.push.apply(t,e[i].streams);return{startTime:n.start,textStreams:t,variants:r}}function Ei(e,t){return e.filter((function(e){return e.contentType==t}))}function Ti(e,t,r,n){if(t||r)if(t&&r){var i=t.drmInfos,o=r.drmInfos;if(!i.length||!o.length||0<Lt(i,o).length){o=Lt(t.drmInfos,r.drmInfos);for(var a=0;a<t.streams.length;a++)for(var s=0;s<r.streams.length;s++)i=(r.streams[s].bandwidth||0)+(t.streams[a].bandwidth||0),i={id:e.h++,language:t.language,primary:t.$c||r.$c,audio:t.streams[a],video:r.streams[s],bandwidth:i,drmInfos:o,allowedByApplication:!0,allowedByKeySystem:!0},n.push(i)}}else for(o=t||r,a=0;a<o.streams.length;a++)i=o.streams[a].bandwidth||0,i={id:e.h++,language:o.language||"und",primary:o.$c,audio:t?o.streams[a]:null,video:r?o.streams[a]:null,bandwidth:i,drmInfos:o.drmInfos,allowedByApplication:!0,allowedByKeySystem:!0},n.push(i)}function Si(e,t){0>e.s||e.i.R(Math.max(3,e.s-t,z(e.u)))}function wi(e,t,r){t=t||{contentType:"",mimeType:"",codecs:"",emsgSchemeIdUris:[],frameRate:void 0,gd:null,audioSamplingRate:null},r=r||t.qa;var n=Bn.yb,i=Bn.Me,o=Bn.P(e,"BaseURL").map(Bn.ic),a=e.getAttribute("contentType")||t.contentType,s=e.getAttribute("mimeType")||t.mimeType,l=e.getAttribute("codecs")||t.codecs;i=Bn.I(e,"frameRate",i)||t.frameRate;for(var u=e.getAttribute("par")||t.pixelAspectRatio,c=Bn.P(e,"InbandEventStream"),d=t.emsgSchemeIdUris.slice(),h=(c=f(c)).next();!h.done;h=c.next())h=h.value.getAttribute("schemeIdUri"),d.includes(h)||d.push(h);return c=function(e){for(var t=0;t<e.length;++t){var r=e[t],n=r.getAttribute("schemeIdUri");if(n&&(r=r.getAttribute("value")))switch(n){case"urn:mpeg:dash:outputChannelPositionList:2012":return r.trim().split(/ +/).length;case"urn:mpeg:dash:23003:3:audio_channel_configuration:2011":case"urn:dts:dash:audio_channel_configuration:2012":if(!(n=parseInt(r,10)))continue;return n;case"tag:dolby.com,2014:dash:audio_channel_configuration:2011":case"urn:dolby:dash:audio_channel_configuration:2011":if(n=parseInt(r,16)){for(e=0;n;)1&n&&++e,n>>=1;return e}}}return null}(c=Bn.P(e,"AudioChannelConfiguration"))||t.gd,h=Bn.I(e,"audioSamplingRate",n)||t.audioSamplingRate,a||(a=Ci(s,l)),{qa:Vt(r,o),Ub:Bn.gc(e,"SegmentBase")||t.Ub,La:Bn.gc(e,"SegmentList")||t.La,Wb:Bn.gc(e,"SegmentTemplate")||t.Wb,width:Bn.I(e,"width",n)||t.width,height:Bn.I(e,"height",n)||t.height,contentType:a,mimeType:s,codecs:l,frameRate:i,pixelAspectRatio:u,emsgSchemeIdUris:d,id:e.getAttribute("id"),gd:c,audioSamplingRate:h}}function ki(e,t,r,n){return(t=Me(t=Vt(t,[r]),e.a.retryParameters)).method=n,t=e.b.networkingEngine.request(4,t),Pe(e.g,t),t.promise.then((function(e){if("HEAD"==n){if(!e.headers||!e.headers.date)return 0;e=e.headers.date}else e=at(e.data);return e=Date.parse(e),isNaN(e)?0:e-Date.now()}))}function Ci(e,t){return pr(qe(e,t))?"text":e.split("/")[0]}function xi(e,t,r,n){this.b=e,this.type=t,this.a=r,this.segments=n||null}function Ri(e,t,r,n){this.id=e,this.name=t,this.a=r,this.value=void 0===n?null:n}function Li(e,t){this.name=e,this.value=t}function ji(e,t,r){return(e=e.getAttribute(t))?e.value:r||null}function Pi(e,t){this.b=t,this.a=e}G("shaka.media.ManifestParser.registerParserByExtension",gi.pd),gi.Cb=function(e,t){gi.zb[e]=t},G("shaka.media.ManifestParser.registerParserByMime",gi.Cb),gi.Sf=function(){var e={};if(Ze()){for(var t in gi.zb)e[t]=!0;for(var r in gi.Sb)e[r]=!0}t={mpd:"application/dash+xml",m3u8:"application/x-mpegurl",ism:"application/vnd.ms-sstr+xml"};for(var n=(r=f(["application/dash+xml","application/x-mpegurl","application/vnd.apple.mpegurl","application/vnd.ms-sstr+xml"])).next();!n.done;n=r.next())e[n=n.value]=Ze()?!!gi.zb[n]:Qe(n);for(var i in t)e[i]=Ze()?!!gi.Sb[i]:Qe(t[i]);return e},gi.create=function(e,t,r,n){return p((function i(){var o,a;return M(i,(function(i){switch(i.j){case 1:return k(i,2),S(i,gi.Ue(e,t,r,n),4);case 4:return o=i.o,i.return(new o);case 2:throw(a=R(i)).severity=2,a}}))}))},gi.Ue=function(e,t,r,n){return p((function i(){var o,a,s,l,u;return M(i,(function(i){switch(i.j){case 1:if(o=gi,n&&(a=o.zb[n.toLowerCase()]))return i.return(a);if((s=o.getExtension(e))&&(l=o.Sb[s]))return i.return(l);if(n){i.A(2);break}return S(i,o.bf(e,t,r),3);case 3:if((n=i.o)&&(u=gi.zb[n]))return i.return(u);case 2:throw new me(2,4,4e3,e)}}))}))},gi.bf=function(e,t,r){return p((function n(){var i,o,a;return M(n,(function(n){switch(n.j){case 1:return(i=Me([e],r)).method="HEAD",S(n,t.request(0,i).promise,2);case 2:return o=n.o,a=o.headers["content-type"],n.return(a?a.toLowerCase().split(";").shift():"")}}))}))},gi.getExtension=function(e){return 1==(e=new Z(e).ja.split("/").pop().split(".")).length?"":e.pop().toLowerCase()},gi.isSupported=function(e,t){return!!Ze()&&(t in gi.zb||gi.getExtension(e)in gi.Sb)},G("shaka.media.PresentationTimeline",yi),yi.prototype.Y=function(){return this.g},yi.prototype.getDuration=yi.prototype.Y,yi.prototype.$e=function(){return this.a},yi.prototype.getMaxSegmentDuration=yi.prototype.$e,yi.prototype.xa=function(e){this.g=e},yi.prototype.setDuration=yi.prototype.xa,yi.prototype.hf=function(){return this.f},yi.prototype.getPresentationStartTime=yi.prototype.hf,yi.prototype.pe=function(e){this.l=e},yi.prototype.setClockOffset=yi.prototype.pe,yi.prototype.Xb=function(e){this.m=e},yi.prototype.setStatic=yi.prototype.Xb,yi.prototype.xd=function(e){this.h=e},yi.prototype.setSegmentAvailabilityDuration=yi.prototype.xd,yi.prototype.ig=function(e){this.vc=e},yi.prototype.setDelay=yi.prototype.ig,yi.prototype.Se=function(){return this.vc},yi.prototype.getDelay=yi.prototype.Se,yi.prototype.vb=function(e,t){if(0!=e.length){var r=e[e.length-1].endTime+t;this.fd(e[0].startTime+t),this.a=e.reduce((function(e,t){return Math.max(e,t.endTime-t.startTime)}),this.a),this.b=Math.max(this.b,r),null!=this.f&&this.s&&(this.f=(Date.now()+this.l)/1e3-this.b-this.a)}},yi.prototype.notifySegments=yi.prototype.vb,yi.prototype.fd=function(e){this.c=null==this.c?e:Math.min(this.c,e)},yi.prototype.notifyMinSegmentStartTime=yi.prototype.fd,yi.prototype.ed=function(e){this.a=Math.max(this.a,e)},yi.prototype.notifyMaxSegmentDuration=yi.prototype.ed,yi.prototype.offset=function(e){null!=this.c&&(this.c+=e),null!=this.b&&(this.b+=e)},yi.prototype.offset=yi.prototype.offset,yi.prototype.V=function(){return 1/0==this.g&&!this.m},yi.prototype.isLive=yi.prototype.V,yi.prototype.Xa=function(){return 1/0!=this.g&&!this.m},yi.prototype.isInProgress=yi.prototype.Xa,yi.prototype.Ob=function(){if(1/0==this.h)return this.i;var e=this.pb()-this.h;return Math.max(this.i,e)},yi.prototype.getSegmentAvailabilityStart=yi.prototype.Ob,yi.prototype.qe=function(e){this.i=e},yi.prototype.setUserSeekStart=yi.prototype.qe,yi.prototype.pb=function(){return this.V()||this.Xa()?Math.min(Math.max(0,(Date.now()+this.l)/1e3-this.a-this.f),this.g):this.g},yi.prototype.getSegmentAvailabilityEnd=yi.prototype.pb,yi.prototype.Nb=function(e){var t=Math.max(this.c,this.i);if(1/0==this.h)return t;var r=this.pb()-this.h;return e=Math.min(r+e,this.Ca()),Math.max(t,e)},yi.prototype.getSafeSeekRangeStart=yi.prototype.Nb,yi.prototype.ob=function(){return this.Nb(0)},yi.prototype.getSeekRangeStart=yi.prototype.ob,yi.prototype.Ca=function(){var e=this.V()||this.Xa()?this.vc:0;return Math.max(0,this.pb()-e)},yi.prototype.getSeekRangeEnd=yi.prototype.Ca,yi.prototype.ue=function(){return!(null==this.f||null!=this.b&&this.s)},yi.prototype.usingPresentationStartTime=yi.prototype.ue,G("shaka.dash.DashParser",bi),(n=bi.prototype).configure=function(e){this.a=e},n.start=function(e,t){var r=this;return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return r.f=[e],r.b=t,S(n,_i(r),2);case 2:if(i=n.o,r.b&&Si(r,i),!r.b)throw new me(2,7,7001);return n.return(r.c)}}))}))},n.stop=function(){return this.a=this.b=null,this.f=[],this.c=null,this.l=[],this.m={},null!=this.i&&(this.i.stop(),this.i=null),this.g.destroy()},n.update=function(){_i(this).catch(function(e){this.b&&this.b.onError(e)}.bind(this))},n.onExpirationUpdated=function(){},n.Nf=function(e,t){if(e.aa=wi(t,e.ka,null),"image"==e.aa.contentType)return null;var r=!1,n=Bn.P(t,"Role"),i=n.map((function(e){return e.getAttribute("value")})).filter(Gt.Ia),o=void 0,a="text"==e.aa.contentType;a&&(o="subtitle");for(var s=0;s<n.length;s++){var l=n[s].getAttribute("schemeIdUri");if(null==l||"urn:mpeg:dash:role:2011"==l)switch(l=n[s].getAttribute("value"),l){case"main":r=!0;break;case"caption":case"subtitle":o=l}}var u=null,c=!1;Bn.P(t,"EssentialProperty").forEach((function(e){"http://dashif.org/guidelines/trickmode"==e.getAttribute("schemeIdUri")?u=e.getAttribute("value"):c=!0})),s=Bn.P(t,"Accessibility");var d=new Map;for(n={},l=(s=f(s)).next();!l.done;n={Ib:n.Ib},l=s.next()){var h=l.value;l=h.getAttribute("schemeIdUri"),h=h.getAttribute("value"),"urn:scte:dash:cc:cea-608:2015"==l||"urn:scte:dash:cc:cea-708:2015"==l?(n.Ib=1,null!=h?h.split(";").forEach(function(e){return function(t){if(t.includes("=")){var r=(t=t.split("="))[0].startsWith("CC")?t[0]:"CC"+t[0];t=t[1].split(",")[0].split(":").pop()}else r="CC"+e.Ib,e.Ib+=2;d.set(r,Ir(t))}}(n)):d.set("CC1","und")):"urn:mpeg:dash:role:2011"==l&&null!=h&&(i.push(h),"captions"==h&&(o="caption"))}if(c)return null;var p=Gn(n=Bn.P(t,"ContentProtection"),this.a.dash.customScheme,this.a.dash.ignoreDrmInfo);if(n=Ir(t.getAttribute("lang")||"und"),s=t.getAttribute("label"),(l=Bn.P(t,"Label"))&&l.length&&(l=l[0]).textContent&&(s=l.textContent),0==(i=(l=Bn.P(t,"Representation")).map(this.Qf.bind(this,e,p,o,n,s,r,i,d)).filter((function(e){return!!e}))).length){if(this.a.dash.ignoreEmptyAdaptationSet||a)return null;throw new me(2,4,4003)}return e.aa.contentType&&"application"!=e.aa.contentType||(e.aa.contentType=Ci(i[0].mimeType,i[0].codecs),i.forEach((function(t){t.type=e.aa.contentType}))),i.forEach((function(e){p.drmInfos.forEach((function(t){e.keyId&&t.keyIds.push(e.keyId)}))})),a=l.map((function(e){return e.getAttribute("id")})).filter(Gt.Ia),{id:e.aa.id||"__fake__"+this.h++,contentType:e.aa.contentType,language:n,$c:r,streams:i,drmInfos:p.drmInfos,Bd:u,Yf:a}},n.Qf=function(e,t,r,n,i,o,a,s,l){if(e.C=wi(l,e.aa,null),!function(e){var t=e.Ub?1:0;return t+=e.La?1:0,0==(t+=e.Wb?1:0)?"text"==e.contentType||"application"==e.contentType:(1!=t&&(e.Ub&&(e.La=null),e.Wb=null),!0)}(e.C))return null;e.bandwidth=Bn.I(l,"bandwidth",Bn.tc)||0;var u=e.C.contentType;u="text"==u||"application"==u;try{var c=this.Zf.bind(this);if(e.C.Ub)var d=function(e,t){var r=Number($n(e,di,"presentationTimeOffset"))||0,n=$n(e,di,"timescale"),i=1;n&&(i=Bn.tc(n)||1),r=r/i||0,n=ui(e,di);var o=e.C.contentType;if(i=e.C.mimeType.split("/")[1],"text"!=o&&"mp4"!=i&&"webm"!=i)throw new me(2,4,4006);if("webm"==i&&!n)throw new me(2,4,4005);o=qn(e,di,"RepresentationIndex");var a=$n(e,di,"indexRange"),s=e.C.qa;if(a=Bn.uc(a||""),o){var l=o.getAttribute("sourceURL");l&&(s=Vt(e.C.qa,[l])),a=Bn.I(o,"range",Bn.uc,a)}if(!a)throw new me(2,4,4002);return{createSegmentIndex:(i=ci(e,t,n,s,a.start,a.end,i,r)).createSegmentIndex,findSegmentPosition:i.findSegmentPosition,getSegmentReference:i.getSegmentReference,initSegmentReference:n,ma:r}}(e,c);else if(e.C.La)d=fi(e,this.m);else if(e.C.Wb)d=pi(e,c,this.m,!!this.c);else{var f=e.C.qa,h=e.T.duration||0;d={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(e){return 0<=e&&e<h?1:null},getSegmentReference:function(e){return 1!=e?null:new Zn(1,0,h,(function(){return f}),0,null)},initSegmentReference:null,ma:0}}}catch(e){if(u&&4002==e.code)return null;throw e}return l=function(e,t,r,n){var i=Gn(e,t,n);if(r.Pd)e=1==r.drmInfos.length&&!r.drmInfos[0].keySystem,t=0==i.drmInfos.length,(0==r.drmInfos.length||e&&!t)&&(r.drmInfos=i.drmInfos),r.Pd=!1;else if(0<i.drmInfos.length&&(r.drmInfos=r.drmInfos.filter((function(e){return i.drmInfos.some((function(t){return t.keySystem==e.keySystem}))})),0==r.drmInfos.length))throw new me(2,4,4008);return i.Kd||r.Kd}(l=Bn.P(l,"ContentProtection"),this.a.dash.customScheme,t,this.a.dash.ignoreDrmInfo),{id:this.h++,originalId:e.C.id,createSegmentIndex:d.createSegmentIndex,findSegmentPosition:d.findSegmentPosition,getSegmentReference:d.getSegmentReference,initSegmentReference:d.initSegmentReference,presentationTimeOffset:d.ma,mimeType:e.C.mimeType,codecs:e.C.codecs,frameRate:e.C.frameRate,pixelAspectRatio:e.C.pixelAspectRatio,bandwidth:e.bandwidth,width:e.C.width,height:e.C.height,kind:r,encrypted:0<t.drmInfos.length,keyId:l,language:n,label:i,type:e.aa.contentType,primary:o,trickModeVideo:null,emsgSchemeIdUris:e.C.emsgSchemeIdUris,roles:a,channelsCount:e.C.gd,audioSamplingRate:e.C.audioSamplingRate,closedCaptions:s}},n.Pf=function(e,t,r){var n=Bn.yb,i=r.getAttribute("schemeIdUri")||"",o=r.getAttribute("value")||"",a=Bn.I(r,"timescale",n)||1;Bn.P(r,"Event").forEach(function(r){var s=Bn.I(r,"presentationTime",n)||0,l=Bn.I(r,"duration",n)||0;l=(s=s/a+e)+l/a,null!=t&&(s=Math.min(s,e+t),l=Math.min(l,e+t)),r={schemeIdUri:i,value:o,startTime:s,endTime:l,id:r.getAttribute("id")||"",eventElement:r},this.b.onTimelineRegionAdded(r)}.bind(this))},n.Zf=function(e,t,r){return e=vi(e,t,r,this.a.retryParameters),e=this.b.networkingEngine.request(1,e),Pe(this.g,e),e.promise.then((function(e){return e.data}))},gi.pd("mpd",bi),gi.Cb("application/dash+xml",bi),gi.Cb("video/vnd.mpeg.dash.mpd",bi),Ri.prototype.toString=function(){var e="#"+this.name,t=this.a?this.a.map((function(e){return e.name+"="+(isNaN(Number(e.value))?'"'+e.value+'"':e.value)})):[];return this.value&&t.unshift(this.value),0<t.length&&(e+=":"+t.join(",")),e},Ri.prototype.getAttribute=function(e){var t=this.a.filter((function(t){return t.name==e}));return t.length?t[0]:null};var Ii={nb:function(e,t){return e.filter((function(e){return e.name==t}))},Ta:function(e,t){var r=Ii.nb(e,t);return r.length?r[0]:null},Pc:function(e,t,r){return e.filter((function(e){var n=e.getAttribute("TYPE");return e=e.getAttribute("GROUP-ID"),n.value==t&&e.value==r}))},Hc:function(e,t){return Vt([e],[t])[0]},Yc:function(e){return/^#(?!EXT)/m.test(e)}};function Oi(e){this.b=e,this.a=0}function Di(e){Mi(e,/[ \t]+/gm)}function Mi(e,t){t.lastIndex=e.a;var r=t.exec(e.b);return r=null==r?null:{position:r.index,length:r[0].length,ag:r},e.a==e.b.length||null==r||r.position!=e.a?null:(e.a+=r.length,r.ag)}function Ni(e){return e.a==e.b.length?null:(e=Mi(e,/[^ \t\n]*/gm))?e[0]:null}function Fi(){this.a=0}function Ui(e,t,r){var n=(t=(t=at(t)).replace(/\r\n|\r(?=[^\n]|$)/gm,"\n").trim()).split(/\n+/m);if(!/^#EXTM3U($|[ \t\n])/m.test(n[0]))throw new me(2,4,4015);t=0;for(var i=1;i<n.length;i++)if(!Ii.Yc(n[i])){var o=Ki(e,n[i]);if(--e.a,Gi.includes(o.name)){t=1;break}"EXT-X-STREAM-INF"==o.name&&(i+=1)}for(i=[],o=1;o<n.length;)if(Ii.Yc(n[o]))o+=1;else{var a=Ki(e,n[o]);if(Vi.includes(a.name)){if(1!=t)throw new me(2,4,4017);return new xi(r,t,i,e=Bi(e,r,n=n.splice(o,n.length-o),i))}i.push(a),o+=1,"EXT-X-STREAM-INF"==a.name&&(a.a.push(new Li("URI",n[o])),o+=1)}return new xi(r,t,i)}function Bi(e,t,r,n){var i=[],o=[];return r.forEach((function(r){if(/^(#EXT)/.test(r))r=Ki(e,r),Gi.includes(r.name)?n.push(r):o.push(r);else{if(Ii.Yc(r))return[];r=Ii.Hc(t,r.trim()),i.push(new Pi(r,o)),o=[]}})),i}function Ki(e,t){var r=e.a++,n=t.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!n)throw new me(2,4,4016,t);var i,o=n[1],a=n[2];if(n=[],a){var s;(s=Mi(a=new Oi(a),/^([^,=]+)(?:,|$)/g))&&(i=s[1]);for(var l=/([^=]+)=(?:"([^"]*)"|([^",]*))(?:,|$)/g;s=Mi(a,l);)n.push(new Li(s[1],s[2]||s[3]))}return new Ri(r,o,n,i)}var Gi="EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-MAP EXT-X-I-FRAMES-ONLY EXT-X-ENDLIST".split(" "),Vi="EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE".split(" ");function Hi(e){try{var t=Hi.parse(e);return _e({uri:e,ld:e,data:t.data,headers:{"content-type":t.contentType}})}catch(e){return ve(e)}}function Yi(){var e=this;this.a=this.f=null,this.$=1,this.D=new Map,this.S=new Set,this.b=new Map,this.c=null,this.u="",this.s=new Fi,this.O=0,this.h=new fe((function(){!function(e){p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return e.f?(k(t,2),S(t,e.update(),4)):t.return();case 4:r=e.O,e.h.R(r),x(t,0);break;case 2:if(n=R(t),!e.f)return t.return();n.severity=1,e.f.onError(n),e.h.R(.1),w(t)}}))}))}(e)})),this.g=fo,this.m=null,this.B=0,this.F=1/0,this.i=new je,this.K=[],this.l=new Map,this.W=!1}function zi(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d,f;return M(r,(function(r){switch(r.j){case 1:return n=Ii,i=ho,o=t.Ce,S(r,uo(e,Me([o],e.a.retryParameters),0),2);case 2:if(a=r.o,1!=(s=Ui(e.s,a.data,a.uri)).type)throw new me(2,4,4017);return u=(l=n.Ta(s.a,"EXT-X-MEDIA-SEQUENCE"))?Number(l.value):0,c=t.stream,S(r,eo(e,t.Bc,s,u,c.mimeType,c.codecs),3);case 3:d=r.o,t.Vb.a=d,f=d[d.length-1],n.Ta(s.a,"EXT-X-ENDLIST")&&(lo(e,i.Qa),e.c.xa(f.endTime)),w(r)}}))}))}function Wi(e){e.forEach((function(e){if(e){var t=e.stream.codecs.split(",");t=t.filter((function(e){return"mp4a.40.34"!=e})),e.stream.codecs=t.join(",")}}))}function $i(e,t,r,n,i){return{id:e.$++,language:t?t.language:"und",primary:!!t&&t.primary||!!r&&r.primary,audio:t,video:r,bandwidth:n,drmInfos:i,allowedByApplication:!0,allowedByKeySystem:!0}}function qi(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,f;return M(n,(function(n){switch(n.j){case 1:if(i=no(t,"URI"),e.b.has(i))return n.return(e.b.get(i));if(o=no(t,"TYPE").toLowerCase(),a=Yt,"subtitles"==o&&(o=a.ra),s=Ir(ji(t,"LANGUAGE","und")),l=ji(t,"NAME"),u=t.getAttribute("DEFAULT"),c=t.getAttribute("AUTOSELECT"),d=ji(t,"CHANNELS"),"audio"==o)if(d){var h=d.split("/")[0];h=parseInt(h,10)}else h=null;else h=null;return S(n,Xi(e,i,r,o,s,!!u||!!c,l,h,null),2);case 2:return f=n.o,e.b.has(i)?n.return(e.b.get(i)):null==f?n.return(null):(e.D.set(t.id,f),e.b.set(i,f),n.return(f))}}))}))}function Xi(e,t,r,n,i,o,a,s,l){return p((function u(){var c,d,h,m,g,y,v,b,_,A,E,T,w,C,L,j,P,I,O,D,N,F,U,B,K,G;return M(u,(function(u){switch(u.j){case 1:return d=(c=Ii).Hc(e.u,t),S(u,uo(e,Me([d],e.a.retryParameters),0),2);case 2:if(h=u.o,d=h.uri,1!=(m=Ui(e.s,h.data,d)).type)throw new me(2,4,4017);g=[],m.segments.forEach((function(e){e=c.nb(e.b,"EXT-X-KEY"),g.push.apply(g,e)})),y=!1,v=[],b=null;for(var V=f(g),H=V.next();!H.done;H=V.next())if(_=H.value,"NONE"!=(A=no(_,"METHOD"))){if(y=!0,"AES-128"==A)return e.W=!0,u.return(null);E=no(_,"KEYFORMAT"),(w=(T=co[E])?T(_):null)&&(w.keyIds.length&&(b=w.keyIds[0]),v.push(w))}if(y&&!v.length)throw new me(2,4,4026);return function(e,t){var r=ho,n=Ii.Ta(t.a,"EXT-X-PLAYLIST-TYPE"),i=Ii.Ta(t.a,"EXT-X-ENDLIST");i=n&&"VOD"==n.value||i,n=n&&"EVENT"==n.value&&!i,n=!i&&!n,i?lo(e,r.Qa):(lo(e,n?r.Fd:r.xe),r=io(t.a,"EXT-X-TARGETDURATION"),r=Number(r.value),e.B=Math.max(r,e.B),e.F=Math.min(r,e.F))}(e,m),C=function(e,t){if(1==t.length)return t[0];var r=ro(e,t);if(null!=r)return r;throw new me(2,4,4025,t)}(n,r),S(u,function(e,t,r,n){return p((function i(){var o,a,s,l,u,c,d,f,h;return M(i,(function(i){switch(i.j){case 1:return o=Yt,a=n.segments[0].a,s=new Z(a),l=s.ja.split(".").pop(),u=so[t],(c=u[l])?i.return(c):t==o.ra?r&&"vtt"!=r?i.return("application/mp4"):i.return("text/vtt"):((d=Me([a],e.a.retryParameters)).method="HEAD",S(i,uo(e,d,1),2));case 2:if(f=i.o,!(h=f.headers["content-type"]))throw new me(2,4,4021,l);return i.return(h.split(";")[0])}}))}))}(e,n,C,m),3);case 3:return L=u.o,ao.includes(L)&&(C=""),P=(j=c.Ta(m.a,"EXT-X-MEDIA-SEQUENCE"))?Number(j.value):0,k(u,4),S(u,eo(e,t,m,P,L,C),6);case 6:I=u.o,x(u,5);break;case 4:if(4035==(O=R(u)).code)return q("Skipping unsupported HLS stream",L,t),u.return(null);throw O;case 5:return D=I[0].startTime,N=I[I.length-1].endTime,F=N-D,U=new ei(I),B=Ji(m),K=void 0,"text"==n&&(K="subtitle"),G={id:e.$++,originalId:a,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:U.find.bind(U),getSegmentReference:U.get.bind(U),initSegmentReference:B,presentationTimeOffset:0,mimeType:L,codecs:C,kind:K,encrypted:y,keyId:b,language:i,label:a,type:n,primary:o,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,width:void 0,height:void 0,bandwidth:void 0,roles:[],channelsCount:s,audioSamplingRate:null,closedCaptions:l},u.return({stream:G,Vb:U,drmInfos:v,Bc:t,Ce:d,dd:D,Hg:N,duration:F})}}))}))}function Ji(e){var t=Ii.nb(e.a,"EXT-X-MAP");if(!t.length)return null;if(1<t.length)throw new me(2,4,4020);var r=no(t=t[0],"URI"),n=Ii.Hc(e.b,r);return e=0,r=null,(t=ji(t,"BYTERANGE"))&&(e=t.split("@"),t=Number(e[0]),r=(e=Number(e[1]))+t-1),new Jn((function(){return[n]}),e,r)}function Zi(e,t,r,n){var i=t.b,o=t.a;t=io(i,"EXTINF").value.split(","),t=n+Number(t[0]);var a=0,s=null;return(i=Ii.Ta(i,"EXT-X-BYTERANGE"))&&(a=i.value.split("@"),i=Number(a[0]),s=(a=a[1]?Number(a[1]):e.a+1)+i-1),new Zn(r,n,t,(function(){return[o]}),a,s)}function Qi(e){e.c&&(e.K.forEach((function(t){e.c.vb(t,0)})),e.K=[])}function eo(e,t,r,n,i,o){return p((function a(){var s,l,u,c,d,f,h,m,g,y;return M(a,(function(a){switch(a.j){case 1:return s=r.segments,l=[],u=s[0].a,c=Zi(null,s[0],n,0),d=Ji(r),S(a,function(e,t,r,n,i,o){return p((function a(){var s,l,u,c,d,f,h,p,m;return M(a,(function(a){switch(a.j){case 1:if(e.m&&(s=e.b.get(t),l=s.Vb,u=l.get(n.position)))return a.return(u.startTime);if(i=i.toLowerCase(),ao.includes(i))throw q("Raw formats are not yet supported. Skipping "+i),new me(1,4,4035);if("video/webm"==i)throw q("WebM in HLS is not yet supported. Skipping."),new me(1,4,4035);if("video/mp4"!=i&&"audio/mp4"!=i){a.A(2);break}return c=[to(e,n)],r&&c.push(to(e,r)),S(a,Promise.all(c),3);case 3:return d=a.o,f=d[0],h=d[1]||d[0],a.return(function(e,t,r,n){var i=0;if((new In).H("moov",On).H("trak",On).H("mdia",On).fa("mdhd",(function(e){e.reader.M(0==e.version?8:16),i=e.reader.G(),e.parser.stop()})).parse(n,!0),!i)throw new me(2,4,4030,e,t);var o=0,a=!1;if((new In).H("moof",On).H("traf",On).fa("tfdt",(function(e){o=(0==e.version?e.reader.G():e.reader.Bb())/i,a=!0,e.parser.stop()})).parse(r,!0),!a)throw new me(2,4,4030,e,t);return o}(t,f.uri,f.data,h.data));case 2:if("video/mp2t"!=i){a.A(4);break}return S(a,to(e,n),5);case 5:return p=a.o,a.return(function(e,t,r){function n(){throw new me(2,4,4030,e,t)}r=new Ln(new DataView(r),0);for(var i=0,o=0;;){if(i=r.ca(),71!=(o=r.la())&&n(),16384&r.Tb()||n(),0!=(o=(48&r.la())>>4)&&2!=o||n(),3==o&&(o=r.la(),r.M(o)),1==r.G()>>8)return r.M(3),0!=(i=r.la()>>6)&&1!=i||n(),0==r.la()&&n(),i=r.la(),o=r.Tb(),r=r.Tb(),(1073741824*((14&i)>>1)+((65534&o)<<14|(65534&r)>>1))/9e4;r.seek(i+188),71!=(o=r.la())&&(r.seek(i+192),o=r.la()),71!=o&&(r.seek(i+204),o=r.la()),71!=o&&n(),r.me(1)}}(t,p.uri,p.data));case 4:if("application/mp4"!=i&&!i.startsWith("text/")){a.A(6);break}return S(a,to(e,n),7);case 7:return m=a.o,a.return(function(e,t,r){return pr(e=qe(e,t))?(mr(t=new fr(null),e),t.kc(r)):0}(i,o,m.data));case 6:throw new me(2,4,4030,t)}}))}))}(e,t,d,c,i,o),2);case 2:f=a.o,u.split("/").pop();for(var v=0;v<s.length;++v)h=s[v],m=l[l.length-1],g=0==v?f:m.endTime,y=Zi(m,h,n+v,g),l.push(y);return e.K.push(l),Qi(e),a.return(l)}}))}))}function to(e,t){return p((function r(){var n,i,o,a,s,l;return M(r,(function(r){switch(r.j){case 1:return n=1,i=vi(t.c(),t.b,t.b+2048-1,e.a.retryParameters),o=vi(t.c(),t.b,t.a,e.a.retryParameters),k(r,2),S(r,uo(e,i,n),4);case 4:return a=r.o,r.return(a);case 2:if(7001==(s=R(r)).code)throw s;return q("Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive! Your server should support Range requests and CORS preflights.",i.uris[0]),S(r,uo(e,o,n),5);case 5:return l=r.o,r.return(l)}}))}))}function ro(e,t){for(var r=oo[e],n=0;n<r.length;n++)for(var i=0;i<t.length;i++)if(r[n].test(t[i].trim()))return t[i].trim();return"text"==e?"":null}function no(e,t){var r=e.getAttribute(t);if(!r)throw new me(2,4,4023,t);return r.value}function io(e,t){var r=Ii.Ta(e,t);if(!r)throw new me(2,4,4024,t);return r}G("shaka.net.DataUriPlugin",Hi),Hi.parse=function(t){var r=t.split(":");if(2>r.length||"data"!=r[0])throw new me(2,1,1004,t);if(2>(r=r.slice(1).join(":").split(",")).length)throw new me(2,1,1004,t);var n=r[0];r=e.decodeURIComponent(r.slice(1).join(","));var i=null;if(1<(n=n.split(";")).length&&(i=n[1]),"base64"==i)t=ht.Ba(r).buffer;else{if(i)throw new me(2,1,1005,t);t=ut(r)}return{data:t,contentType:n[0]}},De("data",Hi),G("shaka.hls.HlsParser",Yi),(n=Yi.prototype).configure=function(e){this.a=e},n.start=function(e,t){var r=this;return p((function n(){var i,o;return M(n,(function(n){switch(n.j){case 1:return r.f=t,S(n,uo(r,Me([e],r.a.retryParameters),0),2);case 2:return i=n.o,r.u=i.uri,S(n,function(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d,h,m;return M(r,(function(r){switch(r.j){case 1:if(0!=(n=Ui(e.s,t,e.u)).type)throw new me(2,4,4022);return S(r,function(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d,h,m,g;return M(r,(function(r){switch(r.j){case 1:return n=Ii,i=Gt,o=t.a,a=n.nb(t.a,"EXT-X-MEDIA"),s=a.filter(function(e){return"SUBTITLES"==no(e,"TYPE")}.bind(e)),l=s.map(function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return t.a.disableText?r.return(null):(k(r,2),S(r,function(e,t){return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return no(t,"TYPE"),S(r,qi(e,t,[]),2);case 2:return n=r.o,r.return(n.stream)}}))}))}(t,e),4));case 4:return r.return(r.o);case 2:if(n=R(r),t.a.hls.ignoreTextStreamFailures)return r.return(null);throw n}}))}))}.bind(e)),u=a.filter((function(e){return"CLOSED-CAPTIONS"==no(e,"TYPE")})),function(e,t){for(var r=f(t),n=r.next();!n.done;n=r.next()){no(n=n.value,"TYPE");var i=ji(n,"LANGUAGE")||"und";i=Ir(i);var o=no(n,"GROUP-ID");n=no(n,"INSTREAM-ID"),e.l.get(o)||e.l.set(o,new Map),e.l.get(o).set(n,i)}}(e,u),S(r,Promise.all(l),2);case 2:return c=r.o,d=n.nb(o,"EXT-X-STREAM-INF"),h=d.map(function(e){return function(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,h,m,g,y,v,b,_,A,E,T,w,k,C,x,R,L,j,P,I;return M(n,(function(n){switch(n.j){case 1:return i=Yt,o=Ii,a=ji(t,"CODECS","avc1.42E01E,mp4a.40.2"),s=function(e){for(var t=new Set,r=[],n=(e=f(e)).next();!n.done;n=e.next()){var i=Xe(n=n.value)[0];t.has(i)||(r.push(n),t.add(i))}return r}(a.split(/\s*,\s*/)),l=t.getAttribute("RESOLUTION"),c=u=null,d=ji(t,"FRAME-RATE"),h=Number(no(t,"BANDWIDTH")),l&&(m=l.value.split("x"),u=m[0],c=m[1]),g=(g=(g=o.nb(r.a,"EXT-X-MEDIA")).filter((function(e){return"CLOSED-CAPTIONS"!=no(e,"TYPE")}))).filter((function(e){var t=ji(e,"URI")||"";return"SUBTITLES"==(ji(e,"TYPE")||"")||""!=t})),y=ji(t,"AUDIO"),v=ji(t,"VIDEO"),y?g=o.Pc(g,"AUDIO",y):v&&(g=o.Pc(g,"VIDEO",v)),(b=ro(i.ra,s))&&((_=ji(t,"SUBTITLES"))&&(A=o.Pc(g,"SUBTITLES",_)).length&&(E=e.D.get(A[0].id))&&(E.stream.codecs=b),Re(s,b)),T=g.map(function(e){return qi(this,e,s)}.bind(e)),w=[],k=[],S(n,Promise.all(T),2);case 2:if(x=(x=n.o).filter((function(e){return null!=e})),y?w=x:v&&(k=x),L=!1,w.length||k.length?w.length?(P=no(t,"URI"),I=w[0].Bc,P==I?(R=i.Eb,L=!0):R=i.Pa):R=i.Eb:1==s.length?(j=ro(i.Pa,s),R=l||d||j?i.Pa:i.Eb):(R=i.Pa,s=[s.join(",")]),L){n.A(3);break}return S(n,function(e,t,r,n){return p((function i(){var o,a,s,l,u;return M(i,(function(i){switch(i.j){case 1:return o=Yt,a=no(t,"URI"),e.b.has(a)?i.return(e.b.get(a)):(s=ji(t,"CLOSED-CAPTIONS"),l=null,n==o.Pa&&s&&"NONE"!=s&&(l=e.l.get(s)),S(i,Xi(e,a,r,n,"und",!1,null,null,l),2));case 2:return null==(u=i.o)?i.return(null):e.b.has(a)?i.return(e.b.get(a)):(e.b.set(a,u),i.return(u))}}))}))}(e,t,s,R),4);case 4:C=n.o;case 3:if(C)C.stream.type==i.Eb?w=[C]:k=[C];else if(null===C)return n.return([]);return k&&Wi(k),w&&Wi(w),n.return(function(e,t,r,n,i,o,a){r.forEach(function(e){(e=e.stream)&&(e.width=Number(i)||void 0,e.height=Number(o)||void 0,e.frameRate=Number(a)||void 0)}.bind(e));var s=!!e.a&&e.a.disableAudio;t.length&&!s||(t=[null]),s=!!e.a&&e.a.disableVideo,(!r.length||s)&&(r=[null]),s=[];for(var l=(t=f(t)).next();!l.done;l=t.next()){l=l.value;for(var u=f(r),c=u.next();!c.done;c=u.next()){var d=c.value;c=l?l.stream:null;var h=d?d.stream:null,p=l?l.drmInfos:null,m=d?d.drmInfos:null;d=(d?d.Bc:"")+" - "+(l?l.Bc:"");var g=void 0;if(c&&h){if(p.length&&m.length&&!(0<Lt(p,m).length))continue;g=Lt(p,m)}else c?g=p:h&&(g=m);e.S.has(d)||(c=$i(e,c,h,n,g),s.push(c),e.S.add(d))}}return s}(e,w,k,h,u,c,d))}}))}))}(this,e,t)}.bind(e)),S(r,Promise.all(h),3);case 3:return m=r.o,g=(g=m.reduce(i.Gc,[])).filter((function(e){return null!=e})),r.return({startTime:0,variants:g,textStreams:c.filter((function(e){return null!=e}))})}}))}))}(e,n),2);case 2:if(i=r.o,!e.f)throw new me(2,7,7001);if(e.W&&0==i.variants.length)throw new me(2,4,4034);e.f.filterAllPeriods([i]),o=1/0,a=0,s=1/0;for(var g=f(e.b.values()),y=g.next();!y.done;y=g.next())l=y.value,o=Math.min(o,l.dd),a=Math.max(a,l.dd),"text"!=l.stream.type&&(s=Math.min(s,l.duration));if(e.g!=ho.Qa?(e.c=new yi(0,3*e.B),e.c.Xb(!1)):(e.c=new yi(null,0),e.c.Xb(!0)),Qi(e),e.g!=ho.Qa){for(e.O=e.F,u=ho,e.g==u.Fd&&(c=e.c.vc,isNaN(e.a.availabilityWindowOverride)||(c=e.a.availabilityWindowOverride),e.c.xd(c)),d=0;95443.7176888889<=a;)d+=95443.7176888889,a-=95443.7176888889;if(d)for(y=(g=f(e.b.values())).next();!y.done;y=g.next())95443.7176888889>(h=y.value).dd&&(h.stream.presentationTimeOffset=-d,h.Vb.offset(d))}else for(e.c.xa(s),e.c.offset(-o),y=(g=f(e.b.values())).next();!y.done;y=g.next())(m=y.value).stream.presentationTimeOffset=o,m.Vb.offset(-o),ti(m.Vb,s);e.m={presentationTimeline:e.c,periods:[i],offlineSessionIds:[],minBufferTime:0},w(r)}}))}))}(r,i.data),3);case 3:return 0<(o=r.O)&&r.h.R(o),n.return(r.m)}}))}))},n.stop=function(){this.h&&(this.h.stop(),this.h=null);var e=[];return this.i&&(e.push(this.i.destroy()),this.i=null),this.a=this.f=null,this.D.clear(),this.S.clear(),this.b.clear(),this.m=null,Promise.all(e)},n.update=function(){if(this.g!=ho.Qa){for(var e=[],t=f(this.b.values()),r=t.next();!r.done;r=t.next())e.push(zi(this,r.value));return Promise.all(e)}},n.onExpirationUpdated=function(){};var oo={audio:[/^vorbis$/,/^opus$/,/^flac$/,/^mp4a/,/^[ae]c-3$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av1$/],text:[/^vtt$/,/^wvtt/,/^stpp/]},ao=["audio/aac","audio/ac3","audio/ec3","audio/mpeg"],so={audio:{mp4:"audio/mp4",m4s:"audio/mp4",m4i:"audio/mp4",m4a:"audio/mp4",ts:"video/mp2t",aac:"audio/aac",ac3:"audio/ac3",ec3:"audio/ec3",mp3:"audio/mpeg"},video:{mp4:"video/mp4",m4s:"video/mp4",m4i:"video/mp4",m4v:"video/mp4",ts:"video/mp2t"},text:{mp4:"application/mp4",m4s:"application/mp4",m4i:"application/mp4",vtt:"text/vtt",ttml:"application/ttml+xml"}};function lo(e,t){e.g=t,e.c&&e.c.Xb(e.g==ho.Qa),e.g!=ho.Qa||e.h.stop()}function uo(e,t,r){if(!e.i)throw new me(2,7,7001);return t=e.f.networkingEngine.request(r,t),Pe(e.i,t),t.promise}var co={"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed":function(e){var t=no(e,"METHOD");return Kr("HLS SAMPLE-AES-CENC","SAMPLE-AES-CENC will no longer be supported, see Issue #1227"),["SAMPLE-AES","SAMPLE-AES-CTR","SAMPLE-AES-CENC"].includes(t)?(t=no(e,"URI"),t=Hi.parse(t),t=Ht("com.widevine.alpha",[{initDataType:"cenc",initData:t=new Uint8Array(t.data)}]),(e=ji(e,"KEYID"))&&(t.keyIds=[e.substr(2).toLowerCase()]),t):null}},fo="VOD",ho={Qa:fo,xe:"EVENT",Fd:"LIVE"};function po(){this.a=new Map}function mo(e,t,r){go(e,t).text=r}function go(e,t){return e.a.has(t)||e.a.set(t,new yo),e.a.get(t)}function yo(){this.text=this.variant=null}function vo(e,t){this.a=e,this.b=new Set([e]);for(var r=f(t=t||[]),n=r.next();!n.done;n=r.next())this.add(n.value)}function bo(e,t){var r;if(!(r=!!e.audio!=!!t.audio||!!e.video!=!!t.video||e.language!=t.language)&&(r=e.audio&&t.audio)){r=e.audio;var n=t.audio;r=!(r.channelsCount==n.channelsCount&&_o(r,n)&&Ao(r.roles,n.roles))}return!r&&(r=e.video&&t.video)&&(r=!(_o(r=e.video,n=t.video)&&Ao(r.roles,n.roles))),!r}function _o(e,t){if(e.mimeType!=t.mimeType)return!1;var r=e.codecs.split(",").map((function(e){return Xe(e)[0]})),n=t.codecs.split(",").map((function(e){return Xe(e)[0]}));if(r.length!=n.length)return!1;r.sort(),n.sort();for(var i=0;i<r.length;i++)if(r[i]!=n[i])return!1;return!0}function Ao(e,t){var r=new Set(e),n=new Set(t);if(r.delete("main"),n.delete("main"),r.size!=n.size)return!1;for(var i=(r=f(r)).next();!i.done;i=r.next())if(!n.has(i.value))return!1;return!0}function Eo(e){this.a=e,this.b=new To(e.language,"",e.audio&&e.audio.channelsCount?e.audio.channelsCount:0,"")}function To(e,t,r,n,i){this.f=e,this.c=t,this.a=r,this.b=void 0===n?"":n,this.g=void 0===i?"":i}function So(){this.a=Co,this.b=(new Map).set(Co,2).set(ko,1)}function wo(e,t,r){e.b.set(Co,r).set(ko,t)}gi.pd("m3u8",Yi),gi.Cb("application/x-mpegurl",Yi),gi.Cb("application/vnd.apple.mpegurl",Yi),vo.prototype.add=function(e){return!!bo(this.a,e)&&(this.b.add(e),!0)},vo.prototype.values=function(){return this.b.values()},Eo.prototype.create=function(e){var t=this,r=e.filter((function(e){return bo(t.a,e)}));return r.length?new vo(r[0],r):this.b.create(e)},To.prototype.create=function(e){var t=[];t=function(e,t){var r=Dr(Ir(t),e.map((function(e){return Or(e)})));return r?e.filter((function(e){return r==Or(e)})):[]}(e,this.f);var r=e.filter((function(e){return e.primary}));for(t=t.length?t:r.length?r:e,this.c&&(e=function(e,t,r){return e.filter((function(e){if(r){var n=e[r];return n&&n.roles.includes(t)}return n=e.audio,e=e.video,n&&0<=n.roles.indexOf(t)||e&&0<=e.roles.indexOf(t)}))}(t,this.c,this.g)).length&&(t=e),this.a&&(e=Nr.Nd(t,this.a)).length&&(t=e),this.b&&(e=function(e,t){return e.filter((function(e){return!!e.audio&&e.audio.label.toLowerCase()==t.toLowerCase()}))}(t,this.b)).length&&(t=e),e=new vo(t[0]),r=(t=f(t)).next();!r.done;r=t.next())r=r.value,bo(e.a,r)&&e.add(r);return e};var ko=0,Co=1;function xo(e,t){this.g=e,this.h=Lo(e),this.a=e.a.currentTime,this.f=Date.now()/1e3,this.b=!1,this.i=t,this.c=function(){}}function Ro(e){this.a=e}function Lo(e){if(e.a.paused||0==e.a.playbackRate||null==e.a.buffered)var t=!1;else e:{t=e.a.buffered,e=e.a.currentTime;for(var r=0;r<t.length;r++){var n=t.start(r),i=t.end(r);if(!(e<n||e>i-.5)){t=!0;break e}}t=!1}return t}function jo(e,t,r,n,i){var o=this;this.a=e,this.u=t,this.s=r,this.l=i,this.f=new Be,this.i=!1,this.m=e.readyState,this.c=!1,this.b=n,this.h=!1,this.f.w(e,"waiting",(function(){return Po(o)})),this.g=new fe((function(){Po(o)})).Na(.25)}function Po(e){if(0!=e.a.readyState){if(e.a.seeking){if(!e.i)return}else e.i=!1;if(!e.a.paused){e.a.readyState!=e.m&&(e.c=!1,e.m=e.a.readyState);var t=e.s.smallGapLimit,r=e.a.currentTime,n=e.a.buffered;e:{if(n&&n.length&&!(1==n.length&&1e-6>n.end(0)-n.start(0)))for(var i=rt("Edge/")||rt("Trident/")||rt("Tizen")||rt("CrKey")?.5:.1,o=0;o<n.length;o++)if(n.start(o)>r&&(0==o||n.end(o-1)-r<=i)){i=o;break e}i=null}if(null==i)e.b&&(r=Lo(n=(e=e.b).g),i=n.a.currentTime,o=Date.now()/1e3,e.a==i&&e.h==r||(e.f=o,e.a=i,e.h=r,e.b=!1),(i=o-e.f)>=e.i&&r&&!e.b&&(e.c(e.a,i),e.b=!0,e.a=n.a.currentTime));else if(0!=i||e.h){o=n.start(i);var a=e.u.Ca();if(!(o>=a)){t=(a=o-r)<=t;var s=!1;.001>a||(t||e.c||(e.c=!0,(r=new Se("largegap",{currentTime:r,gapSize:a})).cancelable=!0,e.l(r),e.s.jumpLargeGaps&&!r.defaultPrevented&&(s=!0)),!t&&!s)||(0!=i&&n.end(i-1),e.a.currentTime=o)}}}}}function Io(e){var t=this;this.c=e,this.a=new Set,this.b=new fe((function(){Oo(t,!1)})).Na(.25)}function Oo(e,t){for(var r=f(e.a),n=r.next();!n.done;n=r.next())n.value.g(e.c.currentTime,t)}function Do(e){for(var t=[],r=(e=f(e)).next();!r.done;r=e.next())for(var n=(r=f(r.value.variants)).next();!n.done;n=r.next())t.push(n.value);return t}function Mo(e,t){for(var r=null,n=f(e),i=n.next();!i.done;i=n.next())t>=(i=i.value).startTime&&(r=i);return r}function No(e){this.c=e,this.a=null,this.b=function(){}}function Fo(e){var t=this;this.a=e,this.f=!1,this.c=this.a.jc(),this.b=new fe((function(){t.a.Yd(.25*t.c)}))}function Uo(e){e.b.stop();var t=e.f?0:e.c;if(0<=t)try{return void(e.a.jc()!=t&&e.a.wd(t))}catch(e){}e.b.Na(.25),0!=e.a.jc()&&e.a.wd(0)}function Bo(e,t,r){this.a=e,this.f=t,this.g=r,this.h=!1,this.b=new Be,this.c=new Yo(e),0<e.readyState?Vo(this,r):Go(this,r)}function Ko(e){return e.h?e.a.currentTime:e.g}function Go(e,t){e.g=t,e.b.ea(e.a,"loadedmetadata"),e.b.da(e.a,"loadedmetadata",(function(){Vo(e,t)}))}function Vo(e,t){.001>Math.abs(e.a.currentTime-t)?Ho(e):(e.b.da(e.a,"seeking",(function(){Ho(e)})),zo(e.c,0==e.a.currentTime?t:e.a.currentTime))}function Ho(e){e.h=!0,e.b.w(e.a,"seeking",(function(){return e.f()}))}function Yo(e){var t=this;this.b=e,this.h=10,this.g=this.f=this.c=0,this.a=new fe((function(){0>=t.c||t.b.currentTime!=t.f?t.a.stop():(t.b.currentTime=t.g,t.c--)}))}function zo(e,t){e.f=e.b.currentTime,e.g=t,e.c=e.h,e.b.currentTime=t,e.a.Na(.1)}function Wo(e){function t(){null==r.c?r.f=!0:(r.b.da(r.a,"seeking",(function(){r.f=!0})),r.a.currentTime=Math.max(0,r.a.currentTime+r.c))}var r=this;this.a=e,this.f=!1,this.c=null,this.b=new Be,0==this.a.readyState?this.b.da(this.a,"loadeddata",t):t()}function $o(e,t,r,n,i,o){var a=this;this.b=e,this.a=t.presentationTimeline,this.B=t.minBufferTime||0,this.g=r,this.u=i,this.l=null,this.f=new jo(e,t.presentationTimeline,r,function(e,t){if(!t.stallEnabled)return null;var r=t.stallSkip,n=new xo(new Ro(e),t.stallThreshold);return function(e,t){e.c=t}(n,(function(){e.currentTime+=r})),n}(e,r),o),this.c=new Bo(e,(function(){var e=a.f;e.i=!0,e.h=!1,e.c=!1;var t=Ko(a.c);return e=Xo(a,t),.001<Math.abs(e-t)&&(t=(new Date).getTime()/1e3,!a.l||a.l<t-1)?(a.l=t,0<(t=a.c).a.readyState?zo(t.c,e):Go(t,e),e=void 0):(a.u(),e=void 0),e}),function(e,t){return null==t?t=1/0>e.a.Y()?e.a.ob():e.a.Ca():0>t&&(t=e.a.Ca()+t),qo(e,Jo(e,t))}(this,n)),this.i=new fe((function(){if(0!=a.b.readyState&&!a.b.paused){var e=a.b.currentTime,t=a.a.ob(),r=a.a.Ca();3>r-t&&(t=r-3),e<t&&(e=Xo(a,e),a.b.currentTime=e)}})).Na(.25)}function qo(e,t){var r=e.a.Y();return t>=r?r-e.g.durationBackoff:t}function Xo(e,t){var r=Ut.bind(null,e.b.buffered),n=Math.max(e.B,e.g.rebufferingGoal),i=e.g.safeSeekOffset,o=e.a.ob(),a=e.a.Ca(),s=e.a.Y();3>a-o&&(o=a-3);var l=e.a.Nb(n),u=e.a.Nb(i);return n=e.a.Nb(n+i),t>=s?qo(e,t):t>a?a:t<o?r(u)?u:n:t>=l||r(t)?t:n}function Jo(e,t){var r=e.a.ob();return t<r||t>(r=e.a.Ca())?r:t}function Zo(){this.b=function(){},this.a=new Set}function Qo(e){var t=this;this.h=e,this.f=new Map,this.a=function(){},this.b=function(){},this.c=function(){},this.i=[{eb:null,cb:ta,Wa:function(e,r){return t.a(e,r)}},{eb:ea,cb:ta,Wa:function(e,r){return t.a(e,r)}},{eb:ra,cb:ta,Wa:function(e,r){return t.a(e,r)}},{eb:ta,cb:ea,Wa:function(e,r){return t.b(e,r)}},{eb:ta,cb:ra,Wa:function(e,r){return t.b(e,r)}},{eb:ea,cb:ra,Wa:function(e,r){return t.c(e,r)}},{eb:ra,cb:ea,Wa:function(e,r){return t.c(e,r)}}]}xo.prototype.release=function(){this.g=null,this.c=function(){}},jo.prototype.release=function(){this.f&&(this.f.release(),this.f=null),null!=this.g&&(this.g.stop(),this.g=null),this.b&&(this.b.release(),this.b=null),this.a=this.u=this.l=null},jo.prototype.jd=function(){this.h=!0,Po(this)},Io.prototype.release=function(){this.b.stop();for(var e=f(this.a),t=e.next();!t.done;t=e.next())t.value.release();this.a.clear()},No.prototype.release=function(){this.a=this.c=null,this.b=function(){}},No.prototype.g=function(e){var t=this.a,r=this.c.periods;t!=(e=Mo(r,e)||r[0])&&this.b(e),this.a=e},Fo.prototype.release=function(){this.b&&(this.b.stop(),this.b=null),this.a=null},Fo.prototype.set=function(e){this.c=e,Uo(this)},Bo.prototype.release=function(){this.b&&(this.b.release(),this.b=null),null!=this.c&&(this.c.release(),this.c=null),this.f=function(){},this.a=null},Yo.prototype.release=function(){this.a&&(this.a.stop(),this.a=null),this.b=null},Wo.prototype.release=function(){this.b&&(this.b.release(),this.b=null),this.a=null},Wo.prototype.m=function(e){this.c=this.f?this.c:e},Wo.prototype.h=function(){return(this.f?this.a.currentTime:this.c)||0},Wo.prototype.s=function(){},$o.prototype.release=function(){this.c&&(this.c.release(),this.c=null),this.f&&(this.f.release(),this.f=null),this.i&&(this.i.stop(),this.i=null),this.b=this.c=this.a=this.g=null,this.u=function(){}},$o.prototype.m=function(e){var t=this.c;0<t.a.readyState?zo(t.c,e):Go(t,e)},$o.prototype.h=function(){var e=Ko(this.c);return 0<this.b.readyState&&!this.b.paused?Jo(this,e):e},$o.prototype.s=function(){this.f.jd()},Zo.prototype.release=function(){this.b=function(){},this.a.clear()},Qo.prototype.release=function(){this.h=null,this.f.clear(),this.a=function(){},this.b=function(){},this.c=function(){}},Qo.prototype.g=function(e,t){for(var r=f(this.h.a),n=r.next();!n.done;n=r.next()){n=n.value;var i=this.f.get(n),o=e<n.startTime?ea:e>n.endTime?ra:ta;this.f.set(n,o);for(var a=f(this.i),s=a.next();!s.done;s=a.next())(s=s.value).eb==i&&s.cb==o&&s.Wa(n,t)}};var ea=1,ta=2,ra=3;function na(e,t){this.a=t,this.c=e,this.g=null,this.l=1,this.u=Promise.resolve(),this.h=[],this.i=new Map,this.b=new Map,this.s=!1,this.F=null,this.D=this.f=this.m=!1,this.B=0}function ia(e){return aa(e,"audio")}function oa(e){return aa(e,"video")}function aa(e,t){var r=e.b.get(t);return r?r.Ka||r.stream:null}function sa(e,t){return p((function r(){var n,i,o,a,s,l,u,c,d;return M(r,(function(r){switch(r.j){case 1:return n=Yt,S(r,Cr(e.a.L,n.ra),2);case 2:return e.B++,e.D=!1,i=e.B,o=e.a.L,a=new Map,s=new Set,a.set(n.ra,t),s.add(t),S(r,o.init(a,!1),3);case 3:return e.f?r.return():S(r,ma(e,s),4);case 4:if(e.f)return r.return();l=e.a.L.g.isTextVisible()||e.g.alwaysStreamText,e.B!=i||e.b.has(n.ra)||e.D||!l||(u=e.a.Ua(),c=Ea(e,u),d=ha(t,c,0),e.b.set(n.ra,d),ka(e,d,0)),w(r)}}))}))}function la(e,t){var r=e.b.get("video");if(r){var n=r.stream;if(n)if(t){var i=n.trickModeVideo;i&&!r.Ka&&(ca(e,i,!1,0,!1),r.Ka=n)}else(n=r.Ka)&&(r.Ka=null,ca(e,n,!0,0,!1))}}function ua(e,t,r,n){var i=!1;if(t.video){var o=ca(e,t.video,r,n,!1);i=i||o}return t.audio&&(e=ca(e,t.audio,r,n,!1),i=i||e),i}function ca(e,t,r,n,i){var o=e.b.get(t.type);if(!o&&"text"==t.type&&e.g.ignoreTextStreamFailures)return sa(e,t),!0;if(!o)return!1;var a=Ta(e,t),s=Array.from(e.b.values()).every((function(e){return e.ia==o.ia}));return r&&a!=o.ia&&s?(e.b.forEach((function(t){da(e,t)})),!0):(o.Ka&&(t.trickModeVideo?(o.Ka=t,t=t.trickModeVideo):o.Ka=null),!(!(s=e.h[a])||!s.Db||!(s=e.i.get(t.id))||!s.Db||o.stream==t&&!i||("text"==t.type&&_r(e.a.L,qe(t.mimeType,t.codecs)),o.stream=t,o.nc=!0,function(e,t,r){if(!t.Rb)return!1;var n=e.a.Ua(),i=Tr(e.a.L,t.type),o=va(e,t,n,i,r);return r=o&&o.a?o.a-o.b:null,o&&!r&&(r=(o.endTime-o.kc())*t.stream.bandwidth/8),!isNaN(r)&&((o=t.stream.initSegmentReference)&&(r+=(o.a?o.a-o.b:null)||0),o=e.a.getBandwidthEstimate(),8*r/o<i-n-Math.max(e.c.minBufferTime||0,e.g.rebufferingGoal)||t.Rb.b.a>r)}(e,o,a)&&o.Rb.abort(),r&&(o.Ra?o.Cc=!0:o.Ja?(o.Oa=!0,o.dc=n,o.Cc=!0):(Ca(o),wa(e,o,!0,n).catch((function(t){e.a&&e.a.onError(t)})))),0)))}function da(e,t){t.Ra||t.Oa||(t.Ja?(t.Oa=!0,t.dc=0):null==Er(e.a.L,t.type)?null==t.Ga&&ka(e,t,0):(Ca(t),wa(e,t,!1,0).catch((function(t){e.a&&e.a.onError(t)}))))}function fa(e,t,r,n,i){return p((function o(){var a,s,l,u,c,d,f;return M(o,(function(o){switch(o.j){case 1:return a=e.a.Ua(),s=Ea(e,a),l=Yt,u=new Map,c=new Set,t&&(u.set(l.Eb,t),c.add(t)),r&&(u.set(l.Pa,r),c.add(r)),n&&(u.set(l.ra,n),c.add(n)),d=e.a.L,f=e.g.forceTransmuxTS,S(o,d.init(u,f),2);case 2:return e.f?o.return():(function(e){var t=e.c.presentationTimeline.Y();1/0>t?e.a.L.xa(t):e.a.L.xa(Math.pow(2,32))}(e),S(o,ma(e,c),3));case 3:if(e.f)return o.return();u.forEach((function(t,r){if(!e.b.has(r)){var n=ha(t,s,i);e.b.set(r,n),ka(e,n,0)}})),w(o)}}))}))}function ha(e,t,r){return{stream:e,type:e.type,sb:null,Da:null,Ka:null,nc:!0,ia:t,endOfStream:!1,Ja:!1,Ga:null,Oa:!1,dc:0,Cc:!1,Ra:!1,od:!1,Pb:!1,rd:r||0,Rb:null}}function pa(e,t){var r=e.h[t];if(r)return r.promise;r={promise:new ge,Db:!1},e.h[t]=r;for(var n=new Set,i=f(e.c.periods[t].variants),o=i.next();!o.done;o=i.next())(o=o.value).video&&n.add(o.video),o.video&&o.video.trickModeVideo&&n.add(o.video.trickModeVideo),o.audio&&n.add(o.audio);for(o=(i=f(e.c.periods[t].textStreams)).next();!o.done;o=i.next())n.add(o.value);return e.u=e.u.then(function(){if(!this.f)return ma(this,n)}.bind(e)).then(function(){this.f||(this.h[t].promise.resolve(),this.h[t].Db=!0)}.bind(e)).catch(function(e){this.f||(this.h[t].promise.catch((function(){})),this.h[t].promise.reject(),delete this.h[t],this.a.onError(e))}.bind(e)),r.promise}function ma(e,t){return p((function r(){var n,i,o,a,s,l,u;return M(r,(function(r){switch(r.j){case 1:n=[];for(var c=f(t),d=c.next();!d.done;d=c.next())i=d.value,(o=e.i.get(i.id))?n.push(o.promise):(e.i.set(i.id,{promise:new ge,Db:!1}),n.push(i.createSegmentIndex()));return k(r,2),S(r,Promise.all(n),4);case 4:if(e.f)return r.return();x(r,3);break;case 2:if(a=R(r),e.f)return r.return();for(d=(r=f(t)).next();!d.done;d=r.next())s=d.value,e.i.get(s.id).promise.catch((function(){})),e.i.get(s.id).promise.reject(),e.i.delete(s.id);throw a;case 3:for(d=(c=f(t)).next();!d.done;d=c.next())l=d.value,(u=e.i.get(l.id)).Db||(u.promise.resolve(),u.Db=!0);w(r)}}))}))}function ga(e,t){if(!e.f&&!t.Ja&&null!=t.Ga&&!t.Ra)if(t.Ga=null,t.Oa)wa(e,t,t.Cc,t.dc);else{try{var r=function(e,t){if(_a(t))return kr(e.a.L,t.stream.originalId||""),null;var r=e.a.Ua(),n=ya(e,t,r),i=Ta(e,t.stream),o=Ea(e,n),a=function(e,t,r){return"text"==t?null==(e=e.a).b||e.b<r?0:e.b-Math.max(r,e.a):Bt(e=Sr(e,t),r)}(e.a.L,t.type,r),s=Math.max(e.c.minBufferTime||0,e.g.rebufferingGoal,e.g.bufferingGoal)*e.l;if(n>=e.c.presentationTimeline.Y())return t.endOfStream=!0,"video"==t.type&&(n=e.b.get("text"))&&"application/cea-608"==n.stream.mimeType&&(n.endOfStream=!0),null;if(t.endOfStream=!1,t.ia=o,o!=i)return null;if(a>=s)return.5;if(o=Tr(e.a.L,t.type),!(o=va(e,t,r,o,i)))return 1;var l=1/0;return Array.from(e.b.values()).forEach((function(t){_a(t)||(t=ya(e,t,r),l=Math.min(l,t))})),n>=l+e.c.presentationTimeline.a?1:(t.rd=0,function(e,t,r,n,i){var o=e.c.periods[n],a=t.stream,s=e.c.presentationTimeline.Y(),l=e.c.periods[n+1];n=function(e,t,r,n,i){return t.nc?(r=function(e,t,r,n,i){return"text"==t?(e.a.m=r,(e=e.a).f=n,e.h=i,Promise.resolve()):Promise.all([xr(e,t,e.Be.bind(e,t)),xr(e,t,e.kg.bind(e,t,r)),xr(e,t,e.hg.bind(e,t,n,i))])}(e.a.L,t.type,e.c.periods[r].startTime-t.stream.presentationTimeOffset,n,i),t.stream.initSegmentReference?(e=Sa(e,t,t.stream.initSegmentReference).then(function(e){if(!this.f)return wr(this.a.L,t.type,e,null,null,t.stream.closedCaptions&&0<t.stream.closedCaptions.size)}.bind(e)).catch((function(e){return t.nc=!0,Promise.reject(e)})),Promise.all([r,e])):r):Promise.resolve()}(e,t,n,Math.max(0,o.startTime-.1),l?l.startTime+.01:s),t.Ja=!0,t.nc=!1,s=Sa(e,t,i),Promise.all([n,s]).then(function(e){if(!this.f&&!this.m)return function(e,t,r,n,i,o,a){var s=i.closedCaptions&&0<i.closedCaptions.size;return null!=i.emsgSchemeIdUris&&0<i.emsgSchemeIdUris.length&&(new In).fa("emsg",e.K.bind(e,n,o,i.emsgSchemeIdUris)).parse(a),function(e,t,r){var n=Math.max(e.g.bufferBehind,e.c.presentationTimeline.a),i=Er(e.a.L,t.type);return null==i||0>=(r=r-i-n)?Promise.resolve():e.a.L.remove(t.type,i,i+r).then(function(){}.bind(e))}(e,t,r).then(function(){if(!this.f)return wr(this.a.L,t.type,a,o.startTime+n.startTime,o.endTime+n.startTime,s)}.bind(e)).then(function(){if(!this.f)return t.sb=i,t.Da=o,Promise.resolve()}.bind(e))}(this,t,r,o,a,i,e[1])}.bind(e)).then(function(){this.f||this.m||(t.Ja=!1,t.od=!1,t.Oa||this.a.jd(),ka(this,t,0),function(e,t){if(!e.s){var r=Array.from(e.b.values());if(1==r.length&&"text"==r[0].type||(e.s=r.every((function(e){return"text"==e.type||!e.Oa&&!e.Ra&&e.Da}))),e.s){for(r=Ta(e,t),e.h[r]||pa(e,r).then(function(){this.f||this.a.$d()}.bind(e)).catch(Gt.oc),r=0;r<e.c.periods.length;++r)pa(e,r).catch(Gt.oc);e.a.Lf&&e.a.Lf()}}}(this,a))}.bind(e)).catch(function(e){this.f||this.m||(t.Ja=!1,"text"==t.type&&this.g.ignoreTextStreamFailures?this.b.delete("text"):7001==e.code?(t.Ja=!1,t.Ga=null,ka(this,t,0)):3017==e.code?function(e,t,r){if(!Array.from(e.b.values()).some((function(e){return e!=t&&e.od}))){var n=Math.round(100*e.l);if(20<n)e.l-=.2;else{if(!(4<n))return t.Pb=!0,e.m=!0,void e.a.onError(r);e.l-=.04}t.od=!0}ka(e,t,4)}(this,t,e):(t.Pb=!0,e.severity=2,xa(this,e)))}.bind(e))}(e,t,r,i,o),null)}(e,t);null!=r&&(ka(e,t,r),t.Pb=!1)}catch(t){return void xa(e,t)}r=Array.from(e.b.values()),function(e,t){var r=Ta(e,t.stream);if(t.ia!=r){var n=t.ia,i=Array.from(e.b.values());i.every((function(e){return e.ia==n||_a(e)}))&&i.every(Aa)&&pa(e,n).then(function(){if(!this.f&&i.every(function(e){var t=Aa(e),r=Ta(this,e.stream);return!!_a(e)||t&&e.ia==n&&r!=n}.bind(this))){var e=this.c.periods[n],t=this.a.ae(e),r=new Map;t.variant&&t.variant.video&&r.set("video",t.variant.video),t.variant&&t.variant.audio&&r.set("audio",t.variant.audio),t.text&&r.set("text",t.text);for(var o=(t=f(this.b.keys())).next();!o.done;o=t.next())if(o=o.value,!r.has(o)&&"text"!=o)return void this.a.onError(new me(2,5,5005));for(o=(t=f(Array.from(r.keys()))).next();!o.done;o=t.next())if(o=o.value,!this.b.has(o)){if("text"!=o)return void this.a.onError(new me(2,5,5005));fa(this,null,null,r.get("text"),e.startTime),r.delete(o)}for(o=(t=f(Array.from(this.b.keys()))).next();!o.done;o=t.next()){o=o.value;var a=this.b.get(o),s=r.get(o);if(s){var l=_a(a);l&&(a.ia=n,a.rd=e.startTime),ca(this,s,!1,0,!1),l&&_a(a)||ka(this,this.b.get(o),0)}else this.b.delete(o)}this.a.$d()}}.bind(e)).catch(Gt.oc)}}(e,t),e.s&&r.every((function(e){return e.endOfStream}))&&e.a.L.endOfStream().then(function(){if(!this.f){var e=this.a.L.Y();0!=e&&e<this.c.presentationTimeline.Y()&&this.c.presentationTimeline.xa(e)}}.bind(e))}}function ya(e,t,r){return t.sb&&t.Da?(r=Ta(e,t.sb),e.c.periods[r].startTime+t.Da.endTime):Math.max(r,t.rd)}function va(e,t,r,n,i){if(t.Da&&t.stream==t.sb)return ba(e,t,i,t.Da.position+1);if(t.Da?(r=Ta(e,t.sb),r=t.stream.findSegmentPosition(Math.max(0,e.c.periods[r].startTime+t.Da.endTime-e.c.periods[i].startTime))):r=t.stream.findSegmentPosition(Math.max(0,(n||r)-e.c.periods[i].startTime)),null==r)return null;var o=null;return null==n&&(o=ba(e,t,i,Math.max(0,r-1))),o||ba(e,t,i,r)}function ba(e,t,r,n){return r=e.c.periods[r],(t=t.stream.getSegmentReference(n))?(e=(n=e.c.presentationTimeline).Ob(),n=n.pb(),r.startTime+t.endTime<e||r.startTime+t.startTime>n?null:t):null}function _a(e){return e&&"text"==e.type&&"application/cea-608"==e.stream.mimeType}function Aa(e){return!e.Ja&&null==e.Ga&&!e.Oa&&!e.Ra}function Ea(e,t){var r=Mo(e.c.periods,t+1/15);return r?e.c.periods.indexOf(r):0}function Ta(e,t){for(var r=e.c.periods,n=0;n<r.length;n++){for(var i=r[n],o=new Set,a=f(i.variants),s=a.next();!s.done;s=a.next())(s=s.value).audio&&o.add(s.audio),s.video&&o.add(s.video),s.video&&s.video.trickModeVideo&&o.add(s.video.trickModeVideo);for(a=(i=f(i.textStreams)).next();!a.done;a=i.next())o.add(a.value);if(o.has(t))return n}return-1}function Sa(e,t,r){return r=vi(r.c(),r.b,r.a,e.g.retryParameters),e=e.a.ub.request(1,r),t.Rb=e,e.promise.then((function(e){return t.Rb=null,e.data}))}function wa(e,t,r,n){return p((function i(){var o,a,s;return M(i,(function(i){switch(i.j){case 1:return t.Oa=!1,t.Cc=!1,t.dc=0,t.Ra=!0,n?(a=e.a.Ua(),s=e.a.L.Y(),o=e.a.L.remove(t.type,a+n,s)):o=Cr(e.a.L,t.type).then(function(){if(!this.f&&r)return this.a.L.flush(t.type)}.bind(e)),S(i,o,2);case 2:if(e.f)return i.return();t.sb=null,t.Da=null,t.Ra=!1,t.endOfStream=!1,ka(e,t,0),w(i)}}))}))}function ka(e,t,r){t.Ga=new de((function(){return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return k(r,2),S(r,ga(e,t),4);case 4:x(r,0);break;case 2:n=R(r),e.a&&e.a.onError(n),w(r)}}))}))})).R(r)}function Ca(e){null!=e.Ga&&(e.Ga.stop(),e.Ga=null)}function xa(e,t){pe(e.F).then(function(){this.f||(this.a.onError(t),t.handled||this.g.failureCallback(t))}.bind(e))}function Ra(e,t,r,n,i,o){if(200<=r&&299>=r&&202!=r)return{uri:i||n,ld:n,data:t,headers:e,fromCache:!!e["x-shaka-from-cache"]};i=null;try{i=lt(t)}catch(e){}throw new me(401==r||403==r?2:1,1,1001,n,r,i,e,o)}function La(e,t,r,n){var i=new La.b;We(t.headers).forEach((function(e,t){i.append(t,e)}));var o=new La.a,a={Id:!1,te:!1};if(e=new ye(e=La.l(e,r,{body:t.body||void 0,headers:i,method:t.method,signal:o.signal,credentials:t.allowCrossSiteCredentials?"include":void 0},a,n),(function(){return a.Id=!0,o.abort(),Promise.resolve()})),t=t.retryParameters.timeout){var s=new fe((function(){a.te=!0,o.abort()}));s.R(t/1e3),e.finally((function(){s.stop()}))}return e}function ja(e,t,r,n){var i=new ja.f,o=Date.now(),a=0;return new ye(new Promise((function(s,l){for(var u in i.open(t.method,e,!0),i.responseType="arraybuffer",i.timeout=t.retryParameters.timeout,i.withCredentials=t.allowCrossSiteCredentials,i.onabort=function(){l(new me(1,1,7001,e,r))},i.onload=function(t){for(var n=(t=t.target).getAllResponseHeaders().trim().split("\r\n"),i={},o=(n=f(n)).next();!o.done;o=n.next())i[(o=o.value.split(": "))[0].toLowerCase()]=o.slice(1).join(": ");try{var a=Ra(i,t.response,t.status,e,t.responseURL,r);s(a)}catch(e){l(e)}},i.onerror=function(t){l(new me(1,1,1002,e,t,r))},i.ontimeout=function(){l(new me(1,1,1003,e,r))},i.onprogress=function(e){var t=Date.now();(100<t-o||e.lengthComputable&&e.loaded==e.total)&&(n(t-o,e.loaded-a,e.total-e.loaded),a=e.loaded,o=t)},t.headers)i.setRequestHeader(u.toLowerCase(),t.headers[u]);i.send(t.body)})),(function(){return i.abort(),Promise.resolve()}))}function Pa(){this.a=this.f=this.b=0,this.c=new Map,this.g=0}function Ia(e,t,r){this.h=e,this.b=new Map,this.c=!1,this.g=t,this.f=r,this.a=new Pa}function Oa(e,t,r,n,i,o){var a=function(e,t){e.b+=t;var r=e.g;return e.g++,e.c.set(r,t),r}(e.a,n);n=e.b.get(t)||Promise.resolve(),e.b.set(t,n.then((function(){return p((function t(){var n,s,l,u,c,d;return M(t,(function(t){switch(t.j){case 1:return S(t,function(e,t){return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,e.h.request(1,t).promise,2);case 2:return n=r.o,r.return(n.data)}}))}))}(e,r),2);case 2:if(n=t.o,e.c)throw new me(2,9,7001);if(i)for(var f in s=new Uint8Array(n),(l=new Un(s)).data)u=Number(f),c=l.data[u],d=l.a[u],e.f(c,d);return e.a.close(a,n.byteLength),f=e.a,e.g(0==f.b?0:f.f/f.b,e.a.a),t.return(o(n))}}))}))})))}function Da(e,t){var r=this;this.c=e,this.b=e.objectStore(t),this.a=new ge,e.onabort=function(e){e.preventDefault(),r.a.reject()},e.onerror=function(e){e.preventDefault(),r.a.reject()},e.oncomplete=function(){r.a.resolve()}}function Ma(e,t){return new Promise((function(r,n){var i=e.b.openCursor();i.onerror=n,i.onsuccess=function(e){if(!(e=e.target.result))return r();t(e.key,e.value,e),e.continue()}}))}function Na(e){this.b=e,this.a=[]}function Fa(e,t){return Ua(e,t,"readwrite")}function Ua(e,t,r){var n=new Da(r=e.b.transaction([t],r),t);return e.a.push(n),n.promise().then((function(){Re(e.a,n)}),(function(){Re(e.a,n)})),n}function Ba(e,t,r){this.b=new Na(e),this.c=t,this.a=r}function Ka(e){return Promise.reject(new me(2,9,9011,"Cannot add new value to "+e))}function Ga(e,t,r,n){t=(e=Fa(e.b,t)).store();for(var i={},o=(r=f(r)).next();!o.done;i={key:i.key},o=r.next())i.key=o.value,t.delete(i.key).onsuccess=function(e){return function(){return n(e.key)}}(i);return e.promise()}function Va(e,t,r){return p((function n(){var i,o,a,s,l,u,c;return M(n,(function(n){switch(n.j){case 1:for(i=Ua(e.b,t,"readonly"),o=i.store(),a={},s=[],l={},u=f(r),c=u.next();!c.done;l={request:l.request,key:l.key},c=u.next())l.key=c.value,l.request=o.get(l.key),l.request.onsuccess=function(e){return function(){null==e.request.result&&s.push(e.key),a[e.key]=e.request.result}}(l);return S(n,i.promise(),2);case 2:if(s.length)throw new me(2,9,9012,"Could not find values for "+s);return n.return(r.map((function(e){return a[e]})))}}))}))}function Ha(e){this.a=new Na(e)}function Ya(){this.a=new Map}function za(e,t,r){if(!(e=e.a.get(t)))throw new me(2,9,9013,"Could not find mechanism with name "+t);if(!(t=e.getCells().get(r)))throw new me(2,9,9013,"Could not find cell with name "+r);return t}function Wa(e,t){$a.set(e,t)}na.prototype.destroy=function(){for(var e=f(this.b.values()),t=e.next();!t.done;t=e.next())Ca(t.value);return this.b.clear(),this.i.clear(),this.g=this.h=this.u=this.c=this.a=null,this.f=!0,Promise.resolve()},na.prototype.configure=function(e){this.g=e,this.F=new he({maxAttempts:Math.max(e.retryParameters.maxAttempts,2),baseDelay:e.retryParameters.baseDelay,backoffFactor:e.retryParameters.backoffFactor,fuzzFactor:e.retryParameters.fuzzFactor,timeout:0},!0)},na.prototype.start=function(){var e=this;return p((function t(){var r,n,i;return M(t,(function(t){switch(t.j){case 1:return r=e.a.Ua(),n=Ea(e,r),(i=e.a.ae(e.c.periods[n])).variant||i.text?S(t,fa(e,i.variant?i.variant.audio:null,i.variant?i.variant.video:null,i.text,r),2):t.return(new me(2,5,5005));case 2:if(e.f)return t.return();e.a&&e.a.Cf&&e.a.Cf(),w(t)}}))}))},na.prototype.K=function(e,t,r,n){var i=n.reader.md(),o=n.reader.md(),a=n.reader.G(),s=n.reader.G(),l=n.reader.G(),u=n.reader.G();n=n.reader.Za(n.reader.J.byteLength-n.reader.ca()),e=e.startTime+t.startTime+s/a,r.includes(i)&&("urn:mpeg:dash:event:2012"==i?this.a.Df():this.a.onEvent(new Se("emsg",{detail:{startTime:e,endTime:e+l/a,schemeIdUri:i,value:o,timescale:a,presentationTimeDelta:s,eventDuration:l,id:u,messageData:n}})))},G("shaka.net.HttpFetchPlugin",La),La.l=function(e,t,r,n,i){return p((function o(){var a,s,l,u,c,d,f,h,m,g,y,v;return M(o,(function(o){switch(o.j){case 1:return a=La.g,s=La.c,d=c=0,f=Date.now(),k(o,2),S(o,a(e,r),4);case 4:return l=o.o,h=l.clone().body.getReader(),g=(m=l.headers.get("Content-Length"))?parseInt(m,10):0,new s({start:function(e){!function t(){return p((function r(){var n,o;return M(r,(function(r){switch(r.j){case 1:return k(r,2),S(r,h.read(),4);case 4:n=r.o,x(r,3);break;case 2:return R(r),r.return();case 3:n.done||(c+=n.value.byteLength),(100<(o=Date.now())-f||n.done)&&(i(o-f,c-d,g-c),d=c,f=o),n.done?e.close():(e.enqueue(n.value),t()),w(r)}}))}))}()}}),S(o,l.arrayBuffer(),5);case 5:u=o.o,x(o,3);break;case 2:if(y=R(o),n.Id)throw new me(1,1,7001,e,t);if(n.te)throw new me(1,1,1003,e,t);throw new me(1,1,1002,e,y,t);case 3:return v={},l.headers.forEach((function(e,t){v[t.trim()]=e})),o.return(Ra(v,u,l.status,e,l.url,t))}}))}))},La.isSupported=function(){if(!e.ReadableStream)return!1;try{new ReadableStream({})}catch(e){return!1}return!(!e.fetch||!e.AbortController)},La.isSupported=La.isSupported,La.g=e.fetch,La.a=e.AbortController,La.c=e.ReadableStream,La.b=e.Headers,La.isSupported()&&(De("http",La,2),De("https",La,2)),G("shaka.net.HttpXHRPlugin",ja),ja.f=e.XMLHttpRequest,De("http",ja,1),De("https",ja,1),Pa.prototype.close=function(e,t){if(this.c.has(e)){var r=this.c.get(e);this.c.delete(e),this.f+=r,this.a+=t}},Ia.prototype.destroy=function(){return this.c=!0,Promise.all(this.b.values()).then((function(){}),(function(){}))},Da.prototype.abort=function(){try{this.c.abort()}catch(e){}return this.a.catch((function(){}))},Da.prototype.store=function(){return this.b},Da.prototype.promise=function(){return this.a},Na.prototype.destroy=function(){return Promise.all(this.a.map((function(e){return e.abort()})))},(n=Ba.prototype).destroy=function(){return this.b.destroy()},n.hasFixedKeySpace=function(){return!0},n.addSegments=function(){return Ka(this.c)},n.removeSegments=function(e,t){return Ga(this,this.c,e,t)},n.getSegments=function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,Va(t,t.c,e),2);case 2:return n=r.o,r.return(n.map((function(e){return t.Jd(e)})))}}))}))},n.addManifests=function(){return Ka(this.a)},n.updateManifestExpiration=function(e,t){var r=Fa(this.b,this.a),n=r.store();return n.get(e).onsuccess=function(r){(r=r.target.result)&&(r.expiration=t,n.put(r,e))},r.promise()},n.removeManifests=function(e,t){return Ga(this,this.a,e,t)},n.getManifests=function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,Va(t,t.a,e),2);case 2:return n=r.o,r.return(n.map((function(e){return t.ec(e)})))}}))}))},n.getAllManifests=function(){var e=this;return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=Ua(e.b,e.a,"readonly"),n=new Map,S(t,Ma(r,(function(t,r){n.set(t,e.ec(r))})),2);case 2:return S(t,r.promise(),3);case 3:return t.return(n)}}))}))},n.Jd=function(e){return e},n.ec=function(e){return e},n.add=function(e,t){var r=this;return p((function n(){var i,o,a,s;return M(n,(function(n){switch(n.j){case 1:i=Fa(r.b,e),o=i.store(),a=[];for(var l=f(t),u=l.next();!u.done;u=l.next())s=u.value,o.add(s).onsuccess=function(e){a.push(e.target.result)};return S(n,i.promise(),2);case 2:return n.return(a)}}))}))},Ha.prototype.destroy=function(){return this.a.destroy()},Ha.prototype.getAll=function(){var e=this;return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=Ua(e.a,"session-ids","readonly"),n=[],S(t,Ma(r,(function(e,t){n.push(t)})),2);case 2:return S(t,r.promise(),3);case 3:return t.return(n)}}))}))},Ha.prototype.add=function(e){for(var t=Fa(this.a,"session-ids"),r=t.store(),n=(e=f(e)).next();!n.done;n=e.next())r.add(n.value);return t.promise()},Ha.prototype.remove=function(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return S(r,Ma(n=Fa(t.a,"session-ids"),(function(t,r,n){0<=e.indexOf(r.sessionId)&&n.delete()})),2);case 2:return S(r,n.promise(),0)}}))}))},Ya.prototype.destroy=function(){for(var e=[],t=f(this.a.values()),r=t.next();!r.done;r=t.next())e.push(r.value.destroy());return this.a.clear(),Promise.all(e)},Ya.prototype.init=function(){var e=this;$a.forEach((function(t,r){var n=t();n&&e.a.set(r,n)}));for(var t=[],r=f(this.a.values()),n=r.next();!n.done;n=r.next())t.push(n.value.init());return Promise.all(t)},Ya.prototype.erase=function(){var e=this;return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return r=Array.from(e.a.values()),(n=0<r.length)||$a.forEach((function(e){(e=e())&&r.push(e)})),S(t,Promise.all(r.map((function(e){return e.erase()}))),2);case 2:if(!n)return S(t,Promise.all(r.map((function(e){return e.destroy()}))),0);t.A(0)}}))}))},G("shaka.offline.StorageMuxer.register",Wa),G("shaka.offline.StorageMuxer.unregister",(function(e){$a.delete(e)}));var $a=new Map;function qa(e){Ba.apply(this,arguments)}function Xa(e){return function(e){var t=e.streams.filter((function(e){return"audio"==e.contentType})),r=e.streams.filter((function(e){return"video"==e.contentType}));if(!t.every((function(e){return e.variantIds}))||!r.every((function(e){return e.variantIds}))){t.forEach((function(e){e.variantIds=[]})),r.forEach((function(e){e.variantIds=[]}));var n=0;if(r.length&&!t.length){var i=n++;r.forEach((function(e){e.variantIds.push(i)}))}if(!r.length&&t.length){var o=n++;t.forEach((function(e){e.variantIds.push(o)}))}r.length&&t.length&&t.forEach((function(e){r.forEach((function(t){var r=n++;e.variantIds.push(r),t.variantIds.push(r)}))}))}}(e),e.streams.forEach((function(){})),{startTime:e.startTime,streams:e.streams.map(Ja)}}function Ja(e){var t=e.initSegmentUri?Qa(e.initSegmentUri):null;return{id:e.id,originalId:null,primary:e.primary,presentationTimeOffset:e.presentationTimeOffset,contentType:e.contentType,mimeType:e.mimeType,codecs:e.codecs,frameRate:e.frameRate,pixelAspectRatio:void 0,kind:e.kind,language:e.language,label:e.label,width:e.width,height:e.height,initSegmentKey:t,encrypted:e.encrypted,keyId:e.keyId,segments:e.segments.map(Za),variantIds:e.variantIds}}function Za(e){var t=Qa(e.uri);return{startTime:e.startTime,endTime:e.endTime,dataKey:t}}function Qa(e){var t;if((t=/^offline:[0-9]+\/[0-9]+\/([0-9]+)$/.exec(e))||(t=/^offline:segment\/([0-9]+)$/.exec(e)))return Number(t[1]);throw new me(2,9,9004,"Could not parse uri "+e)}function es(e,t,r,n){Ba.call(this,e,t,r),this.f=n}function ts(){this.g=this.c=this.b=this.a=this.f=null}function rs(e,t,r,n){this.a=e,this.g=t,this.f=r,this.c=n,this.b=["offline:",e,"/",t,"/",r,"/",n].join("")}function ns(e){if(null==(e=/^offline:([a-z]+)\/([^/]+)\/([^/]+)\/([0-9]+)$/.exec(e)))return null;var t=e[1];if("manifest"!=t&&"segment"!=t)return null;var r=e[2];if(!r)return null;var n=e[3];return n&&null!=t?new rs(t,r,n,Number(e[4])):null}function is(e,t){this.b=e,this.a=t}function os(e,t,r){var n=t.streams.filter((function(e){return"audio"==e.contentType})),i=t.streams.filter((function(e){return"video"==e.contentType}));return n=function(e,t,r){for(var n=new Set,i=f(t),o=i.next();!o.done;o=i.next()){var a=f(o.value.variantIds);for(o=a.next();!o.done;o=a.next())n.add(o.value)}for(i=f(r),o=i.next();!o.done;o=i.next())for(a=f(o.value.variantIds),o=a.next();!o.done;o=a.next())n.add(o.value);for(i=new Map,n=f(n),o=n.next();!o.done;o=n.next())o=o.value,i.set(o,{id:o,language:"",primary:!1,audio:null,video:null,bandwidth:0,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0});for(t=f(t),n=t.next();!n.done;n=t.next())for(n=n.value,o=as(e,n),a=f(n.variantIds),n=a.next();!n.done;n=a.next())(n=i.get(n.value)).language=o.language,n.primary=n.primary||o.primary,n.audio=o;for(r=f(r),t=r.next();!t.done;t=r.next())for(n=t.value,t=as(e,n),o=f(n.variantIds),n=o.next();!n.done;n=o.next())(n=i.get(n.value)).primary=n.primary||t.primary,n.video=t;return i}(e,n,i),i=t.streams.filter((function(e){return"text"==e.contentType})).map((function(t){return as(e,t)})),t.streams.forEach((function(n){n=n.segments.map((function(t,r){return ss(e,r,t)})),r.vb(n,t.startTime)})),{startTime:t.startTime,variants:Array.from(n.values()),textStreams:i}}function as(e,t){var r=t.segments.map((function(t,r){return ss(e,r,t)})),n=new ei(r);return r={id:t.id,originalId:t.originalId,createSegmentIndex:function(){return Promise.resolve()},findSegmentPosition:function(e){return n.find(e)},getSegmentReference:function(e){return n.get(e)},initSegmentReference:null,presentationTimeOffset:t.presentationTimeOffset,mimeType:t.mimeType,codecs:t.codecs,width:t.width||void 0,height:t.height||void 0,frameRate:t.frameRate||void 0,pixelAspectRatio:t.pixelAspectRatio||void 0,kind:t.kind,encrypted:t.encrypted,keyId:t.keyId,language:t.language,label:t.label||null,type:t.contentType,primary:t.primary,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},null!=t.initSegmentKey&&(r.initSegmentReference=function(e,t){var r=new rs("segment",e.b,e.a,t);return new Jn((function(){return[r.toString()]}),0,null)}(e,t.initSegmentKey)),r}function ss(e,t,r){var n=new rs("segment",e.b,e.a,r.dataKey);return new Zn(t,r.startTime,r.endTime,(function(){return[n.toString()]}),0,null)}function ls(){this.a=null}function us(e){var t=ns(e);return t&&"manifest"==t.a?us.h(e):t&&"segment"==t.a?us.i(t.key(),t):ve(new me(2,1,9004,e))}function cs(e,t,r){return p((function n(){var i,o,a,s,l,u;return M(n,(function(n){switch(n.j){case 1:i=[];for(var c=[],d=f(r),h=d.next();!h.done;h=d.next()){h=h.value;for(var m=!1,g=f(c),y=g.next();!y.done;y=g.next())if(ds((y=y.value).info,h)){y.sessionIds.push(h.sessionId),m=!0;break}m||c.push({info:h,sessionIds:[h.sessionId]})}o=f(c),a=o.next();case 2:if(a.done){n.A(4);break}return s=a.value,l=function(e,t,r){return p((function n(){var i,o;return M(n,(function(n){switch(n.j){case 1:return i=new pt({ub:t,onError:function(){},qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),k(n,2),i.configure(e),S(n,function(e,t,r,n,i,o){var a=new Map;return a.set(t,{audioCapabilities:i,videoCapabilities:o,distinctiveIdentifier:"optional",persistentState:"required",sessionTypes:["persistent-license"],label:t,drmInfos:[{keySystem:t,licenseServerUri:r,distinctiveIdentifierRequired:!1,persistentStateRequired:!0,audioRobustness:"",videoRobustness:"",serverCertificate:n,initData:null,keyIds:null}]}),Tt(e,a)}(i,r.info.keySystem,r.info.licenseUri,r.info.serverCertificate,r.info.audioCapabilities,r.info.videoCapabilities),4);case 4:x(n,3);break;case 2:return R(n),S(n,i.destroy(),5);case 5:return n.return([]);case 3:return k(n,6),S(n,yt(i),8);case 8:x(n,7);break;case 6:return R(n),S(n,i.destroy(),9);case 9:return n.return([]);case 7:return o=[],S(n,Promise.all(r.sessionIds.map((function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return k(t,2),S(t,function(e,t){return p((function r(){var n,i,o;return M(r,(function(r){switch(r.j){case 1:return S(r,St(e,t),2);case 2:return(n=r.o)?(i=[],(o=e.b.get(n))&&(o.ya=new ge,i.push(o.ya)),i.push(n.remove()),S(r,Promise.all(i),0)):r.return()}}))}))}(i,e),4);case 4:o.push(e),x(t,0);break;case 2:R(t),w(t)}}))}))}))),10);case 10:return S(n,i.destroy(),11);case 11:return n.return(o)}}))}))}(e,t,s),S(n,l,5);case 5:u=n.o,i=i.concat(u),a=o.next(),n.A(2);break;case 4:return n.return(i)}}))}))}function ds(e,t){function r(e,t){return e.robustness==t.robustness&&e.contentType==t.contentType}return e.keySystem==t.keySystem&&e.licenseUri==t.licenseUri&&Le(e.audioCapabilities,t.audioCapabilities,r)&&Le(e.videoCapabilities,t.videoCapabilities,r)}function fs(e,t){var r={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},n=this;this.g=t,this.c=e,this.i=r,this.h=null,this.f=[],this.b=this.a=null,this.l=!0,this.m=Promise.resolve().then((function(){return function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:if(e.l){if(0==e.f.length||e.a&&!e.a.Va)var r=!1;else{e.a&&(e.a.va.Ya(),e.a=null);var n=(r=e.f.shift()).create(e.i);n?(r.va.wb(),e.a={node:n.node,payload:n.payload,Va:n.Va,va:r.va}):r.va.rc(),r=!0}return r?r=Promise.resolve():e.a?r=function(e){return p((function t(){var r,n;return M(t,(function(t){switch(t.j){case 1:return e.c=e.g.cf(e.c,e.i,e.a.node,e.a.payload),k(t,2),e.b=e.g.Le(e.c,e.i,e.a.payload),S(t,e.b.promise,4);case 4:e.b=null,e.c==e.a.node&&(e.a.va.pc(),e.a=null),x(t,0);break;case 2:return 7001==(r=R(t)).code?e.a.va.Ya():e.a.va.onError(r),e.a=null,e.b=null,n=e,S(t,e.g.handleError(e.i,r),5);case 5:n.c=t.o,w(t)}}))}))}(e):(e.g.Bf(e.c),e.h=new ge,r=e.h),S(t,r,1)}t.A(0)}}))}))}(n)}))}function hs(e,t){var r={wb:function(){},pc:function(){},Ya:function(){},onError:function(){},rc:function(){},Jg:function(){}};return e.f.push({create:t,va:r}),e.b&&e.b.abort(),ps(e),r}function ps(e){e.h&&(e.h.resolve(),e.h=null)}function ms(e){this.a=null;for(var t=0;t<e.textTracks.length;++t){var r=e.textTracks[t];r.mode="disabled","Shaka Player TextTrack"==r.label&&(this.a=r)}this.a||(this.a=e.addTextTrack("subtitles","Shaka Player TextTrack")),this.a.mode="hidden"}function gs(e){if(e.startTime>=e.endTime)return null;var t=new VTTCue(e.startTime,e.endTime,e.payload);t.lineAlign=e.lineAlign,t.positionAlign=e.positionAlign,t.size=e.size;try{t.align=e.textAlign}catch(e){}return"center"==e.textAlign&&"center"!=t.align&&(t.align="middle"),"vertical-lr"==e.writingMode?t.vertical="lr":"vertical-rl"==e.writingMode&&(t.vertical="rl"),1==e.lineInterpretation&&(t.snapToLines=!1),null!=e.line&&(t.line=e.line),null!=e.position&&(t.position=e.position),t}function ys(e,t){var r=e.mode;e.mode="showing"==r?"showing":"hidden";for(var n=e.cues,i=n.length-1;0<=i;i--){var o=n[i];o&&t(o)&&e.removeCue(o)}e.mode=r}function vs(e,t,r,n,i){var o,a=i in n,s=!0;for(o in t){var l=i+"."+o,u=a?n[i]:r[o];a||o in r?void 0===t[o]?void 0===u||a?delete e[o]:e[o]=Ce(u):u.constructor==Object&&t[o]&&t[o].constructor==Object?(e[o]||(e[o]=Ce(u)),l=vs(e[o],t[o],u,n,l),s=s&&l):typeof t[o]!=typeof u||null==t[o]||"function"!=typeof t[o]&&t[o].constructor!=u.constructor?($("Invalid config, wrong type for "+l),s=!1):("function"==typeof r[o]&&r[o].length!=t[o].length&&q("Unexpected number of arguments for "+l),e[o]=t[o]):($("Invalid config, unrecognized key "+l),s=!1)}return s}function bs(e,t){for(var r={},n=r,i=0,o=0;!(0>(i=e.indexOf(".",i)));)0!=i&&"\\"==e[i-1]||(n[o=e.substring(o,i).replace(/\\\./g,".")]={},n=n[o],o=i+1),i+=1;return n[e.substring(o).replace(/\\\./g,".")]=t,r}function _s(){}function As(){var e=5e5,t=1/0;navigator.connection&&(e=1e6*navigator.connection.downlink,navigator.connection.saveData&&(t=360));var r={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1,initDataTransform:kt,fairPlayTransform:!0},n={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},availabilityWindowOverride:NaN,disableAudio:!1,disableVideo:!1,disableText:!1,dash:{customScheme:function(e){if(e)return null},clockSyncUri:"",ignoreDrmInfo:!1,xlinkFailGracefully:!1,defaultPresentationDelay:10,ignoreMinBufferTime:!1,autoCorrectDrift:!0,ignoreSuggestedPresentationDelay:!1,ignoreEmptyAdaptationSet:!1},hls:{ignoreTextStreamFailures:!1}},i={retryParameters:{maxAttempts:2,baseDelay:1e3,backoffFactor:2,fuzzFactor:.5,timeout:0},failureCallback:function(e){return[e]},rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,alwaysStreamText:!1,startAtSegmentBoundary:!1,smallGapLimit:.5,jumpLargeGaps:!1,durationBackoff:1,forceTransmuxTS:!1,safeSeekOffset:5,stallEnabled:!0,stallThreshold:1,stallSkip:.1,useNativeHlsOnSafari:!0};rt("Web0S")&&(i.stallEnabled=!1);var o={trackSelectionCallback:function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return t.return(e)}}))}))},progressCallback:function(e,t){return[e,t]},usePersistentLicense:!0},a={drm:r,manifest:n,streaming:i,offline:o,abrFactory:Fr,abr:{enabled:!0,defaultBandwidthEstimate:e,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:t,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0}},preferredAudioLanguage:"",preferredTextLanguage:"",preferredVariantRole:"",preferredTextRole:"",preferredAudioChannelCount:2,restrictions:{minWidth:0,maxWidth:1/0,minHeight:0,maxHeight:1/0,minPixels:0,maxPixels:1/0,minFrameRate:0,maxFrameRate:1/0,minBandwidth:0,maxBandwidth:1/0},playRangeStart:0,playRangeEnd:1/0,textDisplayFactory:function(){return null}};return o.trackSelectionCallback=function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return t.return(function(e,t){var r=e.filter((function(e){return"variant"==e.type})),n=[],i=Dr(t,r.map((function(e){return e.language})));i&&(n=r.filter((function(e){return Ir(e.language)==i}))),0==n.length&&(n=r.filter((function(e){return e.primary}))),0==n.length&&(r.map((function(e){return e.language})),n=r);var o=n.filter((function(e){return e.height&&480>=e.height}));if(o.length&&(o.sort((function(e,t){return t.height-e.height})),n=o.filter((function(e){return e.height==o[0].height}))),r=[],n.length){var a=Math.floor(n.length/2);n.sort((function(e,t){return e.bandwidth-t.bandwidth})),r.push(n[a])}for(n=f(e),a=n.next();!a.done;a=n.next())"text"==(a=a.value).type&&r.push(a);return r}(e,a.preferredAudioLanguage))}}))}))},a}function Es(e,t,r){var n={".drm.servers":"",".drm.clearKeys":"",".drm.advanced":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:"",audioRobustness:"",serverCertificate:new Uint8Array(0),individualizationServer:""}};return vs(e,t,r||As(),n,"")}function Ts(){this.a=null,this.b=[]}function Ss(e,t){if(null==e.a)e.a={timestamp:Date.now()/1e3,state:t,duration:0};else{var r=Date.now()/1e3;e.a.duration=r-e.a.timestamp,e.a.state!=t&&(e.b.push(e.a),e.a={timestamp:r,state:t,duration:0})}}function ws(e,t){var r=0;e.a&&e.a.state==t&&(r+=e.a.duration);for(var n=f(e.b),i=n.next();!i.done;i=n.next())r+=(i=i.value).state==t?i.duration:0;return r}function ks(){this.b=this.c=null,this.a=[]}function Cs(){this.f=this.s=this.h=this.b=this.i=this.l=this.m=this.g=this.u=NaN,this.a=new Ts,this.c=new ks}function xs(t,r){var n=this;ke.call(this),this.i=pl,this.a=null,this.gb=!1,this.g=new Be,this.Dc=this.l=this.Fb=this.b=this.s=this.f=this.Yb=this.B=this.Zb=this.W=this.ib=this.m=this.D=this.h=this.K=null,this.Xd=1e9,this.ac=new Set,this.kb=!0,this.pa=null,this.Ud=!1,this.Rd=0,this.oa=null,this.$=new po,this.c=Fs(this),this.bc={width:1/0,height:1/0},this.u=null,this.Gb=new To(this.c.preferredAudioLanguage,this.c.preferredVariantRole,this.c.preferredAudioChannelCount),this.na=this.c.preferredTextLanguage,this.fb=this.c.preferredTextRole,r&&r(this),this.K=function(e){return new Ie((function(t,r){e.l&&e.l.segmentDownloaded(t,r)}))}(this),this.g.w(e,"online",(function(){n.sd()})),this.F={name:"detach"},this.O={name:"attach"},this.Ha={name:"unload"},this.Mc={name:"manifest-parser"},this.Kc={name:"manifest"},this.hb={name:"media-source"},this.Ec={name:"drm-engine"},this.S={name:"load"},this.Rc={name:"src-equals-drm-engine"},this.jb={name:"src-equals"};var i=new Map;i.set(this.O,(function(e,t){return Ae(function(e,t,r){return null==t.v&&(t.v=r.v,e.g.w(t.v,"error",(function(){var t=el(e);t&&e.Ma(t)}))),e.a=t.v,Promise.resolve()}(n,e,t))})),i.set(this.F,(function(e){return e.v&&(n.g.ea(e.v,"error"),e.v=null),n.a=null,Ae(e=Promise.resolve())})),i.set(this.Ha,(function(e){return Ae(Ps(n,e))})),i.set(this.hb,(function(t){return Ae(t=function(t,r){return p((function n(){var i,o,a,s;return M(n,(function(n){switch(n.j){case 1:return i=e.muxjs?new Mt:new Nt,o=t.c.textDisplayFactory,a=new o,t.Fc=o,S(n,(s=new yr(r.v,i,a)).s,2);case 2:t.D=s,w(n)}}))}))}(n,t))})),i.set(this.Mc,(function(e,t){return Ae(function(e,t,r){return p((function n(){var i,o,a,s;return M(n,(function(n){switch(n.j){case 1:if(t.Aa=r.Aa,t.mimeType=r.mimeType,t.uri=r.uri,i=t.uri,o=e.K,e.Fb=i,t.Aa){e.s=t.Aa(),n.A(2);break}return a=e,S(n,gi.create(i,o,e.c.manifest.retryParameters,t.mimeType),3);case 3:a.s=n.o;case 2:s=Ce(e.c.manifest),r.v&&"AUDIO"===r.v.nodeName&&(s.disableVideo=!0),e.s.configure(s),w(n)}}))}))}(n,e,t))})),i.set(this.Kc,(function(e){return function(e,t){var r=t.uri,n=e.K;e.Yb=new Zo,function(e,t){e.b=t}(e.Yb,(function(t){Qs(e,"timelineregionadded",t)}));var i={networkingEngine:n,filterNewPeriod:function(t){return e.Nc(t)},filterAllPeriods:function(t){return Us(e,t)},onTimelineRegionAdded:function(t){var r=e.Yb;e:{for(var n=f(r.a),i=n.next();!i.done;i=n.next())if((i=i.value).schemeIdUri==t.schemeIdUri&&i.id==t.id&&i.startTime==t.startTime&&i.endTime==t.endTime){n=i;break e}n=null}null==n&&(r.a.add(t),r.b(t))},onEvent:function(t){return e.dispatchEvent(t)},onError:function(t){return e.Ma(t)}};return new ye(Promise.resolve().then((function(){return p((function t(){var n;return M(t,(function(t){switch(t.j){case 1:return n=e,S(t,e.s.start(r,i),2);case 2:if(n.b=t.o,e.dispatchEvent(new Se("manifestparsed")),0==e.b.periods.length)throw new me(2,4,4014);!function(e){function t(e){return e.video&&e.audio||e.video&&e.video.codecs.includes(",")}e.some((function(e){return e.variants.some(t)}))&&e.forEach((function(e){e.variants=e.variants.filter(t)}))}(e.b.periods),w(t)}}))}))})),(function(){return e.s.stop()}))}(n,e)})),i.set(this.Ec,(function(){return Ae(function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.h=new pt({ub:e.K,onError:function(t){e.Ma(t)},qc:function(t){tl(e,t)},onExpirationUpdated:function(t,r){rl(e,t,r)},onEvent:function(t){e.dispatchEvent(t)}}),e.h.configure(e.c.drm),S(t,mt(e.h,Do(e.b.periods),e.b.offlineSessionIds),2);case 2:Us(e,e.b.periods),w(t)}}))}))}(n))})),i.set(this.S,(function(e,t){return Ae(function(e,t,r){return p((function n(){var i,o,a,s,l,u,c,d,h;return M(n,(function(n){switch(n.j){case 1:return t.startTime=r.startTime,i=t.v,o=t.uri,e.Fb=o,e.u=new Cs,a=function(){return Vs(e)},s=function(){var t=e.a.playbackRate;0!=t&&e.W.set(t)},e.g.w(i,"playing",a),e.g.w(i,"pause",a),e.g.w(i,"ended",a),e.g.w(i,"ratechange",s),l=e.c.abrFactory,e.l&&e.Dc==l||(e.Dc=l,e.l=new l,e.l.configure(e.c.abr)),function(e,t){for(var r=0;r<t.length;r++){for(var n=t[r],i=new Map,o=f(n.variants),a=o.next();!a.done;a=o.next())if((a=a.value).video&&a.video.closedCaptions)for(var s=f((a=a.video).closedCaptions.keys()),l=s.next();!l.done;l=s.next())if(l=l.value,!i.has(l)){var u={id:e.Xd++,originalId:l,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,presentationTimeOffset:0,mimeType:"application/cea-608",codecs:"",kind:"caption",encrypted:!1,keyId:null,language:a.closedCaptions.get(l),label:null,type:"text",primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:a.roles,channelsCount:null,audioSamplingRate:null,closedCaptions:null};i.set(l,u)}for(i=f(i.values()),o=i.next();!o.done;o=i.next())n.textStreams.push(o.value)}}(e,e.b.periods),e.Gb=new To(e.c.preferredAudioLanguage,e.c.preferredVariantRole,e.c.preferredAudioChannelCount),e.na=e.c.preferredTextLanguage,function(e,t,r){0<t&&(e.V()||e.qe(t)),r<e.Y()&&(e.V()||e.xa(r))}(e.b.presentationTimeline,e.c.playRangeStart,e.c.playRangeEnd),S(n,e.h.Hb(i),2);case 2:return e.l.init((function(t,r,n){r=void 0!==r&&r,n=void 0===n?0:n;e:{for(var i=f(e.b.periods),o=i.next();!o.done;o=i.next())if((o=o.value).variants.includes(t)){i=o;break e}i=null}Ms(e,i,t,!0),e.f&&ua(e.f,t,r,n)&&Ws(e)})),e.m=function(e,t){return new $o(e.a,e.b,e.c.streaming,t,(function(){e.ib&&Oo(e.ib,!0),e.f&&function(e){function t(t){var i=e.a.L;return t="text"==t?null!=(t=i.a).a&&null!=t.b&&r>=t.a&&r<t.b:Ut(t=Sr(i,t),r,n)}var r=e.a.Ua(),n=e.g.smallGapLimit,i=Ea(e,r);if(ze(e.b.values(),(function(e){return e.ia==i})))for(var o=f(e.b.keys()),a=o.next();!a.done;a=o.next())t(a=a.value)||da(e,e.b.get(a));else ze(e.b.keys(),t)||e.b.forEach((function(t){da(e,t)}))}(e.f),e.B&&Os(e)}),(function(t){return e.dispatchEvent(t)}))}(e,t.startTime),e.ib=function(e){var t=new No(e.b);!function(e,t){e.b=t}(t,(function(){$s(e)}));var r=new Qo(e.Yb);!function(e,t,r,n){e.a=t,e.b=r,e.c=n}(r,(function(t){Qs(e,"timelineregionenter",t)}),(function(t){Qs(e,"timelineregionexit",t)}),(function(t,r){r||(Qs(e,"timelineregionenter",t),Qs(e,"timelineregionexit",t))}));var n=new Io(e.a);return n.a.add(t),n.a.add(r),n}(e),e.W=new Fo({jc:function(){return t.v.playbackRate},wd:function(e){t.v.playbackRate=e},Yd:function(e){t.v.currentTime+=e}}),u=Math.max(e.b.minBufferTime,e.c.streaming.rebufferingGoal),Is(e,u),e.f=function(e){return new na(e.b,{Ua:function(){return e.m.h()},getBandwidthEstimate:function(){return e.l.getBandwidthEstimate()},L:e.D,ub:e.K,ae:e.zf.bind(e),$d:e.Fe.bind(e),onError:e.Ma.bind(e),onEvent:function(t){return e.dispatchEvent(t)},Df:e.Ef.bind(e),jd:e.Jf.bind(e)})}(e),e.f.configure(e.c.streaming),function(e){function t(e){var t="";e.video&&(t=Xe(e.video.codecs)[0]);var r="";return e.audio&&(r=Xe(e.audio.codecs)[0]),t+"-"+r}var r=e.b.periods.reduce((function(e,t){return e.concat(t.variants)}),[]);r=Nr.Nd(r,e.c.preferredAudioChannelCount);var n=new we;r.forEach((function(e){var r=t(e);n.push(r,e)}));var i=null,o=1/0;n.forEach((function(e,t){var r=0,n=0;t.forEach((function(e){r+=e.bandwidth||0,++n}));var a=r/n;a<o&&(i=e,o=a)})),e.b.periods.forEach((function(e){e.variants=e.variants.filter((function(e){return t(e)==i}))}))}(e),e.i=ml,e.dispatchEvent(new Se("streaming")),S(n,e.f.start(),3);case 3:e.c.streaming.startAtSegmentBoundary&&(c=e.m.h(),d=function(e,t){function r(e,t){if(!e)return null;var r=e.findSegmentPosition(t-o.startTime);return null==r?null:(r=e.getSegmentReference(r))?r.startTime+o.startTime:null}var n=ia(e.f),i=oa(e.f),o=ll(e);return n=r(n,t),null!=(i=r(i,t))&&null!=n?Math.max(i,n):null!=i?i:null!=n?n:t}(e,c),e.m.m(d)),e.b.periods.forEach(e.Nc.bind(e)),$s(e),Ws(e),(h=ll(e)||e.b.periods[0]).variants.some((function(e){return e.primary})),Hs(e,h.variants),e.g.da(i,"loadeddata",(function(){e.u.b=Date.now()/1e3-r.zd})),w(n)}}))}))}(n,e,t))})),i.set(this.Rc,(function(e){return Ae(e=function(e,t){return p((function r(){var n,i;return M(r,(function(r){switch(r.j){case 1:return n=Yt,e.h=new pt({ub:e.K,onError:function(t){e.Ma(t)},qc:function(t){tl(e,t)},onExpirationUpdated:function(t,r){rl(e,t,r)},onEvent:function(t){e.dispatchEvent(t)}}),e.h.configure(e.c.drm),i={id:0,language:"und",primary:!1,audio:null,video:{id:0,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,presentationTimeOffset:0,mimeType:"video/mp4",codecs:"",encrypted:!0,keyId:null,language:"und",label:null,type:n.Pa,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},bandwidth:100,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0},S(r,mt(e.h,[i],[]),2);case 2:return S(r,e.h.Hb(t.v),0)}}))}))}(n,e))})),i.set(this.jb,(function(e,t){return function(e,t,r){function n(){return Vs(e)}if(t.uri=r.uri,t.startTime=r.startTime,e.Fb=t.uri,e.u=new Cs,e.m=new Wo(t.v),null!=t.startTime&&e.m.m(t.startTime),e.W=new Fo({jc:function(){return t.v.playbackRate},wd:function(e){t.v.playbackRate=e},Yd:function(e){t.v.currentTime+=e}}),Is(e,e.c.streaming.rebufferingGoal),e.g.w(t.v,"playing",n),e.g.w(t.v,"pause",n),e.g.w(t.v,"ended",n),e.g.da(t.v,"loadeddata",(function(){e.u.b=Date.now()/1e3-r.zd})),e.a.audioTracks&&(e.g.w(e.a.audioTracks,"addtrack",(function(){return $s(e)})),e.g.w(e.a.audioTracks,"removetrack",(function(){return $s(e)})),e.g.w(e.a.audioTracks,"change",(function(){return $s(e)}))),e.a.textTracks){var i=e.a.textTracks;e.g.w(i,"addtrack",(function(){return $s(e)})),e.g.w(i,"removetrack",(function(){return $s(e)})),e.g.w(i,"change",(function(){return $s(e)}))}t.v.src=t.uri,e.i=gl,e.dispatchEvent(new Se("streaming"));var o=new ge;return e.a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?o.resolve():e.a.error?o.reject(el(e)):(e.g.da(e.a,"loadeddata",(function(){o.resolve()})),e.g.da(e.a,"error",(function(){o.reject(el(e))}))),new ye(o,(function(){return o.reject(new me(2,7,7001)),Promise.resolve()}))}(n,e,t)})),this.lb=new fs(this.F,{cf:function(e,t,r,i){var o=null;return e==n.F&&(o=r==n.F?n.F:n.O),e==n.O&&(o=r==n.F||t.v!=i.v?n.F:r==n.O?n.O:r==n.hb||r==n.S?n.hb:r==n.jb?n.Rc:null),e==n.hb&&(o=r==n.S&&t.v==i.v?n.Mc:n.Ha),e==n.Mc&&(o=dl(n.S,n.Kc,n.Ha,r,t,i)),e==n.Kc&&(o=dl(n.S,n.Ec,n.Ha,r,t,i)),e==n.Ec&&(o=dl(n.S,n.S,n.Ha,r,t,i)),e==n.Rc&&(o=r==n.jb&&t.v==i.v?n.jb:n.Ha),e!=n.S&&e!=n.jb||(o=n.Ha),e==n.Ha&&(o=i.v&&t.v==i.v?n.O:n.F),o},Le:function(e,t,r){return n.dispatchEvent(new Se("onstatechange",{state:e.name})),i.get(e)(t,r)},handleError:function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return S(t,Ps(n,e),2);case 2:return t.return(e.v?n.O:n.F)}}))}))},Bf:function(e){n.dispatchEvent(new Se("onstateidle",{state:e.name}))}}),t&&this.Hb(t,!0)}_(qa,Ba),qa.prototype.updateManifestExpiration=function(e,t){var r=Fa(this.b,this.a),n=r.store(),i=new ge;return n.get(e).onsuccess=function(r){(r=r.target.result)?(r.expiration=t,n.put(r),i.resolve()):i.reject(new me(2,9,9012,"Could not find values for "+e))},r.promise().then((function(){return i}))},qa.prototype.ec=function(e){return{originalManifestUri:e.originalManifestUri,duration:e.duration,size:e.size,expiration:null==e.expiration?1/0:e.expiration,periods:e.periods.map(Xa),sessionIds:e.sessionIds,drmInfo:e.drmInfo,appMetadata:e.appMetadata}},qa.prototype.Jd=function(e){return{data:e.data}},_(es,Ba),es.prototype.hasFixedKeySpace=function(){return this.f},es.prototype.addSegments=function(e){return this.f?Ka(this.c):this.add(this.c,e)},es.prototype.addManifests=function(e){return this.f?Ka(this.a):this.add(this.a,e)},es.prototype.ec=function(e){return null==e.expiration&&(e.expiration=1/0),e},(n=ts.prototype).init=function(){var t=this,r=new ge,n=e.indexedDB.open("shaka_offline_db",4);return n.onsuccess=function(e){e=e.target.result,t.f=e;var n=e.objectStoreNames;n=n.contains("manifest")&&n.contains("segment")?new qa(e,"segment","manifest"):null,t.a=n,n=(n=e.objectStoreNames).contains("manifest-v2")&&n.contains("segment-v2")?new es(e,"segment-v2","manifest-v2",!0):null,t.b=n,n=(n=e.objectStoreNames).contains("manifest-v3")&&n.contains("segment-v3")?new es(e,"segment-v3","manifest-v3",!1):null,t.c=n,e=e.objectStoreNames.contains("session-ids")?new Ha(e):null,t.g=e,r.resolve()},n.onupgradeneeded=function(e){e=e.target.result;for(var t=f(["segment-v3","manifest-v3","session-ids"]),r=t.next();!r.done;r=t.next())r=r.value,e.objectStoreNames.contains(r)||e.createObjectStore(r,{autoIncrement:!0})},n.onerror=function(e){r.reject(new me(2,9,9001,n.error)),e.preventDefault()},r},n.destroy=function(){var e=this;return p((function t(){return M(t,(function(t){switch(t.j){case 1:if(!e.a){t.A(2);break}return S(t,e.a.destroy(),2);case 2:if(!e.b){t.A(4);break}return S(t,e.b.destroy(),4);case 4:if(!e.c){t.A(6);break}return S(t,e.c.destroy(),6);case 6:if(!e.g){t.A(8);break}return S(t,e.g.destroy(),8);case 8:e.f&&e.f.close(),w(t)}}))}))},n.getCells=function(){var e=new Map;return this.a&&e.set("v1",this.a),this.b&&e.set("v2",this.b),this.c&&e.set("v3",this.c),e},n.getEmeSessionCell=function(){return this.g},n.erase=function(){var t=this;return p((function r(){return M(r,(function(r){switch(r.j){case 1:if(!t.a){r.A(2);break}return S(r,t.a.destroy(),2);case 2:if(!t.b){r.A(4);break}return S(r,t.b.destroy(),4);case 4:if(!t.c){r.A(6);break}return S(r,t.c.destroy(),6);case 6:return t.f&&t.f.close(),S(r,function(){var t=new ge,r=e.indexedDB.deleteDatabase("shaka_offline_db");return r.onblocked=function(){},r.onsuccess=function(){t.resolve()},r.onerror=function(e){t.reject(new me(2,9,9001,r.error)),e.preventDefault()},t}(),8);case 8:return t.f=null,t.a=null,t.b=null,t.c=null,S(r,t.init(),0)}}))}))},Wa("idb",(function(){return e.indexedDB?new ts:null})),rs.prototype.wa=function(){return this.g},rs.prototype.ba=function(){return this.f},rs.prototype.key=function(){return this.c},rs.prototype.toString=function(){return this.b},(n=ls.prototype).configure=function(){},n.start=function(e){var t=this;return p((function r(){var n,i,o,a,s;return M(r,(function(r){switch(r.j){case 1:return n=ns(e),t.a=n,null==n||"manifest"!=n.a?r.return(Promise.reject(new me(2,1,9004,n))):(i=new Ya,C(r,2),S(r,i.init(),4));case 4:return S(r,za(i,n.wa(),n.ba()),5);case 5:return S(r,r.o.getManifests([n.key()]),6);case 6:return o=r.o,a=o[0],s=new is(n.wa(),n.ba()),r.return(function(e,t){var r=new yi(null,0);r.xa(t.duration);var n=t.periods.map((function(t){return os(e,t,r)})),i=t.drmInfo?[t.drmInfo]:[];return t.drmInfo&&n.forEach((function(e){e.variants.forEach((function(e){e.drmInfos=i}))})),{presentationTimeline:r,minBufferTime:2,offlineSessionIds:t.sessionIds,periods:n}}(s,a));case 2:return L(r),S(r,i.destroy(),7);case 7:j(r,0)}}))}))},n.stop=function(){return Promise.resolve()},n.update=function(){},n.onExpirationUpdated=function(e,t){var r=this;return p((function n(){var i,o,a,s,l,u,c;return M(n,(function(n){switch(n.j){case 1:return i=r.a,o=new Ya,k(n,2,3),S(n,o.init(),5);case 5:return S(n,za(o,i.wa(),i.ba()),6);case 6:return S(n,(a=n.o).getManifests([i.key()]),7);case 7:if(s=n.o,l=s[0],u=l.sessionIds.includes(e),c=null==l.expiration||l.expiration>t,!u||!c){n.A(3);break}return S(n,a.updateManifestExpiration(i.key(),t),3);case 3:return L(n),S(n,o.destroy(),10);case 10:j(n,0);break;case 2:R(n),n.A(3)}}))}))},gi.Cb("application/x-offline-manifest",ls),G("shaka.offline.OfflineScheme",us),us.h=function(e){return _e(e={uri:e,ld:e,data:new ArrayBuffer(0),headers:{"content-type":"application/x-offline-manifest"}})},us.i=function(e,t){var r=new Ya;return _e(void 0).U((function(){return r.init()})).U((function(){return za(r,t.wa(),t.ba())})).U((function(e){return e.getSegments([t.key()])})).U((function(e){return{uri:t,ld:t,data:e[0].data,headers:{}}})).finally((function(){return r.destroy()}))},De("offline",us),fs.prototype.destroy=function(){var e=this;return p((function t(){return M(t,(function(t){switch(t.j){case 1:return e.l=!1,e.b&&e.b.abort(),ps(e),S(t,e.m,2);case 2:e.a&&e.a.va.Ya();for(var r=f(e.f),n=r.next();!n.done;n=r.next())n.value.va.Ya();e.a=null,e.f=[],e.g=null,w(t)}}))}))},G("shaka.text.SimpleTextDisplayer",ms),ms.prototype.remove=function(e,t){return!!this.a&&(ys(this.a,(function(r){return r.startTime<t&&r.endTime>e})),!0)},ms.prototype.remove=ms.prototype.remove,ms.prototype.append=function(e){for(var t=gs,r=[],n=0;n<e.length;n++){var i=t(e[n]);i&&r.push(i)}r.slice().sort((function(e,t){return e.startTime!=t.startTime?e.startTime-t.startTime:e.endTime!=t.endTime?e.endTime-t.startTime:r.indexOf(t)-r.indexOf(e)})).forEach(function(e){this.a.addCue(e)}.bind(this))},ms.prototype.append=ms.prototype.append,ms.prototype.destroy=function(){return this.a&&ys(this.a,(function(){return!0})),this.a=null,Promise.resolve()},ms.prototype.destroy=ms.prototype.destroy,ms.prototype.isTextVisible=function(){return"showing"==this.a.mode},ms.prototype.isTextVisible=ms.prototype.isTextVisible,ms.prototype.setTextVisibility=function(e){this.a.mode=e?"showing":"hidden"},ms.prototype.setTextVisibility=ms.prototype.setTextVisibility,G("shaka.util.ConfigUtils.mergeConfigObjects",vs),G("shaka.util.ConfigUtils.convertToConfigObject",bs),G("shaka.util.PlayerConfiguration",_s),_s.mergeConfigObjects=Es,V(xs,ke),G("shaka.Player",xs),xs.prototype.destroy=function(){var e=this;return p((function t(){var r;return M(t,(function(t){switch(t.j){case 1:return e.i==hl?t.return():(e.i=hl,r=hs(e.lb,(function(){return{node:e.F,payload:{Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},Va:!1}})),S(t,new Promise((function(t){r.wb=function(){},r.pc=function(){t(),e.dispatchEvent(new Se("loaded"))},r.Ya=function(){t()},r.onError=function(){t()},r.rc=function(){t()}})),2));case 2:return S(t,e.lb.destroy(),3);case 3:if(e.g&&(e.g.release(),e.g=null),e.Dc=null,e.l=null,e.c=null,!e.K){t.A(0);break}return S(t,e.K.destroy(),5);case 5:e.K=null,w(t)}}))}))},xs.prototype.destroy=xs.prototype.destroy,xs.version="v2.5.10";var Rs=["2","5"];Hr=new function(e){this.a=e,this.c=Gr,this.b=Vr}(new Br(Number(Rs[0]),Number(Rs[1])));var Ls=["output-restricted","internal-error"],js={};function Ps(e,t){return p((function r(){return M(r,(function(r){switch(r.j){case 1:if(e.i!=hl&&(e.i=pl),e.dispatchEvent(new Se("unloading")),t.Aa=null,t.mimeType=null,t.startTime=null,t.uri=null,t.v&&(e.g.ea(t.v,"loadeddata"),e.g.ea(t.v,"playing"),e.g.ea(t.v,"pause"),e.g.ea(t.v,"ended"),e.g.ea(t.v,"ratechange")),e.ib&&(e.ib.release(),e.ib=null),e.Zb&&(e.Zb.stop(),e.Zb=null),!e.s){r.A(2);break}return S(r,e.s.stop(),3);case 3:e.s=null;case 2:if(!e.l){r.A(4);break}return S(r,e.l.stop(),4);case 4:if(!e.f){r.A(6);break}return S(r,e.f.destroy(),7);case 7:e.f=null;case 6:if(e.m&&(e.m.release(),e.m=null),!e.D){r.A(8);break}return S(r,e.D.destroy(),9);case 9:e.D=null;case 8:if(!t.v||!t.v.src){r.A(10);break}return S(r,new Promise((function(e){return new fe(e).R(.1)})),11);case 11:t.v.removeAttribute("src"),t.v.load();case 10:if(!e.h){r.A(12);break}return S(r,e.h.destroy(),13);case 13:e.h=null;case 12:e.$.a.clear(),e.Fb=null,e.B=null,e.ac.clear(),e.b=null,e.u=null,e.Fc=null,e.kb=!0,Gs(e),w(r)}}))}))}function Is(e,t){e.B=new So,e.B.a=ko,wo(e.B,t,Math.min(.5,t/2)),Gs(e),e.Zb=new fe((function(){Os(e)})).Na(.25)}function Os(e){switch(e.i){case gl:var t=!!e.a.ended||Ft(e.a.buffered)>=e.a.duration-1;break;case ml:e:if(e.a.ended||Ar(e.D))t=!0;else{if(e.b.presentationTimeline.V()){var r=e.b.presentationTimeline.pb();if(Ft(e.a.buffered)>=r){t=!0;break e}}t=!1}break;default:t=!1}var n=Bt(e.a.buffered,e.a.currentTime),i=t,o=(r=e.B).b.get(r.a);t=r.a,n=i||n>=o?Co:ko,r.a=n,t!=n&&Gs(e)}function Ds(e){if(e.s){var t=Ce(e.c.manifest);e.a&&"AUDIO"===e.a.nodeName&&(t.disableVideo=!0),e.s.configure(t)}if(e.h&&e.h.configure(e.c.drm),e.f){e.f.configure(e.c.streaming);try{e.b.periods.forEach(e.Nc.bind(e))}catch(t){e.Ma(t)}var r=ia(e.f),n=oa(e.f);t=ll(e),r=Nr.Qd(r,n,t.variants),e.l&&r&&r.allowedByApplication&&r.allowedByKeySystem?Hs(e,t.variants):Ys(e,t)}if(e.D&&(t=e.c.textDisplayFactory,e.Fc!=t)){r=new t;var i=(n=e.D).g;n.g=r,i&&(r.setTextVisibility(i.isTextVisible()),i.destroy()),n.a&&(n.a.c=r),e.Fc=t,e.f&&(r=(t=e.f).b.get("text"))&&ca(t,r.stream,!0,0,!0)}e.l&&(e.l.configure(e.c.abr),e.c.abr.enabled&&!e.kb?e.l.enable():e.l.disable(),Zs(e)),e.B&&(t=e.c.streaming.rebufferingGoal,e.b&&(t=Math.max(t,e.b.minBufferTime)),wo(e.B,t,Math.min(.5,t/2)))}function Ms(e,t,r,n){go(e.$,t).variant=r,(e=e.u.c).c!=r&&(e.c=r,e.a.push({timestamp:Date.now()/1e3,id:r.id,type:"variant",fromAdaptation:n,bandwidth:r.bandwidth}))}function Ns(e,t,r,n){mo(e.$,t,r),(e=e.u.c).b!=r&&(e.b=r,e.a.push({timestamp:Date.now()/1e3,id:r.id,type:"text",fromAdaptation:n,bandwidth:null}))}function Fs(e){var t=As();return t.streaming.failureCallback=function(t){e.V()&&[1001,1002,1003].includes(t.code)&&(t.severity=1,e.sd())},t.textDisplayFactory=function(){return new ms(e.a)},t}function Us(e,t){var r=e.f?ia(e.f):null,n=e.f?oa(e.f):null;if(t.forEach(Nr.filterNewPeriod.bind(null,e.h,r,n)),0==(r=function(e,t){var r=0;return e.forEach((function(e){r+=t(e)?1:0})),r}(t,(function(e){return e.variants.some(Nr.rb)}))))throw new me(2,4,4032);if(r<t.length)throw new me(2,4,4011);t.forEach(function(e){Nr.Gd(e.variants,this.c.restrictions,this.bc)&&this.f&&ll(this)==e&&$s(this),nl(this,e.variants)}.bind(e))}function Bs(e,t,r,n){return r=void 0!==r&&r,n=void 0===n?0:n,e.kb?(e.pa=t,e.Ud=r,e.Rd=n,!0):((t=ua(e.f,t,r,n))&&qs(e),t)}function Ks(e,t){if(e.kb)return e.oa=t,!0;var r=ca(e.f,t,!0,0,!1);return r&&Xs(e),r}function Gs(e){var t=e.Xc();if(e.u&&e.B&&e.m){var r=e.W;r.f=t,Uo(r),Vs(e)}e.dispatchEvent(new Se("buffering",{buffering:t}))}function Vs(e){if(e.u&&e.B){var t=e.u.a;e.B.a==ko?Ss(t,"buffering"):e.a.paused?Ss(t,"paused"):e.a.ended?Ss(t,"ended"):Ss(t,"playing")}}function Hs(e,t){try{nl(e,t)}catch(t){return e.Ma(t),null}var r=t.filter((function(e){return Nr.rb(e)}));return r=e.Gb.create(r),e.l.setVariants(Array.from(r.values())),e.l.chooseVariant()}function Ys(e,t){var r=zs(e,t,!1),n=Nr.Jb(t.textStreams,e.na,e.fb)[0]||null,i=!1;n&&(e.c.streaming.alwaysStreamText||e.mc())&&(Ns(e,t,n,!0),i=Ks(e,n)),(r||i)&&Ws(e)}function zs(e,t,r){r=void 0===r||r;var n=Hs(e,t.variants),i=!1;return n&&(Ms(e,t,n,!0),i=Bs(e,n,!0)),r&&i&&Ws(e),i}function Ws(e){il(e,new Se("adaptation"))}function $s(e){il(e,new Se("trackschanged"))}function qs(e){il(e,new Se("variantchanged"))}function Xs(e){il(e,new Se("textchanged"))}function Js(e){il(e,new Se("texttrackvisibility"))}function Zs(e){il(e,new Se("abrstatuschanged",{Ig:e.c.abr.enabled}))}function Qs(e,t,r){e.dispatchEvent(new Se(t,{detail:{schemeIdUri:r.schemeIdUri,value:r.value,startTime:r.startTime,endTime:r.endTime,id:r.id,eventElement:r.eventElement}}))}function el(e){if(!e.a.error)return null;var t=e.a.error.code;if(1==t)return null;var r=e.a.error.msExtendedCode;return r&&(0>r&&(r+=Math.pow(2,32)),r=r.toString(16)),new me(2,3,3016,t,r,e.a.error.message)}function tl(e,t){if(e.f){var r=ll(e),n=!1,i=Object.keys(t),o=1==i.length&&"00"==i[0];i.length&&e.b.periods.forEach((function(e){e.variants.forEach((function(e){Nr.nf(e).forEach((function(r){var i=e.allowedByKeySystem;r.keyId&&(r=t[o?"00":r.keyId],e.allowedByKeySystem=!!r&&!Ls.includes(r)),i!=e.allowedByKeySystem&&(n=!0)}))}))})),i=ia(e.f);var a=oa(e.f);(i=Nr.Qd(i,a,r.variants))&&!i.allowedByKeySystem&&zs(e,r),n&&($s(e),Hs(e,r.variants))}}function rl(e,t,r){e.s&&e.s.onExpirationUpdated&&e.s.onExpirationUpdated(t,r),e.dispatchEvent(new Se("expirationupdated"))}function nl(e,t){var r=e.h?$e(e.h.W):{},n=Object.keys(r);n=n.length&&"00"==n[0];for(var i=!1,o=!1,a=[],s=[],l=f(t),u=l.next();!u.done;u=l.next()){var c=[];(u=u.value).audio&&c.push(u.audio),u.video&&c.push(u.video);for(var d=(c=f(c)).next();!d.done;d=c.next())if((d=d.value).keyId){var h=r[n?"00":d.keyId];h?Ls.includes(h)&&(s.includes(h)||s.push(h)):a.includes(d.keyId)||a.push(d.keyId)}u.allowedByApplication?u.allowedByKeySystem&&(i=!0):o=!0}if(!i)throw new me(2,4,4012,{hasAppRestrictions:o,missingKeys:a,restrictedKeyStatuses:s})}function il(e,t){p((function r(){return M(r,(function(r){switch(r.j){case 1:return S(r,Promise.resolve(),2);case 2:e.i!=hl&&e.dispatchEvent(t),w(r)}}))}))}function ol(e){for(var t=new Set,r=(e=f(e)).next();!r.done;r=e.next())(r=r.value).language?t.add(Ir(r.language)):t.add("und");return t}function al(e){for(var t=new Map,r=(e=f(e)).next();!r.done;r=e.next()){var n=r.value;r="und";var i=[];for(n.language&&(r=Ir(n.language)),(i="variant"==n.type?n.audioRoles:n.roles)&&i.length||(i=[""]),t.has(r)||t.set(r,new Set),i=(n=f(i)).next();!i.done;i=n.next())i=i.value,t.get(r).add(i)}var o=[];return t.forEach((function(e,t){for(var r=f(e),n=r.next();!n.done;n=r.next())o.push({language:t,role:n.value})})),o}function sl(e){return null==(e=ll(e))?[]:e.variants.filter((function(e){return Nr.rb(e)}))}function ll(e){for(var t=e.m.h(),r=null,n=(e=f(e.b.periods)).next();!n.done;n=e.next())(n=n.value).startTime<=t&&(r=n);return r}function ul(e){var t=ll(e);return go(e.$,t).variant}function cl(){return new me(2,7,7e3)}function dl(e,t,r,n,i,o){return n==e&&i.v==o.v&&i.uri==o.uri&&i.mimeType==o.mimeType&&i.Aa==o.Aa?t:r}function fl(e){return new Promise((function(t,r){e.Ya=function(){return r(cl())},e.pc=function(){return t()},e.onError=function(e){return r(e)},e.rc=function(){return r(cl())}}))}xs.registerSupportPlugin=function(e,t){js[e]=t},xs.isBrowserSupported=function(){if(!(e.Promise&&e.Uint8Array&&Array.prototype.forEach))return!1;var t=tt();return!(t&&12>t||!(e.MediaKeys&&e.navigator&&e.navigator.requestMediaKeySystemAccess&&e.MediaKeySystemAccess&&e.MediaKeySystemAccess.prototype.getConfiguration))&&(!!Ze()||Qe("application/x-mpegurl"))},xs.probeSupport=function(){return xt().then((function(e){for(var t=gi.Sf(),r={},n=f('video/mp4; codecs="avc1.42E01E",video/mp4; codecs="avc3.42E01E",video/mp4; codecs="hev1.1.6.L93.90",video/mp4; codecs="hvc1.1.6.L93.90",video/mp4; codecs="hev1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="hvc1.2.4.L153.B0"; eotf="smpte2084",video/mp4; codecs="vp9",video/mp4; codecs="vp09.00.10.08",video/mp4; codecs="av01.0.01M.08",audio/mp4; codecs="mp4a.40.2",audio/mp4; codecs="ac-3",audio/mp4; codecs="ec-3",audio/mp4; codecs="opus",audio/mp4; codecs="flac",video/webm; codecs="vp8",video/webm; codecs="vp9",video/webm; codecs="vp09.00.10.08",audio/webm; codecs="vorbis",audio/webm; codecs="opus",video/mp2t; codecs="avc1.42E01E",video/mp2t; codecs="avc3.42E01E",video/mp2t; codecs="hvc1.1.6.L93.90",video/mp2t; codecs="mp4a.40.2",video/mp2t; codecs="ac-3",video/mp2t; codecs="ec-3",text/vtt,application/mp4; codecs="wvtt",application/ttml+xml,application/mp4; codecs="stpp"'.split(",")),i=n.next();!i.done;i=n.next()){r[i=i.value]=Ze()?!!pr(i)||MediaSource.isTypeSupported(i)||Wt(i):Qe(i);var o=i.split(";")[0];r[o]=r[o]||r[i]}for(var a in e={manifest:t,media:r,drm:e},js)e[a]=js[a]();return e}))},xs.prototype.Hb=function(e,t){if(t=void 0===t||t,this.i==hl)return Promise.reject(cl());var r={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null};r.v=e,Ze()||(t=!1);var n=t?this.hb:this.O,i=hs(this.lb,(function(){return{node:n,payload:r,Va:!1}}));return i.wb=function(){},fl(i)},xs.prototype.attach=xs.prototype.Hb,xs.prototype.detach=function(){var e=this;if(this.i==hl)return Promise.reject(cl());var t=hs(this.lb,(function(){return{node:e.F,payload:{Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},Va:!1}}));return t.wb=function(){},fl(t)},xs.prototype.detach=xs.prototype.detach,xs.prototype.Cd=function(e){var t=this;if(e=void 0===e||e,this.i==hl)return Promise.reject(cl());Ze()||(e=!1);var r={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null},n=hs(this.lb,(function(n){var i=n.v&&e?t.hb:n.v?t.O:t.F;return r.v=n.v,{node:i,payload:r,Va:!1}}));return n.wb=function(){},fl(n)},xs.prototype.unload=xs.prototype.Cd,xs.prototype.load=function(e,t,r){if(this.i==hl)return Promise.reject(cl());this.dispatchEvent(new Se("loading"));var n={Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null};n.uri=e,n.zd=Date.now()/1e3,r&&"string"!=typeof r&&(Kr("Loading with a manifest parser factory","Please register a manifest parser and for the mime-type."),n.Aa=function(){return new r}),r&&"string"==typeof r&&(n.mimeType=r),void 0!==t&&(n.startTime=t);var i=function(e,t){if(t.Aa)return!1;if(!Ze())return!0;var r=t.mimeType,n=t.uri||"";return r||(r={mp4:"video/mp4",m4v:"video/mp4",m4a:"audio/mp4",webm:"video/webm",weba:"audio/webm",mkv:"video/webm",ts:"video/mp2t",ogv:"video/ogg",ogg:"audio/ogg",mpg:"video/mpeg",mpeg:"video/mpeg",m3u8:"application/x-mpegurl",mp3:"audio/mpeg",aac:"audio/aac",flac:"audio/flac",wav:"audio/wav"}[gi.getExtension(n)]),!!r&&""!=(t.v||nt()).canPlayType(r)&&(!gi.isSupported(n,r)||et()&&e.c.streaming.useNativeHlsOnSafari)}(this,n)?this.jb:this.S,o=hs(this.lb,(function(e){return null==e.v?null:(n.v=e.v,{node:i,payload:n,Va:!0})}));return o.wb=function(){},new Promise((function(e,t){o.rc=function(){return t(new me(2,7,7002))},o.pc=function(){return e()},o.Ya=function(){return t(cl())},o.onError=function(e){return t(e)}}))},xs.prototype.load=xs.prototype.load,xs.prototype.configure=function(e,t){2==arguments.length&&"string"==typeof e&&(e=bs(e,t));var r=Es(this.c,e,Fs(this));return Ds(this),r},xs.prototype.configure=xs.prototype.configure,xs.prototype.getConfiguration=function(){var e=Fs(this);return Es(e,this.c,Fs(this)),e},xs.prototype.getConfiguration=xs.prototype.getConfiguration,xs.prototype.$f=function(){for(var e in this.c)delete this.c[e];Es(this.c,Fs(this),Fs(this)),Ds(this)},xs.prototype.resetConfiguration=xs.prototype.$f,xs.prototype.We=function(){return this.i},xs.prototype.getLoadMode=xs.prototype.We,xs.prototype.af=function(){return this.a},xs.prototype.getMediaElement=xs.prototype.af,xs.prototype.Mb=function(){return this.K},xs.prototype.getNetworkingEngine=xs.prototype.Mb,xs.prototype.hc=function(){return this.Fb},xs.prototype.getAssetUri=xs.prototype.hc,xs.prototype.Ze=function(){return Kr("getManifestUri",'Please use "getAssetUri" instead.'),this.hc()},xs.prototype.getManifestUri=xs.prototype.Ze,xs.prototype.V=function(){return this.b?this.b.presentationTimeline.V():!(!this.a||!this.a.src)&&1/0==this.a.duration},xs.prototype.isLive=xs.prototype.V,xs.prototype.Xa=function(){return!!this.b&&this.b.presentationTimeline.Xa()},xs.prototype.isInProgress=xs.prototype.Xa,xs.prototype.uf=function(){if(this.b){if(!this.b.periods.length)return!1;var e=this.b.periods[0].variants;return!!e.length&&!e[0].video}return!(!this.a||!this.a.src)&&(this.a.videoTracks?0==this.a.videoTracks.length:0==this.a.videoHeight)},xs.prototype.isAudioOnly=xs.prototype.uf,xs.prototype.bg=function(){if(this.b){var e=this.b.presentationTimeline;return{start:e.ob(),end:e.Ca()}}return this.a&&this.a.src&&(e=this.a.seekable).length?{start:e.start(0),end:e.end(e.length-1)}:{start:0,end:0}},xs.prototype.seekRange=xs.prototype.bg,xs.prototype.keySystem=function(){return _t(this.drmInfo())},xs.prototype.keySystem=xs.prototype.keySystem,xs.prototype.drmInfo=function(){return this.h?this.h.a:null},xs.prototype.drmInfo=xs.prototype.drmInfo,xs.prototype.Lb=function(){return this.h?this.h.Lb():1/0},xs.prototype.getExpiration=xs.prototype.Lb,xs.prototype.Xc=function(){return!!this.B&&this.B.a==ko},xs.prototype.isBuffering=xs.prototype.Xc,xs.prototype.ef=function(){if(this.W){var e=this.W;e=e.f?0:e.c}else e=0;return e},xs.prototype.getPlaybackRate=xs.prototype.ef,xs.prototype.ug=function(e){0==e?q("A trick play rate of 0 is unsupported!"):(this.a.paused&&this.a.play(),this.W.set(e),this.i==ml&&la(this.f,1<Math.abs(e)))},xs.prototype.trickPlay=xs.prototype.ug,xs.prototype.Ge=function(){this.i==gl&&this.W.set(1),this.i==ml&&(this.W.set(1),la(this.f,!1))},xs.prototype.cancelTrickPlay=xs.prototype.Ge,xs.prototype.Vc=function(){if(this.b&&this.m){for(var e=ul(this),t=[],r=f(sl(this)),n=r.next();!n.done;n=r.next()){n=n.value;var i=Nr.Ed(n);i.active=n==e,t.push(i)}return t}return this.a&&this.a.audioTracks?Array.from(this.a.audioTracks).map((function(e){return Nr.rf(e)})):[]},xs.prototype.getVariantTracks=xs.prototype.Vc,xs.prototype.qb=function(){if(this.b&&this.m){for(var e=function(e){var t=ll(e);if(null==t)return null;if(!go(e.$,t).text){var r=Nr.Jb(t.textStreams,e.na,e.fb);r.length&&mo(e.$,t,r[0])}return go(e.$,t).text}(this),t=[],r=f(function(e){var t=ll(e);return null==t?[]:t.textStreams.filter((function(t){return!e.ac.has(t)}))}(this)),n=r.next();!n.done;n=r.next()){n=n.value;var i=Nr.xc(n);i.active=n==e,t.push(i)}return t}return this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).map((function(e){return Nr.sf(e)})):[]},xs.prototype.getTextTracks=xs.prototype.qb,xs.prototype.td=function(e){if(this.b&&this.f){var t=ll(this),r=t.textStreams.find((function(t){return t.id==e.id}));r&&(Ns(this,t,r,!1),Ks(this,r),this.na=r.language)}else if(this.a&&this.a.src&&this.a.textTracks){for(r=(t=f(t=Array.from(this.a.textTracks))).next();!r.done;r=t.next())r=r.value,Nr.Wc(r)==e.id?r.mode=this.gb?"showing":"hidden":r.mode="disabled";Xs(this)}},xs.prototype.selectTextTrack=xs.prototype.td,xs.prototype.dg=function(){Kr("selectEmbeddedTextTrack","If closed captions are signaled in the manifest, a text stream will be created to represent them. Please use SelectTextTrack.");var e=this.qb().filter((function(e){return"application/cea-608"==e.mimeType}));0<e.length&&this.td(e[0])},xs.prototype.selectEmbeddedTextTrack=xs.prototype.dg,xs.prototype.zg=function(){Kr("usingEmbeddedTextTrack","If closed captions are signaled in the manifest, a text stream will be created to represent them. There should be no reason to know if the player is playing embedded text.");var e=this.qb().filter((function(e){return e.active}))[0];return!!e&&"application/cea-608"==e.mimeType},xs.prototype.usingEmbeddedTextTrack=xs.prototype.zg,xs.prototype.fg=function(e,t,r){if(r=void 0===r?0:r,this.b&&this.f){var n=ll(this);this.c.abr.enabled&&q("Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().");var i=n.variants.find((function(t){return t.id==e.id}));i&&Nr.rb(i)&&(Ms(this,n,i,!1),Bs(this,i,t,r),this.Gb=new Eo(i),Hs(this,n.variants))}else if(this.a&&this.a.audioTracks){for(r=(t=f(t=Array.from(this.a.audioTracks))).next();!r.done;r=t.next())r=r.value,Nr.Wc(r)==e.id&&(r.enabled=!0);qs(this)}},xs.prototype.selectVariantTrack=xs.prototype.fg,xs.prototype.Re=function(){return al(this.Vc())},xs.prototype.getAudioLanguagesAndRoles=xs.prototype.Re,xs.prototype.mf=function(){return al(this.qb())},xs.prototype.getTextLanguagesAndRoles=xs.prototype.mf,xs.prototype.Qe=function(){return Array.from(ol(this.Vc()))},xs.prototype.getAudioLanguages=xs.prototype.Qe,xs.prototype.lf=function(){return Array.from(ol(this.qb()))},xs.prototype.getTextLanguages=xs.prototype.lf,xs.prototype.cg=function(e,t){if(this.b&&this.m){var r=ll(this);this.Gb=new To(e,t||"",0,"","audio"),zs(this,r)}else if(this.a&&this.a.audioTracks){for(var n=(r=f(r=Array.from(this.a.audioTracks))).next();!n.done;n=r.next())(n=n.value).language==e&&(n.enabled=!0);qs(this)}},xs.prototype.selectAudioLanguage=xs.prototype.cg,xs.prototype.eg=function(e,t){if(this.b&&this.m){var r=ll(this);this.na=e,this.fb=t||"";var n=Nr.Jb(r.textStreams,this.na,this.fb)[0]||null;n&&(Ns(this,r,n,!1),(this.c.streaming.alwaysStreamText||this.mc())&&Ks(this,n))}else(r=this.qb().filter((function(t){return t.language==e}))[0])&&this.td(r)},xs.prototype.selectTextLanguage=xs.prototype.eg,xs.prototype.gg=function(e){if(this.b&&this.m){for(var t=ll(this),r=null,n=f(sl(this)),i=n.next();!i.done;i=n.next())if((i=i.value).audio.label==e){r=i;break}null!=r&&(this.Gb=new To(r.language,"",0,e),zs(this,t))}},xs.prototype.selectVariantsByLabel=xs.prototype.gg,xs.prototype.mc=function(){var e=this.gb;return this.D?this.D.g.isTextVisible():this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).some((function(e){return"showing"==e.mode})):e},xs.prototype.isTextTrackVisible=xs.prototype.mc,xs.prototype.jg=function(e){var t=this;return p((function r(){var n,i,o,a;return M(r,(function(r){switch(r.j){case 1:if(t.gb==(n=!!e))return r.return();if(t.gb=n,t.i!=ml){if(t.a&&t.a.src&&t.a.textTracks)for(var s=f(Array.from(t.a.textTracks)),l=s.next();!l.done;l=s.next())"disabled"!=(i=l.value).mode&&(i.mode=n?"showing":"hidden");r.A(2);break}if(t.D.g.setTextVisibility(n),t.c.streaming.alwaysStreamText){r.A(2);break}if(!n){(s=t.f).D=!0,(l=s.b.get("text"))&&(Ca(l),s.b.delete("text")),r.A(2);break}if(o=ll(t),!(0<(a=Nr.Jb(o.textStreams,t.na,t.fb)).length)){r.A(2);break}return S(r,sa(t.f,a[0]),2);case 2:Js(t),w(r)}}))}))},xs.prototype.setTextTrackVisibility=xs.prototype.jg,xs.prototype.gf=function(){if(!this.V())return null;if(this.b)return new Date(1e3*(this.b.presentationTimeline.f+this.a.currentTime));if(this.a&&this.a.getStartDate){var e=this.a.getStartDate();return isNaN(e.getTime())?null:new Date(e.getTime()+1e3*this.a.currentTime)}return null},xs.prototype.getPlayheadTimeAsDate=xs.prototype.gf,xs.prototype.jf=function(){if(!this.V())return null;if(this.b)return new Date(1e3*this.b.presentationTimeline.f);if(this.a&&this.a.getStartDate){var e=this.a.getStartDate();return isNaN(e.getTime())?null:e}return null},xs.prototype.getPresentationStartTimeAsDate=xs.prototype.jf,xs.prototype.Sc=function(){var e={total:[],audio:[],video:[],text:[]};return this.i==gl&&(e.total=Kt(this.a.buffered)),this.i==ml&&this.D.Sc(e),e},xs.prototype.getBufferedInfo=xs.prototype.Sc,xs.prototype.getStats=function(){if(this.i!=ml&&this.i!=gl)return{width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,corruptedFrames:NaN,estimatedBandwidth:NaN,loadLatency:NaN,playTime:NaN,pauseTime:NaN,bufferingTime:NaN,licenseTime:NaN,switchHistory:[],stateHistory:[]};Vs(this);var e=this.a;if(e.getVideoPlaybackQuality){e=e.getVideoPlaybackQuality();var t=this.u,r=Number(e.totalVideoFrames);t.m=Number(e.droppedVideoFrames),t.l=r,this.u.i=Number(e.corruptedVideoFrames)}e=this.h&&(e=this.h).K?e.K:NaN,this.u.h=e,this.i==ml&&((e=ul(this))&&(this.u.s=e.bandwidth),e&&e.video&&(t=this.u,r=e.video.height||NaN,t.u=e.video.width||NaN,t.g=r),e=this.l.getBandwidthEstimate(),this.u.f=e);var n=this.u;e=n.u,t=n.g,r=n.s;for(var i=n.l,o=n.m,a=n.i,s=n.f,l=n.b,u=ws(n.a,"playing"),c=ws(n.a,"paused"),d=ws(n.a,"buffering"),h=n.h,p=function(e){function t(e){return{timestamp:e.timestamp,state:e.state,duration:e.duration}}for(var r=[],n=f(e.b),i=n.next();!i.done;i=n.next())r.push(t(i.value));return e.a&&r.push(t(e.a)),r}(n.a),m=[],g=(n=f(n.c.a)).next();!g.done;g=n.next())g=g.value,m.push({timestamp:g.timestamp,id:g.id,type:g.type,fromAdaptation:g.fromAdaptation,bandwidth:g.bandwidth});return{width:e,height:t,streamBandwidth:r,decodedFrames:i,droppedFrames:o,corruptedFrames:a,estimatedBandwidth:s,loadLatency:l,playTime:u,pauseTime:c,bufferingTime:d,licenseTime:h,stateHistory:p,switchHistory:m}},xs.prototype.getStats=xs.prototype.getStats,xs.prototype.addTextTrack=function(e,t,r,n,i,o){var a=this;return p((function s(){var l,u,c,d,f,h,p,m,g;return M(s,(function(s){switch(s.j){case 1:if(a.i==gl)throw Error("State error!");if(a.i!=ml)throw Error("State error!");if(l=ll(a),u=Yt,c=a.b.periods.indexOf(l),f=(d=c+1)>=a.b.periods.length?a.b.presentationTimeline.Y():a.b.periods[d].startTime,1/0==(h=f-l.startTime))throw new me(1,4,4033);return p=new Zn(1,0,h,(function(){return[e]}),0,null),m={id:a.Xd++,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return 1},getSegmentReference:function(e){return 1==e?p:null},initSegmentReference:null,presentationTimeOffset:0,mimeType:n,codecs:i||"",kind:r,encrypted:!1,keyId:null,language:t,label:o||null,type:u.ra,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},a.ac.add(m),l.textStreams.push(m),S(s,sa(a.f,m),2);case 2:return(g=aa(a.f,"text"))&&mo(a.$,l,g),a.ac.delete(m),Ys(a,l),$s(a),s.return(Nr.xc(m))}}))}))},xs.prototype.addTextTrack=xs.prototype.addTextTrack,xs.prototype.vd=function(e,t){this.bc.width=e,this.bc.height=t},xs.prototype.setMaxHardwareResolution=xs.prototype.vd,xs.prototype.sd=function(){if(this.i==ml){var e=this.f;if(e.f)e=!1;else if(e.m)e=!1;else{for(var t=f(e.b.values()),r=t.next();!r.done;r=t.next())(r=r.value).Pb&&(r.Pb=!1,ka(e,r,.1));e=!0}}else e=!1;return e},xs.prototype.retryStreaming=xs.prototype.sd,xs.prototype.Xe=function(){return this.b},xs.prototype.getManifest=xs.prototype.Xe,xs.prototype.Ye=function(){return this.s?this.s.constructor:null},xs.prototype.getManifestParserFactory=xs.prototype.Ye,(n=xs.prototype).Nc=function(e){var t=this.f?ia(this.f):null,r=this.f?oa(this.f):null;if(Nr.filterNewPeriod(this.h,t,r,e),!(t=e.variants).some(Nr.rb))throw new me(2,4,4011);if(nl(this,e.variants),Nr.Gd(t,this.c.restrictions,this.bc)&&this.f&&ll(this)==e&&$s(this),e=this.h?this.h.a:null)for(r=(t=f(t)).next();!r.done;r=t.next())for(var n=(r=f(r.value.drmInfos)).next();!n.done;n=r.next())if((n=n.value).keySystem==e.keySystem)for(var i=(n=f(n.initData||[])).next();!i.done;i=n.next())i=i.value,bt(this.h,i.initDataType,i.initData)},n.zf=function(e){try{this.kb=!0,this.l.disable(),Zs(this);var t=Hs(this,e.variants),r=Nr.Jb(e.textStreams,this.na,this.fb)[0]||null;this.pa&&(e.variants.includes(this.pa)&&(t=this.pa),this.pa=null),this.oa&&(e.textStreams.includes(this.oa)&&(r=this.oa),this.oa=null),t&&Ms(this,e,t,!0),r&&Ns(this,e,r,!0);var n=this.f,i=n.b.get("video");if(i)var o=n.c.periods[i.ia];else{var a=n.b.get("audio");o=a?n.c.periods[a.ia]:null}var s=t?t.audio:null;if(!o&&r){var l;if(l=s){e=r;var u=Ir(this.c.preferredTextLanguage),c=Ir(s.language),d=Ir(e.language);l=jr(d,u)&&!jr(c,d)}l&&(this.gb=!0),this.gb&&this.D.g.setTextVisibility(!0),Js(this)}return this.c.streaming.alwaysStreamText||this.mc()?{variant:t,text:r}:{variant:t,text:null}}catch(e){return this.Ma(e),{variant:null,text:null}}},n.Fe=function(){this.kb=!1,this.c.abr.enabled&&(this.l.enable(),Zs(this)),this.pa&&(ua(this.f,this.pa,this.Ud,this.Rd),qs(this),this.pa=null),this.oa&&(ca(this.f,this.oa,!0,0,!1),Xs(this),this.oa=null)},n.Ef=function(){this.s&&this.s.update&&this.s.update()},n.Jf=function(){this.m&&this.m.s()},n.Ma=function(e){if(this.i!=hl){var t=new Se("error",{detail:e});this.dispatchEvent(t),t.defaultPrevented&&(e.handled=!0)}};var hl=0,pl=1,ml=2,gl=3;function yl(e,t){var r=os(new is(e.wa(),e.ba()),t.periods[0],new yi(null,0)),n=t.appMetadata||{};return r=vl(r),{offlineUri:e.toString(),originalManifestUri:t.originalManifestUri,duration:t.duration,size:t.size,expiration:t.expiration,tracks:r,appMetadata:n}}function vl(e){for(var t=[],r=Nr.df(e.variants),n=(r=f(r)).next();!n.done;n=r.next())t.push(Nr.Ed(n.value));for(r=(e=f(e.textStreams)).next();!r.done;r=e.next())t.push(Nr.xc(r.value));return t}function bl(){this.a={}}function _l(e,t){var r=t.audio,n=t.video;if(r&&!n&&(e.a[r.id]=r.bandwidth||t.bandwidth),!r&&n&&(e.a[n.id]=n.bandwidth||t.bandwidth),r&&n){var i=r.bandwidth||393216,o=n.bandwidth||t.bandwidth-i;0>=o&&(o=t.bandwidth),e.a[r.id]=i,e.a[n.id]=o}}function Al(e,t){var r=e.a[t];return null==r&&(r=0),r}function El(e){this.a=!1,this.b=new ge,this.c=e}function Tl(e){var t=new wl;e.periods.forEach((function(e,r){var n=Cl(e.variants);if(0==r)for(var i=(n=f(n.a)).next();!i.done;i=n.next())t.add(i.value);else!function(e,t){e.a=e.a.filter((function(e){return kl(t,e)}))}(t,n)}));for(var r=(e=f(e.periods)).next();!r.done;r=e.next())(r=r.value).variants=r.variants.filter((function(e){return kl(t,new Sl(e))}))}function Sl(e){var t=e.audio;e=e.video,this.b=t?t.mimeType:null,this.a=t?t.codecs.split(".")[0]:null,this.f=e?e.mimeType:null,this.c=e?e.codecs.split(".")[0]:null}function wl(){this.a=[]}function kl(e,t){return e.a.some((function(e){return t.b==e.b&&t.a==e.a&&t.f==e.f&&t.c==e.c}))}function Cl(e){for(var t=new wl,r=(e=f(e)).next();!r.done;r=e.next())t.add(new Sl(r.value));return t}function xl(e){var t=this;if(e&&e.constructor!=xs)throw new me(2,9,9008);this.b=this.a=null,e?(this.a=e.c,this.b=e.Mb()):(this.a=As(),this.b=new Ie),this.f=!1,this.c=[],this.g=[];var r=!e;this.h=new El((function(){return p((function e(){var n;return M(e,(function(e){switch(e.j){case 1:return n=function(){},S(e,Promise.all(t.g.map((function(e){return e.then(n,n)}))),2);case 2:if(!r){e.A(3);break}return S(e,t.b.destroy(),3);case 3:t.a=null,t.b=null,w(e)}}))}))}))}function Rl(){if(Ze())e:{for(var e=f($a.values()),t=e.next();!t.done;t=e.next())if(t=(t=t.value)()){t.destroy(),e=!0;break e}e=!1}else e=!1;return e}function Ll(e,t){for(var r=[],n=f(e.periods),i=n.next();!i.done;i=n.next())for(var o=(i=f(i.value.streams)).next();!o.done;o=i.next())o=o.value,t&&"video"==o.contentType?r.push({contentType:qe(o.mimeType,o.codecs),robustness:e.drmInfo.videoRobustness}):t||"audio"!=o.contentType||r.push({contentType:qe(o.mimeType,o.codecs),robustness:e.drmInfo.audioRobustness});return r}function jl(e,t,r){return p((function n(){return M(n,(function(n){switch(n.j){case 1:return S(n,function(e,t,r,n){return p((function i(){var o,a,s;return M(i,(function(i){switch(i.j){case 1:return n.drmInfo?(o=function(e){var t=Array.from(e.a.keys());if(!t.length)throw new me(2,9,9e3,"No supported storage mechanisms found");return e.a.get(t[0]).getEmeSessionCell()}(r),a=n.sessionIds.map((function(e){return{sessionId:e,keySystem:n.drmInfo.keySystem,licenseUri:n.drmInfo.licenseServerUri,serverCertificate:n.drmInfo.serverCertificate,audioCapabilities:Ll(n,!1),videoCapabilities:Ll(n,!0)}})),S(i,cs(t,e,a),2)):i.return();case 2:return s=i.o,S(i,o.remove(s),3);case 3:return S(i,o.add(a.filter((function(e){return-1==s.indexOf(e.sessionId)}))),0)}}))}))}(e.b,e.a.drm,r,t),0)}}))}))}function Pl(e,t,r,n){function i(){s+=1,e.a.offline.progressCallback(l,s/a)}var o=function(e){var t=[];return e.periods.forEach((function(e){e.streams.forEach((function(e){null!=e.initSegmentKey&&t.push(e.initSegmentKey),e.segments.forEach((function(e){t.push(e.dataKey)}))}))})),t}(n),a=o.length+1,s=0,l=yl(r,n);return Promise.all([t.removeSegments(o,i),t.removeManifests([r.key()],i)])}function Il(e,t,r,n,i,o){var a={id:o.id,originalId:o.originalId,primary:o.primary,presentationTimeOffset:o.presentationTimeOffset||0,contentType:o.type,mimeType:o.mimeType,codecs:o.codecs,frameRate:o.frameRate,pixelAspectRatio:o.pixelAspectRatio,kind:o.kind,language:o.language,label:o.label,width:o.width||null,height:o.height||null,initSegmentKey:null,encrypted:o.encrypted,keyId:o.keyId,segments:[],variantIds:[]};i=i.presentationTimeline.Ob();var s=o.id,l=o.initSegmentReference;return l&&(l=vi(l.c(),l.b,l.a,e.a.streaming.retryParameters),Oa(t,s,l,.5*Al(n,o.id),!0,(function(t){return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return S(n,r.addSegments([{data:t}]),2);case 2:i=n.o,e.c.push(i[0]),a.initSegmentKey=i[0],w(n)}}))}))}))),function(e,t,r){for(var n=null==(t=e.findSegmentPosition(t))?null:e.getSegmentReference(t);n;)r(n),n=e.getSegmentReference(++t)}(o,i,(function(i){var l=vi(i.c(),i.b,i.a,e.a.streaming.retryParameters);Oa(t,s,l,function(e,t,r){return r=r.endTime-r.startTime,Al(e,t)*r}(n,o.id,i),!1,(function(t){return p((function n(){var o;return M(n,(function(n){switch(n.j){case 1:return S(n,r.addSegments([{data:t}]),2);case 2:o=n.o,e.c.push(o[0]),a.segments.push({startTime:i.startTime,endTime:i.endTime,dataKey:o[0]}),w(n)}}))}))}))})),a}function Ol(e){if(e.h.a)throw new me(2,9,7001)}function Dl(){if(!Rl())throw new me(2,9,9e3)}function Ml(e,t){return p((function r(){return M(r,(function(r){switch(r.j){case 1:return e.g.push(t),C(r,2),S(r,t,4);case 4:return r.return(r.o);case 2:L(r),Re(e.g,t),j(r,0)}}))}))}function Nl(e){e.variants.map((function(e){return e.video}));var t=new Set(e.variants.map((function(e){return e.audio})));e=e.textStreams;for(var r=f(t),n=r.next();!n.done;n=r.next())for(var i=(n=f(t)).next();!i.done;i=n.next());for(r=(t=f(e)).next();!r.done;r=t.next())for(n=(r=f(e)).next();!n.done;n=r.next());}xs.LoadMode={DESTROYED:hl,NOT_LOADED:pl,MEDIA_SOURCE:ml,SRC_EQUALS:gl},El.prototype.destroy=function(){var e=this;return this.a?this.b:(this.a=!0,this.c().then((function(){e.b.resolve()}),(function(){e.b.resolve()})))},wl.prototype.add=function(e){kl(this,e)||this.a.push(e)},G("shaka.offline.Storage",xl),xl.support=Rl,xl.prototype.destroy=function(){return this.h.destroy()},xl.prototype.destroy=xl.prototype.destroy,xl.prototype.configure=function(e,t){2==arguments.length&&"string"==typeof e&&(e=bs(e,t));var r=e,n=!1;return null!=r.trackSelectionCallback&&(n=!0,r.offline=r.offline||{},r.offline.trackSelectionCallback=r.trackSelectionCallback,delete r.trackSelectionCallback),null!=r.progressCallback&&(n=!0,r.offline=r.offline||{},r.offline.progressCallback=r.progressCallback,delete r.progressCallback),null!=r.usePersistentLicense&&(n=!0,r.offline=r.offline||{},r.offline.usePersistentLicense=r.usePersistentLicense,delete r.usePersistentLicense),n&&Kr("Storage.configure with OfflineConfig","Please configure storage with a player configuration."),Es(this.a,e)},xl.prototype.configure=xl.prototype.configure,xl.prototype.getConfiguration=function(){var e=As();return Es(e,this.a,As()),e},xl.prototype.getConfiguration=xl.prototype.getConfiguration,xl.prototype.Mb=function(){return this.b},xl.prototype.getNetworkingEngine=xl.prototype.Mb,xl.prototype.store=function(e,t,r){var n=this;return Ml(this,function(e,t,r,n){return p((function i(){var o,a,s,l,u,c,d,h,m;return M(i,(function(i){switch(i.j){case 1:return Dl(),e.f?i.return(Promise.reject(new me(2,9,9006))):(e.f=!0,S(i,function(e,t,r){return p((function n(){var i,o,a,s,l,u;return M(n,(function(n){switch(n.j){case 1:return i=null,o=e.b,a={networkingEngine:o,filterAllPeriods:function(){},filterNewPeriod:function(){},onTimelineRegionAdded:function(){},onEvent:function(){},onError:function(e){i=e}},S(n,r(),2);case 2:return(s=n.o).configure(e.a.manifest),Ol(e),C(n,3),S(n,s.start(t,a),5);case 5:return l=n.o,Ol(e),u=function(e){for(var t=new Set,r=(e=f(e.periods)).next();!r.done;r=e.next()){for(var n=f((r=r.value).textStreams),i=n.next();!i.done;i=n.next())t.add(i.value);for(r=f(r.variants),n=r.next();!n.done;n=r.next())(n=n.value).audio&&t.add(n.audio),n.video&&t.add(n.video)}return t}(l),S(n,Promise.all(Ye(u,(function(e){return e.createSegmentIndex()}))),6);case 6:if(Ol(e),i)throw i;return n.return(l);case 3:return L(n),S(n,s.stop(),7);case 7:j(n,0)}}))}))}(e,t,n),2));case 2:if(o=i.o,Ol(e),o.presentationTimeline.V()||o.presentationTimeline.Xa())throw new me(2,9,9005,t);return a=null,s=new Ya,u=l=null,k(i,3,4),S(i,function(e,t,r){return p((function n(){var i,o,a;return M(n,(function(n){switch(n.j){case 1:return i=new pt({ub:e.b,onError:r,qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),o=Do(t.periods),a=e.a,i.configure(a.drm),S(n,function(e,t,r){return e.s=[],e.D=r,gt(e,t)}(i,o,a.offline.usePersistentLicense),2);case 2:return S(n,yt(i),3);case 3:return S(n,vt(i),4);case 4:return n.return(i)}}))}))}(e,o,(function(e){u=u||e})),6);case 6:if(a=i.o,Ol(e),u)throw u;return S(i,function(e,t,r){return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return i={width:1/0,height:1/0},function(e,t,r){for(var n=(e=f(e.periods)).next();!n.done;n=e.next())(n=n.value).variants=n.variants.filter((function(e){return Nr.bd(e,t,r)}))}(t,e.a.restrictions,i),function(e){for(var t=(e=f(e.periods)).next();!t.done;t=e.next())(t=t.value).variants=t.variants.filter((function(e){var t=!0;return e.audio&&(t=t&&br(e.audio)),e.video&&(t=t&&br(e.video)),t}))}(t),function(e,t){for(var r=f(e.periods),n=r.next();!n.done;n=r.next())(n=n.value).variants=n.variants.filter((function(e){return Rt(t,e)}))}(t,r),Tl(t),S(n,function(e,t){return p((function r(){var n,i,o,a;return M(r,(function(r){switch(r.j){case 1:n=null,i=f(e.periods),o=i.next();case 2:if(o.done){r.A(0);break}return a=o.value,n&&(a.variants=a.variants.filter((function(e){return kl(n,new Sl(e))}))),S(r,t(a),5);case 5:n=Cl(a.variants),o=i.next(),r.A(2)}}))}))}(t,(function(t){return p((function r(){var n,i,o,a,s,l,u,c;return M(r,(function(r){switch(r.j){case 1:n=Nr,i=[];for(var d=f(t.variants),h=d.next();!h.done;h=d.next())o=h.value,i.push(n.Ed(o));for(h=(d=f(t.textStreams)).next();!h.done;h=d.next())a=h.value,i.push(n.xc(a));return S(r,e.a.offline.trackSelectionCallback(i),2);case 2:for(s=r.o,l=new Set,u=new Set,h=(d=f(s)).next();!h.done;h=d.next())"variant"==(c=h.value).type&&l.add(c.id),"text"==c.type&&u.add(c.id);t.variants=t.variants.filter((function(e){return l.has(e.id)})),t.textStreams=t.textStreams.filter((function(e){return u.has(e.id)})),w(r)}}))}))})),2);case 2:(function(e){if(0==e.periods.length)throw new me(2,4,4014);for(var t=(e=f(e.periods)).next();!t.done;t=e.next())Nl(t.value)})(t),w(n)}}))}))}(e,o,a),7);case 7:return S(i,s.init(),8);case 8:return Ol(e),S(i,function(e){var t=null;if(e.a.forEach((function(e,r){e.getCells().forEach((function(e,n){e.hasFixedKeySpace()||t||(t={path:{wa:r,ba:n},ba:e})}))})),t)return t;throw new me(2,9,9013,"Could not find a cell that supports add-operations")}(s),9);case 9:return l=i.o,Ol(e),S(i,function(e,t,r,n,i,o){return p((function a(){var s,l,u,c,d,h,m,g,y,v;return M(a,(function(a){switch(a.j){case 1:return s=function(e,t,r){var n=null==t.expiration?1/0:t.expiration;return{offlineUri:null,originalManifestUri:e,duration:t.presentationTimeline.Y(),size:0,expiration:n,tracks:t=vl(t.periods[0]),appMetadata:r}}(i,n,o),l=n.periods.some((function(e){return e.variants.some((function(e){return e.drmInfos&&e.drmInfos.length}))})),u=n.periods.some((function(e){return e.variants.some((function(e){return e.drmInfos.some((function(e){return e.initData&&e.initData.length}))}))})),d=null,(c=l&&!u)&&(h=r.a,d=Fl.get(h.keySystem)),m=new Ia(e.b,(function(t,r){s.size=r,e.a.offline.progressCallback(s,t)}),(function(t,n){c&&e.a.offline.usePersistentLicense&&d==n&&bt(r,"cenc",t)})),C(a,2),y=g=function(e,t,r,n,i,o,a){var s=new bl,l=i.periods.map((function(n){return function(e,t,r,n,i,o){for(var a=f(o.variants),s=a.next();!s.done;s=a.next())_l(n,s.value);for(a=f(o.textStreams),s=a.next();!s.done;s=a.next())n.a[s.value.id]=52;a=function(e){for(var t=new Set,r=f(e.textStreams),n=r.next();!n.done;n=r.next())t.add(n.value);for(e=f(e.variants),r=e.next();!r.done;r=e.next())(r=r.value).audio&&t.add(r.audio),r.video&&t.add(r.video);return t}(o);var l=new Map;for(a=f(a),s=a.next();!s.done;s=a.next()){s=s.value;var u=Il(e,t,r,n,i,s);l.set(s.id,u)}return o.variants.forEach((function(e){e.audio&&l.get(e.audio.id).variantIds.push(e.id),e.video&&l.get(e.video.id).variantIds.push(e.id)})),{startTime:o.startTime,streams:Array.from(l.values())}}(e,t,r,s,i,n)})),u=n.a,c=e.a.offline.usePersistentLicense;return u&&c&&(u.initData=[]),{originalManifestUri:o,duration:i.presentationTimeline.Y(),size:0,expiration:n.Lb(),periods:l,sessionIds:c?Et(n):[],drmInfo:u,appMetadata:a}}(e,m,t,r,n,i,o),S(a,function(e){return p((function t(){return M(t,(function(t){switch(t.j){case 1:return S(t,Promise.all(e.b.values()),2);case 2:return t.return(e.a.a)}}))}))}(m),4);case 4:if(y.size=a.o,g.expiration=r.Lb(),v=Et(r),g.sessionIds=e.a.offline.usePersistentLicense?v:[],l&&e.a.offline.usePersistentLicense&&!v.length)throw new me(2,9,9007);return a.return(g);case 2:return L(a),S(a,m.destroy(),5);case 5:j(a,0)}}))}))}(e,l.ba,a,o,t,r),10);case 10:if(c=i.o,Ol(e),u)throw u;return S(i,l.ba.addManifests([c]),11);case 11:return d=i.o,Ol(e),h=new rs("manifest",l.path.wa,l.path.ba,d[0]),i.return(yl(h,c));case 4:return L(i),e.f=!1,e.c=[],S(i,s.destroy(),12);case 12:if(!a){i.A(13);break}return S(i,a.destroy(),13);case 13:j(i,0);break;case 3:if(m=R(i),!l){i.A(15);break}return S(i,l.ba.removeSegments(e.c,(function(){})),15);case 15:throw u||m}}))}))}(this,e,t||{},(function(){return p((function t(){var i,o;return M(t,(function(t){switch(t.j){case 1:return r&&"string"!=typeof r?(Kr("Storing with a manifest parser factory","Please register a manifest parser and for the mime-type."),i=r,t.return(new i)):S(t,gi.create(e,n.b,n.a.manifest.retryParameters,r),2);case 2:return o=t.o,t.return(o)}}))}))})))},xl.prototype.store=xl.prototype.store,xl.prototype.kf=function(){return this.f},xl.prototype.getStoreInProgress=xl.prototype.kf,xl.prototype.remove=function(e){return Ml(this,function(e,t){return p((function r(){var n,i,o,a,s,l;return M(r,(function(r){switch(r.j){case 1:return Dl(),null==(n=ns(t))||"manifest"!=n.a?r.return(Promise.reject(new me(2,9,9004,t))):(i=n,o=new Ya,C(r,2),S(r,o.init(),4));case 4:return S(r,za(o,i.wa(),i.ba()),5);case 5:return S(r,(a=r.o).getManifests([i.key()]),6);case 6:return s=r.o,l=s[0],S(r,Promise.all([jl(e,l,o),Pl(e,a,i,l)]),2);case 2:return L(r),S(r,o.destroy(),8);case 8:j(r,0)}}))}))}(this,e))},xl.prototype.remove=xl.prototype.remove,xl.prototype.Xf=function(){return Ml(this,function(e){return p((function t(){var r,n,i,o,a,s,l,u,c;return M(t,(function(t){switch(t.j){case 1:return Dl(),r=e.b,n=e.a.drm,i=new Ya,o=!1,C(t,2),S(t,i.init(),4);case 4:for(a=[],function(e,t){e.a.forEach((function(e){t(e.getEmeSessionCell())}))}(i,(function(e){return a.push(e)})),s=Promise.resolve(),l={},u=f(a),c=u.next();!c.done;l={wc:l.wc},c=u.next())l.wc=c.value,s=s.then(function(e){return function(){return p((function t(){var i,a;return M(t,(function(t){switch(t.j){case 1:return S(t,e.wc.getAll(),2);case 2:return i=t.o,S(t,cs(n,r,i),3);case 3:return a=t.o,S(t,e.wc.remove(a),4);case 4:a.length!=i.length&&(o=!0),w(t)}}))}))}}(l));return S(t,s,2);case 2:return L(t),S(t,i.destroy(),6);case 6:j(t,3);break;case 3:return t.return(!o)}}))}))}(this))},xl.prototype.removeEmeSessions=xl.prototype.Xf,xl.prototype.list=function(){return Ml(this,p((function e(){var t,r,n;return M(e,(function(e){switch(e.j){case 1:return Dl(),t=[],r=new Ya,C(e,2),S(e,r.init(),4);case 4:return n=Promise.resolve(),function(e,t){e.a.forEach((function(e,r){e.getCells().forEach((function(e,n){t({wa:r,ba:n},e)}))}))}(r,(function(e,r){n=n.then((function(){return p((function n(){return M(n,(function(n){switch(n.j){case 1:return S(n,r.getAllManifests(),2);case 2:n.o.forEach((function(r,n){var i=yl(new rs("manifest",e.wa,e.ba,n),r);t.push(i)})),w(n)}}))}))}))})),S(e,n,2);case 2:return L(e),S(e,r.destroy(),6);case 6:j(e,3);break;case 3:return e.return(t)}}))})))},xl.prototype.list=xl.prototype.list,xl.deleteAll=function(){return p((function e(){var t;return M(e,(function(e){switch(e.j){case 1:return t=new Ya,C(e,2),S(e,t.erase(),2);case 2:return L(e),S(e,t.destroy(),5);case 5:j(e,0)}}))}))};var Fl=(new Map).set("org.w3.clearkey","1077efecc0b24d02ace33c1e52e2fb4b").set("com.widevine.alpha","edef8ba979d64acea3c827dcd51d21ed").set("com.microsoft.playready","9a04f07998404286ab92e65be0885f95").set("com.adobe.primetime","f239e769efa348509c16a903c6932efb");js.offline=Rl,G("shaka.polyfill.installAll",(function(){for(var e=0;e<Kl.length;++e)try{Kl[e].De()}catch(e){q("Error installing polyfill!",e)}}));var Ul,Bl,Kl=[];function Gl(e,t){for(var r={priority:t=t||0,De:e},n=0;n<Kl.length;n++)if(Kl[n].priority<t)return void Kl.splice(n,0,r);Kl.push(r)}function Vl(e){var t=e.type.replace(/^(webkit|moz|MS)/,"").toLowerCase();if("function"==typeof Event)var r=new Event(t,e);else(r=document.createEvent("Event")).initEvent(t,e.bubbles,e.cancelable);e.target.dispatchEvent(r)}function Hl(e,t,r){if("input"==e)switch(this.type){case"range":e="change"}HTMLInputElement.prototype.originalAddEventListener.call(this,e,t,r)}function Yl(){var e=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(t){for(var r=[],n=0;n<arguments.length;++n)r[n]=arguments[n];return(r=e.apply(this,r)).abort=function(){},r}}function zl(e,t){try{var r=new Wl(e,t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}function Wl(e,t){if(this.keySystem=e,e.startsWith("com.apple.fps"))for(var r=f(t),n=r.next();!n.done;n=r.next()){var i=n.value;if("required"==i.persistentState)n=null;else{n={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:i.initDataTypes,sessionTypes:["temporary"],label:i.label};var o=!1,a=!1;if(i.audioCapabilities)for(var s=f(i.audioCapabilities),l=s.next();!l.done;l=s.next())if((l=l.value).contentType){o=!0;var u=l.contentType.split(";")[0];WebKitMediaKeys.isTypeSupported(this.keySystem,u)&&(n.audioCapabilities.push(l),a=!0)}if(i.videoCapabilities)for(l=(i=f(i.videoCapabilities)).next();!l.done;l=i.next())(s=l.value).contentType&&(o=!0,l=s.contentType.split(";")[0],WebKitMediaKeys.isTypeSupported(this.keySystem,l)&&(n.videoCapabilities.push(s),a=!0));o||(a=WebKitMediaKeys.isTypeSupported(this.keySystem,"video/mp4")),n=a?n:null}if(n)return void(this.a=n)}throw(r=Error("Unsupported keySystem")).name="NotSupportedError",r.code=DOMException.NOT_SUPPORTED_ERR,r}function $l(e){var t=this.mediaKeys;return t&&t!=e&&Xl(t,null),delete this.mediaKeys,(this.mediaKeys=e)?Xl(e,this):Promise.resolve()}function ql(e){this.b=new WebKitMediaKeys(e),this.a=new Be}function Xl(e,t){if(e.a.$a(),!t)return Promise.resolve();e.a.w(t,"webkitneedkey",Zl);try{return 1<=t.readyState?t.webkitSetMediaKeys(e.b):e.a.da(t,"loadedmetadata",(function(){t.webkitSetMediaKeys(e.b)})),Promise.resolve()}catch(e){return Promise.reject(e)}}function Jl(e){ke.call(this),this.b=null,this.g=e,this.c=this.a=null,this.f=new Be,this.sessionId="",this.expiration=NaN,this.closed=new ge,this.keyStatuses=new eu}function Zl(e){var t=new Event("encrypted");t.initDataType="cenc",t.initData=e.initData,this.dispatchEvent(t)}function Ql(e,t){var r=e.keyStatuses;r.size=null==t?0:1,r.a=t,e.dispatchEvent(new Se("keystatuseschange"))}function eu(){this.size=0,this.a=void 0}function tu(e,t){try{var r=new ru(e,t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}function ru(e,t){this.keySystem=e;for(var r=!1,n=0;n<t.length;++n){var i=t[n],o={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:i.initDataTypes,sessionTypes:["temporary"],label:i.label},a=!1;if(i.audioCapabilities)for(var s=0;s<i.audioCapabilities.length;++s){var l=i.audioCapabilities[s];if(l.contentType){a=!0;var u=l.contentType.split(";")[0];MSMediaKeys.isTypeSupported(this.keySystem,u)&&(o.audioCapabilities.push(l),r=!0)}}if(i.videoCapabilities)for(s=0;s<i.videoCapabilities.length;++s)(l=i.videoCapabilities[s]).contentType&&(a=!0,u=l.contentType.split(";")[0],MSMediaKeys.isTypeSupported(this.keySystem,u)&&(o.videoCapabilities.push(l),r=!0));if(a||(r=MSMediaKeys.isTypeSupported(this.keySystem,"video/mp4")),"required"==i.persistentState&&(r=!1),r)return void(this.a=o)}throw(r=Error("Unsupported keySystem")).name="NotSupportedError",r.code=DOMException.NOT_SUPPORTED_ERR,r}function nu(e){var t=this.mediaKeys;return t&&t!=e&&ou(t,null),delete this.mediaKeys,(this.mediaKeys=e)?ou(e,this):Promise.resolve()}function iu(e){this.a=new MSMediaKeys(e),this.b=new Be}function ou(e,t){if(e.b.$a(),!t)return Promise.resolve();e.b.w(t,"msneedkey",su);var r=e;try{return 1<=t.readyState?t.msSetMediaKeys(e.a):t.addEventListener("loadedmetadata",(function e(){t.msSetMediaKeys(r.a),t.removeEventListener("loadedmetadata",e)})),Promise.resolve()}catch(e){return Promise.reject(e)}}function au(e){ke.call(this),this.c=null,this.g=e,this.b=this.a=null,this.f=new Be,this.sessionId="",this.expiration=NaN,this.closed=new ge,this.keyStatuses=new uu}function su(e){if(e.initData){var t=document.createEvent("CustomEvent");t.initCustomEvent("encrypted",!1,!1,null),t.initDataType="cenc",t.initData=function(e){if(!e)return e;var t=new Un(e);if(1>=t.data.length)return e;e=[];for(var r={},n=(t=f(t.data)).next();!n.done;r={lc:r.lc},n=t.next())r.lc=n.value,e.some(function(e){return function(t){return ht.za(t,e.lc)}}(r))||e.push(r.lc);return ht.concat.apply(ht,e instanceof Array?e:function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(f(e)))}(e.initData),this.dispatchEvent(t)}}function lu(e,t){var r=e.keyStatuses;r.size=null==t?0:1,r.a=t,e.dispatchEvent(new Se("keystatuseschange"))}function uu(){this.size=0,this.a=void 0}function cu(){return Promise.reject(Error("The key system specified is not supported."))}function du(e){return null==e?Promise.resolve():Promise.reject(Error("MediaKeys not supported."))}function fu(){throw new TypeError("Illegal constructor.")}function hu(){throw new TypeError("Illegal constructor.")}G("shaka.polyfill.register",Gl),Gl((function(){Sc()}),-1),Gl((function(){if(e.Document){var t=Element.prototype;t.requestFullscreen=t.requestFullscreen||t.mozRequestFullScreen||t.msRequestFullscreen||t.webkitRequestFullscreen,(t=Document.prototype).exitFullscreen=t.exitFullscreen||t.mozCancelFullScreen||t.msExitFullscreen||t.webkitExitFullscreen,"fullscreenElement"in document||(Object.defineProperty(document,"fullscreenElement",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement}}),Object.defineProperty(document,"fullscreenEnabled",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}})),document.addEventListener("webkitfullscreenchange",Vl),document.addEventListener("webkitfullscreenerror",Vl),document.addEventListener("mozfullscreenchange",Vl),document.addEventListener("mozfullscreenerror",Vl),document.addEventListener("MSFullscreenChange",Vl),document.addEventListener("MSFullscreenError",Vl)}})),Gl((function(){var t=!1;if(rt("CrKey"))t=!0;else try{e.indexedDB&&(t=!1)}catch(e){t=!0}t&&delete e.indexedDB})),Gl((function(){rt("Trident/")&&!HTMLInputElement.prototype.originalAddEventListener&&(HTMLInputElement.prototype.originalAddEventListener=HTMLInputElement.prototype.addEventListener,HTMLInputElement.prototype.addEventListener=Hl)})),Gl((function(){navigator.languages||Object.defineProperty(navigator,"languages",{get:function(){return navigator.language?[navigator.language]:["en"]}})})),Gl((function(){})),Gl((function(){var t=tt();e.MediaSource&&(e.cast&&cast.__platform__&&cast.__platform__.canDisplayType?function(){var e=MediaSource.isTypeSupported,t=/^dv(?:h[e1]|a[v1])\./;MediaSource.isTypeSupported=function(r){for(var n=r.split(/ *; */),i=n[0],o={},a=1;a<n.length;++a){var s=n[a].split("="),l=s[0];s=s[1].replace(/"(.*)"/,"$1"),o[l]=s}if(!(n=o.codecs))return e(r);var u=!1,c=!1;for(var d in r=n.split(",").filter((function(e){return t.test(e)&&(c=!0),/^(hev|hvc)1\.2/.test(e)&&(u=!0),!0})),c&&(u=!1),o.codecs=r.join(","),u&&(o.eotf="smpte2084"),o)i+="; "+d+'="'+o[d]+'"';return cast.__platform__.canDisplayType(i)}}():t?(function(){var e=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(t){return"mp2t"!=t.split(/ *; */)[0].split("/")[1].toLowerCase()&&e(t)}}(),12>=t?(Yl(),function(){var e=SourceBuffer.prototype.remove;SourceBuffer.prototype.remove=function(t,r){return e.call(this,t,r-.001)}}()):Yl()):rt("Tizen")&&function(){var e=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(t){return"opus"!=Xe(t)[0]&&e(t)}}())})),Wl.prototype.createMediaKeys=function(){var e=new ql(this.keySystem);return Promise.resolve(e)},Wl.prototype.getConfiguration=function(){return this.a},ql.prototype.createSession=function(e){if("temporary"!=(e=e||"temporary"))throw new TypeError("Session type "+e+" is unsupported on this platform.");return new Jl(this.b,e)},ql.prototype.setServerCertificate=function(e){return e&&new Uint8Array(e),Promise.resolve(!0)},V(Jl,ke),(n=Jl.prototype).generateRequest=function(e,t){this.a=new ge;try{this.b=this.g.createSession("video/mp4",new Uint8Array(t)),this.sessionId=this.b.sessionId||"",this.f.w(this.b,"webkitkeymessage",this.og.bind(this)),this.f.w(this.b,"webkitkeyadded",this.mg.bind(this)),this.f.w(this.b,"webkitkeyerror",this.ng.bind(this)),Ql(this,"status-pending")}catch(e){this.a.reject(e)}return this.a},n.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))},n.update=function(e){this.c=new ge;try{this.b.update(new Uint8Array(e))}catch(e){this.c.reject(e)}return this.c},n.close=function(){try{this.b.close(),this.closed.resolve(),this.f.$a()}catch(e){this.closed.reject(e)}return this.closed},n.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))},n.og=function(e){this.a&&(this.a.resolve(),this.a=null),this.dispatchEvent(new Se("message",{messageType:null==this.keyStatuses.a?"license-request":"license-renewal",message:e.message.buffer}))},n.mg=function(){this.c&&(Ql(this,"usable"),this.c.resolve(),this.c=null)},n.ng=function(){var e=Error("EME PatchedMediaKeysApple key error");if(e.errorCode=this.b.error,null!=this.a)this.a.reject(e),this.a=null;else if(null!=this.c)this.c.reject(e),this.c=null;else switch(this.b.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:Ql(this,"output-not-allowed");break;default:Ql(this,"internal-error")}},(n=eu.prototype).forEach=function(e){this.a&&e(this.a,Ul)},n.get=function(e){if(this.has(e))return this.a},n.has=function(e){var t=Ul;return!(!this.a||!ht.za(new Uint8Array(e),new Uint8Array(t)))},n.entries=function(){},n.keys=function(){},n.values=function(){},Gl((function(){e.HTMLVideoElement&&e.WebKitMediaKeys&&(Ul=new Uint8Array([0]).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=$l,e.MediaKeys=ql,e.MediaKeySystemAccess=Wl,navigator.requestMediaKeySystemAccess=zl)})),ru.prototype.createMediaKeys=function(){var e=new iu(this.keySystem);return Promise.resolve(e)},ru.prototype.getConfiguration=function(){return this.a},iu.prototype.createSession=function(e){if("temporary"!=(e=e||"temporary"))throw new TypeError("Session type "+e+" is unsupported on this platform.");return new au(this.a,e)},iu.prototype.setServerCertificate=function(){return Promise.resolve(!1)},V(au,ke),(n=au.prototype).generateRequest=function(e,t){this.a=new ge;try{this.c=this.g.createSession("video/mp4",new Uint8Array(t),null),this.f.w(this.c,"mskeymessage",this.If.bind(this)),this.f.w(this.c,"mskeyadded",this.Gf.bind(this)),this.f.w(this.c,"mskeyerror",this.Hf.bind(this)),lu(this,"status-pending")}catch(e){this.a.reject(e)}return this.a},n.load=function(){return Promise.reject(Error("MediaKeySession.load not yet supported"))},n.update=function(e){this.b=new ge;try{this.c.update(new Uint8Array(e))}catch(e){this.b.reject(e)}return this.b},n.close=function(){try{this.c.close(),this.closed.resolve(),this.f.$a()}catch(e){this.closed.reject(e)}return this.closed},n.remove=function(){return Promise.reject(Error("MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform"))},n.If=function(e){this.a&&(this.a.resolve(),this.a=null),this.dispatchEvent(new Se("message",{messageType:null==this.keyStatuses.a?"license-request":"license-renewal",message:e.message.buffer}))},n.Gf=function(){this.a?(lu(this,"usable"),this.a.resolve(),this.a=null):this.b&&(lu(this,"usable"),this.b.resolve(),this.b=null)},n.Hf=function(){var e=Error("EME PatchedMediaKeysMs key error");if(e.errorCode=this.c.error,null!=this.a)this.a.reject(e),this.a=null;else if(null!=this.b)this.b.reject(e),this.b=null;else switch(this.c.error.code){case MSMediaKeyError.MS_MEDIA_KEYERR_OUTPUT:case MSMediaKeyError.MS_MEDIA_KEYERR_HARDWARECHANGE:lu(this,"output-not-allowed");break;default:lu(this,"internal-error")}},(n=uu.prototype).forEach=function(e){this.a&&e(this.a,Bl)},n.get=function(e){if(this.has(e))return this.a},n.has=function(e){var t=Bl;return!(!this.a||!ht.za(new Uint8Array(e),new Uint8Array(t)))},n.entries=function(){},n.keys=function(){},n.values=function(){},Gl((function(){!e.HTMLVideoElement||!e.MSMediaKeys||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(Bl=new Uint8Array([0]).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=nu,e.MediaKeys=iu,e.MediaKeySystemAccess=ru,navigator.requestMediaKeySystemAccess=tu)})),fu.prototype.createSession=function(){},fu.prototype.setServerCertificate=function(){},hu.prototype.getConfiguration=function(){},hu.prototype.createMediaKeys=function(){},Gl((function(){!e.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(navigator.requestMediaKeySystemAccess=cu,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=du,e.MediaKeys=fu,e.MediaKeySystemAccess=hu)}),-10);var pu,mu="";function gu(e){return mu?mu+e.charAt(0).toUpperCase()+e.slice(1):e}function yu(e,t){try{var r=new bu(e,t);return Promise.resolve(r)}catch(e){return Promise.reject(e)}}function vu(e){var t=this.mediaKeys;return t&&t!=e&&Au(t,null),delete this.mediaKeys,(this.mediaKeys=e)&&Au(e,this),Promise.resolve()}function bu(e,t){this.a=this.keySystem=e;var r=!1;"org.w3.clearkey"==e&&(this.a="webkit-org.w3.clearkey",r=!1);var n=!1,i=document.getElementsByTagName("video");i=i.length?i[0]:document.createElement("video");for(var o=0;o<t.length;++o){var a=t[o],s={audioCapabilities:[],videoCapabilities:[],persistentState:"optional",distinctiveIdentifier:"optional",initDataTypes:a.initDataTypes,sessionTypes:["temporary"],label:a.label},l=!1;if(a.audioCapabilities)for(var u=0;u<a.audioCapabilities.length;++u){var c=a.audioCapabilities[u];if(c.contentType){l=!0;var d=c.contentType.split(";")[0];i.canPlayType(d,this.a)&&(s.audioCapabilities.push(c),n=!0)}}if(a.videoCapabilities)for(u=0;u<a.videoCapabilities.length;++u)(c=a.videoCapabilities[u]).contentType&&(l=!0,i.canPlayType(c.contentType,this.a)&&(s.videoCapabilities.push(c),n=!0));if(l||(n=i.canPlayType("video/mp4",this.a)||i.canPlayType("video/webm",this.a)),"required"==a.persistentState&&(r?(s.persistentState="required",s.sessionTypes=["persistent-license"]):n=!1),n)return void(this.b=s)}throw r="Unsupported keySystem","org.w3.clearkey"!=e&&"com.widevine.alpha"!=e||(r="None of the requested configurations were supported."),(r=Error(r)).name="NotSupportedError",r.code=DOMException.NOT_SUPPORTED_ERR,r}function _u(e){this.g=e,this.b=null,this.a=new Be,this.c=[],this.f={}}function Au(e,t){e.b=t,e.a.$a();var r=mu;t&&(e.a.w(t,r+"needkey",e.Mf.bind(e)),e.a.w(t,r+"keymessage",e.rg.bind(e)),e.a.w(t,r+"keyadded",e.pg.bind(e)),e.a.w(t,r+"keyerror",e.qg.bind(e)))}function Eu(e,t){var r=e.f[t];return r||((r=e.c.shift())?(r.sessionId=t,e.f[t]=r):null)}function Tu(e,t,r){ke.call(this),this.f=e,this.h=!1,this.a=this.b=null,this.c=t,this.g=r,this.sessionId="",this.expiration=NaN,this.closed=new ge,this.keyStatuses=new ku}function Su(e,t,r){if(e.h)return Promise.reject(Error("The session is already initialized."));e.h=!0;try{if("persistent-license"==e.g)if(r)var n=new Uint8Array(ut("LOAD_SESSION|"+r));else{var i=ut("PERSISTENT|"),o=new Uint8Array(i.byteLength+t.byteLength);o.set(new Uint8Array(i),0),o.set(new Uint8Array(t),i.byteLength),n=o}else n=new Uint8Array(t)}catch(e){return Promise.reject(e)}e.b=new ge;var a=gu("generateKeyRequest");try{e.f[a](e.c,n)}catch(t){if("InvalidStateError"!=t.name)return e.b=null,Promise.reject(t);new fe((function(){try{e.f[a](e.c,n)}catch(t){e.b.reject(t),e.b=null}})).R(.01)}return e.b}function wu(e,t){var r=e.keyStatuses;r.size=null==t?0:1,r.a=t,e.dispatchEvent(new Se("keystatuseschange"))}function ku(){this.size=0,this.a=void 0}function Cu(e){if("picture-in-picture"==(e=e.target).webkitPresentationMode){document.pictureInPictureElement=e;var t=new Event("enterpictureinpicture");e.dispatchEvent(t)}else document.pictureInPictureElement==e&&(document.pictureInPictureElement=null),t=new Event("leavepictureinpicture"),e.dispatchEvent(t)}function xu(){return this.webkitSupportsPresentationMode("picture-in-picture")?(this.webkitSetPresentationMode("picture-in-picture"),document.pictureInPictureElement=this,Promise.resolve()):Promise.reject(Error("PiP not allowed by video element"))}function Ru(){var e=document.pictureInPictureElement;return e?(e.webkitSetPresentationMode("inline"),document.pictureInPictureElement=null,Promise.resolve()):Promise.reject(Error("No picture in picture element found"))}function Lu(){return!!this.hasAttribute("disablePictureInPicture")||!this.webkitSupportsPresentationMode("picture-in-picture")}function ju(e){e?this.setAttribute("disablePictureInPicture",""):this.removeAttribute("disablePictureInPicture")}function Pu(){return{droppedVideoFrames:this.webkitDroppedFrameCount,totalVideoFrames:this.webkitDecodedFrameCount,corruptedVideoFrames:0,creationTime:NaN,totalFrameDelay:0}}function Iu(t,r,n){return new e.TextTrackCue(t,r,n)}function Ou(t,r,n){return new e.TextTrackCue(t+"-"+r+"-"+n,t,r,n)}function Du(){}bu.prototype.createMediaKeys=function(){var e=new _u(this.a);return Promise.resolve(e)},bu.prototype.getConfiguration=function(){return this.b},(n=_u.prototype).createSession=function(e){if("temporary"!=(e=e||"temporary")&&"persistent-license"!=e)throw new TypeError("Session type "+e+" is unsupported on this platform.");var t=this.b||document.createElement("video");return t.src||(t.src="about:blank"),e=new Tu(t,this.g,e),this.c.push(e),e},n.setServerCertificate=function(){return Promise.resolve(!1)},n.Mf=function(e){var t=document.createEvent("CustomEvent");t.initCustomEvent("encrypted",!1,!1,null),t.initDataType="webm",t.initData=e.initData,this.b.dispatchEvent(t)},n.rg=function(e){var t=Eu(this,e.sessionId);t&&(e=new Se("message",{messageType:null==t.keyStatuses.a?"licenserequest":"licenserenewal",message:e.message}),t.b&&(t.b.resolve(),t.b=null),t.dispatchEvent(e))},n.pg=function(e){(e=Eu(this,e.sessionId))&&(wu(e,"usable"),e.a&&e.a.resolve(),e.a=null)},n.qg=function(e){var t=Eu(this,e.sessionId);t&&t.handleError(e)},V(Tu,ke),(n=Tu.prototype).handleError=function(e){var t=Error("EME v0.1b key error");t.errorCode=e.errorCode,t.errorCode.systemCode=e.systemCode,!e.sessionId&&this.b?(t.method="generateRequest",45==e.systemCode&&(t.message="Unsupported session type."),this.b.reject(t),this.b=null):e.sessionId&&this.a?(t.method="update",this.a.reject(t),this.a=null):(t=e.systemCode,e.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?wu(this,"output-restricted"):wu(this,1==t?"expired":"internal-error"))},n.yd=function(e,t){if(this.a)this.a.then(this.yd.bind(this,e,t)).catch(this.yd.bind(this,e,t));else{if(this.a=e,"webkit-org.w3.clearkey"==this.c){var r=at(t),n=JSON.parse(r);"oct"!=n.keys[0].kty&&(this.a.reject(Error("Response is not a valid JSON Web Key Set.")),this.a=null),r=ht.Ba(n.keys[0].k),n=ht.Ba(n.keys[0].kid)}else r=new Uint8Array(t),n=null;var i=gu("addKey");try{this.f[i](this.c,r,n,this.sessionId)}catch(e){this.a.reject(e),this.a=null}}},n.generateRequest=function(e,t){return Su(this,t,null)},n.load=function(e){return"persistent-license"==this.g?Su(this,null,e):Promise.reject(Error("Not a persistent session."))},n.update=function(e){var t=new ge;return this.yd(t,e),t},n.close=function(){if("persistent-license"!=this.g){if(!this.sessionId)return this.closed.reject(Error("The session is not callable.")),this.closed;var e=gu("cancelKeyRequest");try{this.f[e](this.c,this.sessionId)}catch(e){}}return this.closed.resolve(),this.closed},n.remove=function(){return"persistent-license"!=this.g?Promise.reject(Error("Not a persistent session.")):this.close()},(n=ku.prototype).forEach=function(e){this.a&&e(this.a,pu)},n.get=function(e){if(this.has(e))return this.a},n.has=function(e){var t=pu;return!(!this.a||!ht.za(new Uint8Array(e),new Uint8Array(t)))},n.entries=function(){},n.keys=function(){},n.values=function(){},Gl((function(){if(!(!e.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration)){if(HTMLMediaElement.prototype.webkitGenerateKeyRequest)mu="webkit";else if(!HTMLMediaElement.prototype.generateKeyRequest)return;pu=new Uint8Array([0]).buffer,navigator.requestMediaKeySystemAccess=yu,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=vu,e.MediaKeys=_u,e.MediaKeySystemAccess=bu}})),Gl((function(){if(e.HTMLVideoElement){var t=HTMLVideoElement.prototype;t.requestPictureInPicture&&document.exitPictureInPicture||!t.webkitSupportsPresentationMode||(document.pictureInPictureEnabled=!0,document.pictureInPictureElement=null,t.requestPictureInPicture=xu,Object.defineProperty(t,"disablePictureInPicture",{get:Lu,set:ju,enumerable:!0,configurable:!0}),document.exitPictureInPicture=Ru,document.addEventListener("webkitpresentationmodechanged",Cu,!0))}})),Gl((function(){if(e.HTMLMediaElement){var t=HTMLMediaElement.prototype.play;HTMLMediaElement.prototype.play=function(){var e=t.apply(this);return e&&e.catch((function(){})),e}}})),Gl((function(){if(e.HTMLVideoElement){var t=HTMLVideoElement.prototype;!t.getVideoPlaybackQuality&&"webkitDroppedFrameCount"in t&&(t.getVideoPlaybackQuality=Pu)}})),Gl((function(){if(!e.VTTCue&&e.TextTrackCue){var t=TextTrackCue.length;if(3==t)e.VTTCue=Iu;else if(6==t)e.VTTCue=Ou;else{try{var r=!!Iu(1,2,"")}catch(e){r=!1}r&&(e.VTTCue=Iu)}}})),G("shaka.text.TtmlTextParser",Du),Du.prototype.parseInit=function(){},Du.prototype.parseInit=Du.prototype.parseInit,Du.prototype.parseMedia=function(e,t){var r=at(e),n=[],i=new DOMParser,o=null;if(""==r)return n;try{o=i.parseFromString(r,"text/xml")}catch(e){throw new me(2,2,2005,"Failed to parse TTML.")}if(o){if(r=o.getElementsByTagName("parsererror")[0])throw new me(2,2,2005,r.textContent);if(!(i=o.getElementsByTagName("tt")[0]))throw new me(2,2,2005,"TTML does not contain <tt> tag.");var a=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","frameRate"),s=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","subFrameRate"),l=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","frameRateMultiplier"),u=Bn.getAttributeNS(i,"http://www.w3.org/ns/ttml#parameter","tickRate");if(o=i.getAttribute("xml:space")||"default",r=i.getAttribute("tts:extent"),"default"!=o&&"preserve"!=o)throw new me(2,2,2005,"Invalid xml:space value: "+o);o="default"==o,a=new ic(a,s,l,u),s=qu(i.getElementsByTagName("metadata")[0]),l=qu(i.getElementsByTagName("styling")[0]),u=qu(i.getElementsByTagName("layout")[0]);for(var c=[],d=0;d<u.length;d++){var h,p,m=u[d],g=l,y=r,v=new ur,b=m.getAttribute("xml:id");b?(v.id=b,b=null,y&&(b=Fu.exec(y)||Bu.exec(y)),y=b?Number(b[1]):null,b=b?Number(b[2]):null,(h=Qu(m,g,"extent"))&&null!=(h=(p=Fu.exec(h))||Bu.exec(h))&&(v.width=null!=y?100*Number(h[1])/y:Number(h[1]),v.height=null!=b?100*Number(h[2])/b:Number(h[2]),v.widthUnits=p||null!=y?cr:0,v.heightUnits=p||null!=b?cr:0),(m=Qu(m,g,"origin"))&&null!=(h=(p=Fu.exec(m))||Bu.exec(m))&&(v.viewportAnchorX=null!=b?100*Number(h[1])/b:Number(h[1]),v.viewportAnchorY=null!=y?100*Number(h[2])/y:Number(h[2]),v.viewportAnchorUnits=p||null!=y?cr:0)):v=null,v&&c.push(v)}for(r=(r=i.getElementsByTagName("body")[0])?Array.from(r.querySelectorAll("[begin]")):[],i=(r=f(r)).next();!i.done;i=r.next())(i=Xu(i.value,t.periodStart,a,s,l,u,c,o,!1))&&n.push(i)}return n},Du.prototype.parseMedia=Du.prototype.parseMedia;var Mu,Nu,Fu=/^(\d{1,2}(?:\.\d+)?|100)% (\d{1,2}(?:\.\d+)?|100)%$/,Uu=/^(\d+px|\d+em)$/,Bu=/^(\d+)px (\d+)px$/,Ku=/^(\d{2,}):(\d{2}):(\d{2}):(\d{2})\.?(\d+)?$/,Gu=/^(?:(\d{2,}):)?(\d{2}):(\d{2})$/,Vu=/^(?:(\d{2,}):)?(\d{2}):(\d{2}\.\d{2,})$/,Hu=/^(\d*(?:\.\d*)?)f$/,Yu=/^(\d*(?:\.\d*)?)t$/,zu=/^(?:(\d*(?:\.\d*)?)h)?(?:(\d*(?:\.\d*)?)m)?(?:(\d*(?:\.\d*)?)s)?(?:(\d*(?:\.\d*)?)ms)?$/,Wu={left:ir,center:"center",right:"end",start:ir,end:"end"},$u={left:"line-left",center:"center",right:"line-right"};function qu(e){var t=[];if(!e)return t;for(var r=f(e.childNodes),n=r.next();!n.done;n=r.next())(n=n.value).nodeType==Node.ELEMENT_NODE&&"br"!==n.nodeName&&(n=qu(n),t=t.concat(n));return t.length||t.push(e),t}function Xu(e,t,r,n,i,o,a,s,l){if(l&&"br"==e.nodeName)return(e=new qt(0,0,"")).spacer=!0,e;var u=/^[\s\n]*$/.test(e.textContent),c=e.nodeType==Node.ELEMENT_NODE&&!e.hasAttribute("begin")&&!e.hasAttribute("end");if(e.nodeType!=Node.ELEMENT_NODE||c&&u||c&&!l)return null;u=rc(e.getAttribute("begin"),r),c=rc(e.getAttribute("end"),r);var d=rc(e.getAttribute("dur"),r);if(null==c&&null!=d&&(c=u+d),!l&&(null==u||null==c))throw new me(2,2,2001);if(u+=t,c+=t,d="",l=[],Array.from(e.childNodes).find((function(e){return e.nodeType===Node.TEXT_NODE&&/\w+/.test(e.textContent)})))d=function e(t,r){for(var n="",i=f(t.childNodes),o=i.next();!o.done;o=i.next())"br"==(o=o.value).nodeName&&t.childNodes[0]!==o?n+="\n":o.childNodes&&0<o.childNodes.length?n+=e(o,r):n+=r?o=(o=o.textContent.trim()).replace(/\s+/g," "):o.textContent;return n}(e,s);else for(var h=f(e.childNodes),p=h.next();!p.done;p=h.next())(p=Xu(p.value,t,r,n,i,o,a,s,!0))&&l.push(p);if((t=new qt(u,c,d)).nestedCues=l,(o=tc(e,"region",o,"")[0])&&o.getAttribute("xml:id")){var m=o.getAttribute("xml:id");t.region=a.filter((function(e){return e.id==m}))[0]}return function(e,t,r,n,i){"rtl"==Zu(t,r,i,"direction")&&(e.direction="rtl");var o=Zu(t,r,i,"writingMode");if("tb"==o||"tblr"==o?e.writingMode="vertical-lr":"tbrl"==o?e.writingMode="vertical-rl":"rltb"==o||"rl"==o?e.direction="rtl":o&&(e.direction=tr),(o=Zu(t,r,i,"textAlign"))?(e.positionAlign=$u[o],e.lineAlign=Wu[o],e.textAlign=Zt[o.toUpperCase()]):e.textAlign="start",(o=Zu(t,r,i,"displayAlign"))&&(e.displayAlign=er[o.toUpperCase()]),(o=Zu(t,r,i,"color"))&&(e.color=o),(o=Zu(t,r,i,"backgroundColor"))&&(e.backgroundColor=o),(o=Zu(t,r,i,"fontFamily"))&&(e.fontFamily=o),(o=Zu(t,r,i,"fontWeight"))&&"bold"==o&&(e.fontWeight=700),(o=Zu(t,r,i,"wrapOption"))&&"noWrap"==o&&(e.wrapLine=!1),(o=Zu(t,r,i,"lineHeight"))&&o.match(Uu)&&(e.lineHeight=o),(o=Zu(t,r,i,"fontSize"))&&o.match(Uu)&&(e.fontSize=o),(o=Zu(t,r,i,"fontStyle"))&&(e.fontStyle=lr[o.toUpperCase()]),n){o=n.getAttribute("imagetype");var a=n.getAttribute("encoding");n=n.textContent.trim(),"PNG"==o&&"Base64"==a&&n&&(e.backgroundImage="data:image/png;base64,"+n)}(r=Qu(r,i,"textDecoration"))&&Ju(e,r),(t=ec(t,i,"textDecoration"))&&Ju(e,t)}(t,e,o,n=tc(e,"smpte:backgroundImage",n,"#")[0],i),t}function Ju(e,t){for(var r=t.split(" "),n=0;n<r.length;n++)switch(r[n]){case"underline":e.textDecoration.includes("underline")||e.textDecoration.push("underline");break;case"noUnderline":e.textDecoration.includes("underline")&&Re(e.textDecoration,"underline");break;case"lineThrough":e.textDecoration.includes("lineThrough")||e.textDecoration.push("lineThrough");break;case"noLineThrough":e.textDecoration.includes("lineThrough")&&Re(e.textDecoration,"lineThrough");break;case"overline":e.textDecoration.includes("overline")||e.textDecoration.push("overline");break;case"noOverline":e.textDecoration.includes("overline")&&Re(e.textDecoration,"overline")}}function Zu(e,t,r,n){return(e=ec(e,r,n))?e:Qu(t,r,n)}function Qu(e,t,r){for(var n=qu(e),i=0;i<n.length;i++){var o=Bn.getAttributeNS(n[i],"http://www.w3.org/ns/ttml#styling",r);if(o)return o}return(e=tc(e,"style",t,"")[0])?Bn.getAttributeNS(e,"http://www.w3.org/ns/ttml#styling",r):null}function ec(e,t,r){var n=Bn.getAttributeNS(e,"http://www.w3.org/ns/ttml#styling",r);if(n)return n;for(e=tc(e,"style",t,""),t=null,n=0;n<e.length;n++){var i=Bn.getAttributeNS(e[n],"http://www.w3.org/ns/ttml#styling",r);i&&(t=i)}return t}function tc(e,t,r,n){var i=[];if(!e||1>r.length)return i;var o=e;for(e=null;o&&!(e=o.getAttribute(t))&&(o=o.parentNode)instanceof Element;);if(t=e)for(e=(t=f(t=t.split(" "))).next();!e.done;e=t.next()){e=e.value;for(var a=(o=f(r)).next();!a.done;a=o.next())if(n+(a=a.value).getAttribute("xml:id")==e){i.push(a);break}}return i}function rc(e,t){var r=null;if(Ku.test(e)){r=Ku.exec(e);var n=Number(r[1]),i=Number(r[2]),o=Number(r[3]),a=Number(r[4]);r=(o+=(a+=(Number(r[5])||0)/t.b)/t.frameRate)+60*i+3600*n}else Gu.test(e)?r=nc(Gu,e):Vu.test(e)?r=nc(Vu,e):Hu.test(e)?(r=Hu.exec(e),r=Number(r[1])/t.frameRate):Yu.test(e)?(r=Yu.exec(e),r=Number(r[1])/t.a):zu.test(e)&&(r=nc(zu,e));return r}function nc(e,t){var r=e.exec(t);return null==r||""==r[0]?null:(Number(r[4])||0)/1e3+(Number(r[3])||0)+60*(Number(r[2])||0)+3600*(Number(r[1])||0)}function ic(e,t,r,n){this.frameRate=Number(e)||30,this.b=Number(t)||1,this.a=Number(n),0==this.a&&(this.a=e?this.frameRate*this.b:1),r&&(e=/^(\d+) (\d+)$/g.exec(r))&&(this.frameRate*=Number(e[1])/Number(e[2]))}function oc(){this.a=new Du}function ac(){}function sc(e,t,r){var n;(n=/^align:(start|middle|center|end|left|right)$/.exec(t))?(t=n[1],e.textAlign="middle"==t?Jt:Zt[t.toUpperCase()]):(n=/^vertical:(lr|rl)$/.exec(t))?e.writingMode="lr"==n[1]?"vertical-lr":"vertical-rl":(n=/^size:([\d.]+)%$/.exec(t))?e.size=Number(n[1]):(n=/^position:([\d.]+)%(?:,(line-left|line-right|center|start|end))?$/.exec(t))?(e.position=Number(n[1]),n[2]&&(t=n[2],e.positionAlign="line-left"==t||"start"==t?"line-left":"line-right"==t||"end"==t?"line-right":"center")):(n=/^region:(.*)$/.exec(t))?(t=function(e,t){var r=e.filter((function(e){return e.id==t}));return r.length?r[0]:null}(r,n[1]))&&(e.region=t):(r=/^line:([\d.]+)%(?:,(start|end|center))?$/.exec(t))?(e.lineInterpretation=1,e.line=Number(r[1]),r[2]&&(e.lineAlign=or[r[2].toUpperCase()])):(r=/^line:(-?\d+)(?:,(start|end|center))?$/.exec(t))&&(e.lineInterpretation=nr,e.line=Number(r[1]),r[2]&&(e.lineAlign=or[r[2].toUpperCase()]))}function lc(e){if(null==(e=Mi(e,/(?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3})/g)))return null;var t=Number(e[2]),r=Number(e[3]);return 59<t||59<r?null:Number(e[4])/1e3+r+60*t+3600*(Number(e[1])||0)}function uc(){this.a=null}function cc(e,t,r){var n,i,o;return(new In).H("payl",Mn((function(e){n=at(e)}))).H("iden",Mn((function(e){i=at(e)}))).H("sttg",Mn((function(e){o=at(e)}))).parse(e),n?function(e,t,r,n,i){if(e=new qt(n,i,e),t&&(e.id=t),r)for(t=new Oi(r),r=Ni(t);r;)sc(e,r,[]),Di(t),r=Ni(t);return e}(n,i,o,t,r):null}
/*
@license
EME Encryption Scheme Polyfill
Copyright 2019 Google LLC
SPDX-License-Identifier: Apache-2.0
*/
-function dc(){}function fc(){Mu?console.debug("EmeEncryptionSchemePolyfill: Already installed."):navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration?(Mu=navigator.requestMediaKeySystemAccess,console.debug("EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.requestMediaKeySystemAccess=hc):console.debug("EmeEncryptionSchemePolyfill: EME not found")}function hc(e,t){var r=this;return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return console.assert(r==navigator,'bad "this" for requestMediaKeySystemAccess'),S(n,Mu.call(r,e,t),2);case 2:return Ec(i=n.o)?(console.debug("EmeEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.requestMediaKeySystemAccess=Mu,n.return(i)):(console.debug("EmeEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support."),navigator.requestMediaKeySystemAccess=pc,n.return(pc.call(r,e,t)))}}))}))}function pc(e,t){var r=this;return p((function n(){var i,o,a,s,l,u,c,d;return M(n,(function(n){switch(n.j){case 1:console.assert(r==navigator,'bad "this" for requestMediaKeySystemAccess'),i=Ac(e),o=[];for(var h=f(t),p=h.next();!p.done;p=h.next())a=p.value,s=mc(a.videoCapabilities,i),l=mc(a.audioCapabilities,i),a.videoCapabilities&&a.videoCapabilities.length&&!s.length||a.audioCapabilities&&a.audioCapabilities.length&&!l.length||((u=Object.assign({},a)).videoCapabilities=s,u.audioCapabilities=l,o.push(u));if(!o.length)throw(c=Error("Unsupported keySystem or supportedConfigurations.")).name="NotSupportedError",c.code=DOMException.NOT_SUPPORTED_ERR,c;return S(n,Mu.call(r,e,o),2);case 2:return d=n.o,n.return(new _c(d,i))}}))}))}function mc(e,t){return e?e.filter((function(e){return!e.encryptionScheme||e.encryptionScheme==t})):e}function gc(){}function yc(){navigator.mediaCapabilities?(Nu=navigator.mediaCapabilities.decodingInfo,console.debug("McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.mediaCapabilities.decodingInfo=vc):console.debug("McEncryptionSchemePolyfill: MediaCapabilities not found")}function vc(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return console.assert(t==navigator.mediaCapabilities,'bad "this" for decodingInfo'),S(r,Nu.call(t,e),2);case 2:return n=r.o,e.keySystemConfiguration?Ec(n.keySystemAccess)?(console.debug("McEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.mediaCapabilities.decodingInfo=Nu,r.return(n)):(console.debug("McEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support."),navigator.mediaCapabilities.decodingInfo=bc,r.return(bc.call(t,e))):r.return(n)}}))}))}function bc(e){var t=this;return p((function r(){var n,i,o,a,s,l,u;return M(r,(function(r){switch(r.j){case 1:return console.assert(t==navigator.mediaCapabilities,'bad "this" for decodingInfo'),n=null,e.keySystemConfiguration&&(i=e.keySystemConfiguration,o=i.keySystem,a=i.audio&&i.audio.encryptionScheme,s=i.video&&i.video.encryptionScheme,n=Ac(o),l={powerEfficient:!1,smooth:!1,supported:!1,keySystemAccess:null,configuration:e},a&&a!=n||s&&s!=n)?r.return(l):S(r,Nu.call(t,e),2);case 2:return(u=r.o).keySystemAccess&&(u.keySystemAccess=new _c(u.keySystemAccess,n)),r.return(u)}}))}))}function _c(e,t){this.b=e,this.a=t,this.keySystem=e.keySystem}function Ac(e){return e.startsWith("com.widevine")||e.startsWith("com.microsoft")||e.startsWith("com.adobe")||e.startsWith("org.w3")?"cenc":e.startsWith("com.apple")?"cbcs-1-9":(console.warn("EmeEncryptionSchemePolyfill: Unknown key system:",e,"Please contribute!"),null)}function Ec(e){var t=(e=e.getConfiguration()).audioCapabilities&&e.audioCapabilities[0];return!(!(e=e.videoCapabilities&&e.videoCapabilities[0]||t)||void 0===e.encryptionScheme)}function Tc(){}function Sc(){fc(),yc()}hr["application/ttml+xml"]=Du,G("shaka.text.Mp4TtmlParser",oc),oc.prototype.parseInit=function(e){var t=!1;if((new In).H("moov",On).H("trak",On).H("mdia",On).H("minf",On).H("stbl",On).fa("stsd",Dn).H("stpp",(function(e){t=!0,e.parser.stop()})).parse(e),!t)throw new me(2,2,2007)},oc.prototype.parseInit=oc.prototype.parseInit,oc.prototype.parseMedia=function(e,t){var r=!1,n=[];if((new In).H("mdat",Mn(function(e){r=!0,n=n.concat(this.a.parseMedia(e,t))}.bind(this))).parse(e),!r)throw new me(2,2,2007);return n},oc.prototype.parseMedia=oc.prototype.parseMedia,hr['application/mp4; codecs="stpp"']=oc,hr['application/mp4; codecs="stpp.ttml.im1t"']=oc,hr['application/mp4; codecs="stpp.TTML.im1t"']=oc,G("shaka.text.VttTextParser",ac),ac.prototype.parseInit=function(){},ac.prototype.parseInit=ac.prototype.parseInit,ac.prototype.parseMedia=function(e,t){var r=at(e);if(r=(r=r.replace(/\r\n|\r(?=[^\n]|$)/gm,"\n")).split(/\n{2,}/m),!/^WEBVTT($|[ \t\n])/m.test(r[0]))throw new me(2,2,2e3);var n=t.segmentStart;if(null==n&&(n=0,r[0].includes("X-TIMESTAMP-MAP"))){var i=r[0].match(/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m),o=r[0].match(/MPEGTS:(\d+)/m);if(i&&o){if(null==(n=lc(new Oi(i[1]))))throw new me(2,2,2e3);n=t.periodStart+(Number(o[1])/9e4-n)}}o=[];var a=r[0].split("\n");for(i=1;i<a.length;i++)if(/^Region:/.test(a[i])){var s=new Oi(a[i]),l=new ur;Ni(s),Di(s);for(var u=Ni(s);u;){var c=l,d=u;(u=/^id=(.*)$/.exec(d))?c.id=u[1]:(u=/^width=(\d{1,2}|100)%$/.exec(d))?c.width=Number(u[1]):(u=/^lines=(\d+)$/.exec(d))?(c.height=Number(u[1]),c.heightUnits=2):(u=/^regionanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(d))?(c.regionAnchorX=Number(u[1]),c.regionAnchorY=Number(u[2])):(u=/^viewportanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(d))?(c.viewportAnchorX=Number(u[1]),c.viewportAnchorY=Number(u[2])):/^scroll=up$/.exec(d)&&(c.scroll="up"),Di(s),u=Ni(s)}o.push(l)}for(i=[],s=1;s<r.length;s++){if(u=a=r[s].split("\n"),d=n,a=o,1==u.length&&!u[0]||/^NOTE($|[ \t])/.test(u[0])||"STYLE"==u[0])a=null;else{l=null,u[0].includes("--\x3e")||(l=u[0],u.splice(0,1));var f=lc(c=new Oi(u[0])),h=Mi(c,/[ \t]+--\x3e[ \t]+/g),p=lc(c);if(null==f||null==h||null==p)throw new me(2,2,2001);for(u=new qt(f+d,p+d,u.slice(1).join("\n").trim()),Di(c),d=Ni(c);d;)sc(u,d,a),Di(c),d=Ni(c);null!=l&&(u.id=l),a=u}a&&i.push(a)}return i},ac.prototype.parseMedia=ac.prototype.parseMedia,hr["text/vtt"]=ac,hr['text/vtt; codecs="vtt"']=ac,G("shaka.text.Mp4VttParser",uc),uc.prototype.parseInit=function(e){var t=!1;if((new In).H("moov",On).H("trak",On).H("mdia",On).fa("mdhd",function(e){0==e.version?(e.reader.M(4),e.reader.M(4),this.a=e.reader.G(),e.reader.M(4)):(e.reader.M(8),e.reader.M(8),this.a=e.reader.G(),e.reader.M(8)),e.reader.M(4)}.bind(this)).H("minf",On).H("stbl",On).fa("stsd",Dn).H("wvtt",(function(){t=!0})).parse(e),!this.a)throw new me(2,2,2008);if(!t)throw new me(2,2,2008)},uc.prototype.parseInit=uc.prototype.parseInit,uc.prototype.parseMedia=function(e,t){var r=this;if(!this.a)throw new me(2,2,2008);var n,i=0,o=[],a=[],s=!1,l=!1,u=!1,c=null;if((new In).H("moof",On).H("traf",On).fa("tfdt",(function(e){s=!0,i=0==e.version?e.reader.G():e.reader.Bb()})).fa("tfhd",(function(e){var t=e.flags;(e=e.reader).M(4),1&t&&e.M(8),2&t&&e.M(4),c=8&t?e.G():null})).fa("trun",(function(e){l=!0;var t=e.version,r=e.flags,n=(e=e.reader).G();1&r&&e.M(4),4&r&&e.M(4);for(var i=[],a=0;a<n;a++){var s={duration:null,sampleSize:null,Ad:null};256&r&&(s.duration=e.G()),512&r&&(s.sampleSize=e.G()),1024&r&&e.M(4),2048&r&&(s.Ad=0==t?e.G():e.ke()),i.push(s)}o=i})).H("mdat",Mn((function(e){u=!0,n=e}))).parse(e),!u&&!s&&!l)throw new me(2,2,2008);var d=i,f=new Ln(new DataView(n.buffer,n.byteOffset,n.byteLength),0);return o.forEach((function(e){var n=e.duration||c,o=e.Ad?i+e.Ad:d;d=o+(n||0);var s=0;do{var l=f.G();s+=l;var u=null;"vttc"==Un(f.G())?8<l&&(u=f.Za(l-8)):f.M(l-8),n&&u&&a.push(cc(u,t.periodStart+o/r.a,t.periodStart+d/r.a))}while(e.sampleSize&&s<e.sampleSize)})),a.filter(Gt.Ia)},uc.prototype.parseMedia=uc.prototype.parseMedia,hr['application/mp4; codecs="wvtt"']=uc,G("shaka.util.Dom.createHTMLElement",(function(e){return document.createElement(e)})),G("shaka.util.Dom.createVideoElement",(function(){var e=document.createElement("video");return e.muted=!0,e.width=600,e.height=400,e})),G("shaka.util.Dom.asHTMLElement",(function(e){return e})),G("shaka.util.Dom.asHTMLMediaElement",(function(e){return e})),G("shaka.util.Dom.removeAllChildren",(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)})),G("EmeEncryptionSchemePolyfill",dc),dc.install=fc,G("McEncryptionSchemePolyfill",gc),gc.install=yc,_c.prototype.getConfiguration=function(){var e=this.b.getConfiguration();if(e.videoCapabilities)for(var t=f(e.videoCapabilities),r=t.next();!r.done;r=t.next())r.value.encryptionScheme=this.a;if(e.audioCapabilities)for(r=(t=f(e.audioCapabilities)).next();!r.done;r=t.next())r.value.encryptionScheme=this.a;return e},_c.prototype.createMediaKeys=function(){return this.b.createMediaKeys()},G("EncryptionSchemePolyfills",Tc),Tc.install=Sc,r.Ne&&(r.Ne=Tc)}.call(i,n,n),i.shaka)t[o]=i.shaka[o]}()}).call(this,r(/*! ./../../webpack/buildin/global.js */"./node_modules/webpack/buildin/global.js"),r(/*! ./../../webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./node_modules/webpack/buildin/global.js":
+function dc(){}function fc(){Mu?console.debug("EmeEncryptionSchemePolyfill: Already installed."):navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration?(Mu=navigator.requestMediaKeySystemAccess,console.debug("EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.requestMediaKeySystemAccess=hc):console.debug("EmeEncryptionSchemePolyfill: EME not found")}function hc(e,t){var r=this;return p((function n(){var i;return M(n,(function(n){switch(n.j){case 1:return console.assert(r==navigator,'bad "this" for requestMediaKeySystemAccess'),S(n,Mu.call(r,e,t),2);case 2:return Ec(i=n.o)?(console.debug("EmeEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.requestMediaKeySystemAccess=Mu,n.return(i)):(console.debug("EmeEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support."),navigator.requestMediaKeySystemAccess=pc,n.return(pc.call(r,e,t)))}}))}))}function pc(e,t){var r=this;return p((function n(){var i,o,a,s,l,u,c,d;return M(n,(function(n){switch(n.j){case 1:console.assert(r==navigator,'bad "this" for requestMediaKeySystemAccess'),i=Ac(e),o=[];for(var h=f(t),p=h.next();!p.done;p=h.next())a=p.value,s=mc(a.videoCapabilities,i),l=mc(a.audioCapabilities,i),a.videoCapabilities&&a.videoCapabilities.length&&!s.length||a.audioCapabilities&&a.audioCapabilities.length&&!l.length||((u=Object.assign({},a)).videoCapabilities=s,u.audioCapabilities=l,o.push(u));if(!o.length)throw(c=Error("Unsupported keySystem or supportedConfigurations.")).name="NotSupportedError",c.code=DOMException.NOT_SUPPORTED_ERR,c;return S(n,Mu.call(r,e,o),2);case 2:return d=n.o,n.return(new _c(d,i))}}))}))}function mc(e,t){return e?e.filter((function(e){return!e.encryptionScheme||e.encryptionScheme==t})):e}function gc(){}function yc(){navigator.mediaCapabilities?(Nu=navigator.mediaCapabilities.decodingInfo,console.debug("McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support."),navigator.mediaCapabilities.decodingInfo=vc):console.debug("McEncryptionSchemePolyfill: MediaCapabilities not found")}function vc(e){var t=this;return p((function r(){var n;return M(r,(function(r){switch(r.j){case 1:return console.assert(t==navigator.mediaCapabilities,'bad "this" for decodingInfo'),S(r,Nu.call(t,e),2);case 2:return n=r.o,e.keySystemConfiguration?Ec(n.keySystemAccess)?(console.debug("McEncryptionSchemePolyfill: Native encryptionScheme support found."),navigator.mediaCapabilities.decodingInfo=Nu,r.return(n)):(console.debug("McEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support."),navigator.mediaCapabilities.decodingInfo=bc,r.return(bc.call(t,e))):r.return(n)}}))}))}function bc(e){var t=this;return p((function r(){var n,i,o,a,s,l,u;return M(r,(function(r){switch(r.j){case 1:return console.assert(t==navigator.mediaCapabilities,'bad "this" for decodingInfo'),n=null,e.keySystemConfiguration&&(i=e.keySystemConfiguration,o=i.keySystem,a=i.audio&&i.audio.encryptionScheme,s=i.video&&i.video.encryptionScheme,n=Ac(o),l={powerEfficient:!1,smooth:!1,supported:!1,keySystemAccess:null,configuration:e},a&&a!=n||s&&s!=n)?r.return(l):S(r,Nu.call(t,e),2);case 2:return(u=r.o).keySystemAccess&&(u.keySystemAccess=new _c(u.keySystemAccess,n)),r.return(u)}}))}))}function _c(e,t){this.b=e,this.a=t,this.keySystem=e.keySystem}function Ac(e){return e.startsWith("com.widevine")||e.startsWith("com.microsoft")||e.startsWith("com.adobe")||e.startsWith("org.w3")?"cenc":e.startsWith("com.apple")?"cbcs-1-9":(console.warn("EmeEncryptionSchemePolyfill: Unknown key system:",e,"Please contribute!"),null)}function Ec(e){var t=(e=e.getConfiguration()).audioCapabilities&&e.audioCapabilities[0];return!(!(e=e.videoCapabilities&&e.videoCapabilities[0]||t)||void 0===e.encryptionScheme)}function Tc(){}function Sc(){fc(),yc()}hr["application/ttml+xml"]=Du,G("shaka.text.Mp4TtmlParser",oc),oc.prototype.parseInit=function(e){var t=!1;if((new In).H("moov",On).H("trak",On).H("mdia",On).H("minf",On).H("stbl",On).fa("stsd",Dn).H("stpp",(function(e){t=!0,e.parser.stop()})).parse(e),!t)throw new me(2,2,2007)},oc.prototype.parseInit=oc.prototype.parseInit,oc.prototype.parseMedia=function(e,t){var r=!1,n=[];if((new In).H("mdat",Mn(function(e){r=!0,n=n.concat(this.a.parseMedia(e,t))}.bind(this))).parse(e),!r)throw new me(2,2,2007);return n},oc.prototype.parseMedia=oc.prototype.parseMedia,hr['application/mp4; codecs="stpp"']=oc,hr['application/mp4; codecs="stpp.ttml.im1t"']=oc,hr['application/mp4; codecs="stpp.TTML.im1t"']=oc,G("shaka.text.VttTextParser",ac),ac.prototype.parseInit=function(){},ac.prototype.parseInit=ac.prototype.parseInit,ac.prototype.parseMedia=function(e,t){var r=at(e);if(r=(r=r.replace(/\r\n|\r(?=[^\n]|$)/gm,"\n")).split(/\n{2,}/m),!/^WEBVTT($|[ \t\n])/m.test(r[0]))throw new me(2,2,2e3);var n=t.segmentStart;if(null==n&&(n=0,r[0].includes("X-TIMESTAMP-MAP"))){var i=r[0].match(/LOCAL:((?:(\d{1,}):)?(\d{2}):(\d{2})\.(\d{3}))/m),o=r[0].match(/MPEGTS:(\d+)/m);if(i&&o){if(null==(n=lc(new Oi(i[1]))))throw new me(2,2,2e3);n=t.periodStart+(Number(o[1])/9e4-n)}}o=[];var a=r[0].split("\n");for(i=1;i<a.length;i++)if(/^Region:/.test(a[i])){var s=new Oi(a[i]),l=new ur;Ni(s),Di(s);for(var u=Ni(s);u;){var c=l,d=u;(u=/^id=(.*)$/.exec(d))?c.id=u[1]:(u=/^width=(\d{1,2}|100)%$/.exec(d))?c.width=Number(u[1]):(u=/^lines=(\d+)$/.exec(d))?(c.height=Number(u[1]),c.heightUnits=2):(u=/^regionanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(d))?(c.regionAnchorX=Number(u[1]),c.regionAnchorY=Number(u[2])):(u=/^viewportanchor=(\d{1,2}|100)%,(\d{1,2}|100)%$/.exec(d))?(c.viewportAnchorX=Number(u[1]),c.viewportAnchorY=Number(u[2])):/^scroll=up$/.exec(d)&&(c.scroll="up"),Di(s),u=Ni(s)}o.push(l)}for(i=[],s=1;s<r.length;s++){if(u=a=r[s].split("\n"),d=n,a=o,1==u.length&&!u[0]||/^NOTE($|[ \t])/.test(u[0])||"STYLE"==u[0])a=null;else{l=null,u[0].includes("--\x3e")||(l=u[0],u.splice(0,1));var f=lc(c=new Oi(u[0])),h=Mi(c,/[ \t]+--\x3e[ \t]+/g),p=lc(c);if(null==f||null==h||null==p)throw new me(2,2,2001);for(u=new qt(f+d,p+d,u.slice(1).join("\n").trim()),Di(c),d=Ni(c);d;)sc(u,d,a),Di(c),d=Ni(c);null!=l&&(u.id=l),a=u}a&&i.push(a)}return i},ac.prototype.parseMedia=ac.prototype.parseMedia,hr["text/vtt"]=ac,hr['text/vtt; codecs="vtt"']=ac,G("shaka.text.Mp4VttParser",uc),uc.prototype.parseInit=function(e){var t=!1;if((new In).H("moov",On).H("trak",On).H("mdia",On).fa("mdhd",function(e){0==e.version?(e.reader.M(4),e.reader.M(4),this.a=e.reader.G(),e.reader.M(4)):(e.reader.M(8),e.reader.M(8),this.a=e.reader.G(),e.reader.M(8)),e.reader.M(4)}.bind(this)).H("minf",On).H("stbl",On).fa("stsd",Dn).H("wvtt",(function(){t=!0})).parse(e),!this.a)throw new me(2,2,2008);if(!t)throw new me(2,2,2008)},uc.prototype.parseInit=uc.prototype.parseInit,uc.prototype.parseMedia=function(e,t){var r=this;if(!this.a)throw new me(2,2,2008);var n,i=0,o=[],a=[],s=!1,l=!1,u=!1,c=null;if((new In).H("moof",On).H("traf",On).fa("tfdt",(function(e){s=!0,i=0==e.version?e.reader.G():e.reader.Bb()})).fa("tfhd",(function(e){var t=e.flags;(e=e.reader).M(4),1&t&&e.M(8),2&t&&e.M(4),c=8&t?e.G():null})).fa("trun",(function(e){l=!0;var t=e.version,r=e.flags,n=(e=e.reader).G();1&r&&e.M(4),4&r&&e.M(4);for(var i=[],a=0;a<n;a++){var s={duration:null,sampleSize:null,Ad:null};256&r&&(s.duration=e.G()),512&r&&(s.sampleSize=e.G()),1024&r&&e.M(4),2048&r&&(s.Ad=0==t?e.G():e.ke()),i.push(s)}o=i})).H("mdat",Mn((function(e){u=!0,n=e}))).parse(e),!u&&!s&&!l)throw new me(2,2,2008);var d=i,f=new Ln(new DataView(n.buffer,n.byteOffset,n.byteLength),0);return o.forEach((function(e){var n=e.duration||c,o=e.Ad?i+e.Ad:d;d=o+(n||0);var s=0;do{var l=f.G();s+=l;var u=null;"vttc"==Fn(f.G())?8<l&&(u=f.Za(l-8)):f.M(l-8),n&&u&&a.push(cc(u,t.periodStart+o/r.a,t.periodStart+d/r.a))}while(e.sampleSize&&s<e.sampleSize)})),a.filter(Gt.Ia)},uc.prototype.parseMedia=uc.prototype.parseMedia,hr['application/mp4; codecs="wvtt"']=uc,G("shaka.util.Dom.createHTMLElement",(function(e){return document.createElement(e)})),G("shaka.util.Dom.createVideoElement",(function(){var e=document.createElement("video");return e.muted=!0,e.width=600,e.height=400,e})),G("shaka.util.Dom.asHTMLElement",(function(e){return e})),G("shaka.util.Dom.asHTMLMediaElement",(function(e){return e})),G("shaka.util.Dom.removeAllChildren",(function(e){for(;e.firstChild;)e.removeChild(e.firstChild)})),G("EmeEncryptionSchemePolyfill",dc),dc.install=fc,G("McEncryptionSchemePolyfill",gc),gc.install=yc,_c.prototype.getConfiguration=function(){var e=this.b.getConfiguration();if(e.videoCapabilities)for(var t=f(e.videoCapabilities),r=t.next();!r.done;r=t.next())r.value.encryptionScheme=this.a;if(e.audioCapabilities)for(r=(t=f(e.audioCapabilities)).next();!r.done;r=t.next())r.value.encryptionScheme=this.a;return e},_c.prototype.createMediaKeys=function(){return this.b.createMediaKeys()},G("EncryptionSchemePolyfills",Tc),Tc.install=Sc,r.Ne&&(r.Ne=Tc)}.call(i,n,n),i.shaka)t[o]=i.shaka[o]}()}).call(this,r(/*! ./../../webpack/buildin/global.js */"./node_modules/webpack/buildin/global.js"),r(/*! ./../../webpack/buildin/module.js */"./node_modules/webpack/buildin/module.js")(e))},"./node_modules/webpack/buildin/global.js":
/*!***********************************!*\
!*** (webpack)/buildin/global.js ***!
\***********************************/
@@ -1427,7 +1427,7 @@ function dc(){}function fc(){Mu?console.debug("EmeEncryptionSchemePolyfill: Alre
/*!******************************************************************************************!*\
!*** external {"amd":"clappr","commonjs":"clappr","commonjs2":"clappr","root":"Clappr"} ***!
\******************************************************************************************/
-/*! no static exports found */function(t,r){t.exports=e}})},e.exports=n(r(0))},function(e,t,r){var n;"undefined"!=typeof self&&self,n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="<%=baseUrl%>/",r(r.s=40)}([function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(10),i=r(29),o=r(15),a=Object.defineProperty;t.f=r(3)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){e.exports=!r(11)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(2),i=r(12);e.exports=r(3)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var n=r(56),i=r(17);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(22)("wks"),i=r(14),o=r(0).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t,r){var n=r(0),i=r(1),o=r(28),a=r(5),s=r(4),l=function(e,t,r){var u,c,d,f=e&l.F,h=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,y=e&l.W,v=h?i:i[t]||(i[t]={}),b=v.prototype,_=h?n:p?n[t]:(n[t]||{}).prototype;for(u in h&&(r=t),r)(c=!f&&_&&void 0!==_[u])&&s(v,u)||(d=c?_[u]:r[u],v[u]=h&&"function"!=typeof _[u]?r[u]:g&&c?o(d,n):y&&_[u]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((v.virtual||(v.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,r){var n=r(6);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!0},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n=r(6);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports={}},function(e,t,r){var n=r(10),i=r(55),o=r(23),a=r(21)("IE_PROTO"),s=function(){},l=function(){var e,t=r(30)("iframe"),n=o.length;for(t.style.display="none",r(60).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(34),i=r(23);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(22)("keys"),i=r(14);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){var n=r(1),i=r(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(13)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(2).f,i=r(4),o=r(8)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){t.f=r(8)},function(e,t,r){var n=r(0),i=r(1),o=r(13),a=r(25),s=r(2).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(48);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){e.exports=!r(3)&&!r(11)((function(){return 7!=Object.defineProperty(r(30)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(6),i=r(0).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){"use strict";t.__esModule=!0;var n=a(r(50)),i=a(r(66)),o="function"==typeof i.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(n.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(e,t,r){"use strict";var n=r(13),i=r(9),o=r(33),a=r(5),s=r(18),l=r(54),u=r(24),c=r(61),d=r(8)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,r,p,m,g,y){l(r,t,p);var v,b,_,A=function(e){if(!f&&e in w)return w[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},E=t+" Iterator",T="values"==m,S=!1,w=e.prototype,k=w[d]||w["@@iterator"]||m&&w[m],x=k||A(m),C=m?T?A("entries"):x:void 0,R="Array"==t&&w.entries||k;if(R&&(_=c(R.call(new e)))!==Object.prototype&&_.next&&(u(_,E,!0),n||"function"==typeof _[d]||a(_,d,h)),T&&k&&"values"!==k.name&&(S=!0,x=function(){return k.call(this)}),n&&!y||!f&&!S&&w[d]||a(w,d,x),s[t]=x,s[E]=h,m)if(v={values:T?x:A("values"),keys:g?x:A("keys"),entries:C},y)for(b in v)b in w||o(w,b,v[b]);else i(i.P+i.F*(f||S),t,v);return v}},function(e,t,r){e.exports=r(5)},function(e,t,r){var n=r(4),i=r(7),o=r(57)(!1),a=r(21)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(17);e.exports=function(e){return Object(n(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(34),i=r(23).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){var n=r(27),i=r(12),o=r(7),a=r(15),s=r(4),l=r(29),u=Object.getOwnPropertyDescriptor;t.f=r(3)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(41),o=(n=i)&&n.__esModule?n:{default:n};t.default=o.default,e.exports=t.default},function(e,t,r){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var i=d(r(43)),o=d(r(44)),a=d(r(49)),s=d(r(76)),l=r(84),u=d(r(85)),c=d(r(86));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(){return(0,i.default)(this,t),(0,a.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.bindEvents=function(){this.listenTo(this.core,l.Events.CORE_READY,this.bindPlaybackEvents),l.Events.CORE_ACTIVE_CONTAINER_CHANGED?this.listenTo(this.core,l.Events.CORE_ACTIVE_CONTAINER_CHANGED,this.reload):this.listenTo(this.core.mediaControl,l.Events.MEDIACONTROL_CONTAINERCHANGED,this.reload),this.listenTo(this.core.mediaControl,l.Events.MEDIACONTROL_RENDERED,this.render),this.listenTo(this.core.mediaControl,l.Events.MEDIACONTROL_HIDE,this.hideSelectLevelMenu)},t.prototype.bindPlaybackEvents=function(){this.playback&&(this.listenTo(this.playback,l.Events.PLAYBACK_LEVELS_AVAILABLE,this.fillLevels),this.listenTo(this.playback,l.Events.PLAYBACK_LEVEL_SWITCH_START,this.startLevelSwitch),this.listenTo(this.playback,l.Events.PLAYBACK_LEVEL_SWITCH_END,this.stopLevelSwitch),this.listenTo(this.playback,l.Events.PLAYBACK_BITRATE,this.updateCurrentLevel),this.playback.levels&&this.playback.levels.length>0&&this.fillLevels(this.playback.levels))},t.prototype.reload=function(){var e=this;this.stopListening(),n.nextTick((function(){e.bindEvents(),e.bindPlaybackEvents()}))},t.prototype.shouldRender=function(){if(!this.container||!this.playback)return!1;var e=void 0!==this.playback.currentLevel,t=!!(this.levels&&this.levels.length>1);return e&&t},t.prototype.render=function(){if(this.shouldRender()){var e=l.Styler.getStyleFor(c.default,{baseUrl:this.core.options.baseUrl});this.$el.html(this.template({levels:this.levels,title:this.getTitle()})),this.$el.append(e),this.core.mediaControl.$(".media-control-right-panel").append(this.el),this.$(".level_selector ul").css("max-height",.8*this.core.el.offsetHeight),this.highlightCurrentLevel()}return this},t.prototype.fillLevels=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;void 0===this.selectedLevelId&&(this.selectedLevelId=t);var r=this.core.options&&this.core.options.levelSelectorConfig&&this.core.options.levelSelectorConfig.onLevelsAvailable;if(r){if("function"!=typeof r)throw new TypeError("onLevelsAvailable must be a function");e=r(e.slice())}this.levels=e,this.configureLevelsLabels(),this.render()},t.prototype.configureLevelsLabels=function(){if(void 0!==this.core.options.levelSelectorConfig){var e=this.core.options.levelSelectorConfig.labelCallback;if(e&&"function"!=typeof e)throw new TypeError("labelCallback must be a function");var t=this.core.options.levelSelectorConfig.labels,r=t?this.core.options.levelSelectorConfig.labels:{};if(e||t){var n=void 0,i=void 0;for(var o in this.levels)i=r[(n=this.levels[o]).id],e?n.label=e(n,i):i&&(n.label=i)}}},t.prototype.findLevelBy=function(e){var t=void 0;return this.levels.forEach((function(r){r.id===e&&(t=r)})),t},t.prototype.onLevelSelect=function(e){return this.selectedLevelId=parseInt(e.target.dataset.levelSelectorSelect,10),this.playback.currentLevel==this.selectedLevelId||(this.playback.currentLevel=this.selectedLevelId,this.toggleContextMenu(),e.stopPropagation()),!1},t.prototype.onShowLevelSelectMenu=function(){this.toggleContextMenu()},t.prototype.hideSelectLevelMenu=function(){this.$(".level_selector ul").hide()},t.prototype.toggleContextMenu=function(){this.$(".level_selector ul").toggle()},t.prototype.buttonElement=function(){return this.$(".level_selector button")},t.prototype.levelElement=function(e){return this.$(".level_selector ul a"+(isNaN(e)?"":'[data-level-selector-select="'+e+'"]')).parent()},t.prototype.getTitle=function(){return(this.core.options.levelSelectorConfig||{}).title},t.prototype.startLevelSwitch=function(){this.buttonElement().addClass("changing")},t.prototype.stopLevelSwitch=function(){this.buttonElement().removeClass("changing")},t.prototype.updateText=function(e){-1===e?this.buttonElement().text(this.currentLevel?"AUTO ("+this.currentLevel.label+")":"AUTO"):this.buttonElement().text(this.findLevelBy(e).label)},t.prototype.updateCurrentLevel=function(e){var t=this.findLevelBy(e.level);this.currentLevel=t||null,this.highlightCurrentLevel()},t.prototype.highlightCurrentLevel=function(){var e=this;this.levelElement().removeClass("current"),this.currentLevel&&this.levelElement(this.currentLevel.id).addClass("current"),this.updateText(this.selectedLevelId);var t=this.currentLevel&&this.currentLevel.language;t&&(this.levelElement().removeClass("hidden"),this.levels.forEach((function(r){r.language!=t&&e.levelElement(r.id).addClass("hidden")})))},(0,o.default)(t,[{key:"name",get:function(){return"level_selector"}},{key:"template",get:function(){return(0,l.template)(u.default)}},{key:"attributes",get:function(){return{class:this.name,"data-level-selector":""}}},{key:"events",get:function(){return{"click [data-level-selector-select]":"onLevelSelect","click [data-level-selector-button]":"onShowLevelSelectMenu"}}},{key:"container",get:function(){return this.core.activeContainer?this.core.activeContainer:this.core.mediaControl.container}},{key:"playback",get:function(){return this.core.activePlayback?this.core.activePlayback:this.core.getCurrentPlayback()}}],[{key:"version",get:function(){return VERSION}}]),t}(l.UICorePlugin);t.default=f,e.exports=t.default}).call(t,r(42))},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";t.__esModule=!0;var n,i=r(45),o=(n=i)&&n.__esModule?n:{default:n};t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,o.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()},function(e,t,r){e.exports={default:r(46),__esModule:!0}},function(e,t,r){r(47);var n=r(1).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){var n=r(9);n(n.S+n.F*!r(3),"Object",{defineProperty:r(2).f})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";t.__esModule=!0;var n,i=r(31),o=(n=i)&&n.__esModule?n:{default:n};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,r){e.exports={default:r(51),__esModule:!0}},function(e,t,r){r(52),r(62),e.exports=r(25).f("iterator")},function(e,t,r){"use strict";var n=r(53)(!0);r(32)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(16),i=r(17);e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,r){"use strict";var n=r(19),i=r(12),o=r(24),a={};r(5)(a,r(8)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(2),i=r(10),o=r(20);e.exports=r(3)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,l=0;s>l;)n.f(e,r=a[l++],t[r]);return e}},function(e,t,r){var n=r(35);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(7),i=r(58),o=r(59);e.exports=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){var n=r(16),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(16),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(0).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(4),i=r(36),o=r(21)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){r(63);for(var n=r(0),i=r(5),o=r(18),a=r(8)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=n[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,r){"use strict";var n=r(64),i=r(65),o=r(18),a=r(7);e.exports=r(32)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){e.exports={default:r(67),__esModule:!0}},function(e,t,r){r(68),r(73),r(74),r(75),e.exports=r(1).Symbol},function(e,t,r){"use strict";var n=r(0),i=r(4),o=r(3),a=r(9),s=r(33),l=r(69).KEY,u=r(11),c=r(22),d=r(24),f=r(14),h=r(8),p=r(25),m=r(26),g=r(70),y=r(71),v=r(10),b=r(6),_=r(36),A=r(7),E=r(15),T=r(12),S=r(19),w=r(72),k=r(39),x=r(37),C=r(2),R=r(20),L=k.f,j=C.f,P=w.f,I=n.Symbol,O=n.JSON,D=O&&O.stringify,M=h("_hidden"),N=h("toPrimitive"),U={}.propertyIsEnumerable,F=c("symbol-registry"),B=c("symbols"),K=c("op-symbols"),G=Object.prototype,V="function"==typeof I&&!!x.f,H=n.QObject,Y=!H||!H.prototype||!H.prototype.findChild,z=o&&u((function(){return 7!=S(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=L(G,t);n&&delete G[t],j(e,t,r),n&&e!==G&&j(G,t,n)}:j,W=function(e){var t=B[e]=S(I.prototype);return t._k=e,t},$=V&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},q=function(e,t,r){return e===G&&q(K,t,r),v(e),t=E(t,!0),v(r),i(B,t)?(r.enumerable?(i(e,M)&&e[M][t]&&(e[M][t]=!1),r=S(r,{enumerable:T(0,!1)})):(i(e,M)||j(e,M,T(1,{})),e[M][t]=!0),z(e,t,r)):j(e,t,r)},X=function(e,t){v(e);for(var r,n=g(t=A(t)),i=0,o=n.length;o>i;)q(e,r=n[i++],t[r]);return e},J=function(e){var t=U.call(this,e=E(e,!0));return!(this===G&&i(B,e)&&!i(K,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,M)&&this[M][e])||t)},Z=function(e,t){if(e=A(e),t=E(t,!0),e!==G||!i(B,t)||i(K,t)){var r=L(e,t);return!r||!i(B,t)||i(e,M)&&e[M][t]||(r.enumerable=!0),r}},Q=function(e){for(var t,r=P(A(e)),n=[],o=0;r.length>o;)i(B,t=r[o++])||t==M||t==l||n.push(t);return n},ee=function(e){for(var t,r=e===G,n=P(r?K:A(e)),o=[],a=0;n.length>a;)!i(B,t=n[a++])||r&&!i(G,t)||o.push(B[t]);return o};V||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(r){this===G&&t.call(K,r),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),z(this,e,T(1,r))};return o&&Y&&z(G,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",(function(){return this._k})),k.f=Z,C.f=q,r(38).f=w.f=Q,r(27).f=J,x.f=ee,o&&!r(13)&&s(G,"propertyIsEnumerable",J,!0),p.f=function(e){return W(h(e))}),a(a.G+a.W+a.F*!V,{Symbol:I});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)h(te[re++]);for(var ne=R(h.store),ie=0;ne.length>ie;)m(ne[ie++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return i(F,e+="")?F[e]:F[e]=I(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in F)if(F[t]===e)return t},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),a(a.S+a.F*!V,"Object",{create:function(e,t){return void 0===t?S(e):X(S(e),t)},defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var oe=u((function(){x.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return x.f(_(e))}}),O&&a(a.S+a.F*(!V||u((function(){var e=I();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))}))),"JSON",{stringify:function(e){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=t=n[1],(b(t)||void 0!==e)&&!$(e))return y(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!$(t))return t}),n[1]=t,D.apply(O,n)}}),I.prototype[N]||r(5)(I.prototype,N,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(e,t,r){var n=r(14)("meta"),i=r(6),o=r(4),a=r(2).f,s=0,l=Object.isExtensible||function(){return!0},u=!r(11)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[n].i},getWeak:function(e,t){if(!o(e,n)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[n].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!o(e,n)&&c(e),e}}},function(e,t,r){var n=r(20),i=r(37),o=r(27);e.exports=function(e){var t=n(e),r=i.f;if(r)for(var a,s=r(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,r){var n=r(35);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(7),i=r(38).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(n(e))}},function(e,t){},function(e,t,r){r(26)("asyncIterator")},function(e,t,r){r(26)("observable")},function(e,t,r){"use strict";t.__esModule=!0;var n=a(r(77)),i=a(r(81)),o=a(r(31));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,o.default)(t)));e.prototype=(0,i.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}},function(e,t,r){e.exports={default:r(78),__esModule:!0}},function(e,t,r){r(79),e.exports=r(1).Object.setPrototypeOf},function(e,t,r){var n=r(9);n(n.S,"Object",{setPrototypeOf:r(80).set})},function(e,t,r){var n=r(6),i=r(10),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(28)(Function.call,r(39).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){e.exports={default:r(82),__esModule:!0}},function(e,t,r){r(83);var n=r(1).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(9);n(n.S,"Object",{create:r(19)})},function(t,r){t.exports=e},function(e,t){e.exports='<button data-level-selector-button>\n Auto\n</button>\n<ul>\n <% if (title) { %>\n <li data-title><%= title %></li>\n <% }; %>\n <li><a href="#" data-level-selector-select="-1">AUTO</a></li>\n <% for (var i = 0; i < levels.length; i++) { %>\n <li><a href="#" data-level-selector-select="<%= levels[i].id %>"><%= levels[i].label %></a></li>\n <% }; %>\n</ul>\n'},function(e,t,r){var n=r(87);"string"==typeof n&&(n=[[e.i,n,""]]),r(89)(n,{singleton:!0}),n.locals&&(e.exports=n.locals)},function(e,t,r){(e.exports=r(88)(!1)).push([e.i,'.level_selector[data-level-selector] {\n float: right;\n position: relative;\n height: 100%; }\n .level_selector[data-level-selector] button {\n background-color: transparent;\n color: #fff;\n font-family: Roboto,"Open Sans",Arial,sans-serif;\n -webkit-font-smoothing: antialiased;\n border: none;\n font-size: 12px;\n height: 100%; }\n .level_selector[data-level-selector] button:hover {\n color: #c9c9c9; }\n .level_selector[data-level-selector] button.changing {\n -webkit-animation: pulse 0.5s infinite alternate; }\n .level_selector[data-level-selector] > ul {\n overflow-x: hidden;\n overflow-y: auto;\n list-style-type: none;\n position: absolute;\n bottom: 100%;\n display: none;\n background-color: rgba(28, 28, 28, 0.9);\n white-space: nowrap; }\n .level_selector[data-level-selector] li {\n font-size: 12px;\n color: #eee; }\n .level_selector[data-level-selector] li[data-title] {\n background-color: #333;\n padding: 8px 25px; }\n .level_selector[data-level-selector] li a {\n color: #eee;\n padding: 5px 18px;\n display: block;\n text-decoration: none; }\n .level_selector[data-level-selector] li a:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #fff; }\n .level_selector[data-level-selector] li a:hover a {\n color: #fff;\n text-decoration: none; }\n .level_selector[data-level-selector] li.current a {\n color: #2ecc71; }\n .level_selector[data-level-selector] li.hidden {\n display: none; }\n',""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r,n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=(r=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),a=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}},function(e,t){var r={},n=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},i=n((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),o=n((function(){return document.head||document.getElementsByTagName("head")[0]})),a=null,s=0;function l(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(d(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(d(i.parts[a],t));r[i.id]={id:i.id,refs:1,parts:s}}}}function u(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n],o=i[0],a={css:i[1],media:i[2],sourceMap:i[3]};r[o]?r[o].parts.push(a):t.push(r[o]={id:o,parts:[a]})}return t}function c(){var e=document.createElement("style"),t=o();return e.type="text/css",t.appendChild(e),e}function d(e,t){var r,n,i,l,u;if(t.singleton){var d=s++;r=a||(a=c()),n=p.bind(null,r,d,!1),i=p.bind(null,r,d,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(l=document.createElement("link"),u=o(),l.rel="stylesheet",u.appendChild(l),r=l,n=g.bind(null,r),i=function(){r.parentNode.removeChild(r),r.href&&URL.revokeObjectURL(r.href)}):(r=c(),n=m.bind(null,r),i=function(){r.parentNode.removeChild(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(t=t||{}).singleton&&(t.singleton=i());var n=u(e);return l(n,t),function(e){for(var i=[],o=0;o<n.length;o++){var a=n[o];(s=r[a.id]).refs--,i.push(s)}for(e&&l(u(e),t),o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete r[s.id]}}}};var f,h=(f=[],function(e,t){return f[e]=t,f.filter(Boolean).join("\n")});function p(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=h(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function m(e,t){var r=t.css,n=t.media;if(t.sourceMap,n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function g(e,t){var r=t.css,n=(t.media,t.sourceMap);n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([r],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}}])},e.exports=n(r(0))},function(module,exports,__webpack_require__){var factory;window,factory=function(__WEBPACK_EXTERNAL_MODULE_clappr__){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/main.js")}({"./node_modules/css-loader/dist/runtime/api.js":
+/*! no static exports found */function(t,r){t.exports=e}})},e.exports=n(r(0))},function(e,t,r){var n;"undefined"!=typeof self&&self,n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="<%=baseUrl%>/",r(r.s=40)}([function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t){var r=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(e,t,r){var n=r(10),i=r(29),o=r(15),a=Object.defineProperty;t.f=r(3)?Object.defineProperty:function(e,t,r){if(n(e),t=o(t,!0),n(r),i)try{return a(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t,r){e.exports=!r(11)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(2),i=r(12);e.exports=r(3)?function(e,t,r){return n.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,r){var n=r(56),i=r(17);e.exports=function(e){return n(i(e))}},function(e,t,r){var n=r(22)("wks"),i=r(14),o=r(0).Symbol,a="function"==typeof o;(e.exports=function(e){return n[e]||(n[e]=a&&o[e]||(a?o:i)("Symbol."+e))}).store=n},function(e,t,r){var n=r(0),i=r(1),o=r(28),a=r(5),s=r(4),l=function(e,t,r){var u,c,d,f=e&l.F,h=e&l.G,p=e&l.S,m=e&l.P,g=e&l.B,y=e&l.W,v=h?i:i[t]||(i[t]={}),b=v.prototype,_=h?n:p?n[t]:(n[t]||{}).prototype;for(u in h&&(r=t),r)(c=!f&&_&&void 0!==_[u])&&s(v,u)||(d=c?_[u]:r[u],v[u]=h&&"function"!=typeof _[u]?r[u]:g&&c?o(d,n):y&&_[u]==d?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(d):m&&"function"==typeof d?o(Function.call,d):d,m&&((v.virtual||(v.virtual={}))[u]=d,e&l.R&&b&&!b[u]&&a(b,u,d)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t,r){var n=r(6);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!0},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n=r(6);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){e.exports={}},function(e,t,r){var n=r(10),i=r(55),o=r(23),a=r(21)("IE_PROTO"),s=function(){},l=function(){var e,t=r(30)("iframe"),n=o.length;for(t.style.display="none",r(60).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[o[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[a]=e):r=l(),void 0===t?r:i(r,t)}},function(e,t,r){var n=r(34),i=r(23);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t,r){var n=r(22)("keys"),i=r(14);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t,r){var n=r(1),i=r(0),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(13)?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(2).f,i=r(4),o=r(8)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},function(e,t,r){t.f=r(8)},function(e,t,r){var n=r(0),i=r(1),o=r(13),a=r(25),s=r(2).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=o?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:a.f(e)})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(48);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},function(e,t,r){e.exports=!r(3)&&!r(11)((function(){return 7!=Object.defineProperty(r(30)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,r){var n=r(6),i=r(0).document,o=n(i)&&n(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,r){"use strict";t.__esModule=!0;var n=a(r(50)),i=a(r(66)),o="function"==typeof i.default&&"symbol"==typeof n.default?function(e){return typeof e}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof i.default&&"symbol"===o(n.default)?function(e){return void 0===e?"undefined":o(e)}:function(e){return e&&"function"==typeof i.default&&e.constructor===i.default&&e!==i.default.prototype?"symbol":void 0===e?"undefined":o(e)}},function(e,t,r){"use strict";var n=r(13),i=r(9),o=r(33),a=r(5),s=r(18),l=r(54),u=r(24),c=r(61),d=r(8)("iterator"),f=!([].keys&&"next"in[].keys()),h=function(){return this};e.exports=function(e,t,r,p,m,g,y){l(r,t,p);var v,b,_,A=function(e){if(!f&&e in w)return w[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},E=t+" Iterator",T="values"==m,S=!1,w=e.prototype,k=w[d]||w["@@iterator"]||m&&w[m],C=k||A(m),x=m?T?A("entries"):C:void 0,R="Array"==t&&w.entries||k;if(R&&(_=c(R.call(new e)))!==Object.prototype&&_.next&&(u(_,E,!0),n||"function"==typeof _[d]||a(_,d,h)),T&&k&&"values"!==k.name&&(S=!0,C=function(){return k.call(this)}),n&&!y||!f&&!S&&w[d]||a(w,d,C),s[t]=C,s[E]=h,m)if(v={values:T?C:A("values"),keys:g?C:A("keys"),entries:x},y)for(b in v)b in w||o(w,b,v[b]);else i(i.P+i.F*(f||S),t,v);return v}},function(e,t,r){e.exports=r(5)},function(e,t,r){var n=r(4),i=r(7),o=r(57)(!1),a=r(21)("IE_PROTO");e.exports=function(e,t){var r,s=i(e),l=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~o(u,r)||u.push(r));return u}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t,r){var n=r(17);e.exports=function(e){return Object(n(e))}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){var n=r(34),i=r(23).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},function(e,t,r){var n=r(27),i=r(12),o=r(7),a=r(15),s=r(4),l=r(29),u=Object.getOwnPropertyDescriptor;t.f=r(3)?u:function(e,t){if(e=o(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(s(e,t))return i(!n.f.call(e,t),e[t])}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=r(41),o=(n=i)&&n.__esModule?n:{default:n};t.default=o.default,e.exports=t.default},function(e,t,r){"use strict";(function(n){Object.defineProperty(t,"__esModule",{value:!0});var i=d(r(43)),o=d(r(44)),a=d(r(49)),s=d(r(76)),l=r(84),u=d(r(85)),c=d(r(86));function d(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(){return(0,i.default)(this,t),(0,a.default)(this,e.apply(this,arguments))}return(0,s.default)(t,e),t.prototype.bindEvents=function(){this.listenTo(this.core,l.Events.CORE_READY,this.bindPlaybackEvents),l.Events.CORE_ACTIVE_CONTAINER_CHANGED?this.listenTo(this.core,l.Events.CORE_ACTIVE_CONTAINER_CHANGED,this.reload):this.listenTo(this.core.mediaControl,l.Events.MEDIACONTROL_CONTAINERCHANGED,this.reload),this.listenTo(this.core.mediaControl,l.Events.MEDIACONTROL_RENDERED,this.render),this.listenTo(this.core.mediaControl,l.Events.MEDIACONTROL_HIDE,this.hideSelectLevelMenu)},t.prototype.bindPlaybackEvents=function(){this.playback&&(this.listenTo(this.playback,l.Events.PLAYBACK_LEVELS_AVAILABLE,this.fillLevels),this.listenTo(this.playback,l.Events.PLAYBACK_LEVEL_SWITCH_START,this.startLevelSwitch),this.listenTo(this.playback,l.Events.PLAYBACK_LEVEL_SWITCH_END,this.stopLevelSwitch),this.listenTo(this.playback,l.Events.PLAYBACK_BITRATE,this.updateCurrentLevel),this.playback.levels&&this.playback.levels.length>0&&this.fillLevels(this.playback.levels))},t.prototype.reload=function(){var e=this;this.stopListening(),n.nextTick((function(){e.bindEvents(),e.bindPlaybackEvents()}))},t.prototype.shouldRender=function(){if(!this.container||!this.playback)return!1;var e=void 0!==this.playback.currentLevel,t=!!(this.levels&&this.levels.length>1);return e&&t},t.prototype.render=function(){if(this.shouldRender()){var e=l.Styler.getStyleFor(c.default,{baseUrl:this.core.options.baseUrl});this.$el.html(this.template({levels:this.levels,title:this.getTitle()})),this.$el.append(e),this.core.mediaControl.$(".media-control-right-panel").append(this.el),this.$(".level_selector ul").css("max-height",.8*this.core.el.offsetHeight),this.highlightCurrentLevel()}return this},t.prototype.fillLevels=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;void 0===this.selectedLevelId&&(this.selectedLevelId=t);var r=this.core.options&&this.core.options.levelSelectorConfig&&this.core.options.levelSelectorConfig.onLevelsAvailable;if(r){if("function"!=typeof r)throw new TypeError("onLevelsAvailable must be a function");e=r(e.slice())}this.levels=e,this.configureLevelsLabels(),this.render()},t.prototype.configureLevelsLabels=function(){if(void 0!==this.core.options.levelSelectorConfig){var e=this.core.options.levelSelectorConfig.labelCallback;if(e&&"function"!=typeof e)throw new TypeError("labelCallback must be a function");var t=this.core.options.levelSelectorConfig.labels,r=t?this.core.options.levelSelectorConfig.labels:{};if(e||t){var n=void 0,i=void 0;for(var o in this.levels)i=r[(n=this.levels[o]).id],e?n.label=e(n,i):i&&(n.label=i)}}},t.prototype.findLevelBy=function(e){var t=void 0;return this.levels.forEach((function(r){r.id===e&&(t=r)})),t},t.prototype.onLevelSelect=function(e){return this.selectedLevelId=parseInt(e.target.dataset.levelSelectorSelect,10),this.playback.currentLevel==this.selectedLevelId||(this.playback.currentLevel=this.selectedLevelId,this.toggleContextMenu(),e.stopPropagation()),!1},t.prototype.onShowLevelSelectMenu=function(){this.toggleContextMenu()},t.prototype.hideSelectLevelMenu=function(){this.$(".level_selector ul").hide()},t.prototype.toggleContextMenu=function(){this.$(".level_selector ul").toggle()},t.prototype.buttonElement=function(){return this.$(".level_selector button")},t.prototype.levelElement=function(e){return this.$(".level_selector ul a"+(isNaN(e)?"":'[data-level-selector-select="'+e+'"]')).parent()},t.prototype.getTitle=function(){return(this.core.options.levelSelectorConfig||{}).title},t.prototype.startLevelSwitch=function(){this.buttonElement().addClass("changing")},t.prototype.stopLevelSwitch=function(){this.buttonElement().removeClass("changing")},t.prototype.updateText=function(e){-1===e?this.buttonElement().text(this.currentLevel?"AUTO ("+this.currentLevel.label+")":"AUTO"):this.buttonElement().text(this.findLevelBy(e).label)},t.prototype.updateCurrentLevel=function(e){var t=this.findLevelBy(e.level);this.currentLevel=t||null,this.highlightCurrentLevel()},t.prototype.highlightCurrentLevel=function(){var e=this;this.levelElement().removeClass("current"),this.currentLevel&&this.levelElement(this.currentLevel.id).addClass("current"),this.updateText(this.selectedLevelId);var t=this.currentLevel&&this.currentLevel.language;t&&(this.levelElement().removeClass("hidden"),this.levels.forEach((function(r){r.language!=t&&e.levelElement(r.id).addClass("hidden")})))},(0,o.default)(t,[{key:"name",get:function(){return"level_selector"}},{key:"template",get:function(){return(0,l.template)(u.default)}},{key:"attributes",get:function(){return{class:this.name,"data-level-selector":""}}},{key:"events",get:function(){return{"click [data-level-selector-select]":"onLevelSelect","click [data-level-selector-button]":"onShowLevelSelectMenu"}}},{key:"container",get:function(){return this.core.activeContainer?this.core.activeContainer:this.core.mediaControl.container}},{key:"playback",get:function(){return this.core.activePlayback?this.core.activePlayback:this.core.getCurrentPlayback()}}],[{key:"version",get:function(){return VERSION}}]),t}(l.UICorePlugin);t.default=f,e.exports=t.default}).call(t,r(42))},function(e,t){var r,n,i=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===o||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:o}catch(e){r=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,u=[],c=!1,d=-1;function f(){c&&l&&(c=!1,l.length?u=l.concat(u):d=-1,u.length&&h())}function h(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(l=u,u=[];++d<t;)l&&l[d].run();d=-1,t=u.length}l=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}i.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,i.listeners=function(e){return[]},i.binding=function(e){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(e){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";t.__esModule=!0;var n,i=r(45),o=(n=i)&&n.__esModule?n:{default:n};t.default=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),(0,o.default)(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}()},function(e,t,r){e.exports={default:r(46),__esModule:!0}},function(e,t,r){r(47);var n=r(1).Object;e.exports=function(e,t,r){return n.defineProperty(e,t,r)}},function(e,t,r){var n=r(9);n(n.S+n.F*!r(3),"Object",{defineProperty:r(2).f})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,r){"use strict";t.__esModule=!0;var n,i=r(31),o=(n=i)&&n.__esModule?n:{default:n};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,r){e.exports={default:r(51),__esModule:!0}},function(e,t,r){r(52),r(62),e.exports=r(25).f("iterator")},function(e,t,r){"use strict";var n=r(53)(!0);r(32)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})}))},function(e,t,r){var n=r(16),i=r(17);e.exports=function(e){return function(t,r){var o,a,s=String(i(t)),l=n(r),u=s.length;return l<0||l>=u?e?"":void 0:(o=s.charCodeAt(l))<55296||o>56319||l+1===u||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):o:e?s.slice(l,l+2):a-56320+(o-55296<<10)+65536}}},function(e,t,r){"use strict";var n=r(19),i=r(12),o=r(24),a={};r(5)(a,r(8)("iterator"),(function(){return this})),e.exports=function(e,t,r){e.prototype=n(a,{next:i(1,r)}),o(e,t+" Iterator")}},function(e,t,r){var n=r(2),i=r(10),o=r(20);e.exports=r(3)?Object.defineProperties:function(e,t){i(e);for(var r,a=o(t),s=a.length,l=0;s>l;)n.f(e,r=a[l++],t[r]);return e}},function(e,t,r){var n=r(35);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(7),i=r(58),o=r(59);e.exports=function(e){return function(t,r,a){var s,l=n(t),u=i(l.length),c=o(a,u);if(e&&r!=r){for(;u>c;)if((s=l[c++])!=s)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===r)return e||c||0;return!e&&-1}}},function(e,t,r){var n=r(16),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},function(e,t,r){var n=r(16),i=Math.max,o=Math.min;e.exports=function(e,t){return(e=n(e))<0?i(e+t,0):o(e,t)}},function(e,t,r){var n=r(0).document;e.exports=n&&n.documentElement},function(e,t,r){var n=r(4),i=r(36),o=r(21)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),n(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,r){r(63);for(var n=r(0),i=r(5),o=r(18),a=r(8)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var u=s[l],c=n[u],d=c&&c.prototype;d&&!d[a]&&i(d,a,u),o[u]=o.Array}},function(e,t,r){"use strict";var n=r(64),i=r(65),o=r(18),a=r(7);e.exports=r(32)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,i(1)):i(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])}),"values"),o.Arguments=o.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){e.exports={default:r(67),__esModule:!0}},function(e,t,r){r(68),r(73),r(74),r(75),e.exports=r(1).Symbol},function(e,t,r){"use strict";var n=r(0),i=r(4),o=r(3),a=r(9),s=r(33),l=r(69).KEY,u=r(11),c=r(22),d=r(24),f=r(14),h=r(8),p=r(25),m=r(26),g=r(70),y=r(71),v=r(10),b=r(6),_=r(36),A=r(7),E=r(15),T=r(12),S=r(19),w=r(72),k=r(39),C=r(37),x=r(2),R=r(20),L=k.f,j=x.f,P=w.f,I=n.Symbol,O=n.JSON,D=O&&O.stringify,M=h("_hidden"),N=h("toPrimitive"),F={}.propertyIsEnumerable,U=c("symbol-registry"),B=c("symbols"),K=c("op-symbols"),G=Object.prototype,V="function"==typeof I&&!!C.f,H=n.QObject,Y=!H||!H.prototype||!H.prototype.findChild,z=o&&u((function(){return 7!=S(j({},"a",{get:function(){return j(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=L(G,t);n&&delete G[t],j(e,t,r),n&&e!==G&&j(G,t,n)}:j,W=function(e){var t=B[e]=S(I.prototype);return t._k=e,t},$=V&&"symbol"==typeof I.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof I},q=function(e,t,r){return e===G&&q(K,t,r),v(e),t=E(t,!0),v(r),i(B,t)?(r.enumerable?(i(e,M)&&e[M][t]&&(e[M][t]=!1),r=S(r,{enumerable:T(0,!1)})):(i(e,M)||j(e,M,T(1,{})),e[M][t]=!0),z(e,t,r)):j(e,t,r)},X=function(e,t){v(e);for(var r,n=g(t=A(t)),i=0,o=n.length;o>i;)q(e,r=n[i++],t[r]);return e},J=function(e){var t=F.call(this,e=E(e,!0));return!(this===G&&i(B,e)&&!i(K,e))&&(!(t||!i(this,e)||!i(B,e)||i(this,M)&&this[M][e])||t)},Z=function(e,t){if(e=A(e),t=E(t,!0),e!==G||!i(B,t)||i(K,t)){var r=L(e,t);return!r||!i(B,t)||i(e,M)&&e[M][t]||(r.enumerable=!0),r}},Q=function(e){for(var t,r=P(A(e)),n=[],o=0;r.length>o;)i(B,t=r[o++])||t==M||t==l||n.push(t);return n},ee=function(e){for(var t,r=e===G,n=P(r?K:A(e)),o=[],a=0;n.length>a;)!i(B,t=n[a++])||r&&!i(G,t)||o.push(B[t]);return o};V||(s((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(r){this===G&&t.call(K,r),i(this,M)&&i(this[M],e)&&(this[M][e]=!1),z(this,e,T(1,r))};return o&&Y&&z(G,e,{configurable:!0,set:t}),W(e)}).prototype,"toString",(function(){return this._k})),k.f=Z,x.f=q,r(38).f=w.f=Q,r(27).f=J,C.f=ee,o&&!r(13)&&s(G,"propertyIsEnumerable",J,!0),p.f=function(e){return W(h(e))}),a(a.G+a.W+a.F*!V,{Symbol:I});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),re=0;te.length>re;)h(te[re++]);for(var ne=R(h.store),ie=0;ne.length>ie;)m(ne[ie++]);a(a.S+a.F*!V,"Symbol",{for:function(e){return i(U,e+="")?U[e]:U[e]=I(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in U)if(U[t]===e)return t},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),a(a.S+a.F*!V,"Object",{create:function(e,t){return void 0===t?S(e):X(S(e),t)},defineProperty:q,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var oe=u((function(){C.f(1)}));a(a.S+a.F*oe,"Object",{getOwnPropertySymbols:function(e){return C.f(_(e))}}),O&&a(a.S+a.F*(!V||u((function(){var e=I();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))}))),"JSON",{stringify:function(e){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);if(r=t=n[1],(b(t)||void 0!==e)&&!$(e))return y(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!$(t))return t}),n[1]=t,D.apply(O,n)}}),I.prototype[N]||r(5)(I.prototype,N,I.prototype.valueOf),d(I,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(e,t,r){var n=r(14)("meta"),i=r(6),o=r(4),a=r(2).f,s=0,l=Object.isExtensible||function(){return!0},u=!r(11)((function(){return l(Object.preventExtensions({}))})),c=function(e){a(e,n,{value:{i:"O"+ ++s,w:{}}})},d=e.exports={KEY:n,NEED:!1,fastKey:function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,n)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[n].i},getWeak:function(e,t){if(!o(e,n)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[n].w},onFreeze:function(e){return u&&d.NEED&&l(e)&&!o(e,n)&&c(e),e}}},function(e,t,r){var n=r(20),i=r(37),o=r(27);e.exports=function(e){var t=n(e),r=i.f;if(r)for(var a,s=r(e),l=o.f,u=0;s.length>u;)l.call(e,a=s[u++])&&t.push(a);return t}},function(e,t,r){var n=r(35);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){var n=r(7),i=r(38).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==o.call(e)?function(e){try{return i(e)}catch(e){return a.slice()}}(e):i(n(e))}},function(e,t){},function(e,t,r){r(26)("asyncIterator")},function(e,t,r){r(26)("observable")},function(e,t,r){"use strict";t.__esModule=!0;var n=a(r(77)),i=a(r(81)),o=a(r(31));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,o.default)(t)));e.prototype=(0,i.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}},function(e,t,r){e.exports={default:r(78),__esModule:!0}},function(e,t,r){r(79),e.exports=r(1).Object.setPrototypeOf},function(e,t,r){var n=r(9);n(n.S,"Object",{setPrototypeOf:r(80).set})},function(e,t,r){var n=r(6),i=r(10),o=function(e,t){if(i(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(28)(Function.call,r(39).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return o(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:o}},function(e,t,r){e.exports={default:r(82),__esModule:!0}},function(e,t,r){r(83);var n=r(1).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(9);n(n.S,"Object",{create:r(19)})},function(t,r){t.exports=e},function(e,t){e.exports='<button data-level-selector-button>\n Auto\n</button>\n<ul>\n <% if (title) { %>\n <li data-title><%= title %></li>\n <% }; %>\n <li><a href="#" data-level-selector-select="-1">AUTO</a></li>\n <% for (var i = 0; i < levels.length; i++) { %>\n <li><a href="#" data-level-selector-select="<%= levels[i].id %>"><%= levels[i].label %></a></li>\n <% }; %>\n</ul>\n'},function(e,t,r){var n=r(87);"string"==typeof n&&(n=[[e.i,n,""]]),r(89)(n,{singleton:!0}),n.locals&&(e.exports=n.locals)},function(e,t,r){(e.exports=r(88)(!1)).push([e.i,'.level_selector[data-level-selector] {\n float: right;\n position: relative;\n height: 100%; }\n .level_selector[data-level-selector] button {\n background-color: transparent;\n color: #fff;\n font-family: Roboto,"Open Sans",Arial,sans-serif;\n -webkit-font-smoothing: antialiased;\n border: none;\n font-size: 12px;\n height: 100%; }\n .level_selector[data-level-selector] button:hover {\n color: #c9c9c9; }\n .level_selector[data-level-selector] button.changing {\n -webkit-animation: pulse 0.5s infinite alternate; }\n .level_selector[data-level-selector] > ul {\n overflow-x: hidden;\n overflow-y: auto;\n list-style-type: none;\n position: absolute;\n bottom: 100%;\n display: none;\n background-color: rgba(28, 28, 28, 0.9);\n white-space: nowrap; }\n .level_selector[data-level-selector] li {\n font-size: 12px;\n color: #eee; }\n .level_selector[data-level-selector] li[data-title] {\n background-color: #333;\n padding: 8px 25px; }\n .level_selector[data-level-selector] li a {\n color: #eee;\n padding: 5px 18px;\n display: block;\n text-decoration: none; }\n .level_selector[data-level-selector] li a:hover {\n background-color: rgba(255, 255, 255, 0.1);\n color: #fff; }\n .level_selector[data-level-selector] li a:hover a {\n color: #fff;\n text-decoration: none; }\n .level_selector[data-level-selector] li.current a {\n color: #2ecc71; }\n .level_selector[data-level-selector] li.hidden {\n display: none; }\n',""])},function(e,t){e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r,n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=(r=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),a=i.sources.map((function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"}));return[n].concat(a).concat([o]).join("\n")}return[n].join("\n")}(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r})).join("")},t.i=function(e,r){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(n[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&n[a[0]]||(r&&!a[2]?a[2]=r:r&&(a[2]="("+a[2]+") and ("+r+")"),t.push(a))}},t}},function(e,t){var r={},n=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}},i=n((function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())})),o=n((function(){return document.head||document.getElementsByTagName("head")[0]})),a=null,s=0;function l(e,t){for(var n=0;n<e.length;n++){var i=e[n],o=r[i.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](i.parts[a]);for(;a<i.parts.length;a++)o.parts.push(d(i.parts[a],t))}else{var s=[];for(a=0;a<i.parts.length;a++)s.push(d(i.parts[a],t));r[i.id]={id:i.id,refs:1,parts:s}}}}function u(e){for(var t=[],r={},n=0;n<e.length;n++){var i=e[n],o=i[0],a={css:i[1],media:i[2],sourceMap:i[3]};r[o]?r[o].parts.push(a):t.push(r[o]={id:o,parts:[a]})}return t}function c(){var e=document.createElement("style"),t=o();return e.type="text/css",t.appendChild(e),e}function d(e,t){var r,n,i,l,u;if(t.singleton){var d=s++;r=a||(a=c()),n=p.bind(null,r,d,!1),i=p.bind(null,r,d,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(l=document.createElement("link"),u=o(),l.rel="stylesheet",u.appendChild(l),r=l,n=g.bind(null,r),i=function(){r.parentNode.removeChild(r),r.href&&URL.revokeObjectURL(r.href)}):(r=c(),n=m.bind(null,r),i=function(){r.parentNode.removeChild(r)});return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");void 0===(t=t||{}).singleton&&(t.singleton=i());var n=u(e);return l(n,t),function(e){for(var i=[],o=0;o<n.length;o++){var a=n[o];(s=r[a.id]).refs--,i.push(s)}for(e&&l(u(e),t),o=0;o<i.length;o++){var s;if(0===(s=i[o]).refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete r[s.id]}}}};var f,h=(f=[],function(e,t){return f[e]=t,f.filter(Boolean).join("\n")});function p(e,t,r,n){var i=r?"":n.css;if(e.styleSheet)e.styleSheet.cssText=h(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function m(e,t){var r=t.css,n=t.media;if(t.sourceMap,n&&e.setAttribute("media",n),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}function g(e,t){var r=t.css,n=(t.media,t.sourceMap);n&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var i=new Blob([r],{type:"text/css"}),o=e.href;e.href=URL.createObjectURL(i),o&&URL.revokeObjectURL(o)}}])},e.exports=n(r(0))},function(module,exports,__webpack_require__){var factory;window,factory=function(__WEBPACK_EXTERNAL_MODULE_clappr__){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s="./src/main.js")}({"./node_modules/css-loader/dist/runtime/api.js":
/*!*****************************************************!*\
!*** ./node_modules/css-loader/dist/runtime/api.js ***!
\*****************************************************/
@@ -1447,5 +1447,5 @@ function dc(){}function fc(){Mu?console.debug("EmeEncryptionSchemePolyfill: Alre
/*!******************************************************************************************!*\
!*** external {"amd":"clappr","commonjs":"clappr","commonjs2":"clappr","root":"Clappr"} ***!
\******************************************************************************************/
-/*! no static exports found */function(module,exports){eval("module.exports = __WEBPACK_EXTERNAL_MODULE_clappr__;\n\n//# sourceURL=webpack://AudioTrackSelector/external_%7B%22amd%22:%22clappr%22,%22commonjs%22:%22clappr%22,%22commonjs2%22:%22clappr%22,%22root%22:%22Clappr%22%7D?")}}).default},module.exports=factory(__webpack_require__(0))},function(e,t,r){var n=r(5),i=r(6);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1},a=(n(i,o),i.locals?i.locals:{});e.exports=a},function(e,t,r){"use strict";var n,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function s(e){for(var t=-1,r=0;r<a.length;r++)if(a[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},n=[],i=0;i<e.length;i++){var o=e[i],l=t.base?o[0]+t.base:o[0],u=r[l]||0,c="".concat(l," ").concat(u);r[l]=u+1;var d=s(c),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:c,updater:g(f,t),references:1}),n.push(c)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var i=r.nc;i&&(n.nonce=i)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,r,n){var i=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function h(e,t,r){var n=r.css,i=r.media,o=r.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,m=0;function g(e,t){var r,n,i;if(t.singleton){var o=m++;r=p||(p=u(t)),n=f.bind(null,r,o,!1),i=f.bind(null,r,o,!0)}else r=u(t),n=h.bind(null,r,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var i=s(r[n]);a[i].references--}for(var o=l(e,t),u=0;u<r.length;u++){var c=s(r[u]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}r=o}}}},function(e,t,r){(t=r(7)(!1)).push([e.i,"button.media-control-button[data-hd-indicator]{display:none !important}\n",""]),e.exports=t},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var i=(a=n,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([i]).join("\n")}var a,s,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},function(e,t,r){"use strict";r.r(t),r.d(t,"Player",(function(){return x})),r.d(t,"Mediator",(function(){return n.Mediator})),r.d(t,"Events",(function(){return n.Events})),r.d(t,"Browser",(function(){return n.Browser})),r.d(t,"PlayerInfo",(function(){return n.PlayerInfo})),r.d(t,"MediaControl",(function(){return n.MediaControl})),r.d(t,"ContainerPlugin",(function(){return n.ContainerPlugin})),r.d(t,"UIContainerPlugin",(function(){return n.UIContainerPlugin})),r.d(t,"CorePlugin",(function(){return n.CorePlugin})),r.d(t,"UICorePlugin",(function(){return n.UICorePlugin})),r.d(t,"Playback",(function(){return n.Playback})),r.d(t,"Container",(function(){return n.Container})),r.d(t,"Core",(function(){return n.Core})),r.d(t,"PlayerError",(function(){return n.PlayerError})),r.d(t,"Loader",(function(){return n.Loader})),r.d(t,"BaseObject",(function(){return n.BaseObject})),r.d(t,"UIObject",(function(){return n.UIObject})),r.d(t,"Utils",(function(){return n.Utils})),r.d(t,"BaseFlashPlayback",(function(){return n.BaseFlashPlayback})),r.d(t,"Flash",(function(){return n.Flash})),r.d(t,"FlasHLS",(function(){return n.FlasHLS})),r.d(t,"HLS",(function(){return n.HLS})),r.d(t,"HTML5Audio",(function(){return n.HTML5Audio})),r.d(t,"HTML5Video",(function(){return n.HTML5Video})),r.d(t,"HTMLImg",(function(){return n.HTMLImg})),r.d(t,"NoOp",(function(){return n.NoOp})),r.d(t,"ClickToPausePlugin",(function(){return n.ClickToPausePlugin})),r.d(t,"DVRControls",(function(){return n.DVRControls})),r.d(t,"Favicon",(function(){return n.Favicon})),r.d(t,"Log",(function(){return n.Log})),r.d(t,"Poster",(function(){return n.Poster})),r.d(t,"SpinnerThreeBouncePlugin",(function(){return n.SpinnerThreeBouncePlugin})),r.d(t,"WaterMarkPlugin",(function(){return n.WaterMarkPlugin})),r.d(t,"Styler",(function(){return n.Styler})),r.d(t,"Vendor",(function(){return n.Vendor})),r.d(t,"version",(function(){return n.version})),r.d(t,"template",(function(){return n.template})),r.d(t,"$",(function(){return n.$}));r(4);var n=r(0),i=r.n(n),o=r(1),a=r.n(o),s=r(2),l=r.n(s),u=r(3),c=r.n(u);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(n,e);var t,r=(t=n,function(){var e,r=v(t);if(y()){var n=v(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return g(this,e)});function n(){var e;f(this,n);for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return(e=r.call.apply(r,[this].concat(i))).timeout=1,e.max_timeout=10,e}return p(n,[{key:"name",get:function(){return"error_plugin"}},{key:"background",get:function(){return"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%22%20height%3D%22100%22%20viewBox%3D%220%200%2026.458318%2026.458333%22%3E%3Cpath%20d%3D%22M13.23.302C6.07.302.264%206.107.264%2013.267a12.965%2012.965%200%200%200%20.847%204.595c.19-.497.408-.982.682-1.438.14-.232.294-.457.396-.707.103-.25.15-.533.072-.792a1.362%201.362%200%200%200-.22-.404c-.092-.123-.192-.24-.275-.37a1.662%201.662%200%200%201-.255-1.12%201.5%201.5%200%200%201%20.58-.987c.28-.208.635-.3.985-.288a1.757%201.757%200%200%201%20.346.048c.452.11.852.393%201.148.75.368.447.584%201.01.637%201.586a3.574%203.574%200%200%201-.275%201.693c-.4.955-1.15%201.725-1.565%202.673-.338.775-.435%201.638-.39%202.483.007.077.018.155.025.234a12.965%2012.965%200%200%200%203.62%203.18%2017.63%2017.63%200%200%201-.13-2.11c.002-.56.03-1.12.085-1.675-.34-.236-.65-.51-.87-.86-.392-.62-.466-1.408-.305-2.124.16-.717.54-1.37.997-1.945a7.833%207.833%200%200%201%202.835-2.223%2010.305%2010.305%200%200%201-.09-.126%204.854%204.854%200%200%201-.702-2.176c-.06-.777.064-1.554.115-2.33.037-.543.04-1.085.07-1.627.038-.627.114-1.255.29-1.858a2.36%202.36%200%200%201%20.266-.63%201.4%201.4%200%200%201%20.594-.514c.274-.108.51-.132.776-.087.22.046.425.156.604.294.18.138.335.304.48.477a7.298%207.298%200%200%201%201.04%201.617%203.57%203.57%200%200%201%201.09%200%207.287%207.287%200%200%201%201.04-1.616%203.21%203.21%200%200%201%20.48-.476c.18-.14.383-.248.604-.295a1.268%201.268%200%200%201%20.78.086%201.402%201.402%200%200%201%20.595.517c.124.19.202.408.266.626.175.602.252%201.23.29%201.856.03.543.033%201.087.07%201.628.05.777.175%201.554.116%202.33a4.855%204.855%200%200%201-.705%202.178c-.03.05-.07.096-.103.145.247.278.598.513.898.614a1.956%201.956%200%200%200%201.05.044%201.65%201.65%200%200%200%20.533-.226%201.253%201.253%200%200%200%20.397-.418c.118-.21.166-.45.192-.687.067-.61%200-1.224-.05-1.835-.034-.396-.062-.8.027-1.187.06-.26.177-.518.373-.7a1.106%201.106%200%200%201%20.465-.255%201.312%201.312%200%200%201%20.53-.03c.38.057.736.274.948.594.12.18.194.39.238.604.044.213.06.43.072.648.04.76.04%201.522.018%202.284-.018.665-.055%201.348-.32%201.957-.343.782-1.032%201.366-1.775%201.786a7.052%207.052%200%200%201-1.588.647c.482%201.54.733%203.24.733%204.968a17.6%2017.6%200%200%201-.135%202.125%2012.964%2012.964%200%200%200%206.384-11.152c0-7.16-5.806-12.965-12.965-12.965zM9.602%2016.284v1.483a1.88%201.88%200%200%201%201.083.362%201.738%201.738%200%200%201%20.556.68c.122.27.166.576.116.868a1.493%201.493%200%200%201-.332.708%201.647%201.647%200%200%201-.635.458%201.738%201.738%200%200%201-.787.122v3.73l7.762-4.208-7.762-4.204z%22%20fill%3D%22%23999%22%2F%3E%3C%2Fsvg%3E"}}]),p(n,[{key:"bindEvents",value:function(){this.listenTo(this.container,i.a.Events.CONTAINER_ERROR,this.onError)}},{key:"hide",value:function(){this._err&&this._err.remove()}},{key:"show",value:function(){var e=i.a.$;this.hide();var t="A fatal error occured.";this.options.errorPlugin&&this.options.errorPlugin.text&&(t=this.options.errorPlugin.text),this._err=e("<div>").css({position:"absolute","z-index":"999",width:"100%",height:"100%","background-image":"url("+this.background+")","background-size":"18%","background-repeat":"no-repeat","background-color":"black","background-position":"center","text-align":"center","font-weight":"bold",color:"#eee"});var r=e("<div>").css({position:"absolute",width:"100%","padding-bottom":"5%",bottom:0}).append(e("<h2>").text(t).css({"font-size":"200%"})).append(e("<p>").text("We will be right back").css({"font-size":"120%",margin:"15px"}));this._err.append(r),this.container&&this.container.$el.prepend(this._err)}},{key:"onError",value:function(e){var t=this;if(this.container){var r=this.options.errorPlugin.onError;!r||"function"!=typeof r||r(e,(function(){t.hide(),t.container.getPlugin("click_to_pause").enable()}))?(this.show(),this.container.getPlugin("click_to_pause").disable()):console.log("skipping overlay")}}}]),n}(i.a.ContainerPlugin);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(e,t){return!t||"object"!==_(t)&&"function"!=typeof t?S(e):t}function S(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E(e,t)}(u,e);var t,r,i,o,s=(t=u,function(){var e,r=k(t);if(w()){var n=k(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return T(this,e)});function u(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=s.call(this)).timeout=5,t.maxTimeout=15;var r=t._options=t._buildConfig(e),i=t._player=new n.Player(r);return t.attachTo=i.attachTo.bind(i),i.core&&i.core.isReady?t._addEventListeners():t.listenToOnce(i,n.Events.PLAYER_READY,t._addEventListeners.bind(S(t))),t}return r=u,(i=[{key:"_buildConfig",value:function(e){var t,r,n,i,o=[c.a,l.a,a.a,b];return e.plugins&&e.plugins.length&&(o=o.concat(e.plugins),console.log("loading plugins"),o.forEach((function(e){return console.log(e.name,e.type)}))),e.vocStream&&(r=e.vocStream,n=e.audioOnly,i="MediaSource"in window,console.log("vp9/vorbis",i&&MediaSource.isTypeSupported('video/webm; codecs="vp9,vorbis"'),"vp9/opus",i&&MediaSource.isTypeSupported('video/webm; codecs="vp9,opus"')),t=i&&MediaSource.isTypeSupported('video/webm; codecs="vp9,opus"')?{source:"//cdn.c3voc.de/dash/".concat(r,"/manifest.mpd")}:n||!i&&""==document.createElement("video").canPlayType("application/vnd.apple.mpegURL")?n?{source:"//cdn.c3voc.de/".concat(r,"_native.mp3"),mimeType:"audio/mp3"}:{source:"//cdn.c3voc.de/".concat(r,"_native_hd.webm"),mimeType:"video/webm"}:{source:"//cdn.c3voc.de/hls/".concat(r,"_native_hd.m3u8"),mimeType:"application/vnd.apple.mpegURL"},delete e.vocStream),Object.assign({source:t,width:"100%",height:"100%",disableErrorScreen:!0,shakaConfiguration:{abr:{defaultBandwidthEstimate:1e6},streaming:{jumpLargeGaps:!0},manifest:{dash:{defaultPresentationDelay:3,ignoreSuggestedPresentationDelay:!0}}},audioTrackSelectorConfig:{title:"Language"},levelSelectorConfig:{labelCallback:function(e,t){var r=e.videoBandwidth||e.level.bitrate;return r<=1e5?"Slides":r<=8e5?"SD":"HD"},title:"Quality"},errorPlugin:{text:"Stream offline",onError:this._handleError.bind(this)}},e,{plugins:o})}},{key:"_containerChanged",value:function(){this.stopListening(),this._addEventListeners()}},{key:"_addEventListeners",value:function(){var e=this._player.core;this._container=e.activeContainer,this.listenTo(this._player,n.Events.PLAYER_PLAY,this._handlePlay),this.listenTo(this._player,n.Events.PLAYER_STOP,this._handleStop),this.listenTo(e,n.Events.CORE_ACTIVE_CONTAINER_CHANGED,this._containerChanged),this.listenTo(this._container,n.Events.CONTAINER_STATE_BUFFERFULL,this._handleBufferFull),this.listenTo(this._container,n.Events.CONTAINER_OPTIONS_CHANGE,(function(){console.log("options changed")}))}},{key:"_getTimeout",value:function(){var e=.6*this.timeout+.4*this.timeout*Math.random();return this.timeout=Math.min(2*this.timeout,this.maxTimeout),e}},{key:"_resetTimeout",value:function(){this.timeout=5}},{key:"_handleError",value:function(e,t){this._recovery?clearTimeout(this._recovery.timeout):this._player.stop();var r=this._getTimeout();return console.log("got error",e.code,"retrying in ".concat(Math.round(r),"s")),this._recovery={clearOverlay:t,state:"restarting",timeout:setTimeout(this._waitForMedia.bind(this),1e3*r)},!0}},{key:"_handlePlay",value:function(){this._recovery&&(console.log("soft recovery: play"),this._recovery.clearOverlay(),clearTimeout(this._recovery.timeout),this._recovery=null),this._resetTimeout()}},{key:"_handleStop",value:function(e){this._recovery&&this._container&&(console.log("soft recovery: stop"),this._container.playback.play.call(this._container.playback))}},{key:"_handleBufferFull",value:function(){if(this._recovery){console.log("seeking to end for recovery");var e=Math.max(this._player.getDuration()-6,0);this._player.seek(e)}}},{key:"_handleMediaCheck",value:function(e){if(e)console.log("try playing again, media should be available"),this._player.play();else{var t=this._getTimeout();console.log("test for media failed, retrying in ~".concat(Math.round(t),"s")),setTimeout(this._waitForMedia.bind(this),1e3*t)}}},{key:"_waitForMedia",value:function(){var e=this._player.options.source;e&&e.source&&(e=e.source),"string"==typeof e?function(e,t){if(!t||"function"!=typeof t)throw new Error("Excepted function, got '".concat(t,"'"));var r=new XMLHttpRequest;r.onreadystatechange=function(){this.readyState===XMLHttpRequest.HEADERS_RECEIVED&&(200===this.status?t(!0):t(!1),r.abort())},r.open("GET",e,!0),r.send(null)}(e,this._handleMediaCheck.bind(this)):this.reset()}},{key:"reset",value:function(){console.log("performing hard reset"),this._recovery=null;var e=0==this._player.getVolume();e||this._player.mute(),this._player.configure({source:this._player.options.source,autoPlay:!0}),e||this._player.unmute()}}])&&A(r.prototype,i),o&&A(r,o),u}(n.BaseObject)}])}));
+/*! no static exports found */function(module,exports){eval("module.exports = __WEBPACK_EXTERNAL_MODULE_clappr__;\n\n//# sourceURL=webpack://AudioTrackSelector/external_%7B%22amd%22:%22clappr%22,%22commonjs%22:%22clappr%22,%22commonjs2%22:%22clappr%22,%22root%22:%22Clappr%22%7D?")}}).default},module.exports=factory(__webpack_require__(0))},function(e,t,r){var n=r(5),i=r(6);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.i,i,""]]);var o={insert:"head",singleton:!1},a=(n(i,o),i.locals?i.locals:{});e.exports=a},function(e,t,r){"use strict";var n,i=function(){return void 0===n&&(n=Boolean(window&&document&&document.all&&!window.atob)),n},o=function(){var e={};return function(t){if(void 0===e[t]){var r=document.querySelector(t);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}e[t]=r}return e[t]}}(),a=[];function s(e){for(var t=-1,r=0;r<a.length;r++)if(a[r].identifier===e){t=r;break}return t}function l(e,t){for(var r={},n=[],i=0;i<e.length;i++){var o=e[i],l=t.base?o[0]+t.base:o[0],u=r[l]||0,c="".concat(l," ").concat(u);r[l]=u+1;var d=s(c),f={css:o[1],media:o[2],sourceMap:o[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:c,updater:g(f,t),references:1}),n.push(c)}return n}function u(e){var t=document.createElement("style"),n=e.attributes||{};if(void 0===n.nonce){var i=r.nc;i&&(n.nonce=i)}if(Object.keys(n).forEach((function(e){t.setAttribute(e,n[e])})),"function"==typeof e.insert)e.insert(t);else{var a=o(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var c,d=(c=[],function(e,t){return c[e]=t,c.filter(Boolean).join("\n")});function f(e,t,r,n){var i=r?"":n.media?"@media ".concat(n.media," {").concat(n.css,"}"):n.css;if(e.styleSheet)e.styleSheet.cssText=d(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function h(e,t,r){var n=r.css,i=r.media,o=r.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var p=null,m=0;function g(e,t){var r,n,i;if(t.singleton){var o=m++;r=p||(p=u(t)),n=f.bind(null,r,o,!1),i=f.bind(null,r,o,!0)}else r=u(t),n=h.bind(null,r,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(r)};return n(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;n(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var r=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var n=0;n<r.length;n++){var i=s(r[n]);a[i].references--}for(var o=l(e,t),u=0;u<r.length;u++){var c=s(r[u]);0===a[c].references&&(a[c].updater(),a.splice(c,1))}r=o}}}},function(e,t,r){(t=r(7)(!1)).push([e.i,"button.media-control-button[data-hd-indicator]{display:none !important}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar]{height:40px}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar]{height:2px;background-color:#ccc}.player-poster[data-poster] .play-wrapper[data-poster] svg path{fill:#ccc}.spinner-three-bounce[data-spinner]>div{background-color:#ccc}.clappr-watermark[data-watermark]{transition:opacity 0.5s ease-out}.clappr-watermark[data-watermark].clappr-watermark-hide{opacity:0}\n",""]),e.exports=t},function(e,t,r){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=function(e,t){var r=e[1]||"",n=e[3];if(!n)return r;if(t&&"function"==typeof btoa){var i=(a=n,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),o=n.sources.map((function(e){return"/*# sourceURL=".concat(n.sourceRoot||"").concat(e," */")}));return[r].concat(o).concat([i]).join("\n")}var a,s,l;return[r].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(i[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);n&&i[l[0]]||(r&&(l[2]?l[2]="".concat(r," and ").concat(l[2]):l[2]=r),t.push(l))}},t}},function(e,t,r){"use strict";r.r(t),r.d(t,"Player",(function(){return x})),r.d(t,"Mediator",(function(){return n.Mediator})),r.d(t,"Events",(function(){return n.Events})),r.d(t,"Browser",(function(){return n.Browser})),r.d(t,"PlayerInfo",(function(){return n.PlayerInfo})),r.d(t,"MediaControl",(function(){return n.MediaControl})),r.d(t,"ContainerPlugin",(function(){return n.ContainerPlugin})),r.d(t,"UIContainerPlugin",(function(){return n.UIContainerPlugin})),r.d(t,"CorePlugin",(function(){return n.CorePlugin})),r.d(t,"UICorePlugin",(function(){return n.UICorePlugin})),r.d(t,"Playback",(function(){return n.Playback})),r.d(t,"Container",(function(){return n.Container})),r.d(t,"Core",(function(){return n.Core})),r.d(t,"PlayerError",(function(){return n.PlayerError})),r.d(t,"Loader",(function(){return n.Loader})),r.d(t,"BaseObject",(function(){return n.BaseObject})),r.d(t,"UIObject",(function(){return n.UIObject})),r.d(t,"Utils",(function(){return n.Utils})),r.d(t,"BaseFlashPlayback",(function(){return n.BaseFlashPlayback})),r.d(t,"Flash",(function(){return n.Flash})),r.d(t,"FlasHLS",(function(){return n.FlasHLS})),r.d(t,"HLS",(function(){return n.HLS})),r.d(t,"HTML5Audio",(function(){return n.HTML5Audio})),r.d(t,"HTML5Video",(function(){return n.HTML5Video})),r.d(t,"HTMLImg",(function(){return n.HTMLImg})),r.d(t,"NoOp",(function(){return n.NoOp})),r.d(t,"ClickToPausePlugin",(function(){return n.ClickToPausePlugin})),r.d(t,"DVRControls",(function(){return n.DVRControls})),r.d(t,"Favicon",(function(){return n.Favicon})),r.d(t,"Log",(function(){return n.Log})),r.d(t,"Poster",(function(){return n.Poster})),r.d(t,"SpinnerThreeBouncePlugin",(function(){return n.SpinnerThreeBouncePlugin})),r.d(t,"WaterMarkPlugin",(function(){return n.WaterMarkPlugin})),r.d(t,"Styler",(function(){return n.Styler})),r.d(t,"Vendor",(function(){return n.Vendor})),r.d(t,"version",(function(){return n.version})),r.d(t,"template",(function(){return n.template})),r.d(t,"$",(function(){return n.$}));var n=r(0),i=r.n(n),o=r(1),a=r.n(o),s=r(2),l=r.n(s),u=r(3),c=r.n(u);r(4);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t,r){return t&&h(e.prototype,t),r&&h(e,r),e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(n,e);var t,r=(t=n,function(){var e,r=v(t);if(y()){var n=v(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return g(this,e)});function n(){var e;f(this,n);for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];return(e=r.call.apply(r,[this].concat(i))).timeout=1,e.max_timeout=10,e}return p(n,[{key:"name",get:function(){return"error_plugin"}},{key:"background",get:function(){return"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%22%20height%3D%22100%22%20viewBox%3D%220%200%2026.458318%2026.458333%22%3E%3Cpath%20d%3D%22M13.23.302C6.07.302.264%206.107.264%2013.267a12.965%2012.965%200%200%200%20.847%204.595c.19-.497.408-.982.682-1.438.14-.232.294-.457.396-.707.103-.25.15-.533.072-.792a1.362%201.362%200%200%200-.22-.404c-.092-.123-.192-.24-.275-.37a1.662%201.662%200%200%201-.255-1.12%201.5%201.5%200%200%201%20.58-.987c.28-.208.635-.3.985-.288a1.757%201.757%200%200%201%20.346.048c.452.11.852.393%201.148.75.368.447.584%201.01.637%201.586a3.574%203.574%200%200%201-.275%201.693c-.4.955-1.15%201.725-1.565%202.673-.338.775-.435%201.638-.39%202.483.007.077.018.155.025.234a12.965%2012.965%200%200%200%203.62%203.18%2017.63%2017.63%200%200%201-.13-2.11c.002-.56.03-1.12.085-1.675-.34-.236-.65-.51-.87-.86-.392-.62-.466-1.408-.305-2.124.16-.717.54-1.37.997-1.945a7.833%207.833%200%200%201%202.835-2.223%2010.305%2010.305%200%200%201-.09-.126%204.854%204.854%200%200%201-.702-2.176c-.06-.777.064-1.554.115-2.33.037-.543.04-1.085.07-1.627.038-.627.114-1.255.29-1.858a2.36%202.36%200%200%201%20.266-.63%201.4%201.4%200%200%201%20.594-.514c.274-.108.51-.132.776-.087.22.046.425.156.604.294.18.138.335.304.48.477a7.298%207.298%200%200%201%201.04%201.617%203.57%203.57%200%200%201%201.09%200%207.287%207.287%200%200%201%201.04-1.616%203.21%203.21%200%200%201%20.48-.476c.18-.14.383-.248.604-.295a1.268%201.268%200%200%201%20.78.086%201.402%201.402%200%200%201%20.595.517c.124.19.202.408.266.626.175.602.252%201.23.29%201.856.03.543.033%201.087.07%201.628.05.777.175%201.554.116%202.33a4.855%204.855%200%200%201-.705%202.178c-.03.05-.07.096-.103.145.247.278.598.513.898.614a1.956%201.956%200%200%200%201.05.044%201.65%201.65%200%200%200%20.533-.226%201.253%201.253%200%200%200%20.397-.418c.118-.21.166-.45.192-.687.067-.61%200-1.224-.05-1.835-.034-.396-.062-.8.027-1.187.06-.26.177-.518.373-.7a1.106%201.106%200%200%201%20.465-.255%201.312%201.312%200%200%201%20.53-.03c.38.057.736.274.948.594.12.18.194.39.238.604.044.213.06.43.072.648.04.76.04%201.522.018%202.284-.018.665-.055%201.348-.32%201.957-.343.782-1.032%201.366-1.775%201.786a7.052%207.052%200%200%201-1.588.647c.482%201.54.733%203.24.733%204.968a17.6%2017.6%200%200%201-.135%202.125%2012.964%2012.964%200%200%200%206.384-11.152c0-7.16-5.806-12.965-12.965-12.965zM9.602%2016.284v1.483a1.88%201.88%200%200%201%201.083.362%201.738%201.738%200%200%201%20.556.68c.122.27.166.576.116.868a1.493%201.493%200%200%201-.332.708%201.647%201.647%200%200%201-.635.458%201.738%201.738%200%200%201-.787.122v3.73l7.762-4.208-7.762-4.204z%22%20fill%3D%22%23999%22%2F%3E%3C%2Fsvg%3E"}}]),p(n,[{key:"bindEvents",value:function(){this.listenTo(this.container,i.a.Events.CONTAINER_ERROR,this.onError)}},{key:"hide",value:function(){this._err&&this._err.remove()}},{key:"show",value:function(){var e=i.a.$;this.hide();var t="A fatal error occured.";this.options.errorPlugin&&this.options.errorPlugin.text&&(t=this.options.errorPlugin.text),this._err=e("<div>").css({position:"absolute","z-index":"999",width:"100%",height:"100%","background-image":"url("+this.background+")","background-size":"18%","background-repeat":"no-repeat","background-color":"black","background-position":"center","text-align":"center","font-weight":"bold",color:"#eee"});var r=e("<div>").css({position:"absolute",width:"100%","padding-bottom":"5%",bottom:0}).append(e("<h2>").text(t).css({"font-size":"200%"})).append(e("<p>").text("We will be right back").css({"font-size":"120%",margin:"15px"}));this._err.append(r),this.container&&this.container.$el.prepend(this._err)}},{key:"onError",value:function(e){var t=this;if(this.container){var r=this.options.errorPlugin.onError;!r||"function"!=typeof r||r(e,(function(){t.hide(),t.container.getPlugin("click_to_pause").enable()}))?(this.show(),this.container.getPlugin("click_to_pause").disable()):console.log("skipping overlay")}}}]),n}(i.a.ContainerPlugin),_=function(e){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};new Headers;return fetch("https://media.ccc.de/graphql",{method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify({operationName:e,query:t,variables:r})}).then((function(e){var t=e.body.getReader(),r="",n=new TextDecoder("utf-8");return t.read().then((function e(i){var o=i.done,a=i.value;return o?JSON.parse(r):(r+=n.decode(a),t.read().then(e))}))}))}("LectureBySlug",'\n query LectureBySlug {\n lectureBySlug(slug: "'.concat(e,'") {\n originalLanguage\n videos {\n label\n url\n mimeType\n }\n }\n }\n ')).then((function(e){if(!e.data.lectureBySlug)throw new Error("Lecture could not be found");return e.data.lectureBySlug.videos.map((function(e){var t=e.label,r=e.url;return{label:t,mimeType:e.mimeType,source:r}}))}))};function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function E(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e,t){return!t||"object"!==A(t)&&"function"!=typeof t?w(e):t}function w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}(u,e);var t,r,i,o,s=(t=u,function(){var e,r=C(t);if(k()){var n=C(this).constructor;e=Reflect.construct(r,arguments,n)}else e=r.apply(this,arguments);return S(this,e)});function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=s.call(this)).timeout=5,t.maxTimeout=15,t._playerPromise=t._getConfig(e).then((function(e){return t._options=e,t._player=new n.Player(t._options),t._player.core&&t._player.core.isReady?t._addEventListeners():t.listenToOnce(t._player,n.Events.PLAYER_READY,t._addEventListeners.bind(w(t))),t._player})),t}return r=u,(i=[{key:"attachTo",value:function(){var e=arguments;this._playerPromise.then((function(t){t.attachTo.apply(t,e)}))}},{key:"_getConfig",value:function(e){var t=[c.a,l.a,a.a,b];e.plugins&&e.plugins.length&&(t=t.concat(e.plugins),console.log("loading plugins"),t.forEach((function(e){return console.log(e.name,e.type)})));var r,n=Promise.resolve({});return e.vocStream?n=function(e,t,r,n){var i="MediaSource"in window;console.log("vp9/vorbis",i&&MediaSource.isTypeSupported('video/webm; codecs="vp9,vorbis"'),"vp9/opus",i&&MediaSource.isTypeSupported('video/webm; codecs="vp9,opus"'));var o={levelSelectorConfig:{labelCallback:function(e){var t=e.videoBandwidth||e.level.bitrate;return t<=1e5?"Slides":t<=8e5?"SD":"HD"},title:"Quality"},disableErrorScreen:!0,errorPlugin:{text:"Stream offline",onError:n}};return i&&MediaSource.isTypeSupported('video/webm; codecs="vp9,opus"')?(o.source={source:"//cdn.c3voc.de/dash/".concat(e,"/manifest.mpd")},o.shakaConfiguration={preferredAudioLanguage:r,abr:{defaultBandwidthEstimate:1e6},streaming:{jumpLargeGaps:!0},manifest:{dash:{defaultPresentationDelay:3,ignoreSuggestedPresentationDelay:!0}}}):t||!i&&""==document.createElement("video").canPlayType("application/vnd.apple.mpegURL")?o.source=t?{source:"//cdn.c3voc.de/".concat(e,"_native.mp3"),mimeType:"audio/mp3"}:{source:"//cdn.c3voc.de/".concat(e,"_native_hd.webm"),mimeType:"video/webm"}:o.source={source:"//cdn.c3voc.de/hls/".concat(e,"_native_hd.m3u8"),mimeType:"application/vnd.apple.mpegURL"},Promise.resolve(o)}(e.vocStream,e.audioOnly,e.preferredAudioLanguage,this._handleError.bind(this)):e.vocLecture&&(r=e.vocLecture,n=_(r).then((function(e){return{sources:e,levelSelectorConfig:{labelCallback:function(e,t){console.log("labelCallback",arguments);var r=e.videoBandwidth||e.level.bitrate;return r<=1e5?"Slides":r<=8e5?"SD":"HD"},title:"Quality"}}})).catch((function(e){return console.log("Failed to fetch media sources",e),{playbackNotSupportedMessage:"".concat(e.message)}}))),n.then((function(r){return Object.assign({width:"100%",height:"100%",hideMediaControlDelay:1e3,position:"top-left",watermark:"data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%0A%3Csvg%0A%20%20%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%0A%20%20%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%0A%20%20%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%0A%20%20%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20id%3D%22svg4568%22%0A%20%20%20version%3D%221.1%22%0A%20%20%20viewBox%3D%220%200%2026.458318%2026.458333%22%0A%20%20%20height%3D%22100%22%0A%20%20%20width%3D%22100%22%3E%0A%20%20%3Cmetadata%0A%20%20%20%20%20id%3D%22metadata4574%22%3E%0A%20%20%20%20%3Crdf%3ARDF%3E%0A%20%20%20%20%20%20%3Ccc%3AWork%0A%20%20%20%20%20%20%20%20%20rdf%3Aabout%3D%22%22%3E%0A%20%20%20%20%20%20%20%20%3Cdc%3Aformat%3Eimage%2Fsvg%2Bxml%3C%2Fdc%3Aformat%3E%0A%20%20%20%20%20%20%20%20%3Cdc%3Atype%0A%20%20%20%20%20%20%20%20%20%20%20rdf%3Aresource%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fdcmitype%2FStillImage%22%20%2F%3E%0A%20%20%20%20%20%20%20%20%3Cdc%3Atitle%3E%3C%2Fdc%3Atitle%3E%0A%20%20%20%20%20%20%3C%2Fcc%3AWork%3E%0A%20%20%20%20%3C%2Frdf%3ARDF%3E%0A%20%20%3C%2Fmetadata%3E%0A%20%20%3Cdefs%0A%20%20%20%20%20id%3D%22defs4572%22%20%2F%3E%0A%20%20%3Cpath%0A%20%20%20%20%20style%3D%22fill%3A%23ffffff%3Bfill-opacity%3A0.8627451%3Bstroke-width%3A0.79176539%22%0A%20%20%20%20%20id%3D%22path4566%22%0A%20%20%20%20%20d%3D%22m%2012.91039%2C7.1445417%20c%20-5.6690402%2C0%20-10.2660306%2C4.5961993%20-10.2660306%2C10.2652403%20a%2010.265238%2C10.265238%200%200%200%200.6706253%2C3.63816%20c%200.1504354%2C-0.393506%200.3230402%2C-0.777512%200.539984%2C-1.138557%200.1108472%2C-0.18369%200.2327789%2C-0.361837%200.313539%2C-0.559779%200.081551%2C-0.197941%200.1187648%2C-0.42201%200.057007%2C-0.627078%20A%201.0783844%2C1.0783844%200%200%200%204.0513264%2C18.402655%20C%203.9784841%2C18.305267%203.8993075%2C18.212631%203.833591%2C18.109702%20A%201.3159141%2C1.3159141%200%200%201%203.6316909%2C17.222924%201.1876481%2C1.1876481%200%200%201%204.0909148%2C16.441452%20c%200.2216944%2C-0.164688%200.5027709%2C-0.23753%200.7798889%2C-0.228028%20a%201.3911318%2C1.3911318%200%200%201%200.2739508%2C0.03801%20c%200.3578779%2C0.08709%200.6745841%2C0.311164%200.9089467%2C0.593824%200.2913696%2C0.353919%200.462391%2C0.799683%200.5043546%2C1.25574%20a%202.8297696%2C2.8297696%200%200%201%20-0.2177355%2C1.34046%20C%206.0236142%2C20.197593%205.42979%2C20.807252%205.1012074%2C21.557847%204.8335907%2C22.171464%204.7567894%2C22.854758%204.7924189%2C23.5238%20c%200.00554%2C0.06096%200.014251%2C0.122723%200.019794%2C0.185272%20a%2010.265238%2C10.265238%200%200%200%202.866191%2C2.517815%2013.958824%2C13.958824%200%200%201%20-0.1029298%2C-1.670626%20c%200.00161%2C-0.443389%200.023751%2C-0.886777%200.067304%2C-1.326206%20C%207.3735785%2C23.043191%207.1281312%2C22.826248%206.9539421%2C22.54913%206.6435705%2C22.058235%206.5849797%2C21.434324%206.712454%2C20.867421%206.8391365%2C20.299724%207.1400069%2C19.782702%207.5018439%2C19.327437%20A%206.2018984%2C6.2018984%200%200%201%209.7464993%2C17.567343%208.1591425%2C8.1591425%200%200%201%209.6752356%2C17.46758%203.8432293%2C3.8432293%200%200%201%209.1194163%2C15.744698%20c%20-0.047503%2C-0.615201%200.050669%2C-1.230403%200.091055%2C-1.844814%200.02929%2C-0.429928%200.031672%2C-0.859064%200.055423%2C-1.288201%200.030084%2C-0.496437%200.090261%2C-0.993667%200.2296124%2C-1.471101%20a%201.8685664%2C1.8685664%200%200%201%200.21061%2C-0.498812%201.1084716%2C1.1084716%200%200%201%200.4703083%2C-0.406968%20c%200.216945%2C-0.0855%200.403801%2C-0.104512%200.614411%2C-0.06888%200.174189%2C0.03642%200.3365%2C0.123516%200.478227%2C0.232779%200.142518%2C0.109264%200.26524%2C0.240698%200.380047%2C0.377673%20a%205.7783039%2C5.7783039%200%200%201%200.823436%2C1.280285%202.8266025%2C2.8266025%200%200%201%200.863024%2C0%205.7695944%2C5.7695944%200%200%201%200.823436%2C-1.279493%202.5415669%2C2.5415669%200%200%201%200.380047%2C-0.376881%20c%200.142518%2C-0.110847%200.303246%2C-0.196358%200.478227%2C-0.23357%20a%201.0039585%2C1.0039585%200%200%201%200.617577%2C0.06809%201.1100551%2C1.1100551%200%200%201%200.4711%2C0.409343%20c%200.09818%2C0.150436%200.159936%2C0.323041%200.21061%2C0.495645%200.138558%2C0.476643%200.199525%2C0.973872%200.229612%2C1.469517%200.02375%2C0.429928%200.02612%2C0.860649%200.05542%2C1.288995%200.0396%2C0.615201%200.138559%2C1.230403%200.09185%2C1.844813%20a%203.844021%2C3.844021%200%200%201%20-0.558194%2C1.724465%20c%20-0.02375%2C0.0396%20-0.05542%2C0.076%20-0.08154%2C0.114805%200.195565%2C0.220111%200.473476%2C0.406176%200.711006%2C0.486144%20a%201.5486932%2C1.5486932%200%200%200%200.831353%2C0.03484%201.3064129%2C1.3064129%200%200%200%200.42201%2C-0.17894%200.99208205%2C0.99208205%200%200%200%200.314331%2C-0.330957%20c%200.09343%2C-0.166272%200.131433%2C-0.356295%200.152019%2C-0.543944%200.05305%2C-0.482977%200%2C-0.96912%20-0.0396%2C-1.452889%20-0.02692%2C-0.313539%20-0.04909%2C-0.633412%200.02138%2C-0.939826%200.0475%2C-0.205858%200.140142%2C-0.410133%200.295328%2C-0.554235%20a%200.87569253%2C0.87569253%200%200%201%200.36817%2C-0.2019%201.0387963%2C1.0387963%200%200%201%200.419637%2C-0.02375%20c%200.30087%2C0.04514%200.582739%2C0.216942%200.750593%2C0.470308%200.09502%2C0.142517%200.153603%2C0.308788%200.18844%2C0.478226%200.03484%2C0.168646%200.0475%2C0.340459%200.05701%2C0.513064%200.03167%2C0.601741%200.03167%2C1.205067%200.01426%2C1.808392%20-0.01426%2C0.526524%20-0.04355%2C1.0673%20-0.253366%2C1.549486%20-0.271575%2C0.619159%20-0.817101%2C1.08155%20-1.405383%2C1.414092%20a%205.5835296%2C5.5835296%200%200%201%20-1.257323%2C0.512272%20c%200.38163%2C1.219319%200.580363%2C2.56532%200.580363%2C3.93349%20a%2013.935071%2C13.935071%200%200%201%20-0.106901%2C1.682498%2010.264446%2C10.264446%200%200%200%205.054631%2C-8.829768%20c%200%2C-5.669041%20-4.59699%2C-10.2652391%20-10.265238%2C-10.2652391%20z%20M%2010.037865%2C19.798537%20v%201.174188%20a%201.488519%2C1.488519%200%200%201%200.857482%2C0.286619%201.3760882%2C1.3760882%200%200%201%200.440222%2C0.538402%20c%200.0966%2C0.213775%200.131432%2C0.456056%200.09184%2C0.687252%20a%201.1821057%2C1.1821057%200%200%201%20-0.262867%2C0.560568%201.3040376%2C1.3040376%200%200%201%20-0.502772%2C0.36263%201.3760882%2C1.3760882%200%200%201%20-0.623119%2C0.0966%20v%202.953287%20l%206.145683%2C-3.33175%20-6.145683%2C-3.328583%20z%22%20%2F%3E%0A%3C%2Fsvg%3E",watermarkLink:"https://c3voc.de",levelSelectorConfig:{labelCallback:function(e){var t="unknown";return e.height?t=e.height:e.level&&e.level.height&&(t=e.level.height),t+"p"},title:"Quality"},audioTrackSelectorConfig:{title:"Language"}},r,e,{plugins:t})}))}},{key:"_containerChanged",value:function(){this.stopListening(),this._addEventListeners()}},{key:"_addEventListeners",value:function(){var e=this._player.core;this._container=e.activeContainer,this.listenTo(this._player,n.Events.PLAYER_PLAY,this._handlePlay),this.listenTo(this._player,n.Events.PLAYER_STOP,this._handleStop),this.listenTo(e,n.Events.CORE_ACTIVE_CONTAINER_CHANGED,this._containerChanged),this.listenTo(this._container,n.Events.CONTAINER_STATE_BUFFERFULL,this._handleBufferFull),this.listenTo(this._container,n.Events.CONTAINER_MEDIACONTROL_HIDE,this._handleMediaControlHide),this.listenTo(this._container,n.Events.CONTAINER_MEDIACONTROL_SHOW,this._handleMediaControlShow)}},{key:"_handleMediaControlHide",value:function(){this._container.$el.find(".clappr-watermark[data-watermark]").addClass("clappr-watermark-hide")}},{key:"_handleMediaControlShow",value:function(){this._container.$el.find(".clappr-watermark[data-watermark]").removeClass("clappr-watermark-hide")}},{key:"_getTimeout",value:function(){var e=.6*this.timeout+.4*this.timeout*Math.random();return this.timeout=Math.min(2*this.timeout,this.maxTimeout),e}},{key:"_resetTimeout",value:function(){this.timeout=5}},{key:"_handleError",value:function(e,t){this._recovery?clearTimeout(this._recovery.timeout):this._player.stop();var r=this._getTimeout();return console.log("got error",e.code,"retrying in ".concat(Math.round(r),"s")),this._recovery={clearOverlay:t,state:"restarting",timeout:setTimeout(this._waitForMedia.bind(this),1e3*r)},!0}},{key:"_handlePlay",value:function(){this._recovery&&(console.log("soft recovery: play"),this._recovery.clearOverlay(),clearTimeout(this._recovery.timeout),this._recovery=null),this._resetTimeout()}},{key:"_handleStop",value:function(e){this._recovery&&this._container&&(console.log("soft recovery: stop"),this._container.playback.play.call(this._container.playback))}},{key:"_handleBufferFull",value:function(){if(this._recovery){console.log("seeking to end for recovery");var e=Math.max(this._player.getDuration()-6,0);this._player.seek(e)}}},{key:"_handleMediaCheck",value:function(e){if(e)console.log("try playing again, media should be available"),this._player.play();else{var t=this._getTimeout();console.log("test for media failed, retrying in ~".concat(Math.round(t),"s")),setTimeout(this._waitForMedia.bind(this),1e3*t)}}},{key:"_waitForMedia",value:function(){var e=this._player.options.source;e&&e.source&&(e=e.source),"string"==typeof e?function(e,t){if(!t||"function"!=typeof t)throw new Error("Excepted function, got '".concat(t,"'"));var r=new XMLHttpRequest;r.onreadystatechange=function(){this.readyState===XMLHttpRequest.HEADERS_RECEIVED&&(200===this.status?t(!0):t(!1),r.abort())},r.open("GET",e,!0),r.send(null)}(e,this._handleMediaCheck.bind(this)):this.reset()}},{key:"reset",value:function(){console.log("performing hard reset"),this._recovery=null;var e=0==this._player.getVolume();e||this._player.mute(),this._player.configure({source:this._player.options.source,autoPlay:!0}),e||this._player.unmute()}}])&&E(r.prototype,i),o&&E(r,o),u}(n.BaseObject)}])}));
//# sourceMappingURL=player.js.map \ No newline at end of file
diff --git a/assets/voc-player/player.js.map b/assets/voc-player/player.js.map
index 1baf9db..84da258 100644
--- a/assets/voc-player/player.js.map
+++ b/assets/voc-player/player.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack://VOCPlayer/webpack/universalModuleDefinition","webpack://VOCPlayer/webpack/bootstrap","webpack://VOCPlayer/./node_modules/clappr/dist/clappr.js","webpack://VOCPlayer/./node_modules/@c3voc/dash-shaka-playback/dist/dash-shaka-playback.js","webpack://VOCPlayer/./node_modules/@c3voc/clappr-level-selector/dist/level-selector.js","webpack://VOCPlayer/./node_modules/@c3voc/clappr-audio-track-selector/dist/audio-track-selector.js","webpack://VOCPlayer/./src/public/style.scss?b6a1","webpack://VOCPlayer/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://VOCPlayer/./src/public/style.scss","webpack://VOCPlayer/./node_modules/css-loader/dist/runtime/api.js","webpack://VOCPlayer/./src/lib/error.js","webpack://VOCPlayer/./src/lib/player.js","webpack://VOCPlayer/./src/lib/util.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","default","instance","Constructor","TypeError","obj","_defineProperty","_defineProperty2","defineProperties","target","props","length","descriptor","configurable","writable","protoProps","staticProps","_assign","_assign2","arguments","source","_setPrototypeOf2","_interopRequireDefault","_create2","_typeof3","subClass","superClass","constructor","__proto__","_typeof2","self","ReferenceError","_from","_from2","arr","Array","isArray","arr2","_iterator2","_symbol2","_typeof","$","Zepto","classList","camelize","uniq","emptyArray","concat","filter","slice","document","elementDisplay","classCache","cssNumber","fragmentRE","singleTagRE","tagExpanderRE","rootNodeRE","capitalRE","methodAttributes","table","createElement","tableRow","containers","readyRE","simpleSelectorRE","class2type","toString","zepto","tempParent","propMap","type","String","isFunction","isWindow","isDocument","nodeType","DOCUMENT_NODE","isObject","isPlainObject","getPrototypeOf","likeArray","dasherize","str","replace","toLowerCase","classRE","RegExp","maybeAddPx","children","element","map","childNodes","node","Z","dom","selector","len","this","extend","deep","undefined","filtered","nodes","funcArg","context","arg","idx","payload","setAttribute","removeAttribute","className","klass","svg","baseVal","deserializeValue","test","parseJSON","e","traverseNode","fun","matches","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","match","parent","parentNode","temp","appendChild","qsa","indexOf","removeChild","chr","toUpperCase","array","item","fragment","html","properties","container","$1","innerHTML","each","attr","isZ","init","trim","find","ready","args","shift","forEach","found","maybeID","maybeClass","nameOnly","isSimple","getElementById","getElementsByClassName","getElementsByTagName","querySelectorAll","contains","documentElement","isEmptyObject","isNumeric","val","num","Number","isNaN","isFinite","inArray","elem","camelCase","uuid","support","expr","noop","elements","callback","values","push","fn","apply","grep","JSON","parse","split","reduce","sort","splice","toArray","el","readyState","body","addEventListener","size","remove","every","not","add","is","excludes","has","eq","first","last","$this","some","closest","collection","_","parents","ancestors","pluck","contents","contentDocument","siblings","child","empty","show","nodeName","display","style","getComputedStyle","getPropertyValue","replaceWith","newContent","before","wrap","structure","func","clone","index","wrapAll","cloneNode","append","wrapInner","unwrap","hide","css","toggle","setting","prev","next","originHtml","text","newText","textContent","join","result","getAttribute","removeAttr","attribute","prop","removeProp","data","attrName","multiple","selected","offset","coordinates","coords","parentOffset","offsetParent","top","left","getBoundingClientRect","pageXOffset","pageYOffset","width","Math","round","height","computedStyle","removeProperty","cssText","hasClass","addClass","cls","removeClass","toggleClass","when","scrollTop","hasScrollTop","scrollTo","scrollX","scrollLeft","hasScrollLeft","scrollY","position","parseFloat","detach","dimension","dimensionProperty","operator","operatorIndex","inside","argType","copyByClone","nextSibling","firstChild","parentInDocument","insertBefore","src","ownerDocument","defaultView","jsonpID","Date","rscript","scriptTypeRE","xmlTypeRE","blankRE","originAnchor","triggerGlobal","settings","eventName","global","event","Event","trigger","isDefaultPrevented","triggerAndReturn","ajaxBeforeSend","xhr","beforeSend","ajaxSuccess","deferred","success","resolveWith","ajaxComplete","ajaxError","error","rejectWith","status","complete","active","ajaxStop","appendQuery","url","query","parseArguments","dataType","href","location","ajaxJSONP","options","ajax","responseData","abortTimeout","_callbackName","jsonpCallback","callbackName","script","originalCallback","abort","errorType","triggerHandler","promise","on","clearTimeout","off","head","timeout","setTimeout","ajaxSettings","XMLHttpRequest","accepts","json","xml","crossDomain","processData","cache","dataFilter","urlAnchor","hashIndex","Deferred","ajaxStart","protocol","host","param","traditional","serializeData","hasPlaceholder","now","jsonp","mime","headers","setHeader","nativeSetHeader","setRequestHeader","mimeType","overrideMimeType","contentType","onreadystatechange","mimeToDataType","getResponseHeader","responseType","response","responseText","ajaxDataFilter","eval","responseXML","statusText","async","open","username","password","xhrFields","send","post","getJSON","load","parts","escape","encodeURIComponent","params","serialize","scope","hash","Callbacks","memory","fired","firing","firingStart","firingLength","firingIndex","list","stack","once","fire","stopOnFalse","disable","start","unique","disabled","lock","locked","fireWith","tuples","state","always","done","fail","then","fns","defer","tuple","returned","resolve","reject","progress","notify","stateString","sub","progressValues","progressContexts","resolveContexts","resolveValues","remain","updateFn","ctx","notifyWith","_zid","isString","handlers","specialEvents","focusinSupported","focus","blur","hover","mouseenter","mouseleave","zid","findHandlers","matcher","handler","sel","eventCapture","captureSetting","del","realEvent","events","delegator","capture","id","set","related","relatedTarget","proxy","compatible","isImmediatePropagationStopped","_args","preventDefault","stopPropagation","removeEventListener","click","mousedown","mouseup","mousemove","proxyFn","unshift","unbind","one","returnTrue","returnFalse","ignoreProperties","eventMethods","stopImmediatePropagation","predicate","sourceMethod","timeStamp","defaultPrevented","returnValue","getPreventDefault","createProxy","originalEvent","delegate","undelegate","live","die","autoRemove","evt","currentTarget","liveFired","dispatchEvent","createEvent","bubbles","initEvent","nativeGetComputedStyle","pseudoElement","oldQsa","oldMatches","visible","filters","hidden","checked","filterRe","childRe","classTag","process","exec","taggedParent","console","from","core","$JSON","stringify","it","assign","$Object","P","D","desc","getOwnPropertyDescriptor","keys","setPrototypeOf","f","toIObject","toLength","toIndex","IS_INCLUDES","fromIndex","O","cof","TAG","ARG","T","B","tryGet","callee","version","__e","$defineProperty","createDesc","aFunction","that","a","b","getKeys","gOPS","pIE","getSymbols","symbols","isEnum","$export","own","out","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","S","IS_PROTO","IS_BIND","IS_WRAP","W","expProto","C","Function","virtual","R","U","__g","dP","propertyIsEnumerable","Iterators","ITERATOR","ArrayProto","anObject","iterator","entries","ret","setToStringTag","IteratorPrototype","NAME","LIBRARY","redefine","$iterCreate","BUGGY","returnThis","Base","DEFAULT","IS_SET","FORCED","methods","getMethod","kind","proto","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","SAFE_CLOSING","riter","skipClosing","safe","iter","META","setDesc","isExtensible","FREEZE","preventExtensions","setMeta","w","meta","KEY","NEED","fastKey","getWeak","onFreeze","toObject","IObject","$assign","A","K","k","aLen","j","dPs","enumBugKeys","IE_PROTO","Empty","createDict","iframeDocument","iframe","contentWindow","write","lt","close","Properties","IE8_DOM_DEFINE","toPrimitive","Attributes","gOPD","gOPN","windowNames","getOwnPropertyNames","getWindowNames","$keys","hiddenKeys","getOwnPropertySymbols","ObjectProto","arrayIndexOf","names","fails","exp","bitmap","check","buggy","def","tag","stat","shared","uid","store","toInteger","defined","TO_STRING","pos","charCodeAt","charAt","max","min","ceil","floor","valueOf","px","random","wksExt","$Symbol","USE_SYMBOL","classof","getIteratorMethod","getIterator","iterFn","isArrayIter","createProperty","getIterFn","arrayLike","step","mapfn","mapping","addToUnscopables","iterated","_t","_i","_k","Arguments","$getOwnPropertyDescriptor","$at","point","DESCRIPTORS","$fails","wks","wksDefine","keyOf","enumKeys","_create","gOPNExt","$GOPD","$DP","_stringify","HIDDEN","TO_PRIMITIVE","SymbolRegistry","AllSymbols","OPSymbols","USE_NATIVE","QObject","setter","findChild","setSymbolDesc","protoDesc","sym","isSymbol","$defineProperties","$propertyIsEnumerable","E","$getOwnPropertyNames","$getOwnPropertySymbols","IS_OP","$set","keyFor","useSetter","useSimple","replacer","$replacer","TO_STRING_TAG","collections","Collection","useSourceMap","content","sourceMap","cssMapping","btoa","sourceMapping","unescape","sourceURLs","sources","sourceRoot","cssWithMappingToString","mediaQuery","alreadyImportedModules","prefix","Events","EE","addListener","emitter","listener","_events","_eventsCount","clearEvent","EventEmitter","eventNames","listeners","ee","listenerCount","emit","a1","a2","a3","a4","a5","removeListener","removeAllListeners","prefixed","_maxListeners","isUndefined","defaultMaxListeners","setMaxListeners","er","Error","err","newListener","warned","trace","g","evlistener","URL_REGEX","FIRST_SEGMENT_REGEX","SLASH_DOT_REGEX","SLASH_DOT_DOT_REGEX","URLToolkit","buildAbsoluteURL","baseURL","relativeURL","opts","alwaysNormalize","basePartsForNormalise","parseURL","path","normalizePath","buildURLFromParts","relativeParts","scheme","baseParts","netLoc","pathParts","builtParts","baseURLPath","newPath","substring","lastIndexOf","reverse","webpackBootstrapFunc","oe","ENTRY_MODULE","quoteRegExp","getModuleDependencies","queueName","retval","fnString","wrapperSignature","webpackRequireName","re","hasValuesInQueues","queues","hasValues","main","requiredModules","all","modulesQueue","seenModules","moduleToCheck","pop","newModules","newModulesKeys","getRequiredModules","entryModule","blob","Blob","bare","workerUrl","URL","webkitURL","mozURL","msURL","createObjectURL","worker","Worker","objectURL","abr_controller_1","buffer_controller_1","cap_level_controller_1","fps_controller_1","xhr_loader_1","audio_track_controller_1","audio_stream_controller_1","Cues","timeline_controller_1","subtitle_track_controller_1","subtitle_stream_controller_1","eme_controller_1","mediakeys_helper_1","hlsDefaultConfig","autoStartLoad","startPosition","defaultAudioCodec","debug","capLevelOnFPSDrop","capLevelToPlayerSize","initialLiveManifestSize","maxBufferLength","maxBufferSize","maxBufferHole","lowBufferWatchdogPeriod","highBufferWatchdogPeriod","nudgeOffset","nudgeMaxRetry","maxFragLookUpTolerance","liveSyncDurationCount","liveMaxLatencyDurationCount","Infinity","liveSyncDuration","liveMaxLatencyDuration","liveDurationInfinity","liveBackBufferLength","maxMaxBufferLength","enableWorker","enableSoftwareAES","manifestLoadingTimeOut","manifestLoadingMaxRetry","manifestLoadingRetryDelay","manifestLoadingMaxRetryTimeout","startLevel","levelLoadingTimeOut","levelLoadingMaxRetry","levelLoadingRetryDelay","levelLoadingMaxRetryTimeout","fragLoadingTimeOut","fragLoadingMaxRetry","fragLoadingRetryDelay","fragLoadingMaxRetryTimeout","startFragPrefetch","fpsDroppedMonitoringPeriod","fpsDroppedMonitoringThreshold","appendErrorMaxRetry","loader","fLoader","pLoader","xhrSetup","licenseXhrSetup","abrController","bufferController","capLevelController","fpsController","stretchShortVideoTrack","maxAudioFramesDrift","forceKeyFrameOnDiscontinuity","abrEwmaFastLive","abrEwmaSlowLive","abrEwmaFastVoD","abrEwmaSlowVoD","abrEwmaDefaultEstimate","abrBandWidthFactor","abrBandWidthUpFactor","abrMaxWithRealBitrate","maxStarvationDelay","maxLoadingDelay","minAutoBitrate","emeEnabled","widevineLicenseUrl","requestMediaKeySystemAccessFunc","requestMediaKeySystemAccess","subtitleStreamController","SubtitleStreamController","subtitleTrackController","timelineController","cueHandler","enableCEA708Captions","enableWebVTT","captionsTextTrack1Label","captionsTextTrack1LanguageCode","captionsTextTrack2Label","captionsTextTrack2LanguageCode","audioStreamController","audioTrackController","emeController","extendStatics","__extends","__","events_1","event_handler_1","buffer_helper_1","errors_1","logger_1","ewma_bandwidth_estimator_1","performance","AbrController","_super","hls","_this","FRAG_LOADING","FRAG_LOADED","FRAG_BUFFERED","ERROR","lastLoadedFragLevel","_nextAutoLevel","timer","_bwEstimator","onCheck","_abandonRulesCheck","destroy","clearTimer","onFragLoading","frag","fragCurrent","setInterval","hls_1","config","level","ewmaFast","ewmaSlow","levels","details","video","media","minAutoLevel","stats","aborted","logger","warn","paused","playbackRate","autoLevel","requestDelay","trequest","abs","duration","loadRate","bw","loaded","levelBitrate","realBitrate","bitrate","expectedLen","total","currentTime","fragLoadedDelay","bufferStarvationDelay","BufferHelper","bufferInfo","end","fragLevelNextLoadedDelay","nextLoadLevel","levelNextBitrate","toFixed","sample","FRAG_LOAD_EMERGENCY_ABORTED","onFragLoaded","sn","loadedBytes","bytes","loadedDuration","bitrateTest","tparsed","tbuffered","tload","onFragBuffered","fragLoadingProcessingMs","log","tfirst","bwEstimate","getEstimate","bitrateTestDelay","onError","ErrorDetails","FRAG_LOAD_ERROR","FRAG_LOAD_TIMEOUT","clearInterval","forcedAutoLevel","bwEstimator","canEstimate","nextABRAutoLevel","_nextABRAutoLevel","nextLevel","maxAutoLevel","currentLevel","currentFragDuration","avgbw","bestLevel","_findBestLevel","bwFactor","bwUpFactor","currentBw","maxFetchDuration","levelInfo","levelDetails","avgDuration","totalduration","fragments","adjustedbw","fetchDuration","binary_search_1","demuxer_1","LevelHelper","time_ranges_1","discontinuities_1","fragment_tracker_1","fragment_1","base_stream_controller_1","AudioStreamController","fragmentTracker","MEDIA_ATTACHED","MEDIA_DETACHING","AUDIO_TRACKS_UPDATED","AUDIO_TRACK_SWITCHING","AUDIO_TRACK_LOADED","KEY_LOADED","FRAG_PARSING_INIT_SEGMENT","FRAG_PARSING_DATA","FRAG_PARSED","BUFFER_RESET","BUFFER_CREATED","BUFFER_APPENDED","BUFFER_FLUSHED","INIT_PTS_FOUND","audioCodecSwap","_state","State","STOPPED","initPTS","waitingFragment","videoTrackCC","onHandlerDestroying","stopLoad","onHandlerDestroyed","onInitPtsFound","demuxerId","cc","WAITING_INIT_PTS","tick","startLoad","tracks","lastCurrentTime","fragLoadError","IDLE","STARTING","nextLoadPosition","removeFragment","fragPrevious","demuxer","nextState","previousState","doTick","track","trackDetails","PAUSED","BUFFER_FLUSHING","WAITING_TRACK","loadedmetadata","startFragRequested","mediaBuffer","videoBuffer","mainBufferInfo","bufferLen","bufferEnd_1","maxConfigBuffer","maxBufLen","audioSwitch","trackId","_streamEnded","BUFFER_EOS","ENDED","fragLen","PTSKnown","nextStart","initSegment","findFragWithCC","loadIdx","fragLoadIdx","nextBuffered","foundFrag","maxFragLookUpTolerance_1","fragNext","fragmentWithinToleranceTest","candidate","candidateLookupTolerance","search","endSN","startSN","encrypted","KEY_LOADING","getState","FragmentState","NOT_LOADED","FRAG_LOADING_WAITING_RETRY","retryDate","isSeeking","seeking","waitingFrag","waitingFragCC","PARSING","PARSED","onMediaAttached","onvseeking","onMediaSeeking","onvended","onMediaEnded","onMediaDetaching","ended","onvseeked","onAudioTracksUpdated","audioTracks","onAudioTrackSwitching","altAudio","onAudioTrackLoaded","newDetails","sliding","curDetails","mergeDetails","startTimeOffset","onKeyLoaded","fragLoaded","audioCodec","appended","initSegmentData","pendingBuffering","onFragParsingInitSegment","fragNew","audio","levelCodec","codec","BUFFER_CODECS","appendObj","pendingData","BUFFER_APPENDING","onFragParsingData","endPTS","startPTS","endDTS","startDTS","addElementaryStream","ElementaryStreamTypes","AUDIO","nb","updateFragPTSDTS","appendOnBufferFlush","startOffset","endOffset","POSITIVE_INFINITY","AUDIO_TRACK_SWITCHED","pendingData_1","ErrorTypes","MEDIA_ERROR","fatal","data1","data2","buffer","onFragParsed","_checkAppendedParsed","onBufferReset","onBufferCreated","audioTrack","onBufferAppended","pending","hls_2","buffered","frag_1","loadError","delay","pow","AUDIO_TRACK_LOAD_ERROR","AUDIO_TRACK_LOAD_TIMEOUT","KEY_LOAD_ERROR","KEY_LOAD_TIMEOUT","BUFFER_FULL_ERROR","isBuffered","onBufferFlushed","task_loop_1","AudioTrackController","MANIFEST_LOADING","MANIFEST_PARSED","LEVEL_LOADED","_trackId","_selectDefaultTrack","trackIdBlacklist","audioGroupId","onManifestLoading","onManifestParsed","hasInterval","updatePeriodMs","targetduration","onAudioTrackSwitched","groupId","onLevelLoaded","audioGroupIds","urlId","_selectInitialAudioTrack","NETWORK_ERROR","_handleLoadError","newId","_setAudioTrack","_loadTrackDetailsIfNeeded","_updateTrack","currentAudioTrack","defaultTracks","trackFound","traverseTracks","_needsTrackLoading","AUDIO_TRACK_LOADING","previousId","_a","language","WAITING_LEVEL","BaseStreamController","backtracked","fragState","PARTIAL","OK","tolerance","fragStartOffset","fragEndOffset","MediaSource","getMediaSource","BufferController","MEDIA_ATTACHING","LEVEL_PTS_UPDATED","LEVEL_UPDATED","_msDuration","_levelDuration","_levelTargetDuration","_live","_objectUrl","bufferCodecEventsExpected","onsbue","onSBUpdateEnd","onsbe","onSBUpdateError","pendingTracks","onLevelPtsUpdated","audioBuffer","sourceBuffer","timestampOffset","updating","audioTimestampOffset","onMediaAttaching","ms","mediaSource","onmso","onMediaSourceOpen","onmse","onMediaSourceEnded","onmsc","onMediaSourceClose","endOfStream","message","revokeObjectURL","flushRange","segments","MEDIA_DETACHED","checkPendingTracks","pendingTracksCount","createSourceBuffers","doAppending","_needsFlush","doFlush","_needsEos","checkEos","appending","counter","segment","timeRanges","streamType","updateMediaElementDuration","flushLiveBackBuffer","BUFFER_APPENDING_ERROR","sb","removeSourceBuffer","onBufferCodecs","trackName","addSourceBuffer","BUFFER_ADD_CODEC_ERROR","onBufferAppending","onBufferAppendFail","onBufferEos","sbobj","onBufferFlushing","flushBufferCounter","bufferTypes","targetBackBufferPosition","bufferType","removeBufferRange","onLevelUpdated","averagetargetduration","range","flushBuffer","appendBuffer","appendError","event_1","code","BUFFER_APPEND_ERROR","typeIn","bufStart","bufEnd","removeStart","removeEnd","CapLevelController","FPS_DROP_LEVEL_CAPPING","autoLevelCapping","firstLevel","restrictedLevels","_stopCapping","onFpsDropLevelCapping","isLevelAllowed","droppedLevel","HTMLVideoElement","_startCapping","onLevelsUpdated","detectPlayerSize","levelsLength","getMaxLevel","streamController","nextLevelSwitch","capLevelIndex","validLevels","getMaxLevelByMediaSize","mediaWidth","mediaHeight","clientWidth","offsetWidth","contentScaleFactor","clientHeight","offsetHeight","pixelRatio","devicePixelRatio","curLevel","maxLevelIndex","KeySystems","EMEController","_widevineLicenseUrl","_licenseXhrSetup","_emeEnabled","_requestMediaKeySystemAccess","_mediaKeysList","_media","_hasSetMediaKeys","_isMediaEncrypted","_requestLicenseFailureCount","getLicenseServerUrl","keySystem","KEY_SYSTEM_ERROR","KEY_SYSTEM_LICENSE_REQUEST_FAILED","_attemptKeySystemAccess","audioCodecs","videoCodecs","mediaKeySystemConfigs","drmSystemOptions","baseConfig","videoCapabilities","createWidevineMediaKeySystemConfigurations","getSupportedMediaKeySystemConfigurations","mediaKeySystemAccess","_onMediaKeySystemAccessObtained","catch","mediaKeysListItem","mediaKeys","mediaKeysSession","mediaKeysSessionInitialized","mediaKeySystemDomain","createMediaKeys","_onMediaKeysCreated","createSession","_onNewMediaKeySession","keySession","sessionId","_onKeySessionMessage","_requestLicense","update","_onMediaEncrypted","initDataType","initData","_mediaEncryptionInitDataType","_mediaEncryptionInitData","_attemptSetMediaKeys","_generateRequestWithPreferredKeySession","keysListItem","KEY_SYSTEM_NO_KEYS","setMediaKeys","KEY_SYSTEM_NO_ACCESS","KEY_SYSTEM_NO_SESSION","generateRequest","_createLicenseXhr","keyMessage","_onLicenseRequestReadyStageChange","attemptsLeft","_generateLicenseRequestChallenge","challenge","videoCodec","FPSController","isVideoPlaybackQualityAvailable","getVideoPlaybackQuality","checkFPSInterval","checkFPS","decodedFrames","droppedFrames","lastTime","currentPeriod","currentDropped","lastDroppedFrames","currentDecoded","lastDecodedFrames","droppedFPS","FPS_DROP","totalDroppedFrames","videoPlaybackQuality","totalVideoFrames","droppedVideoFrames","webkitDecodedFrameCount","webkitDroppedFrameCount","bufferEnd","deltaPTS","pdtWithinToleranceTest","pdtBufferEnd","endProgramDateTime","findFragmentByPDT","PDTValue","programDateTime","seg","findFragmentByPTS","APPENDING","FragmentTracker","bufferPadding","getBufferedFrag","levelType","bufferedFrags","fragmentEntity","bufferedFragKey","detectEvictedFragments","elementaryStream","timeRange","fragmentTimes","time","esData","isTimeBuffered","detectPartialFragments","fragKey","getFragmentKey","hasElementaryStream","getBufferedTimes","startTime","endTime","fragmentPartial","partial","getPartialFragment","timePadding","bestFragment","bestOverlap","isPartial","hasFragment","removeAllFragments","GapController","stallReported","poll","tnow","stalled","nudgeRetry","stalledDuration","_reportStall","_tryFixBufferStall","_trySkipBufferHole","_tryNudgeBuffer","BUFFER_STALLED_ERROR","lastEndTime","BUFFER_SEEK_OVER_HOLE","reason","targetTime","BUFFER_NUDGE_ON_STALL","id3_1","texttrack_utils_1","ID3TrackController","FRAG_PARSING_METADATA","id3Track","clearCurrentCues","getID3Track","textTracks","textTrack","label","sendAddTrackEvent","addTextTrack","onFragParsingMetadata","samples","Cue","WebKitDataCue","VTTCue","TextTrackCue","frames_1","getID3Frames","pts","frame","isTimeStampFrame","cue","addCue","chromeOrFirefox","codecs_1","level_helper_1","LevelController","MANIFEST_LOADED","canload","currentLevelIndex","manualLevelIndex","navigator","userAgent","_levels","levelRetryCount","loadLevel","onManifestLoaded","bitrateStart","levelSet","levelFromSet","videoCodecFound","audioCodecFound","attributes","attrs","fragmentError","addGroupId","SUBTITLES","isCodecSupportedInMp4","_firstLevel","MANIFEST_INCOMPATIBLE_CODECS_ERROR","newLevel","setLevelInternal","levelProperties","LEVEL_SWITCHING","LEVEL_LOADING","OTHER_ERROR","LEVEL_SWITCH_ERROR","_startLevel","configStartLevel","levelIndex","levelError","LEVEL_LOAD_ERROR","LEVEL_LOAD_TIMEOUT","REMUX_ALLOC_ERROR","recoverLevel","errorEvent","redundantLevels","errorDetails","levelRetry","nextAutoLevel","levelId","targetdurationMs","reloadInterval","findIndex","levelObject","updatePTS","fromIdx","toIdx","fragFrom","fragTo","fragToPTS","maxStartPTS","drift","fragIdx","textGroupIds","oldDetails","PTSFrag","delta","oldfragments","newfragments","ccOffset","oldFrag","newFrag","dropped","playlist_loader_1","fragment_finders_1","gap_controller_1","StreamController","gapController","forceStartLoad","_doTickIdle","_checkBuffer","_checkFragmentChanged","levelLastLoaded","_fetchPayloadOrEos","_ensureFragmentAtLivePoint","_findFragment","_loadKey","_loadFragment","maxLatency","liveSyncPosition","computeLivePosition","hasProgramDateTime","targetSN","lookupTolerance","curSNIdx","sameLevel","prevFrag","nextFrag","autoLevelEnabled","_reduceMaxBufferLength","STREAM_STATE_TRANSITION","LevelType","MAIN","followingBufferedFrag","nextBufferedFrag","fragPlayingCurrent","fragPlaying","FRAG_CHANGED","fragPlayingLevel","LEVEL_SWITCHED","immediateLevelSwitch","immediateSwitch","previouslyPaused","pause","flushMainBuffer","immediateLevelSwitchEnd","play","fetchdelay","nextLevelId","fragLastKbps","flushScope","onMediaSeeked","aac","heaac","audioCodecSwitch","newLevelId","lastLevel","alignStream","accurateTimeOffset","_getAudioCodec","ua","metadata","channelCount","hasAudio","hasVideo","VIDEO","hls_3","mediaTrack","alternate","mediaBuffered","minLength","_seekToStartPos","onFragLoadEmergencyAborted","swapAudioCodec","targetLatency","_liveSyncPosition","decrypter_1","SubtitleStreamControllerState","SUBTITLE_TRACKS_UPDATED","SUBTITLE_TRACK_SWITCH","SUBTITLE_TRACK_LOADED","SUBTITLE_FRAG_PROCESSED","tracksBuffered","currentTrackId","decrypter","onSubtitleFragProcessed","onSubtitleTracksUpdated","subtitleTracks","onSubtitleTrackSwitch","currentTrack","onSubtitleTrackLoaded","decryptData","decryptdata","byteLength","method","startTime_1","decrypt","iv","decryptedData","FRAG_DECRYPTED","tstart","tdecrypt","bufferedInfo","_getBuffered","filterSubtitleTracks","textTrackList","SubtitleTrackController","subtitleDisplay","_onTextTracksChanged","subtitleTrack","queuedDefaultTrack","trackChangeListener","useTextTrackPolling","subtitlePollingInterval","subtitles","onTick","SUBTITLE_TRACK_LOADING","_stopTimer","subtitleTrackId","_toggleTrackModes","setSubtitleTrackInternal","oldTrack","nextTrack","cea_608_parser_1","output_filter_1","webvtt_parser_1","TimelineController","FRAG_PARSING_USERDATA","enabled","unparsedVttFrags","cueRanges","captionsTracks","captionsProperties","textTrack1","languageCode","textTrack2","channel1","channel2","cea608Parser","addCues","screen","x1","x2","y1","y2","ranges","merged","cueRange","overlap","newCue","getExistingTrack","createCaptionsTrack","existingTrack","createTextTrack","lang","_cleanTracks","lastSn","prevCC","vttCCs","presentationOffset","0","new","inUseTracks_1","inUseTrack","manifestTrack","canReuseVttTextTrack","onLevelSwitching","closedCaptions","reset","_parseVTTs","cues","getCueById","textTrackCue","onFragDecrypted","onFragParsingUserdata","ccdatas","extractCea608Data","addData","byteArray","tmpByte","ccbyte1","ccbyte2","count","actualCCBytes","AESCrypto","subtle","aesIV","removePadding","outputBytes","paddingBytes","DataView","getUint8","AESDecryptor","rcon","subMix","Uint32Array","invSubMix","sBox","invSBox","initTable","uint8ArrayToUint32Array_","arrayBuffer","view","newArray","getUint32","subMix0","subMix1","subMix2","subMix3","invSubMix0","invSubMix1","invSubMix2","invSubMix3","x","xi","sx","x4","x8","expandKey","keyBuffer","sameKey","keySize","ksRow","invKsRow","ksRows","keySchedule","invKeySchedule","sbox","networkToHostOrderSwap","word","inputArrayBuffer","removePKCS7Padding","t0","t1","t2","t3","s0","s1","s2","s3","inputWords0","inputWords1","inputWords2","inputWords3","nRounds","invSBOX","initVector","initVector0","initVector1","initVector2","initVector3","inputInt32","Int32Array","outputInt32","swapWord","aes_crypto_1","fast_aes_key_1","aes_decryptor_1","getSelfScope","Decrypter","observer","_b","logEnabled","browserCrypto","crypto","webkitSubtle","disableWebCrypto","isSync","decryptor","subtle_1","fastAesKey","aesKey","onWebCryptoError","FRAG_DECRYPT_ERROR","FastAESKey","importKey","ADTS","AACDemuxer","remuxer","resetInitSegment","_audioTrack","sequenceNumber","isAAC","manifestCodec","inputTimeScale","resetTimeStamp","probe","getID3Data","length_1","timeOffset","contiguous","id3Data","timestamp","getTimeStamp","frameIndex","stamp","id3Samples","dts","isHeader","initTrackConfig","appendFrame","remux","getAudioConfig","adtsObjectType","adtsSampleingIndex","adtsExtensionSampleingIndex","adtsChanelConfig","adtsSampleingRates","samplerate","FRAG_PARSING_ERROR","isHeaderPattern","getHeaderLength","getFullFrameLength","getFrameDuration","parseFrameHeader","frameDuration","headerLength","frameLength","newOffset","header","aacSample","unit","subarray","aacdemuxer_1","mp4demuxer_1","tsdemuxer_1","mp3demuxer_1","mp4_remuxer_1","passthrough_remuxer_1","get_self_scope_1","DemuxerInline","typeSupported","vendor","discontinuity","trackSwitch","defaultInitPTS","pushDecrypted","Uint8Array","muxConfig","demux","mux","remuxer_1","setDecryptData","demuxer_inline_1","events_2","forwardMessage","ev","postMessage","cmd","enableLogs","transferable","work","mediasource_helper_1","observer_1","Demuxer","Observer","mp4","isTypeSupported","mpeg","mp3","onwmsg","onWorkerMessage","onerror","INTERNAL_EXCEPTION","filename","lineno","terminate","lastFrag","nextSN","ArrayBuffer","ExpGolomb","bytesAvailable","bitsAvailable","loadWord","workingBytes","availableBytes","skipBits","skipBytes","readBits","bits","valu","skipLZ","leadingZeroCount","skipUEG","skipEG","readUEG","clz","readEG","readBoolean","readUByte","readUShort","readUInt","skipScalingList","lastScale","nextScale","readSPS","profileIdc","numRefFramesInPicOrderCntCycle","picWidthInMbsMinus1","picHeightInMapUnitsMinus1","frameMbsOnlyFlag","scalingListCount","frameCropLeftOffset","frameCropRightOffset","frameCropTopOffset","frameCropBottomOffset","chromaFormatIdc","picOrderCntType","readSliceType","ID3","isFooter","front","_readSize","frames","_readTimeStamp","info","_getFrameData","fromCharCode","frameData","_decodeFrame","_decodePrivFrame","_decodeTextFrame","_decodeURLFrame","timeStampFrame","pts33Bit","owner","_utf8ArrayToStr","privateData","description","exitOnNull","char2","char3","utf8ArrayToStr","mpegaudio_1","MP3Demuxer","UINT32_MAX","MP4Demuxer","parseInitSegment","audiovideo","findBox","bin2str","readUint16","readUint32","writeUint32","subresults","endbox","results","parseSegmentIndex","references","moov","moovEndOffset","sidx","timescale","startByte","referencesCount","referenceIndex","referenceInfo","referenceSize","subsegmentDuration","earliestPresentationTime","trak","tkhd","mdhd","hdlr","codecBox","codecType","getStartDTS","trafs","baseTimes","traf","tfhd","scale","tfdt","offsetStartDTS","baseMediaDecodeTime","upper","lower","startDTS_1","MpegAudio","BitratesMap","SamplingRateMap","SamplesCoefficients","BytesInSlot","parseHeader","samplesPerFrame","sampleRate","headerB","headerC","headerE","headerF","headerG","columnInBitrates","bitRate","columnInSampleRates","sampleCoefficient","bytesInSlot","parseInt","SampleAesDecrypter","discardEPB","decryptBuffer","encryptedData","decryptAacSample","sampleIndex","sync","curUnit","encryptedBuffer","byteOffset","localthis","decryptAacSamples","getAvcEncryptedData","decodedData","encryptedDataLen","Int8Array","outputPos","inputPos","getAvcDecryptedUnit","decryptAvcSample","unitIndex","decryptAvcSamples","curUnits","units","exp_golomb_1","sample_aes_1","RemuxerTrackIdConfig","id3","TSDemuxer","sampleAes","syncOffset","_syncOffset","scanwindow","createTrack","pid","pmtParsed","_pmtId","_avcTrack","_id3Track","_txtTrack","aacOverFlow","aacLastPTS","avcSample","_duration","stt","pes","unknownPIDs","avcTrack","avcId","audioId","id3Id","pmtId","avcData","pesData","audioData","parsePAT","_parsePAT","parsePMT","_parsePMT","parsePES","_parsePES","parseAVCPES","_parseAVCPES","parseAACPES","_parseAACPES","parseMPEGPES","_parseMPEGPES","parseID3PES","_parseID3PES","parsedPIDs","avc","decryptAndRemux","videoTrack","localthis_1","decryptAndRemuxAvc","localthis_2","_initPTS","_initDTS","mpegSupported","isSampleAes","tableEnd","stream","pesFlags","pesLen","pesHdrLen","pesPts","pesDts","payloadStartOffset","newData","dataLen","pushAccesUnit","nbSamples","sps","expGolombDecoder","_parseAVCNALu","spsfound","createAVCSample","audFound","sliceType","payloadType","payloadSize","endOfCaptions","firstByte","totalCCs","_insertSampleInOrder","codecarray","codecstring","h","pps","_getLastNalUnit","lastUnit","overflow","lastUnitType","naluState","lastState","lastUnitStart","tmp","newLength","EPBPositions","sourceIndex","newPTS","MUX_ERROR","MANIFEST_LOAD_ERROR","MANIFEST_LOAD_TIMEOUT","MANIFEST_PARSING_ERROR","FORBIDDEN_EVENT_NAMES","EventHandler","onEvent","handledEvents","useGenericHandler","registerListeners","unregisterListeners","isEventHandler","onEventGeneric","funcName","FRAG_LOAD_PROGRESS","DESTROYING","fragment_loader_1","key_loader_1","stream_controller_1","level_controller_1","id3_track_controller_1","is_supported_1","config_1","Hls","defaultConfig","DefaultConfig","_autoLevelCapping","playListLoader","fragmentLoader","keyLoader","id3TrackController","levelController","networkControllers","Controller","coreComponents","isSupported","detachMedia","component","attachMedia","loadSource","controller","recoverMediaError","manualLevel","audioTrackId","SourceBuffer","WebKitSourceBuffer","sourceBufferValidAPI","FragmentLoader","loaders","loaderName","FragmentILoader","DefaultILoader","loaderContext","loaderConfig","loaderCallbacks","progressData","byteRangeStartOffset","byteRangeEndOffset","rangeStart","rangeEnd","maxRetry","retryDelay","maxRetryDelay","onSuccess","loadsuccess","loaderror","onTimeout","loadtimeout","onProgress","loadprogress","networkDetails","level_key_1","Fragment","_url","_byteRange","_decryptdata","tagList","rawProgramDateTime","_elementaryStreams","relurl","baseurl","rawByteRange","byteRange","lastByteRangeEndOffset","fragmentDecryptdataFromLevelkey","levelkey","uri","createInitializationVector","segmentNumber","uint8View","baseuri","reluri","KeyLoader","decryptkey","decrypturl","onKeyLoading","LevelKey","_uri","Level","baseUrl","endCC","needSidxRanges","startCC","level_1","attr_list_1","MASTER_PLAYLIST_REGEX","MASTER_PLAYLIST_MEDIA_REGEX","LEVEL_PLAYLIST_REGEX_FAST","LEVEL_PLAYLIST_REGEX_SLOW","MP4_REGEX_SUFFIX","M3U8Parser","findGroup","groups","mediaGroupId","matchingGroup","group","convertAVC1ToAVCOTI","avcdata","substr","parseMasterPlaylist","string","setCodecs","codecs","isCodecType","preferred","unknownCodecs","lastIndex","resolution","decimalResolution","decimalInteger","CODECS","parseMasterPlaylistMedia","audioGroups","medias","TYPE","autoselect","AUTOSELECT","forced","URI","LANGUAGE","groupCodec","parseLevelPlaylist","levelUrlId","currentSN","firstPdtIndex","title","assignProgramDateTime","value1","value2","decryptparams","keyAttrs","decryptmethod","enumeratedString","decrypturi","decryptiv","hexadecimalInteger","startParams","decimalFloatingPoint","mapAttrs","BYTERANGE","startIndex","fragPrev","backfillProgramDateTimes","m3u8_parser_1","ContextType","MANIFEST","LEVEL","AUDIO_TRACK","SUBTITLE_TRACK","SUBTITLE","PlaylistLoader","canHaveQualityLevels","mapContextToLevelType","getResponseUrl","createInternalLoader","PLoader","Loader","getInternalLoader","resetInternalLoader","contextType","destroyInternalLoaders","onLevelLoading","onAudioTrackLoading","onSubtitleTrackLoading","isSidxRequest","_handleSidxRequest","_handlePlaylistLoaded","_handleTrackOrLevelPlaylist","_handleMasterPlaylist","_handleManifestParsingError","_handleNetworkError","embeddedAudioFound_1","singleLevel","sidxUrl","sidxInfo","sidxReferences","segmentRef","segRefInfo","errorData","AAC","getSilentFrame","MP4","types","avc1","avcC","btrt","dinf","dref","esds","ftyp","mdat","mdia","mfhd","minf","moof","mp4a","mvex","mvhd","pasp","sdtp","stbl","stco","stsc","stsd","stsz","stts","trun","trex","vmhd","smhd","videoHdlr","audioHdlr","HDLR_TYPES","STTS","STSC","STCO","STSZ","VMHD","SMHD","STSD","majorBrand","avc1Brand","minorVersion","FTYP","box","DINF","upperWordDuration","lowerWordDuration","boxes","flags","dependsOn","isDependedOn","avcc","hSpacing","vSpacing","configlen","sampleDependencyTable","upperWordBaseMediaDecodeTime","lowerWordBaseMediaDecodeTime","cts","arraylen","isLeading","hasRedundancy","paddingValue","isNonSync","degradPrio","movie","aac_helper_1","mp4_generator_1","MP4Remuxer","isSafari","ISGenerated","defaultTimeStamp","generateIS","nbAudioSamples","nbVideoSamples","audioTimeOffset","videoTimeOffset","audiovideoDeltaDts","remuxAudio","audioTrackLength","remuxVideo","videoData","remuxEmptyAudio","remuxID3","remuxText","initDTS","audioSamples","videoSamples","computePTSDTS","mp4SampleDuration","firstPTS","firstDTS","lastPTS","lastDTS","timeScale","inputSamples","outputSamples","ptsNormalize","_PTSNormalize","nextAvcDts","deltadts","deltapts","PTSDTSshift","curr","nbNalu","naluLen","sample_1","nbUnits","sampleLen","mdatSize","setUint32","avcSampleUnits","mp4SampleLength","compositionTimeOffset","unitData","unitDataLen","lastFrameDuration","gapTolerance","deltaToFrameEnd","nextAudioPts","mp4Sample","fillFrame","mp4timeScale","scaleFactor","inputSampleDuration","rawMPEG","nextPts","missing","newStamp","nbSamples_1","audioSample","delta_1","numMissingFrames","unitLen","lastSampleDuration","silentFrame","reference","PassThroughRemuxer","rawData","TaskLoop","_tickInterval","_tickTimer","_tickCallCount","_boundTick","clearNextTick","hasNextTick","millis","DECIMAL_RESOLUTION_REGEX","ATTR_LIST_REGEX","AttrList","parseAttrList","intValue","MAX_SAFE_INTEGER","stringValue","hexadecimalIntegerAsNumber","res","input","comparisonFunction","minIndex","maxIndex","currentIndex","currentElement","comparisonResult","maxHoleDuration","vbuffered","bufferStart","bufferStartNext","buffered2","diff","buf2len","buf2end","specialCea608CharsCodes","getCharForByte","byte","charCode","rowsLowCh1","rowsHighCh1","rowsLowCh2","rowsHighCh2","backgroundColors","verboseFilter","verboseLevel","setTime","newTime","severity","msg","numArrayToHexArray","numArray","hexArray","PenState","foreground","underline","italics","background","flash","setStyles","styles","attribs","isDefault","equals","other","copy","newPenState","StyledUnicodeChar","uchar","penState","setChar","setPenState","newChar","isEmpty","Row","chars","currPenState","equal","setCursor","absPos","moveCursor","relPos","newPos","backSpace","insertChar","char","clearFromPos","startPos","clear","clearToEndOfRow","getTextString","setPenStyles","CaptionScreen","rows","currRow","NR_ROWS","nrRollUpRows","setPen","setPAC","pacData","newRow","row","topRowIndex","lastOutputScreen","prevLineTime","cueStartTime","indent","prevPos","color","setBkgData","bkgData","setRollUpRows","nrRows","rollUp","getDisplayText","topRow","asOneRow","displayText","rowNr","rowText","getTextAndFormat","Cea608Channel","channelNumber","outputFilter","chNr","verbose","displayedMemory","nonDisplayedMemory","currRollUpRow","writeScreen","lastCueEndTime","getHandler","setHandler","newHandler","setMode","newMode","insertChars","outputDataUpdate","ccRCL","ccBS","ccAOF","ccAON","ccDER","ccRU","ccFON","ccRDC","ccTR","ccRTD","ccEDM","ccCR","ccENM","ccEOC","ccTO","nrCols","ccMIDROW","secondByte","colorIndex","dispatch","dispatchCue","cueSplitAtTime","Cea608Parser","field","out1","out2","outputs","channels","currChNr","lastCmdA","lastCmdB","bufferedData","dataCounters","byteList","cmdFound","charsFound","parseCmd","parseMidrow","parsePAC","parseBackgroundAttributes","parseChars","padding","channel","interpretPAC","pacIndex","channelNr","charCodes","charCode1","oneCode","hexCodes","sampleEntryCodesISO","typeCodes","vttparser_1","captionScreen","indenting","fixLineBreaks","line","align","findFirstFragWithCC","firstFrag","currentFrag","shouldAlignOnDiscontinuities","shouldAlign","findDiscontinuousReferenceFrag","prevDetails","prevFrags","curFrags","prevStartFrag","adjustPts","alignDiscontinuities","referenceFrag","alignPDT","lastDetails","lastPDT","CC","ewma_1","EwmaBandWidthEstimator","slow","fast","defaultEstimate","defaultEstimate_","minWeight_","minDelayMs_","slow_","fast_","durationMs","numBytes","bandwidth","weight","getTotalWeight","EWMA","halfLife","alpha_","estimate_","totalWeight_","adjAlpha","zeroFactor","fakeLogger","exportedLogger","formatMsg","consolePrintFn","debugConfig","functions","exportLoggerFunctions","WebKitMediaSource","OutputFilter","videoEl","removeCue","directionSetting","lr","rl","alignSetting","middle","right","findAlignSetting","cobj","isIE8","baseObj","hasBeenReset","_id","_pauseOnExit","_startTime","_endTime","_text","_region","_vertical","_snapToLines","_line","_lineAlign","_position","_positionAlign","_size","_align","findDirectionSetting","SyntaxError","displayState","getCueAsHTML","WebVTT","convertCueToDOMTree","vttcue_1","StringDecoder","decode","decodeURIComponent","VTTParser","decoder","regionList","Settings","parseOptions","keyValueDelim","groupDelim","kv","v","dflt","defaultKey","alt","integer","percent","defaults","center","parseCue","oInput","consumeTimeStamp","ts","computeSeconds","parseTimeStamp","skipWhitespace","region","vals","vals0","vertical","lineAlign","snapToLines","consumeCueSettings","collectNextLine","alreadyCollectedLine","hasSubstring","oncue","flush","onflush","startsWith","inputString","searchString","WebVTTParser","vttByteArray","syncPTS","callBack","errorCallBack","parsingError","vttLines","cueTime","mpegTs","localTime","presentationTime","inHeader","parser","currCC","cueOffset","calculateOffset","onparsingerror","timeString","secs","mins","hours","XhrLoader","requestTimeout","retryTimeout","callbacks","retry","loadInternal","readystatechange","onprogress","status_1","responseURL","lengthComputable","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","run","marker","runClearTimeout","Item","nextTick","browser","env","argv","versions","binding","cwd","chdir","dir","umask","memo","stylesInDom","isOldIE","atob","getTarget","querySelector","getElement","styleTarget","HTMLIFrameElement","singleton","singletonCounter","stylesInsertedAtTop","fixUrls","addStylesToDom","domStyle","refs","addStyle","listToStyles","newStyles","base","part","insertStyleElement","insertInto","lastStyleElementInsertedAtTop","insertAt","removeStyleElement","createStyleElement","addAttrs","transform","styleIndex","applyToSingletonTag","link","rel","createLinkElement","updateLink","applyToTag","newObj","DEBUG","newList","mayRemove","textStore","replaceText","replacement","Boolean","styleSheet","cssNode","createTextNode","autoFixUrls","convertToAbsoluteUrls","oldSrc","currentDir","pathname","fullMatch","origUrl","newUrl","unquotedOrigUrl","_classCallCheck3","_possibleConstructorReturn3","_createClass3","_inherits3","_utils","BaseObject","_Events","_options","uniqueId","_base_object2","_error_mixin2","ContainerPlugin","_BaseObject","bindEvents","playerError","enable","stopListening","CorePlugin","getExternalInterface","_log2","_error2","ErrorMixin","createError","useCodePrefix","origin","i18n","prefixedCode","defaultError","Levels","FATAL","raw","UI","defaultUI","_keys2","eventSplitter","eventsApi","action","rest","triggerEvents","exception","_once","retain","_callback","allEvents","listeningTo","_listeningTo","_listenId","register","Custom","listAvailableCustomEvents","listenMethods","listenTo","listenToOnce","PLAYER_READY","PLAYER_RESIZE","PLAYER_FULLSCREEN","PLAYER_PLAY","PLAYER_PAUSE","PLAYER_STOP","PLAYER_ENDED","PLAYER_SEEK","PLAYER_ERROR","PLAYER_TIMEUPDATE","PLAYER_VOLUMEUPDATE","PLAYER_SUBTITLE_AVAILABLE","PLAYBACK_PROGRESS","PLAYBACK_TIMEUPDATE","PLAYBACK_READY","PLAYBACK_BUFFERING","PLAYBACK_BUFFERFULL","PLAYBACK_SETTINGSUPDATE","PLAYBACK_LOADEDMETADATA","PLAYBACK_HIGHDEFINITIONUPDATE","PLAYBACK_BITRATE","PLAYBACK_LEVELS_AVAILABLE","PLAYBACK_LEVEL_SWITCH_START","PLAYBACK_LEVEL_SWITCH_END","PLAYBACK_PLAYBACKSTATE","PLAYBACK_DVR","PLAYBACK_MEDIACONTROL_DISABLE","PLAYBACK_MEDIACONTROL_ENABLE","PLAYBACK_ENDED","PLAYBACK_PLAY_INTENT","PLAYBACK_PLAY","PLAYBACK_PAUSE","PLAYBACK_SEEK","PLAYBACK_SEEKED","PLAYBACK_STOP","PLAYBACK_ERROR","PLAYBACK_STATS_ADD","PLAYBACK_FRAGMENT_LOADED","PLAYBACK_LEVEL_SWITCH","PLAYBACK_SUBTITLE_AVAILABLE","PLAYBACK_SUBTITLE_CHANGED","CORE_CONTAINERS_CREATED","CORE_ACTIVE_CONTAINER_CHANGED","CORE_OPTIONS_CHANGE","CORE_READY","CORE_FULLSCREEN","CORE_RESIZE","CORE_SCREEN_ORIENTATION_CHANGED","CORE_MOUSE_MOVE","CORE_MOUSE_LEAVE","CONTAINER_PLAYBACKSTATE","CONTAINER_PLAYBACKDVRSTATECHANGED","CONTAINER_BITRATE","CONTAINER_STATS_REPORT","CONTAINER_DESTROYED","CONTAINER_READY","CONTAINER_ERROR","CONTAINER_LOADEDMETADATA","CONTAINER_SUBTITLE_AVAILABLE","CONTAINER_SUBTITLE_CHANGED","CONTAINER_TIMEUPDATE","CONTAINER_PROGRESS","CONTAINER_PLAY","CONTAINER_STOP","CONTAINER_PAUSE","CONTAINER_ENDED","CONTAINER_CLICK","CONTAINER_DBLCLICK","CONTAINER_CONTEXTMENU","CONTAINER_MOUSE_ENTER","CONTAINER_MOUSE_LEAVE","CONTAINER_SEEK","CONTAINER_SEEKED","CONTAINER_VOLUME","CONTAINER_FULLSCREEN","CONTAINER_STATE_BUFFERING","CONTAINER_STATE_BUFFERFULL","CONTAINER_SETTINGSUPDATE","CONTAINER_HIGHDEFINITIONUPDATE","CONTAINER_MEDIACONTROL_SHOW","CONTAINER_MEDIACONTROL_HIDE","CONTAINER_MEDIACONTROL_DISABLE","CONTAINER_MEDIACONTROL_ENABLE","CONTAINER_STATS_ADD","CONTAINER_OPTIONS_CHANGE","MEDIACONTROL_RENDERED","MEDIACONTROL_FULLSCREEN","MEDIACONTROL_SHOW","MEDIACONTROL_HIDE","MEDIACONTROL_MOUSEMOVE_SEEKBAR","MEDIACONTROL_MOUSELEAVE_SEEKBAR","MEDIACONTROL_PLAYING","MEDIACONTROL_NOTPLAYING","MEDIACONTROL_CONTAINERCHANGED","MEDIACONTROL_OPTIONS_CHANGE","_ui_object2","_clapprZepto2","Playback","_UIObject","_i18n","_consented","consent","stop","seek","seekPercentage","percentage","getStartTimeOffset","getDuration","isPlaying","getPlaybackType","NO_OP","isHighDefinitionInUse","volume","configure","attemptAutoPlay","_this2","canAutoPlay","cb","closedCaptionsTracks","canPlay","VOD","AOD","LIVE","thisArg","kValue","_template2","Styler","getStyleFor","volumeMute","reload","hd","fullscreen","exitFullscreen","_play2","_pause2","_stop2","_volume2","_mute2","_expand2","_shrink2","_hd2","_cc2","_reload2","evaluate","interpolate","noMatch","escapes","'","escaper","htmlEntities","entityRe","escapeExpr","tmpl","render","variable","template","UIContainerPlugin","$el","UICorePlugin","delegateEventSplitter","UIObject","cid","_ensureElement","delegateEvents","undelegateEvents","setElement","DomRecycler","tagName","SvgIcons","DoubleEventHandler","cancelAnimationFrame","requestAnimationFrame","QueryString","Config","Fullscreen","_getOwnPropertyDescriptor2","formatTime","seekStringToSeconds","isNumber","currentScriptUrl","getBrowserLanguage","removeArrayItem","listContainsIgnoreCase","items","itemEach","canAutoPlayMedia","_browser2","_media2","_svg_icons2","propDescriptor","Surrogate","_parent","_len","_key","initialize","paddedHours","seconds","minutes","days","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen","webkitEnterFullScreen","cancelFullscreen","webkitCancelFullScreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","_defaultConfig","_defaultValueFor","_createKeyspace","domain","restore","hasLocalstorage","localStorage","persist","paramsString","pl","_urlParams","_hashParams","paramName","seekString","hashParams","factor","suffix","idsCounter","scripts","mozRequestAnimationFrame","webkitRequestAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","inline","muted","timeoutId","setResult","videoStack","recycleVideo","garbage","handle","prevented","getTime","diffTime","Media","getDevice","getViewportSize","getOsData","getBrowserData","getBrowserInfo","_getIterator3","_browser_data2","_os_data2","Browser","extra","appName","appVersion","browserObject","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","browserRegExpResult","identifier","versionIdentifier","versionRegExpResult","setBrowserVersion","return","splitVersion","fullVersion","majorVersion","osObject","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","os","osRegExpResult","setOsVersion","versionSeparator","separator","finalSeparator","viewportObject","browserInfo","isEdge","isChrome","isFirefox","isLegacyIE","ActiveXObject","isIE","isIE11","isChromecast","isMobile","isiOS","isAndroid","isWindowsPhone","isWin8App","isWiiU","isPS4","setItem","removeItem","hasFlash","mimeTypes","enabledPlugin","viewport","device","orientation","setViewportOrientation","_browser","_events2","Container","playback","isReady","mediaControlDisabled","plugins","dblTapHandler","clickTimer","clickDelay","class","buffering","hasClosedCaptionsTracks","closedCaptionsTrackId","timeUpdated","onBuffering","bufferfull","settingsUpdate","loadedMetadata","highDefinitionUpdate","updateBitrate","playbackStateChanged","playbackDvrStateChanged","disableMediaControl","enableMediaControl","onSeeked","onEnded","playing","stopped","subtitleAvailable","subtitleChanged","dvrInUse","newBitrate","statsReport","metrics","isDvrEnabled","dvrEnabled","isDvrInUse","plugin","setStyle","animate","getCurrentTime","_error","timeProgress","current","clicked","chromeless","allowUserInteraction","cancelClicked","dblClicked","dblTap","_this3","onContextMenu","setVolume","addPlugin","hasPlugin","getPlugin","mouseEnter","mouseLeave","isHD","updateStyle","_container","_container2","locals","ContainerFactory","createContainers","createContainer","findPlaybackPlugin","playbackPlugins","resolvedSource","addContainerPlugins","containerPlugins","Plugin","_container_factory","_container_factory2","_styler2","_ui_core_plugin2","_mediator2","_player_info2","_fonts2","Core","configureDomRecycler","playerInfo","getInstance","playerId","firstResize","_boundFullscreenHandler","handleFullscreenChange","handleWindowResize","tabindex","dummyMediaControl","_dummyMediaControl","_activeContainer","activeContainer","containerFactory","prepareContainers","setupContainers","resolveOnContainersReady","updateSize","isFullscreen","setFullscreen","setPlayerSize","previousSize","currentSize","resize","triggerResize","enableResizeObserver","resizeObserverInterval","newSize","oldHeight","oldWidth","computedSize","disableResizeObserver","_this4","innerWidth","innerHeight","_screenOrientation","removeContainer","setupContainer","renderContainers","appendToParent","_this5","getCurrentContainer","getCurrentPlayback","activePlayback","toggleFullscreen","onMouseMove","onMouseLeave","_this6","appendTo","parentElement","_core","_core2","CoreFactory","player","addCorePlugins","corePlugins","setupExternalInterface","externalFunctions","_core_factory","_core_factory2","PlayerError","WARN","INFO","_loader","_loader2","_toConsumableArray3","_html5_video2","_flash2","_html5_audio2","_flashls2","_hls2","_html_img2","_no_op2","_spinner_three_bounce2","_stats2","_watermark2","_poster2","_google_analytics2","_click_to_pause2","_media_control2","_dvr_controls2","_closed_captions2","_favicon2","_seek_time2","_sources2","_end_video2","_strings2","_error_screen2","externalPlugins","useOnlyPlainHtml5Plugins","validateExternalPluginsType","addExternalPlugins","groupPluginsByType","removeDups","pluginsMap","reduceRight","errorMessage","Mediator","Player","defaultOptions","persistConfig","_normalizeSources","disableKeyboardShortcuts","_registerOptionEventListeners","_coreFactory","parentId","setParentId","attachTo","_ready","onReady","onResize","onPlay","onPause","onStop","onSeek","onTimeUpdate","onVolumeUpdate","onSubtitleAvailable","_addEventListeners","_onReady","_containerChanged","_onFullscreenChange","_onResize","_addContainerEventListeners","_onPlay","_onPause","_onStop","_onEnded","_onSeek","_onError","_onTimeUpdate","_onVolumeUpdate","_onSubtitleAvailable","newEvents","hasNewEvents","userEvent","eventType","eventsMapping","eventFunction","autoPlay","mute","_mutedVolume","getVolume","unmute","_classCallCheck2","PlayerInfo","_players","_player2","_utils2","_playback2","_container_plugin2","_core_plugin2","_ui_container_plugin2","_base_flash_playback2","_vendor2","MediaControl","Utils","BaseFlashPlayback","Flash","FlasHLS","HLS","HTML5Audio","HTML5Video","HTMLImg","NoOp","ClickToPausePlugin","DVRControls","Favicon","Log","Poster","SpinnerThreeBouncePlugin","WaterMarkPlugin","Vendor","_Playback","swfPath","playbackId","wmode","_Player2","_BaseFlashPlayback","_src","_baseUrl","_autoPlay","seekEnabled","_isReadyState","_addListeners","_currentState","_bufferingState","_bootstrap","playerPlay","_firstPlay","insertAfter","_metadataLoaded","_attempts","_updateTime","getPosition","_progress","_checkState","_isIdle","getBytesLoaded","getBytesTotal","_checkInitialSeek","seekTime","seekSeconds","playerResume","playerVolume","playerPause","playerStop","playerSeek","bootstrapId","resource","resourceParts","_flash","_flashls_events2","_HLSPlayer2","_initHlsParameters","highDefinition","_loop","loop","_defaultSettings","_playbackType","_hasEnded","_currentLevel","playerSetCurrentLevel","_autoStartLoad","_capLevelToStage","capLevelToStage","_maxLevelCappingMode","maxLevelCappingMode","_minBufferLength","minBufferLength","_minBufferLengthCapping","minBufferLengthCapping","_maxBufferLength","_maxBackBufferLength","maxBackBufferLength","_lowBufferLength","lowBufferLength","_mediaTimePeriod","mediaTimePeriod","_fpsDroppedMonitoringPeriod","_fpsDroppedMonitoringThreshold","_capLevelonFPSDrop","capLevelonFPSDrop","_smoothAutoSwitchonFPSDrop","smoothAutoSwitchonFPSDrop","_switchDownOnLevelError","switchDownOnLevelError","_seekMode","seekMode","_keyLoadMaxRetry","keyLoadMaxRetry","_keyLoadMaxRetryTimeout","keyLoadMaxRetryTimeout","_fragmentLoadMaxRetry","fragmentLoadMaxRetry","_fragmentLoadMaxRetryTimeout","fragmentLoadMaxRetryTimeout","_fragmentLoadSkipAfterMaxRetry","fragmentLoadSkipAfterMaxRetry","_maxSkippedFragments","maxSkippedFragments","_flushLiveURLCache","flushLiveURLCache","_initialLiveManifestSize","_manifestLoadMaxRetry","manifestLoadMaxRetry","_manifestLoadMaxRetryTimeout","manifestLoadMaxRetryTimeout","_manifestRedundantLoadmaxRetry","manifestRedundantLoadmaxRetry","_startFromBitrate","startFromBitrate","_startFromLevel","startFromLevel","_autoStartMaxDuration","autoStartMaxDuration","_seekFromLevel","seekFromLevel","_useHardwareVideoDecoder","useHardwareVideoDecoder","_hlsLogEnabled","hlsLogEnabled","_logDebug","logDebug","_logDebug2","logDebug2","_logWarn","logWarn","_logError","logError","_hlsMinimumDvrSize","hlsMinimumDvrSize","timeMetrics","_setPlaybackState","_levelChanged","_flashPlaybackError","loadmetrics","_onFragmentLoaded","_onLevelEndlist","playerLoad","_srcLoaded","_setFlashSettings","_updatePlaybackType","_shouldPlayOnManifestLoaded","_bootstrapAttempts","formattedError","playerSetAutoStartLoad","playerSetCapLevelToStage","playerSetMaxLevelCappingMode","playerSetMinBufferLength","playerSetMinBufferLengthCapping","playerSetMaxBufferLength","playerSetMaxBackBufferLength","playerSetLowBufferLength","playerSetMediaTimePeriod","playerSetFpsDroppedMonitoringPeriod","playerSetFpsDroppedMonitoringThreshold","playerSetCapLevelonFPSDrop","playerSetSmoothAutoSwitchonFPSDrop","playerSetSwitchDownOnLevelError","playerSetSeekMode","playerSetKeyLoadMaxRetry","playerSetKeyLoadMaxRetryTimeout","playerSetFragmentLoadMaxRetry","playerSetFragmentLoadMaxRetryTimeout","playerSetFragmentLoadSkipAfterMaxRetry","playerSetMaxSkippedFragments","playerSetFlushLiveURLCache","playerSetInitialLiveManifestSize","playerSetManifestLoadMaxRetry","playerSetManifestLoadMaxRetryTimeout","playerSetManifestRedundantLoadmaxRetry","playerSetStartFromBitrate","playerSetStartFromLevel","playerSetAutoStartMaxDuration","playerSetSeekFromLevel","playerSetUseHardwareVideoDecoder","playerSetLogInfo","playerSetLogDebug","playerSetLogDebug2","playerSetLogWarn","playerSetLogError","setAutoStartLoad","setCapLevelToStage","setMaxLevelCappingMode","setSetMinBufferLength","setMinBufferLengthCapping","setMaxBufferLength","setMaxBackBufferLength","setLowBufferLength","setMediaTimePeriod","setFpsDroppedMonitoringPeriod","setFpsDroppedMonitoringThreshold","setCapLevelonFPSDrop","setSmoothAutoSwitchonFPSDrop","setSwitchDownOnLevelError","setSeekMode","setKeyLoadMaxRetry","setKeyLoadMaxRetryTimeout","setFragmentLoadMaxRetry","setFragmentLoadMaxRetryTimeout","setFragmentLoadSkipAfterMaxRetry","setMaxSkippedFragments","setFlushLiveURLCache","setInitialLiveManifestSize","setManifestLoadMaxRetry","setManifestLoadMaxRetryTimeout","setManifestRedundantLoadmaxRetry","setStartFromBitrate","setStartFromLevel","setAutoStartMaxDuration","setSeekFromLevel","setUseHardwareVideoDecoder","setSetLogInfo","setLogDebug","setLogDebug2","setLogWarn","setLogError","getLevels","_fillLevels","_normalizeDuration","previousDVRStatus","_dvrEnabled","livePlayback","_updateSettings","getCurrentLevelIndex","getCurrentLevel","getCurrentBitrate","setCurrentLevel","_updateCurrentState","getType","_startReportingProgress","_stopReportingProgress","_reportingProgress","getbufferLength","_manifestLoaded","_updateDvr","previousDvrInUse","_dvrInUse","_createCallbacks","Clappr","flashlsCallbacks","flashlsEvents","HLSEvents","instanceId","videoSize","manifest","audioLevelLoaded","levelLoaded","levelEndlist","fragmentLoaded","fragmentPlaying","playmetrics","timemetrics","newState","seekState","switch","audioTracksListChange","trackList","audioTrackChange","_flashls","_stringify2","_extends3","_HTML5VideoPlayback","_minDvrSize","_extrapolatedWindowNumSegments","extrapolatedWindowNumSegments","_lastTimeUpdate","_lastDuration","_playableRegionStartTime","_localStartTimeCorrelation","_localEndTimeCorrelation","_playableRegionDuration","_programDateTime","_durationExcludesAfterLiveSyncPoint","_segmentTargetDuration","_playlistType","_recoverAttemptsRemaining","hlsRecoverAttempts","hlsUseNextLevel","_hls","_extrapolatedStartTime","corr","timePassed","_now","local","extrapolatedWindowStartTime","remote","_extrapolatedWindowDuration","actualEndTime","extrapolatedEndTime","_extrapolatedEndTime","_setup","_ccIsSetup","_ccTracksUpdated","hlsjsConfig","_onLevelUpdated","_onLevelSwitch","_onHLSJSError","_onSubtitleLoaded","_recover","_recoveredDecodingError","_recoveredAudioCodecError","_setupSrc","srcUrl","_startTimeUpdateTimer","_timeUpdateTimer","_onDurationChange","_stopTimeUpdateTimer","getProgramDateTime","seekTo","seekToLivePoint","isSeekEnabled","triggerFatalErrorOnResourceDenied","_keyIsDenied","firstFragDateTime","_onProgress","bufferedPos","startTimeChanged","durationChanged","previousPlayableRegionStartTime","previousPlayableRegionDuration","newDuration","hiddenAreaDuration","previousEndTime","_corr","_timePassed","isHls","_HTML5Video","updateSettings","resourceUrl","_canPlay","_html5_audio","_tracks2","MIMETYPES","AUDIO_MIMETYPES","KNOWN_AUDIO_MIMETYPES","acc","UNKNOWN_ERROR","_destroyed","_loadStarted","_isBuffering","_playheadMoving","_playheadMovingTimer","_stopped","_ccTrackId","disableContextMenu","disableVideoTagContextMenu","playbackConfig","preload","posterUrl","poster","defaultMuted","controls","useVideoTagDefaultControls","crossOrigin","playInline","playsinline","crossorigin","externalTracks","_setupExternalTracks","isAudioOnly","_mimeTypesForUrl","audioOnly","disableCanAutoPlay","autoPlayTimeout","_externalTracks","_onLoadedMetadata","_handleBufferingEvents","autoSeekFromUrl","onDemandType","_stopPlayheadMovingChecks","isMuted","_startPlayheadMovingChecks","_playheadMovingTimeOnCheck","_determineIfPlayheadMoving","_onWaiting","_onLoadedData","_onCanPlay","_onPlaying","_checkForClosedCaptions","_onSeeking","_onSeeked","playheadShouldBeMoving","HAVE_FUTURE_DATA","_ref","isUnknownError","handleTextTrackChange","_typeFor","isHTML5Video","_handleTextTrackChange","showingTrack","mimeTypesByExtension","extension","mediaType","canPlayType","_html5_video","_onLoad","_html_img","_no_op","_noiseFrameNum","playbackNotSupported","playbackNotSupportedMessage","showForNoOp","_animate","_noise","idata","createImageData","canvas","buffer32","putImageData","_stop","_animationHandle","getContext","_ContainerPlugin","pointerEnabled","_click_to_pause","ClosedCaptions","_UICorePlugin","closedCaptionsConfig","_title","_ariaLabel","ariaLabel","_labelCb","labelCallback","containerChanged","mediaControl","hideContextMenu","onSubtitleChanged","onContainerStop","ccAvailable","renderCcButton","setCurrentContextMenuElement","onTrackSelect","dataset","ccSelect","hasCC","toggleContextMenu","contextMenuElement","$ccButton","disabledLabel","$fullscreen","prepend","_closed_captions","_index2","dvrChanged","shouldRender","useDvrControls","backToLive","_dvr_controls","EndVideo","_CorePlugin","exitFullscreenOnEnd","ErrorScreen","_ret","disableErrorScreen","onContainerChanged","bindReload","reloadButton","unbindReload","icon","reloadIcon","_error_screen","oldIcon","changeFavicon","setPlayIcon","setPauseIcon","resetIcon","createIcon","fillStyle","Path2D","fill","toDataURL","playIcon","changeIcon","pauseIcon","_favicon","GoogleAnalytics","gaAccount","account","trackerName","gaTrackerName","domainName","gaDomainName","currentHDState","embedScript","_gat","addEventListeners","onload","onBufferFull","onPlaybackChanged","onVolumeChanged","CONTAINER_FULL_SCREEN","onFullscreen","onHD","onDVR","_gaq","playbackState","_google_analytics","_log","_vendor","BOLD","COLORS","DESCRIPTIONS","offLevel","kibo","Kibo","down","onOff","BLACKLIST","previousLevel","klassDescription","LEVEL_DEBUG","LEVEL_INFO","LEVEL_WARN","LEVEL_ERROR","_instance","setLevel","_media_control","_mediaControl2","currentPositionValue","currentDurationValue","keepVisible","fullScreenOnVideoTagSupported","setInitialVolume","focusElement","bindKeyEvents","userDisabled","stopDragHandler","stopDrag","updateDragHandler","updateDrag","playbackIsNOOP","intendedVolume","onActiveContainerChanged","hideMediaControlDelay","playerResize","bindContainerEvents","changeTogglePlay","updateProgressBar","onLoadedMetadataOnVideoTag","unbindKeyEvents","initialVolume","updateVolumeUI","webkitSupportsFullscreen","rendered","$volumeBarContainer","containerWidth","barWidth","$volumeBarBackground","$volumeBarFill","$volumeBarScrubber","$volumeIcon","applyButtonStyle","$playPauseToggle","$playStopToggle","mousemoveOnSeekBar","offsetX","pageX","$seekBarContainer","$seekBarHover","mouseleaveOnSeekBar","onVolumeClick","getVolumeFromUIEvent","mousemoveOnVolumeBar","draggingVolumeBar","$fullscreenToggle","hideVolumeBar","togglePlayPause","togglePlayStop","startSeekDrag","draggingSeekBar","$seekBarLoaded","$seekBarPosition","$seekBarScrubber","startVolumeDrag","setSeekPercentage","toggleMute","isInitialVolume","setWhenContainerReady","resetUserKeepVisible","showVolumeBar","hideVolumeId","loadedStart","loadedEnd","renderSeekBar","currentSeekBarPercentage","newPosition","displayedPosition","$position","displayedDuration","$duration","setKeepVisible","resetKeepVisible","setUserKeepVisible","userKeepVisible","isVisible","mousePointerMoved","clientX","lastMouseX","clientY","lastMouseY","hideId","updateCursorStyle","_this7","hideMediaControl","hasKeepVisibleRequested","hasDraggingAction","showing","newSettings","getSettings","$hdIndicator","createCachedElements","$layer","$volumeContainer","resetIndicators","initializeIcons","displayedSeekBarPercentage","seekRelative","bindKeyAndShow","_this8","_this9","parseColors","mediacontrol","buttonsColor","buttons","seekbarColor","seekbar","_this10","previousSeekPercentage","_poster","PosterPlugin","_UIContainerPlugin","hasStartedPlaying","playRequested","showOnVideoEnd","hasFatalError","showPlayButton","updatePlayButton","hidePlayButton","$playButton","shouldHideOnPlay","updatePoster","hidePoster","showPoster","custom","$playWrapper","_seek_time","SeekTime","hoveringOverSeekBar","hoverPosition","actualLiveTime","actualLiveServerTime","actualLiveServerTimeDiff","mediaControlContainer","isLiveStreamWithDvr","showTime","hideTime","updateDuration","calculateHoverPosition","getSeekTime","secondsSinceMidnight","useActualLiveTime","setHours","shouldBeVisible","currentSeekTime","displayedSeekTime","$seekTimeEl","durationShown","$durationEl","currentDuration","elWidth","elLeftPos","SourcesPlugin","onContainersCreated","firstValidSource","_spinner_three_bounce","_spinner2","showTimeout","_stats","StatsPlugin","setInitialAttrs","reportInterval","onStatsAdd","firstPlay","startupTime","rebufferingTime","watchingTime","rebuffers","externalMetrics","watchingTimeInit","intervalId","report","startupTimeInit","rebufferingTimeInit","getRebufferingTime","getWatchingTime","isRebuffering","metric","getStats","Strings","_initializeMessages","_language","fallbackLang","_messages","strings","_watermark","watermark","imageUrl","imageLink","watermarkLink","templateOptions","_kibo","_kibo2","KEY_NAMES_BY_CODE","8","9","13","16","17","18","20","27","32","37","38","39","40","48","49","50","51","52","53","54","55","56","57","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","112","113","114","115","116","117","118","119","120","121","122","123","KEY_CODES_BY_NAME","MODIFIERS","registerEvent","attachEvent","unregisterEvent","detachEvent","stringContains","neatString","capitalize","what","arrayIncludes","haystack","needle","extractModifiers","keyCombination","modifiers","extractKey","modifiersAndKey","keyName","keyCode","lastKeyCode","lastModifiers","keysDown","any","keysUp","downHandler","upHandler","unloader","upOrDown","registeredKeys","lastModifiersAndKey","registerKeys","newKeys","unregisterKeys","up","lastKey","modifier","__WEBPACK_EXTERNAL_MODULE_clappr__","innerGlobal","exportTo","q","ca","da","ea","fa","ia","ja","ka","la","Promise","ma","u","y","race","pa","na","qa","ta","Ae","va","tg","wa","xa","ya","Ld","Wd","za","Aa","Ba","Ca","Fa","Ga","Ha","Ja","Ma","Na","Ia","z","Pa","Qa","Td","ve","Sa","seal","X","WeakMap","Map","Ra","Ta","Wa","execScript","Xa","Eg","Ya","Za","$a","ab","bb","db","getBandwidthEstimate","hb","ib","jb","sa","kb","Ab","lb","mb","ob","tb","decodeURI","encodeURI","yb","pb","qb","rb","zb","maxAttempts","baseDelay","backoffFactor","fuzzFactor","Cb","category","handled","H","Zd","Db","Eb","Hb","Ib","Jb","Kb","I","cancelable","isTrusted","Lb","Mb","Jc","$b","Nb","Set","Ob","Pb","Rb","Sb","Tb","J","ha","fc","yc","tickNow","tickAfter","tickEvery","Severity","RECOVERABLE","CRITICAL","Category","NETWORK","TEXT","MEDIA","STREAMING","DRM","PLAYER","CAST","STORAGE","Code","UNSUPPORTED_SCHEME","BAD_HTTP_STATUS","HTTP_ERROR","TIMEOUT","MALFORMED_DATA_URI","UNKNOWN_DATA_URI_ENCODING","REQUEST_FILTER_ERROR","RESPONSE_FILTER_ERROR","MALFORMED_TEST_URI","UNEXPECTED_TEST_REQUEST","INVALID_TEXT_HEADER","INVALID_TEXT_CUE","UNABLE_TO_DETECT_ENCODING","BAD_ENCODING","INVALID_XML","INVALID_MP4_TTML","INVALID_MP4_VTT","UNABLE_TO_EXTRACT_CUE_START_TIME","BUFFER_READ_OUT_OF_BOUNDS","JS_INTEGER_OVERFLOW","EBML_OVERFLOW","EBML_BAD_FLOATING_POINT_SIZE","MP4_SIDX_WRONG_BOX_TYPE","MP4_SIDX_INVALID_TIMESCALE","MP4_SIDX_TYPE_NOT_SUPPORTED","WEBM_CUES_ELEMENT_MISSING","WEBM_EBML_HEADER_ELEMENT_MISSING","WEBM_SEGMENT_ELEMENT_MISSING","WEBM_INFO_ELEMENT_MISSING","WEBM_DURATION_ELEMENT_MISSING","WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING","WEBM_CUE_TIME_ELEMENT_MISSING","MEDIA_SOURCE_OPERATION_FAILED","MEDIA_SOURCE_OPERATION_THREW","VIDEO_ERROR","QUOTA_EXCEEDED_ERROR","TRANSMUXING_FAILED","UNABLE_TO_GUESS_MANIFEST_TYPE","DASH_INVALID_XML","DASH_NO_SEGMENT_INFO","DASH_EMPTY_ADAPTATION_SET","DASH_EMPTY_PERIOD","DASH_WEBM_MISSING_INIT","DASH_UNSUPPORTED_CONTAINER","DASH_PSSH_BAD_ENCODING","DASH_NO_COMMON_KEY_SYSTEM","DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED","DASH_CONFLICTING_KEY_IDS","UNPLAYABLE_PERIOD","RESTRICTIONS_CANNOT_BE_MET","NO_PERIODS","HLS_PLAYLIST_HEADER_MISSING","INVALID_HLS_TAG","HLS_INVALID_PLAYLIST_HIERARCHY","DASH_DUPLICATE_REPRESENTATION_ID","HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND","HLS_COULD_NOT_GUESS_MIME_TYPE","HLS_MASTER_PLAYLIST_NOT_PROVIDED","HLS_REQUIRED_ATTRIBUTE_MISSING","HLS_REQUIRED_TAG_MISSING","HLS_COULD_NOT_GUESS_CODECS","HLS_KEYFORMATS_NOT_SUPPORTED","DASH_UNSUPPORTED_XLINK_ACTUATE","DASH_XLINK_DEPTH_LIMIT","HLS_COULD_NOT_PARSE_SEGMENT_START_TIME","CONTENT_UNSUPPORTED_BY_BROWSER","CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM","HLS_AES_128_ENCRYPTION_NOT_SUPPORTED","HLS_INTERNAL_SKIP_STREAM","INVALID_STREAMS_CHOSEN","NO_RECOGNIZED_KEY_SYSTEMS","REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE","FAILED_TO_CREATE_CDM","FAILED_TO_ATTACH_TO_VIDEO","INVALID_SERVER_CERTIFICATE","FAILED_TO_CREATE_SESSION","FAILED_TO_GENERATE_LICENSE_REQUEST","LICENSE_REQUEST_FAILED","LICENSE_RESPONSE_REJECTED","ENCRYPTED_CONTENT_WITHOUT_DRM_INFO","NO_LICENSE_SERVER_GIVEN","OFFLINE_SESSION_REMOVED","EXPIRED","SERVER_CERTIFICATE_REQUIRED","INIT_DATA_TRANSFORM_ERROR","LOAD_INTERRUPTED","OPERATION_ABORTED","NO_VIDEO_ELEMENT","CAST_API_UNAVAILABLE","NO_CAST_RECEIVERS","ALREADY_CASTING","UNEXPECTED_CAST_ERROR","CAST_CANCELED_BY_USER","CAST_CONNECTION_TIMED_OUT","CAST_RECEIVER_APP_UNAVAILABLE","STORAGE_NOT_SUPPORTED","INDEXED_DB_ERROR","DEPRECATED_OPERATION_ABORTED","REQUESTED_ITEM_NOT_FOUND","MALFORMED_OFFLINE_URI","CANNOT_STORE_LIVE_OFFLINE","STORE_ALREADY_IN_PROGRESS","NO_INIT_DATA_FOR_OFFLINE","LOCAL_PLAYER_INSTANCE_REQUIRED","NEW_KEY_OPERATION_NOT_SUPPORTED","KEY_NOT_FOUND","MISSING_STORAGE_CELL","failed","completed","notAbortable","chain","getAll","handleEvent","RequestType","SEGMENT","LICENSE","APP","TIMING","PluginPriority","FALLBACK","PREFERRED","APPLICATION","Ub","Vb","priority","Rf","Wb","uris","allowCrossSiteCredentials","retryParameters","licenseRequestType","Xb","Yb","bc","ec","dc","registerScheme","unregisterScheme","Tf","registerRequestFilter","vg","unregisterRequestFilter","Ie","clearAllRequestFilters","Uf","registerResponseFilter","wg","unregisterResponseFilter","Je","clearAllResponseFilters","defaultRetryParameters","makeRequest","request","qd","Zb","timeMs","qf","ac","fromCache","NumBytesRemainingClass","PendingRequest","release","listen","listenOnce","unlisten","removeAll","gc","RangeError","hc","ic","jc","kc","lc","mc","nc","oc","rc","qc","sc","tc","uc","vc","includes","wc","xc","zc","Bc","Cc","Uint16Array","getUint16","Dc","Ec","setUint16","Fc","L","Gc","Hc","oa","expiration","onExpirationUpdated","Ic","Nc","Mc","clearKeys","Qc","kty","kid","kids","licenseServerUri","distinctiveIdentifierRequired","persistentStateRequired","audioRobustness","videoRobustness","serverCertificate","keyIds","drmInfos","Rc","servers","Sc","advanced","audioCapabilities","distinctiveIdentifier","persistentState","sessionTypes","robustness","Tc","Pc","Vc","setServerCertificate","Wc","$c","Zc","Xc","ad","bd","cd","getConfiguration","keyId","dd","fe","de","ed","initDataTransform","errorCode","systemCode","fd","Uc","messageType","individualizationServer","DOMParser","parseFromString","gd","fairPlayTransform","ub","ckc","jd","ld","md","nd","Kc","closed","cast","__platform__","Ac","delayLicenseRequestUntilPlayed","keyStatuses","kd","od","muxjs","CaptionParser","pd","rd","sd","td","videoTrackIds","captions","clearParsedCaptions","resetCaptionStream","ud","Ke","vd","wd","xd","ra","Cg","Ag","Bd","Transmuxer","keepOriginalTimestamps","Cd","Dd","Fd","direction","Gd","Hd","positionAlign","Id","textAlign","Jd","writingMode","Kd","lineInterpretation","lineHeight","Md","displayAlign","Nd","fontSize","backgroundImage","backgroundColor","fontWeight","Od","fontStyle","Pd","fontFamily","textDecoration","wrapLine","nestedCues","spacer","dispose","LEFT","RIGHT","CENTER","AUTO","Qd","START","END","Rd","BEFORE","AFTER","HORIZONTAL_LEFT_TO_RIGHT","HORIZONTAL_RIGHT_TO_LEFT","HORIZONTAL_TOP_TO_BOTTOM","VERTICAL_LEFT_TO_RIGHT","VERTICAL_RIGHT_TO_LEFT","LINE_NUMBER","PERCENTAGE","Sd","NORMAL","ITALIC","OBLIQUE","regionAnchorY","regionAnchorX","viewportAnchorY","viewportAnchorX","viewportAnchorUnits","widthUnits","heightUnits","Ud","scroll","Vd","UNDERLINE","LINE_THROUGH","OVERLINE","PX","LINES","scrollMode","NONE","UP","Xd","Yd","be","ce","parseMedia","periodStart","segmentStart","segmentEnd","pc","ge","he","ie","je","le","parseInit","$d","Ed","me","ne","ae","se","qe","M","te","ue","we","lg","xb","Pe","Y","Be","appendWindowStart","appendWindowEnd","kg","hg","N","minWidth","maxWidth","minHeight","maxHeight","minPixels","maxPixels","frameRate","minFrameRate","maxFrameRate","minBandwidth","maxBandwidth","allowedByApplication","filterNewPeriod","variants","textStreams","roles","pixelAspectRatio","primary","audioRoles","videoId","channelsCount","audioSamplingRate","audioBandwidth","videoBandwidth","originalVideoId","originalAudioId","originalTextId","originalId","__shaka_id","yf","sf","rf","allowedByKeySystem","df","tf","wf","nf","Gg","xe","ye","ze","Ce","chooseVariant","restrictions","defaultBandwidthEstimate","bandwidthUpgradeTarget","bandwidthDowngradeTarget","segmentDownloaded","switchInterval","setVariants","De","Ee","Fe","Ge","He","getAssetUri","getAudioLanguages","getAudioLanguagesAndRoles","getBufferedInfo","getExpiration","getPlaybackRate","getTextLanguages","getTextLanguagesAndRoles","getTextTracks","getVariantTracks","isBuffering","isInProgress","isLive","isTextTrackVisible","seekRange","usingEmbeddedTextTrack","getLoadMode","getPlayheadTimeAsDate","getPresentationStartTimeAsDate","Le","Me","Ne","Oe","TimeRanges","__type__","NaN","Qe","Re","Ff","Se","Te","Ue","Xe","Ze","Ye","We","removeUpdateListener","removeMessageListener","Ve","$e","sendMessage","ga","chrome","isAvailable","SessionRequest","ApiConfig","SessionStatus","appData","requestSession","Wf","targetName","addUpdateListener","addMessageListener","initState","methodName","receiver","friendlyName","af","bf","cf","ef","gf","hf","jf","ff","playerAfterLoad","autoplay","detail","kf","lf","CastReceiverManager","onSenderConnected","onSenderDisconnected","onSystemVolumeChanged","getCastMessageBus","onMessage","Af","Kf","canDisplayType","mf","of","pf","V","getSystemVolume","contentId","getCastChannel","broadcast","mediaSessionId","playerState","supportedMediaCommands","requestId","__onGCastApiAvailable","getVideo","getPlayer","canCast","isCasting","receiverName","setAppData","sg","suggestDisconnect","changeReceiverId","forceDisconnect","isConnected","vf","isIdle","getSenders","setSystemVolumeLevel","setSystemVolumeMuted","senderId","resumeState","customData","Q","uf","xf","reader","partialOkay","zf","Bf","Endianness","Bg","Dg","hasMoreData","getLength","readUint8","ke","getInt32","readInt32","Bb","readUint64","readBytes","skip","rewind","readTerminatedString","fullBox","parseNext","sampleDescription","allData","typeToString","Oc","Element","localName","namespaceURI","getAttributeNS","hasAttributeNS","Node","TEXT_NODE","CDATA_SECTION_NODE","Of","Ea","Df","Ef","Lf","Gf","Fg","Xf","If","Jf","Mf","RepresentationID","Bandwidth","Time","Nf","Pf","xg","aa","removeAttributeNS","Qf","Sf","Vf","Yf","Zf","$f","ag","bg","dg","yg","eg","presentationTimeline","createSegmentIndex","vb","findSegmentPosition","getSegmentReference","gg","ig","jg","La","Lc","initSegmentReference","mg","og","ng","Qb","pg","qg","createUris","getStartByte","getEndByte","getStartTime","getEndTime","merge","evict","getFloat32","getFloat64","cg","rg","Range","ug","networkingEngine","dash","xlinkFailGracefully","ba","Ua","Da","eb","fb","ignoreMinBufferTime","ignoreSuggestedPresentationDelay","defaultPresentationDelay","autoCorrectDrift","gb","zd","wb","Fb","Va","Gb","Ad","Ph","periods","filterAllPeriods","availabilityWindowOverride","offlineSessionIds","minBufferTime","clockSyncUri","zg","pe","streams","trickModeVideo","disableAudio","disableVideo","disableText","emsgSchemeIdUris","date","Hg","Ig","Jg","Kg","Lg","mpd","m3u8","ism","getExtension","getMaxSegmentDuration","setDuration","getPresentationStartTime","setClockOffset","setStatic","setSegmentAvailabilityDuration","setDelay","getDelay","notifySegments","notifyMinSegmentStartTime","notifyMaxSegmentDuration","getSegmentAvailabilityStart","setUserSeekStart","getSegmentAvailabilityEnd","getSafeSeekRangeStart","getSeekRangeStart","getSeekRangeEnd","usingPresentationStartTime","customScheme","ignoreDrmInfo","ignoreEmptyAdaptationSet","fg","Hf","presentationTimeOffset","schemeIdUri","eventElement","onTimelineRegionAdded","Mg","Yc","Ng","Og","Pg","Qg","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","dh","ch","ah","eh","fh","qh","sh","oh","ih","th","Ka","Oh","uh","Ah","vh","nh","wh","Ih","xh","yh","zh","Bh","hh","Dh","Eh","Fh","Gh","Ch","Hh","jh","ignoreTextStreamFailures","kh","mh","ph","rh","lh","gh","bh","m4s","m4i","m4a","ac3","ec3","m4v","vtt","ttml","Jh","Kh","Lh","Mh","variant","Nh","Qh","Rh","Sh","Th","Uh","Yh","Zh","$h","ai","Vh","Wh","Xh","bi","ci","ei","fi","gi","smallGapLimit","gapSize","jumpLargeGaps","hi","ii","ji","ki","li","ni","oi","pi","qi","ri","si","ti","ui","vi","wi","stallEnabled","stallSkip","stallThreshold","di","yi","zi","Ci","Bi","Ai","durationBackoff","rebufferingGoal","safeSeekOffset","Di","Fi","Gi","Hi","Ii","Ki","Oi","Pi","Qi","Ri","Si","isTextVisible","alwaysStreamText","Mi","Ti","Ui","Vi","Wi","Xi","Yi","Zi","bj","$i","Oa","Li","aj","Ni","forceTransmuxTS","dj","ej","fj","jj","kj","bufferingGoal","oj","nj","bufferBehind","sj","pj","qj","rj","hj","lj","gj","tj","ij","mj","failureCallback","uj","vj","signal","credentials","wj","withCredentials","onabort","getAllResponseHeaders","ontimeout","xj","zj","Aj","yj","Bj","Dj","objectStore","oncomplete","Ej","openCursor","onsuccess","Fj","Gj","Hj","transaction","Ij","Jj","Kj","Lj","Mj","Nj","Rj","getCells","Uj","Oj","Cf","presentationTimeDelta","eventDuration","messageData","getReader","read","enqueue","ReadableStream","fetch","AbortController","Headers","hasFixedKeySpace","addSegments","removeSegments","getSegments","addManifests","updateManifestExpiration","put","removeManifests","getManifests","getAllManifests","erase","Vj","Wj","variantIds","Xj","Yj","initSegmentUri","Zj","initSegmentKey","ak","dataKey","bk","ck","ek","fk","gk","ik","kk","jk","lk","mk","nk","ok","pk","qk","sessionIds","licenseUri","rk","sk","handleError","xk","uk","wk","vk","yk","Ak","zk","Bk","Ck","Dk","Ek","connection","downlink","saveData","startAtSegmentBoundary","useNativeHlsOnSafari","trackSelectionCallback","progressCallback","usePersistentLicense","drm","streaming","offline","abrFactory","abr","preferredAudioLanguage","preferredTextLanguage","preferredVariantRole","preferredTextRole","preferredAudioChannelCount","playRangeStart","playRangeEnd","textDisplayFactory","Fk","Gk","Hk","Ik","Jk","Lk","Mk","Nk","Ok","Pk","gl","Qk","Rk","Sk","Tk","Ei","il","jl","kl","Uk","ll","ml","Vk","nl","ol","ql","cj","Dl","sl","mi","zl","Ji","tl","ul","vl","wl","xl","Al","yl","Bl","Wk","Xk","Cl","HTMLMediaElement","HAVE_CURRENT_DATA","Yk","Zk","originalManifestUri","drmInfo","appMetadata","indexedDB","objectStoreNames","onupgradeneeded","createObjectStore","autoIncrement","getEmeSessionCell","deleteDatabase","onblocked","dk","hk","setTextVisibility","mergeConfigObjects","$k","al","bl","cl","hl","El","Fl","Gl","fromAdaptation","Ll","Ul","Ol","Pl","Ml","Nl","Sl","Vl","Tl","msExtendedCode","hasAppRestrictions","missingKeys","restrictedKeyStatuses","Rl","Ql","role","Il","Hl","dl","registerSupportPlugin","isBrowserSupported","MediaKeys","MediaKeySystemAccess","probeSupport","attach","unload","webm","weba","mkv","ogv","ogg","mpg","flac","wav","fl","resetConfiguration","getMediaElement","getNetworkingEngine","getManifestUri","videoTracks","videoHeight","seekable","trickPlay","cancelTrickPlay","Jl","Kl","selectTextTrack","selectEmbeddedTextTrack","selectVariantTrack","selectAudioLanguage","selectTextLanguage","selectVariantsByLabel","setTextTrackVisibility","getStartDate","streamBandwidth","corruptedFrames","estimatedBandwidth","loadLatency","playTime","pauseTime","bufferingTime","licenseTime","switchHistory","stateHistory","corruptedVideoFrames","Kk","setMaxHardwareResolution","retryStreaming","getManifest","getManifestParserFactory","Yl","Xl","offlineUri","Zl","$l","bm","cm","gm","hm","im","km","jm","lm","nm","Cm","Am","Tj","Dm","Bm","Em","Km","Lm","am","sm","qm","om","Mm","LoadMode","DESTROYED","MEDIA_SOURCE","SRC_EQUALS","Hm","rm","tm","dm","em","fm","mm","wm","um","Pj","Wl","xm","Jm","Im","ym","Cj","vm","pm","getStoreInProgress","zm","Sj","Fm","removeEmeSessions","Qj","deleteAll","Nm","qn","Om","Qm","Rm","HTMLInputElement","originalAddEventListener","Sm","Xm","Ym","initDataTypes","WebKitMediaKeys","DOMException","NOT_SUPPORTED_ERR","$m","an","Zm","cn","webkitSetMediaKeys","bn","dn","en","gn","hn","MSMediaKeys","kn","ln","jn","nn","msSetMediaKeys","mn","initCustomEvent","pn","rn","tn","un","Pm","Document","languages","eotf","Wm","Um","Tm","Vm","WebKitMediaKeyError","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_HARDWARECHANGE","MSMediaKeyError","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_HARDWARECHANGE","Hn","vn","wn","xn","yn","zn","An","Bn","Dn","Cn","Fn","Gn","En","In","webkitPresentationMode","pictureInPictureElement","Jn","webkitSupportsPresentationMode","webkitSetPresentationMode","Kn","Ln","hasAttribute","Mn","Nn","creationTime","totalFrameDelay","On","Pn","Qn","MediaKeyError","yd","webkitGenerateKeyRequest","generateKeyRequest","requestPictureInPicture","exitPictureInPicture","pictureInPictureEnabled","Rn","Sn","Tn","Un","Vn","Wn","xo","Go","Xn","Yn","Zn","$n","ao","bo","co","eo","fo","ELEMENT_NODE","ho","go","io","ko","lo","mo","jo","no","oo","po","ro","so","qo","to","uo","vo","wo","yo","zo","assert","Ao","Bo","Co","Do","Eo","encryptionScheme","Fo","Ho","mediaCapabilities","decodingInfo","Io","keySystemConfiguration","keySystemAccess","Jo","powerEfficient","smooth","supported","configuration","Ko","sampleSize","install","shaka","webpackPolyfill","deprecate","paths","_get","_createClass","_clappr","_shakaPlayer","_shakaPlayer2","_classCallCheck","_possibleConstructorReturn","DashShakaPlayback","_pendingAdaptationEvent","_isShakaReadyState","shakaMinimumDvrSize","_inherits","shakaPlayerInstance","_player","_currentLevelId","isAuto","selectTrack","polyfill","installAll","browserSupported","SHAKA_READY","sendStatsId","_sendStats","_onAdaptation","isEnable","_shakaTTVisible","_destroy","_createPlayer","shakaConfiguration","shakaOnBeforeLoad","_loaded","_setupError","_onBuffering","fragDateTime","_onShakaReady","_startToSendStats","intervalMs","shakaSendStatsInterval","shakaError","videoError","_ref2","util","activeVideo","_enableShakaTextTrack","__WEBPACK_EXTERNAL_MODULE_84__","copyright","_main","_main2","_levelSelector2","_style2","LevelSelector","bindPlaybackEvents","hideSelectLevelMenu","fillLevels","startLevelSwitch","stopLevelSwitch","updateCurrentLevel","respondsToCurrentLevel","hasLevels","getTitle","highlightCurrentLevel","initialLevel","selectedLevelId","onLevelsAvailable","levelSelectorConfig","configureLevelsLabels","hasLabels","labels","findLevelBy","foundLevel","onLevelSelect","levelSelectorSelect","onShowLevelSelectMenu","buttonElement","levelElement","updateText","currentLanguage","VERSION","prependListener","prependOnceListener","toAbsoluteIndex","DOMIterables","$GOPS","es6Symbols","wellKnownSymbols","FAILS_ON_PRIMITIVES","memoize","getHeadElement","singletonElement","styleElement","linkElement","__webpack_exports__","api","exported","getIndexByIdentifier","modulesToDom","idCountMap","identifiers","updater","nonce","insert","lastIdentifiers","newLastIdentifiers","_index","___CSS_LOADER_API_IMPORT___","base64","dedupe","ErrorPlugin","max_timeout","_err","txt","errorPlugin","VOCPlayer","maxTimeout","_buildConfig","hasMSE","AudioTrackSelector","vocStream","audioTrackSelectorConfig","playbackLevel","customLabel","_handleError","_handlePlay","_handleStop","_handleBufferFull","clearOverlay","_recovery","_getTimeout","_waitForMedia","_resetTimeout","HEADERS_RECEIVED","checkMedia","_handleMediaCheck"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAmB,UAAID,IAEvBD,EAAgB,UAAIC,IARtB,CASGK,QAAQ,WACX,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUP,QAGnC,IAAIC,EAASI,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHT,QAAS,IAUV,OANAU,EAAQH,GAAUI,KAAKV,EAAOD,QAASC,EAAQA,EAAOD,QAASM,GAG/DL,EAAOQ,GAAI,EAGJR,EAAOD,QA0Df,OArDAM,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASd,EAASe,EAAMC,GAC3CV,EAAoBW,EAAEjB,EAASe,IAClCG,OAAOC,eAAenB,EAASe,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEV,EAAoBgB,EAAI,SAAStB,GACX,oBAAXuB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAenB,EAASuB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAenB,EAAS,aAAc,CAAEyB,OAAO,KAQvDnB,EAAoBoB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAA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E,MAAO,MACPm9B,WAAY,YACZC,kBAAmB,eACnBe,iBAAkB,SACjB,CACD11G,KAAM,uBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,kBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,sBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,oBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,qBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,yBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,gBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,wBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,mBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,iBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,mBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,kBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,gBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,mBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,SACNu3E,MAAO,SACPm9B,WAAY,UACX,CACD10G,KAAM,SACNu3E,MAAO,QACPm9B,WAAY,SACZC,kBAAmB,oBAClB,CACD30G,KAAM,SACNu3E,MAAO,QACPm9B,WAAY,UACX,CACD10G,KAAM,SACNu3E,MAAO,QACPm9B,WAAY,UACX,CACD10G,KAAM,QACNu3E,MAAO,QACPm9B,WAAY,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GAAIA,EACFuN,QAAQygB,IAAI,gDACZv8B,KAAKkvL,QAAQpqI,WACR,CACL,IAAMp0C,EAAU1Q,KAAKo2L,cACrBt6K,QAAQygB,IAAR,8CAAmDzxB,KAAKC,MAAM2F,GAA9D,MACAC,WAAW3Q,KAAKq2L,cAAc98L,KAAKyG,MAAiB,IAAV0Q,M,sCAQ5C,IAAIxV,EAAS8E,KAAKkvL,QAAQz/K,QAAQvU,OAC9BA,GAAUA,EAAOA,SACnBA,EAASA,EAAOA,QAEI,iBAAXA,EC/PW,SAACgU,EAAKhK,GAC9B,IAAKA,GAAiC,mBAAdA,EACtB,MAAM,IAAI4nB,MAAJ,kCAAqC5nB,EAArC,MAER,IAAMiJ,EAAM,IAAI0C,eAChB1C,EAAIsE,mBAAqB,WACnBzS,KAAKgG,aAAe6K,eAAe0lL,mBACjB,MAAhBv2L,KAAK6O,OACP3J,GAAS,GAETA,GAAS,GAEXiJ,EAAI+B,UAGR/B,EAAIiF,KAAK,MAAOlE,GAAK,GACrBf,EAAIqF,KAAK,MDgPLgjL,CAAWt7L,EAAQ8E,KAAKy2L,kBAAkBl9L,KAAKyG,OAE/CA,KAAKwsD,U,8BASP1wC,QAAQygB,IAAI,yBACZv8B,KAAKm2L,UAAY,KAEjB,IAAMjgE,EAAsC,GAA5Bl2H,KAAKkvL,QAAQtxE,YACxBsY,GACHl2H,KAAKkvL,QAAQxxE,OAEf19G,KAAKkvL,QAAQhsF,UAAU,CACrBhoG,OAAQ8E,KAAKkvL,QAAQz/K,QAAQvU,OAC7BuiH,UAAU,IAGPyY,GACHl2H,KAAKkvL,QAAQrxE,c,8BAvOoB5kB","file":"player.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VOCPlayer\"] = factory();\n\telse\n\t\troot[\"VOCPlayer\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Clappr\"] = factory();\n\telse\n\t\troot[\"Clappr\"] = factory();\n})(window, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/main.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/babel-runtime/core-js/array/from.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/array/from.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/array/from */ \"./node_modules/core-js/library/fn/array/from.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/get-iterator.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/get-iterator.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/get-iterator */ \"./node_modules/core-js/library/fn/get-iterator.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/json/stringify.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/json/stringify.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/json/stringify */ \"./node_modules/core-js/library/fn/json/stringify.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/assign.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/assign.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/assign */ \"./node_modules/core-js/library/fn/object/assign.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/create.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/create.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/create */ \"./node_modules/core-js/library/fn/object/create.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/define-property.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/define-property.js ***!\n \\**********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/define-property */ \"./node_modules/core-js/library/fn/object/define-property.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js ***!\n \\**********************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/get-own-property-descriptor */ \"./node_modules/core-js/library/fn/object/get-own-property-descriptor.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/keys.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/keys.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/keys */ \"./node_modules/core-js/library/fn/object/keys.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/set-prototype-of.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/set-prototype-of.js ***!\n \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/set-prototype-of */ \"./node_modules/core-js/library/fn/object/set-prototype-of.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/symbol.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/symbol.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/symbol */ \"./node_modules/core-js/library/fn/symbol/index.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/symbol/iterator.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/symbol/iterator.js ***!\n \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/symbol/iterator */ \"./node_modules/core-js/library/fn/symbol/iterator.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/classCallCheck.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/classCallCheck.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/createClass.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/createClass.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _defineProperty = __webpack_require__(/*! ../core-js/object/define-property */ \"./node_modules/babel-runtime/core-js/object/define-property.js\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/extends.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/extends.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _assign = __webpack_require__(/*! ../core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/inherits.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/inherits.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = __webpack_require__(/*! ../core-js/object/set-prototype-of */ \"./node_modules/babel-runtime/core-js/object/set-prototype-of.js\");\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = __webpack_require__(/*! ../core-js/object/create */ \"./node_modules/babel-runtime/core-js/object/create.js\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = __webpack_require__(/*! ../helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/possibleConstructorReturn.js ***!\n \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _typeof2 = __webpack_require__(/*! ../helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/toConsumableArray.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _from = __webpack_require__(/*! ../core-js/array/from */ \"./node_modules/babel-runtime/core-js/array/from.js\");\n\nvar _from2 = _interopRequireDefault(_from);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return (0, _from2.default)(arr);\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/typeof.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/typeof.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _iterator = __webpack_require__(/*! ../core-js/symbol/iterator */ \"./node_modules/babel-runtime/core-js/symbol/iterator.js\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = __webpack_require__(/*! ../core-js/symbol */ \"./node_modules/babel-runtime/core-js/symbol.js\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/clappr-zepto/zepto.js\":\n/*!********************************************!*\\\n !*** ./node_modules/clappr-zepto/zepto.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n/* Zepto v1.2.0 - zepto ajax callbacks deferred event ie selector - zeptojs.com/license */\n\n\nvar Zepto = (function() {\n var undefined, key, $, classList, emptyArray = [], concat = emptyArray.concat, filter = emptyArray.filter, slice = emptyArray.slice,\n document = window.document,\n elementDisplay = {}, classCache = {},\n cssNumber = { 'column-count': 1, 'columns': 1, 'font-weight': 1, 'line-height': 1,'opacity': 1, 'z-index': 1, 'zoom': 1 },\n fragmentRE = /^\\s*<(\\w+|!)[^>]*>/,\n singleTagRE = /^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,\n tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/ig,\n rootNodeRE = /^(?:body|html)$/i,\n capitalRE = /([A-Z])/g,\n\n // special attributes that should be get/set via method calls\n methodAttributes = ['val', 'css', 'html', 'text', 'data', 'width', 'height', 'offset'],\n\n adjacencyOperators = [ 'after', 'prepend', 'before', 'append' ],\n table = document.createElement('table'),\n tableRow = document.createElement('tr'),\n containers = {\n 'tr': document.createElement('tbody'),\n 'tbody': table, 'thead': table, 'tfoot': table,\n 'td': tableRow, 'th': tableRow,\n '*': document.createElement('div')\n },\n readyRE = /complete|loaded|interactive/,\n simpleSelectorRE = /^[\\w-]*$/,\n class2type = {},\n toString = class2type.toString,\n zepto = {},\n camelize, uniq,\n tempParent = document.createElement('div'),\n propMap = {\n 'tabindex': 'tabIndex',\n 'readonly': 'readOnly',\n 'for': 'htmlFor',\n 'class': 'className',\n 'maxlength': 'maxLength',\n 'cellspacing': 'cellSpacing',\n 'cellpadding': 'cellPadding',\n 'rowspan': 'rowSpan',\n 'colspan': 'colSpan',\n 'usemap': 'useMap',\n 'frameborder': 'frameBorder',\n 'contenteditable': 'contentEditable'\n },\n isArray = Array.isArray ||\n function(object){ return object instanceof Array }\n\n zepto.matches = function(element, selector) {\n if (!selector || !element || element.nodeType !== 1) return false\n var matchesSelector = element.matches || element.webkitMatchesSelector ||\n element.mozMatchesSelector || element.oMatchesSelector ||\n element.matchesSelector\n if (matchesSelector) return matchesSelector.call(element, selector)\n // fall back to performing a selector:\n var match, parent = element.parentNode, temp = !parent\n if (temp) (parent = tempParent).appendChild(element)\n match = ~zepto.qsa(parent, selector).indexOf(element)\n temp && tempParent.removeChild(element)\n return match\n }\n\n function type(obj) {\n return obj == null ? String(obj) :\n class2type[toString.call(obj)] || \"object\"\n }\n\n function isFunction(value) { return type(value) == \"function\" }\n function isWindow(obj) { return obj != null && obj == obj.window }\n function isDocument(obj) { return obj != null && obj.nodeType == obj.DOCUMENT_NODE }\n function isObject(obj) { return type(obj) == \"object\" }\n function isPlainObject(obj) {\n return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype\n }\n\n function likeArray(obj) {\n var length = !!obj && 'length' in obj && obj.length,\n type = $.type(obj)\n\n return 'function' != type && !isWindow(obj) && (\n 'array' == type || length === 0 ||\n (typeof length == 'number' && length > 0 && (length - 1) in obj)\n )\n }\n\n function compact(array) { return filter.call(array, function(item){ return item != null }) }\n function flatten(array) { return array.length > 0 ? $.fn.concat.apply([], array) : array }\n camelize = function(str){ return str.replace(/-+(.)?/g, function(match, chr){ return chr ? chr.toUpperCase() : '' }) }\n function dasherize(str) {\n return str.replace(/::/g, '/')\n .replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2')\n .replace(/([a-z\\d])([A-Z])/g, '$1_$2')\n .replace(/_/g, '-')\n .toLowerCase()\n }\n uniq = function(array){ return filter.call(array, function(item, idx){ return array.indexOf(item) == idx }) }\n\n function classRE(name) {\n return name in classCache ?\n classCache[name] : (classCache[name] = new RegExp('(^|\\\\s)' + name + '(\\\\s|$)'))\n }\n\n function maybeAddPx(name, value) {\n return (typeof value == \"number\" && !cssNumber[dasherize(name)]) ? value + \"px\" : value\n }\n\n function defaultDisplay(nodeName) {\n var element, display\n if (!elementDisplay[nodeName]) {\n element = document.createElement(nodeName)\n document.body.appendChild(element)\n display = getComputedStyle(element, '').getPropertyValue(\"display\")\n element.parentNode.removeChild(element)\n display == \"none\" && (display = \"block\")\n elementDisplay[nodeName] = display\n }\n return elementDisplay[nodeName]\n }\n\n function children(element) {\n return 'children' in element ?\n slice.call(element.children) :\n $.map(element.childNodes, function(node){ if (node.nodeType == 1) return node })\n }\n\n function Z(dom, selector) {\n var i, len = dom ? dom.length : 0\n for (i = 0; i < len; i++) this[i] = dom[i]\n this.length = len\n this.selector = selector || ''\n }\n\n // `$.zepto.fragment` takes a html string and an optional tag name\n // to generate DOM nodes from the given html string.\n // The generated DOM nodes are returned as an array.\n // This function can be overridden in plugins for example to make\n // it compatible with browsers that don't support the DOM fully.\n zepto.fragment = function(html, name, properties) {\n var dom, nodes, container\n\n // A special case optimization for a single tag\n if (singleTagRE.test(html)) dom = $(document.createElement(RegExp.$1))\n\n if (!dom) {\n if (html.replace) html = html.replace(tagExpanderRE, \"<$1></$2>\")\n if (name === undefined) name = fragmentRE.test(html) && RegExp.$1\n if (!(name in containers)) name = '*'\n\n container = containers[name]\n container.innerHTML = '' + html\n dom = $.each(slice.call(container.childNodes), function(){\n container.removeChild(this)\n })\n }\n\n if (isPlainObject(properties)) {\n nodes = $(dom)\n $.each(properties, function(key, value) {\n if (methodAttributes.indexOf(key) > -1) nodes[key](value)\n else nodes.attr(key, value)\n })\n }\n\n return dom\n }\n\n // `$.zepto.Z` swaps out the prototype of the given `dom` array\n // of nodes with `$.fn` and thus supplying all the Zepto functions\n // to the array. This method can be overridden in plugins.\n zepto.Z = function(dom, selector) {\n return new Z(dom, selector)\n }\n\n // `$.zepto.isZ` should return `true` if the given object is a Zepto\n // collection. This method can be overridden in plugins.\n zepto.isZ = function(object) {\n return object instanceof zepto.Z\n }\n\n // `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and\n // takes a CSS selector and an optional context (and handles various\n // special cases).\n // This method can be overridden in plugins.\n zepto.init = function(selector, context) {\n var dom\n // If nothing given, return an empty Zepto collection\n if (!selector) return zepto.Z()\n // Optimize for string selectors\n else if (typeof selector == 'string') {\n selector = selector.trim()\n // If it's a html fragment, create nodes from it\n // Note: In both Chrome 21 and Firefox 15, DOM error 12\n // is thrown if the fragment doesn't begin with <\n if (selector[0] == '<' && fragmentRE.test(selector))\n dom = zepto.fragment(selector, RegExp.$1, context), selector = null\n // If there's a context, create a collection on that context first, and select\n // nodes from there\n else if (context !== undefined) return $(context).find(selector)\n // If it's a CSS selector, use it to select nodes.\n else dom = zepto.qsa(document, selector)\n }\n // If a function is given, call it when the DOM is ready\n else if (isFunction(selector)) return $(document).ready(selector)\n // If a Zepto collection is given, just return it\n else if (zepto.isZ(selector)) return selector\n else {\n // normalize array if an array of nodes is given\n if (isArray(selector)) dom = compact(selector)\n // Wrap DOM nodes.\n else if (isObject(selector))\n dom = [selector], selector = null\n // If it's a html fragment, create nodes from it\n else if (fragmentRE.test(selector))\n dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null\n // If there's a context, create a collection on that context first, and select\n // nodes from there\n else if (context !== undefined) return $(context).find(selector)\n // And last but no least, if it's a CSS selector, use it to select nodes.\n else dom = zepto.qsa(document, selector)\n }\n // create a new Zepto collection from the nodes found\n return zepto.Z(dom, selector)\n }\n\n // `$` will be the base `Zepto` object. When calling this\n // function just call `$.zepto.init, which makes the implementation\n // details of selecting nodes and creating Zepto collections\n // patchable in plugins.\n $ = function(selector, context){\n return zepto.init(selector, context)\n }\n\n function extend(target, source, deep) {\n for (key in source)\n if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {\n if (isPlainObject(source[key]) && !isPlainObject(target[key]))\n target[key] = {}\n if (isArray(source[key]) && !isArray(target[key]))\n target[key] = []\n extend(target[key], source[key], deep)\n }\n else if (source[key] !== undefined) target[key] = source[key]\n }\n\n // Copy all but undefined properties from one or more\n // objects to the `target` object.\n $.extend = function(target){\n var deep, args = slice.call(arguments, 1)\n if (typeof target == 'boolean') {\n deep = target\n target = args.shift()\n }\n args.forEach(function(arg){ extend(target, arg, deep) })\n return target\n }\n\n // `$.zepto.qsa` is Zepto's CSS selector implementation which\n // uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.\n // This method can be overridden in plugins.\n zepto.qsa = function(element, selector){\n var found,\n maybeID = selector[0] == '#',\n maybeClass = !maybeID && selector[0] == '.',\n nameOnly = maybeID || maybeClass ? selector.slice(1) : selector, // Ensure that a 1 char tag name still gets checked\n isSimple = simpleSelectorRE.test(nameOnly)\n return (element.getElementById && isSimple && maybeID) ? // Safari DocumentFragment doesn't have getElementById\n ( (found = element.getElementById(nameOnly)) ? [found] : [] ) :\n (element.nodeType !== 1 && element.nodeType !== 9 && element.nodeType !== 11) ? [] :\n slice.call(\n isSimple && !maybeID && element.getElementsByClassName ? // DocumentFragment doesn't have getElementsByClassName/TagName\n maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class\n element.getElementsByTagName(selector) : // Or a tag\n element.querySelectorAll(selector) // Or it's not simple, and we need to query all\n )\n }\n\n function filtered(nodes, selector) {\n return selector == null ? $(nodes) : $(nodes).filter(selector)\n }\n\n $.contains = document.documentElement.contains ?\n function(parent, node) {\n return parent !== node && parent.contains(node)\n } :\n function(parent, node) {\n while (node && (node = node.parentNode))\n if (node === parent) return true\n return false\n }\n\n function funcArg(context, arg, idx, payload) {\n return isFunction(arg) ? arg.call(context, idx, payload) : arg\n }\n\n function setAttribute(node, name, value) {\n value == null ? node.removeAttribute(name) : node.setAttribute(name, value)\n }\n\n // access className property while respecting SVGAnimatedString\n function className(node, value){\n var klass = node.className || '',\n svg = klass && klass.baseVal !== undefined\n\n if (value === undefined) return svg ? klass.baseVal : klass\n svg ? (klass.baseVal = value) : (node.className = value)\n }\n\n // \"true\" => true\n // \"false\" => false\n // \"null\" => null\n // \"42\" => 42\n // \"42.5\" => 42.5\n // \"08\" => \"08\"\n // JSON => parse if valid\n // String => self\n function deserializeValue(value) {\n try {\n return value ?\n value == \"true\" ||\n ( value == \"false\" ? false :\n value == \"null\" ? null :\n +value + \"\" == value ? +value :\n /^[\\[\\{]/.test(value) ? $.parseJSON(value) :\n value )\n : value\n } catch(e) {\n return value\n }\n }\n\n $.type = type\n $.isFunction = isFunction\n $.isWindow = isWindow\n $.isArray = isArray\n $.isPlainObject = isPlainObject\n\n $.isEmptyObject = function(obj) {\n var name\n for (name in obj) return false\n return true\n }\n\n $.isNumeric = function(val) {\n var num = Number(val), type = typeof val\n return val != null && type != 'boolean' &&\n (type != 'string' || val.length) &&\n !isNaN(num) && isFinite(num) || false\n }\n\n $.inArray = function(elem, array, i){\n return emptyArray.indexOf.call(array, elem, i)\n }\n\n $.camelCase = camelize\n $.trim = function(str) {\n return str == null ? \"\" : String.prototype.trim.call(str)\n }\n\n // plugin compatibility\n $.uuid = 0\n $.support = { }\n $.expr = { }\n $.noop = function() {}\n\n $.map = function(elements, callback){\n var value, values = [], i, key\n if (likeArray(elements))\n for (i = 0; i < elements.length; i++) {\n value = callback(elements[i], i)\n if (value != null) values.push(value)\n }\n else\n for (key in elements) {\n value = callback(elements[key], key)\n if (value != null) values.push(value)\n }\n return flatten(values)\n }\n\n $.each = function(elements, callback){\n var i, key\n if (likeArray(elements)) {\n for (i = 0; i < elements.length; i++)\n if (callback.call(elements[i], i, elements[i]) === false) return elements\n } else {\n for (key in elements)\n if (callback.call(elements[key], key, elements[key]) === false) return elements\n }\n\n return elements\n }\n\n $.grep = function(elements, callback){\n return filter.call(elements, callback)\n }\n\n if (window.JSON) $.parseJSON = JSON.parse\n\n // Populate the class2type map\n $.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"), function(i, name) {\n class2type[ \"[object \" + name + \"]\" ] = name.toLowerCase()\n })\n\n // Define methods that will be available on all\n // Zepto collections\n $.fn = {\n constructor: zepto.Z,\n length: 0,\n\n // Because a collection acts like an array\n // copy over these useful array functions.\n forEach: emptyArray.forEach,\n reduce: emptyArray.reduce,\n push: emptyArray.push,\n sort: emptyArray.sort,\n splice: emptyArray.splice,\n indexOf: emptyArray.indexOf,\n concat: function(){\n var i, value, args = []\n for (i = 0; i < arguments.length; i++) {\n value = arguments[i]\n args[i] = zepto.isZ(value) ? value.toArray() : value\n }\n return concat.apply(zepto.isZ(this) ? this.toArray() : this, args)\n },\n\n // `map` and `slice` in the jQuery API work differently\n // from their array counterparts\n map: function(fn){\n return $($.map(this, function(el, i){ return fn.call(el, i, el) }))\n },\n slice: function(){\n return $(slice.apply(this, arguments))\n },\n\n ready: function(callback){\n // need to check if document.body exists for IE as that browser reports\n // document ready when it hasn't yet created the body element\n if (readyRE.test(document.readyState) && document.body) callback($)\n else document.addEventListener('DOMContentLoaded', function(){ callback($) }, false)\n return this\n },\n get: function(idx){\n return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length]\n },\n toArray: function(){ return this.get() },\n size: function(){\n return this.length\n },\n remove: function(){\n return this.each(function(){\n if (this.parentNode != null)\n this.parentNode.removeChild(this)\n })\n },\n each: function(callback){\n emptyArray.every.call(this, function(el, idx){\n return callback.call(el, idx, el) !== false\n })\n return this\n },\n filter: function(selector){\n if (isFunction(selector)) return this.not(this.not(selector))\n return $(filter.call(this, function(element){\n return zepto.matches(element, selector)\n }))\n },\n add: function(selector,context){\n return $(uniq(this.concat($(selector,context))))\n },\n is: function(selector){\n return this.length > 0 && zepto.matches(this[0], selector)\n },\n not: function(selector){\n var nodes=[]\n if (isFunction(selector) && selector.call !== undefined)\n this.each(function(idx){\n if (!selector.call(this,idx)) nodes.push(this)\n })\n else {\n var excludes = typeof selector == 'string' ? this.filter(selector) :\n (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector)\n this.forEach(function(el){\n if (excludes.indexOf(el) < 0) nodes.push(el)\n })\n }\n return $(nodes)\n },\n has: function(selector){\n return this.filter(function(){\n return isObject(selector) ?\n $.contains(this, selector) :\n $(this).find(selector).size()\n })\n },\n eq: function(idx){\n return idx === -1 ? this.slice(idx) : this.slice(idx, + idx + 1)\n },\n first: function(){\n var el = this[0]\n return el && !isObject(el) ? el : $(el)\n },\n last: function(){\n var el = this[this.length - 1]\n return el && !isObject(el) ? el : $(el)\n },\n find: function(selector){\n var result, $this = this\n if (!selector) result = $()\n else if (typeof selector == 'object')\n result = $(selector).filter(function(){\n var node = this\n return emptyArray.some.call($this, function(parent){\n return $.contains(parent, node)\n })\n })\n else if (this.length == 1) result = $(zepto.qsa(this[0], selector))\n else result = this.map(function(){ return zepto.qsa(this, selector) })\n return result\n },\n closest: function(selector, context){\n var nodes = [], collection = typeof selector == 'object' && $(selector)\n this.each(function(_, node){\n while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))\n node = node !== context && !isDocument(node) && node.parentNode\n if (node && nodes.indexOf(node) < 0) nodes.push(node)\n })\n return $(nodes)\n },\n parents: function(selector){\n var ancestors = [], nodes = this\n while (nodes.length > 0)\n nodes = $.map(nodes, function(node){\n if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {\n ancestors.push(node)\n return node\n }\n })\n return filtered(ancestors, selector)\n },\n parent: function(selector){\n return filtered(uniq(this.pluck('parentNode')), selector)\n },\n children: function(selector){\n return filtered(this.map(function(){ return children(this) }), selector)\n },\n contents: function() {\n return this.map(function() { return this.contentDocument || slice.call(this.childNodes) })\n },\n siblings: function(selector){\n return filtered(this.map(function(i, el){\n return filter.call(children(el.parentNode), function(child){ return child!==el })\n }), selector)\n },\n empty: function(){\n return this.each(function(){ this.innerHTML = '' })\n },\n // `pluck` is borrowed from Prototype.js\n pluck: function(property){\n return $.map(this, function(el){ return el[property] })\n },\n show: function(){\n return this.each(function(){\n this.style.display == \"none\" && (this.style.display = '')\n if (getComputedStyle(this, '').getPropertyValue(\"display\") == \"none\")\n this.style.display = defaultDisplay(this.nodeName)\n })\n },\n replaceWith: function(newContent){\n return this.before(newContent).remove()\n },\n wrap: function(structure){\n var func = isFunction(structure)\n if (this[0] && !func)\n var dom = $(structure).get(0),\n clone = dom.parentNode || this.length > 1\n\n return this.each(function(index){\n $(this).wrapAll(\n func ? structure.call(this, index) :\n clone ? dom.cloneNode(true) : dom\n )\n })\n },\n wrapAll: function(structure){\n if (this[0]) {\n $(this[0]).before(structure = $(structure))\n var children\n // drill down to the inmost element\n while ((children = structure.children()).length) structure = children.first()\n $(structure).append(this)\n }\n return this\n },\n wrapInner: function(structure){\n var func = isFunction(structure)\n return this.each(function(index){\n var self = $(this), contents = self.contents(),\n dom = func ? structure.call(this, index) : structure\n contents.length ? contents.wrapAll(dom) : self.append(dom)\n })\n },\n unwrap: function(){\n this.parent().each(function(){\n $(this).replaceWith($(this).children())\n })\n return this\n },\n clone: function(){\n return this.map(function(){ return this.cloneNode(true) })\n },\n hide: function(){\n return this.css(\"display\", \"none\")\n },\n toggle: function(setting){\n return this.each(function(){\n var el = $(this)\n ;(setting === undefined ? el.css(\"display\") == \"none\" : setting) ? el.show() : el.hide()\n })\n },\n prev: function(selector){ return $(this.pluck('previousElementSibling')).filter(selector || '*') },\n next: function(selector){ return $(this.pluck('nextElementSibling')).filter(selector || '*') },\n html: function(html){\n return 0 in arguments ?\n this.each(function(idx){\n var originHtml = this.innerHTML\n $(this).empty().append( funcArg(this, html, idx, originHtml) )\n }) :\n (0 in this ? this[0].innerHTML : null)\n },\n text: function(text){\n return 0 in arguments ?\n this.each(function(idx){\n var newText = funcArg(this, text, idx, this.textContent)\n this.textContent = newText == null ? '' : ''+newText\n }) :\n (0 in this ? this.pluck('textContent').join(\"\") : null)\n },\n attr: function(name, value){\n var result\n return (typeof name == 'string' && !(1 in arguments)) ?\n (0 in this && this[0].nodeType == 1 && (result = this[0].getAttribute(name)) != null ? result : undefined) :\n this.each(function(idx){\n if (this.nodeType !== 1) return\n if (isObject(name)) for (key in name) setAttribute(this, key, name[key])\n else setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)))\n })\n },\n removeAttr: function(name){\n return this.each(function(){ this.nodeType === 1 && name.split(' ').forEach(function(attribute){\n setAttribute(this, attribute)\n }, this)})\n },\n prop: function(name, value){\n name = propMap[name] || name\n return (1 in arguments) ?\n this.each(function(idx){\n this[name] = funcArg(this, value, idx, this[name])\n }) :\n (this[0] && this[0][name])\n },\n removeProp: function(name){\n name = propMap[name] || name\n return this.each(function(){ delete this[name] })\n },\n data: function(name, value){\n var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase()\n\n var data = (1 in arguments) ?\n this.attr(attrName, value) :\n this.attr(attrName)\n\n return data !== null ? deserializeValue(data) : undefined\n },\n val: function(value){\n if (0 in arguments) {\n if (value == null) value = \"\"\n return this.each(function(idx){\n this.value = funcArg(this, value, idx, this.value)\n })\n } else {\n return this[0] && (this[0].multiple ?\n $(this[0]).find('option').filter(function(){ return this.selected }).pluck('value') :\n this[0].value)\n }\n },\n offset: function(coordinates){\n if (coordinates) return this.each(function(index){\n var $this = $(this),\n coords = funcArg(this, coordinates, index, $this.offset()),\n parentOffset = $this.offsetParent().offset(),\n props = {\n top: coords.top - parentOffset.top,\n left: coords.left - parentOffset.left\n }\n\n if ($this.css('position') == 'static') props['position'] = 'relative'\n $this.css(props)\n })\n if (!this.length) return null\n if (document.documentElement !== this[0] && !$.contains(document.documentElement, this[0]))\n return {top: 0, left: 0}\n var obj = this[0].getBoundingClientRect()\n return {\n left: obj.left + window.pageXOffset,\n top: obj.top + window.pageYOffset,\n width: Math.round(obj.width),\n height: Math.round(obj.height)\n }\n },\n css: function(property, value){\n if (arguments.length < 2) {\n var element = this[0]\n if (typeof property == 'string') {\n if (!element) return\n return element.style[camelize(property)] || getComputedStyle(element, '').getPropertyValue(property)\n } else if (isArray(property)) {\n if (!element) return\n var props = {}\n var computedStyle = getComputedStyle(element, '')\n $.each(property, function(_, prop){\n props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop))\n })\n return props\n }\n }\n\n var css = ''\n if (type(property) == 'string') {\n if (!value && value !== 0)\n this.each(function(){ this.style.removeProperty(dasherize(property)) })\n else\n css = dasherize(property) + \":\" + maybeAddPx(property, value)\n } else {\n for (key in property)\n if (!property[key] && property[key] !== 0)\n this.each(function(){ this.style.removeProperty(dasherize(key)) })\n else\n css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';'\n }\n\n return this.each(function(){ this.style.cssText += ';' + css })\n },\n index: function(element){\n return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0])\n },\n hasClass: function(name){\n if (!name) return false\n return emptyArray.some.call(this, function(el){\n return this.test(className(el))\n }, classRE(name))\n },\n addClass: function(name){\n if (!name) return this\n return this.each(function(idx){\n if (!('className' in this)) return\n classList = []\n var cls = className(this), newName = funcArg(this, name, idx, cls)\n newName.split(/\\s+/g).forEach(function(klass){\n if (!$(this).hasClass(klass)) classList.push(klass)\n }, this)\n classList.length && className(this, cls + (cls ? \" \" : \"\") + classList.join(\" \"))\n })\n },\n removeClass: function(name){\n return this.each(function(idx){\n if (!('className' in this)) return\n if (name === undefined) return className(this, '')\n classList = className(this)\n funcArg(this, name, idx, classList).split(/\\s+/g).forEach(function(klass){\n classList = classList.replace(classRE(klass), \" \")\n })\n className(this, classList.trim())\n })\n },\n toggleClass: function(name, when){\n if (!name) return this\n return this.each(function(idx){\n var $this = $(this), names = funcArg(this, name, idx, className(this))\n names.split(/\\s+/g).forEach(function(klass){\n (when === undefined ? !$this.hasClass(klass) : when) ?\n $this.addClass(klass) : $this.removeClass(klass)\n })\n })\n },\n scrollTop: function(value){\n if (!this.length) return\n var hasScrollTop = 'scrollTop' in this[0]\n if (value === undefined) return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset\n return this.each(hasScrollTop ?\n function(){ this.scrollTop = value } :\n function(){ this.scrollTo(this.scrollX, value) })\n },\n scrollLeft: function(value){\n if (!this.length) return\n var hasScrollLeft = 'scrollLeft' in this[0]\n if (value === undefined) return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset\n return this.each(hasScrollLeft ?\n function(){ this.scrollLeft = value } :\n function(){ this.scrollTo(value, this.scrollY) })\n },\n position: function() {\n if (!this.length) return\n\n var elem = this[0],\n // Get *real* offsetParent\n offsetParent = this.offsetParent(),\n // Get correct offsets\n offset = this.offset(),\n parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset()\n\n // Subtract element margins\n // note: when an element has margin: auto the offsetLeft and marginLeft\n // are the same in Safari causing offset.left to incorrectly be 0\n offset.top -= parseFloat( $(elem).css('margin-top') ) || 0\n offset.left -= parseFloat( $(elem).css('margin-left') ) || 0\n\n // Add offsetParent borders\n parentOffset.top += parseFloat( $(offsetParent[0]).css('border-top-width') ) || 0\n parentOffset.left += parseFloat( $(offsetParent[0]).css('border-left-width') ) || 0\n\n // Subtract the two offsets\n return {\n top: offset.top - parentOffset.top,\n left: offset.left - parentOffset.left\n }\n },\n offsetParent: function() {\n return this.map(function(){\n var parent = this.offsetParent || document.body\n while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css(\"position\") == \"static\")\n parent = parent.offsetParent\n return parent\n })\n }\n }\n\n // for now\n $.fn.detach = $.fn.remove\n\n // Generate the `width` and `height` functions\n ;['width', 'height'].forEach(function(dimension){\n var dimensionProperty =\n dimension.replace(/./, function(m){ return m[0].toUpperCase() })\n\n $.fn[dimension] = function(value){\n var offset, el = this[0]\n if (value === undefined) return isWindow(el) ? el['inner' + dimensionProperty] :\n isDocument(el) ? el.documentElement['scroll' + dimensionProperty] :\n (offset = this.offset()) && offset[dimension]\n else return this.each(function(idx){\n el = $(this)\n el.css(dimension, funcArg(this, value, idx, el[dimension]()))\n })\n }\n })\n\n function traverseNode(node, fun) {\n fun(node)\n for (var i = 0, len = node.childNodes.length; i < len; i++)\n traverseNode(node.childNodes[i], fun)\n }\n\n // Generate the `after`, `prepend`, `before`, `append`,\n // `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.\n adjacencyOperators.forEach(function(operator, operatorIndex) {\n var inside = operatorIndex % 2 //=> prepend, append\n\n $.fn[operator] = function(){\n // arguments can be nodes, arrays of nodes, Zepto objects and HTML strings\n var argType, nodes = $.map(arguments, function(arg) {\n var arr = []\n argType = type(arg)\n if (argType == \"array\") {\n arg.forEach(function(el) {\n if (el.nodeType !== undefined) return arr.push(el)\n else if ($.zepto.isZ(el)) return arr = arr.concat(el.get())\n arr = arr.concat(zepto.fragment(el))\n })\n return arr\n }\n return argType == \"object\" || arg == null ?\n arg : zepto.fragment(arg)\n }),\n parent, copyByClone = this.length > 1\n if (nodes.length < 1) return this\n\n return this.each(function(_, target){\n parent = inside ? target : target.parentNode\n\n // convert all methods to a \"before\" operation\n target = operatorIndex == 0 ? target.nextSibling :\n operatorIndex == 1 ? target.firstChild :\n operatorIndex == 2 ? target :\n null\n\n var parentInDocument = $.contains(document.documentElement, parent)\n\n nodes.forEach(function(node){\n if (copyByClone) node = node.cloneNode(true)\n else if (!parent) return $(node).remove()\n\n parent.insertBefore(node, target)\n if (parentInDocument) traverseNode(node, function(el){\n if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' &&\n (!el.type || el.type === 'text/javascript') && !el.src){\n var target = el.ownerDocument ? el.ownerDocument.defaultView : window\n target['eval'].call(target, el.innerHTML)\n }\n })\n })\n })\n }\n\n // after => insertAfter\n // prepend => prependTo\n // before => insertBefore\n // append => appendTo\n $.fn[inside ? operator+'To' : 'insert'+(operatorIndex ? 'Before' : 'After')] = function(html){\n $(html)[operator](this)\n return this\n }\n })\n\n zepto.Z.prototype = Z.prototype = $.fn\n\n // Export internal API functions in the `$.zepto` namespace\n zepto.uniq = uniq\n zepto.deserializeValue = deserializeValue\n $.zepto = zepto\n\n return $\n})()\n\nwindow.Zepto = Zepto\nwindow.$ === undefined && (window.$ = Zepto)\n\n;(function($){\n var jsonpID = +new Date(),\n document = window.document,\n key,\n name,\n rscript = /<script\\b[^<]*(?:(?!<\\/script>)<[^<]*)*<\\/script>/gi,\n scriptTypeRE = /^(?:text|application)\\/javascript/i,\n xmlTypeRE = /^(?:text|application)\\/xml/i,\n jsonType = 'application/json',\n htmlType = 'text/html',\n blankRE = /^\\s*$/,\n originAnchor = document.createElement('a')\n\n originAnchor.href = window.location.href\n\n // trigger a custom event and return false if it was cancelled\n function triggerAndReturn(context, eventName, data) {\n var event = $.Event(eventName)\n $(context).trigger(event, data)\n return !event.isDefaultPrevented()\n }\n\n // trigger an Ajax \"global\" event\n function triggerGlobal(settings, context, eventName, data) {\n if (settings.global) return triggerAndReturn(context || document, eventName, data)\n }\n\n // Number of active Ajax requests\n $.active = 0\n\n function ajaxStart(settings) {\n if (settings.global && $.active++ === 0) triggerGlobal(settings, null, 'ajaxStart')\n }\n function ajaxStop(settings) {\n if (settings.global && !(--$.active)) triggerGlobal(settings, null, 'ajaxStop')\n }\n\n // triggers an extra global event \"ajaxBeforeSend\" that's like \"ajaxSend\" but cancelable\n function ajaxBeforeSend(xhr, settings) {\n var context = settings.context\n if (settings.beforeSend.call(context, xhr, settings) === false ||\n triggerGlobal(settings, context, 'ajaxBeforeSend', [xhr, settings]) === false)\n return false\n\n triggerGlobal(settings, context, 'ajaxSend', [xhr, settings])\n }\n function ajaxSuccess(data, xhr, settings, deferred) {\n var context = settings.context, status = 'success'\n settings.success.call(context, data, status, xhr)\n if (deferred) deferred.resolveWith(context, [data, status, xhr])\n triggerGlobal(settings, context, 'ajaxSuccess', [xhr, settings, data])\n ajaxComplete(status, xhr, settings)\n }\n // type: \"timeout\", \"error\", \"abort\", \"parsererror\"\n function ajaxError(error, type, xhr, settings, deferred) {\n var context = settings.context\n settings.error.call(context, xhr, type, error)\n if (deferred) deferred.rejectWith(context, [xhr, type, error])\n triggerGlobal(settings, context, 'ajaxError', [xhr, settings, error || type])\n ajaxComplete(type, xhr, settings)\n }\n // status: \"success\", \"notmodified\", \"error\", \"timeout\", \"abort\", \"parsererror\"\n function ajaxComplete(status, xhr, settings) {\n var context = settings.context\n settings.complete.call(context, xhr, status)\n triggerGlobal(settings, context, 'ajaxComplete', [xhr, settings])\n ajaxStop(settings)\n }\n\n function ajaxDataFilter(data, type, settings) {\n if (settings.dataFilter == empty) return data\n var context = settings.context\n return settings.dataFilter.call(context, data, type)\n }\n\n // Empty function, used as default callback\n function empty() {}\n\n $.ajaxJSONP = function(options, deferred){\n if (!('type' in options)) return $.ajax(options)\n\n var _callbackName = options.jsonpCallback,\n callbackName = ($.isFunction(_callbackName) ?\n _callbackName() : _callbackName) || ('Zepto' + (jsonpID++)),\n script = document.createElement('script'),\n originalCallback = window[callbackName],\n responseData,\n abort = function(errorType) {\n $(script).triggerHandler('error', errorType || 'abort')\n },\n xhr = { abort: abort }, abortTimeout\n\n if (deferred) deferred.promise(xhr)\n\n $(script).on('load error', function(e, errorType){\n clearTimeout(abortTimeout)\n $(script).off().remove()\n\n if (e.type == 'error' || !responseData) {\n ajaxError(null, errorType || 'error', xhr, options, deferred)\n } else {\n ajaxSuccess(responseData[0], xhr, options, deferred)\n }\n\n window[callbackName] = originalCallback\n if (responseData && $.isFunction(originalCallback))\n originalCallback(responseData[0])\n\n originalCallback = responseData = undefined\n })\n\n if (ajaxBeforeSend(xhr, options) === false) {\n abort('abort')\n return xhr\n }\n\n window[callbackName] = function(){\n responseData = arguments\n }\n\n script.src = options.url.replace(/\\?(.+)=\\?/, '?$1=' + callbackName)\n document.head.appendChild(script)\n\n if (options.timeout > 0) abortTimeout = setTimeout(function(){\n abort('timeout')\n }, options.timeout)\n\n return xhr\n }\n\n $.ajaxSettings = {\n // Default type of request\n type: 'GET',\n // Callback that is executed before request\n beforeSend: empty,\n // Callback that is executed if the request succeeds\n success: empty,\n // Callback that is executed the the server drops error\n error: empty,\n // Callback that is executed on request complete (both: error and success)\n complete: empty,\n // The context for the callbacks\n context: null,\n // Whether to trigger \"global\" Ajax events\n global: true,\n // Transport\n xhr: function () {\n return new window.XMLHttpRequest()\n },\n // MIME types mapping\n // IIS returns Javascript as \"application/x-javascript\"\n accepts: {\n script: 'text/javascript, application/javascript, application/x-javascript',\n json: jsonType,\n xml: 'application/xml, text/xml',\n html: htmlType,\n text: 'text/plain'\n },\n // Whether the request is to another domain\n crossDomain: false,\n // Default timeout\n timeout: 0,\n // Whether data should be serialized to string\n processData: true,\n // Whether the browser should be allowed to cache GET responses\n cache: true,\n //Used to handle the raw response data of XMLHttpRequest.\n //This is a pre-filtering function to sanitize the response.\n //The sanitized response should be returned\n dataFilter: empty\n }\n\n function mimeToDataType(mime) {\n if (mime) mime = mime.split(';', 2)[0]\n return mime && ( mime == htmlType ? 'html' :\n mime == jsonType ? 'json' :\n scriptTypeRE.test(mime) ? 'script' :\n xmlTypeRE.test(mime) && 'xml' ) || 'text'\n }\n\n function appendQuery(url, query) {\n if (query == '') return url\n return (url + '&' + query).replace(/[&?]{1,2}/, '?')\n }\n\n // serialize payload and append it to the URL for GET requests\n function serializeData(options) {\n if (options.processData && options.data && $.type(options.data) != \"string\")\n options.data = $.param(options.data, options.traditional)\n if (options.data && (!options.type || options.type.toUpperCase() == 'GET' || 'jsonp' == options.dataType))\n options.url = appendQuery(options.url, options.data), options.data = undefined\n }\n\n $.ajax = function(options){\n var settings = $.extend({}, options || {}),\n deferred = $.Deferred && $.Deferred(),\n urlAnchor, hashIndex\n for (key in $.ajaxSettings) if (settings[key] === undefined) settings[key] = $.ajaxSettings[key]\n\n ajaxStart(settings)\n\n if (!settings.crossDomain) {\n urlAnchor = document.createElement('a')\n urlAnchor.href = settings.url\n // cleans up URL for .href (IE only), see https://github.com/madrobby/zepto/pull/1049\n urlAnchor.href = urlAnchor.href\n settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host)\n }\n\n if (!settings.url) settings.url = window.location.toString()\n if ((hashIndex = settings.url.indexOf('#')) > -1) settings.url = settings.url.slice(0, hashIndex)\n serializeData(settings)\n\n var dataType = settings.dataType, hasPlaceholder = /\\?.+=\\?/.test(settings.url)\n if (hasPlaceholder) dataType = 'jsonp'\n\n if (settings.cache === false || (\n (!options || options.cache !== true) &&\n ('script' == dataType || 'jsonp' == dataType)\n ))\n settings.url = appendQuery(settings.url, '_=' + Date.now())\n\n if ('jsonp' == dataType) {\n if (!hasPlaceholder)\n settings.url = appendQuery(settings.url,\n settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?')\n return $.ajaxJSONP(settings, deferred)\n }\n\n var mime = settings.accepts[dataType],\n headers = { },\n setHeader = function(name, value) { headers[name.toLowerCase()] = [name, value] },\n protocol = /^([\\w-]+:)\\/\\//.test(settings.url) ? RegExp.$1 : window.location.protocol,\n xhr = settings.xhr(),\n nativeSetHeader = xhr.setRequestHeader,\n abortTimeout\n\n if (deferred) deferred.promise(xhr)\n\n if (!settings.crossDomain) setHeader('X-Requested-With', 'XMLHttpRequest')\n setHeader('Accept', mime || '*/*')\n if (mime = settings.mimeType || mime) {\n if (mime.indexOf(',') > -1) mime = mime.split(',', 2)[0]\n xhr.overrideMimeType && xhr.overrideMimeType(mime)\n }\n if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))\n setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded')\n\n if (settings.headers) for (name in settings.headers) setHeader(name, settings.headers[name])\n xhr.setRequestHeader = setHeader\n\n xhr.onreadystatechange = function(){\n if (xhr.readyState == 4) {\n xhr.onreadystatechange = empty\n clearTimeout(abortTimeout)\n var result, error = false\n if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {\n dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'))\n\n if (xhr.responseType == 'arraybuffer' || xhr.responseType == 'blob')\n result = xhr.response\n else {\n result = xhr.responseText\n\n try {\n // http://perfectionkills.com/global-eval-what-are-the-options/\n // sanitize response accordingly if data filter callback provided\n result = ajaxDataFilter(result, dataType, settings)\n if (dataType == 'script') (1,eval)(result)\n else if (dataType == 'xml') result = xhr.responseXML\n else if (dataType == 'json') result = blankRE.test(result) ? null : $.parseJSON(result)\n } catch (e) { error = e }\n\n if (error) return ajaxError(error, 'parsererror', xhr, settings, deferred)\n }\n\n ajaxSuccess(result, xhr, settings, deferred)\n } else {\n ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred)\n }\n }\n }\n\n if (ajaxBeforeSend(xhr, settings) === false) {\n xhr.abort()\n ajaxError(null, 'abort', xhr, settings, deferred)\n return xhr\n }\n\n var async = 'async' in settings ? settings.async : true\n xhr.open(settings.type, settings.url, async, settings.username, settings.password)\n\n if (settings.xhrFields) for (name in settings.xhrFields) xhr[name] = settings.xhrFields[name]\n\n for (name in headers) nativeSetHeader.apply(xhr, headers[name])\n\n if (settings.timeout > 0) abortTimeout = setTimeout(function(){\n xhr.onreadystatechange = empty\n xhr.abort()\n ajaxError(null, 'timeout', xhr, settings, deferred)\n }, settings.timeout)\n\n // avoid sending empty string (#319)\n xhr.send(settings.data ? settings.data : null)\n return xhr\n }\n\n // handle optional data/success arguments\n function parseArguments(url, data, success, dataType) {\n if ($.isFunction(data)) dataType = success, success = data, data = undefined\n if (!$.isFunction(success)) dataType = success, success = undefined\n return {\n url: url\n , data: data\n , success: success\n , dataType: dataType\n }\n }\n\n $.get = function(/* url, data, success, dataType */){\n return $.ajax(parseArguments.apply(null, arguments))\n }\n\n $.post = function(/* url, data, success, dataType */){\n var options = parseArguments.apply(null, arguments)\n options.type = 'POST'\n return $.ajax(options)\n }\n\n $.getJSON = function(/* url, data, success */){\n var options = parseArguments.apply(null, arguments)\n options.dataType = 'json'\n return $.ajax(options)\n }\n\n $.fn.load = function(url, data, success){\n if (!this.length) return this\n var self = this, parts = url.split(/\\s/), selector,\n options = parseArguments(url, data, success),\n callback = options.success\n if (parts.length > 1) options.url = parts[0], selector = parts[1]\n options.success = function(response){\n self.html(selector ?\n $('<div>').html(response.replace(rscript, \"\")).find(selector)\n : response)\n callback && callback.apply(self, arguments)\n }\n $.ajax(options)\n return this\n }\n\n var escape = encodeURIComponent\n\n function serialize(params, obj, traditional, scope){\n var type, array = $.isArray(obj), hash = $.isPlainObject(obj)\n $.each(obj, function(key, value) {\n type = $.type(value)\n if (scope) key = traditional ? scope :\n scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']'\n // handle data in serializeArray() format\n if (!scope && array) params.add(value.name, value.value)\n // recurse into nested objects\n else if (type == \"array\" || (!traditional && type == \"object\"))\n serialize(params, value, traditional, key)\n else params.add(key, value)\n })\n }\n\n $.param = function(obj, traditional){\n var params = []\n params.add = function(key, value) {\n if ($.isFunction(value)) value = value()\n if (value == null) value = \"\"\n this.push(escape(key) + '=' + escape(value))\n }\n serialize(params, obj, traditional)\n return params.join('&').replace(/%20/g, '+')\n }\n})(Zepto)\n\n;(function($){\n // Create a collection of callbacks to be fired in a sequence, with configurable behaviour\n // Option flags:\n // - once: Callbacks fired at most one time.\n // - memory: Remember the most recent context and arguments\n // - stopOnFalse: Cease iterating over callback list\n // - unique: Permit adding at most one instance of the same callback\n $.Callbacks = function(options) {\n options = $.extend({}, options)\n\n var memory, // Last fire value (for non-forgettable lists)\n fired, // Flag to know if list was already fired\n firing, // Flag to know if list is currently firing\n firingStart, // First callback to fire (used internally by add and fireWith)\n firingLength, // End of the loop when firing\n firingIndex, // Index of currently firing callback (modified by remove if needed)\n list = [], // Actual callback list\n stack = !options.once && [], // Stack of fire calls for repeatable lists\n fire = function(data) {\n memory = options.memory && data\n fired = true\n firingIndex = firingStart || 0\n firingStart = 0\n firingLength = list.length\n firing = true\n for ( ; list && firingIndex < firingLength ; ++firingIndex ) {\n if (list[firingIndex].apply(data[0], data[1]) === false && options.stopOnFalse) {\n memory = false\n break\n }\n }\n firing = false\n if (list) {\n if (stack) stack.length && fire(stack.shift())\n else if (memory) list.length = 0\n else Callbacks.disable()\n }\n },\n\n Callbacks = {\n add: function() {\n if (list) {\n var start = list.length,\n add = function(args) {\n $.each(args, function(_, arg){\n if (typeof arg === \"function\") {\n if (!options.unique || !Callbacks.has(arg)) list.push(arg)\n }\n else if (arg && arg.length && typeof arg !== 'string') add(arg)\n })\n }\n add(arguments)\n if (firing) firingLength = list.length\n else if (memory) {\n firingStart = start\n fire(memory)\n }\n }\n return this\n },\n remove: function() {\n if (list) {\n $.each(arguments, function(_, arg){\n var index\n while ((index = $.inArray(arg, list, index)) > -1) {\n list.splice(index, 1)\n // Handle firing indexes\n if (firing) {\n if (index <= firingLength) --firingLength\n if (index <= firingIndex) --firingIndex\n }\n }\n })\n }\n return this\n },\n has: function(fn) {\n return !!(list && (fn ? $.inArray(fn, list) > -1 : list.length))\n },\n empty: function() {\n firingLength = list.length = 0\n return this\n },\n disable: function() {\n list = stack = memory = undefined\n return this\n },\n disabled: function() {\n return !list\n },\n lock: function() {\n stack = undefined\n if (!memory) Callbacks.disable()\n return this\n },\n locked: function() {\n return !stack\n },\n fireWith: function(context, args) {\n if (list && (!fired || stack)) {\n args = args || []\n args = [context, args.slice ? args.slice() : args]\n if (firing) stack.push(args)\n else fire(args)\n }\n return this\n },\n fire: function() {\n return Callbacks.fireWith(this, arguments)\n },\n fired: function() {\n return !!fired\n }\n }\n\n return Callbacks\n }\n})(Zepto)\n\n;(function($){\n var slice = Array.prototype.slice\n\n function Deferred(func) {\n var tuples = [\n // action, add listener, listener list, final state\n [ \"resolve\", \"done\", $.Callbacks({once:1, memory:1}), \"resolved\" ],\n [ \"reject\", \"fail\", $.Callbacks({once:1, memory:1}), \"rejected\" ],\n [ \"notify\", \"progress\", $.Callbacks({memory:1}) ]\n ],\n state = \"pending\",\n promise = {\n state: function() {\n return state\n },\n always: function() {\n deferred.done(arguments).fail(arguments)\n return this\n },\n then: function(/* fnDone [, fnFailed [, fnProgress]] */) {\n var fns = arguments\n return Deferred(function(defer){\n $.each(tuples, function(i, tuple){\n var fn = $.isFunction(fns[i]) && fns[i]\n deferred[tuple[1]](function(){\n var returned = fn && fn.apply(this, arguments)\n if (returned && $.isFunction(returned.promise)) {\n returned.promise()\n .done(defer.resolve)\n .fail(defer.reject)\n .progress(defer.notify)\n } else {\n var context = this === promise ? defer.promise() : this,\n values = fn ? [returned] : arguments\n defer[tuple[0] + \"With\"](context, values)\n }\n })\n })\n fns = null\n }).promise()\n },\n\n promise: function(obj) {\n return obj != null ? $.extend( obj, promise ) : promise\n }\n },\n deferred = {}\n\n $.each(tuples, function(i, tuple){\n var list = tuple[2],\n stateString = tuple[3]\n\n promise[tuple[1]] = list.add\n\n if (stateString) {\n list.add(function(){\n state = stateString\n }, tuples[i^1][2].disable, tuples[2][2].lock)\n }\n\n deferred[tuple[0]] = function(){\n deferred[tuple[0] + \"With\"](this === deferred ? promise : this, arguments)\n return this\n }\n deferred[tuple[0] + \"With\"] = list.fireWith\n })\n\n promise.promise(deferred)\n if (func) func.call(deferred, deferred)\n return deferred\n }\n\n $.when = function(sub) {\n var resolveValues = slice.call(arguments),\n len = resolveValues.length,\n i = 0,\n remain = len !== 1 || (sub && $.isFunction(sub.promise)) ? len : 0,\n deferred = remain === 1 ? sub : Deferred(),\n progressValues, progressContexts, resolveContexts,\n updateFn = function(i, ctx, val){\n return function(value){\n ctx[i] = this\n val[i] = arguments.length > 1 ? slice.call(arguments) : value\n if (val === progressValues) {\n deferred.notifyWith(ctx, val)\n } else if (!(--remain)) {\n deferred.resolveWith(ctx, val)\n }\n }\n }\n\n if (len > 1) {\n progressValues = new Array(len)\n progressContexts = new Array(len)\n resolveContexts = new Array(len)\n for ( ; i < len; ++i ) {\n if (resolveValues[i] && $.isFunction(resolveValues[i].promise)) {\n resolveValues[i].promise()\n .done(updateFn(i, resolveContexts, resolveValues))\n .fail(deferred.reject)\n .progress(updateFn(i, progressContexts, progressValues))\n } else {\n --remain\n }\n }\n }\n if (!remain) deferred.resolveWith(resolveContexts, resolveValues)\n return deferred.promise()\n }\n\n $.Deferred = Deferred\n})(Zepto)\n\n;(function($){\n var _zid = 1, undefined,\n slice = Array.prototype.slice,\n isFunction = $.isFunction,\n isString = function(obj){ return typeof obj == 'string' },\n handlers = {},\n specialEvents={},\n focusinSupported = 'onfocusin' in window,\n focus = { focus: 'focusin', blur: 'focusout' },\n hover = { mouseenter: 'mouseover', mouseleave: 'mouseout' }\n\n specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents'\n\n function zid(element) {\n return element._zid || (element._zid = _zid++)\n }\n function findHandlers(element, event, fn, selector) {\n event = parse(event)\n if (event.ns) var matcher = matcherFor(event.ns)\n return (handlers[zid(element)] || []).filter(function(handler) {\n return handler\n && (!event.e || handler.e == event.e)\n && (!event.ns || matcher.test(handler.ns))\n && (!fn || zid(handler.fn) === zid(fn))\n && (!selector || handler.sel == selector)\n })\n }\n function parse(event) {\n var parts = ('' + event).split('.')\n return {e: parts[0], ns: parts.slice(1).sort().join(' ')}\n }\n function matcherFor(ns) {\n return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)')\n }\n\n function eventCapture(handler, captureSetting) {\n return handler.del &&\n (!focusinSupported && (handler.e in focus)) ||\n !!captureSetting\n }\n\n function realEvent(type) {\n return hover[type] || (focusinSupported && focus[type]) || type\n }\n\n function add(element, events, fn, data, selector, delegator, capture){\n var id = zid(element), set = (handlers[id] || (handlers[id] = []))\n events.split(/\\s/).forEach(function(event){\n if (event == 'ready') return $(document).ready(fn)\n var handler = parse(event)\n handler.fn = fn\n handler.sel = selector\n // emulate mouseenter, mouseleave\n if (handler.e in hover) fn = function(e){\n var related = e.relatedTarget\n if (!related || (related !== this && !$.contains(this, related)))\n return handler.fn.apply(this, arguments)\n }\n handler.del = delegator\n var callback = delegator || fn\n handler.proxy = function(e){\n e = compatible(e)\n if (e.isImmediatePropagationStopped()) return\n e.data = data\n var result = callback.apply(element, e._args == undefined ? [e] : [e].concat(e._args))\n if (result === false) e.preventDefault(), e.stopPropagation()\n return result\n }\n handler.i = set.length\n set.push(handler)\n if ('addEventListener' in element)\n element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture))\n })\n }\n function remove(element, events, fn, selector, capture){\n var id = zid(element)\n ;(events || '').split(/\\s/).forEach(function(event){\n findHandlers(element, event, fn, selector).forEach(function(handler){\n delete handlers[id][handler.i]\n if ('removeEventListener' in element)\n element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture))\n })\n })\n }\n\n $.event = { add: add, remove: remove }\n\n $.proxy = function(fn, context) {\n var args = (2 in arguments) && slice.call(arguments, 2)\n if (isFunction(fn)) {\n var proxyFn = function(){ return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments) }\n proxyFn._zid = zid(fn)\n return proxyFn\n } else if (isString(context)) {\n if (args) {\n args.unshift(fn[context], fn)\n return $.proxy.apply(null, args)\n } else {\n return $.proxy(fn[context], fn)\n }\n } else {\n throw new TypeError(\"expected function\")\n }\n }\n\n $.fn.bind = function(event, data, callback){\n return this.on(event, data, callback)\n }\n $.fn.unbind = function(event, callback){\n return this.off(event, callback)\n }\n $.fn.one = function(event, selector, data, callback){\n return this.on(event, selector, data, callback, 1)\n }\n\n var returnTrue = function(){return true},\n returnFalse = function(){return false},\n ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,\n eventMethods = {\n preventDefault: 'isDefaultPrevented',\n stopImmediatePropagation: 'isImmediatePropagationStopped',\n stopPropagation: 'isPropagationStopped'\n }\n\n function compatible(event, source) {\n if (source || !event.isDefaultPrevented) {\n source || (source = event)\n\n $.each(eventMethods, function(name, predicate) {\n var sourceMethod = source[name]\n event[name] = function(){\n this[predicate] = returnTrue\n return sourceMethod && sourceMethod.apply(source, arguments)\n }\n event[predicate] = returnFalse\n })\n\n event.timeStamp || (event.timeStamp = Date.now())\n\n if (source.defaultPrevented !== undefined ? source.defaultPrevented :\n 'returnValue' in source ? source.returnValue === false :\n source.getPreventDefault && source.getPreventDefault())\n event.isDefaultPrevented = returnTrue\n }\n return event\n }\n\n function createProxy(event) {\n var key, proxy = { originalEvent: event }\n for (key in event)\n if (!ignoreProperties.test(key) && event[key] !== undefined) proxy[key] = event[key]\n\n return compatible(proxy, event)\n }\n\n $.fn.delegate = function(selector, event, callback){\n return this.on(event, selector, callback)\n }\n $.fn.undelegate = function(selector, event, callback){\n return this.off(event, selector, callback)\n }\n\n $.fn.live = function(event, callback){\n $(document.body).delegate(this.selector, event, callback)\n return this\n }\n $.fn.die = function(event, callback){\n $(document.body).undelegate(this.selector, event, callback)\n return this\n }\n\n $.fn.on = function(event, selector, data, callback, one){\n var autoRemove, delegator, $this = this\n if (event && !isString(event)) {\n $.each(event, function(type, fn){\n $this.on(type, selector, data, fn, one)\n })\n return $this\n }\n\n if (!isString(selector) && !isFunction(callback) && callback !== false)\n callback = data, data = selector, selector = undefined\n if (callback === undefined || data === false)\n callback = data, data = undefined\n\n if (callback === false) callback = returnFalse\n\n return $this.each(function(_, element){\n if (one) autoRemove = function(e){\n remove(element, e.type, callback)\n return callback.apply(this, arguments)\n }\n\n if (selector) delegator = function(e){\n var evt, match = $(e.target).closest(selector, element).get(0)\n if (match && match !== element) {\n evt = $.extend(createProxy(e), {currentTarget: match, liveFired: element})\n return (autoRemove || callback).apply(match, [evt].concat(slice.call(arguments, 1)))\n }\n }\n\n add(element, event, callback, data, selector, delegator || autoRemove)\n })\n }\n $.fn.off = function(event, selector, callback){\n var $this = this\n if (event && !isString(event)) {\n $.each(event, function(type, fn){\n $this.off(type, selector, fn)\n })\n return $this\n }\n\n if (!isString(selector) && !isFunction(callback) && callback !== false)\n callback = selector, selector = undefined\n\n if (callback === false) callback = returnFalse\n\n return $this.each(function(){\n remove(this, event, callback, selector)\n })\n }\n\n $.fn.trigger = function(event, args){\n event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event)\n event._args = args\n return this.each(function(){\n // handle focus(), blur() by calling them directly\n if (event.type in focus && typeof this[event.type] == \"function\") this[event.type]()\n // items in the collection might not be DOM elements\n else if ('dispatchEvent' in this) this.dispatchEvent(event)\n else $(this).triggerHandler(event, args)\n })\n }\n\n // triggers event handlers on current element just as if an event occurred,\n // doesn't trigger an actual event, doesn't bubble\n $.fn.triggerHandler = function(event, args){\n var e, result\n this.each(function(i, element){\n e = createProxy(isString(event) ? $.Event(event) : event)\n e._args = args\n e.target = element\n $.each(findHandlers(element, event.type || event), function(i, handler){\n result = handler.proxy(e)\n if (e.isImmediatePropagationStopped()) return false\n })\n })\n return result\n }\n\n // shortcut methods for `.bind(event, fn)` for each event type\n ;('focusin focusout focus blur load resize scroll unload click dblclick '+\n 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave '+\n 'change select keydown keypress keyup error').split(' ').forEach(function(event) {\n $.fn[event] = function(callback) {\n return (0 in arguments) ?\n this.bind(event, callback) :\n this.trigger(event)\n }\n })\n\n $.Event = function(type, props) {\n if (!isString(type)) props = type, type = props.type\n var event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true\n if (props) for (var name in props) (name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name])\n event.initEvent(type, bubbles, true)\n return compatible(event)\n }\n\n})(Zepto)\n\n;(function(){\n // getComputedStyle shouldn't freak out when called\n // without a valid element as argument\n try {\n getComputedStyle(undefined)\n } catch(e) {\n var nativeGetComputedStyle = getComputedStyle\n window.getComputedStyle = function(element, pseudoElement){\n try {\n return nativeGetComputedStyle(element, pseudoElement)\n } catch(e) {\n return null\n }\n }\n }\n})()\n\n;(function($){\n var zepto = $.zepto, oldQsa = zepto.qsa, oldMatches = zepto.matches\n\n function visible(elem){\n elem = $(elem)\n return !!(elem.width() || elem.height()) && elem.css(\"display\") !== \"none\"\n }\n\n // Implements a subset from:\n // http://api.jquery.com/category/selectors/jquery-selector-extensions/\n //\n // Each filter function receives the current index, all nodes in the\n // considered set, and a value if there were parentheses. The value\n // of `this` is the node currently being considered. The function returns the\n // resulting node(s), null, or undefined.\n //\n // Complex selectors are not supported:\n // li:has(label:contains(\"foo\")) + li:has(label:contains(\"bar\"))\n // ul.inner:first > li\n var filters = $.expr[':'] = {\n visible: function(){ if (visible(this)) return this },\n hidden: function(){ if (!visible(this)) return this },\n selected: function(){ if (this.selected) return this },\n checked: function(){ if (this.checked) return this },\n parent: function(){ return this.parentNode },\n first: function(idx){ if (idx === 0) return this },\n last: function(idx, nodes){ if (idx === nodes.length - 1) return this },\n eq: function(idx, _, value){ if (idx === value) return this },\n contains: function(idx, _, text){ if ($(this).text().indexOf(text) > -1) return this },\n has: function(idx, _, sel){ if (zepto.qsa(this, sel).length) return this }\n }\n\n var filterRe = new RegExp('(.*):(\\\\w+)(?:\\\\(([^)]+)\\\\))?$\\\\s*'),\n childRe = /^\\s*>/,\n classTag = 'Zepto' + (+new Date())\n\n function process(sel, fn) {\n // quote the hash in `a[href^=#]` expression\n sel = sel.replace(/=#\\]/g, '=\"#\"]')\n var filter, arg, match = filterRe.exec(sel)\n if (match && match[2] in filters) {\n filter = filters[match[2]], arg = match[3]\n sel = match[1]\n if (arg) {\n var num = Number(arg)\n if (isNaN(num)) arg = arg.replace(/^[\"']|[\"']$/g, '')\n else arg = num\n }\n }\n return fn(sel, filter, arg)\n }\n\n zepto.qsa = function(node, selector) {\n return process(selector, function(sel, filter, arg){\n try {\n var taggedParent\n if (!sel && filter) sel = '*'\n else if (childRe.test(sel))\n // support \"> *\" child queries by tagging the parent node with a\n // unique class and prepending that classname onto the selector\n taggedParent = $(node).addClass(classTag), sel = '.'+classTag+' '+sel\n\n var nodes = oldQsa(node, sel)\n } catch(e) {\n console.error('error performing selector: %o', selector)\n throw e\n } finally {\n if (taggedParent) taggedParent.removeClass(classTag)\n }\n return !filter ? nodes :\n zepto.uniq($.map(nodes, function(n, i){ return filter.call(n, i, nodes, arg) }))\n })\n }\n\n zepto.matches = function(node, selector){\n return process(selector, function(sel, filter, arg){\n return (!sel || oldMatches(node, sel)) &&\n (!filter || filter.call(node, null, arg) === node)\n })\n }\n})(Zepto)\nmodule.exports = Zepto\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/array/from.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/fn/array/from.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.string.iterator */ \"./node_modules/core-js/library/modules/es6.string.iterator.js\");\n__webpack_require__(/*! ../../modules/es6.array.from */ \"./node_modules/core-js/library/modules/es6.array.from.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Array.from;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/get-iterator.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/get-iterator.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../modules/web.dom.iterable */ \"./node_modules/core-js/library/modules/web.dom.iterable.js\");\n__webpack_require__(/*! ../modules/es6.string.iterator */ \"./node_modules/core-js/library/modules/es6.string.iterator.js\");\nmodule.exports = __webpack_require__(/*! ../modules/core.get-iterator */ \"./node_modules/core-js/library/modules/core.get-iterator.js\");\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/json/stringify.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/json/stringify.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar core = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , $JSON = core.JSON || (core.JSON = {stringify: JSON.stringify});\nmodule.exports = function stringify(it){ // eslint-disable-line no-unused-vars\n return $JSON.stringify.apply($JSON, arguments);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/assign.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/assign.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.assign */ \"./node_modules/core-js/library/modules/es6.object.assign.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object.assign;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/create.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/create.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.create */ \"./node_modules/core-js/library/modules/es6.object.create.js\");\nvar $Object = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object;\nmodule.exports = function create(P, D){\n return $Object.create(P, D);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/define-property.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/define-property.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.define-property */ \"./node_modules/core-js/library/modules/es6.object.define-property.js\");\nvar $Object = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object;\nmodule.exports = function defineProperty(it, key, desc){\n return $Object.defineProperty(it, key, desc);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/get-own-property-descriptor.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/get-own-property-descriptor.js ***!\n \\*******************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.get-own-property-descriptor */ \"./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js\");\nvar $Object = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object;\nmodule.exports = function getOwnPropertyDescriptor(it, key){\n return $Object.getOwnPropertyDescriptor(it, key);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/keys.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/keys.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.keys */ \"./node_modules/core-js/library/modules/es6.object.keys.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object.keys;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/set-prototype-of.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/set-prototype-of.js ***!\n \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.set-prototype-of */ \"./node_modules/core-js/library/modules/es6.object.set-prototype-of.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object.setPrototypeOf;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/symbol/index.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/symbol/index.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.symbol */ \"./node_modules/core-js/library/modules/es6.symbol.js\");\n__webpack_require__(/*! ../../modules/es6.object.to-string */ \"./node_modules/core-js/library/modules/es6.object.to-string.js\");\n__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ \"./node_modules/core-js/library/modules/es7.symbol.async-iterator.js\");\n__webpack_require__(/*! ../../modules/es7.symbol.observable */ \"./node_modules/core-js/library/modules/es7.symbol.observable.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Symbol;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/symbol/iterator.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/symbol/iterator.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.string.iterator */ \"./node_modules/core-js/library/modules/es6.string.iterator.js\");\n__webpack_require__(/*! ../../modules/web.dom.iterable */ \"./node_modules/core-js/library/modules/web.dom.iterable.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_wks-ext */ \"./node_modules/core-js/library/modules/_wks-ext.js\").f('iterator');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_a-function.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_a-function.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_add-to-unscopables.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_add-to-unscopables.js ***!\n \\*********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(){ /* empty */ };\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_an-object.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_an-object.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\");\nmodule.exports = function(it){\n if(!isObject(it))throw TypeError(it + ' is not an object!');\n return it;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_array-includes.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_array-includes.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/library/modules/_to-length.js\")\n , toIndex = __webpack_require__(/*! ./_to-index */ \"./node_modules/core-js/library/modules/_to-index.js\");\nmodule.exports = function(IS_INCLUDES){\n return function($this, el, fromIndex){\n var O = toIObject($this)\n , length = toLength(O.length)\n , index = toIndex(fromIndex, length)\n , value;\n // Array#includes uses SameValueZero equality algorithm\n if(IS_INCLUDES && el != el)while(length > index){\n value = O[index++];\n if(value != value)return true;\n // Array#toIndex ignores holes, Array#includes - not\n } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n if(O[index] === el)return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_classof.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_classof.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/library/modules/_cof.js\")\n , TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('toStringTag')\n // ES3 wrong here\n , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function(it, key){\n try {\n return it[key];\n } catch(e){ /* empty */ }\n};\n\nmodule.exports = function(it){\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_cof.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_cof.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_core.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_core.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar core = module.exports = {version: '2.4.0'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_create-property.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_create-property.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $defineProperty = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\");\n\nmodule.exports = function(object, index, value){\n if(index in object)$defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_ctx.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_ctx.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// optional / simple context binding\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/library/modules/_a-function.js\");\nmodule.exports = function(fn, that, length){\n aFunction(fn);\n if(that === undefined)return fn;\n switch(length){\n case 1: return function(a){\n return fn.call(that, a);\n };\n case 2: return function(a, b){\n return fn.call(that, a, b);\n };\n case 3: return function(a, b, c){\n return fn.call(that, a, b, c);\n };\n }\n return function(/* ...args */){\n return fn.apply(that, arguments);\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_defined.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_defined.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_descriptors.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_descriptors.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_dom-create.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_dom-create.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\")\n , document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\").document\n // in old IE typeof document.createElement is 'object'\n , is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it){\n return is ? document.createElement(it) : {};\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_enum-bug-keys.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_enum-keys.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_enum-keys.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// all enumerable object keys, includes symbols\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , gOPS = __webpack_require__(/*! ./_object-gops */ \"./node_modules/core-js/library/modules/_object-gops.js\")\n , pIE = __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\");\nmodule.exports = function(it){\n var result = getKeys(it)\n , getSymbols = gOPS.f;\n if(getSymbols){\n var symbols = getSymbols(it)\n , isEnum = pIE.f\n , i = 0\n , key;\n while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);\n } return result;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_export.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_export.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/library/modules/_ctx.js\")\n , hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")\n , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n var IS_FORCED = type & $export.F\n , IS_GLOBAL = type & $export.G\n , IS_STATIC = type & $export.S\n , IS_PROTO = type & $export.P\n , IS_BIND = type & $export.B\n , IS_WRAP = type & $export.W\n , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n , expProto = exports[PROTOTYPE]\n , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]\n , key, own, out;\n if(IS_GLOBAL)source = name;\n for(key in source){\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if(own && key in exports)continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function(C){\n var F = function(a, b, c){\n if(this instanceof C){\n switch(arguments.length){\n case 0: return new C;\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if(IS_PROTO){\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library` \nmodule.exports = $export;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_fails.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_fails.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_global.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_global.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_has.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_has.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_hide.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_hide.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\");\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? function(object, key, value){\n return dP.f(object, key, createDesc(1, value));\n} : function(object, key, value){\n object[key] = value;\n return object;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_html.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_html.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\").document && document.documentElement;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_ie8-dom-define.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_ie8-dom-define.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") && !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/library/modules/_dom-create.js\")('div'), 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iobject.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iobject.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/library/modules/_cof.js\");\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_is-array-iter.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_is-array-iter.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// check on default Array iterator\nvar Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , ArrayProto = Array.prototype;\n\nmodule.exports = function(it){\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_is-array.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_is-array.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/library/modules/_cof.js\");\nmodule.exports = Array.isArray || function isArray(arg){\n return cof(arg) == 'Array';\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_is-object.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_is-object.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-call.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-call.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// call something on iterator step with safe closing on error\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\");\nmodule.exports = function(iterator, fn, value, entries){\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch(e){\n var ret = iterator['return'];\n if(ret !== undefined)anObject(ret.call(iterator));\n throw e;\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-create.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-create.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar create = __webpack_require__(/*! ./_object-create */ \"./node_modules/core-js/library/modules/_object-create.js\")\n , descriptor = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\")\n , setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\")\n , IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")(IteratorPrototype, __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator'), function(){ return this; });\n\nmodule.exports = function(Constructor, NAME, next){\n Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-define.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-define.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar LIBRARY = __webpack_require__(/*! ./_library */ \"./node_modules/core-js/library/modules/_library.js\")\n , $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/library/modules/_redefine.js\")\n , hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , $iterCreate = __webpack_require__(/*! ./_iter-create */ \"./node_modules/core-js/library/modules/_iter-create.js\")\n , setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\")\n , getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ \"./node_modules/core-js/library/modules/_object-gpo.js\")\n , ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n , FF_ITERATOR = '@@iterator'\n , KEYS = 'keys'\n , VALUES = 'values';\n\nvar returnThis = function(){ return this; };\n\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind){\n if(!BUGGY && kind in proto)return proto[kind];\n switch(kind){\n case KEYS: return function keys(){ return new Constructor(this, kind); };\n case VALUES: return function values(){ return new Constructor(this, kind); };\n } return function entries(){ return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator'\n , DEF_VALUES = DEFAULT == VALUES\n , VALUES_BUG = false\n , proto = Base.prototype\n , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n , $default = $native || getMethod(DEFAULT)\n , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n , methods, key, IteratorPrototype;\n // Fix native\n if($anyNative){\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n if(IteratorPrototype !== Object.prototype){\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if(DEF_VALUES && $native && $native.name !== VALUES){\n VALUES_BUG = true;\n $default = function values(){ return $native.call(this); };\n }\n // Define iterator\n if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if(DEFAULT){\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if(FORCED)for(key in methods){\n if(!(key in proto))redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-detect.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-detect.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function(){ SAFE_CLOSING = true; };\n Array.from(riter, function(){ throw 2; });\n} catch(e){ /* empty */ }\n\nmodule.exports = function(exec, skipClosing){\n if(!skipClosing && !SAFE_CLOSING)return false;\n var safe = false;\n try {\n var arr = [7]\n , iter = arr[ITERATOR]();\n iter.next = function(){ return {done: safe = true}; };\n arr[ITERATOR] = function(){ return iter; };\n exec(arr);\n } catch(e){ /* empty */ }\n return safe;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-step.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-step.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(done, value){\n return {value: value, done: !!done};\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iterators.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iterators.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_keyof.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_keyof.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\");\nmodule.exports = function(object, el){\n var O = toIObject(object)\n , keys = getKeys(O)\n , length = keys.length\n , index = 0\n , key;\n while(length > index)if(O[key = keys[index++]] === el)return key;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_library.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_library.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = true;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_meta.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_meta.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar META = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\")('meta')\n , isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , setDesc = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f\n , id = 0;\nvar isExtensible = Object.isExtensible || function(){\n return true;\n};\nvar FREEZE = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function(it){\n setDesc(it, META, {value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n }});\n};\nvar fastKey = function(it, create){\n // return primitive with prefix\n if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return 'F';\n // not necessary to add metadata\n if(!create)return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function(it, create){\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return true;\n // not necessary to add metadata\n if(!create)return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function(it){\n if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-assign.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-assign.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , gOPS = __webpack_require__(/*! ./_object-gops */ \"./node_modules/core-js/library/modules/_object-gops.js\")\n , pIE = __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\")\n , toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , IObject = __webpack_require__(/*! ./_iobject */ \"./node_modules/core-js/library/modules/_iobject.js\")\n , $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || __webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n var A = {}\n , B = {}\n , S = Symbol()\n , K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k){ B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n var T = toObject(target)\n , aLen = arguments.length\n , index = 1\n , getSymbols = gOPS.f\n , isEnum = pIE.f;\n while(aLen > index){\n var S = IObject(arguments[index++])\n , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n , length = keys.length\n , j = 0\n , key;\n while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n } return T;\n} : $assign;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-create.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-create.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , dPs = __webpack_require__(/*! ./_object-dps */ \"./node_modules/core-js/library/modules/_object-dps.js\")\n , enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\")\n , IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/library/modules/_shared-key.js\")('IE_PROTO')\n , Empty = function(){ /* empty */ }\n , PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function(){\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/library/modules/_dom-create.js\")('iframe')\n , i = enumBugKeys.length\n , lt = '<'\n , gt = '>'\n , iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(/*! ./_html */ \"./node_modules/core-js/library/modules/_html.js\").appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties){\n var result;\n if(O !== null){\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty;\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-dp.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-dp.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/library/modules/_ie8-dom-define.js\")\n , toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/library/modules/_to-primitive.js\")\n , dP = Object.defineProperty;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? Object.defineProperty : function defineProperty(O, P, Attributes){\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if(IE8_DOM_DEFINE)try {\n return dP(O, P, Attributes);\n } catch(e){ /* empty */ }\n if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n if('value' in Attributes)O[P] = Attributes.value;\n return O;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-dps.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-dps.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\");\n\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? Object.defineProperties : function defineProperties(O, Properties){\n anObject(O);\n var keys = getKeys(Properties)\n , length = keys.length\n , i = 0\n , P;\n while(length > i)dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gopd.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gopd.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar pIE = __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/library/modules/_to-primitive.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/library/modules/_ie8-dom-define.js\")\n , gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? gOPD : function getOwnPropertyDescriptor(O, P){\n O = toIObject(O);\n P = toPrimitive(P, true);\n if(IE8_DOM_DEFINE)try {\n return gOPD(O, P);\n } catch(e){ /* empty */ }\n if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gopn-ext.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gopn-ext.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , gOPN = __webpack_require__(/*! ./_object-gopn */ \"./node_modules/core-js/library/modules/_object-gopn.js\").f\n , toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function(it){\n try {\n return gOPN(it);\n } catch(e){\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it){\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gopn.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gopn.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = __webpack_require__(/*! ./_object-keys-internal */ \"./node_modules/core-js/library/modules/_object-keys-internal.js\")\n , hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\").concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){\n return $keys(O, hiddenKeys);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gops.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gops.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nexports.f = Object.getOwnPropertySymbols;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gpo.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gpo.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/library/modules/_shared-key.js\")('IE_PROTO')\n , ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function(O){\n O = toObject(O);\n if(has(O, IE_PROTO))return O[IE_PROTO];\n if(typeof O.constructor == 'function' && O instanceof O.constructor){\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-keys-internal.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-keys-internal.js ***!\n \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , arrayIndexOf = __webpack_require__(/*! ./_array-includes */ \"./node_modules/core-js/library/modules/_array-includes.js\")(false)\n , IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/library/modules/_shared-key.js\")('IE_PROTO');\n\nmodule.exports = function(object, names){\n var O = toIObject(object)\n , i = 0\n , result = []\n , key;\n for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while(names.length > i)if(has(O, key = names[i++])){\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-keys.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-keys.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(/*! ./_object-keys-internal */ \"./node_modules/core-js/library/modules/_object-keys-internal.js\")\n , enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\");\n\nmodule.exports = Object.keys || function keys(O){\n return $keys(O, enumBugKeys);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-pie.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-pie.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nexports.f = {}.propertyIsEnumerable;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-sap.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-sap.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// most Object methods by ES6 should accept primitives\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , fails = __webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\");\nmodule.exports = function(KEY, exec){\n var fn = (core.Object || {})[KEY] || Object[KEY]\n , exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_property-desc.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_property-desc.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_redefine.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_redefine.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\");\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_set-proto.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_set-proto.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\")\n , anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\");\nvar check = function(O, proto){\n anObject(O);\n if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function(test, buggy, set){\n try {\n set = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/library/modules/_ctx.js\")(Function.call, __webpack_require__(/*! ./_object-gopd */ \"./node_modules/core-js/library/modules/_object-gopd.js\").f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch(e){ buggy = true; }\n return function setPrototypeOf(O, proto){\n check(O, proto);\n if(buggy)O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_set-to-string-tag.js ***!\n \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar def = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('toStringTag');\n\nmodule.exports = function(it, tag, stat){\n if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_shared-key.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_shared-key.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/library/modules/_shared.js\")('keys')\n , uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\");\nmodule.exports = function(key){\n return shared[key] || (shared[key] = uid(key));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_shared.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_shared.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , SHARED = '__core-js_shared__'\n , store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key){\n return store[key] || (store[key] = {});\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_string-at.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_string-at.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/library/modules/_to-integer.js\")\n , defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/library/modules/_defined.js\");\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function(TO_STRING){\n return function(that, pos){\n var s = String(defined(that))\n , i = toInteger(pos)\n , l = s.length\n , a, b;\n if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-index.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/library/modules/_to-integer.js\")\n , max = Math.max\n , min = Math.min;\nmodule.exports = function(index, length){\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-integer.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-integer.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-iobject.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-iobject.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(/*! ./_iobject */ \"./node_modules/core-js/library/modules/_iobject.js\")\n , defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/library/modules/_defined.js\");\nmodule.exports = function(it){\n return IObject(defined(it));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-length.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-length.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.15 ToLength\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/library/modules/_to-integer.js\")\n , min = Math.min;\nmodule.exports = function(it){\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-object.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-object.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/library/modules/_defined.js\");\nmodule.exports = function(it){\n return Object(defined(it));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-primitive.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-primitive.js ***!\n \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\");\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function(it, S){\n if(!isObject(it))return it;\n var fn, val;\n if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_uid.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_uid.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar id = 0\n , px = Math.random();\nmodule.exports = function(key){\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_wks-define.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_wks-define.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , LIBRARY = __webpack_require__(/*! ./_library */ \"./node_modules/core-js/library/modules/_library.js\")\n , wksExt = __webpack_require__(/*! ./_wks-ext */ \"./node_modules/core-js/library/modules/_wks-ext.js\")\n , defineProperty = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f;\nmodule.exports = function(name){\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_wks-ext.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_wks-ext.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports.f = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\");\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_wks.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_wks.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar store = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/library/modules/_shared.js\")('wks')\n , uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\")\n , Symbol = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\").Symbol\n , USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function(name){\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/core.get-iterator-method.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/core.get-iterator-method.js ***!\n \\**************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar classof = __webpack_require__(/*! ./_classof */ \"./node_modules/core-js/library/modules/_classof.js\")\n , ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\");\nmodule.exports = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\").getIteratorMethod = function(it){\n if(it != undefined)return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/core.get-iterator.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/core.get-iterator.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , get = __webpack_require__(/*! ./core.get-iterator-method */ \"./node_modules/core-js/library/modules/core.get-iterator-method.js\");\nmodule.exports = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\").getIterator = function(it){\n var iterFn = get(it);\n if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');\n return anObject(iterFn.call(it));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.array.from.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.array.from.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/library/modules/_ctx.js\")\n , $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , call = __webpack_require__(/*! ./_iter-call */ \"./node_modules/core-js/library/modules/_iter-call.js\")\n , isArrayIter = __webpack_require__(/*! ./_is-array-iter */ \"./node_modules/core-js/library/modules/_is-array-iter.js\")\n , toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/library/modules/_to-length.js\")\n , createProperty = __webpack_require__(/*! ./_create-property */ \"./node_modules/core-js/library/modules/_create-property.js\")\n , getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ \"./node_modules/core-js/library/modules/core.get-iterator-method.js\");\n\n$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ \"./node_modules/core-js/library/modules/_iter-detect.js\")(function(iter){ Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n var O = toObject(arrayLike)\n , C = typeof this == 'function' ? this : Array\n , aLen = arguments.length\n , mapfn = aLen > 1 ? arguments[1] : undefined\n , mapping = mapfn !== undefined\n , index = 0\n , iterFn = getIterFn(O)\n , length, result, step, iterator;\n if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for(result = new C(length); length > index; index++){\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.array.iterator.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.array.iterator.js ***!\n \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ \"./node_modules/core-js/library/modules/_add-to-unscopables.js\")\n , step = __webpack_require__(/*! ./_iter-step */ \"./node_modules/core-js/library/modules/_iter-step.js\")\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\");\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = __webpack_require__(/*! ./_iter-define */ \"./node_modules/core-js/library/modules/_iter-define.js\")(Array, 'Array', function(iterated, kind){\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , kind = this._k\n , index = this._i++;\n if(!O || index >= O.length){\n this._t = undefined;\n return step(1);\n }\n if(kind == 'keys' )return step(0, index);\n if(kind == 'values')return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.assign.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.assign.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.3.1 Object.assign(target, source)\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\");\n\n$export($export.S + $export.F, 'Object', {assign: __webpack_require__(/*! ./_object-assign */ \"./node_modules/core-js/library/modules/_object-assign.js\")});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.create.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.create.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', {create: __webpack_require__(/*! ./_object-create */ \"./node_modules/core-js/library/modules/_object-create.js\")});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.define-property.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.define-property.js ***!\n \\****************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\");\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\"), 'Object', {defineProperty: __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js ***!\n \\****************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ \"./node_modules/core-js/library/modules/_object-gopd.js\").f;\n\n__webpack_require__(/*! ./_object-sap */ \"./node_modules/core-js/library/modules/_object-sap.js\")('getOwnPropertyDescriptor', function(){\n return function getOwnPropertyDescriptor(it, key){\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.keys.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.keys.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.14 Object.keys(O)\nvar toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , $keys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\");\n\n__webpack_require__(/*! ./_object-sap */ \"./node_modules/core-js/library/modules/_object-sap.js\")('keys', function(){\n return function keys(it){\n return $keys(toObject(it));\n };\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.set-prototype-of.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.set-prototype-of.js ***!\n \\*****************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\");\n$export($export.S, 'Object', {setPrototypeOf: __webpack_require__(/*! ./_set-proto */ \"./node_modules/core-js/library/modules/_set-proto.js\").set});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.to-string.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.to-string.js ***!\n \\**********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.string.iterator.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.string.iterator.js ***!\n \\*********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $at = __webpack_require__(/*! ./_string-at */ \"./node_modules/core-js/library/modules/_string-at.js\")(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n__webpack_require__(/*! ./_iter-define */ \"./node_modules/core-js/library/modules/_iter-define.js\")(String, 'String', function(iterated){\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , index = this._i\n , point;\n if(index >= O.length)return {value: undefined, done: true};\n point = $at(O, index);\n this._i += point.length;\n return {value: point, done: false};\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.symbol.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.symbol.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n// ECMAScript 6 symbols shim\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\")\n , $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/library/modules/_redefine.js\")\n , META = __webpack_require__(/*! ./_meta */ \"./node_modules/core-js/library/modules/_meta.js\").KEY\n , $fails = __webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")\n , shared = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/library/modules/_shared.js\")\n , setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\")\n , uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\")\n , wks = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")\n , wksExt = __webpack_require__(/*! ./_wks-ext */ \"./node_modules/core-js/library/modules/_wks-ext.js\")\n , wksDefine = __webpack_require__(/*! ./_wks-define */ \"./node_modules/core-js/library/modules/_wks-define.js\")\n , keyOf = __webpack_require__(/*! ./_keyof */ \"./node_modules/core-js/library/modules/_keyof.js\")\n , enumKeys = __webpack_require__(/*! ./_enum-keys */ \"./node_modules/core-js/library/modules/_enum-keys.js\")\n , isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/library/modules/_is-array.js\")\n , anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/library/modules/_to-primitive.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\")\n , _create = __webpack_require__(/*! ./_object-create */ \"./node_modules/core-js/library/modules/_object-create.js\")\n , gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ \"./node_modules/core-js/library/modules/_object-gopn-ext.js\")\n , $GOPD = __webpack_require__(/*! ./_object-gopd */ \"./node_modules/core-js/library/modules/_object-gopd.js\")\n , $DP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , $keys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , gOPD = $GOPD.f\n , dP = $DP.f\n , gOPN = gOPNExt.f\n , $Symbol = global.Symbol\n , $JSON = global.JSON\n , _stringify = $JSON && $JSON.stringify\n , PROTOTYPE = 'prototype'\n , HIDDEN = wks('_hidden')\n , TO_PRIMITIVE = wks('toPrimitive')\n , isEnum = {}.propertyIsEnumerable\n , SymbolRegistry = shared('symbol-registry')\n , AllSymbols = shared('symbols')\n , OPSymbols = shared('op-symbols')\n , ObjectProto = Object[PROTOTYPE]\n , USE_NATIVE = typeof $Symbol == 'function'\n , QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n return _create(dP({}, 'a', {\n get: function(){ return dP(this, 'a', {value: 7}).a; }\n })).a != 7;\n}) ? function(it, key, D){\n var protoDesc = gOPD(ObjectProto, key);\n if(protoDesc)delete ObjectProto[key];\n dP(it, key, D);\n if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function(tag){\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){\n return typeof it == 'symbol';\n} : function(it){\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D){\n if(it === ObjectProto)$defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if(has(AllSymbols, key)){\n if(!D.enumerable){\n if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n D = _create(D, {enumerable: createDesc(0, false)});\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P){\n anObject(it);\n var keys = enumKeys(P = toIObject(P))\n , i = 0\n , l = keys.length\n , key;\n while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P){\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n it = toIObject(it);\n key = toPrimitive(key, true);\n if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;\n var D = gOPD(it, key);\n if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n var names = gOPN(toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n var IS_OP = it === ObjectProto\n , names = gOPN(IS_OP ? OPSymbols : toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif(!USE_NATIVE){\n $Symbol = function Symbol(){\n if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function(value){\n if(this === ObjectProto)$set.call(OPSymbols, value);\n if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString(){\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n __webpack_require__(/*! ./_object-gopn */ \"./node_modules/core-js/library/modules/_object-gopn.js\").f = gOPNExt.f = $getOwnPropertyNames;\n __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\").f = $propertyIsEnumerable;\n __webpack_require__(/*! ./_object-gops */ \"./node_modules/core-js/library/modules/_object-gops.js\").f = $getOwnPropertySymbols;\n\n if(DESCRIPTORS && !__webpack_require__(/*! ./_library */ \"./node_modules/core-js/library/modules/_library.js\")){\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function(name){\n return wrap(wks(name));\n }\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});\n\nfor(var symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);\n\nfor(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function(key){\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(key){\n if(isSymbol(key))return keyOf(SymbolRegistry, key);\n throw TypeError(key + ' is not a symbol!');\n },\n useSetter: function(){ setter = true; },\n useSimple: function(){ setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it){\n if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n var args = [it]\n , i = 1\n , replacer, $replacer;\n while(arguments.length > i)args.push(arguments[i++]);\n replacer = args[1];\n if(typeof replacer == 'function')$replacer = replacer;\n if($replacer || !isArray(replacer))replacer = function(key, value){\n if($replacer)value = $replacer.call(this, key, value);\n if(!isSymbol(value))return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es7.symbol.async-iterator.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es7.symbol.async-iterator.js ***!\n \\***************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ./_wks-define */ \"./node_modules/core-js/library/modules/_wks-define.js\")('asyncIterator');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es7.symbol.observable.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es7.symbol.observable.js ***!\n \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ./_wks-define */ \"./node_modules/core-js/library/modules/_wks-define.js\")('observable');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/web.dom.iterable.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/web.dom.iterable.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ./es6.array.iterator */ \"./node_modules/core-js/library/modules/es6.array.iterator.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , TO_STRING_TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('toStringTag');\n\nfor(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){\n var NAME = collections[i]\n , Collection = global[NAME]\n , proto = Collection && Collection.prototype;\n if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/container/public/style.scss\":\n/*!***************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/container/public/style.scss ***!\n \\***************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".container[data-container] {\\n position: absolute;\\n background-color: black;\\n height: 100%;\\n width: 100%;\\n max-width: 100%; }\\n .container[data-container] .chromeless {\\n cursor: default; }\\n\\n[data-player]:not(.nocursor) .container[data-container]:not(.chromeless).pointer-enabled {\\n cursor: pointer; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/core/public/style.scss\":\n/*!**********************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/core/public/style.scss ***!\n \\**********************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-player] {\\n -webkit-touch-callout: none;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n -o-user-select: none;\\n user-select: none;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n position: relative;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n font-style: normal;\\n font-weight: normal;\\n text-align: center;\\n overflow: hidden;\\n font-size: 100%;\\n font-family: \\\"Roboto\\\", \\\"Open Sans\\\", Arial, sans-serif;\\n text-shadow: 0 0 0;\\n box-sizing: border-box; }\\n [data-player] div, [data-player] span, [data-player] applet, [data-player] object, [data-player] iframe,\\n [data-player] h1, [data-player] h2, [data-player] h3, [data-player] h4, [data-player] h5, [data-player] h6, [data-player] p, [data-player] blockquote, [data-player] pre,\\n [data-player] a, [data-player] abbr, [data-player] acronym, [data-player] address, [data-player] big, [data-player] cite, [data-player] code,\\n [data-player] del, [data-player] dfn, [data-player] em, [data-player] img, [data-player] ins, [data-player] kbd, [data-player] q, [data-player] s, [data-player] samp,\\n [data-player] small, [data-player] strike, [data-player] strong, [data-player] sub, [data-player] sup, [data-player] tt, [data-player] var,\\n [data-player] b, [data-player] u, [data-player] i, [data-player] center,\\n [data-player] dl, [data-player] dt, [data-player] dd, [data-player] ol, [data-player] ul, [data-player] li,\\n [data-player] fieldset, [data-player] form, [data-player] label, [data-player] legend,\\n [data-player] table, [data-player] caption, [data-player] tbody, [data-player] tfoot, [data-player] thead, [data-player] tr, [data-player] th, [data-player] td,\\n [data-player] article, [data-player] aside, [data-player] canvas, [data-player] details, [data-player] embed,\\n [data-player] figure, [data-player] figcaption, [data-player] footer, [data-player] header, [data-player] hgroup,\\n [data-player] menu, [data-player] nav, [data-player] output, [data-player] ruby, [data-player] section, [data-player] summary,\\n [data-player] time, [data-player] mark, [data-player] audio, [data-player] video {\\n margin: 0;\\n padding: 0;\\n border: 0;\\n font: inherit;\\n font-size: 100%;\\n vertical-align: baseline; }\\n [data-player] table {\\n border-collapse: collapse;\\n border-spacing: 0; }\\n [data-player] caption, [data-player] th, [data-player] td {\\n text-align: left;\\n font-weight: normal;\\n vertical-align: middle; }\\n [data-player] q, [data-player] blockquote {\\n quotes: none; }\\n [data-player] q:before, [data-player] q:after, [data-player] blockquote:before, [data-player] blockquote:after {\\n content: \\\"\\\";\\n content: none; }\\n [data-player] a img {\\n border: none; }\\n [data-player]:focus {\\n outline: 0; }\\n [data-player] * {\\n max-width: none;\\n box-sizing: inherit;\\n float: none; }\\n [data-player] div {\\n display: block; }\\n [data-player].fullscreen {\\n width: 100% !important;\\n height: 100% !important;\\n top: 0;\\n left: 0; }\\n [data-player].nocursor {\\n cursor: none; }\\n\\n.clappr-style {\\n display: none !important; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/base_flash_playback/public/flash.scss\":\n/*!************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/base_flash_playback/public/flash.scss ***!\n \\************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".clappr-flash-playback[data-flash-playback] {\\n display: block;\\n position: absolute;\\n top: 0;\\n left: 0;\\n height: 100%;\\n width: 100%;\\n pointer-events: none; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html5_video/public/style.scss\":\n/*!****************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html5_video/public/style.scss ***!\n \\****************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-html5-video] {\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n display: block; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html_img/public/style.scss\":\n/*!*************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html_img/public/style.scss ***!\n \\*************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-html-img] {\\n max-width: 100%;\\n max-height: 100%; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/no_op/public/style.scss\":\n/*!**********************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/no_op/public/style.scss ***!\n \\**********************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-no-op] {\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n text-align: center; }\\n\\n[data-no-op] p[data-no-op-msg] {\\n position: absolute;\\n text-align: center;\\n font-size: 25px;\\n left: 0;\\n right: 0;\\n color: white;\\n padding: 10px;\\n /* center vertically */\\n top: 50%;\\n -webkit-transform: translateY(-50%);\\n transform: translateY(-50%);\\n max-height: 100%;\\n overflow: auto; }\\n\\n[data-no-op] canvas[data-no-op-canvas] {\\n background-color: #777;\\n height: 100%;\\n width: 100%; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/closed_captions/public/closed_captions.scss\":\n/*!****************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/closed_captions/public/closed_captions.scss ***!\n \\****************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".cc-controls[data-cc-controls] {\\n float: right;\\n position: relative;\\n display: none; }\\n .cc-controls[data-cc-controls].available {\\n display: block; }\\n .cc-controls[data-cc-controls] .cc-button {\\n padding: 6px !important; }\\n .cc-controls[data-cc-controls] .cc-button.enabled {\\n display: block;\\n opacity: 1.0; }\\n .cc-controls[data-cc-controls] .cc-button.enabled:hover {\\n opacity: 1.0;\\n text-shadow: none; }\\n .cc-controls[data-cc-controls] > ul {\\n list-style-type: none;\\n position: absolute;\\n bottom: 25px;\\n border: 1px solid black;\\n display: none;\\n background-color: #e6e6e6; }\\n .cc-controls[data-cc-controls] li {\\n font-size: 10px; }\\n .cc-controls[data-cc-controls] li[data-title] {\\n background-color: #c3c2c2;\\n padding: 5px; }\\n .cc-controls[data-cc-controls] li a {\\n color: #444;\\n padding: 2px 10px;\\n display: block;\\n text-decoration: none; }\\n .cc-controls[data-cc-controls] li a:hover {\\n background-color: #555;\\n color: white; }\\n .cc-controls[data-cc-controls] li a:hover a {\\n color: white;\\n text-decoration: none; }\\n .cc-controls[data-cc-controls] li.current a {\\n color: #f00; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/dvr_controls/public/dvr_controls.scss\":\n/*!**********************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/dvr_controls/public/dvr_controls.scss ***!\n \\**********************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".dvr-controls[data-dvr-controls] {\\n display: inline-block;\\n float: left;\\n color: #fff;\\n line-height: 32px;\\n font-size: 10px;\\n font-weight: bold;\\n margin-left: 6px; }\\n .dvr-controls[data-dvr-controls] .live-info {\\n cursor: default;\\n font-family: \\\"Roboto\\\", \\\"Open Sans\\\", Arial, sans-serif;\\n text-transform: uppercase; }\\n .dvr-controls[data-dvr-controls] .live-info:before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n width: 7px;\\n height: 7px;\\n border-radius: 3.5px;\\n margin-right: 3.5px;\\n background-color: #ff0101; }\\n .dvr-controls[data-dvr-controls] .live-info.disabled {\\n opacity: 0.3; }\\n .dvr-controls[data-dvr-controls] .live-info.disabled:before {\\n background-color: #fff; }\\n .dvr-controls[data-dvr-controls] .live-button {\\n cursor: pointer;\\n outline: none;\\n display: none;\\n border: 0;\\n color: #fff;\\n background-color: transparent;\\n height: 32px;\\n padding: 0;\\n opacity: 0.7;\\n font-family: \\\"Roboto\\\", \\\"Open Sans\\\", Arial, sans-serif;\\n text-transform: uppercase;\\n transition: all 0.1s ease; }\\n .dvr-controls[data-dvr-controls] .live-button:before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n width: 7px;\\n height: 7px;\\n border-radius: 3.5px;\\n margin-right: 3.5px;\\n background-color: #fff; }\\n .dvr-controls[data-dvr-controls] .live-button:hover {\\n opacity: 1;\\n text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px; }\\n\\n.dvr .dvr-controls[data-dvr-controls] .live-info {\\n display: none; }\\n\\n.dvr .dvr-controls[data-dvr-controls] .live-button {\\n display: block; }\\n\\n.dvr.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {\\n background-color: #005aff; }\\n\\n.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {\\n background-color: #ff0101; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/error_screen/public/error_screen.scss\":\n/*!**********************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/error_screen/public/error_screen.scss ***!\n \\**********************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"div.player-error-screen {\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n color: #CCCACA;\\n position: absolute;\\n top: 0;\\n height: 100%;\\n width: 100%;\\n background-color: rgba(0, 0, 0, 0.7);\\n z-index: 2000;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center; }\\n div.player-error-screen__content[data-error-screen] {\\n font-size: 14px;\\n color: #CCCACA;\\n margin-top: 45px; }\\n div.player-error-screen__title[data-error-screen] {\\n font-weight: bold;\\n line-height: 30px;\\n font-size: 18px; }\\n div.player-error-screen__message[data-error-screen] {\\n width: 90%;\\n margin: 0 auto; }\\n div.player-error-screen__code[data-error-screen] {\\n font-size: 13px;\\n margin-top: 15px; }\\n div.player-error-screen__reload {\\n cursor: pointer;\\n width: 30px;\\n margin: 15px auto 0; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/media_control/public/media-control.scss\":\n/*!************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/media_control/public/media-control.scss ***!\n \\************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar escape = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/url/escape.js */ \"./node_modules/css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".media-control-notransition {\\n transition: none !important; }\\n\\n.media-control[data-media-control] {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n z-index: 9999;\\n pointer-events: none; }\\n .media-control[data-media-control].dragging {\\n pointer-events: auto;\\n cursor: -webkit-grabbing !important;\\n cursor: grabbing !important;\\n cursor: url(\" + escape(__webpack_require__(/*! ./closed-hand.cur */ \"./src/plugins/media_control/public/closed-hand.cur\")) + \"), move; }\\n .media-control[data-media-control].dragging * {\\n cursor: -webkit-grabbing !important;\\n cursor: grabbing !important;\\n cursor: url(\" + escape(__webpack_require__(/*! ./closed-hand.cur */ \"./src/plugins/media_control/public/closed-hand.cur\")) + \"), move; }\\n .media-control[data-media-control] .media-control-background[data-background] {\\n position: absolute;\\n height: 40%;\\n width: 100%;\\n bottom: 0;\\n background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));\\n transition: opacity 0.6s ease-out; }\\n .media-control[data-media-control] .media-control-icon {\\n line-height: 0;\\n letter-spacing: 0;\\n speak: none;\\n color: #fff;\\n opacity: 0.5;\\n vertical-align: middle;\\n text-align: left;\\n transition: all 0.1s ease; }\\n .media-control[data-media-control] .media-control-icon:hover {\\n color: white;\\n opacity: 0.75;\\n text-shadow: rgba(255, 255, 255, 0.8) 0 0 5px; }\\n .media-control[data-media-control].media-control-hide .media-control-background[data-background] {\\n opacity: 0; }\\n .media-control[data-media-control].media-control-hide .media-control-layer[data-controls] {\\n bottom: -50px; }\\n .media-control[data-media-control].media-control-hide .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar] {\\n opacity: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] {\\n position: absolute;\\n bottom: 7px;\\n width: 100%;\\n height: 32px;\\n font-size: 0;\\n vertical-align: middle;\\n pointer-events: auto;\\n transition: bottom 0.4s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-left-panel[data-media-control] {\\n position: absolute;\\n top: 0;\\n left: 4px;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-center-panel[data-media-control] {\\n height: 100%;\\n text-align: center;\\n line-height: 32px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-right-panel[data-media-control] {\\n position: absolute;\\n top: 0;\\n right: 4px;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button {\\n background-color: transparent;\\n border: 0;\\n margin: 0 6px;\\n padding: 0;\\n cursor: pointer;\\n display: inline-block;\\n width: 32px;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button svg {\\n width: 100%;\\n height: 22px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button svg path {\\n fill: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button:focus {\\n outline: none; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-play] {\\n float: left;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-pause] {\\n float: left;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-stop] {\\n float: left;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-fullscreen] {\\n float: right;\\n background-color: transparent;\\n border: 0;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator] {\\n background-color: transparent;\\n border: 0;\\n cursor: default;\\n display: none;\\n float: right;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator].enabled {\\n display: block;\\n opacity: 1.0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator].enabled:hover {\\n opacity: 1.0;\\n text-shadow: none; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playpause] {\\n float: left; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playstop] {\\n float: left; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-position], .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration] {\\n display: inline-block;\\n font-size: 10px;\\n color: white;\\n cursor: default;\\n line-height: 32px;\\n position: relative; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-position] {\\n margin: 0 6px 0 7px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration] {\\n color: rgba(255, 255, 255, 0.5);\\n margin-right: 6px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration]:before {\\n content: \\\"|\\\";\\n margin-right: 7px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] {\\n position: absolute;\\n top: -20px;\\n left: 0;\\n display: inline-block;\\n vertical-align: middle;\\n width: 100%;\\n height: 25px;\\n cursor: pointer; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] {\\n width: 100%;\\n height: 1px;\\n position: relative;\\n top: 12px;\\n background-color: #666666; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-1[data-seekbar] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #c2c2c2;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #005aff;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-hover[data-seekbar] {\\n opacity: 0;\\n position: absolute;\\n top: -3px;\\n width: 5px;\\n height: 7px;\\n background-color: rgba(255, 255, 255, 0.5);\\n transition: opacity 0.1s ease; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar]:hover .bar-background[data-seekbar] .bar-hover[data-seekbar] {\\n opacity: 1; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar].seek-disabled {\\n cursor: default; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar].seek-disabled:hover .bar-background[data-seekbar] .bar-hover[data-seekbar] {\\n opacity: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar] {\\n position: absolute;\\n -webkit-transform: translateX(-50%);\\n transform: translateX(-50%);\\n top: 2px;\\n left: 0;\\n width: 20px;\\n height: 20px;\\n opacity: 1;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar] .bar-scrubber-icon[data-seekbar] {\\n position: absolute;\\n left: 6px;\\n top: 6px;\\n width: 8px;\\n height: 8px;\\n border-radius: 10px;\\n box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);\\n background-color: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] {\\n float: right;\\n display: inline-block;\\n height: 32px;\\n cursor: pointer;\\n margin: 0 6px;\\n box-sizing: border-box; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] {\\n float: left;\\n bottom: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume] {\\n background-color: transparent;\\n border: 0;\\n box-sizing: content-box;\\n width: 32px;\\n height: 32px;\\n opacity: 0.5; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume]:hover {\\n opacity: 0.75; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume] svg {\\n height: 24px;\\n position: relative;\\n top: 3px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume] svg path {\\n fill: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume].muted svg {\\n margin-left: 2px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] {\\n float: left;\\n position: relative;\\n overflow: hidden;\\n top: 6px;\\n width: 42px;\\n height: 18px;\\n padding: 3px 0;\\n transition: width .2s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] {\\n height: 1px;\\n position: relative;\\n top: 7px;\\n margin: 0 3px;\\n background-color: #666666; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] .bar-fill-1[data-volume] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #c2c2c2;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] .bar-fill-2[data-volume] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #005aff;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] .bar-hover[data-volume] {\\n opacity: 0;\\n position: absolute;\\n top: -3px;\\n width: 5px;\\n height: 7px;\\n background-color: rgba(255, 255, 255, 0.5);\\n transition: opacity 0.1s ease; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-scrubber[data-volume] {\\n position: absolute;\\n -webkit-transform: translateX(-50%);\\n transform: translateX(-50%);\\n top: 0px;\\n left: 0;\\n width: 20px;\\n height: 20px;\\n opacity: 1;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-scrubber[data-volume] .bar-scrubber-icon[data-volume] {\\n position: absolute;\\n left: 6px;\\n top: 6px;\\n width: 8px;\\n height: 8px;\\n border-radius: 10px;\\n box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);\\n background-color: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume] {\\n float: left;\\n width: 4px;\\n padding-left: 2px;\\n height: 12px;\\n opacity: 0.5;\\n box-shadow: inset 2px 0 0 white;\\n transition: -webkit-transform .2s ease-out;\\n transition: transform .2s ease-out;\\n transition: transform .2s ease-out, -webkit-transform .2s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume].fill {\\n box-shadow: inset 2px 0 0 #fff;\\n opacity: 1; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:nth-of-type(1) {\\n padding-left: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:hover {\\n -webkit-transform: scaleY(1.5);\\n transform: scaleY(1.5); }\\n .media-control[data-media-control].w320 .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume].volume-bar-hide {\\n width: 0;\\n height: 12px;\\n top: 9px;\\n padding: 0; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/poster/public/poster.scss\":\n/*!**********************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/poster/public/poster.scss ***!\n \\**********************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".player-poster[data-poster] {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n z-index: 998;\\n top: 0;\\n left: 0;\\n background-color: #000;\\n background-size: cover;\\n background-repeat: no-repeat;\\n background-position: 50% 50%; }\\n .player-poster[data-poster].clickable {\\n cursor: pointer; }\\n .player-poster[data-poster]:hover .play-wrapper[data-poster] {\\n opacity: 1; }\\n .player-poster[data-poster] .play-wrapper[data-poster] {\\n width: 100%;\\n height: 25%;\\n margin: 0 auto;\\n opacity: 0.75;\\n transition: opacity 0.1s ease; }\\n .player-poster[data-poster] .play-wrapper[data-poster] svg {\\n height: 100%; }\\n .player-poster[data-poster] .play-wrapper[data-poster] svg path {\\n fill: #fff; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/seek_time/public/seek_time.scss\":\n/*!****************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/seek_time/public/seek_time.scss ***!\n \\****************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".seek-time[data-seek-time] {\\n position: absolute;\\n white-space: nowrap;\\n height: 20px;\\n line-height: 20px;\\n font-size: 0;\\n left: -100%;\\n bottom: 55px;\\n background-color: rgba(2, 2, 2, 0.5);\\n z-index: 9999;\\n transition: opacity 0.1s ease; }\\n .seek-time[data-seek-time].hidden[data-seek-time] {\\n opacity: 0; }\\n .seek-time[data-seek-time] [data-seek-time] {\\n display: inline-block;\\n color: white;\\n font-size: 10px;\\n padding-left: 7px;\\n padding-right: 7px;\\n vertical-align: top; }\\n .seek-time[data-seek-time] [data-duration] {\\n display: inline-block;\\n color: rgba(255, 255, 255, 0.5);\\n font-size: 10px;\\n padding-right: 7px;\\n vertical-align: top; }\\n .seek-time[data-seek-time] [data-duration]:before {\\n content: \\\"|\\\";\\n margin-right: 7px; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/spinner_three_bounce/public/spinner.scss\":\n/*!*************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/spinner_three_bounce/public/spinner.scss ***!\n \\*************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".spinner-three-bounce[data-spinner] {\\n position: absolute;\\n margin: 0 auto;\\n width: 70px;\\n text-align: center;\\n z-index: 999;\\n left: 0;\\n right: 0;\\n margin-left: auto;\\n margin-right: auto;\\n /* center vertically */\\n top: 50%;\\n -webkit-transform: translateY(-50%);\\n transform: translateY(-50%); }\\n .spinner-three-bounce[data-spinner] > div {\\n width: 18px;\\n height: 18px;\\n background-color: #FFFFFF;\\n border-radius: 100%;\\n display: inline-block;\\n -webkit-animation: bouncedelay 1.4s infinite ease-in-out;\\n animation: bouncedelay 1.4s infinite ease-in-out;\\n /* Prevent first frame from flickering when animation starts */\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both; }\\n .spinner-three-bounce[data-spinner] [data-bounce1] {\\n -webkit-animation-delay: -0.32s;\\n animation-delay: -0.32s; }\\n .spinner-three-bounce[data-spinner] [data-bounce2] {\\n -webkit-animation-delay: -0.16s;\\n animation-delay: -0.16s; }\\n\\n@-webkit-keyframes bouncedelay {\\n 0%, 80%, 100% {\\n -webkit-transform: scale(0);\\n transform: scale(0); }\\n 40% {\\n -webkit-transform: scale(1);\\n transform: scale(1); } }\\n\\n@keyframes bouncedelay {\\n 0%, 80%, 100% {\\n -webkit-transform: scale(0);\\n transform: scale(0); }\\n 40% {\\n -webkit-transform: scale(1);\\n transform: scale(1); } }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/watermark/public/watermark.scss\":\n/*!****************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/watermark/public/watermark.scss ***!\n \\****************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".clappr-watermark[data-watermark] {\\n position: absolute;\\n min-width: 70px;\\n max-width: 200px;\\n width: 12%;\\n text-align: center;\\n z-index: 10; }\\n\\n.clappr-watermark[data-watermark] a {\\n outline: none;\\n cursor: pointer; }\\n\\n.clappr-watermark[data-watermark] img {\\n max-width: 100%; }\\n\\n.clappr-watermark[data-watermark-bottom-left] {\\n bottom: 10px;\\n left: 10px; }\\n\\n.clappr-watermark[data-watermark-bottom-right] {\\n bottom: 10px;\\n right: 42px; }\\n\\n.clappr-watermark[data-watermark-top-left] {\\n top: 10px;\\n left: 10px; }\\n\\n.clappr-watermark[data-watermark-top-right] {\\n top: 10px;\\n right: 37px; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/lib/css-base.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/css-loader/lib/css-base.js ***!\n \\*************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/lib/url/escape.js\":\n/*!***************************************************!*\\\n !*** ./node_modules/css-loader/lib/url/escape.js ***!\n \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function escape(url) {\n if (typeof url !== 'string') {\n return url\n }\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]/.test(url)) {\n return '\"' + url.replace(/\"/g, '\\\\\"').replace(/\\n/g, '\\\\n') + '\"'\n }\n\n return url\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/hls.js/dist/hls.js\":\n/*!*****************************************!*\\\n !*** ./node_modules/hls.js/dist/hls.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\ntypeof window !== \"undefined\" &&\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory();\n\telse {}\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/hls.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/eventemitter3/index.js\":\n/*!*********************************************!*\\\n !*** ./node_modules/eventemitter3/index.js ***!\n \\*********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar has = Object.prototype.hasOwnProperty\n , prefix = '~';\n\n/**\n * Constructor to create a storage for our `EE` objects.\n * An `Events` instance is a plain object whose properties are event names.\n *\n * @constructor\n * @private\n */\nfunction Events() {}\n\n//\n// We try to not inherit from `Object.prototype`. In some engines creating an\n// instance in this way is faster than calling `Object.create(null)` directly.\n// If `Object.create(null)` is not supported we prefix the event names with a\n// character to make sure that the built-in object properties are not\n// overridden or used as an attack vector.\n//\nif (Object.create) {\n Events.prototype = Object.create(null);\n\n //\n // This hack is needed because the `__proto__` property is still inherited in\n // some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.\n //\n if (!new Events().__proto__) prefix = false;\n}\n\n/**\n * Representation of a single event listener.\n *\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} [once=false] Specify if the listener is a one-time listener.\n * @constructor\n * @private\n */\nfunction EE(fn, context, once) {\n this.fn = fn;\n this.context = context;\n this.once = once || false;\n}\n\n/**\n * Add a listener for a given event.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} once Specify if the listener is a one-time listener.\n * @returns {EventEmitter}\n * @private\n */\nfunction addListener(emitter, event, fn, context, once) {\n if (typeof fn !== 'function') {\n throw new TypeError('The listener must be a function');\n }\n\n var listener = new EE(fn, context || emitter, once)\n , evt = prefix ? prefix + event : event;\n\n if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;\n else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);\n else emitter._events[evt] = [emitter._events[evt], listener];\n\n return emitter;\n}\n\n/**\n * Clear event by name.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} evt The Event name.\n * @private\n */\nfunction clearEvent(emitter, evt) {\n if (--emitter._eventsCount === 0) emitter._events = new Events();\n else delete emitter._events[evt];\n}\n\n/**\n * Minimal `EventEmitter` interface that is molded against the Node.js\n * `EventEmitter` interface.\n *\n * @constructor\n * @public\n */\nfunction EventEmitter() {\n this._events = new Events();\n this._eventsCount = 0;\n}\n\n/**\n * Return an array listing the events for which the emitter has registered\n * listeners.\n *\n * @returns {Array}\n * @public\n */\nEventEmitter.prototype.eventNames = function eventNames() {\n var names = []\n , events\n , name;\n\n if (this._eventsCount === 0) return names;\n\n for (name in (events = this._events)) {\n if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);\n }\n\n if (Object.getOwnPropertySymbols) {\n return names.concat(Object.getOwnPropertySymbols(events));\n }\n\n return names;\n};\n\n/**\n * Return the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Array} The registered listeners.\n * @public\n */\nEventEmitter.prototype.listeners = function listeners(event) {\n var evt = prefix ? prefix + event : event\n , handlers = this._events[evt];\n\n if (!handlers) return [];\n if (handlers.fn) return [handlers.fn];\n\n for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {\n ee[i] = handlers[i].fn;\n }\n\n return ee;\n};\n\n/**\n * Return the number of listeners listening to a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Number} The number of listeners.\n * @public\n */\nEventEmitter.prototype.listenerCount = function listenerCount(event) {\n var evt = prefix ? prefix + event : event\n , listeners = this._events[evt];\n\n if (!listeners) return 0;\n if (listeners.fn) return 1;\n return listeners.length;\n};\n\n/**\n * Calls each of the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Boolean} `true` if the event had listeners, else `false`.\n * @public\n */\nEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return false;\n\n var listeners = this._events[evt]\n , len = arguments.length\n , args\n , i;\n\n if (listeners.fn) {\n if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);\n\n switch (len) {\n case 1: return listeners.fn.call(listeners.context), true;\n case 2: return listeners.fn.call(listeners.context, a1), true;\n case 3: return listeners.fn.call(listeners.context, a1, a2), true;\n case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\n case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n }\n\n for (i = 1, args = new Array(len -1); i < len; i++) {\n args[i - 1] = arguments[i];\n }\n\n listeners.fn.apply(listeners.context, args);\n } else {\n var length = listeners.length\n , j;\n\n for (i = 0; i < length; i++) {\n if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);\n\n switch (len) {\n case 1: listeners[i].fn.call(listeners[i].context); break;\n case 2: listeners[i].fn.call(listeners[i].context, a1); break;\n case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\n case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;\n default:\n if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\n args[j - 1] = arguments[j];\n }\n\n listeners[i].fn.apply(listeners[i].context, args);\n }\n }\n }\n\n return true;\n};\n\n/**\n * Add a listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.on = function on(event, fn, context) {\n return addListener(this, event, fn, context, false);\n};\n\n/**\n * Add a one-time listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.once = function once(event, fn, context) {\n return addListener(this, event, fn, context, true);\n};\n\n/**\n * Remove the listeners of a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn Only remove the listeners that match this function.\n * @param {*} context Only remove the listeners that have this context.\n * @param {Boolean} once Only remove one-time listeners.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return this;\n if (!fn) {\n clearEvent(this, evt);\n return this;\n }\n\n var listeners = this._events[evt];\n\n if (listeners.fn) {\n if (\n listeners.fn === fn &&\n (!once || listeners.once) &&\n (!context || listeners.context === context)\n ) {\n clearEvent(this, evt);\n }\n } else {\n for (var i = 0, events = [], length = listeners.length; i < length; i++) {\n if (\n listeners[i].fn !== fn ||\n (once && !listeners[i].once) ||\n (context && listeners[i].context !== context)\n ) {\n events.push(listeners[i]);\n }\n }\n\n //\n // Reset the array, or remove it completely if we have no more listeners.\n //\n if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;\n else clearEvent(this, evt);\n }\n\n return this;\n};\n\n/**\n * Remove all listeners, or those of the specified event.\n *\n * @param {(String|Symbol)} [event] The event name.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n var evt;\n\n if (event) {\n evt = prefix ? prefix + event : event;\n if (this._events[evt]) clearEvent(this, evt);\n } else {\n this._events = new Events();\n this._eventsCount = 0;\n }\n\n return this;\n};\n\n//\n// Alias methods names because people roll like that.\n//\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\n//\n// Expose the prefix.\n//\nEventEmitter.prefixed = prefix;\n\n//\n// Allow `EventEmitter` to be imported as module namespace.\n//\nEventEmitter.EventEmitter = EventEmitter;\n\n//\n// Expose the module.\n//\nif (true) {\n module.exports = EventEmitter;\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/node-libs-browser/node_modules/events/events.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/node-libs-browser/node_modules/events/events.js ***!\n \\**********************************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports) {\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/url-toolkit/src/url-toolkit.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/url-toolkit/src/url-toolkit.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n// see https://tools.ietf.org/html/rfc1808\n\n/* jshint ignore:start */\n(function(root) { \n/* jshint ignore:end */\n\n var URL_REGEX = /^((?:[a-zA-Z0-9+\\-.]+:)?)(\\/\\/[^\\/?#]*)?((?:[^\\/\\?#]*\\/)*.*?)??(;.*?)?(\\?.*?)?(#.*?)?$/;\n var FIRST_SEGMENT_REGEX = /^([^\\/?#]*)(.*)$/;\n var SLASH_DOT_REGEX = /(?:\\/|^)\\.(?=\\/)/g;\n var SLASH_DOT_DOT_REGEX = /(?:\\/|^)\\.\\.\\/(?!\\.\\.\\/).*?(?=\\/)/g;\n\n var URLToolkit = { // jshint ignore:line\n // If opts.alwaysNormalize is true then the path will always be normalized even when it starts with / or //\n // E.g\n // With opts.alwaysNormalize = false (default, spec compliant)\n // http://a.com/b/cd + /e/f/../g => http://a.com/e/f/../g\n // With opts.alwaysNormalize = true (not spec compliant)\n // http://a.com/b/cd + /e/f/../g => http://a.com/e/g\n buildAbsoluteURL: function(baseURL, relativeURL, opts) {\n opts = opts || {};\n // remove any remaining space and CRLF\n baseURL = baseURL.trim();\n relativeURL = relativeURL.trim();\n if (!relativeURL) {\n // 2a) If the embedded URL is entirely empty, it inherits the\n // entire base URL (i.e., is set equal to the base URL)\n // and we are done.\n if (!opts.alwaysNormalize) {\n return baseURL;\n }\n var basePartsForNormalise = URLToolkit.parseURL(baseURL);\n if (!basePartsForNormalise) {\n throw new Error('Error trying to parse base URL.');\n }\n basePartsForNormalise.path = URLToolkit.normalizePath(basePartsForNormalise.path);\n return URLToolkit.buildURLFromParts(basePartsForNormalise);\n }\n var relativeParts = URLToolkit.parseURL(relativeURL);\n if (!relativeParts) {\n throw new Error('Error trying to parse relative URL.');\n }\n if (relativeParts.scheme) {\n // 2b) If the embedded URL starts with a scheme name, it is\n // interpreted as an absolute URL and we are done.\n if (!opts.alwaysNormalize) {\n return relativeURL;\n }\n relativeParts.path = URLToolkit.normalizePath(relativeParts.path);\n return URLToolkit.buildURLFromParts(relativeParts);\n }\n var baseParts = URLToolkit.parseURL(baseURL);\n if (!baseParts) {\n throw new Error('Error trying to parse base URL.');\n }\n if (!baseParts.netLoc && baseParts.path && baseParts.path[0] !== '/') {\n // If netLoc missing and path doesn't start with '/', assume everthing before the first '/' is the netLoc\n // This causes 'example.com/a' to be handled as '//example.com/a' instead of '/example.com/a'\n var pathParts = FIRST_SEGMENT_REGEX.exec(baseParts.path);\n baseParts.netLoc = pathParts[1];\n baseParts.path = pathParts[2];\n }\n if (baseParts.netLoc && !baseParts.path) {\n baseParts.path = '/';\n }\n var builtParts = {\n // 2c) Otherwise, the embedded URL inherits the scheme of\n // the base URL.\n scheme: baseParts.scheme,\n netLoc: relativeParts.netLoc,\n path: null,\n params: relativeParts.params,\n query: relativeParts.query,\n fragment: relativeParts.fragment\n };\n if (!relativeParts.netLoc) {\n // 3) If the embedded URL's <net_loc> is non-empty, we skip to\n // Step 7. Otherwise, the embedded URL inherits the <net_loc>\n // (if any) of the base URL.\n builtParts.netLoc = baseParts.netLoc;\n // 4) If the embedded URL path is preceded by a slash \"/\", the\n // path is not relative and we skip to Step 7.\n if (relativeParts.path[0] !== '/') {\n if (!relativeParts.path) {\n // 5) If the embedded URL path is empty (and not preceded by a\n // slash), then the embedded URL inherits the base URL path\n builtParts.path = baseParts.path;\n // 5a) if the embedded URL's <params> is non-empty, we skip to\n // step 7; otherwise, it inherits the <params> of the base\n // URL (if any) and\n if (!relativeParts.params) {\n builtParts.params = baseParts.params;\n // 5b) if the embedded URL's <query> is non-empty, we skip to\n // step 7; otherwise, it inherits the <query> of the base\n // URL (if any) and we skip to step 7.\n if (!relativeParts.query) {\n builtParts.query = baseParts.query;\n }\n }\n } else {\n // 6) The last segment of the base URL's path (anything\n // following the rightmost slash \"/\", or the entire path if no\n // slash is present) is removed and the embedded URL's path is\n // appended in its place.\n var baseURLPath = baseParts.path;\n var newPath = baseURLPath.substring(0, baseURLPath.lastIndexOf('/') + 1) + relativeParts.path;\n builtParts.path = URLToolkit.normalizePath(newPath);\n }\n }\n }\n if (builtParts.path === null) {\n builtParts.path = opts.alwaysNormalize ? URLToolkit.normalizePath(relativeParts.path) : relativeParts.path;\n }\n return URLToolkit.buildURLFromParts(builtParts);\n },\n parseURL: function(url) {\n var parts = URL_REGEX.exec(url);\n if (!parts) {\n return null;\n }\n return {\n scheme: parts[1] || '',\n netLoc: parts[2] || '',\n path: parts[3] || '',\n params: parts[4] || '',\n query: parts[5] || '',\n fragment: parts[6] || ''\n };\n },\n normalizePath: function(path) {\n // The following operations are\n // then applied, in order, to the new path:\n // 6a) All occurrences of \"./\", where \".\" is a complete path\n // segment, are removed.\n // 6b) If the path ends with \".\" as a complete path segment,\n // that \".\" is removed.\n path = path.split('').reverse().join('').replace(SLASH_DOT_REGEX, '');\n // 6c) All occurrences of \"<segment>/../\", where <segment> is a\n // complete path segment not equal to \"..\", are removed.\n // Removal of these path segments is performed iteratively,\n // removing the leftmost matching pattern on each iteration,\n // until no matching pattern remains.\n // 6d) If the path ends with \"<segment>/..\", where <segment> is a\n // complete path segment not equal to \"..\", that\n // \"<segment>/..\" is removed.\n while (path.length !== (path = path.replace(SLASH_DOT_DOT_REGEX, '')).length) {} // jshint ignore:line\n return path.split('').reverse().join('');\n },\n buildURLFromParts: function(parts) {\n return parts.scheme + parts.netLoc + parts.path + parts.params + parts.query + parts.fragment;\n }\n };\n\n/* jshint ignore:start */\n if(true)\n module.exports = URLToolkit;\n else {}\n})(this);\n/* jshint ignore:end */\n\n\n/***/ }),\n\n/***/ \"./node_modules/webworkify-webpack/index.js\":\n/*!**************************************************!*\\\n !*** ./node_modules/webworkify-webpack/index.js ***!\n \\**************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction webpackBootstrapFunc (modules) {\n/******/ // The module cache\n/******/ var installedModules = {};\n\n/******/ // The require function\n/******/ function __webpack_require__(moduleId) {\n\n/******/ // Check if module is in cache\n/******/ if(installedModules[moduleId])\n/******/ return installedModules[moduleId].exports;\n\n/******/ // Create a new module (and put it into the cache)\n/******/ var module = installedModules[moduleId] = {\n/******/ i: moduleId,\n/******/ l: false,\n/******/ exports: {}\n/******/ };\n\n/******/ // Execute the module function\n/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ // Flag the module as loaded\n/******/ module.l = true;\n\n/******/ // Return the exports of the module\n/******/ return module.exports;\n/******/ }\n\n/******/ // expose the modules object (__webpack_modules__)\n/******/ __webpack_require__.m = modules;\n\n/******/ // expose the module cache\n/******/ __webpack_require__.c = installedModules;\n\n/******/ // identity function for calling harmony imports with the correct context\n/******/ __webpack_require__.i = function(value) { return value; };\n\n/******/ // define getter function for harmony exports\n/******/ __webpack_require__.d = function(exports, name, getter) {\n/******/ if(!__webpack_require__.o(exports, name)) {\n/******/ Object.defineProperty(exports, name, {\n/******/ configurable: false,\n/******/ enumerable: true,\n/******/ get: getter\n/******/ });\n/******/ }\n/******/ };\n\n/******/ // define __esModule on exports\n/******/ __webpack_require__.r = function(exports) {\n/******/ Object.defineProperty(exports, '__esModule', { value: true });\n/******/ };\n\n/******/ // getDefaultExport function for compatibility with non-harmony modules\n/******/ __webpack_require__.n = function(module) {\n/******/ var getter = module && module.__esModule ?\n/******/ function getDefault() { return module['default']; } :\n/******/ function getModuleExports() { return module; };\n/******/ __webpack_require__.d(getter, 'a', getter);\n/******/ return getter;\n/******/ };\n\n/******/ // Object.prototype.hasOwnProperty.call\n/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n/******/ // __webpack_public_path__\n/******/ __webpack_require__.p = \"/\";\n\n/******/ // on error function for async loading\n/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n var f = __webpack_require__(__webpack_require__.s = ENTRY_MODULE)\n return f.default || f // try to call default if defined to also support babel esmodule exports\n}\n\nvar moduleNameReqExp = '[\\\\.|\\\\-|\\\\+|\\\\w|\\/|@]+'\nvar dependencyRegExp = '\\\\((\\/\\\\*.*?\\\\*\\/)?\\s?.*?(' + moduleNameReqExp + ').*?\\\\)' // additional chars when output.pathinfo is true\n\n// http://stackoverflow.com/a/2593661/130442\nfunction quoteRegExp (str) {\n return (str + '').replace(/[.?*+^$[\\]\\\\(){}|-]/g, '\\\\$&')\n}\n\nfunction isNumeric(n) {\n return !isNaN(1 * n); // 1 * n converts integers, integers as string (\"123\"), 1e3 and \"1e3\" to integers and strings to NaN\n}\n\nfunction getModuleDependencies (sources, module, queueName) {\n var retval = {}\n retval[queueName] = []\n\n var fnString = module.toString()\n var wrapperSignature = fnString.match(/^function\\s?\\(\\w+,\\s*\\w+,\\s*(\\w+)\\)/)\n if (!wrapperSignature) return retval\n var webpackRequireName = wrapperSignature[1]\n\n // main bundle deps\n var re = new RegExp('(\\\\\\\\n|\\\\W)' + quoteRegExp(webpackRequireName) + dependencyRegExp, 'g')\n var match\n while ((match = re.exec(fnString))) {\n if (match[3] === 'dll-reference') continue\n retval[queueName].push(match[3])\n }\n\n // dll deps\n re = new RegExp('\\\\(' + quoteRegExp(webpackRequireName) + '\\\\(\"(dll-reference\\\\s(' + moduleNameReqExp + '))\"\\\\)\\\\)' + dependencyRegExp, 'g')\n while ((match = re.exec(fnString))) {\n if (!sources[match[2]]) {\n retval[queueName].push(match[1])\n sources[match[2]] = __webpack_require__(match[1]).m\n }\n retval[match[2]] = retval[match[2]] || []\n retval[match[2]].push(match[4])\n }\n\n // convert 1e3 back to 1000 - this can be important after uglify-js converted 1000 to 1e3\n var keys = Object.keys(retval);\n for (var i = 0; i < keys.length; i++) {\n for (var j = 0; j < retval[keys[i]].length; j++) {\n if (isNumeric(retval[keys[i]][j])) {\n retval[keys[i]][j] = 1 * retval[keys[i]][j];\n }\n }\n }\n\n return retval\n}\n\nfunction hasValuesInQueues (queues) {\n var keys = Object.keys(queues)\n return keys.reduce(function (hasValues, key) {\n return hasValues || queues[key].length > 0\n }, false)\n}\n\nfunction getRequiredModules (sources, moduleId) {\n var modulesQueue = {\n main: [moduleId]\n }\n var requiredModules = {\n main: []\n }\n var seenModules = {\n main: {}\n }\n\n while (hasValuesInQueues(modulesQueue)) {\n var queues = Object.keys(modulesQueue)\n for (var i = 0; i < queues.length; i++) {\n var queueName = queues[i]\n var queue = modulesQueue[queueName]\n var moduleToCheck = queue.pop()\n seenModules[queueName] = seenModules[queueName] || {}\n if (seenModules[queueName][moduleToCheck] || !sources[queueName][moduleToCheck]) continue\n seenModules[queueName][moduleToCheck] = true\n requiredModules[queueName] = requiredModules[queueName] || []\n requiredModules[queueName].push(moduleToCheck)\n var newModules = getModuleDependencies(sources, sources[queueName][moduleToCheck], queueName)\n var newModulesKeys = Object.keys(newModules)\n for (var j = 0; j < newModulesKeys.length; j++) {\n modulesQueue[newModulesKeys[j]] = modulesQueue[newModulesKeys[j]] || []\n modulesQueue[newModulesKeys[j]] = modulesQueue[newModulesKeys[j]].concat(newModules[newModulesKeys[j]])\n }\n }\n }\n\n return requiredModules\n}\n\nmodule.exports = function (moduleId, options) {\n options = options || {}\n var sources = {\n main: __webpack_require__.m\n }\n\n var requiredModules = options.all ? { main: Object.keys(sources.main) } : getRequiredModules(sources, moduleId)\n\n var src = ''\n\n Object.keys(requiredModules).filter(function (m) { return m !== 'main' }).forEach(function (module) {\n var entryModule = 0\n while (requiredModules[module][entryModule]) {\n entryModule++\n }\n requiredModules[module].push(entryModule)\n sources[module][entryModule] = '(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })'\n src = src + 'var ' + module + ' = (' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', JSON.stringify(entryModule)) + ')({' + requiredModules[module].map(function (id) { return '' + JSON.stringify(id) + ': ' + sources[module][id].toString() }).join(',') + '});\\n'\n })\n\n src = src + 'new ((' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', JSON.stringify(moduleId)) + ')({' + requiredModules.main.map(function (id) { return '' + JSON.stringify(id) + ': ' + sources.main[id].toString() }).join(',') + '}))(self);'\n\n var blob = new window.Blob([src], { type: 'text/javascript' })\n if (options.bare) { return blob }\n\n var URL = window.URL || window.webkitURL || window.mozURL || window.msURL\n\n var workerUrl = URL.createObjectURL(blob)\n var worker = new window.Worker(workerUrl)\n worker.objectURL = workerUrl\n\n return worker\n}\n\n\n/***/ }),\n\n/***/ \"./src/config.js\":\n/*!***********************!*\\\n !*** ./src/config.js ***!\n \\***********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * HLS config\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar abr_controller_1 = __webpack_require__(/*! ./controller/abr-controller */ \"./src/controller/abr-controller.js\");\nvar buffer_controller_1 = __webpack_require__(/*! ./controller/buffer-controller */ \"./src/controller/buffer-controller.js\");\nvar cap_level_controller_1 = __webpack_require__(/*! ./controller/cap-level-controller */ \"./src/controller/cap-level-controller.js\");\nvar fps_controller_1 = __webpack_require__(/*! ./controller/fps-controller */ \"./src/controller/fps-controller.js\");\nvar xhr_loader_1 = __webpack_require__(/*! ./utils/xhr-loader */ \"./src/utils/xhr-loader.js\");\n// import FetchLoader from './utils/fetch-loader';\nvar audio_track_controller_1 = __webpack_require__(/*! ./controller/audio-track-controller */ \"./src/controller/audio-track-controller.js\");\nvar audio_stream_controller_1 = __webpack_require__(/*! ./controller/audio-stream-controller */ \"./src/controller/audio-stream-controller.js\");\nvar Cues = __webpack_require__(/*! ./utils/cues */ \"./src/utils/cues.js\");\nvar timeline_controller_1 = __webpack_require__(/*! ./controller/timeline-controller */ \"./src/controller/timeline-controller.js\");\nvar subtitle_track_controller_1 = __webpack_require__(/*! ./controller/subtitle-track-controller */ \"./src/controller/subtitle-track-controller.js\");\nvar subtitle_stream_controller_1 = __webpack_require__(/*! ./controller/subtitle-stream-controller */ \"./src/controller/subtitle-stream-controller.js\");\nvar eme_controller_1 = __webpack_require__(/*! ./controller/eme-controller */ \"./src/controller/eme-controller.js\");\nvar mediakeys_helper_1 = __webpack_require__(/*! ./utils/mediakeys-helper */ \"./src/utils/mediakeys-helper.js\");\nexports.hlsDefaultConfig = {\n autoStartLoad: true,\n startPosition: -1,\n defaultAudioCodec: undefined,\n debug: false,\n capLevelOnFPSDrop: false,\n capLevelToPlayerSize: false,\n initialLiveManifestSize: 1,\n maxBufferLength: 30,\n maxBufferSize: 60 * 1000 * 1000,\n maxBufferHole: 0.5,\n lowBufferWatchdogPeriod: 0.5,\n highBufferWatchdogPeriod: 3,\n nudgeOffset: 0.1,\n nudgeMaxRetry: 3,\n maxFragLookUpTolerance: 0.25,\n liveSyncDurationCount: 3,\n liveMaxLatencyDurationCount: Infinity,\n liveSyncDuration: undefined,\n liveMaxLatencyDuration: undefined,\n liveDurationInfinity: false,\n liveBackBufferLength: Infinity,\n maxMaxBufferLength: 600,\n enableWorker: true,\n enableSoftwareAES: true,\n manifestLoadingTimeOut: 10000,\n manifestLoadingMaxRetry: 1,\n manifestLoadingRetryDelay: 1000,\n manifestLoadingMaxRetryTimeout: 64000,\n startLevel: undefined,\n levelLoadingTimeOut: 10000,\n levelLoadingMaxRetry: 4,\n levelLoadingRetryDelay: 1000,\n levelLoadingMaxRetryTimeout: 64000,\n fragLoadingTimeOut: 20000,\n fragLoadingMaxRetry: 6,\n fragLoadingRetryDelay: 1000,\n fragLoadingMaxRetryTimeout: 64000,\n startFragPrefetch: false,\n fpsDroppedMonitoringPeriod: 5000,\n fpsDroppedMonitoringThreshold: 0.2,\n appendErrorMaxRetry: 3,\n loader: xhr_loader_1.default,\n // loader: FetchLoader,\n fLoader: undefined,\n pLoader: undefined,\n xhrSetup: undefined,\n licenseXhrSetup: undefined,\n // fetchSetup: undefined,\n abrController: abr_controller_1.default,\n bufferController: buffer_controller_1.default,\n capLevelController: cap_level_controller_1.default,\n fpsController: fps_controller_1.default,\n stretchShortVideoTrack: false,\n maxAudioFramesDrift: 1,\n forceKeyFrameOnDiscontinuity: true,\n abrEwmaFastLive: 3,\n abrEwmaSlowLive: 9,\n abrEwmaFastVoD: 3,\n abrEwmaSlowVoD: 9,\n abrEwmaDefaultEstimate: 5e5,\n abrBandWidthFactor: 0.95,\n abrBandWidthUpFactor: 0.7,\n abrMaxWithRealBitrate: false,\n maxStarvationDelay: 4,\n maxLoadingDelay: 4,\n minAutoBitrate: 0,\n emeEnabled: false,\n widevineLicenseUrl: undefined,\n requestMediaKeySystemAccessFunc: mediakeys_helper_1.requestMediaKeySystemAccess // used by eme-controller\n};\nif (true) {\n exports.hlsDefaultConfig.subtitleStreamController = subtitle_stream_controller_1.SubtitleStreamController;\n exports.hlsDefaultConfig.subtitleTrackController = subtitle_track_controller_1.default;\n exports.hlsDefaultConfig.timelineController = timeline_controller_1.default;\n exports.hlsDefaultConfig.cueHandler = Cues; // used by timeline-controller\n exports.hlsDefaultConfig.enableCEA708Captions = true; // used by timeline-controller\n exports.hlsDefaultConfig.enableWebVTT = true; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack1Label = 'English'; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack1LanguageCode = 'en'; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack2Label = 'Spanish'; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack2LanguageCode = 'es'; // used by timeline-controller\n}\nif (true) {\n exports.hlsDefaultConfig.audioStreamController = audio_stream_controller_1.default;\n exports.hlsDefaultConfig.audioTrackController = audio_track_controller_1.default;\n}\nif (true) {\n exports.hlsDefaultConfig.emeController = eme_controller_1.default;\n}\n\n\n/***/ }),\n\n/***/ \"./src/controller/abr-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/abr-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * simple ABR Controller\n * - compute next level based on last fragment bw heuristics\n * - implement an abandon rules triggered if we have less than 2 frag buffered and if computed bw shows that we risk buffer stalling\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar ewma_bandwidth_estimator_1 = __webpack_require__(/*! ../utils/ewma-bandwidth-estimator */ \"./src/utils/ewma-bandwidth-estimator.js\");\nvar performance = window.performance;\nvar AbrController = /** @class */ (function (_super) {\n __extends(AbrController, _super);\n function AbrController(hls) {\n var _this = _super.call(this, hls, events_1.default.FRAG_LOADING, events_1.default.FRAG_LOADED, events_1.default.FRAG_BUFFERED, events_1.default.ERROR) || this;\n _this.lastLoadedFragLevel = 0;\n _this._nextAutoLevel = -1;\n _this.hls = hls;\n _this.timer = null;\n _this._bwEstimator = null;\n _this.onCheck = _this._abandonRulesCheck.bind(_this);\n return _this;\n }\n AbrController.prototype.destroy = function () {\n this.clearTimer();\n event_handler_1.default.prototype.destroy.call(this);\n };\n AbrController.prototype.onFragLoading = function (data) {\n var frag = data.frag;\n if (frag.type === 'main') {\n if (!this.timer) {\n this.fragCurrent = frag;\n this.timer = setInterval(this.onCheck, 100);\n }\n // lazy init of BwEstimator, rationale is that we use different params for Live/VoD\n // so we need to wait for stream manifest / playlist type to instantiate it.\n if (!this._bwEstimator) {\n var hls_1 = this.hls;\n var config = hls_1.config;\n var level = frag.level;\n var isLive = hls_1.levels[level].details.live;\n var ewmaFast = void 0, ewmaSlow = void 0;\n if (isLive) {\n ewmaFast = config.abrEwmaFastLive;\n ewmaSlow = config.abrEwmaSlowLive;\n }\n else {\n ewmaFast = config.abrEwmaFastVoD;\n ewmaSlow = config.abrEwmaSlowVoD;\n }\n this._bwEstimator = new ewma_bandwidth_estimator_1.default(hls_1, ewmaSlow, ewmaFast, config.abrEwmaDefaultEstimate);\n }\n }\n };\n AbrController.prototype._abandonRulesCheck = function () {\n /*\n monitor fragment retrieval time...\n we compute expected time of arrival of the complete fragment.\n we compare it to expected time of buffer starvation\n */\n var hls = this.hls;\n var video = hls.media;\n var frag = this.fragCurrent;\n if (!frag) {\n return;\n }\n var loader = frag.loader;\n var minAutoLevel = hls.minAutoLevel;\n // if loader has been destroyed or loading has been aborted, stop timer and return\n if (!loader || (loader.stats && loader.stats.aborted)) {\n logger_1.logger.warn('frag loader destroy or aborted, disarm abandonRules');\n this.clearTimer();\n // reset forced auto level value so that next level will be selected\n this._nextAutoLevel = -1;\n return;\n }\n var stats = loader.stats;\n /* only monitor frag retrieval time if\n (video not paused OR first fragment being loaded(ready state === HAVE_NOTHING = 0)) AND autoswitching enabled AND not lowest level (=> means that we have several levels) */\n if (video && stats && ((!video.paused && (video.playbackRate !== 0)) || !video.readyState) && frag.autoLevel && frag.level) {\n var requestDelay = performance.now() - stats.trequest, playbackRate = Math.abs(video.playbackRate);\n // monitor fragment load progress after half of expected fragment duration,to stabilize bitrate\n if (requestDelay > (500 * frag.duration / playbackRate)) {\n var levels = hls.levels, loadRate = Math.max(1, stats.bw ? stats.bw / 8 : stats.loaded * 1000 / requestDelay), // byte/s; at least 1 byte/s to avoid division by zero\n // compute expected fragment length using frag duration and level bitrate. also ensure that expected len is gte than already loaded size\n level = levels[frag.level], levelBitrate = level.realBitrate ? Math.max(level.realBitrate, level.bitrate) : level.bitrate, expectedLen = stats.total ? stats.total : Math.max(stats.loaded, Math.round(frag.duration * levelBitrate / 8)), pos = video.currentTime, fragLoadedDelay = (expectedLen - stats.loaded) / loadRate, bufferStarvationDelay = (buffer_helper_1.BufferHelper.bufferInfo(video, pos, hls.config.maxBufferHole).end - pos) / playbackRate;\n // consider emergency switch down only if we have less than 2 frag buffered AND\n // time to finish loading current fragment is bigger than buffer starvation delay\n // ie if we risk buffer starvation if bw does not increase quickly\n if ((bufferStarvationDelay < (2 * frag.duration / playbackRate)) && (fragLoadedDelay > bufferStarvationDelay)) {\n var fragLevelNextLoadedDelay = void 0, nextLoadLevel = void 0;\n // lets iterate through lower level and try to find the biggest one that could avoid rebuffering\n // we start from current level - 1 and we step down , until we find a matching level\n for (nextLoadLevel = frag.level - 1; nextLoadLevel > minAutoLevel; nextLoadLevel--) {\n // compute time to load next fragment at lower level\n // 0.8 : consider only 80% of current bw to be conservative\n // 8 = bits per byte (bps/Bps)\n var levelNextBitrate = levels[nextLoadLevel].realBitrate ? Math.max(levels[nextLoadLevel].realBitrate, levels[nextLoadLevel].bitrate) : levels[nextLoadLevel].bitrate;\n fragLevelNextLoadedDelay = frag.duration * levelNextBitrate / (8 * 0.8 * loadRate);\n if (fragLevelNextLoadedDelay < bufferStarvationDelay) {\n // we found a lower level that be rebuffering free with current estimated bw !\n break;\n }\n }\n // only emergency switch down if it takes less time to load new fragment at lowest level instead\n // of finishing loading current one ...\n if (fragLevelNextLoadedDelay < fragLoadedDelay) {\n logger_1.logger.warn(\"loading too slow, abort fragment loading and switch to level \" + nextLoadLevel + \":fragLoadedDelay[\" + nextLoadLevel + \"]<fragLoadedDelay[\" + (frag.level - 1) + \"];bufferStarvationDelay:\" + fragLevelNextLoadedDelay.toFixed(1) + \"<\" + fragLoadedDelay.toFixed(1) + \":\" + bufferStarvationDelay.toFixed(1));\n // force next load level in auto mode\n hls.nextLoadLevel = nextLoadLevel;\n // update bw estimate for this fragment before cancelling load (this will help reducing the bw)\n this._bwEstimator.sample(requestDelay, stats.loaded);\n // abort fragment loading\n loader.abort();\n // stop abandon rules timer\n this.clearTimer();\n hls.trigger(events_1.default.FRAG_LOAD_EMERGENCY_ABORTED, { frag: frag, stats: stats });\n }\n }\n }\n }\n };\n AbrController.prototype.onFragLoaded = function (data) {\n var frag = data.frag;\n if (frag.type === 'main' && Number.isFinite(frag.sn)) {\n // stop monitoring bw once frag loaded\n this.clearTimer();\n // store level id after successful fragment load\n this.lastLoadedFragLevel = frag.level;\n // reset forced auto level value so that next level will be selected\n this._nextAutoLevel = -1;\n // compute level average bitrate\n if (this.hls.config.abrMaxWithRealBitrate) {\n var level = this.hls.levels[frag.level];\n var loadedBytes = (level.loaded ? level.loaded.bytes : 0) + data.stats.loaded;\n var loadedDuration = (level.loaded ? level.loaded.duration : 0) + data.frag.duration;\n level.loaded = { bytes: loadedBytes, duration: loadedDuration };\n level.realBitrate = Math.round(8 * loadedBytes / loadedDuration);\n }\n // if fragment has been loaded to perform a bitrate test,\n if (data.frag.bitrateTest) {\n var stats = data.stats;\n stats.tparsed = stats.tbuffered = stats.tload;\n this.onFragBuffered(data);\n }\n }\n };\n AbrController.prototype.onFragBuffered = function (data) {\n var stats = data.stats;\n var frag = data.frag;\n // only update stats on first frag buffering\n // if same frag is loaded multiple times, it might be in browser cache, and loaded quickly\n // and leading to wrong bw estimation\n // on bitrate test, also only update stats once (if tload = tbuffered == on FRAG_LOADED)\n if (stats.aborted !== true && frag.type === 'main' && Number.isFinite(frag.sn) && ((!frag.bitrateTest || stats.tload === stats.tbuffered))) {\n // use tparsed-trequest instead of tbuffered-trequest to compute fragLoadingProcessing; rationale is that buffer appending only happens once media is attached\n // in case we use config.startFragPrefetch while media is not attached yet, fragment might be parsed while media not attached yet, but it will only be buffered on media attached\n // as a consequence it could happen really late in the process. meaning that appending duration might appears huge ... leading to underestimated throughput estimation\n var fragLoadingProcessingMs = stats.tparsed - stats.trequest;\n logger_1.logger.log(\"latency/loading/parsing/append/kbps:\" + Math.round(stats.tfirst - stats.trequest) + \"/\" + Math.round(stats.tload - stats.tfirst) + \"/\" + Math.round(stats.tparsed - stats.tload) + \"/\" + Math.round(stats.tbuffered - stats.tparsed) + \"/\" + Math.round(8 * stats.loaded / (stats.tbuffered - stats.trequest)));\n this._bwEstimator.sample(fragLoadingProcessingMs, stats.loaded);\n stats.bwEstimate = this._bwEstimator.getEstimate();\n // if fragment has been loaded to perform a bitrate test, (hls.startLevel = -1), store bitrate test delay duration\n if (frag.bitrateTest) {\n this.bitrateTestDelay = fragLoadingProcessingMs / 1000;\n }\n else {\n this.bitrateTestDelay = 0;\n }\n }\n };\n AbrController.prototype.onError = function (data) {\n // stop timer in case of frag loading error\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n this.clearTimer();\n break;\n default:\n break;\n }\n };\n AbrController.prototype.clearTimer = function () {\n clearInterval(this.timer);\n this.timer = null;\n };\n Object.defineProperty(AbrController.prototype, \"nextAutoLevel\", {\n // return next auto level\n get: function () {\n var forcedAutoLevel = this._nextAutoLevel;\n var bwEstimator = this._bwEstimator;\n // in case next auto level has been forced, and bw not available or not reliable, return forced value\n if (forcedAutoLevel !== -1 && (!bwEstimator || !bwEstimator.canEstimate())) {\n return forcedAutoLevel;\n }\n // compute next level using ABR logic\n var nextABRAutoLevel = this._nextABRAutoLevel;\n // if forced auto level has been defined, use it to cap ABR computed quality level\n if (forcedAutoLevel !== -1) {\n nextABRAutoLevel = Math.min(forcedAutoLevel, nextABRAutoLevel);\n }\n return nextABRAutoLevel;\n },\n set: function (nextLevel) {\n this._nextAutoLevel = nextLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbrController.prototype, \"_nextABRAutoLevel\", {\n get: function () {\n var hls = this.hls, maxAutoLevel = hls.maxAutoLevel, levels = hls.levels, config = hls.config, minAutoLevel = hls.minAutoLevel;\n var video = hls.media, currentLevel = this.lastLoadedFragLevel, currentFragDuration = this.fragCurrent ? this.fragCurrent.duration : 0, pos = (video ? video.currentTime : 0), \n // playbackRate is the absolute value of the playback rate; if video.playbackRate is 0, we use 1 to load as\n // if we're playing back at the normal rate.\n playbackRate = ((video && (video.playbackRate !== 0)) ? Math.abs(video.playbackRate) : 1.0), avgbw = this._bwEstimator ? this._bwEstimator.getEstimate() : config.abrEwmaDefaultEstimate, \n // bufferStarvationDelay is the wall-clock time left until the playback buffer is exhausted.\n bufferStarvationDelay = (buffer_helper_1.BufferHelper.bufferInfo(video, pos, config.maxBufferHole).end - pos) / playbackRate;\n // First, look to see if we can find a level matching with our avg bandwidth AND that could also guarantee no rebuffering at all\n var bestLevel = this._findBestLevel(currentLevel, currentFragDuration, avgbw, minAutoLevel, maxAutoLevel, bufferStarvationDelay, config.abrBandWidthFactor, config.abrBandWidthUpFactor, levels);\n if (bestLevel >= 0) {\n return bestLevel;\n }\n else {\n logger_1.logger.trace('rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering');\n // not possible to get rid of rebuffering ... let's try to find level that will guarantee less than maxStarvationDelay of rebuffering\n // if no matching level found, logic will return 0\n var maxStarvationDelay = currentFragDuration ? Math.min(currentFragDuration, config.maxStarvationDelay) : config.maxStarvationDelay, bwFactor = config.abrBandWidthFactor, bwUpFactor = config.abrBandWidthUpFactor;\n if (bufferStarvationDelay === 0) {\n // in case buffer is empty, let's check if previous fragment was loaded to perform a bitrate test\n var bitrateTestDelay = this.bitrateTestDelay;\n if (bitrateTestDelay) {\n // if it is the case, then we need to adjust our max starvation delay using maxLoadingDelay config value\n // max video loading delay used in automatic start level selection :\n // in that mode ABR controller will ensure that video loading time (ie the time to fetch the first fragment at lowest quality level +\n // the time to fetch the fragment at the appropriate quality level is less than ```maxLoadingDelay``` )\n // cap maxLoadingDelay and ensure it is not bigger 'than bitrate test' frag duration\n var maxLoadingDelay = currentFragDuration ? Math.min(currentFragDuration, config.maxLoadingDelay) : config.maxLoadingDelay;\n maxStarvationDelay = maxLoadingDelay - bitrateTestDelay;\n logger_1.logger.trace(\"bitrate test took \" + Math.round(1000 * bitrateTestDelay) + \"ms, set first fragment max fetchDuration to \" + Math.round(1000 * maxStarvationDelay) + \" ms\");\n // don't use conservative factor on bitrate test\n bwFactor = bwUpFactor = 1;\n }\n }\n bestLevel = this._findBestLevel(currentLevel, currentFragDuration, avgbw, minAutoLevel, maxAutoLevel, bufferStarvationDelay + maxStarvationDelay, bwFactor, bwUpFactor, levels);\n return Math.max(bestLevel, 0);\n }\n },\n enumerable: true,\n configurable: true\n });\n AbrController.prototype._findBestLevel = function (currentLevel, currentFragDuration, currentBw, minAutoLevel, maxAutoLevel, maxFetchDuration, bwFactor, bwUpFactor, levels) {\n for (var i = maxAutoLevel; i >= minAutoLevel; i--) {\n var levelInfo = levels[i];\n if (!levelInfo) {\n continue;\n }\n var levelDetails = levelInfo.details, avgDuration = levelDetails ? levelDetails.totalduration / levelDetails.fragments.length : currentFragDuration, live = levelDetails ? levelDetails.live : false, adjustedbw = void 0;\n // follow algorithm captured from stagefright :\n // https://android.googlesource.com/platform/frameworks/av/+/master/media/libstagefright/httplive/LiveSession.cpp\n // Pick the highest bandwidth stream below or equal to estimated bandwidth.\n // consider only 80% of the available bandwidth, but if we are switching up,\n // be even more conservative (70%) to avoid overestimating and immediately\n // switching back.\n if (i <= currentLevel) {\n adjustedbw = bwFactor * currentBw;\n }\n else {\n adjustedbw = bwUpFactor * currentBw;\n }\n var bitrate = levels[i].realBitrate ? Math.max(levels[i].realBitrate, levels[i].bitrate) : levels[i].bitrate, fetchDuration = bitrate * avgDuration / adjustedbw;\n logger_1.logger.trace(\"level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: \" + i + \"/\" + Math.round(adjustedbw) + \"/\" + bitrate + \"/\" + avgDuration + \"/\" + maxFetchDuration + \"/\" + fetchDuration);\n // if adjusted bw is greater than level bitrate AND\n if (adjustedbw > bitrate &&\n // fragment fetchDuration unknown OR live stream OR fragment fetchDuration less than max allowed fetch duration, then this level matches\n // we don't account for max Fetch Duration for live streams, this is to avoid switching down when near the edge of live sliding window ...\n // special case to support startLevel = -1 (bitrateTest) on live streams : in that case we should not exit loop so that _findBestLevel will return -1\n (!fetchDuration || (live && !this.bitrateTestDelay) || fetchDuration < maxFetchDuration)) {\n // as we are looping from highest to lowest, this will return the best achievable quality level\n return i;\n }\n }\n // not enough time budget even with quality level 0 ... rebuffering might happen\n return -1;\n };\n return AbrController;\n}(event_handler_1.default));\nexports.default = AbrController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/audio-stream-controller.js\":\n/*!***************************************************!*\\\n !*** ./src/controller/audio-stream-controller.js ***!\n \\***************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Audio Stream Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ../utils/binary-search */ \"./src/utils/binary-search.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar demuxer_1 = __webpack_require__(/*! ../demux/demuxer */ \"./src/demux/demuxer.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar LevelHelper = __webpack_require__(/*! ./level-helper */ \"./src/controller/level-helper.js\");\nvar time_ranges_1 = __webpack_require__(/*! ../utils/time-ranges */ \"./src/utils/time-ranges.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar discontinuities_1 = __webpack_require__(/*! ../utils/discontinuities */ \"./src/utils/discontinuities.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar fragment_1 = __webpack_require__(/*! ../loader/fragment */ \"./src/loader/fragment.js\");\nvar base_stream_controller_1 = __webpack_require__(/*! ./base-stream-controller */ \"./src/controller/base-stream-controller.js\");\nvar performance = window.performance;\nvar TICK_INTERVAL = 100; // how often to tick in ms\nvar AudioStreamController = /** @class */ (function (_super) {\n __extends(AudioStreamController, _super);\n function AudioStreamController(hls, fragmentTracker) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.AUDIO_TRACKS_UPDATED, events_1.default.AUDIO_TRACK_SWITCHING, events_1.default.AUDIO_TRACK_LOADED, events_1.default.KEY_LOADED, events_1.default.FRAG_LOADED, events_1.default.FRAG_PARSING_INIT_SEGMENT, events_1.default.FRAG_PARSING_DATA, events_1.default.FRAG_PARSED, events_1.default.ERROR, events_1.default.BUFFER_RESET, events_1.default.BUFFER_CREATED, events_1.default.BUFFER_APPENDED, events_1.default.BUFFER_FLUSHED, events_1.default.INIT_PTS_FOUND) || this;\n _this.fragmentTracker = fragmentTracker;\n _this.config = hls.config;\n _this.audioCodecSwap = false;\n _this._state = base_stream_controller_1.State.STOPPED;\n _this.initPTS = [];\n _this.waitingFragment = null;\n _this.videoTrackCC = null;\n return _this;\n }\n AudioStreamController.prototype.onHandlerDestroying = function () {\n this.stopLoad();\n _super.prototype.onHandlerDestroying.call(this);\n };\n AudioStreamController.prototype.onHandlerDestroyed = function () {\n this.state = base_stream_controller_1.State.STOPPED;\n this.fragmentTracker = null;\n _super.prototype.onHandlerDestroyed.call(this);\n };\n // Signal that video PTS was found\n AudioStreamController.prototype.onInitPtsFound = function (data) {\n var demuxerId = data.id, cc = data.frag.cc, initPTS = data.initPTS;\n if (demuxerId === 'main') {\n // Always update the new INIT PTS\n // Can change due level switch\n this.initPTS[cc] = initPTS;\n this.videoTrackCC = cc;\n logger_1.logger.log(\"InitPTS for cc: \" + cc + \" found from video track: \" + initPTS);\n // If we are waiting we need to demux/remux the waiting frag\n // With the new initPTS\n if (this.state === base_stream_controller_1.State.WAITING_INIT_PTS) {\n this.tick();\n }\n }\n };\n AudioStreamController.prototype.startLoad = function (startPosition) {\n if (this.tracks) {\n var lastCurrentTime = this.lastCurrentTime;\n this.stopLoad();\n this.setInterval(TICK_INTERVAL);\n this.fragLoadError = 0;\n if (lastCurrentTime > 0 && startPosition === -1) {\n logger_1.logger.log(\"audio:override startPosition with lastCurrentTime @\" + lastCurrentTime.toFixed(3));\n this.state = base_stream_controller_1.State.IDLE;\n }\n else {\n this.lastCurrentTime = this.startPosition ? this.startPosition : startPosition;\n this.state = base_stream_controller_1.State.STARTING;\n }\n this.nextLoadPosition = this.startPosition = this.lastCurrentTime;\n this.tick();\n }\n else {\n this.startPosition = startPosition;\n this.state = base_stream_controller_1.State.STOPPED;\n }\n };\n AudioStreamController.prototype.stopLoad = function () {\n var frag = this.fragCurrent;\n if (frag) {\n if (frag.loader) {\n frag.loader.abort();\n }\n this.fragmentTracker.removeFragment(frag);\n this.fragCurrent = null;\n }\n this.fragPrevious = null;\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n this.state = base_stream_controller_1.State.STOPPED;\n };\n Object.defineProperty(AudioStreamController.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n set: function (nextState) {\n if (this.state !== nextState) {\n var previousState = this.state;\n this._state = nextState;\n logger_1.logger.log(\"audio stream:\" + previousState + \"->\" + nextState);\n }\n },\n enumerable: true,\n configurable: true\n });\n AudioStreamController.prototype.doTick = function () {\n var pos, track, trackDetails, hls = this.hls, config = hls.config;\n // logger.log('audioStream:' + this.state);\n switch (this.state) {\n case base_stream_controller_1.State.ERROR:\n // don't do anything in error state to avoid breaking further ...\n case base_stream_controller_1.State.PAUSED:\n // don't do anything in paused state either ...\n case base_stream_controller_1.State.BUFFER_FLUSHING:\n break;\n case base_stream_controller_1.State.STARTING:\n this.state = base_stream_controller_1.State.WAITING_TRACK;\n this.loadedmetadata = false;\n break;\n case base_stream_controller_1.State.IDLE:\n var tracks = this.tracks;\n // audio tracks not received => exit loop\n if (!tracks) {\n break;\n }\n // if video not attached AND\n // start fragment already requested OR start frag prefetch disable\n // exit loop\n // => if media not attached but start frag prefetch is enabled and start frag not requested yet, we will not exit loop\n if (!this.media &&\n (this.startFragRequested || !config.startFragPrefetch)) {\n break;\n }\n // determine next candidate fragment to be loaded, based on current position and\n // end of buffer position\n // if we have not yet loaded any fragment, start loading from start position\n if (this.loadedmetadata) {\n pos = this.media.currentTime;\n }\n else {\n pos = this.nextLoadPosition;\n if (pos === undefined) {\n break;\n }\n }\n var media = this.mediaBuffer ? this.mediaBuffer : this.media, videoBuffer = this.videoBuffer ? this.videoBuffer : this.media, bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(media, pos, config.maxBufferHole), mainBufferInfo = buffer_helper_1.BufferHelper.bufferInfo(videoBuffer, pos, config.maxBufferHole), bufferLen = bufferInfo.len, bufferEnd_1 = bufferInfo.end, fragPrevious = this.fragPrevious, \n // ensure we buffer at least config.maxBufferLength (default 30s) or config.maxMaxBufferLength (default: 600s)\n // whichever is smaller.\n // once we reach that threshold, don't buffer more than video (mainBufferInfo.len)\n maxConfigBuffer = Math.min(config.maxBufferLength, config.maxMaxBufferLength), maxBufLen = Math.max(maxConfigBuffer, mainBufferInfo.len), audioSwitch = this.audioSwitch, trackId = this.trackId;\n // if buffer length is less than maxBufLen try to load a new fragment\n if ((bufferLen < maxBufLen || audioSwitch) && trackId < tracks.length) {\n trackDetails = tracks[trackId].details;\n // if track info not retrieved yet, switch state and wait for track retrieval\n if (typeof trackDetails === 'undefined') {\n this.state = base_stream_controller_1.State.WAITING_TRACK;\n break;\n }\n if (!audioSwitch && this._streamEnded(bufferInfo, trackDetails)) {\n this.hls.trigger(events_1.default.BUFFER_EOS, { type: 'audio' });\n this.state = base_stream_controller_1.State.ENDED;\n return;\n }\n // find fragment index, contiguous with end of buffer position\n var fragments = trackDetails.fragments, fragLen = fragments.length, start = fragments[0].start, end = fragments[fragLen - 1].start + fragments[fragLen - 1].duration, frag = void 0;\n // When switching audio track, reload audio as close as possible to currentTime\n if (audioSwitch) {\n if (trackDetails.live && !trackDetails.PTSKnown) {\n logger_1.logger.log('switching audiotrack, live stream, unknown PTS,load first fragment');\n bufferEnd_1 = 0;\n }\n else {\n bufferEnd_1 = pos;\n // if currentTime (pos) is less than alt audio playlist start time, it means that alt audio is ahead of currentTime\n if (trackDetails.PTSKnown && pos < start) {\n // if everything is buffered from pos to start or if audio buffer upfront, let's seek to start\n if (bufferInfo.end > start || bufferInfo.nextStart) {\n logger_1.logger.log('alt audio track ahead of main track, seek to start of alt audio track');\n this.media.currentTime = start + 0.05;\n }\n else {\n return;\n }\n }\n }\n }\n if (trackDetails.initSegment && !trackDetails.initSegment.data) {\n frag = trackDetails.initSegment;\n } // eslint-disable-line brace-style\n // if bufferEnd before start of playlist, load first fragment\n else if (bufferEnd_1 <= start) {\n frag = fragments[0];\n if (this.videoTrackCC !== null && frag.cc !== this.videoTrackCC) {\n // Ensure we find a fragment which matches the continuity of the video track\n frag = discontinuities_1.findFragWithCC(fragments, this.videoTrackCC);\n }\n if (trackDetails.live && frag.loadIdx && frag.loadIdx === this.fragLoadIdx) {\n // we just loaded this first fragment, and we are still lagging behind the start of the live playlist\n // let's force seek to start\n var nextBuffered = bufferInfo.nextStart ? bufferInfo.nextStart : start;\n logger_1.logger.log(\"no alt audio available @currentTime:\" + this.media.currentTime + \", seeking @\" + (nextBuffered + 0.05));\n this.media.currentTime = nextBuffered + 0.05;\n return;\n }\n }\n else {\n var foundFrag = void 0;\n var maxFragLookUpTolerance_1 = config.maxFragLookUpTolerance;\n var fragNext = fragPrevious ? fragments[fragPrevious.sn - fragments[0].sn + 1] : undefined;\n var fragmentWithinToleranceTest = function (candidate) {\n // offset should be within fragment boundary - config.maxFragLookUpTolerance\n // this is to cope with situations like\n // bufferEnd = 9.991\n // frag[Ø] : [0,10]\n // frag[1] : [10,20]\n // bufferEnd is within frag[0] range ... although what we are expecting is to return frag[1] here\n // frag start frag start+duration\n // |-----------------------------|\n // <---> <--->\n // ...--------><-----------------------------><---------....\n // previous frag matching fragment next frag\n // return -1 return 0 return 1\n // logger.log(`level/sn/start/end/bufEnd:${level}/${candidate.sn}/${candidate.start}/${(candidate.start+candidate.duration)}/${bufferEnd}`);\n // Set the lookup tolerance to be small enough to detect the current segment - ensures we don't skip over very small segments\n var candidateLookupTolerance = Math.min(maxFragLookUpTolerance_1, candidate.duration);\n if ((candidate.start + candidate.duration - candidateLookupTolerance) <= bufferEnd_1) {\n return 1;\n }\n else if (candidate.start - candidateLookupTolerance > bufferEnd_1 && candidate.start) {\n // if maxFragLookUpTolerance will have negative value then don't return -1 for first element\n return -1;\n }\n return 0;\n };\n if (bufferEnd_1 < end) {\n if (bufferEnd_1 > end - maxFragLookUpTolerance_1) {\n maxFragLookUpTolerance_1 = 0;\n }\n // Prefer the next fragment if it's within tolerance\n if (fragNext && !fragmentWithinToleranceTest(fragNext)) {\n foundFrag = fragNext;\n }\n else {\n foundFrag = binary_search_1.default.search(fragments, fragmentWithinToleranceTest);\n }\n }\n else {\n // reach end of playlist\n foundFrag = fragments[fragLen - 1];\n }\n if (foundFrag) {\n frag = foundFrag;\n start = foundFrag.start;\n // logger.log('find SN matching with pos:' + bufferEnd + ':' + frag.sn);\n if (fragPrevious && frag.level === fragPrevious.level && frag.sn === fragPrevious.sn) {\n if (frag.sn < trackDetails.endSN) {\n frag = fragments[frag.sn + 1 - trackDetails.startSN];\n logger_1.logger.log(\"SN just loaded, load next one: \" + frag.sn);\n }\n else {\n frag = null;\n }\n }\n }\n }\n if (frag) {\n // logger.log(' loading frag ' + i +',pos/bufEnd:' + pos.toFixed(3) + '/' + bufferEnd.toFixed(3));\n if (frag.encrypted) {\n logger_1.logger.log(\"Loading key for \" + frag.sn + \" of [\" + trackDetails.startSN + \" ,\" + trackDetails.endSN + \"],track \" + trackId);\n this.state = base_stream_controller_1.State.KEY_LOADING;\n hls.trigger(events_1.default.KEY_LOADING, { frag: frag });\n }\n else {\n logger_1.logger.log(\"Loading \" + frag.sn + \", cc: \" + frag.cc + \" of [\" + trackDetails.startSN + \" ,\" + trackDetails.endSN + \"],track \" + trackId + \", currentTime:\" + pos + \",bufferEnd:\" + bufferEnd_1.toFixed(3));\n // only load if fragment is not loaded or if in audio switch\n // we force a frag loading in audio switch as fragment tracker might not have evicted previous frags in case of quick audio switch\n this.fragCurrent = frag;\n if (audioSwitch || this.fragmentTracker.getState(frag) === fragment_tracker_1.FragmentState.NOT_LOADED) {\n this.startFragRequested = true;\n if (Number.isFinite(frag.sn)) {\n this.nextLoadPosition = frag.start + frag.duration;\n }\n hls.trigger(events_1.default.FRAG_LOADING, { frag: frag });\n this.state = base_stream_controller_1.State.FRAG_LOADING;\n }\n }\n }\n }\n break;\n case base_stream_controller_1.State.WAITING_TRACK:\n track = this.tracks[this.trackId];\n // check if playlist is already loaded\n if (track && track.details) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY:\n var now = performance.now();\n var retryDate = this.retryDate;\n media = this.media;\n var isSeeking = media && media.seeking;\n // if current time is gt than retryDate, or if media seeking let's switch to IDLE state to retry loading\n if (!retryDate || (now >= retryDate) || isSeeking) {\n logger_1.logger.log('audioStreamController: retryDate reached, switch back to IDLE state');\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.WAITING_INIT_PTS:\n var videoTrackCC = this.videoTrackCC;\n if (this.initPTS[videoTrackCC] === undefined) {\n break;\n }\n // Ensure we don't get stuck in the WAITING_INIT_PTS state if the waiting frag CC doesn't match any initPTS\n var waitingFrag = this.waitingFragment;\n if (waitingFrag) {\n var waitingFragCC = waitingFrag.frag.cc;\n if (videoTrackCC !== waitingFragCC) {\n track = this.tracks[this.trackId];\n if (track.details && track.details.live) {\n logger_1.logger.warn(\"Waiting fragment CC (\" + waitingFragCC + \") does not match video track CC (\" + videoTrackCC + \")\");\n this.waitingFragment = null;\n this.state = base_stream_controller_1.State.IDLE;\n }\n }\n else {\n this.state = base_stream_controller_1.State.FRAG_LOADING;\n this.onFragLoaded(this.waitingFragment);\n this.waitingFragment = null;\n }\n }\n else {\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.STOPPED:\n case base_stream_controller_1.State.FRAG_LOADING:\n case base_stream_controller_1.State.PARSING:\n case base_stream_controller_1.State.PARSED:\n case base_stream_controller_1.State.ENDED:\n break;\n default:\n break;\n }\n };\n AudioStreamController.prototype.onMediaAttached = function (data) {\n var media = this.media = this.mediaBuffer = data.media;\n this.onvseeking = this.onMediaSeeking.bind(this);\n this.onvended = this.onMediaEnded.bind(this);\n media.addEventListener('seeking', this.onvseeking);\n media.addEventListener('ended', this.onvended);\n var config = this.config;\n if (this.tracks && config.autoStartLoad) {\n this.startLoad(config.startPosition);\n }\n };\n AudioStreamController.prototype.onMediaDetaching = function () {\n var media = this.media;\n if (media && media.ended) {\n logger_1.logger.log('MSE detaching and video ended, reset startPosition');\n this.startPosition = this.lastCurrentTime = 0;\n }\n // remove video listeners\n if (media) {\n media.removeEventListener('seeking', this.onvseeking);\n media.removeEventListener('ended', this.onvended);\n this.onvseeking = this.onvseeked = this.onvended = null;\n }\n this.media = this.mediaBuffer = this.videoBuffer = null;\n this.loadedmetadata = false;\n this.stopLoad();\n };\n AudioStreamController.prototype.onAudioTracksUpdated = function (data) {\n logger_1.logger.log('audio tracks updated');\n this.tracks = data.audioTracks;\n };\n AudioStreamController.prototype.onAudioTrackSwitching = function (data) {\n // if any URL found on new audio track, it is an alternate audio track\n var altAudio = !!data.url;\n this.trackId = data.id;\n this.fragCurrent = null;\n this.state = base_stream_controller_1.State.PAUSED;\n this.waitingFragment = null;\n // destroy useless demuxer when switching audio to main\n if (!altAudio) {\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n }\n else {\n // switching to audio track, start timer if not already started\n this.setInterval(TICK_INTERVAL);\n }\n // should we switch tracks ?\n if (altAudio) {\n this.audioSwitch = true;\n // main audio track are handled by stream-controller, just do something if switching to alt audio track\n this.state = base_stream_controller_1.State.IDLE;\n }\n this.tick();\n };\n AudioStreamController.prototype.onAudioTrackLoaded = function (data) {\n var newDetails = data.details, trackId = data.id, track = this.tracks[trackId], duration = newDetails.totalduration, sliding = 0;\n logger_1.logger.log(\"track \" + trackId + \" loaded [\" + newDetails.startSN + \",\" + newDetails.endSN + \"],duration:\" + duration);\n if (newDetails.live) {\n var curDetails = track.details;\n if (curDetails && newDetails.fragments.length > 0) {\n // we already have details for that level, merge them\n LevelHelper.mergeDetails(curDetails, newDetails);\n sliding = newDetails.fragments[0].start;\n // TODO\n // this.liveSyncPosition = this.computeLivePosition(sliding, curDetails);\n if (newDetails.PTSKnown) {\n logger_1.logger.log(\"live audio playlist sliding:\" + sliding.toFixed(3));\n }\n else {\n logger_1.logger.log('live audio playlist - outdated PTS, unknown sliding');\n }\n }\n else {\n newDetails.PTSKnown = false;\n logger_1.logger.log('live audio playlist - first load, unknown sliding');\n }\n }\n else {\n newDetails.PTSKnown = false;\n }\n track.details = newDetails;\n // compute start position\n if (!this.startFragRequested) {\n // compute start position if set to -1. use it straight away if value is defined\n if (this.startPosition === -1) {\n // first, check if start time offset has been set in playlist, if yes, use this value\n var startTimeOffset = newDetails.startTimeOffset;\n if (Number.isFinite(startTimeOffset)) {\n logger_1.logger.log(\"start time offset found in playlist, adjust startPosition to \" + startTimeOffset);\n this.startPosition = startTimeOffset;\n }\n else {\n this.startPosition = 0;\n }\n }\n this.nextLoadPosition = this.startPosition;\n }\n // only switch batck to IDLE state if we were waiting for track to start downloading a new fragment\n if (this.state === base_stream_controller_1.State.WAITING_TRACK) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n // trigger handler right now\n this.tick();\n };\n AudioStreamController.prototype.onKeyLoaded = function () {\n if (this.state === base_stream_controller_1.State.KEY_LOADING) {\n this.state = base_stream_controller_1.State.IDLE;\n this.tick();\n }\n };\n AudioStreamController.prototype.onFragLoaded = function (data) {\n var fragCurrent = this.fragCurrent, fragLoaded = data.frag;\n if (this.state === base_stream_controller_1.State.FRAG_LOADING &&\n fragCurrent &&\n fragLoaded.type === 'audio' &&\n fragLoaded.level === fragCurrent.level &&\n fragLoaded.sn === fragCurrent.sn) {\n var track = this.tracks[this.trackId], details = track.details, duration = details.totalduration, trackId = fragCurrent.level, sn = fragCurrent.sn, cc = fragCurrent.cc, audioCodec = this.config.defaultAudioCodec || track.audioCodec || 'mp4a.40.2', stats = this.stats = data.stats;\n if (sn === 'initSegment') {\n this.state = base_stream_controller_1.State.IDLE;\n stats.tparsed = stats.tbuffered = performance.now();\n details.initSegment.data = data.payload;\n this.hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: fragCurrent, id: 'audio' });\n this.tick();\n }\n else {\n this.state = base_stream_controller_1.State.PARSING;\n // transmux the MPEG-TS data to ISO-BMFF segments\n this.appended = false;\n if (!this.demuxer) {\n this.demuxer = new demuxer_1.default(this.hls, 'audio');\n }\n // Check if we have video initPTS\n // If not we need to wait for it\n var initPTS = this.initPTS[cc];\n var initSegmentData = details.initSegment ? details.initSegment.data : [];\n if (details.initSegment || initPTS !== undefined) {\n this.pendingBuffering = true;\n logger_1.logger.log(\"Demuxing \" + sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],track \" + trackId);\n // time Offset is accurate if level PTS is known, or if playlist is not sliding (not live)\n var accurateTimeOffset = false; // details.PTSKnown || !details.live;\n this.demuxer.push(data.payload, initSegmentData, audioCodec, null, fragCurrent, duration, accurateTimeOffset, initPTS);\n }\n else {\n logger_1.logger.log(\"unknown video PTS for continuity counter \" + cc + \", waiting for video PTS before demuxing audio frag \" + sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],track \" + trackId);\n this.waitingFragment = data;\n this.state = base_stream_controller_1.State.WAITING_INIT_PTS;\n }\n }\n }\n this.fragLoadError = 0;\n };\n AudioStreamController.prototype.onFragParsingInitSegment = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'audio' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n var tracks = data.tracks, track = void 0;\n // delete any video track found on audio demuxer\n if (tracks.video) {\n delete tracks.video;\n }\n // include levelCodec in audio and video tracks\n track = tracks.audio;\n if (track) {\n track.levelCodec = track.codec;\n track.id = data.id;\n this.hls.trigger(events_1.default.BUFFER_CODECS, tracks);\n logger_1.logger.log(\"audio track:audio,container:\" + track.container + \",codecs[level/parsed]=[\" + track.levelCodec + \"/\" + track.codec + \"]\");\n var initSegment = track.initSegment;\n if (initSegment) {\n var appendObj = { type: 'audio', data: initSegment, parent: 'audio', content: 'initSegment' };\n if (this.audioSwitch) {\n this.pendingData = [appendObj];\n }\n else {\n this.appended = true;\n // arm pending Buffering flag before appending a segment\n this.pendingBuffering = true;\n this.hls.trigger(events_1.default.BUFFER_APPENDING, appendObj);\n }\n }\n // trigger handler right now\n this.tick();\n }\n }\n };\n AudioStreamController.prototype.onFragParsingData = function (data) {\n var _this = this;\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'audio' &&\n data.type === 'audio' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n var trackId = this.trackId, track = this.tracks[trackId], hls_1 = this.hls;\n if (!Number.isFinite(data.endPTS)) {\n data.endPTS = data.startPTS + fragCurrent.duration;\n data.endDTS = data.startDTS + fragCurrent.duration;\n }\n fragCurrent.addElementaryStream(fragment_1.default.ElementaryStreamTypes.AUDIO);\n logger_1.logger.log(\"parsed \" + data.type + \",PTS:[\" + data.startPTS.toFixed(3) + \",\" + data.endPTS.toFixed(3) + \"],DTS:[\" + data.startDTS.toFixed(3) + \"/\" + data.endDTS.toFixed(3) + \"],nb:\" + data.nb);\n LevelHelper.updateFragPTSDTS(track.details, fragCurrent, data.startPTS, data.endPTS);\n var audioSwitch = this.audioSwitch, media = this.media, appendOnBufferFlush = false;\n // Only flush audio from old audio tracks when PTS is known on new audio track\n if (audioSwitch && media) {\n if (media.readyState) {\n var currentTime = media.currentTime;\n logger_1.logger.log('switching audio track : currentTime:' + currentTime);\n if (currentTime >= data.startPTS) {\n logger_1.logger.log('switching audio track : flushing all audio');\n this.state = base_stream_controller_1.State.BUFFER_FLUSHING;\n hls_1.trigger(events_1.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: Number.POSITIVE_INFINITY, type: 'audio' });\n appendOnBufferFlush = true;\n // Lets announce that the initial audio track switch flush occur\n this.audioSwitch = false;\n hls_1.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: trackId });\n }\n }\n else {\n // Lets announce that the initial audio track switch flush occur\n this.audioSwitch = false;\n hls_1.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: trackId });\n }\n }\n var pendingData_1 = this.pendingData;\n if (!pendingData_1) {\n logger_1.logger.warn('Apparently attempt to enqueue media payload without codec initialization data upfront');\n hls_1.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: null, fatal: true });\n return;\n }\n if (!this.audioSwitch) {\n [data.data1, data.data2].forEach(function (buffer) {\n if (buffer && buffer.length) {\n pendingData_1.push({ type: data.type, data: buffer, parent: 'audio', content: 'data' });\n }\n });\n if (!appendOnBufferFlush && pendingData_1.length) {\n pendingData_1.forEach(function (appendObj) {\n // only append in PARSING state (rationale is that an appending error could happen synchronously on first segment appending)\n // in that case it is useless to append following segments\n if (_this.state === base_stream_controller_1.State.PARSING) {\n // arm pending Buffering flag before appending a segment\n _this.pendingBuffering = true;\n _this.hls.trigger(events_1.default.BUFFER_APPENDING, appendObj);\n }\n });\n this.pendingData = [];\n this.appended = true;\n }\n }\n // trigger handler right now\n this.tick();\n }\n };\n AudioStreamController.prototype.onFragParsed = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'audio' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n this.stats.tparsed = performance.now();\n this.state = base_stream_controller_1.State.PARSED;\n this._checkAppendedParsed();\n }\n };\n AudioStreamController.prototype.onBufferReset = function () {\n // reset reference to sourcebuffers\n this.mediaBuffer = this.videoBuffer = null;\n this.loadedmetadata = false;\n };\n AudioStreamController.prototype.onBufferCreated = function (data) {\n var audioTrack = data.tracks.audio;\n if (audioTrack) {\n this.mediaBuffer = audioTrack.buffer;\n this.loadedmetadata = true;\n }\n if (data.tracks.video) {\n this.videoBuffer = data.tracks.video.buffer;\n }\n };\n AudioStreamController.prototype.onBufferAppended = function (data) {\n if (data.parent === 'audio') {\n var state = this.state;\n if (state === base_stream_controller_1.State.PARSING || state === base_stream_controller_1.State.PARSED) {\n // check if all buffers have been appended\n this.pendingBuffering = (data.pending > 0);\n this._checkAppendedParsed();\n }\n }\n };\n AudioStreamController.prototype._checkAppendedParsed = function () {\n // trigger handler right now\n if (this.state === base_stream_controller_1.State.PARSED && (!this.appended || !this.pendingBuffering)) {\n var frag = this.fragCurrent, stats = this.stats, hls_2 = this.hls;\n if (frag) {\n this.fragPrevious = frag;\n stats.tbuffered = performance.now();\n hls_2.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: frag, id: 'audio' });\n var media = this.mediaBuffer ? this.mediaBuffer : this.media;\n logger_1.logger.log(\"audio buffered : \" + time_ranges_1.default.toString(media.buffered));\n if (this.audioSwitch && this.appended) {\n this.audioSwitch = false;\n hls_2.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: this.trackId });\n }\n this.state = base_stream_controller_1.State.IDLE;\n }\n this.tick();\n }\n };\n AudioStreamController.prototype.onError = function (data) {\n var frag = data.frag;\n // don't handle frag error not related to audio fragment\n if (frag && frag.type !== 'audio') {\n return;\n }\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n var frag_1 = data.frag;\n // don't handle frag error not related to audio fragment\n if (frag_1 && frag_1.type !== 'audio') {\n break;\n }\n if (!data.fatal) {\n var loadError = this.fragLoadError;\n if (loadError) {\n loadError++;\n }\n else {\n loadError = 1;\n }\n var config = this.config;\n if (loadError <= config.fragLoadingMaxRetry) {\n this.fragLoadError = loadError;\n // exponential backoff capped to config.fragLoadingMaxRetryTimeout\n var delay = Math.min(Math.pow(2, loadError - 1) * config.fragLoadingRetryDelay, config.fragLoadingMaxRetryTimeout);\n logger_1.logger.warn(\"AudioStreamController: frag loading failed, retry in \" + delay + \" ms\");\n this.retryDate = performance.now() + delay;\n // retry loading state\n this.state = base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY;\n }\n else {\n logger_1.logger.error(\"AudioStreamController: \" + data.details + \" reaches max retry, redispatch as fatal ...\");\n // switch error to fatal\n data.fatal = true;\n this.state = base_stream_controller_1.State.ERROR;\n }\n }\n break;\n case errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:\n case errors_1.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:\n case errors_1.ErrorDetails.KEY_LOAD_ERROR:\n case errors_1.ErrorDetails.KEY_LOAD_TIMEOUT:\n // when in ERROR state, don't switch back to IDLE state in case a non-fatal error is received\n if (this.state !== base_stream_controller_1.State.ERROR) {\n // if fatal error, stop processing, otherwise move to IDLE to retry loading\n this.state = data.fatal ? base_stream_controller_1.State.ERROR : base_stream_controller_1.State.IDLE;\n logger_1.logger.warn(\"AudioStreamController: \" + data.details + \" while loading frag, now switching to \" + this.state + \" state ...\");\n }\n break;\n case errors_1.ErrorDetails.BUFFER_FULL_ERROR:\n // if in appending state\n if (data.parent === 'audio' && (this.state === base_stream_controller_1.State.PARSING || this.state === base_stream_controller_1.State.PARSED)) {\n var media = this.mediaBuffer, currentTime = this.media.currentTime, mediaBuffered = media && buffer_helper_1.BufferHelper.isBuffered(media, currentTime) && buffer_helper_1.BufferHelper.isBuffered(media, currentTime + 0.5);\n // reduce max buf len if current position is buffered\n if (mediaBuffered) {\n var config = this.config;\n if (config.maxMaxBufferLength >= config.maxBufferLength) {\n // reduce max buffer length as it might be too high. we do this to avoid loop flushing ...\n config.maxMaxBufferLength /= 2;\n logger_1.logger.warn(\"AudioStreamController: reduce max buffer length to \" + config.maxMaxBufferLength + \"s\");\n }\n this.state = base_stream_controller_1.State.IDLE;\n }\n else {\n // current position is not buffered, but browser is still complaining about buffer full error\n // this happens on IE/Edge, refer to https://github.com/video-dev/hls.js/pull/708\n // in that case flush the whole audio buffer to recover\n logger_1.logger.warn('AudioStreamController: buffer full error also media.currentTime is not buffered, flush audio buffer');\n this.fragCurrent = null;\n // flush everything\n this.state = base_stream_controller_1.State.BUFFER_FLUSHING;\n this.hls.trigger(events_1.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: Number.POSITIVE_INFINITY, type: 'audio' });\n }\n }\n break;\n default:\n break;\n }\n };\n AudioStreamController.prototype.onBufferFlushed = function () {\n var _this = this;\n var pendingData = this.pendingData;\n if (pendingData && pendingData.length) {\n logger_1.logger.log('AudioStreamController: appending pending audio data after buffer flushed');\n pendingData.forEach(function (appendObj) {\n _this.hls.trigger(events_1.default.BUFFER_APPENDING, appendObj);\n });\n this.appended = true;\n this.pendingData = [];\n this.state = base_stream_controller_1.State.PARSED;\n }\n else {\n // move to IDLE once flush complete. this should trigger new fragment loading\n this.state = base_stream_controller_1.State.IDLE;\n // reset reference to frag\n this.fragPrevious = null;\n this.tick();\n }\n };\n return AudioStreamController;\n}(base_stream_controller_1.default));\nexports.default = AudioStreamController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/audio-track-controller.js\":\n/*!**************************************************!*\\\n !*** ./src/controller/audio-track-controller.js ***!\n \\**************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar task_loop_1 = __webpack_require__(/*! ../task-loop */ \"./src/task-loop.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\n/**\n * @class AudioTrackController\n * @implements {EventHandler}\n *\n * Handles main manifest and audio-track metadata loaded,\n * owns and exposes the selectable audio-tracks data-models.\n *\n * Exposes internal interface to select available audio-tracks.\n *\n * Handles errors on loading audio-track playlists. Manages fallback mechanism\n * with redundants tracks (group-IDs).\n *\n * Handles level-loading and group-ID switches for video (fallback on video levels),\n * and eventually adapts the audio-track group-ID to match.\n *\n * @fires AUDIO_TRACK_LOADING\n * @fires AUDIO_TRACK_SWITCHING\n * @fires AUDIO_TRACKS_UPDATED\n * @fires ERROR\n *\n */\nvar AudioTrackController = /** @class */ (function (_super) {\n __extends(AudioTrackController, _super);\n function AudioTrackController(hls) {\n var _this = _super.call(this, hls, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_PARSED, events_1.default.AUDIO_TRACK_LOADED, events_1.default.AUDIO_TRACK_SWITCHED, events_1.default.LEVEL_LOADED, events_1.default.ERROR) || this;\n /**\n * @private\n * Currently selected index in `tracks`\n * @member {number} trackId\n */\n _this._trackId = -1;\n /**\n * @private\n * If should select tracks according to default track attribute\n * @member {boolean} _selectDefaultTrack\n */\n _this._selectDefaultTrack = true;\n /**\n * @public\n * All tracks available\n * @member {AudioTrack[]}\n */\n _this.tracks = [];\n /**\n * @public\n * List of blacklisted audio track IDs (that have caused failure)\n * @member {number[]}\n */\n _this.trackIdBlacklist = Object.create(null);\n /**\n * @public\n * The currently running group ID for audio\n * (we grab this on manifest-parsed and new level-loaded)\n * @member {string}\n */\n _this.audioGroupId = null;\n return _this;\n }\n /**\n * Reset audio tracks on new manifest loading.\n */\n AudioTrackController.prototype.onManifestLoading = function () {\n this.tracks = [];\n this._trackId = -1;\n this._selectDefaultTrack = true;\n };\n /**\n * Store tracks data from manifest parsed data.\n *\n * Trigger AUDIO_TRACKS_UPDATED event.\n *\n * @param {*} data\n */\n AudioTrackController.prototype.onManifestParsed = function (data) {\n var tracks = this.tracks = data.audioTracks || [];\n this.hls.trigger(events_1.default.AUDIO_TRACKS_UPDATED, { audioTracks: tracks });\n };\n /**\n * Store track details of loaded track in our data-model.\n *\n * Set-up metadata update interval task for live-mode streams.\n *\n * @param {} data\n */\n AudioTrackController.prototype.onAudioTrackLoaded = function (data) {\n if (data.id >= this.tracks.length) {\n logger_1.logger.warn('Invalid audio track id:', data.id);\n return;\n }\n logger_1.logger.log(\"audioTrack \" + data.id + \" loaded\");\n this.tracks[data.id].details = data.details;\n // check if current playlist is a live playlist\n // and if we have already our reload interval setup\n if (data.details.live && !this.hasInterval()) {\n // if live playlist we will have to reload it periodically\n // set reload period to playlist target duration\n var updatePeriodMs = data.details.targetduration * 1000;\n this.setInterval(updatePeriodMs);\n }\n if (!data.details.live && this.hasInterval()) {\n // playlist is not live and timer is scheduled: cancel it\n this.clearInterval();\n }\n };\n /**\n * Update the internal group ID to any audio-track we may have set manually\n * or because of a failure-handling fallback.\n *\n * Quality-levels should update to that group ID in this case.\n *\n * @param {*} data\n */\n AudioTrackController.prototype.onAudioTrackSwitched = function (data) {\n var audioGroupId = this.tracks[data.id].groupId;\n if (audioGroupId && (this.audioGroupId !== audioGroupId)) {\n this.audioGroupId = audioGroupId;\n }\n };\n /**\n * When a level gets loaded, if it has redundant audioGroupIds (in the same ordinality as it's redundant URLs)\n * we are setting our audio-group ID internally to the one set, if it is different from the group ID currently set.\n *\n * If group-ID got update, we re-select the appropriate audio-track with this group-ID matching the currently\n * selected one (based on NAME property).\n *\n * @param {*} data\n */\n AudioTrackController.prototype.onLevelLoaded = function (data) {\n // FIXME: crashes because currentLevel is undefined\n // const levelInfo = this.hls.levels[this.hls.currentLevel];\n var levelInfo = this.hls.levels[data.level];\n if (!levelInfo.audioGroupIds) {\n return;\n }\n var audioGroupId = levelInfo.audioGroupIds[levelInfo.urlId];\n if (this.audioGroupId !== audioGroupId) {\n this.audioGroupId = audioGroupId;\n this._selectInitialAudioTrack();\n }\n };\n /**\n * Handle network errors loading audio track manifests\n * and also pausing on any netwok errors.\n *\n * @param {ErrorEventData} data\n */\n AudioTrackController.prototype.onError = function (data) {\n // Only handle network errors\n if (data.type !== errors_1.ErrorTypes.NETWORK_ERROR) {\n return;\n }\n // If fatal network error, cancel update task\n if (data.fatal) {\n this.clearInterval();\n }\n // If not an audio-track loading error don't handle further\n if (data.details !== errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR) {\n return;\n }\n logger_1.logger.warn('Network failure on audio-track id:', data.context.id);\n this._handleLoadError();\n };\n Object.defineProperty(AudioTrackController.prototype, \"audioTracks\", {\n /**\n * @type {AudioTrack[]} Audio-track list we own\n */\n get: function () {\n return this.tracks;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AudioTrackController.prototype, \"audioTrack\", {\n /**\n * @type {number} Index into audio-tracks list of currently selected track.\n */\n get: function () {\n return this._trackId;\n },\n /**\n * Select current track by index\n */\n set: function (newId) {\n this._setAudioTrack(newId);\n // If audio track is selected from API then don't choose from the manifest default track\n this._selectDefaultTrack = false;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @private\n * @param {number} newId\n */\n AudioTrackController.prototype._setAudioTrack = function (newId) {\n // noop on same audio track id as already set\n if (this._trackId === newId && this.tracks[this._trackId].details) {\n logger_1.logger.debug('Same id as current audio-track passed, and track details available -> no-op');\n return;\n }\n // check if level idx is valid\n if (newId < 0 || newId >= this.tracks.length) {\n logger_1.logger.warn('Invalid id passed to audio-track controller');\n return;\n }\n var audioTrack = this.tracks[newId];\n logger_1.logger.log(\"Now switching to audio-track index \" + newId);\n // stopping live reloading timer if any\n this.clearInterval();\n this._trackId = newId;\n var url = audioTrack.url, type = audioTrack.type, id = audioTrack.id;\n this.hls.trigger(events_1.default.AUDIO_TRACK_SWITCHING, { id: id, type: type, url: url });\n this._loadTrackDetailsIfNeeded(audioTrack);\n };\n /**\n * @override\n */\n AudioTrackController.prototype.doTick = function () {\n this._updateTrack(this._trackId);\n };\n /**\n * Select initial track\n * @private\n */\n AudioTrackController.prototype._selectInitialAudioTrack = function () {\n var _this = this;\n var tracks = this.tracks;\n if (!tracks.length) {\n return;\n }\n var currentAudioTrack = this.tracks[this._trackId];\n var name = null;\n if (currentAudioTrack) {\n name = currentAudioTrack.name;\n }\n // Pre-select default tracks if there are any\n if (this._selectDefaultTrack) {\n var defaultTracks = tracks.filter(function (track) { return track.default; });\n if (defaultTracks.length) {\n tracks = defaultTracks;\n }\n else {\n logger_1.logger.warn('No default audio tracks defined');\n }\n }\n var trackFound = false;\n var traverseTracks = function () {\n // Select track with right group ID\n tracks.forEach(function (track) {\n if (trackFound) {\n return;\n }\n // We need to match the (pre-)selected group ID\n // and the NAME of the current track.\n if ((!_this.audioGroupId || track.groupId === _this.audioGroupId) &&\n (!name || name === track.name)) {\n // If there was a previous track try to stay with the same `NAME`.\n // It should be unique across tracks of same group, and consistent through redundant track groups.\n _this._setAudioTrack(track.id);\n trackFound = true;\n }\n });\n };\n traverseTracks();\n if (!trackFound) {\n name = null;\n traverseTracks();\n }\n if (!trackFound) {\n logger_1.logger.error(\"No track found for running audio group-ID: \" + this.audioGroupId);\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,\n fatal: true\n });\n }\n };\n /**\n * @private\n * @param {AudioTrack} audioTrack\n * @returns {boolean}\n */\n AudioTrackController.prototype._needsTrackLoading = function (audioTrack) {\n var details = audioTrack.details, url = audioTrack.url;\n if (!details || details.live) {\n // check if we face an audio track embedded in main playlist (audio track without URI attribute)\n return !!url;\n }\n return false;\n };\n /**\n * @private\n * @param {AudioTrack} audioTrack\n */\n AudioTrackController.prototype._loadTrackDetailsIfNeeded = function (audioTrack) {\n if (this._needsTrackLoading(audioTrack)) {\n var url = audioTrack.url, id = audioTrack.id;\n // track not retrieved yet, or live playlist we need to (re)load it\n logger_1.logger.log(\"loading audio-track playlist for id: \" + id);\n this.hls.trigger(events_1.default.AUDIO_TRACK_LOADING, { url: url, id: id });\n }\n };\n /**\n * @private\n * @param {number} newId\n */\n AudioTrackController.prototype._updateTrack = function (newId) {\n // check if level idx is valid\n if (newId < 0 || newId >= this.tracks.length) {\n return;\n }\n // stopping live reloading timer if any\n this.clearInterval();\n this._trackId = newId;\n logger_1.logger.log(\"trying to update audio-track \" + newId);\n var audioTrack = this.tracks[newId];\n this._loadTrackDetailsIfNeeded(audioTrack);\n };\n /**\n * @private\n */\n AudioTrackController.prototype._handleLoadError = function () {\n // First, let's black list current track id\n this.trackIdBlacklist[this._trackId] = true;\n // Let's try to fall back on a functional audio-track with the same group ID\n var previousId = this._trackId;\n var _a = this.tracks[previousId], name = _a.name, language = _a.language, groupId = _a.groupId;\n logger_1.logger.warn(\"Loading failed on audio track id: \" + previousId + \", group-id: \" + groupId + \", name/language: \\\"\" + name + \"\\\" / \\\"\" + language + \"\\\"\");\n // Find a non-blacklisted track ID with the same NAME\n // At least a track that is not blacklisted, thus on another group-ID.\n var newId = previousId;\n for (var i = 0; i < this.tracks.length; i++) {\n if (this.trackIdBlacklist[i]) {\n continue;\n }\n var newTrack = this.tracks[i];\n if (newTrack.name === name) {\n newId = i;\n break;\n }\n }\n if (newId === previousId) {\n logger_1.logger.warn(\"No fallback audio-track found for name/language: \\\"\" + name + \"\\\" / \\\"\" + language + \"\\\"\");\n return;\n }\n logger_1.logger.log('Attempting audio-track fallback id:', newId, 'group-id:', this.tracks[newId].groupId);\n this._setAudioTrack(newId);\n };\n return AudioTrackController;\n}(task_loop_1.default));\nexports.default = AudioTrackController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/base-stream-controller.js\":\n/*!**************************************************!*\\\n !*** ./src/controller/base-stream-controller.js ***!\n \\**************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar task_loop_1 = __webpack_require__(/*! ../task-loop */ \"./src/task-loop.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nexports.State = {\n STOPPED: 'STOPPED',\n STARTING: 'STARTING',\n IDLE: 'IDLE',\n PAUSED: 'PAUSED',\n KEY_LOADING: 'KEY_LOADING',\n FRAG_LOADING: 'FRAG_LOADING',\n FRAG_LOADING_WAITING_RETRY: 'FRAG_LOADING_WAITING_RETRY',\n WAITING_TRACK: 'WAITING_TRACK',\n PARSING: 'PARSING',\n PARSED: 'PARSED',\n BUFFER_FLUSHING: 'BUFFER_FLUSHING',\n ENDED: 'ENDED',\n ERROR: 'ERROR',\n WAITING_INIT_PTS: 'WAITING_INIT_PTS',\n WAITING_LEVEL: 'WAITING_LEVEL'\n};\nvar BaseStreamController = /** @class */ (function (_super) {\n __extends(BaseStreamController, _super);\n function BaseStreamController() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n BaseStreamController.prototype.doTick = function () { };\n BaseStreamController.prototype._streamEnded = function (bufferInfo, levelDetails) {\n var _a = this, fragCurrent = _a.fragCurrent, fragmentTracker = _a.fragmentTracker;\n // we just got done loading the final fragment and there is no other buffered range after ...\n // rationale is that in case there are any buffered ranges after, it means that there are unbuffered portion in between\n // so we should not switch to ENDED in that case, to be able to buffer them\n // dont switch to ENDED if we need to backtrack last fragment\n if (!levelDetails.live && fragCurrent && !fragCurrent.backtracked && fragCurrent.sn === levelDetails.endSN && !bufferInfo.nextStart) {\n var fragState = fragmentTracker.getState(fragCurrent);\n return fragState === fragment_tracker_1.FragmentState.PARTIAL || fragState === fragment_tracker_1.FragmentState.OK;\n }\n return false;\n };\n BaseStreamController.prototype.onMediaSeeking = function () {\n var _a = this, config = _a.config, media = _a.media, mediaBuffer = _a.mediaBuffer, state = _a.state;\n var currentTime = media ? media.currentTime : null;\n var bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(mediaBuffer || media, currentTime, this.config.maxBufferHole);\n if (Number.isFinite(currentTime)) {\n logger_1.logger.log(\"media seeking to \" + currentTime.toFixed(3));\n }\n if (state === exports.State.FRAG_LOADING) {\n var fragCurrent = this.fragCurrent;\n // check if we are seeking to a unbuffered area AND if frag loading is in progress\n if (bufferInfo.len === 0 && fragCurrent) {\n var tolerance = config.maxFragLookUpTolerance;\n var fragStartOffset = fragCurrent.start - tolerance;\n var fragEndOffset = fragCurrent.start + fragCurrent.duration + tolerance;\n // check if we seek position will be out of currently loaded frag range : if out cancel frag load, if in, don't do anything\n if (currentTime < fragStartOffset || currentTime > fragEndOffset) {\n if (fragCurrent.loader) {\n logger_1.logger.log('seeking outside of buffer while fragment load in progress, cancel fragment load');\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n this.fragPrevious = null;\n // switch to IDLE state to load new fragment\n this.state = exports.State.IDLE;\n }\n else {\n logger_1.logger.log('seeking outside of buffer but within currently loaded fragment range');\n }\n }\n }\n else if (state === exports.State.ENDED) {\n // if seeking to unbuffered area, clean up fragPrevious\n if (bufferInfo.len === 0) {\n this.fragPrevious = null;\n this.fragCurrent = null;\n }\n // switch to IDLE state to check for potential new fragment\n this.state = exports.State.IDLE;\n }\n if (media) {\n this.lastCurrentTime = currentTime;\n }\n // in case seeking occurs although no media buffered, adjust startPosition and nextLoadPosition to seek target\n if (!this.loadedmetadata) {\n this.nextLoadPosition = this.startPosition = currentTime;\n }\n // tick to speed up processing\n this.tick();\n };\n BaseStreamController.prototype.onMediaEnded = function () {\n // reset startPosition and lastCurrentTime to restart playback @ stream beginning\n this.startPosition = this.lastCurrentTime = 0;\n };\n return BaseStreamController;\n}(task_loop_1.default));\nexports.default = BaseStreamController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/buffer-controller.js\":\n/*!*********************************************!*\\\n !*** ./src/controller/buffer-controller.js ***!\n \\*********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Buffer Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar mediasource_helper_1 = __webpack_require__(/*! ../utils/mediasource-helper */ \"./src/utils/mediasource-helper.js\");\nvar MediaSource = mediasource_helper_1.getMediaSource();\nvar BufferController = /** @class */ (function (_super) {\n __extends(BufferController, _super);\n function BufferController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHING, events_1.default.MEDIA_DETACHING, events_1.default.MANIFEST_PARSED, events_1.default.BUFFER_RESET, events_1.default.BUFFER_APPENDING, events_1.default.BUFFER_CODECS, events_1.default.BUFFER_EOS, events_1.default.BUFFER_FLUSHING, events_1.default.LEVEL_PTS_UPDATED, events_1.default.LEVEL_UPDATED) || this;\n // the value that we have set mediasource.duration to\n // (the actual duration may be tweaked slighly by the browser)\n _this._msDuration = null;\n // the value that we want to set mediaSource.duration to\n _this._levelDuration = null;\n // the target duration of the current media playlist\n _this._levelTargetDuration = 10;\n // current stream state: true - for live broadcast, false - for VoD content\n _this._live = null;\n // cache the self generated object url to detect hijack of video tag\n _this._objectUrl = null;\n // The number of BUFFER_CODEC events received before any sourceBuffers are created\n _this.bufferCodecEventsExpected = 0;\n // Source Buffer listeners\n _this.onsbue = _this.onSBUpdateEnd.bind(_this);\n _this.onsbe = _this.onSBUpdateError.bind(_this);\n _this.pendingTracks = {};\n _this.tracks = {};\n return _this;\n }\n BufferController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n BufferController.prototype.onLevelPtsUpdated = function (data) {\n var type = data.type;\n var audioTrack = this.tracks.audio;\n // Adjusting `SourceBuffer.timestampOffset` (desired point in the timeline where the next frames should be appended)\n // in Chrome browser when we detect MPEG audio container and time delta between level PTS and `SourceBuffer.timestampOffset`\n // is greater than 100ms (this is enough to handle seek for VOD or level change for LIVE videos). At the time of change we issue\n // `SourceBuffer.abort()` and adjusting `SourceBuffer.timestampOffset` if `SourceBuffer.updating` is false or awaiting `updateend`\n // event if SB is in updating state.\n // More info here: https://github.com/video-dev/hls.js/issues/332#issuecomment-257986486\n if (type === 'audio' && audioTrack && audioTrack.container === 'audio/mpeg') { // Chrome audio mp3 track\n var audioBuffer = this.sourceBuffer.audio;\n var delta = Math.abs(audioBuffer.timestampOffset - data.start);\n // adjust timestamp offset if time delta is greater than 100ms\n if (delta > 0.1) {\n var updating = audioBuffer.updating;\n try {\n audioBuffer.abort();\n }\n catch (err) {\n logger_1.logger.warn('can not abort audio buffer: ' + err);\n }\n if (!updating) {\n logger_1.logger.warn('change mpeg audio timestamp offset from ' + audioBuffer.timestampOffset + ' to ' + data.start);\n audioBuffer.timestampOffset = data.start;\n }\n else {\n this.audioTimestampOffset = data.start;\n }\n }\n }\n };\n BufferController.prototype.onManifestParsed = function (data) {\n // in case of alt audio 2 BUFFER_CODECS events will be triggered, one per stream controller\n // sourcebuffers will be created all at once when the expected nb of tracks will be reached\n // in case alt audio is not used, only one BUFFER_CODEC event will be fired from main stream controller\n // it will contain the expected nb of source buffers, no need to compute it\n this.bufferCodecEventsExpected = data.altAudio ? 2 : 1;\n logger_1.logger.log(this.bufferCodecEventsExpected + \" bufferCodec event(s) expected\");\n };\n BufferController.prototype.onMediaAttaching = function (data) {\n var media = this.media = data.media;\n if (media) {\n // setup the media source\n var ms = this.mediaSource = new MediaSource();\n // Media Source listeners\n this.onmso = this.onMediaSourceOpen.bind(this);\n this.onmse = this.onMediaSourceEnded.bind(this);\n this.onmsc = this.onMediaSourceClose.bind(this);\n ms.addEventListener('sourceopen', this.onmso);\n ms.addEventListener('sourceended', this.onmse);\n ms.addEventListener('sourceclose', this.onmsc);\n // link video and media Source\n media.src = window.URL.createObjectURL(ms);\n // cache the locally generated object url\n this._objectUrl = media.src;\n }\n };\n BufferController.prototype.onMediaDetaching = function () {\n logger_1.logger.log('media source detaching');\n var ms = this.mediaSource;\n if (ms) {\n if (ms.readyState === 'open') {\n try {\n // endOfStream could trigger exception if any sourcebuffer is in updating state\n // we don't really care about checking sourcebuffer state here,\n // as we are anyway detaching the MediaSource\n // let's just avoid this exception to propagate\n ms.endOfStream();\n }\n catch (err) {\n logger_1.logger.warn(\"onMediaDetaching:\" + err.message + \" while calling endOfStream\");\n }\n }\n ms.removeEventListener('sourceopen', this.onmso);\n ms.removeEventListener('sourceended', this.onmse);\n ms.removeEventListener('sourceclose', this.onmsc);\n // Detach properly the MediaSource from the HTMLMediaElement as\n // suggested in https://github.com/w3c/media-source/issues/53.\n if (this.media) {\n window.URL.revokeObjectURL(this._objectUrl);\n // clean up video tag src only if it's our own url. some external libraries might\n // hijack the video tag and change its 'src' without destroying the Hls instance first\n if (this.media.src === this._objectUrl) {\n this.media.removeAttribute('src');\n this.media.load();\n }\n else {\n logger_1.logger.warn('media.src was changed by a third party - skip cleanup');\n }\n }\n this.mediaSource = null;\n this.media = null;\n this._objectUrl = null;\n this.pendingTracks = {};\n this.tracks = {};\n this.sourceBuffer = {};\n this.flushRange = [];\n this.segments = [];\n this.appended = 0;\n }\n this.onmso = this.onmse = this.onmsc = null;\n this.hls.trigger(events_1.default.MEDIA_DETACHED);\n };\n BufferController.prototype.onMediaSourceOpen = function () {\n logger_1.logger.log('media source opened');\n this.hls.trigger(events_1.default.MEDIA_ATTACHED, { media: this.media });\n var mediaSource = this.mediaSource;\n if (mediaSource) {\n // once received, don't listen anymore to sourceopen event\n mediaSource.removeEventListener('sourceopen', this.onmso);\n }\n this.checkPendingTracks();\n };\n BufferController.prototype.checkPendingTracks = function () {\n var _a = this, bufferCodecEventsExpected = _a.bufferCodecEventsExpected, pendingTracks = _a.pendingTracks;\n // Check if we've received all of the expected bufferCodec events. When none remain, create all the sourceBuffers at once.\n // This is important because the MSE spec allows implementations to throw QuotaExceededErrors if creating new sourceBuffers after\n // data has been appended to existing ones.\n // 2 tracks is the max (one for audio, one for video). If we've reach this max go ahead and create the buffers.\n var pendingTracksCount = Object.keys(pendingTracks).length;\n if ((pendingTracksCount && !bufferCodecEventsExpected) || pendingTracksCount === 2) {\n // ok, let's create them now !\n this.createSourceBuffers(pendingTracks);\n this.pendingTracks = {};\n // append any pending segments now !\n this.doAppending();\n }\n };\n BufferController.prototype.onMediaSourceClose = function () {\n logger_1.logger.log('media source closed');\n };\n BufferController.prototype.onMediaSourceEnded = function () {\n logger_1.logger.log('media source ended');\n };\n BufferController.prototype.onSBUpdateEnd = function () {\n // update timestampOffset\n if (this.audioTimestampOffset) {\n var audioBuffer = this.sourceBuffer.audio;\n logger_1.logger.warn(\"change mpeg audio timestamp offset from \" + audioBuffer.timestampOffset + \" to \" + this.audioTimestampOffset);\n audioBuffer.timestampOffset = this.audioTimestampOffset;\n delete this.audioTimestampOffset;\n }\n if (this._needsFlush) {\n this.doFlush();\n }\n if (this._needsEos) {\n this.checkEos();\n }\n this.appending = false;\n var parent = this.parent;\n // count nb of pending segments waiting for appending on this sourcebuffer\n var pending = this.segments.reduce(function (counter, segment) { return (segment.parent === parent) ? counter + 1 : counter; }, 0);\n // this.sourceBuffer is better to use than media.buffered as it is closer to the PTS data from the fragments\n var timeRanges = {};\n var sourceBuffer = this.sourceBuffer;\n for (var streamType in sourceBuffer) {\n timeRanges[streamType] = sourceBuffer[streamType].buffered;\n }\n this.hls.trigger(events_1.default.BUFFER_APPENDED, { parent: parent, pending: pending, timeRanges: timeRanges });\n // don't append in flushing mode\n if (!this._needsFlush) {\n this.doAppending();\n }\n this.updateMediaElementDuration();\n // appending goes first\n if (pending === 0) {\n this.flushLiveBackBuffer();\n }\n };\n BufferController.prototype.onSBUpdateError = function (event) {\n logger_1.logger.error('sourceBuffer error:', event);\n // according to http://www.w3.org/TR/media-source/#sourcebuffer-append-error\n // this error might not always be fatal (it is fatal if decode error is set, in that case\n // it will be followed by a mediaElement error ...)\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.BUFFER_APPENDING_ERROR, fatal: false });\n // we don't need to do more than that, as accordin to the spec, updateend will be fired just after\n };\n BufferController.prototype.onBufferReset = function () {\n var sourceBuffer = this.sourceBuffer;\n for (var type in sourceBuffer) {\n var sb = sourceBuffer[type];\n try {\n this.mediaSource.removeSourceBuffer(sb);\n sb.removeEventListener('updateend', this.onsbue);\n sb.removeEventListener('error', this.onsbe);\n }\n catch (err) {\n }\n }\n this.sourceBuffer = {};\n this.flushRange = [];\n this.segments = [];\n this.appended = 0;\n };\n BufferController.prototype.onBufferCodecs = function (tracks) {\n var _this = this;\n // if source buffer(s) not created yet, appended buffer tracks in this.pendingTracks\n // if sourcebuffers already created, do nothing ...\n if (Object.keys(this.sourceBuffer).length) {\n return;\n }\n Object.keys(tracks).forEach(function (trackName) {\n _this.pendingTracks[trackName] = tracks[trackName];\n });\n var mediaSource = this.mediaSource;\n this.bufferCodecEventsExpected = Math.max(this.bufferCodecEventsExpected - 1, 0);\n if (mediaSource && mediaSource.readyState === 'open') {\n this.checkPendingTracks();\n }\n };\n BufferController.prototype.createSourceBuffers = function (tracks) {\n var sourceBuffer = this.sourceBuffer, mediaSource = this.mediaSource;\n for (var trackName in tracks) {\n if (!sourceBuffer[trackName]) {\n var track = tracks[trackName];\n // use levelCodec as first priority\n var codec = track.levelCodec || track.codec;\n var mimeType = track.container + \";codecs=\" + codec;\n logger_1.logger.log(\"creating sourceBuffer(\" + mimeType + \")\");\n try {\n var sb = sourceBuffer[trackName] = mediaSource.addSourceBuffer(mimeType);\n sb.addEventListener('updateend', this.onsbue);\n sb.addEventListener('error', this.onsbe);\n this.tracks[trackName] = { codec: codec, container: track.container };\n track.buffer = sb;\n }\n catch (err) {\n logger_1.logger.error(\"error while trying to add sourceBuffer:\" + err.message);\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.BUFFER_ADD_CODEC_ERROR, fatal: false, err: err, mimeType: mimeType });\n }\n }\n }\n this.hls.trigger(events_1.default.BUFFER_CREATED, { tracks: tracks });\n };\n BufferController.prototype.onBufferAppending = function (data) {\n if (!this._needsFlush) {\n if (!this.segments) {\n this.segments = [data];\n }\n else {\n this.segments.push(data);\n }\n this.doAppending();\n }\n };\n BufferController.prototype.onBufferAppendFail = function (data) {\n logger_1.logger.error('sourceBuffer error:', data.event);\n // according to http://www.w3.org/TR/media-source/#sourcebuffer-append-error\n // this error might not always be fatal (it is fatal if decode error is set, in that case\n // it will be followed by a mediaElement error ...)\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.BUFFER_APPENDING_ERROR, fatal: false });\n };\n // on BUFFER_EOS mark matching sourcebuffer(s) as ended and trigger checkEos()\n BufferController.prototype.onBufferEos = function (data) {\n var sb = this.sourceBuffer;\n var dataType = data.type;\n for (var type in sb) {\n if (!dataType || type === dataType) {\n if (!sb[type].ended) {\n sb[type].ended = true;\n logger_1.logger.log(type + \" sourceBuffer now EOS\");\n }\n }\n }\n this.checkEos();\n };\n // if all source buffers are marked as ended, signal endOfStream() to MediaSource.\n BufferController.prototype.checkEos = function () {\n var sb = this.sourceBuffer, mediaSource = this.mediaSource;\n if (!mediaSource || mediaSource.readyState !== 'open') {\n this._needsEos = false;\n return;\n }\n for (var type in sb) {\n var sbobj = sb[type];\n if (!sbobj.ended) {\n return;\n }\n if (sbobj.updating) {\n this._needsEos = true;\n return;\n }\n }\n logger_1.logger.log('all media data are available, signal endOfStream() to MediaSource and stop loading fragment');\n // Notify the media element that it now has all of the media data\n try {\n mediaSource.endOfStream();\n }\n catch (e) {\n logger_1.logger.warn('exception while calling mediaSource.endOfStream()');\n }\n this._needsEos = false;\n };\n BufferController.prototype.onBufferFlushing = function (data) {\n this.flushRange.push({ start: data.startOffset, end: data.endOffset, type: data.type });\n // attempt flush immediately\n this.flushBufferCounter = 0;\n this.doFlush();\n };\n BufferController.prototype.flushLiveBackBuffer = function () {\n // clear back buffer for live only\n if (!this._live) {\n return;\n }\n var liveBackBufferLength = this.hls.config.liveBackBufferLength;\n if (!isFinite(liveBackBufferLength) || liveBackBufferLength < 0) {\n return;\n }\n var currentTime = this.media.currentTime;\n var sourceBuffer = this.sourceBuffer;\n var bufferTypes = Object.keys(sourceBuffer);\n var targetBackBufferPosition = currentTime - Math.max(liveBackBufferLength, this._levelTargetDuration);\n for (var index = bufferTypes.length - 1; index >= 0; index--) {\n var bufferType = bufferTypes[index], buffered = sourceBuffer[bufferType].buffered;\n // when target buffer start exceeds actual buffer start\n if (buffered.length > 0 && targetBackBufferPosition > buffered.start(0)) {\n // remove buffer up until current time minus minimum back buffer length (removing buffer too close to current\n // time will lead to playback freezing)\n // credits for level target duration - https://github.com/videojs/http-streaming/blob/3132933b6aa99ddefab29c10447624efd6fd6e52/src/segment-loader.js#L91\n this.removeBufferRange(bufferType, sourceBuffer[bufferType], 0, targetBackBufferPosition);\n }\n }\n };\n BufferController.prototype.onLevelUpdated = function (_a) {\n var details = _a.details;\n if (details.fragments.length > 0) {\n this._levelDuration = details.totalduration + details.fragments[0].start;\n this._levelTargetDuration = details.averagetargetduration || details.targetduration || 10;\n this._live = details.live;\n this.updateMediaElementDuration();\n }\n };\n /**\n * Update Media Source duration to current level duration or override to Infinity if configuration parameter\n * 'liveDurationInfinity` is set to `true`\n * More details: https://github.com/video-dev/hls.js/issues/355\n */\n BufferController.prototype.updateMediaElementDuration = function () {\n var config = this.hls.config;\n var duration;\n if (this._levelDuration === null ||\n !this.media ||\n !this.mediaSource ||\n !this.sourceBuffer ||\n this.media.readyState === 0 ||\n this.mediaSource.readyState !== 'open') {\n return;\n }\n for (var type in this.sourceBuffer) {\n if (this.sourceBuffer[type].updating === true) {\n // can't set duration whilst a buffer is updating\n return;\n }\n }\n duration = this.media.duration;\n // initialise to the value that the media source is reporting\n if (this._msDuration === null) {\n this._msDuration = this.mediaSource.duration;\n }\n if (this._live === true && config.liveDurationInfinity === true) {\n // Override duration to Infinity\n logger_1.logger.log('Media Source duration is set to Infinity');\n this._msDuration = this.mediaSource.duration = Infinity;\n }\n else if ((this._levelDuration > this._msDuration && this._levelDuration > duration) || !Number.isFinite(duration)) {\n // levelDuration was the last value we set.\n // not using mediaSource.duration as the browser may tweak this value\n // only update Media Source duration if its value increase, this is to avoid\n // flushing already buffered portion when switching between quality level\n logger_1.logger.log(\"Updating Media Source duration to \" + this._levelDuration.toFixed(3));\n this._msDuration = this.mediaSource.duration = this._levelDuration;\n }\n };\n BufferController.prototype.doFlush = function () {\n // loop through all buffer ranges to flush\n while (this.flushRange.length) {\n var range = this.flushRange[0];\n // flushBuffer will abort any buffer append in progress and flush Audio/Video Buffer\n if (this.flushBuffer(range.start, range.end, range.type)) {\n // range flushed, remove from flush array\n this.flushRange.shift();\n this.flushBufferCounter = 0;\n }\n else {\n this._needsFlush = true;\n // avoid looping, wait for SB update end to retrigger a flush\n return;\n }\n }\n if (this.flushRange.length === 0) {\n // everything flushed\n this._needsFlush = false;\n // let's recompute this.appended, which is used to avoid flush looping\n var appended = 0;\n var sourceBuffer = this.sourceBuffer;\n try {\n for (var type in sourceBuffer) {\n appended += sourceBuffer[type].buffered.length;\n }\n }\n catch (error) {\n // error could be thrown while accessing buffered, in case sourcebuffer has already been removed from MediaSource\n // this is harmess at this stage, catch this to avoid reporting an internal exception\n logger_1.logger.error('error while accessing sourceBuffer.buffered');\n }\n this.appended = appended;\n this.hls.trigger(events_1.default.BUFFER_FLUSHED);\n }\n };\n BufferController.prototype.doAppending = function () {\n var _a = this, hls = _a.hls, segments = _a.segments, sourceBuffer = _a.sourceBuffer;\n if (Object.keys(sourceBuffer).length) {\n if (this.media.error) {\n this.segments = [];\n logger_1.logger.error('trying to append although a media error occured, flush segment and abort');\n return;\n }\n if (this.appending) {\n // logger.log(`sb appending in progress`);\n return;\n }\n if (segments && segments.length) {\n var segment = segments.shift();\n try {\n var type = segment.type, sb = sourceBuffer[type];\n if (sb) {\n if (!sb.updating) {\n // reset sourceBuffer ended flag before appending segment\n sb.ended = false;\n // logger.log(`appending ${segment.content} ${type} SB, size:${segment.data.length}, ${segment.parent}`);\n this.parent = segment.parent;\n sb.appendBuffer(segment.data);\n this.appendError = 0;\n this.appended++;\n this.appending = true;\n }\n else {\n segments.unshift(segment);\n }\n }\n else {\n // in case we don't have any source buffer matching with this segment type,\n // it means that Mediasource fails to create sourcebuffer\n // discard this segment, and trigger update end\n this.onSBUpdateEnd();\n }\n }\n catch (err) {\n // in case any error occured while appending, put back segment in segments table\n logger_1.logger.error(\"error while trying to append buffer:\" + err.message);\n segments.unshift(segment);\n var event_1 = { type: errors_1.ErrorTypes.MEDIA_ERROR, parent: segment.parent };\n if (err.code !== 22) {\n if (this.appendError) {\n this.appendError++;\n }\n else {\n this.appendError = 1;\n }\n event_1.details = errors_1.ErrorDetails.BUFFER_APPEND_ERROR;\n /* with UHD content, we could get loop of quota exceeded error until\n browser is able to evict some data from sourcebuffer. retrying help recovering this\n */\n if (this.appendError > hls.config.appendErrorMaxRetry) {\n logger_1.logger.log(\"fail \" + hls.config.appendErrorMaxRetry + \" times to append segment in sourceBuffer\");\n this.segments = [];\n event_1.fatal = true;\n hls.trigger(events_1.default.ERROR, event_1);\n }\n else {\n event_1.fatal = false;\n hls.trigger(events_1.default.ERROR, event_1);\n }\n }\n else {\n // QuotaExceededError: http://www.w3.org/TR/html5/infrastructure.html#quotaexceedederror\n // let's stop appending any segments, and report BUFFER_FULL_ERROR error\n this.segments = [];\n event_1.details = errors_1.ErrorDetails.BUFFER_FULL_ERROR;\n event_1.fatal = false;\n hls.trigger(events_1.default.ERROR, event_1);\n }\n }\n }\n }\n };\n /*\n flush specified buffered range,\n return true once range has been flushed.\n as sourceBuffer.remove() is asynchronous, flushBuffer will be retriggered on sourceBuffer update end\n */\n BufferController.prototype.flushBuffer = function (startOffset, endOffset, typeIn) {\n var sb;\n var sourceBuffer = this.sourceBuffer;\n if (Object.keys(sourceBuffer).length) {\n logger_1.logger.log(\"flushBuffer,pos/start/end: \" + this.media.currentTime.toFixed(3) + \"/\" + startOffset + \"/\" + endOffset);\n // safeguard to avoid infinite looping : don't try to flush more than the nb of appended segments\n if (this.flushBufferCounter < this.appended) {\n for (var type in sourceBuffer) {\n // check if sourcebuffer type is defined (typeIn): if yes, let's only flush this one\n // if no, let's flush all sourcebuffers\n if (typeIn && type !== typeIn) {\n continue;\n }\n sb = sourceBuffer[type];\n // we are going to flush buffer, mark source buffer as 'not ended'\n sb.ended = false;\n if (!sb.updating) {\n if (this.removeBufferRange(type, sb, startOffset, endOffset)) {\n this.flushBufferCounter++;\n return false;\n }\n }\n else {\n logger_1.logger.warn('cannot flush, sb updating in progress');\n return false;\n }\n }\n }\n else {\n logger_1.logger.warn('abort flushing too many retries');\n }\n logger_1.logger.log('buffer flushed');\n }\n // everything flushed !\n return true;\n };\n /**\n * Removes first buffered range from provided source buffer that lies within given start and end offsets.\n *\n * @param type Type of the source buffer, logging purposes only.\n * @param sb Target SourceBuffer instance.\n * @param startOffset\n * @param endOffset\n *\n * @returns {boolean} True when source buffer remove requested.\n */\n BufferController.prototype.removeBufferRange = function (type, sb, startOffset, endOffset) {\n try {\n for (var i = 0; i < sb.buffered.length; i++) {\n var bufStart = sb.buffered.start(i);\n var bufEnd = sb.buffered.end(i);\n var removeStart = Math.max(bufStart, startOffset);\n var removeEnd = Math.min(bufEnd, endOffset);\n /* sometimes sourcebuffer.remove() does not flush\n the exact expected time range.\n to avoid rounding issues/infinite loop,\n only flush buffer range of length greater than 500ms.\n */\n if (Math.min(removeEnd, bufEnd) - removeStart > 0.5) {\n logger_1.logger.log(\"sb remove \" + type + \" [\" + removeStart + \",\" + removeEnd + \"], of [\" + bufStart + \",\" + bufEnd + \"], pos:\" + this.media.currentTime);\n sb.remove(removeStart, removeEnd);\n return true;\n }\n }\n }\n catch (error) {\n logger_1.logger.warn('removeBufferRange failed', error);\n }\n return false;\n };\n return BufferController;\n}(event_handler_1.default));\nexports.default = BufferController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/cap-level-controller.js\":\n/*!************************************************!*\\\n !*** ./src/controller/cap-level-controller.js ***!\n \\************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * cap stream level to media size dimension controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar CapLevelController = /** @class */ (function (_super) {\n __extends(CapLevelController, _super);\n function CapLevelController(hls) {\n var _this = _super.call(this, hls, events_1.default.FPS_DROP_LEVEL_CAPPING, events_1.default.MEDIA_ATTACHING, events_1.default.MANIFEST_PARSED, events_1.default.BUFFER_CODECS, events_1.default.MEDIA_DETACHING) || this;\n _this.autoLevelCapping = Number.POSITIVE_INFINITY;\n _this.firstLevel = null;\n _this.levels = [];\n _this.media = null;\n _this.restrictedLevels = [];\n _this.timer = null;\n return _this;\n }\n CapLevelController.prototype.destroy = function () {\n if (this.hls.config.capLevelToPlayerSize) {\n this.media = null;\n this._stopCapping();\n }\n };\n CapLevelController.prototype.onFpsDropLevelCapping = function (data) {\n // Don't add a restricted level more than once\n if (CapLevelController.isLevelAllowed(data.droppedLevel, this.restrictedLevels)) {\n this.restrictedLevels.push(data.droppedLevel);\n }\n };\n CapLevelController.prototype.onMediaAttaching = function (data) {\n this.media = data.media instanceof window.HTMLVideoElement ? data.media : null;\n };\n CapLevelController.prototype.onManifestParsed = function (data) {\n var hls = this.hls;\n this.restrictedLevels = [];\n this.levels = data.levels;\n this.firstLevel = data.firstLevel;\n if (hls.config.capLevelToPlayerSize && data.video) {\n // Start capping immediately if the manifest has signaled video codecs\n this._startCapping();\n }\n };\n // Only activate capping when playing a video stream; otherwise, multi-bitrate audio-only streams will be restricted\n // to the first level\n CapLevelController.prototype.onBufferCodecs = function (data) {\n var hls = this.hls;\n if (hls.config.capLevelToPlayerSize && data.video) {\n // If the manifest did not signal a video codec capping has been deferred until we're certain video is present\n this._startCapping();\n }\n };\n CapLevelController.prototype.onLevelsUpdated = function (data) {\n this.levels = data.levels;\n };\n CapLevelController.prototype.onMediaDetaching = function () {\n this._stopCapping();\n };\n CapLevelController.prototype.detectPlayerSize = function () {\n if (this.media) {\n var levelsLength = this.levels ? this.levels.length : 0;\n if (levelsLength) {\n var hls_1 = this.hls;\n hls_1.autoLevelCapping = this.getMaxLevel(levelsLength - 1);\n if (hls_1.autoLevelCapping > this.autoLevelCapping) {\n // if auto level capping has a higher value for the previous one, flush the buffer using nextLevelSwitch\n // usually happen when the user go to the fullscreen mode.\n hls_1.streamController.nextLevelSwitch();\n }\n this.autoLevelCapping = hls_1.autoLevelCapping;\n }\n }\n };\n /*\n * returns level should be the one with the dimensions equal or greater than the media (player) dimensions (so the video will be downscaled)\n */\n CapLevelController.prototype.getMaxLevel = function (capLevelIndex) {\n var _this = this;\n if (!this.levels) {\n return -1;\n }\n var validLevels = this.levels.filter(function (level, index) {\n return CapLevelController.isLevelAllowed(index, _this.restrictedLevels) && index <= capLevelIndex;\n });\n return CapLevelController.getMaxLevelByMediaSize(validLevels, this.mediaWidth, this.mediaHeight);\n };\n CapLevelController.prototype._startCapping = function () {\n if (this.timer) {\n // Don't reset capping if started twice; this can happen if the manifest signals a video codec\n return;\n }\n this.autoLevelCapping = Number.POSITIVE_INFINITY;\n this.hls.firstLevel = this.getMaxLevel(this.firstLevel);\n clearInterval(this.timer);\n this.timer = setInterval(this.detectPlayerSize.bind(this), 1000);\n this.detectPlayerSize();\n };\n CapLevelController.prototype._stopCapping = function () {\n this.restrictedLevels = [];\n this.firstLevel = null;\n this.autoLevelCapping = Number.POSITIVE_INFINITY;\n if (this.timer) {\n this.timer = clearInterval(this.timer);\n this.timer = null;\n }\n };\n Object.defineProperty(CapLevelController.prototype, \"mediaWidth\", {\n get: function () {\n var width;\n var media = this.media;\n if (media) {\n width = media.width || media.clientWidth || media.offsetWidth;\n width *= CapLevelController.contentScaleFactor;\n }\n return width;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CapLevelController.prototype, \"mediaHeight\", {\n get: function () {\n var height;\n var media = this.media;\n if (media) {\n height = media.height || media.clientHeight || media.offsetHeight;\n height *= CapLevelController.contentScaleFactor;\n }\n return height;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CapLevelController, \"contentScaleFactor\", {\n get: function () {\n var pixelRatio = 1;\n try {\n pixelRatio = window.devicePixelRatio;\n }\n catch (e) { }\n return pixelRatio;\n },\n enumerable: true,\n configurable: true\n });\n CapLevelController.isLevelAllowed = function (level, restrictedLevels) {\n if (restrictedLevels === void 0) { restrictedLevels = []; }\n return restrictedLevels.indexOf(level) === -1;\n };\n CapLevelController.getMaxLevelByMediaSize = function (levels, width, height) {\n if (!levels || (levels && !levels.length)) {\n return -1;\n }\n // Levels can have the same dimensions but differing bandwidths - since levels are ordered, we can look to the next\n // to determine whether we've chosen the greatest bandwidth for the media's dimensions\n var atGreatestBandiwdth = function (curLevel, nextLevel) {\n if (!nextLevel) {\n return true;\n }\n return curLevel.width !== nextLevel.width || curLevel.height !== nextLevel.height;\n };\n // If we run through the loop without breaking, the media's dimensions are greater than every level, so default to\n // the max level\n var maxLevelIndex = levels.length - 1;\n for (var i = 0; i < levels.length; i += 1) {\n var level = levels[i];\n if ((level.width >= width || level.height >= height) && atGreatestBandiwdth(level, levels[i + 1])) {\n maxLevelIndex = i;\n break;\n }\n }\n return maxLevelIndex;\n };\n return CapLevelController;\n}(event_handler_1.default));\nexports.default = CapLevelController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/eme-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/eme-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * @author Stephan Hesse <disparat@gmail.com> | <tchakabam@gmail.com>\n *\n * DRM support for Hls.js\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar XMLHttpRequest = window.XMLHttpRequest;\nvar MAX_LICENSE_REQUEST_FAILURES = 3;\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMediaKeySystemAccess\n */\nvar KeySystems = {\n WIDEVINE: 'com.widevine.alpha',\n PLAYREADY: 'com.microsoft.playready'\n};\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemConfiguration\n * @param {Array<string>} audioCodecs List of required audio codecs to support\n * @param {Array<string>} videoCodecs List of required video codecs to support\n * @param {object} drmSystemOptions Optional parameters/requirements for the key-system\n * @returns {Array<MediaSystemConfiguration>} An array of supported configurations\n */\nvar createWidevineMediaKeySystemConfigurations = function (audioCodecs, videoCodecs, drmSystemOptions) {\n var baseConfig = {\n // initDataTypes: ['keyids', 'mp4'],\n // label: \"\",\n // persistentState: \"not-allowed\", // or \"required\" ?\n // distinctiveIdentifier: \"not-allowed\", // or \"required\" ?\n // sessionTypes: ['temporary'],\n videoCapabilities: [\n // { contentType: 'video/mp4; codecs=\"avc1.42E01E\"' }\n ]\n };\n videoCodecs.forEach(function (codec) {\n baseConfig.videoCapabilities.push({\n contentType: \"video/mp4; codecs=\\\"\" + codec + \"\\\"\"\n });\n });\n return [\n baseConfig\n ];\n};\n/**\n * The idea here is to handle key-system (and their respective platforms) specific configuration differences\n * in order to work with the local requestMediaKeySystemAccess method.\n *\n * We can also rule-out platform-related key-system support at this point by throwing an error or returning null.\n *\n * @param {string} keySystem Identifier for the key-system, see `KeySystems` enum\n * @param {Array<string>} audioCodecs List of required audio codecs to support\n * @param {Array<string>} videoCodecs List of required video codecs to support\n * @returns {Array<MediaSystemConfiguration> | null} A non-empty Array of MediaKeySystemConfiguration objects or `null`\n */\nvar getSupportedMediaKeySystemConfigurations = function (keySystem, audioCodecs, videoCodecs) {\n switch (keySystem) {\n case KeySystems.WIDEVINE:\n return createWidevineMediaKeySystemConfigurations(audioCodecs, videoCodecs);\n default:\n throw Error('Unknown key-system: ' + keySystem);\n }\n};\n/**\n * Controller to deal with encrypted media extensions (EME)\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Encrypted_Media_Extensions_API\n *\n * @class\n * @constructor\n */\nvar EMEController = /** @class */ (function (_super) {\n __extends(EMEController, _super);\n /**\n * @constructs\n * @param {Hls} hls Our Hls.js instance\n */\n function EMEController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MANIFEST_PARSED) || this;\n _this._widevineLicenseUrl = hls.config.widevineLicenseUrl;\n _this._licenseXhrSetup = hls.config.licenseXhrSetup;\n _this._emeEnabled = hls.config.emeEnabled;\n _this._requestMediaKeySystemAccess = hls.config.requestMediaKeySystemAccessFunc;\n _this._mediaKeysList = [];\n _this._media = null;\n _this._hasSetMediaKeys = false;\n _this._isMediaEncrypted = false;\n _this._requestLicenseFailureCount = 0;\n return _this;\n }\n /**\n *\n * @param {string} keySystem Identifier for the key-system, see `KeySystems` enum\n * @returns {string} License server URL for key-system (if any configured, otherwise causes error)\n */\n EMEController.prototype.getLicenseServerUrl = function (keySystem) {\n var url;\n switch (keySystem) {\n case KeySystems.WIDEVINE:\n url = this._widevineLicenseUrl;\n break;\n default:\n url = null;\n break;\n }\n if (!url) {\n logger_1.logger.error(\"No license server URL configured for key-system \\\"\" + keySystem + \"\\\"\");\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,\n fatal: true\n });\n }\n return url;\n };\n /**\n * Requests access object and adds it to our list upon success\n * @private\n * @param {string} keySystem System ID (see `KeySystems`)\n * @param {Array<string>} audioCodecs List of required audio codecs to support\n * @param {Array<string>} videoCodecs List of required video codecs to support\n */\n EMEController.prototype._attemptKeySystemAccess = function (keySystem, audioCodecs, videoCodecs) {\n // TODO: add other DRM \"options\"\n var _this = this;\n var mediaKeySystemConfigs = getSupportedMediaKeySystemConfigurations(keySystem, audioCodecs, videoCodecs);\n if (!mediaKeySystemConfigs) {\n logger_1.logger.warn('Can not create config for key-system (maybe because platform is not supported):', keySystem);\n return;\n }\n logger_1.logger.log('Requesting encrypted media key-system access');\n // expecting interface like window.navigator.requestMediaKeySystemAccess\n this.requestMediaKeySystemAccess(keySystem, mediaKeySystemConfigs)\n .then(function (mediaKeySystemAccess) {\n _this._onMediaKeySystemAccessObtained(keySystem, mediaKeySystemAccess);\n })\n .catch(function (err) {\n logger_1.logger.error(\"Failed to obtain key-system \\\"\" + keySystem + \"\\\" access:\", err);\n });\n };\n Object.defineProperty(EMEController.prototype, \"requestMediaKeySystemAccess\", {\n get: function () {\n if (!this._requestMediaKeySystemAccess) {\n throw new Error('No requestMediaKeySystemAccess function configured');\n }\n return this._requestMediaKeySystemAccess;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Handles obtaining access to a key-system\n *\n * @param {string} keySystem\n * @param {MediaKeySystemAccess} mediaKeySystemAccess https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess\n */\n EMEController.prototype._onMediaKeySystemAccessObtained = function (keySystem, mediaKeySystemAccess) {\n var _this = this;\n logger_1.logger.log(\"Access for key-system \\\"\" + keySystem + \"\\\" obtained\");\n var mediaKeysListItem = {\n mediaKeys: null,\n mediaKeysSession: null,\n mediaKeysSessionInitialized: false,\n mediaKeySystemAccess: mediaKeySystemAccess,\n mediaKeySystemDomain: keySystem\n };\n this._mediaKeysList.push(mediaKeysListItem);\n mediaKeySystemAccess.createMediaKeys()\n .then(function (mediaKeys) {\n mediaKeysListItem.mediaKeys = mediaKeys;\n logger_1.logger.log(\"Media-keys created for key-system \\\"\" + keySystem + \"\\\"\");\n _this._onMediaKeysCreated();\n })\n .catch(function (err) {\n logger_1.logger.error('Failed to create media-keys:', err);\n });\n };\n /**\n * Handles key-creation (represents access to CDM). We are going to create key-sessions upon this\n * for all existing keys where no session exists yet.\n */\n EMEController.prototype._onMediaKeysCreated = function () {\n var _this = this;\n // check for all key-list items if a session exists, otherwise, create one\n this._mediaKeysList.forEach(function (mediaKeysListItem) {\n if (!mediaKeysListItem.mediaKeysSession) {\n mediaKeysListItem.mediaKeysSession = mediaKeysListItem.mediaKeys.createSession();\n _this._onNewMediaKeySession(mediaKeysListItem.mediaKeysSession);\n }\n });\n };\n /**\n *\n * @param {*} keySession\n */\n EMEController.prototype._onNewMediaKeySession = function (keySession) {\n var _this = this;\n logger_1.logger.log(\"New key-system session \" + keySession.sessionId);\n keySession.addEventListener('message', function (event) {\n _this._onKeySessionMessage(keySession, event.message);\n }, false);\n };\n EMEController.prototype._onKeySessionMessage = function (keySession, message) {\n logger_1.logger.log('Got EME message event, creating license request');\n this._requestLicense(message, function (data) {\n logger_1.logger.log('Received license data, updating key-session');\n keySession.update(data);\n });\n };\n EMEController.prototype._onMediaEncrypted = function (initDataType, initData) {\n logger_1.logger.log(\"Media is encrypted using \\\"\" + initDataType + \"\\\" init data type\");\n this._isMediaEncrypted = true;\n this._mediaEncryptionInitDataType = initDataType;\n this._mediaEncryptionInitData = initData;\n this._attemptSetMediaKeys();\n this._generateRequestWithPreferredKeySession();\n };\n EMEController.prototype._attemptSetMediaKeys = function () {\n if (!this._hasSetMediaKeys) {\n // FIXME: see if we can/want/need-to really to deal with several potential key-sessions?\n var keysListItem = this._mediaKeysList[0];\n if (!keysListItem || !keysListItem.mediaKeys) {\n logger_1.logger.error('Fatal: Media is encrypted but no CDM access or no keys have been obtained yet');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_KEYS,\n fatal: true\n });\n return;\n }\n logger_1.logger.log('Setting keys for encrypted media');\n this._media.setMediaKeys(keysListItem.mediaKeys);\n this._hasSetMediaKeys = true;\n }\n };\n EMEController.prototype._generateRequestWithPreferredKeySession = function () {\n var _this = this;\n // FIXME: see if we can/want/need-to really to deal with several potential key-sessions?\n var keysListItem = this._mediaKeysList[0];\n if (!keysListItem) {\n logger_1.logger.error('Fatal: Media is encrypted but not any key-system access has been obtained yet');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_ACCESS,\n fatal: true\n });\n return;\n }\n if (keysListItem.mediaKeysSessionInitialized) {\n logger_1.logger.warn('Key-Session already initialized but requested again');\n return;\n }\n var keySession = keysListItem.mediaKeysSession;\n if (!keySession) {\n logger_1.logger.error('Fatal: Media is encrypted but no key-session existing');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_SESSION,\n fatal: true\n });\n }\n var initDataType = this._mediaEncryptionInitDataType;\n var initData = this._mediaEncryptionInitData;\n logger_1.logger.log(\"Generating key-session request for \\\"\" + initDataType + \"\\\" init data type\");\n keysListItem.mediaKeysSessionInitialized = true;\n keySession.generateRequest(initDataType, initData)\n .then(function () {\n logger_1.logger.debug('Key-session generation succeeded');\n })\n .catch(function (err) {\n logger_1.logger.error('Error generating key-session request:', err);\n _this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_SESSION,\n fatal: false\n });\n });\n };\n /**\n * @param {string} url License server URL\n * @param {ArrayBuffer} keyMessage Message data issued by key-system\n * @param {function} callback Called when XHR has succeeded\n * @returns {XMLHttpRequest} Unsent (but opened state) XHR object\n */\n EMEController.prototype._createLicenseXhr = function (url, keyMessage, callback) {\n var xhr = new XMLHttpRequest();\n var licenseXhrSetup = this._licenseXhrSetup;\n try {\n if (licenseXhrSetup) {\n try {\n licenseXhrSetup(xhr, url);\n }\n catch (e) {\n // let's try to open before running setup\n xhr.open('POST', url, true);\n licenseXhrSetup(xhr, url);\n }\n }\n // if licenseXhrSetup did not yet call open, let's do it now\n if (!xhr.readyState) {\n xhr.open('POST', url, true);\n }\n }\n catch (e) {\n // IE11 throws an exception on xhr.open if attempting to access an HTTP resource over HTTPS\n logger_1.logger.error('Error setting up key-system license XHR', e);\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,\n fatal: true\n });\n return;\n }\n xhr.responseType = 'arraybuffer';\n xhr.onreadystatechange =\n this._onLicenseRequestReadyStageChange.bind(this, xhr, url, keyMessage, callback);\n return xhr;\n };\n /**\n * @param {XMLHttpRequest} xhr\n * @param {string} url License server URL\n * @param {ArrayBuffer} keyMessage Message data issued by key-system\n * @param {function} callback Called when XHR has succeeded\n *\n */\n EMEController.prototype._onLicenseRequestReadyStageChange = function (xhr, url, keyMessage, callback) {\n switch (xhr.readyState) {\n case 4:\n if (xhr.status === 200) {\n this._requestLicenseFailureCount = 0;\n logger_1.logger.log('License request succeeded');\n callback(xhr.response);\n }\n else {\n logger_1.logger.error(\"License Request XHR failed (\" + url + \"). Status: \" + xhr.status + \" (\" + xhr.statusText + \")\");\n this._requestLicenseFailureCount++;\n if (this._requestLicenseFailureCount <= MAX_LICENSE_REQUEST_FAILURES) {\n var attemptsLeft = MAX_LICENSE_REQUEST_FAILURES - this._requestLicenseFailureCount + 1;\n logger_1.logger.warn(\"Retrying license request, \" + attemptsLeft + \" attempts left\");\n this._requestLicense(keyMessage, callback);\n return;\n }\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,\n fatal: true\n });\n }\n break;\n }\n };\n /**\n * @param {object} keysListItem\n * @param {ArrayBuffer} keyMessage\n * @returns {ArrayBuffer} Challenge data posted to license server\n */\n EMEController.prototype._generateLicenseRequestChallenge = function (keysListItem, keyMessage) {\n var challenge;\n if (keysListItem.mediaKeySystemDomain === KeySystems.PLAYREADY) {\n logger_1.logger.error('PlayReady is not supported (yet)');\n // from https://github.com/MicrosoftEdge/Demos/blob/master/eme/scripts/demo.js\n /*\n if (this.licenseType !== this.LICENSE_TYPE_WIDEVINE) {\n // For PlayReady CDMs, we need to dig the Challenge out of the XML.\n var keyMessageXml = new DOMParser().parseFromString(String.fromCharCode.apply(null, new Uint16Array(keyMessage)), 'application/xml');\n if (keyMessageXml.getElementsByTagName('Challenge')[0]) {\n challenge = atob(keyMessageXml.getElementsByTagName('Challenge')[0].childNodes[0].nodeValue);\n } else {\n throw 'Cannot find <Challenge> in key message';\n }\n var headerNames = keyMessageXml.getElementsByTagName('name');\n var headerValues = keyMessageXml.getElementsByTagName('value');\n if (headerNames.length !== headerValues.length) {\n throw 'Mismatched header <name>/<value> pair in key message';\n }\n for (var i = 0; i < headerNames.length; i++) {\n xhr.setRequestHeader(headerNames[i].childNodes[0].nodeValue, headerValues[i].childNodes[0].nodeValue);\n }\n }\n */\n }\n else if (keysListItem.mediaKeySystemDomain === KeySystems.WIDEVINE) {\n // For Widevine CDMs, the challenge is the keyMessage.\n challenge = keyMessage;\n }\n else {\n logger_1.logger.error('Unsupported key-system:', keysListItem.mediaKeySystemDomain);\n }\n return challenge;\n };\n EMEController.prototype._requestLicense = function (keyMessage, callback) {\n logger_1.logger.log('Requesting content license for key-system');\n var keysListItem = this._mediaKeysList[0];\n if (!keysListItem) {\n logger_1.logger.error('Fatal error: Media is encrypted but no key-system access has been obtained yet');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_ACCESS,\n fatal: true\n });\n return;\n }\n var url = this.getLicenseServerUrl(keysListItem.mediaKeySystemDomain);\n var xhr = this._createLicenseXhr(url, keyMessage, callback);\n logger_1.logger.log(\"Sending license request to URL: \" + url);\n xhr.send(this._generateLicenseRequestChallenge(keysListItem, keyMessage));\n };\n EMEController.prototype.onMediaAttached = function (data) {\n var _this = this;\n if (!this._emeEnabled) {\n return;\n }\n var media = data.media;\n // keep reference of media\n this._media = media;\n // FIXME: also handle detaching media !\n media.addEventListener('encrypted', function (e) {\n _this._onMediaEncrypted(e.initDataType, e.initData);\n });\n };\n EMEController.prototype.onManifestParsed = function (data) {\n if (!this._emeEnabled) {\n return;\n }\n var audioCodecs = data.levels.map(function (level) { return level.audioCodec; });\n var videoCodecs = data.levels.map(function (level) { return level.videoCodec; });\n this._attemptKeySystemAccess(KeySystems.WIDEVINE, audioCodecs, videoCodecs);\n };\n return EMEController;\n}(event_handler_1.default));\nexports.default = EMEController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/fps-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/fps-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * FPS Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar performance = window.performance;\nvar FPSController = /** @class */ (function (_super) {\n __extends(FPSController, _super);\n function FPSController(hls) {\n return _super.call(this, hls, events_1.default.MEDIA_ATTACHING) || this;\n }\n FPSController.prototype.destroy = function () {\n if (this.timer) {\n clearInterval(this.timer);\n }\n this.isVideoPlaybackQualityAvailable = false;\n };\n FPSController.prototype.onMediaAttaching = function (data) {\n var config = this.hls.config;\n if (config.capLevelOnFPSDrop) {\n var video_1 = this.video = data.media instanceof window.HTMLVideoElement ? data.media : null;\n if (typeof video_1.getVideoPlaybackQuality === 'function') {\n this.isVideoPlaybackQualityAvailable = true;\n }\n clearInterval(this.timer);\n this.timer = setInterval(this.checkFPSInterval.bind(this), config.fpsDroppedMonitoringPeriod);\n }\n };\n FPSController.prototype.checkFPS = function (video, decodedFrames, droppedFrames) {\n var currentTime = performance.now();\n if (decodedFrames) {\n if (this.lastTime) {\n var currentPeriod = currentTime - this.lastTime, currentDropped = droppedFrames - this.lastDroppedFrames, currentDecoded = decodedFrames - this.lastDecodedFrames, droppedFPS = 1000 * currentDropped / currentPeriod, hls_1 = this.hls;\n hls_1.trigger(events_1.default.FPS_DROP, { currentDropped: currentDropped, currentDecoded: currentDecoded, totalDroppedFrames: droppedFrames });\n if (droppedFPS > 0) {\n // logger.log('checkFPS : droppedFPS/decodedFPS:' + droppedFPS/(1000 * currentDecoded / currentPeriod));\n if (currentDropped > hls_1.config.fpsDroppedMonitoringThreshold * currentDecoded) {\n var currentLevel = hls_1.currentLevel;\n logger_1.logger.warn('drop FPS ratio greater than max allowed value for currentLevel: ' + currentLevel);\n if (currentLevel > 0 && (hls_1.autoLevelCapping === -1 || hls_1.autoLevelCapping >= currentLevel)) {\n currentLevel = currentLevel - 1;\n hls_1.trigger(events_1.default.FPS_DROP_LEVEL_CAPPING, { level: currentLevel, droppedLevel: hls_1.currentLevel });\n hls_1.autoLevelCapping = currentLevel;\n hls_1.streamController.nextLevelSwitch();\n }\n }\n }\n }\n this.lastTime = currentTime;\n this.lastDroppedFrames = droppedFrames;\n this.lastDecodedFrames = decodedFrames;\n }\n };\n FPSController.prototype.checkFPSInterval = function () {\n var video = this.video;\n if (video) {\n if (this.isVideoPlaybackQualityAvailable) {\n var videoPlaybackQuality = video.getVideoPlaybackQuality();\n this.checkFPS(video, videoPlaybackQuality.totalVideoFrames, videoPlaybackQuality.droppedVideoFrames);\n }\n else {\n this.checkFPS(video, video.webkitDecodedFrameCount, video.webkitDroppedFrameCount);\n }\n }\n };\n return FPSController;\n}(event_handler_1.default));\nexports.default = FPSController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/fragment-finders.js\":\n/*!********************************************!*\\\n !*** ./src/controller/fragment-finders.js ***!\n \\********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ../utils/binary-search */ \"./src/utils/binary-search.js\");\n/**\n * Returns first fragment whose endPdt value exceeds the given PDT.\n * @param {Array<Fragment>} fragments - The array of candidate fragments\n * @param {number|null} [PDTValue = null] - The PDT value which must be exceeded\n * @param {number} [maxFragLookUpTolerance = 0] - The amount of time that a fragment's start/end can be within in order to be considered contiguous\n * @returns {*|null} fragment - The best matching fragment\n */\nfunction findFragmentByPDT(fragments, PDTValue, maxFragLookUpTolerance) {\n if (!Array.isArray(fragments) || !fragments.length || !Number.isFinite(PDTValue)) {\n return null;\n }\n // if less than start\n if (PDTValue < fragments[0].programDateTime) {\n return null;\n }\n if (PDTValue >= fragments[fragments.length - 1].endProgramDateTime) {\n return null;\n }\n maxFragLookUpTolerance = maxFragLookUpTolerance || 0;\n for (var seg = 0; seg < fragments.length; ++seg) {\n var frag = fragments[seg];\n if (pdtWithinToleranceTest(PDTValue, maxFragLookUpTolerance, frag)) {\n return frag;\n }\n }\n return null;\n}\nexports.findFragmentByPDT = findFragmentByPDT;\n/**\n * Finds a fragment based on the SN of the previous fragment; or based on the needs of the current buffer.\n * This method compensates for small buffer gaps by applying a tolerance to the start of any candidate fragment, thus\n * breaking any traps which would cause the same fragment to be continuously selected within a small range.\n * @param {*} fragPrevious - The last frag successfully appended\n * @param {Array<Fragment>} fragments - The array of candidate fragments\n * @param {number} [bufferEnd = 0] - The end of the contiguous buffered range the playhead is currently within\n * @param {number} maxFragLookUpTolerance - The amount of time that a fragment's start/end can be within in order to be considered contiguous\n * @returns {*} foundFrag - The best matching fragment\n */\nfunction findFragmentByPTS(fragPrevious, fragments, bufferEnd, maxFragLookUpTolerance) {\n if (bufferEnd === void 0) { bufferEnd = 0; }\n if (maxFragLookUpTolerance === void 0) { maxFragLookUpTolerance = 0; }\n var fragNext = fragPrevious ? fragments[fragPrevious.sn - fragments[0].sn + 1] : null;\n // Prefer the next fragment if it's within tolerance\n if (fragNext && !fragmentWithinToleranceTest(bufferEnd, maxFragLookUpTolerance, fragNext)) {\n return fragNext;\n }\n return binary_search_1.default.search(fragments, fragmentWithinToleranceTest.bind(null, bufferEnd, maxFragLookUpTolerance));\n}\nexports.findFragmentByPTS = findFragmentByPTS;\n/**\n * The test function used by the findFragmentBySn's BinarySearch to look for the best match to the current buffer conditions.\n * @param {*} candidate - The fragment to test\n * @param {number} [bufferEnd = 0] - The end of the current buffered range the playhead is currently within\n * @param {number} [maxFragLookUpTolerance = 0] - The amount of time that a fragment's start can be within in order to be considered contiguous\n * @returns {number} - 0 if it matches, 1 if too low, -1 if too high\n */\nfunction fragmentWithinToleranceTest(bufferEnd, maxFragLookUpTolerance, candidate) {\n if (bufferEnd === void 0) { bufferEnd = 0; }\n if (maxFragLookUpTolerance === void 0) { maxFragLookUpTolerance = 0; }\n // offset should be within fragment boundary - config.maxFragLookUpTolerance\n // this is to cope with situations like\n // bufferEnd = 9.991\n // frag[Ø] : [0,10]\n // frag[1] : [10,20]\n // bufferEnd is within frag[0] range ... although what we are expecting is to return frag[1] here\n // frag start frag start+duration\n // |-----------------------------|\n // <---> <--->\n // ...--------><-----------------------------><---------....\n // previous frag matching fragment next frag\n // return -1 return 0 return 1\n // logger.log(`level/sn/start/end/bufEnd:${level}/${candidate.sn}/${candidate.start}/${(candidate.start+candidate.duration)}/${bufferEnd}`);\n // Set the lookup tolerance to be small enough to detect the current segment - ensures we don't skip over very small segments\n var candidateLookupTolerance = Math.min(maxFragLookUpTolerance, candidate.duration + (candidate.deltaPTS ? candidate.deltaPTS : 0));\n if (candidate.start + candidate.duration - candidateLookupTolerance <= bufferEnd) {\n return 1;\n }\n else if (candidate.start - candidateLookupTolerance > bufferEnd && candidate.start) {\n // if maxFragLookUpTolerance will have negative value then don't return -1 for first element\n return -1;\n }\n return 0;\n}\nexports.fragmentWithinToleranceTest = fragmentWithinToleranceTest;\n/**\n * The test function used by the findFragmentByPdt's BinarySearch to look for the best match to the current buffer conditions.\n * This function tests the candidate's program date time values, as represented in Unix time\n * @param {*} candidate - The fragment to test\n * @param {number} [pdtBufferEnd = 0] - The Unix time representing the end of the current buffered range\n * @param {number} [maxFragLookUpTolerance = 0] - The amount of time that a fragment's start can be within in order to be considered contiguous\n * @returns {boolean} True if contiguous, false otherwise\n */\nfunction pdtWithinToleranceTest(pdtBufferEnd, maxFragLookUpTolerance, candidate) {\n var candidateLookupTolerance = Math.min(maxFragLookUpTolerance, candidate.duration + (candidate.deltaPTS ? candidate.deltaPTS : 0)) * 1000;\n return candidate.endProgramDateTime - candidateLookupTolerance > pdtBufferEnd;\n}\nexports.pdtWithinToleranceTest = pdtWithinToleranceTest;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/fragment-tracker.js\":\n/*!********************************************!*\\\n !*** ./src/controller/fragment-tracker.js ***!\n \\********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nexports.FragmentState = {\n NOT_LOADED: 'NOT_LOADED',\n APPENDING: 'APPENDING',\n PARTIAL: 'PARTIAL',\n OK: 'OK'\n};\nvar FragmentTracker = /** @class */ (function (_super) {\n __extends(FragmentTracker, _super);\n function FragmentTracker(hls) {\n var _this = _super.call(this, hls, events_1.default.BUFFER_APPENDED, events_1.default.FRAG_BUFFERED, events_1.default.FRAG_LOADED) || this;\n _this.bufferPadding = 0.2;\n _this.fragments = Object.create(null);\n _this.timeRanges = Object.create(null);\n _this.config = hls.config;\n return _this;\n }\n FragmentTracker.prototype.destroy = function () {\n this.fragments = null;\n this.timeRanges = null;\n this.config = null;\n event_handler_1.default.prototype.destroy.call(this);\n _super.prototype.destroy.call(this);\n };\n /**\n * Return a Fragment that match the position and levelType.\n * If not found any Fragment, return null\n * @param {number} position\n * @param {LevelType} levelType\n * @returns {Fragment|null}\n */\n FragmentTracker.prototype.getBufferedFrag = function (position, levelType) {\n var fragments = this.fragments;\n var bufferedFrags = Object.keys(fragments).filter(function (key) {\n var fragmentEntity = fragments[key];\n if (fragmentEntity.body.type !== levelType) {\n return false;\n }\n if (!fragmentEntity.buffered) {\n return false;\n }\n var frag = fragmentEntity.body;\n return frag.startPTS <= position && position <= frag.endPTS;\n });\n if (bufferedFrags.length === 0) {\n return null;\n }\n else {\n // https://github.com/video-dev/hls.js/pull/1545#discussion_r166229566\n var bufferedFragKey = bufferedFrags.pop();\n return fragments[bufferedFragKey].body;\n }\n };\n /**\n * Partial fragments effected by coded frame eviction will be removed\n * The browser will unload parts of the buffer to free up memory for new buffer data\n * Fragments will need to be reloaded when the buffer is freed up, removing partial fragments will allow them to reload(since there might be parts that are still playable)\n * @param {String} elementaryStream The elementaryStream of media this is (eg. video/audio)\n * @param {TimeRanges} timeRange TimeRange object from a sourceBuffer\n */\n FragmentTracker.prototype.detectEvictedFragments = function (elementaryStream, timeRange) {\n var _this = this;\n var fragmentTimes, time;\n // Check if any flagged fragments have been unloaded\n Object.keys(this.fragments).forEach(function (key) {\n var fragmentEntity = _this.fragments[key];\n if (fragmentEntity.buffered === true) {\n var esData = fragmentEntity.range[elementaryStream];\n if (esData) {\n fragmentTimes = esData.time;\n for (var i = 0; i < fragmentTimes.length; i++) {\n time = fragmentTimes[i];\n if (_this.isTimeBuffered(time.startPTS, time.endPTS, timeRange) === false) {\n // Unregister partial fragment as it needs to load again to be reused\n _this.removeFragment(fragmentEntity.body);\n break;\n }\n }\n }\n }\n });\n };\n /**\n * Checks if the fragment passed in is loaded in the buffer properly\n * Partially loaded fragments will be registered as a partial fragment\n * @param {Object} fragment Check the fragment against all sourceBuffers loaded\n */\n FragmentTracker.prototype.detectPartialFragments = function (fragment) {\n var _this = this;\n var fragKey = this.getFragmentKey(fragment);\n var fragmentEntity = this.fragments[fragKey];\n if (fragmentEntity) {\n fragmentEntity.buffered = true;\n Object.keys(this.timeRanges).forEach(function (elementaryStream) {\n if (fragment.hasElementaryStream(elementaryStream)) {\n var timeRange = _this.timeRanges[elementaryStream];\n // Check for malformed fragments\n // Gaps need to be calculated for each elementaryStream\n fragmentEntity.range[elementaryStream] = _this.getBufferedTimes(fragment.startPTS, fragment.endPTS, timeRange);\n }\n });\n }\n };\n FragmentTracker.prototype.getBufferedTimes = function (startPTS, endPTS, timeRange) {\n var fragmentTimes = [];\n var startTime, endTime;\n var fragmentPartial = false;\n for (var i = 0; i < timeRange.length; i++) {\n startTime = timeRange.start(i) - this.bufferPadding;\n endTime = timeRange.end(i) + this.bufferPadding;\n if (startPTS >= startTime && endPTS <= endTime) {\n // Fragment is entirely contained in buffer\n // No need to check the other timeRange times since it's completely playable\n fragmentTimes.push({\n startPTS: Math.max(startPTS, timeRange.start(i)),\n endPTS: Math.min(endPTS, timeRange.end(i))\n });\n break;\n }\n else if (startPTS < endTime && endPTS > startTime) {\n // Check for intersection with buffer\n // Get playable sections of the fragment\n fragmentTimes.push({\n startPTS: Math.max(startPTS, timeRange.start(i)),\n endPTS: Math.min(endPTS, timeRange.end(i))\n });\n fragmentPartial = true;\n }\n else if (endPTS <= startTime) {\n // No need to check the rest of the timeRange as it is in order\n break;\n }\n }\n return {\n time: fragmentTimes,\n partial: fragmentPartial\n };\n };\n FragmentTracker.prototype.getFragmentKey = function (fragment) {\n return fragment.type + \"_\" + fragment.level + \"_\" + fragment.urlId + \"_\" + fragment.sn;\n };\n /**\n * Gets the partial fragment for a certain time\n * @param {Number} time\n * @returns {Object} fragment Returns a partial fragment at a time or null if there is no partial fragment\n */\n FragmentTracker.prototype.getPartialFragment = function (time) {\n var _this = this;\n var timePadding, startTime, endTime;\n var bestFragment = null;\n var bestOverlap = 0;\n Object.keys(this.fragments).forEach(function (key) {\n var fragmentEntity = _this.fragments[key];\n if (_this.isPartial(fragmentEntity)) {\n startTime = fragmentEntity.body.startPTS - _this.bufferPadding;\n endTime = fragmentEntity.body.endPTS + _this.bufferPadding;\n if (time >= startTime && time <= endTime) {\n // Use the fragment that has the most padding from start and end time\n timePadding = Math.min(time - startTime, endTime - time);\n if (bestOverlap <= timePadding) {\n bestFragment = fragmentEntity.body;\n bestOverlap = timePadding;\n }\n }\n }\n });\n return bestFragment;\n };\n /**\n * @param {Object} fragment The fragment to check\n * @returns {String} Returns the fragment state when a fragment never loaded or if it partially loaded\n */\n FragmentTracker.prototype.getState = function (fragment) {\n var fragKey = this.getFragmentKey(fragment);\n var fragmentEntity = this.fragments[fragKey];\n var state = exports.FragmentState.NOT_LOADED;\n if (fragmentEntity !== undefined) {\n if (!fragmentEntity.buffered) {\n state = exports.FragmentState.APPENDING;\n }\n else if (this.isPartial(fragmentEntity) === true) {\n state = exports.FragmentState.PARTIAL;\n }\n else {\n state = exports.FragmentState.OK;\n }\n }\n return state;\n };\n FragmentTracker.prototype.isPartial = function (fragmentEntity) {\n return fragmentEntity.buffered === true &&\n ((fragmentEntity.range.video !== undefined && fragmentEntity.range.video.partial === true) ||\n (fragmentEntity.range.audio !== undefined && fragmentEntity.range.audio.partial === true));\n };\n FragmentTracker.prototype.isTimeBuffered = function (startPTS, endPTS, timeRange) {\n var startTime, endTime;\n for (var i = 0; i < timeRange.length; i++) {\n startTime = timeRange.start(i) - this.bufferPadding;\n endTime = timeRange.end(i) + this.bufferPadding;\n if (startPTS >= startTime && endPTS <= endTime) {\n return true;\n }\n if (endPTS <= startTime) {\n // No need to check the rest of the timeRange as it is in order\n return false;\n }\n }\n return false;\n };\n /**\n * Fires when a fragment loading is completed\n */\n FragmentTracker.prototype.onFragLoaded = function (e) {\n var fragment = e.frag;\n // don't track initsegment (for which sn is not a number)\n // don't track frags used for bitrateTest, they're irrelevant.\n if (Number.isFinite(fragment.sn) && !fragment.bitrateTest) {\n this.fragments[this.getFragmentKey(fragment)] = {\n body: fragment,\n range: Object.create(null),\n buffered: false\n };\n }\n };\n /**\n * Fires when the buffer is updated\n */\n FragmentTracker.prototype.onBufferAppended = function (e) {\n var _this = this;\n // Store the latest timeRanges loaded in the buffer\n this.timeRanges = e.timeRanges;\n Object.keys(this.timeRanges).forEach(function (elementaryStream) {\n var timeRange = _this.timeRanges[elementaryStream];\n _this.detectEvictedFragments(elementaryStream, timeRange);\n });\n };\n /**\n * Fires after a fragment has been loaded into the source buffer\n */\n FragmentTracker.prototype.onFragBuffered = function (e) {\n this.detectPartialFragments(e.frag);\n };\n /**\n * Return true if fragment tracker has the fragment.\n * @param {Object} fragment\n * @returns {boolean}\n */\n FragmentTracker.prototype.hasFragment = function (fragment) {\n var fragKey = this.getFragmentKey(fragment);\n return this.fragments[fragKey] !== undefined;\n };\n /**\n * Remove a fragment from fragment tracker until it is loaded again\n * @param {Object} fragment The fragment to remove\n */\n FragmentTracker.prototype.removeFragment = function (fragment) {\n var fragKey = this.getFragmentKey(fragment);\n delete this.fragments[fragKey];\n };\n /**\n * Remove all fragments from fragment tracker.\n */\n FragmentTracker.prototype.removeAllFragments = function () {\n this.fragments = Object.create(null);\n };\n return FragmentTracker;\n}(event_handler_1.default));\nexports.FragmentTracker = FragmentTracker;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/gap-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/gap-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar stallDebounceInterval = 1000;\nvar jumpThreshold = 0.5; // tolerance needed as some browsers stalls playback before reaching buffered range end\nvar GapController = /** @class */ (function () {\n function GapController(config, media, fragmentTracker, hls) {\n this.config = config;\n this.media = media;\n this.fragmentTracker = fragmentTracker;\n this.hls = hls;\n this.stallReported = false;\n }\n /**\n * Checks if the playhead is stuck within a gap, and if so, attempts to free it.\n * A gap is an unbuffered range between two buffered ranges (or the start and the first buffered range).\n * @param lastCurrentTime\n * @param buffered\n */\n GapController.prototype.poll = function (lastCurrentTime, buffered) {\n var _a = this, config = _a.config, media = _a.media;\n var currentTime = media.currentTime;\n var tnow = window.performance.now();\n if (currentTime !== lastCurrentTime) {\n // The playhead is now moving, but was previously stalled\n if (this.stallReported) {\n logger_1.logger.warn(\"playback not stuck anymore @\" + currentTime + \", after \" + Math.round(tnow - this.stalled) + \"ms\");\n this.stallReported = false;\n }\n this.stalled = null;\n this.nudgeRetry = 0;\n return;\n }\n if (media.ended || !media.buffered.length || media.readyState > 2) {\n return;\n }\n if (media.seeking && buffer_helper_1.BufferHelper.isBuffered(media, currentTime)) {\n return;\n }\n // The playhead isn't moving but it should be\n // Allow some slack time to for small stalls to resolve themselves\n var stalledDuration = tnow - this.stalled;\n var bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(media, currentTime, config.maxBufferHole);\n if (!this.stalled) {\n this.stalled = tnow;\n return;\n }\n else if (stalledDuration >= stallDebounceInterval) {\n // Report stalling after trying to fix\n this._reportStall(bufferInfo.len);\n }\n this._tryFixBufferStall(bufferInfo, stalledDuration);\n };\n /**\n * Detects and attempts to fix known buffer stalling issues.\n * @param bufferInfo - The properties of the current buffer.\n * @param stalledDuration - The amount of time Hls.js has been stalling for.\n * @private\n */\n GapController.prototype._tryFixBufferStall = function (bufferInfo, stalledDuration) {\n var _a = this, config = _a.config, fragmentTracker = _a.fragmentTracker, media = _a.media;\n var currentTime = media.currentTime;\n var partial = fragmentTracker.getPartialFragment(currentTime);\n if (partial) {\n // Try to skip over the buffer hole caused by a partial fragment\n // This method isn't limited by the size of the gap between buffered ranges\n this._trySkipBufferHole(partial);\n }\n if (bufferInfo.len > jumpThreshold && stalledDuration > config.highBufferWatchdogPeriod * 1000) {\n // Try to nudge currentTime over a buffer hole if we've been stalling for the configured amount of seconds\n // We only try to jump the hole if it's under the configured size\n // Reset stalled so to rearm watchdog timer\n this.stalled = null;\n this._tryNudgeBuffer();\n }\n };\n /**\n * Triggers a BUFFER_STALLED_ERROR event, but only once per stall period.\n * @param bufferLen - The playhead distance from the end of the current buffer segment.\n * @private\n */\n GapController.prototype._reportStall = function (bufferLen) {\n var _a = this, hls = _a.hls, media = _a.media, stallReported = _a.stallReported;\n if (!stallReported) {\n // Report stalled error once\n this.stallReported = true;\n logger_1.logger.warn(\"Playback stalling at @\" + media.currentTime + \" due to low buffer\");\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_STALLED_ERROR,\n fatal: false,\n buffer: bufferLen\n });\n }\n };\n /**\n * Attempts to fix buffer stalls by jumping over known gaps caused by partial fragments\n * @param partial - The partial fragment found at the current time (where playback is stalling).\n * @private\n */\n GapController.prototype._trySkipBufferHole = function (partial) {\n var _a = this, hls = _a.hls, media = _a.media;\n var currentTime = media.currentTime;\n var lastEndTime = 0;\n // Check if currentTime is between unbuffered regions of partial fragments\n for (var i = 0; i < media.buffered.length; i++) {\n var startTime = media.buffered.start(i);\n if (currentTime >= lastEndTime && currentTime < startTime) {\n media.currentTime = Math.max(startTime, media.currentTime + 0.1);\n logger_1.logger.warn(\"skipping hole, adjusting currentTime from \" + currentTime + \" to \" + media.currentTime);\n this.stalled = null;\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_SEEK_OVER_HOLE,\n fatal: false,\n reason: \"fragment loaded with buffer holes, seeking from \" + currentTime + \" to \" + media.currentTime,\n frag: partial\n });\n return;\n }\n lastEndTime = media.buffered.end(i);\n }\n };\n /**\n * Attempts to fix buffer stalls by advancing the mediaElement's current time by a small amount.\n * @private\n */\n GapController.prototype._tryNudgeBuffer = function () {\n var _a = this, config = _a.config, hls = _a.hls, media = _a.media;\n var currentTime = media.currentTime;\n var nudgeRetry = (this.nudgeRetry || 0) + 1;\n this.nudgeRetry = nudgeRetry;\n if (nudgeRetry < config.nudgeMaxRetry) {\n var targetTime = currentTime + nudgeRetry * config.nudgeOffset;\n logger_1.logger.log(\"adjust currentTime from \" + currentTime + \" to \" + targetTime);\n // playback stalled in buffered area ... let's nudge currentTime to try to overcome this\n media.currentTime = targetTime;\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_NUDGE_ON_STALL,\n fatal: false\n });\n }\n else {\n logger_1.logger.error(\"still stuck in high buffer @\" + currentTime + \" after \" + config.nudgeMaxRetry + \", raise fatal error\");\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_STALLED_ERROR,\n fatal: true\n });\n }\n };\n return GapController;\n}());\nexports.default = GapController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/id3-track-controller.js\":\n/*!************************************************!*\\\n !*** ./src/controller/id3-track-controller.js ***!\n \\************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * id3 metadata track controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\nvar texttrack_utils_1 = __webpack_require__(/*! ../utils/texttrack-utils */ \"./src/utils/texttrack-utils.js\");\nvar ID3TrackController = /** @class */ (function (_super) {\n __extends(ID3TrackController, _super);\n function ID3TrackController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.FRAG_PARSING_METADATA) || this;\n _this.id3Track = undefined;\n _this.media = undefined;\n return _this;\n }\n ID3TrackController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n // Add ID3 metatadata text track.\n ID3TrackController.prototype.onMediaAttached = function (data) {\n this.media = data.media;\n if (!this.media) {\n }\n };\n ID3TrackController.prototype.onMediaDetaching = function () {\n texttrack_utils_1.clearCurrentCues(this.id3Track);\n this.id3Track = undefined;\n this.media = undefined;\n };\n ID3TrackController.prototype.getID3Track = function (textTracks) {\n for (var i = 0; i < textTracks.length; i++) {\n var textTrack = textTracks[i];\n if (textTrack.kind === 'metadata' && textTrack.label === 'id3') {\n // send 'addtrack' when reusing the textTrack for metadata,\n // same as what we do for captions\n texttrack_utils_1.sendAddTrackEvent(textTrack, this.media);\n return textTrack;\n }\n }\n return this.media.addTextTrack('metadata', 'id3');\n };\n ID3TrackController.prototype.onFragParsingMetadata = function (data) {\n var fragment = data.frag;\n var samples = data.samples;\n // create track dynamically\n if (!this.id3Track) {\n this.id3Track = this.getID3Track(this.media.textTracks);\n this.id3Track.mode = 'hidden';\n }\n // Attempt to recreate Safari functionality by creating\n // WebKitDataCue objects when available and store the decoded\n // ID3 data in the value property of the cue\n var Cue = window.WebKitDataCue || window.VTTCue || window.TextTrackCue;\n for (var i = 0; i < samples.length; i++) {\n var frames_1 = id3_1.default.getID3Frames(samples[i].data);\n if (frames_1) {\n var startTime = samples[i].pts;\n var endTime = i < samples.length - 1 ? samples[i + 1].pts : fragment.endPTS;\n // Give a slight bump to the endTime if it's equal to startTime to avoid a SyntaxError in IE\n if (startTime === endTime) {\n endTime += 0.0001;\n }\n for (var j = 0; j < frames_1.length; j++) {\n var frame = frames_1[j];\n // Safari doesn't put the timestamp frame in the TextTrack\n if (!id3_1.default.isTimeStampFrame(frame)) {\n var cue = new Cue(startTime, endTime, '');\n cue.value = frame;\n this.id3Track.addCue(cue);\n }\n }\n }\n }\n };\n return ID3TrackController;\n}(event_handler_1.default));\nexports.default = ID3TrackController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/level-controller.js\":\n/*!********************************************!*\\\n !*** ./src/controller/level-controller.js ***!\n \\********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * Level Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar codecs_1 = __webpack_require__(/*! ../utils/codecs */ \"./src/utils/codecs.js\");\nvar level_helper_1 = __webpack_require__(/*! ./level-helper */ \"./src/controller/level-helper.js\");\nvar performance = window.performance;\nvar chromeOrFirefox;\nvar LevelController = /** @class */ (function (_super) {\n __extends(LevelController, _super);\n function LevelController(hls) {\n var _this = _super.call(this, hls, events_1.default.MANIFEST_LOADED, events_1.default.LEVEL_LOADED, events_1.default.AUDIO_TRACK_SWITCHED, events_1.default.FRAG_LOADED, events_1.default.ERROR) || this;\n _this.canload = false;\n _this.currentLevelIndex = null;\n _this.manualLevelIndex = -1;\n _this.timer = null;\n chromeOrFirefox = /chrome|firefox/.test(navigator.userAgent.toLowerCase());\n return _this;\n }\n LevelController.prototype.onHandlerDestroying = function () {\n this.clearTimer();\n this.manualLevelIndex = -1;\n };\n LevelController.prototype.clearTimer = function () {\n if (this.timer !== null) {\n clearTimeout(this.timer);\n this.timer = null;\n }\n };\n LevelController.prototype.startLoad = function () {\n var levels = this._levels;\n this.canload = true;\n this.levelRetryCount = 0;\n // clean up live level details to force reload them, and reset load errors\n if (levels) {\n levels.forEach(function (level) {\n level.loadError = 0;\n var levelDetails = level.details;\n if (levelDetails && levelDetails.live) {\n level.details = undefined;\n }\n });\n }\n // speed up live playlist refresh if timer exists\n if (this.timer !== null) {\n this.loadLevel();\n }\n };\n LevelController.prototype.stopLoad = function () {\n this.canload = false;\n };\n LevelController.prototype.onManifestLoaded = function (data) {\n var levels = [];\n var audioTracks = [];\n var bitrateStart;\n var levelSet = {};\n var levelFromSet = null;\n var videoCodecFound = false;\n var audioCodecFound = false;\n // regroup redundant levels together\n data.levels.forEach(function (level) {\n var attributes = level.attrs;\n level.loadError = 0;\n level.fragmentError = false;\n videoCodecFound = videoCodecFound || !!level.videoCodec;\n audioCodecFound = audioCodecFound || !!level.audioCodec;\n // erase audio codec info if browser does not support mp4a.40.34.\n // demuxer will autodetect codec and fallback to mpeg/audio\n if (chromeOrFirefox && level.audioCodec && level.audioCodec.indexOf('mp4a.40.34') !== -1) {\n level.audioCodec = undefined;\n }\n levelFromSet = levelSet[level.bitrate]; // FIXME: we would also have to match the resolution here\n if (!levelFromSet) {\n level.url = [level.url];\n level.urlId = 0;\n levelSet[level.bitrate] = level;\n levels.push(level);\n }\n else {\n levelFromSet.url.push(level.url);\n }\n if (attributes) {\n if (attributes.AUDIO) {\n audioCodecFound = true;\n level_helper_1.addGroupId(levelFromSet || level, 'audio', attributes.AUDIO);\n }\n if (attributes.SUBTITLES) {\n level_helper_1.addGroupId(levelFromSet || level, 'text', attributes.SUBTITLES);\n }\n }\n });\n // remove audio-only level if we also have levels with audio+video codecs signalled\n if (videoCodecFound && audioCodecFound) {\n levels = levels.filter(function (_a) {\n var videoCodec = _a.videoCodec;\n return !!videoCodec;\n });\n }\n // only keep levels with supported audio/video codecs\n levels = levels.filter(function (_a) {\n var audioCodec = _a.audioCodec, videoCodec = _a.videoCodec;\n return (!audioCodec || codecs_1.isCodecSupportedInMp4(audioCodec, 'audio')) && (!videoCodec || codecs_1.isCodecSupportedInMp4(videoCodec, 'video'));\n });\n if (data.audioTracks) {\n audioTracks = data.audioTracks.filter(function (track) { return !track.audioCodec || codecs_1.isCodecSupportedInMp4(track.audioCodec, 'audio'); });\n // Reassign id's after filtering since they're used as array indices\n audioTracks.forEach(function (track, index) {\n track.id = index;\n });\n }\n if (levels.length > 0) {\n // start bitrate is the first bitrate of the manifest\n bitrateStart = levels[0].bitrate;\n // sort level on bitrate\n levels.sort(function (a, b) { return a.bitrate - b.bitrate; });\n this._levels = levels;\n // find index of first level in sorted levels\n for (var i = 0; i < levels.length; i++) {\n if (levels[i].bitrate === bitrateStart) {\n this._firstLevel = i;\n logger_1.logger.log(\"manifest loaded,\" + levels.length + \" level(s) found, first bitrate:\" + bitrateStart);\n break;\n }\n }\n // Audio is only alternate if manifest include a URI along with the audio group tag\n this.hls.trigger(events_1.default.MANIFEST_PARSED, {\n levels: levels,\n audioTracks: audioTracks,\n firstLevel: this._firstLevel,\n stats: data.stats,\n audio: audioCodecFound,\n video: videoCodecFound,\n altAudio: audioTracks.some(function (t) { return !!t.url; })\n });\n }\n else {\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR,\n fatal: true,\n url: this.hls.url,\n reason: 'no level with compatible codecs found in manifest'\n });\n }\n };\n Object.defineProperty(LevelController.prototype, \"levels\", {\n get: function () {\n return this._levels;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LevelController.prototype, \"level\", {\n get: function () {\n return this.currentLevelIndex;\n },\n set: function (newLevel) {\n var levels = this._levels;\n if (levels) {\n newLevel = Math.min(newLevel, levels.length - 1);\n if (this.currentLevelIndex !== newLevel || !levels[newLevel].details) {\n this.setLevelInternal(newLevel);\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n LevelController.prototype.setLevelInternal = function (newLevel) {\n var levels = this._levels;\n var hls = this.hls;\n // check if level idx is valid\n if (newLevel >= 0 && newLevel < levels.length) {\n // stopping live reloading timer if any\n this.clearTimer();\n if (this.currentLevelIndex !== newLevel) {\n logger_1.logger.log(\"switching to level \" + newLevel);\n this.currentLevelIndex = newLevel;\n var levelProperties = levels[newLevel];\n levelProperties.level = newLevel;\n hls.trigger(events_1.default.LEVEL_SWITCHING, levelProperties);\n }\n var level = levels[newLevel];\n var levelDetails = level.details;\n // check if we need to load playlist for this level\n if (!levelDetails || levelDetails.live) {\n // level not retrieved yet, or live playlist we need to (re)load it\n var urlId = level.urlId;\n hls.trigger(events_1.default.LEVEL_LOADING, { url: level.url[urlId], level: newLevel, id: urlId });\n }\n }\n else {\n // invalid level id given, trigger error\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.OTHER_ERROR,\n details: errors_1.ErrorDetails.LEVEL_SWITCH_ERROR,\n level: newLevel,\n fatal: false,\n reason: 'invalid level idx'\n });\n }\n };\n Object.defineProperty(LevelController.prototype, \"manualLevel\", {\n get: function () {\n return this.manualLevelIndex;\n },\n set: function (newLevel) {\n this.manualLevelIndex = newLevel;\n if (this._startLevel === undefined) {\n this._startLevel = newLevel;\n }\n if (newLevel !== -1) {\n this.level = newLevel;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LevelController.prototype, \"firstLevel\", {\n get: function () {\n return this._firstLevel;\n },\n set: function (newLevel) {\n this._firstLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LevelController.prototype, \"startLevel\", {\n get: function () {\n // hls.startLevel takes precedence over config.startLevel\n // if none of these values are defined, fallback on this._firstLevel (first quality level appearing in variant manifest)\n if (this._startLevel === undefined) {\n var configStartLevel = this.hls.config.startLevel;\n if (configStartLevel !== undefined) {\n return configStartLevel;\n }\n else {\n return this._firstLevel;\n }\n }\n else {\n return this._startLevel;\n }\n },\n set: function (newLevel) {\n this._startLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n LevelController.prototype.onError = function (data) {\n if (data.fatal) {\n if (data.type === errors_1.ErrorTypes.NETWORK_ERROR) {\n this.clearTimer();\n }\n return;\n }\n var levelError = false, fragmentError = false;\n var levelIndex;\n // try to recover not fatal errors\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n case errors_1.ErrorDetails.KEY_LOAD_ERROR:\n case errors_1.ErrorDetails.KEY_LOAD_TIMEOUT:\n levelIndex = data.frag.level;\n fragmentError = true;\n break;\n case errors_1.ErrorDetails.LEVEL_LOAD_ERROR:\n case errors_1.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n levelIndex = data.context.level;\n levelError = true;\n break;\n case errors_1.ErrorDetails.REMUX_ALLOC_ERROR:\n levelIndex = data.level;\n levelError = true;\n break;\n }\n if (levelIndex !== undefined) {\n this.recoverLevel(data, levelIndex, levelError, fragmentError);\n }\n };\n /**\n * Switch to a redundant stream if any available.\n * If redundant stream is not available, emergency switch down if ABR mode is enabled.\n *\n * @param {Object} errorEvent\n * @param {Number} levelIndex current level index\n * @param {Boolean} levelError\n * @param {Boolean} fragmentError\n */\n // FIXME Find a better abstraction where fragment/level retry management is well decoupled\n LevelController.prototype.recoverLevel = function (errorEvent, levelIndex, levelError, fragmentError) {\n var _this = this;\n var config = this.hls.config;\n var errorDetails = errorEvent.details;\n var level = this._levels[levelIndex];\n var redundantLevels, delay, nextLevel;\n level.loadError++;\n level.fragmentError = fragmentError;\n if (levelError) {\n if ((this.levelRetryCount + 1) <= config.levelLoadingMaxRetry) {\n // exponential backoff capped to max retry timeout\n delay = Math.min(Math.pow(2, this.levelRetryCount) * config.levelLoadingRetryDelay, config.levelLoadingMaxRetryTimeout);\n // Schedule level reload\n this.timer = setTimeout(function () { return _this.loadLevel(); }, delay);\n // boolean used to inform stream controller not to switch back to IDLE on non fatal error\n errorEvent.levelRetry = true;\n this.levelRetryCount++;\n logger_1.logger.warn(\"level controller, \" + errorDetails + \", retry in \" + delay + \" ms, current retry count is \" + this.levelRetryCount);\n }\n else {\n logger_1.logger.error(\"level controller, cannot recover from \" + errorDetails + \" error\");\n this.currentLevelIndex = null;\n // stopping live reloading timer if any\n this.clearTimer();\n // switch error to fatal\n errorEvent.fatal = true;\n return;\n }\n }\n // Try any redundant streams if available for both errors: level and fragment\n // If level.loadError reaches redundantLevels it means that we tried them all, no hope => let's switch down\n if (levelError || fragmentError) {\n redundantLevels = level.url.length;\n if (redundantLevels > 1 && level.loadError < redundantLevels) {\n level.urlId = (level.urlId + 1) % redundantLevels;\n level.details = undefined;\n logger_1.logger.warn(\"level controller, \" + errorDetails + \" for level \" + levelIndex + \": switching to redundant URL-id \" + level.urlId);\n // console.log('Current audio track group ID:', this.hls.audioTracks[this.hls.audioTrack].groupId);\n // console.log('New video quality level audio group id:', level.attrs.AUDIO);\n }\n else {\n // Search for available level\n if (this.manualLevelIndex === -1) {\n // When lowest level has been reached, let's start hunt from the top\n nextLevel = (levelIndex === 0) ? this._levels.length - 1 : levelIndex - 1;\n logger_1.logger.warn(\"level controller, \" + errorDetails + \": switch to \" + nextLevel);\n this.hls.nextAutoLevel = this.currentLevelIndex = nextLevel;\n }\n else if (fragmentError) {\n // Allow fragment retry as long as configuration allows.\n // reset this._level so that another call to set level() will trigger again a frag load\n logger_1.logger.warn(\"level controller, \" + errorDetails + \": reload a fragment\");\n this.currentLevelIndex = null;\n }\n }\n }\n };\n // reset errors on the successful load of a fragment\n LevelController.prototype.onFragLoaded = function (_a) {\n var frag = _a.frag;\n if (frag !== undefined && frag.type === 'main') {\n var level = this._levels[frag.level];\n if (level !== undefined) {\n level.fragmentError = false;\n level.loadError = 0;\n this.levelRetryCount = 0;\n }\n }\n };\n LevelController.prototype.onLevelLoaded = function (data) {\n var _this = this;\n var levelId = data.level;\n // only process level loaded events matching with expected level\n if (levelId !== this.currentLevelIndex) {\n return;\n }\n var curLevel = this._levels[levelId];\n // reset level load error counter on successful level loaded only if there is no issues with fragments\n if (!curLevel.fragmentError) {\n curLevel.loadError = 0;\n this.levelRetryCount = 0;\n }\n var newDetails = data.details;\n // if current playlist is a live playlist, arm a timer to reload it\n if (newDetails.live) {\n var targetdurationMs = 1000 * (newDetails.averagetargetduration ? newDetails.averagetargetduration : newDetails.targetduration);\n var reloadInterval = targetdurationMs, curDetails = curLevel.details;\n if (curDetails && newDetails.endSN === curDetails.endSN) {\n // follow HLS Spec, If the client reloads a Playlist file and finds that it has not\n // changed then it MUST wait for a period of one-half the target\n // duration before retrying.\n reloadInterval /= 2;\n logger_1.logger.log('same live playlist, reload twice faster');\n }\n // decrement reloadInterval with level loading delay\n reloadInterval -= performance.now() - data.stats.trequest;\n // in any case, don't reload more than half of target duration\n reloadInterval = Math.max(targetdurationMs / 2, Math.round(reloadInterval));\n logger_1.logger.log(\"live playlist, reload in \" + Math.round(reloadInterval) + \" ms\");\n this.timer = setTimeout(function () { return _this.loadLevel(); }, reloadInterval);\n }\n else {\n this.clearTimer();\n }\n };\n LevelController.prototype.onAudioTrackSwitched = function (data) {\n var audioGroupId = this.hls.audioTracks[data.id].groupId;\n var currentLevel = this.hls.levels[this.currentLevelIndex];\n if (!currentLevel) {\n return;\n }\n if (currentLevel.audioGroupIds) {\n var urlId = currentLevel.audioGroupIds.findIndex(function (groupId) { return groupId === audioGroupId; });\n if (urlId !== currentLevel.urlId) {\n currentLevel.urlId = urlId;\n this.startLoad();\n }\n }\n };\n LevelController.prototype.loadLevel = function () {\n logger_1.logger.debug('call to loadLevel');\n if (this.currentLevelIndex !== null && this.canload) {\n var levelObject = this._levels[this.currentLevelIndex];\n if (typeof levelObject === 'object' &&\n levelObject.url.length > 0) {\n var level = this.currentLevelIndex;\n var id = levelObject.urlId;\n var url = levelObject.url[id];\n logger_1.logger.log(\"Attempt loading level index \" + level + \" with URL-id \" + id);\n // console.log('Current audio track group ID:', this.hls.audioTracks[this.hls.audioTrack].groupId);\n // console.log('New video quality level audio group id:', levelObject.attrs.AUDIO, level);\n this.hls.trigger(events_1.default.LEVEL_LOADING, { url: url, level: level, id: id });\n }\n }\n };\n Object.defineProperty(LevelController.prototype, \"nextLoadLevel\", {\n get: function () {\n if (this.manualLevelIndex !== -1) {\n return this.manualLevelIndex;\n }\n else {\n return this.hls.nextAutoLevel;\n }\n },\n set: function (nextLevel) {\n this.level = nextLevel;\n if (this.manualLevelIndex === -1) {\n this.hls.nextAutoLevel = nextLevel;\n }\n },\n enumerable: true,\n configurable: true\n });\n return LevelController;\n}(event_handler_1.default));\nexports.default = LevelController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/level-helper.js\":\n/*!****************************************!*\\\n !*** ./src/controller/level-helper.js ***!\n \\****************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/**\n * @module LevelHelper\n *\n * Providing methods dealing with playlist sliding and drift\n *\n * TODO: Create an actual `Level` class/model that deals with all this logic in an object-oriented-manner.\n *\n * */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nfunction addGroupId(level, type, id) {\n switch (type) {\n case 'audio':\n if (!level.audioGroupIds) {\n level.audioGroupIds = [];\n }\n level.audioGroupIds.push(id);\n break;\n case 'text':\n if (!level.textGroupIds) {\n level.textGroupIds = [];\n }\n level.textGroupIds.push(id);\n break;\n }\n}\nexports.addGroupId = addGroupId;\nfunction updatePTS(fragments, fromIdx, toIdx) {\n var fragFrom = fragments[fromIdx], fragTo = fragments[toIdx], fragToPTS = fragTo.startPTS;\n // if we know startPTS[toIdx]\n if (Number.isFinite(fragToPTS)) {\n // update fragment duration.\n // it helps to fix drifts between playlist reported duration and fragment real duration\n if (toIdx > fromIdx) {\n fragFrom.duration = fragToPTS - fragFrom.start;\n if (fragFrom.duration < 0) {\n logger_1.logger.warn(\"negative duration computed for frag \" + fragFrom.sn + \",level \" + fragFrom.level + \", there should be some duration drift between playlist and fragment!\");\n }\n }\n else {\n fragTo.duration = fragFrom.start - fragToPTS;\n if (fragTo.duration < 0) {\n logger_1.logger.warn(\"negative duration computed for frag \" + fragTo.sn + \",level \" + fragTo.level + \", there should be some duration drift between playlist and fragment!\");\n }\n }\n }\n else {\n // we dont know startPTS[toIdx]\n if (toIdx > fromIdx) {\n fragTo.start = fragFrom.start + fragFrom.duration;\n }\n else {\n fragTo.start = Math.max(fragFrom.start - fragTo.duration, 0);\n }\n }\n}\nexports.updatePTS = updatePTS;\nfunction updateFragPTSDTS(details, frag, startPTS, endPTS, startDTS, endDTS) {\n // update frag PTS/DTS\n var maxStartPTS = startPTS;\n if (Number.isFinite(frag.startPTS)) {\n // delta PTS between audio and video\n var deltaPTS = Math.abs(frag.startPTS - startPTS);\n if (!Number.isFinite(frag.deltaPTS)) {\n frag.deltaPTS = deltaPTS;\n }\n else {\n frag.deltaPTS = Math.max(deltaPTS, frag.deltaPTS);\n }\n maxStartPTS = Math.max(startPTS, frag.startPTS);\n startPTS = Math.min(startPTS, frag.startPTS);\n endPTS = Math.max(endPTS, frag.endPTS);\n startDTS = Math.min(startDTS, frag.startDTS);\n endDTS = Math.max(endDTS, frag.endDTS);\n }\n var drift = startPTS - frag.start;\n frag.start = frag.startPTS = startPTS;\n frag.maxStartPTS = maxStartPTS;\n frag.endPTS = endPTS;\n frag.startDTS = startDTS;\n frag.endDTS = endDTS;\n frag.duration = endPTS - startPTS;\n var sn = frag.sn;\n // exit if sn out of range\n if (!details || sn < details.startSN || sn > details.endSN) {\n return 0;\n }\n var fragIdx, fragments, i;\n fragIdx = sn - details.startSN;\n fragments = details.fragments;\n // update frag reference in fragments array\n // rationale is that fragments array might not contain this frag object.\n // this will happen if playlist has been refreshed between frag loading and call to updateFragPTSDTS()\n // if we don't update frag, we won't be able to propagate PTS info on the playlist\n // resulting in invalid sliding computation\n fragments[fragIdx] = frag;\n // adjust fragment PTS/duration from seqnum-1 to frag 0\n for (i = fragIdx; i > 0; i--) {\n updatePTS(fragments, i, i - 1);\n }\n // adjust fragment PTS/duration from seqnum to last frag\n for (i = fragIdx; i < fragments.length - 1; i++) {\n updatePTS(fragments, i, i + 1);\n }\n details.PTSKnown = true;\n return drift;\n}\nexports.updateFragPTSDTS = updateFragPTSDTS;\nfunction mergeDetails(oldDetails, newDetails) {\n var start = Math.max(oldDetails.startSN, newDetails.startSN) - newDetails.startSN, end = Math.min(oldDetails.endSN, newDetails.endSN) - newDetails.startSN, delta = newDetails.startSN - oldDetails.startSN, oldfragments = oldDetails.fragments, newfragments = newDetails.fragments, ccOffset = 0, PTSFrag;\n // potentially retrieve cached initsegment\n if (newDetails.initSegment && oldDetails.initSegment) {\n newDetails.initSegment = oldDetails.initSegment;\n }\n // check if old/new playlists have fragments in common\n if (end < start) {\n newDetails.PTSKnown = false;\n return;\n }\n // loop through overlapping SN and update startPTS , cc, and duration if any found\n for (var i = start; i <= end; i++) {\n var oldFrag = oldfragments[delta + i], newFrag = newfragments[i];\n if (newFrag && oldFrag) {\n ccOffset = oldFrag.cc - newFrag.cc;\n if (Number.isFinite(oldFrag.startPTS)) {\n newFrag.start = newFrag.startPTS = oldFrag.startPTS;\n newFrag.endPTS = oldFrag.endPTS;\n newFrag.duration = oldFrag.duration;\n newFrag.backtracked = oldFrag.backtracked;\n newFrag.dropped = oldFrag.dropped;\n PTSFrag = newFrag;\n }\n }\n }\n if (ccOffset) {\n logger_1.logger.log('discontinuity sliding from playlist, take drift into account');\n for (i = 0; i < newfragments.length; i++) {\n newfragments[i].cc += ccOffset;\n }\n }\n // if at least one fragment contains PTS info, recompute PTS information for all fragments\n if (PTSFrag) {\n updateFragPTSDTS(newDetails, PTSFrag, PTSFrag.startPTS, PTSFrag.endPTS, PTSFrag.startDTS, PTSFrag.endDTS);\n }\n else {\n // ensure that delta is within oldfragments range\n // also adjust sliding in case delta is 0 (we could have old=[50-60] and new=old=[50-61])\n // in that case we also need to adjust start offset of all fragments\n if (delta >= 0 && delta < oldfragments.length) {\n // adjust start by sliding offset\n var sliding = oldfragments[delta].start;\n for (i = 0; i < newfragments.length; i++) {\n newfragments[i].start += sliding;\n }\n }\n }\n // if we are here, it means we have fragments overlapping between\n // old and new level. reliable PTS info is thus relying on old level\n newDetails.PTSKnown = oldDetails.PTSKnown;\n}\nexports.mergeDetails = mergeDetails;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/stream-controller.js\":\n/*!*********************************************!*\\\n !*** ./src/controller/stream-controller.js ***!\n \\*********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Stream Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ../utils/binary-search */ \"./src/utils/binary-search.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar demuxer_1 = __webpack_require__(/*! ../demux/demuxer */ \"./src/demux/demuxer.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar fragment_1 = __webpack_require__(/*! ../loader/fragment */ \"./src/loader/fragment.js\");\nvar playlist_loader_1 = __webpack_require__(/*! ../loader/playlist-loader */ \"./src/loader/playlist-loader.js\");\nvar LevelHelper = __webpack_require__(/*! ./level-helper */ \"./src/controller/level-helper.js\");\nvar time_ranges_1 = __webpack_require__(/*! ../utils/time-ranges */ \"./src/utils/time-ranges.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar discontinuities_1 = __webpack_require__(/*! ../utils/discontinuities */ \"./src/utils/discontinuities.js\");\nvar fragment_finders_1 = __webpack_require__(/*! ./fragment-finders */ \"./src/controller/fragment-finders.js\");\nvar gap_controller_1 = __webpack_require__(/*! ./gap-controller */ \"./src/controller/gap-controller.js\");\nvar base_stream_controller_1 = __webpack_require__(/*! ./base-stream-controller */ \"./src/controller/base-stream-controller.js\");\nvar TICK_INTERVAL = 100; // how often to tick in ms\nvar StreamController = /** @class */ (function (_super) {\n __extends(StreamController, _super);\n function StreamController(hls, fragmentTracker) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_PARSED, events_1.default.LEVEL_LOADED, events_1.default.KEY_LOADED, events_1.default.FRAG_LOADED, events_1.default.FRAG_LOAD_EMERGENCY_ABORTED, events_1.default.FRAG_PARSING_INIT_SEGMENT, events_1.default.FRAG_PARSING_DATA, events_1.default.FRAG_PARSED, events_1.default.ERROR, events_1.default.AUDIO_TRACK_SWITCHING, events_1.default.AUDIO_TRACK_SWITCHED, events_1.default.BUFFER_CREATED, events_1.default.BUFFER_APPENDED, events_1.default.BUFFER_FLUSHED) || this;\n _this.fragmentTracker = fragmentTracker;\n _this.config = hls.config;\n _this.audioCodecSwap = false;\n _this._state = base_stream_controller_1.State.STOPPED;\n _this.stallReported = false;\n _this.gapController = null;\n return _this;\n }\n StreamController.prototype.onHandlerDestroying = function () {\n this.stopLoad();\n _super.prototype.onHandlerDestroying.call(this);\n };\n StreamController.prototype.onHandlerDestroyed = function () {\n this.state = base_stream_controller_1.State.STOPPED;\n this.fragmentTracker = null;\n _super.prototype.onHandlerDestroyed.call(this);\n };\n StreamController.prototype.startLoad = function (startPosition) {\n if (this.levels) {\n var lastCurrentTime = this.lastCurrentTime, hls_1 = this.hls;\n this.stopLoad();\n this.setInterval(TICK_INTERVAL);\n this.level = -1;\n this.fragLoadError = 0;\n if (!this.startFragRequested) {\n // determine load level\n var startLevel = hls_1.startLevel;\n if (startLevel === -1) {\n // -1 : guess start Level by doing a bitrate test by loading first fragment of lowest quality level\n startLevel = 0;\n this.bitrateTest = true;\n }\n // set new level to playlist loader : this will trigger start level load\n // hls.nextLoadLevel remains until it is set to a new value or until a new frag is successfully loaded\n this.level = hls_1.nextLoadLevel = startLevel;\n this.loadedmetadata = false;\n }\n // if startPosition undefined but lastCurrentTime set, set startPosition to last currentTime\n if (lastCurrentTime > 0 && startPosition === -1) {\n logger_1.logger.log(\"override startPosition with lastCurrentTime @\" + lastCurrentTime.toFixed(3));\n startPosition = lastCurrentTime;\n }\n this.state = base_stream_controller_1.State.IDLE;\n this.nextLoadPosition = this.startPosition = this.lastCurrentTime = startPosition;\n this.tick();\n }\n else {\n this.forceStartLoad = true;\n this.state = base_stream_controller_1.State.STOPPED;\n }\n };\n StreamController.prototype.stopLoad = function () {\n var frag = this.fragCurrent;\n if (frag) {\n if (frag.loader) {\n frag.loader.abort();\n }\n this.fragmentTracker.removeFragment(frag);\n this.fragCurrent = null;\n }\n this.fragPrevious = null;\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n this.clearInterval();\n this.state = base_stream_controller_1.State.STOPPED;\n this.forceStartLoad = false;\n };\n StreamController.prototype.doTick = function () {\n switch (this.state) {\n case base_stream_controller_1.State.BUFFER_FLUSHING:\n // in buffer flushing state, reset fragLoadError counter\n this.fragLoadError = 0;\n break;\n case base_stream_controller_1.State.IDLE:\n this._doTickIdle();\n break;\n case base_stream_controller_1.State.WAITING_LEVEL:\n var level = this.levels[this.level];\n // check if playlist is already loaded\n if (level && level.details) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY:\n var now = window.performance.now();\n var retryDate = this.retryDate;\n // if current time is gt than retryDate, or if media seeking let's switch to IDLE state to retry loading\n if (!retryDate || (now >= retryDate) || (this.media && this.media.seeking)) {\n logger_1.logger.log('mediaController: retryDate reached, switch back to IDLE state');\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.ERROR:\n case base_stream_controller_1.State.STOPPED:\n case base_stream_controller_1.State.FRAG_LOADING:\n case base_stream_controller_1.State.PARSING:\n case base_stream_controller_1.State.PARSED:\n case base_stream_controller_1.State.ENDED:\n break;\n default:\n break;\n }\n // check buffer\n this._checkBuffer();\n // check/update current fragment\n this._checkFragmentChanged();\n };\n // Ironically the \"idle\" state is the on we do the most logic in it seems ....\n // NOTE: Maybe we could rather schedule a check for buffer length after half of the currently\n // played segment, or on pause/play/seek instead of naively checking every 100ms?\n StreamController.prototype._doTickIdle = function () {\n var hls = this.hls, config = hls.config, media = this.media;\n // if start level not parsed yet OR\n // if video not attached AND start fragment already requested OR start frag prefetch disable\n // exit loop, as we either need more info (level not parsed) or we need media to be attached to load new fragment\n if (this.levelLastLoaded === undefined || (!media && (this.startFragRequested || !config.startFragPrefetch))) {\n return;\n }\n // if we have not yet loaded any fragment, start loading from start position\n var pos;\n if (this.loadedmetadata) {\n pos = media.currentTime;\n }\n else {\n pos = this.nextLoadPosition;\n }\n // determine next load level\n var level = hls.nextLoadLevel, levelInfo = this.levels[level];\n if (!levelInfo) {\n return;\n }\n var levelBitrate = levelInfo.bitrate, maxBufLen;\n // compute max Buffer Length that we could get from this load level, based on level bitrate. don't buffer more than 60 MB and more than 30s\n if (levelBitrate) {\n maxBufLen = Math.max(8 * config.maxBufferSize / levelBitrate, config.maxBufferLength);\n }\n else {\n maxBufLen = config.maxBufferLength;\n }\n maxBufLen = Math.min(maxBufLen, config.maxMaxBufferLength);\n // determine next candidate fragment to be loaded, based on current position and end of buffer position\n // ensure up to `config.maxMaxBufferLength` of buffer upfront\n var bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(this.mediaBuffer ? this.mediaBuffer : media, pos, config.maxBufferHole), bufferLen = bufferInfo.len;\n // Stay idle if we are still with buffer margins\n if (bufferLen >= maxBufLen) {\n return;\n }\n // if buffer length is less than maxBufLen try to load a new fragment ...\n logger_1.logger.trace(\"buffer length of \" + bufferLen.toFixed(3) + \" is below max of \" + maxBufLen.toFixed(3) + \". checking for more payload ...\");\n // set next load level : this will trigger a playlist load if needed\n this.level = hls.nextLoadLevel = level;\n var levelDetails = levelInfo.details;\n // if level info not retrieved yet, switch state and wait for level retrieval\n // if live playlist, ensure that new playlist has been refreshed to avoid loading/try to load\n // a useless and outdated fragment (that might even introduce load error if it is already out of the live playlist)\n if (!levelDetails || (levelDetails.live && this.levelLastLoaded !== level)) {\n this.state = base_stream_controller_1.State.WAITING_LEVEL;\n return;\n }\n if (this._streamEnded(bufferInfo, levelDetails)) {\n var data = {};\n if (this.altAudio) {\n data.type = 'video';\n }\n this.hls.trigger(events_1.default.BUFFER_EOS, data);\n this.state = base_stream_controller_1.State.ENDED;\n return;\n }\n // if we have the levelDetails for the selected variant, lets continue enrichen our stream (load keys/fragments or trigger EOS, etc..)\n this._fetchPayloadOrEos(pos, bufferInfo, levelDetails);\n };\n StreamController.prototype._fetchPayloadOrEos = function (pos, bufferInfo, levelDetails) {\n var fragPrevious = this.fragPrevious, level = this.level, fragments = levelDetails.fragments, fragLen = fragments.length;\n // empty playlist\n if (fragLen === 0) {\n return;\n }\n // find fragment index, contiguous with end of buffer position\n var start = fragments[0].start, end = fragments[fragLen - 1].start + fragments[fragLen - 1].duration, bufferEnd = bufferInfo.end, frag;\n if (levelDetails.initSegment && !levelDetails.initSegment.data) {\n frag = levelDetails.initSegment;\n }\n else {\n // in case of live playlist we need to ensure that requested position is not located before playlist start\n if (levelDetails.live) {\n var initialLiveManifestSize = this.config.initialLiveManifestSize;\n if (fragLen < initialLiveManifestSize) {\n logger_1.logger.warn(\"Can not start playback of a level, reason: not enough fragments \" + fragLen + \" < \" + initialLiveManifestSize);\n return;\n }\n frag = this._ensureFragmentAtLivePoint(levelDetails, bufferEnd, start, end, fragPrevious, fragments, fragLen);\n // if it explicitely returns null don't load any fragment and exit function now\n if (frag === null) {\n return;\n }\n }\n else {\n // VoD playlist: if bufferEnd before start of playlist, load first fragment\n if (bufferEnd < start) {\n frag = fragments[0];\n }\n }\n }\n if (!frag) {\n frag = this._findFragment(start, fragPrevious, fragLen, fragments, bufferEnd, end, levelDetails);\n }\n if (frag) {\n if (frag.encrypted) {\n logger_1.logger.log(\"Loading key for \" + frag.sn + \" of [\" + levelDetails.startSN + \" ,\" + levelDetails.endSN + \"],level \" + level);\n this._loadKey(frag);\n }\n else {\n logger_1.logger.log(\"Loading \" + frag.sn + \" of [\" + levelDetails.startSN + \" ,\" + levelDetails.endSN + \"],level \" + level + \", currentTime:\" + pos.toFixed(3) + \",bufferEnd:\" + bufferEnd.toFixed(3));\n this._loadFragment(frag);\n }\n }\n };\n StreamController.prototype._ensureFragmentAtLivePoint = function (levelDetails, bufferEnd, start, end, fragPrevious, fragments, fragLen) {\n var config = this.hls.config, media = this.media;\n var frag;\n // check if requested position is within seekable boundaries :\n // logger.log(`start/pos/bufEnd/seeking:${start.toFixed(3)}/${pos.toFixed(3)}/${bufferEnd.toFixed(3)}/${this.media.seeking}`);\n var maxLatency = config.liveMaxLatencyDuration !== undefined ? config.liveMaxLatencyDuration : config.liveMaxLatencyDurationCount * levelDetails.targetduration;\n if (bufferEnd < Math.max(start - config.maxFragLookUpTolerance, end - maxLatency)) {\n var liveSyncPosition = this.liveSyncPosition = this.computeLivePosition(start, levelDetails);\n logger_1.logger.log(\"buffer end: \" + bufferEnd.toFixed(3) + \" is located too far from the end of live sliding playlist, reset currentTime to : \" + liveSyncPosition.toFixed(3));\n bufferEnd = liveSyncPosition;\n if (media && media.readyState && media.duration > liveSyncPosition) {\n media.currentTime = liveSyncPosition;\n }\n this.nextLoadPosition = liveSyncPosition;\n }\n // if end of buffer greater than live edge, don't load any fragment\n // this could happen if live playlist intermittently slides in the past.\n // level 1 loaded [182580161,182580167]\n // level 1 loaded [182580162,182580169]\n // Loading 182580168 of [182580162 ,182580169],level 1 ..\n // Loading 182580169 of [182580162 ,182580169],level 1 ..\n // level 1 loaded [182580162,182580168] <============= here we should have bufferEnd > end. in that case break to avoid reloading 182580168\n // level 1 loaded [182580164,182580171]\n //\n // don't return null in case media not loaded yet (readystate === 0)\n if (levelDetails.PTSKnown && bufferEnd > end && media && media.readyState) {\n return null;\n }\n if (this.startFragRequested && !levelDetails.PTSKnown) {\n /* we are switching level on live playlist, but we don't have any PTS info for that quality level ...\n try to load frag matching with next SN.\n even if SN are not synchronized between playlists, loading this frag will help us\n compute playlist sliding and find the right one after in case it was not the right consecutive one */\n if (fragPrevious) {\n if (levelDetails.hasProgramDateTime) {\n // Relies on PDT in order to switch bitrates (Support EXT-X-DISCONTINUITY without EXT-X-DISCONTINUITY-SEQUENCE)\n logger_1.logger.log(\"live playlist, switching playlist, load frag with same PDT: \" + fragPrevious.programDateTime);\n frag = fragment_finders_1.findFragmentByPDT(fragments, fragPrevious.endProgramDateTime, config.maxFragLookUpTolerance);\n }\n else {\n // Uses buffer and sequence number to calculate switch segment (required if using EXT-X-DISCONTINUITY-SEQUENCE)\n var targetSN = fragPrevious.sn + 1;\n if (targetSN >= levelDetails.startSN && targetSN <= levelDetails.endSN) {\n var fragNext = fragments[targetSN - levelDetails.startSN];\n if (fragPrevious.cc === fragNext.cc) {\n frag = fragNext;\n logger_1.logger.log(\"live playlist, switching playlist, load frag with next SN: \" + frag.sn);\n }\n }\n // next frag SN not available (or not with same continuity counter)\n // look for a frag sharing the same CC\n if (!frag) {\n frag = binary_search_1.default.search(fragments, function (frag) {\n return fragPrevious.cc - frag.cc;\n });\n if (frag) {\n logger_1.logger.log(\"live playlist, switching playlist, load frag with same CC: \" + frag.sn);\n }\n }\n }\n }\n if (!frag) {\n /* we have no idea about which fragment should be loaded.\n so let's load mid fragment. it will help computing playlist sliding and find the right one\n */\n frag = fragments[Math.min(fragLen - 1, Math.round(fragLen / 2))];\n logger_1.logger.log(\"live playlist, switching playlist, unknown, load middle frag : \" + frag.sn);\n }\n }\n return frag;\n };\n StreamController.prototype._findFragment = function (start, fragPrevious, fragLen, fragments, bufferEnd, end, levelDetails) {\n var config = this.hls.config;\n var frag;\n if (bufferEnd < end) {\n var lookupTolerance = (bufferEnd > end - config.maxFragLookUpTolerance) ? 0 : config.maxFragLookUpTolerance;\n // Remove the tolerance if it would put the bufferEnd past the actual end of stream\n // Uses buffer and sequence number to calculate switch segment (required if using EXT-X-DISCONTINUITY-SEQUENCE)\n frag = fragment_finders_1.findFragmentByPTS(fragPrevious, fragments, bufferEnd, lookupTolerance);\n }\n else {\n // reach end of playlist\n frag = fragments[fragLen - 1];\n }\n if (frag) {\n var curSNIdx = frag.sn - levelDetails.startSN;\n var sameLevel = fragPrevious && frag.level === fragPrevious.level;\n var prevFrag = fragments[curSNIdx - 1];\n var nextFrag = fragments[curSNIdx + 1];\n // logger.log('find SN matching with pos:' + bufferEnd + ':' + frag.sn);\n if (fragPrevious && frag.sn === fragPrevious.sn) {\n if (sameLevel && !frag.backtracked) {\n if (frag.sn < levelDetails.endSN) {\n var deltaPTS = fragPrevious.deltaPTS;\n // if there is a significant delta between audio and video, larger than max allowed hole,\n // and if previous remuxed fragment did not start with a keyframe. (fragPrevious.dropped)\n // let's try to load previous fragment again to get last keyframe\n // then we will reload again current fragment (that way we should be able to fill the buffer hole ...)\n if (deltaPTS && deltaPTS > config.maxBufferHole && fragPrevious.dropped && curSNIdx) {\n frag = prevFrag;\n logger_1.logger.warn('SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this');\n }\n else {\n frag = nextFrag;\n logger_1.logger.log(\"SN just loaded, load next one: \" + frag.sn, frag);\n }\n }\n else {\n frag = null;\n }\n }\n else if (frag.backtracked) {\n // Only backtrack a max of 1 consecutive fragment to prevent sliding back too far when little or no frags start with keyframes\n if (nextFrag && nextFrag.backtracked) {\n logger_1.logger.warn(\"Already backtracked from fragment \" + nextFrag.sn + \", will not backtrack to fragment \" + frag.sn + \". Loading fragment \" + nextFrag.sn);\n frag = nextFrag;\n }\n else {\n // If a fragment has dropped frames and it's in a same level/sequence, load the previous fragment to try and find the keyframe\n // Reset the dropped count now since it won't be reset until we parse the fragment again, which prevents infinite backtracking on the same segment\n logger_1.logger.warn('Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe');\n frag.dropped = 0;\n if (prevFrag) {\n frag = prevFrag;\n frag.backtracked = true;\n }\n else if (curSNIdx) {\n // can't backtrack on very first fragment\n frag = null;\n }\n }\n }\n }\n }\n return frag;\n };\n StreamController.prototype._loadKey = function (frag) {\n this.state = base_stream_controller_1.State.KEY_LOADING;\n this.hls.trigger(events_1.default.KEY_LOADING, { frag: frag });\n };\n StreamController.prototype._loadFragment = function (frag) {\n // Check if fragment is not loaded\n var fragState = this.fragmentTracker.getState(frag);\n this.fragCurrent = frag;\n this.startFragRequested = true;\n // Don't update nextLoadPosition for fragments which are not buffered\n if (Number.isFinite(frag.sn) && !frag.bitrateTest) {\n this.nextLoadPosition = frag.start + frag.duration;\n }\n // Allow backtracked fragments to load\n if (frag.backtracked || fragState === fragment_tracker_1.FragmentState.NOT_LOADED || fragState === fragment_tracker_1.FragmentState.PARTIAL) {\n frag.autoLevel = this.hls.autoLevelEnabled;\n frag.bitrateTest = this.bitrateTest;\n this.hls.trigger(events_1.default.FRAG_LOADING, { frag: frag });\n // lazy demuxer init, as this could take some time ... do it during frag loading\n if (!this.demuxer) {\n this.demuxer = new demuxer_1.default(this.hls, 'main');\n }\n this.state = base_stream_controller_1.State.FRAG_LOADING;\n }\n else if (fragState === fragment_tracker_1.FragmentState.APPENDING) {\n // Lower the buffer size and try again\n if (this._reduceMaxBufferLength(frag.duration)) {\n this.fragmentTracker.removeFragment(frag);\n }\n }\n };\n Object.defineProperty(StreamController.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n set: function (nextState) {\n if (this.state !== nextState) {\n var previousState = this.state;\n this._state = nextState;\n logger_1.logger.log(\"main stream:\" + previousState + \"->\" + nextState);\n this.hls.trigger(events_1.default.STREAM_STATE_TRANSITION, { previousState: previousState, nextState: nextState });\n }\n },\n enumerable: true,\n configurable: true\n });\n StreamController.prototype.getBufferedFrag = function (position) {\n return this.fragmentTracker.getBufferedFrag(position, playlist_loader_1.default.LevelType.MAIN);\n };\n Object.defineProperty(StreamController.prototype, \"currentLevel\", {\n get: function () {\n var media = this.media;\n if (media) {\n var frag = this.getBufferedFrag(media.currentTime);\n if (frag) {\n return frag.level;\n }\n }\n return -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(StreamController.prototype, \"nextBufferedFrag\", {\n get: function () {\n var media = this.media;\n if (media) {\n // first get end range of current fragment\n return this.followingBufferedFrag(this.getBufferedFrag(media.currentTime));\n }\n else {\n return null;\n }\n },\n enumerable: true,\n configurable: true\n });\n StreamController.prototype.followingBufferedFrag = function (frag) {\n if (frag) {\n // try to get range of next fragment (500ms after this range)\n return this.getBufferedFrag(frag.endPTS + 0.5);\n }\n return null;\n };\n Object.defineProperty(StreamController.prototype, \"nextLevel\", {\n get: function () {\n var frag = this.nextBufferedFrag;\n if (frag) {\n return frag.level;\n }\n else {\n return -1;\n }\n },\n enumerable: true,\n configurable: true\n });\n StreamController.prototype._checkFragmentChanged = function () {\n var fragPlayingCurrent, currentTime, video = this.media;\n if (video && video.readyState && video.seeking === false) {\n currentTime = video.currentTime;\n /* if video element is in seeked state, currentTime can only increase.\n (assuming that playback rate is positive ...)\n As sometimes currentTime jumps back to zero after a\n media decode error, check this, to avoid seeking back to\n wrong position after a media decode error\n */\n if (currentTime > this.lastCurrentTime) {\n this.lastCurrentTime = currentTime;\n }\n if (buffer_helper_1.BufferHelper.isBuffered(video, currentTime)) {\n fragPlayingCurrent = this.getBufferedFrag(currentTime);\n }\n else if (buffer_helper_1.BufferHelper.isBuffered(video, currentTime + 0.1)) {\n /* ensure that FRAG_CHANGED event is triggered at startup,\n when first video frame is displayed and playback is paused.\n add a tolerance of 100ms, in case current position is not buffered,\n check if current pos+100ms is buffered and use that buffer range\n for FRAG_CHANGED event reporting */\n fragPlayingCurrent = this.getBufferedFrag(currentTime + 0.1);\n }\n if (fragPlayingCurrent) {\n var fragPlaying = fragPlayingCurrent;\n if (fragPlaying !== this.fragPlaying) {\n this.hls.trigger(events_1.default.FRAG_CHANGED, { frag: fragPlaying });\n var fragPlayingLevel = fragPlaying.level;\n if (!this.fragPlaying || this.fragPlaying.level !== fragPlayingLevel) {\n this.hls.trigger(events_1.default.LEVEL_SWITCHED, { level: fragPlayingLevel });\n }\n this.fragPlaying = fragPlaying;\n }\n }\n }\n };\n /*\n on immediate level switch :\n - pause playback if playing\n - cancel any pending load request\n - and trigger a buffer flush\n */\n StreamController.prototype.immediateLevelSwitch = function () {\n logger_1.logger.log('immediateLevelSwitch');\n if (!this.immediateSwitch) {\n this.immediateSwitch = true;\n var media = this.media, previouslyPaused = void 0;\n if (media) {\n previouslyPaused = media.paused;\n media.pause();\n }\n else {\n // don't restart playback after instant level switch in case media not attached\n previouslyPaused = true;\n }\n this.previouslyPaused = previouslyPaused;\n }\n var fragCurrent = this.fragCurrent;\n if (fragCurrent && fragCurrent.loader) {\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n // flush everything\n this.flushMainBuffer(0, Number.POSITIVE_INFINITY);\n };\n /**\n * on immediate level switch end, after new fragment has been buffered:\n * - nudge video decoder by slightly adjusting video currentTime (if currentTime buffered)\n * - resume the playback if needed\n */\n StreamController.prototype.immediateLevelSwitchEnd = function () {\n var media = this.media;\n if (media && media.buffered.length) {\n this.immediateSwitch = false;\n if (buffer_helper_1.BufferHelper.isBuffered(media, media.currentTime)) {\n // only nudge if currentTime is buffered\n media.currentTime -= 0.0001;\n }\n if (!this.previouslyPaused) {\n media.play();\n }\n }\n };\n /**\n * try to switch ASAP without breaking video playback:\n * in order to ensure smooth but quick level switching,\n * we need to find the next flushable buffer range\n * we should take into account new segment fetch time\n */\n StreamController.prototype.nextLevelSwitch = function () {\n var media = this.media;\n // ensure that media is defined and that metadata are available (to retrieve currentTime)\n if (media && media.readyState) {\n var fetchdelay = void 0, fragPlayingCurrent = void 0, nextBufferedFrag = void 0;\n fragPlayingCurrent = this.getBufferedFrag(media.currentTime);\n if (fragPlayingCurrent && fragPlayingCurrent.startPTS > 1) {\n // flush buffer preceding current fragment (flush until current fragment start offset)\n // minus 1s to avoid video freezing, that could happen if we flush keyframe of current video ...\n this.flushMainBuffer(0, fragPlayingCurrent.startPTS - 1);\n }\n if (!media.paused) {\n // add a safety delay of 1s\n var nextLevelId = this.hls.nextLoadLevel, nextLevel = this.levels[nextLevelId], fragLastKbps = this.fragLastKbps;\n if (fragLastKbps && this.fragCurrent) {\n fetchdelay = this.fragCurrent.duration * nextLevel.bitrate / (1000 * fragLastKbps) + 1;\n }\n else {\n fetchdelay = 0;\n }\n }\n else {\n fetchdelay = 0;\n }\n // logger.log('fetchdelay:'+fetchdelay);\n // find buffer range that will be reached once new fragment will be fetched\n nextBufferedFrag = this.getBufferedFrag(media.currentTime + fetchdelay);\n if (nextBufferedFrag) {\n // we can flush buffer range following this one without stalling playback\n nextBufferedFrag = this.followingBufferedFrag(nextBufferedFrag);\n if (nextBufferedFrag) {\n // if we are here, we can also cancel any loading/demuxing in progress, as they are useless\n var fragCurrent = this.fragCurrent;\n if (fragCurrent && fragCurrent.loader) {\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n // start flush position is the start PTS of next buffered frag.\n // we use frag.naxStartPTS which is max(audio startPTS, video startPTS).\n // in case there is a small PTS Delta between audio and video, using maxStartPTS avoids flushing last samples from current fragment\n this.flushMainBuffer(nextBufferedFrag.maxStartPTS, Number.POSITIVE_INFINITY);\n }\n }\n }\n };\n StreamController.prototype.flushMainBuffer = function (startOffset, endOffset) {\n this.state = base_stream_controller_1.State.BUFFER_FLUSHING;\n var flushScope = { startOffset: startOffset, endOffset: endOffset };\n // if alternate audio tracks are used, only flush video, otherwise flush everything\n if (this.altAudio) {\n flushScope.type = 'video';\n }\n this.hls.trigger(events_1.default.BUFFER_FLUSHING, flushScope);\n };\n StreamController.prototype.onMediaAttached = function (data) {\n var media = this.media = this.mediaBuffer = data.media;\n this.onvseeking = this.onMediaSeeking.bind(this);\n this.onvseeked = this.onMediaSeeked.bind(this);\n this.onvended = this.onMediaEnded.bind(this);\n media.addEventListener('seeking', this.onvseeking);\n media.addEventListener('seeked', this.onvseeked);\n media.addEventListener('ended', this.onvended);\n var config = this.config;\n if (this.levels && config.autoStartLoad) {\n this.hls.startLoad(config.startPosition);\n }\n this.gapController = new gap_controller_1.default(config, media, this.fragmentTracker, this.hls);\n };\n StreamController.prototype.onMediaDetaching = function () {\n var media = this.media;\n if (media && media.ended) {\n logger_1.logger.log('MSE detaching and video ended, reset startPosition');\n this.startPosition = this.lastCurrentTime = 0;\n }\n // reset fragment backtracked flag\n var levels = this.levels;\n if (levels) {\n levels.forEach(function (level) {\n if (level.details) {\n level.details.fragments.forEach(function (fragment) {\n fragment.backtracked = undefined;\n });\n }\n });\n }\n // remove video listeners\n if (media) {\n media.removeEventListener('seeking', this.onvseeking);\n media.removeEventListener('seeked', this.onvseeked);\n media.removeEventListener('ended', this.onvended);\n this.onvseeking = this.onvseeked = this.onvended = null;\n }\n this.media = this.mediaBuffer = null;\n this.loadedmetadata = false;\n this.stopLoad();\n };\n StreamController.prototype.onMediaSeeked = function () {\n var media = this.media, currentTime = media ? media.currentTime : undefined;\n if (Number.isFinite(currentTime)) {\n logger_1.logger.log(\"media seeked to \" + currentTime.toFixed(3));\n }\n // tick to speed up FRAGMENT_PLAYING triggering\n this.tick();\n };\n StreamController.prototype.onManifestLoading = function () {\n // reset buffer on manifest loading\n logger_1.logger.log('trigger BUFFER_RESET');\n this.hls.trigger(events_1.default.BUFFER_RESET);\n this.fragmentTracker.removeAllFragments();\n this.stalled = false;\n this.startPosition = this.lastCurrentTime = 0;\n };\n StreamController.prototype.onManifestParsed = function (data) {\n var aac = false, heaac = false, codec;\n data.levels.forEach(function (level) {\n // detect if we have different kind of audio codecs used amongst playlists\n codec = level.audioCodec;\n if (codec) {\n if (codec.indexOf('mp4a.40.2') !== -1) {\n aac = true;\n }\n if (codec.indexOf('mp4a.40.5') !== -1) {\n heaac = true;\n }\n }\n });\n this.audioCodecSwitch = (aac && heaac);\n if (this.audioCodecSwitch) {\n logger_1.logger.log('both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC');\n }\n this.levels = data.levels;\n this.startFragRequested = false;\n var config = this.config;\n if (config.autoStartLoad || this.forceStartLoad) {\n this.hls.startLoad(config.startPosition);\n }\n };\n StreamController.prototype.onLevelLoaded = function (data) {\n var newDetails = data.details;\n var newLevelId = data.level;\n var lastLevel = this.levels[this.levelLastLoaded];\n var curLevel = this.levels[newLevelId];\n var duration = newDetails.totalduration;\n var sliding = 0;\n logger_1.logger.log(\"level \" + newLevelId + \" loaded [\" + newDetails.startSN + \",\" + newDetails.endSN + \"],duration:\" + duration);\n if (newDetails.live) {\n var curDetails = curLevel.details;\n if (curDetails && newDetails.fragments.length > 0) {\n // we already have details for that level, merge them\n LevelHelper.mergeDetails(curDetails, newDetails);\n sliding = newDetails.fragments[0].start;\n this.liveSyncPosition = this.computeLivePosition(sliding, curDetails);\n if (newDetails.PTSKnown && Number.isFinite(sliding)) {\n logger_1.logger.log(\"live playlist sliding:\" + sliding.toFixed(3));\n }\n else {\n logger_1.logger.log('live playlist - outdated PTS, unknown sliding');\n discontinuities_1.alignStream(this.fragPrevious, lastLevel, newDetails);\n }\n }\n else {\n logger_1.logger.log('live playlist - first load, unknown sliding');\n newDetails.PTSKnown = false;\n discontinuities_1.alignStream(this.fragPrevious, lastLevel, newDetails);\n }\n }\n else {\n newDetails.PTSKnown = false;\n }\n // override level info\n curLevel.details = newDetails;\n this.levelLastLoaded = newLevelId;\n this.hls.trigger(events_1.default.LEVEL_UPDATED, { details: newDetails, level: newLevelId });\n if (this.startFragRequested === false) {\n // compute start position if set to -1. use it straight away if value is defined\n if (this.startPosition === -1 || this.lastCurrentTime === -1) {\n // first, check if start time offset has been set in playlist, if yes, use this value\n var startTimeOffset = newDetails.startTimeOffset;\n if (Number.isFinite(startTimeOffset)) {\n if (startTimeOffset < 0) {\n logger_1.logger.log(\"negative start time offset \" + startTimeOffset + \", count from end of last fragment\");\n startTimeOffset = sliding + duration + startTimeOffset;\n }\n logger_1.logger.log(\"start time offset found in playlist, adjust startPosition to \" + startTimeOffset);\n this.startPosition = startTimeOffset;\n }\n else {\n // if live playlist, set start position to be fragment N-this.config.liveSyncDurationCount (usually 3)\n if (newDetails.live) {\n this.startPosition = this.computeLivePosition(sliding, newDetails);\n logger_1.logger.log(\"configure startPosition to \" + this.startPosition);\n }\n else {\n this.startPosition = 0;\n }\n }\n this.lastCurrentTime = this.startPosition;\n }\n this.nextLoadPosition = this.startPosition;\n }\n // only switch batck to IDLE state if we were waiting for level to start downloading a new fragment\n if (this.state === base_stream_controller_1.State.WAITING_LEVEL) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n // trigger handler right now\n this.tick();\n };\n StreamController.prototype.onKeyLoaded = function () {\n if (this.state === base_stream_controller_1.State.KEY_LOADING) {\n this.state = base_stream_controller_1.State.IDLE;\n this.tick();\n }\n };\n StreamController.prototype.onFragLoaded = function (data) {\n var _a = this, fragCurrent = _a.fragCurrent, hls = _a.hls, levels = _a.levels, media = _a.media;\n var fragLoaded = data.frag;\n if (this.state === base_stream_controller_1.State.FRAG_LOADING &&\n fragCurrent &&\n fragLoaded.type === 'main' &&\n fragLoaded.level === fragCurrent.level &&\n fragLoaded.sn === fragCurrent.sn) {\n var stats = data.stats;\n var currentLevel = levels[fragCurrent.level];\n var details = currentLevel.details;\n // reset frag bitrate test in any case after frag loaded event\n // if this frag was loaded to perform a bitrate test AND if hls.nextLoadLevel is greater than 0\n // then this means that we should be able to load a fragment at a higher quality level\n this.bitrateTest = false;\n this.stats = stats;\n logger_1.logger.log(\"Loaded \" + fragCurrent.sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],level \" + fragCurrent.level);\n if (fragLoaded.bitrateTest && hls.nextLoadLevel) {\n // switch back to IDLE state ... we just loaded a fragment to determine adequate start bitrate and initialize autoswitch algo\n this.state = base_stream_controller_1.State.IDLE;\n this.startFragRequested = false;\n stats.tparsed = stats.tbuffered = window.performance.now();\n hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: fragCurrent, id: 'main' });\n this.tick();\n }\n else if (fragLoaded.sn === 'initSegment') {\n this.state = base_stream_controller_1.State.IDLE;\n stats.tparsed = stats.tbuffered = window.performance.now();\n details.initSegment.data = data.payload;\n hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: fragCurrent, id: 'main' });\n this.tick();\n }\n else {\n logger_1.logger.log(\"Parsing \" + fragCurrent.sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],level \" + fragCurrent.level + \", cc \" + fragCurrent.cc);\n this.state = base_stream_controller_1.State.PARSING;\n this.pendingBuffering = true;\n this.appended = false;\n // Bitrate test frags are not usually buffered so the fragment tracker ignores them. If Hls.js decides to buffer\n // it (and therefore ends up at this line), then the fragment tracker needs to be manually informed.\n if (fragLoaded.bitrateTest) {\n fragLoaded.bitrateTest = false;\n this.fragmentTracker.onFragLoaded({\n frag: fragLoaded\n });\n }\n // time Offset is accurate if level PTS is known, or if playlist is not sliding (not live) and if media is not seeking (this is to overcome potential timestamp drifts between playlists and fragments)\n var accurateTimeOffset = !(media && media.seeking) && (details.PTSKnown || !details.live);\n var initSegmentData = details.initSegment ? details.initSegment.data : [];\n var audioCodec = this._getAudioCodec(currentLevel);\n // transmux the MPEG-TS data to ISO-BMFF segments\n var demuxer = this.demuxer = this.demuxer || new demuxer_1.default(this.hls, 'main');\n demuxer.push(data.payload, initSegmentData, audioCodec, currentLevel.videoCodec, fragCurrent, details.totalduration, accurateTimeOffset);\n }\n }\n this.fragLoadError = 0;\n };\n StreamController.prototype.onFragParsingInitSegment = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'main' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n var tracks = data.tracks, trackName = void 0, track = void 0;\n // if audio track is expected to come from audio stream controller, discard any coming from main\n if (tracks.audio && this.altAudio) {\n delete tracks.audio;\n }\n // include levelCodec in audio and video tracks\n track = tracks.audio;\n if (track) {\n var audioCodec = this.levels[this.level].audioCodec, ua = navigator.userAgent.toLowerCase();\n if (audioCodec && this.audioCodecSwap) {\n logger_1.logger.log('swapping playlist audio codec');\n if (audioCodec.indexOf('mp4a.40.5') !== -1) {\n audioCodec = 'mp4a.40.2';\n }\n else {\n audioCodec = 'mp4a.40.5';\n }\n }\n // in case AAC and HE-AAC audio codecs are signalled in manifest\n // force HE-AAC , as it seems that most browsers prefers that way,\n // except for mono streams OR on FF\n // these conditions might need to be reviewed ...\n if (this.audioCodecSwitch) {\n // don't force HE-AAC if mono stream\n if (track.metadata.channelCount !== 1 &&\n // don't force HE-AAC if firefox\n ua.indexOf('firefox') === -1) {\n audioCodec = 'mp4a.40.5';\n }\n }\n // HE-AAC is broken on Android, always signal audio codec as AAC even if variant manifest states otherwise\n if (ua.indexOf('android') !== -1 && track.container !== 'audio/mpeg') { // Exclude mpeg audio\n audioCodec = 'mp4a.40.2';\n logger_1.logger.log(\"Android: force audio codec to \" + audioCodec);\n }\n track.levelCodec = audioCodec;\n track.id = data.id;\n }\n track = tracks.video;\n if (track) {\n track.levelCodec = this.levels[this.level].videoCodec;\n track.id = data.id;\n }\n this.hls.trigger(events_1.default.BUFFER_CODECS, tracks);\n // loop through tracks that are going to be provided to bufferController\n for (trackName in tracks) {\n track = tracks[trackName];\n logger_1.logger.log(\"main track:\" + trackName + \",container:\" + track.container + \",codecs[level/parsed]=[\" + track.levelCodec + \"/\" + track.codec + \"]\");\n var initSegment = track.initSegment;\n if (initSegment) {\n this.appended = true;\n // arm pending Buffering flag before appending a segment\n this.pendingBuffering = true;\n this.hls.trigger(events_1.default.BUFFER_APPENDING, { type: trackName, data: initSegment, parent: 'main', content: 'initSegment' });\n }\n }\n // trigger handler right now\n this.tick();\n }\n };\n StreamController.prototype.onFragParsingData = function (data) {\n var _this = this;\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'main' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n !(data.type === 'audio' && this.altAudio) && // filter out main audio if audio track is loaded through audio stream controller\n this.state === base_stream_controller_1.State.PARSING) {\n var level = this.levels[this.level], frag = fragCurrent;\n if (!Number.isFinite(data.endPTS)) {\n data.endPTS = data.startPTS + fragCurrent.duration;\n data.endDTS = data.startDTS + fragCurrent.duration;\n }\n if (data.hasAudio === true) {\n frag.addElementaryStream(fragment_1.default.ElementaryStreamTypes.AUDIO);\n }\n if (data.hasVideo === true) {\n frag.addElementaryStream(fragment_1.default.ElementaryStreamTypes.VIDEO);\n }\n logger_1.logger.log(\"Parsed \" + data.type + \",PTS:[\" + data.startPTS.toFixed(3) + \",\" + data.endPTS.toFixed(3) + \"],DTS:[\" + data.startDTS.toFixed(3) + \"/\" + data.endDTS.toFixed(3) + \"],nb:\" + data.nb + \",dropped:\" + (data.dropped || 0));\n // Detect gaps in a fragment and try to fix it by finding a keyframe in the previous fragment (see _findFragments)\n if (data.type === 'video') {\n frag.dropped = data.dropped;\n if (frag.dropped) {\n if (!frag.backtracked) {\n var levelDetails = level.details;\n if (levelDetails && frag.sn === levelDetails.startSN) {\n logger_1.logger.warn('missing video frame(s) on first frag, appending with gap', frag.sn);\n }\n else {\n logger_1.logger.warn('missing video frame(s), backtracking fragment', frag.sn);\n // Return back to the IDLE state without appending to buffer\n // Causes findFragments to backtrack a segment and find the keyframe\n // Audio fragments arriving before video sets the nextLoadPosition, causing _findFragments to skip the backtracked fragment\n this.fragmentTracker.removeFragment(frag);\n frag.backtracked = true;\n this.nextLoadPosition = data.startPTS;\n this.state = base_stream_controller_1.State.IDLE;\n this.fragPrevious = frag;\n this.tick();\n return;\n }\n }\n else {\n logger_1.logger.warn('Already backtracked on this fragment, appending with the gap', frag.sn);\n }\n }\n else {\n // Only reset the backtracked flag if we've loaded the frag without any dropped frames\n frag.backtracked = false;\n }\n }\n var drift = LevelHelper.updateFragPTSDTS(level.details, frag, data.startPTS, data.endPTS, data.startDTS, data.endDTS), hls_2 = this.hls;\n hls_2.trigger(events_1.default.LEVEL_PTS_UPDATED, { details: level.details, level: this.level, drift: drift, type: data.type, start: data.startPTS, end: data.endPTS });\n // has remuxer dropped video frames located before first keyframe ?\n [data.data1, data.data2].forEach(function (buffer) {\n // only append in PARSING state (rationale is that an appending error could happen synchronously on first segment appending)\n // in that case it is useless to append following segments\n if (buffer && buffer.length && _this.state === base_stream_controller_1.State.PARSING) {\n _this.appended = true;\n // arm pending Buffering flag before appending a segment\n _this.pendingBuffering = true;\n hls_2.trigger(events_1.default.BUFFER_APPENDING, { type: data.type, data: buffer, parent: 'main', content: 'data' });\n }\n });\n // trigger handler right now\n this.tick();\n }\n };\n StreamController.prototype.onFragParsed = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'main' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n this.stats.tparsed = window.performance.now();\n this.state = base_stream_controller_1.State.PARSED;\n this._checkAppendedParsed();\n }\n };\n StreamController.prototype.onAudioTrackSwitching = function (data) {\n // if any URL found on new audio track, it is an alternate audio track\n var altAudio = !!data.url, trackId = data.id;\n // if we switch on main audio, ensure that main fragment scheduling is synced with media.buffered\n // don't do anything if we switch to alt audio: audio stream controller is handling it.\n // we will just have to change buffer scheduling on audioTrackSwitched\n if (!altAudio) {\n if (this.mediaBuffer !== this.media) {\n logger_1.logger.log('switching on main audio, use media.buffered to schedule main fragment loading');\n this.mediaBuffer = this.media;\n var fragCurrent = this.fragCurrent;\n // we need to refill audio buffer from main: cancel any frag loading to speed up audio switch\n if (fragCurrent.loader) {\n logger_1.logger.log('switching to main audio track, cancel main fragment load');\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n this.fragPrevious = null;\n // destroy demuxer to force init segment generation (following audio switch)\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n // switch to IDLE state to load new fragment\n this.state = base_stream_controller_1.State.IDLE;\n }\n var hls_3 = this.hls;\n // switching to main audio, flush all audio and trigger track switched\n hls_3.trigger(events_1.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: Number.POSITIVE_INFINITY, type: 'audio' });\n hls_3.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: trackId });\n this.altAudio = false;\n }\n };\n StreamController.prototype.onAudioTrackSwitched = function (data) {\n var trackId = data.id, altAudio = !!this.hls.audioTracks[trackId].url;\n if (altAudio) {\n var videoBuffer = this.videoBuffer;\n // if we switched on alternate audio, ensure that main fragment scheduling is synced with video sourcebuffer buffered\n if (videoBuffer && this.mediaBuffer !== videoBuffer) {\n logger_1.logger.log('switching on alternate audio, use video.buffered to schedule main fragment loading');\n this.mediaBuffer = videoBuffer;\n }\n }\n this.altAudio = altAudio;\n this.tick();\n };\n StreamController.prototype.onBufferCreated = function (data) {\n var tracks = data.tracks, mediaTrack, name, alternate = false;\n for (var type in tracks) {\n var track = tracks[type];\n if (track.id === 'main') {\n name = type;\n mediaTrack = track;\n // keep video source buffer reference\n if (type === 'video') {\n this.videoBuffer = tracks[type].buffer;\n }\n }\n else {\n alternate = true;\n }\n }\n if (alternate && mediaTrack) {\n logger_1.logger.log(\"alternate track found, use \" + name + \".buffered to schedule main fragment loading\");\n this.mediaBuffer = mediaTrack.buffer;\n }\n else {\n this.mediaBuffer = this.media;\n }\n };\n StreamController.prototype.onBufferAppended = function (data) {\n if (data.parent === 'main') {\n var state = this.state;\n if (state === base_stream_controller_1.State.PARSING || state === base_stream_controller_1.State.PARSED) {\n // check if all buffers have been appended\n this.pendingBuffering = (data.pending > 0);\n this._checkAppendedParsed();\n }\n }\n };\n StreamController.prototype._checkAppendedParsed = function () {\n // trigger handler right now\n if (this.state === base_stream_controller_1.State.PARSED && (!this.appended || !this.pendingBuffering)) {\n var frag = this.fragCurrent;\n if (frag) {\n var media = this.mediaBuffer ? this.mediaBuffer : this.media;\n logger_1.logger.log(\"main buffered : \" + time_ranges_1.default.toString(media.buffered));\n this.fragPrevious = frag;\n var stats = this.stats;\n stats.tbuffered = window.performance.now();\n // we should get rid of this.fragLastKbps\n this.fragLastKbps = Math.round(8 * stats.total / (stats.tbuffered - stats.tfirst));\n this.hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: frag, id: 'main' });\n this.state = base_stream_controller_1.State.IDLE;\n }\n this.tick();\n }\n };\n StreamController.prototype.onError = function (data) {\n var frag = data.frag || this.fragCurrent;\n // don't handle frag error not related to main fragment\n if (frag && frag.type !== 'main') {\n return;\n }\n // 0.5 : tolerance needed as some browsers stalls playback before reaching buffered end\n var mediaBuffered = !!this.media && buffer_helper_1.BufferHelper.isBuffered(this.media, this.media.currentTime) && buffer_helper_1.BufferHelper.isBuffered(this.media, this.media.currentTime + 0.5);\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n case errors_1.ErrorDetails.KEY_LOAD_ERROR:\n case errors_1.ErrorDetails.KEY_LOAD_TIMEOUT:\n if (!data.fatal) {\n // keep retrying until the limit will be reached\n if ((this.fragLoadError + 1) <= this.config.fragLoadingMaxRetry) {\n // exponential backoff capped to config.fragLoadingMaxRetryTimeout\n var delay = Math.min(Math.pow(2, this.fragLoadError) * this.config.fragLoadingRetryDelay, this.config.fragLoadingMaxRetryTimeout);\n logger_1.logger.warn(\"mediaController: frag loading failed, retry in \" + delay + \" ms\");\n this.retryDate = window.performance.now() + delay;\n // retry loading state\n // if loadedmetadata is not set, it means that we are emergency switch down on first frag\n // in that case, reset startFragRequested flag\n if (!this.loadedmetadata) {\n this.startFragRequested = false;\n this.nextLoadPosition = this.startPosition;\n }\n this.fragLoadError++;\n this.state = base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY;\n }\n else {\n logger_1.logger.error(\"mediaController: \" + data.details + \" reaches max retry, redispatch as fatal ...\");\n // switch error to fatal\n data.fatal = true;\n this.state = base_stream_controller_1.State.ERROR;\n }\n }\n break;\n case errors_1.ErrorDetails.LEVEL_LOAD_ERROR:\n case errors_1.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n if (this.state !== base_stream_controller_1.State.ERROR) {\n if (data.fatal) {\n // if fatal error, stop processing\n this.state = base_stream_controller_1.State.ERROR;\n logger_1.logger.warn(\"streamController: \" + data.details + \",switch to \" + this.state + \" state ...\");\n }\n else {\n // in case of non fatal error while loading level, if level controller is not retrying to load level , switch back to IDLE\n if (!data.levelRetry && this.state === base_stream_controller_1.State.WAITING_LEVEL) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n }\n }\n break;\n case errors_1.ErrorDetails.BUFFER_FULL_ERROR:\n // if in appending state\n if (data.parent === 'main' && (this.state === base_stream_controller_1.State.PARSING || this.state === base_stream_controller_1.State.PARSED)) {\n // reduce max buf len if current position is buffered\n if (mediaBuffered) {\n this._reduceMaxBufferLength(this.config.maxBufferLength);\n this.state = base_stream_controller_1.State.IDLE;\n }\n else {\n // current position is not buffered, but browser is still complaining about buffer full error\n // this happens on IE/Edge, refer to https://github.com/video-dev/hls.js/pull/708\n // in that case flush the whole buffer to recover\n logger_1.logger.warn('buffer full error also media.currentTime is not buffered, flush everything');\n this.fragCurrent = null;\n // flush everything\n this.flushMainBuffer(0, Number.POSITIVE_INFINITY);\n }\n }\n break;\n default:\n break;\n }\n };\n StreamController.prototype._reduceMaxBufferLength = function (minLength) {\n var config = this.config;\n if (config.maxMaxBufferLength >= minLength) {\n // reduce max buffer length as it might be too high. we do this to avoid loop flushing ...\n config.maxMaxBufferLength /= 2;\n logger_1.logger.warn(\"main:reduce max buffer length to \" + config.maxMaxBufferLength + \"s\");\n return true;\n }\n return false;\n };\n /**\n * Checks the health of the buffer and attempts to resolve playback stalls.\n * @private\n */\n StreamController.prototype._checkBuffer = function () {\n var media = this.media;\n if (!media || media.readyState === 0) {\n // Exit early if we don't have media or if the media hasn't bufferd anything yet (readyState 0)\n return;\n }\n var mediaBuffer = this.mediaBuffer ? this.mediaBuffer : media;\n var buffered = mediaBuffer.buffered;\n if (!this.loadedmetadata && buffered.length) {\n this.loadedmetadata = true;\n this._seekToStartPos();\n }\n else if (this.immediateSwitch) {\n this.immediateLevelSwitchEnd();\n }\n else {\n this.gapController.poll(this.lastCurrentTime, buffered);\n }\n };\n StreamController.prototype.onFragLoadEmergencyAborted = function () {\n this.state = base_stream_controller_1.State.IDLE;\n // if loadedmetadata is not set, it means that we are emergency switch down on first frag\n // in that case, reset startFragRequested flag\n if (!this.loadedmetadata) {\n this.startFragRequested = false;\n this.nextLoadPosition = this.startPosition;\n }\n this.tick();\n };\n StreamController.prototype.onBufferFlushed = function () {\n /* after successful buffer flushing, filter flushed fragments from bufferedFrags\n use mediaBuffered instead of media (so that we will check against video.buffered ranges in case of alt audio track)\n */\n var media = this.mediaBuffer ? this.mediaBuffer : this.media;\n if (media) {\n // filter fragments potentially evicted from buffer. this is to avoid memleak on live streams\n this.fragmentTracker.detectEvictedFragments(fragment_1.default.ElementaryStreamTypes.VIDEO, media.buffered);\n }\n // move to IDLE once flush complete. this should trigger new fragment loading\n this.state = base_stream_controller_1.State.IDLE;\n // reset reference to frag\n this.fragPrevious = null;\n };\n StreamController.prototype.swapAudioCodec = function () {\n this.audioCodecSwap = !this.audioCodecSwap;\n };\n StreamController.prototype.computeLivePosition = function (sliding, levelDetails) {\n var targetLatency = this.config.liveSyncDuration !== undefined ? this.config.liveSyncDuration : this.config.liveSyncDurationCount * levelDetails.targetduration;\n return sliding + Math.max(0, levelDetails.totalduration - targetLatency);\n };\n /**\n * Seeks to the set startPosition if not equal to the mediaElement's current time.\n * @private\n */\n StreamController.prototype._seekToStartPos = function () {\n var media = this.media;\n var currentTime = media.currentTime;\n // only adjust currentTime if different from startPosition or if startPosition not buffered\n // at that stage, there should be only one buffered range, as we reach that code after first fragment has been buffered\n var startPosition = media.seeking ? currentTime : this.startPosition;\n // if currentTime not matching with expected startPosition or startPosition not buffered but close to first buffered\n if (currentTime !== startPosition) {\n // if startPosition not buffered, let's seek to buffered.start(0)\n logger_1.logger.log(\"target start position not buffered, seek to buffered.start(0) \" + startPosition + \" from current time \" + currentTime + \" \");\n media.currentTime = startPosition;\n }\n };\n StreamController.prototype._getAudioCodec = function (currentLevel) {\n var audioCodec = this.config.defaultAudioCodec || currentLevel.audioCodec;\n if (this.audioCodecSwap) {\n logger_1.logger.log('swapping playlist audio codec');\n if (audioCodec) {\n if (audioCodec.indexOf('mp4a.40.5') !== -1) {\n audioCodec = 'mp4a.40.2';\n }\n else {\n audioCodec = 'mp4a.40.5';\n }\n }\n }\n return audioCodec;\n };\n Object.defineProperty(StreamController.prototype, \"liveSyncPosition\", {\n get: function () {\n return this._liveSyncPosition;\n },\n set: function (value) {\n this._liveSyncPosition = value;\n },\n enumerable: true,\n configurable: true\n });\n return StreamController;\n}(base_stream_controller_1.default));\nexports.default = StreamController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/subtitle-stream-controller.js\":\n/*!******************************************************!*\\\n !*** ./src/controller/subtitle-stream-controller.js ***!\n \\******************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * @class SubtitleStreamController\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar decrypter_1 = __webpack_require__(/*! ../crypt/decrypter */ \"./src/crypt/decrypter.js\");\nvar task_loop_1 = __webpack_require__(/*! ../task-loop */ \"./src/task-loop.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar fragment_finders_1 = __webpack_require__(/*! ./fragment-finders */ \"./src/controller/fragment-finders.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar performance = window.performance;\nexports.SubtitleStreamControllerState = {\n STOPPED: 'STOPPED',\n IDLE: 'IDLE',\n KEY_LOADING: 'KEY_LOADING',\n FRAG_LOADING: 'FRAG_LOADING'\n};\nvar State = exports.SubtitleStreamControllerState;\nvar TICK_INTERVAL = 500; // how often to tick in ms\nvar SubtitleStreamController = /** @class */ (function (_super) {\n __extends(SubtitleStreamController, _super);\n function SubtitleStreamController(hls, fragmentTracker) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.ERROR, events_1.default.KEY_LOADED, events_1.default.FRAG_LOADED, events_1.default.SUBTITLE_TRACKS_UPDATED, events_1.default.SUBTITLE_TRACK_SWITCH, events_1.default.SUBTITLE_TRACK_LOADED, events_1.default.SUBTITLE_FRAG_PROCESSED) || this;\n _this.fragmentTracker = fragmentTracker;\n _this.config = hls.config;\n _this.state = State.STOPPED;\n _this.tracks = [];\n _this.tracksBuffered = [];\n _this.currentTrackId = -1;\n _this.decrypter = new decrypter_1.default(hls, hls.config);\n return _this;\n }\n SubtitleStreamController.prototype.onHandlerDestroyed = function () {\n this.fragmentTracker = null;\n this.state = State.STOPPED;\n _super.prototype.onHandlerDestroyed.call(this);\n };\n SubtitleStreamController.prototype.onSubtitleFragProcessed = function (data) {\n this.state = State.IDLE;\n if (!data.success) {\n return;\n }\n var buffered = this.tracksBuffered[this.currentTrackId];\n var frag = data.frag;\n this.fragPrevious = frag;\n if (!buffered) {\n return;\n }\n // Create/update a buffered array matching the interface used by BufferHelper.bufferedInfo\n // so we can re-use the logic used to detect how much have been buffered\n // FIXME: put this in a utility function or proper object for time-ranges manipulation?\n var timeRange;\n for (var i = 0; i < buffered.length; i++) {\n if (frag.start >= buffered[i].start && frag.start <= buffered[i].end) {\n timeRange = buffered[i];\n break;\n }\n }\n if (timeRange) {\n timeRange.end = frag.start + frag.duration;\n }\n else {\n buffered.push({\n start: frag.start,\n end: frag.start + frag.duration\n });\n }\n };\n SubtitleStreamController.prototype.onMediaAttached = function (data) {\n this.media = data.media;\n this.state = State.IDLE;\n };\n SubtitleStreamController.prototype.onMediaDetaching = function () {\n this.media = null;\n this.state = State.STOPPED;\n };\n // If something goes wrong, procede to next frag, if we were processing one.\n SubtitleStreamController.prototype.onError = function (data) {\n var frag = data.frag;\n // don't handle error not related to subtitle fragment\n if (!frag || frag.type !== 'subtitle') {\n return;\n }\n this.state = State.IDLE;\n };\n // Got all new subtitle tracks.\n SubtitleStreamController.prototype.onSubtitleTracksUpdated = function (data) {\n var _this = this;\n logger_1.logger.log('subtitle tracks updated');\n this.tracksBuffered = [];\n this.tracks = data.subtitleTracks;\n this.tracks.forEach(function (track) {\n _this.tracksBuffered[track.id] = [];\n });\n };\n SubtitleStreamController.prototype.onSubtitleTrackSwitch = function (data) {\n this.currentTrackId = data.id;\n if (!this.tracks || this.currentTrackId === -1) {\n this.clearInterval();\n return;\n }\n // Check if track has the necessary details to load fragments\n var currentTrack = this.tracks[this.currentTrackId];\n if (currentTrack && currentTrack.details) {\n this.setInterval(TICK_INTERVAL);\n }\n };\n // Got a new set of subtitle fragments.\n SubtitleStreamController.prototype.onSubtitleTrackLoaded = function (data) {\n var id = data.id, details = data.details;\n if (!this.tracks) {\n logger_1.logger.warn('Can not update subtitle details, no tracks found');\n return;\n }\n if (this.tracks[id]) {\n logger_1.logger.log('Updating subtitle track details');\n this.tracks[id].details = details;\n }\n this.setInterval(TICK_INTERVAL);\n };\n SubtitleStreamController.prototype.onKeyLoaded = function () {\n if (this.state === State.KEY_LOADING) {\n this.state = State.IDLE;\n }\n };\n SubtitleStreamController.prototype.onFragLoaded = function (data) {\n var fragCurrent = this.fragCurrent;\n var decryptData = data.frag.decryptdata;\n var fragLoaded = data.frag;\n var hls = this.hls;\n if (this.state === State.FRAG_LOADING &&\n fragCurrent &&\n data.frag.type === 'subtitle' &&\n fragCurrent.sn === data.frag.sn) {\n // check to see if the payload needs to be decrypted\n if (data.payload.byteLength > 0 && (decryptData && decryptData.key && decryptData.method === 'AES-128')) {\n var startTime_1 = performance.now();\n // decrypt the subtitles\n this.decrypter.decrypt(data.payload, decryptData.key.buffer, decryptData.iv.buffer, function (decryptedData) {\n var endTime = performance.now();\n hls.trigger(events_1.default.FRAG_DECRYPTED, { frag: fragLoaded, payload: decryptedData, stats: { tstart: startTime_1, tdecrypt: endTime } });\n });\n }\n }\n };\n SubtitleStreamController.prototype.doTick = function () {\n if (!this.media) {\n this.state = State.IDLE;\n return;\n }\n switch (this.state) {\n case State.IDLE:\n var tracks = this.tracks;\n var trackId = this.currentTrackId;\n if (!tracks || !tracks[trackId] || !tracks[trackId].details) {\n break;\n }\n var trackDetails = tracks[trackId].details;\n var config = this.config;\n var maxBufferHole = config.maxBufferHole;\n var maxConfigBuffer = Math.min(config.maxBufferLength, config.maxMaxBufferLength);\n var maxFragLookUpTolerance = config.maxFragLookUpTolerance;\n var bufferedInfo = buffer_helper_1.BufferHelper.bufferedInfo(this._getBuffered(), this.media.currentTime, maxBufferHole);\n var bufferEnd = bufferedInfo.end;\n var bufferLen = bufferedInfo.len;\n var fragments = trackDetails.fragments;\n var fragLen = fragments.length;\n var end = fragments[fragLen - 1].start + fragments[fragLen - 1].duration;\n var foundFrag = void 0;\n if (bufferLen < maxConfigBuffer && bufferEnd < end) {\n foundFrag = fragment_finders_1.findFragmentByPTS(this.fragPrevious, fragments, bufferEnd, maxFragLookUpTolerance);\n }\n else if (trackDetails.hasProgramDateTime && this.fragPrevious) {\n foundFrag = fragment_finders_1.findFragmentByPDT(fragments, this.fragPrevious.endProgramDateTime, maxFragLookUpTolerance);\n }\n if (foundFrag && foundFrag.encrypted) {\n logger_1.logger.log(\"Loading key for \" + foundFrag.sn);\n this.state = State.KEY_LOADING;\n this.hls.trigger(events_1.default.KEY_LOADING, { frag: foundFrag });\n }\n else if (foundFrag && this.fragmentTracker.getState(foundFrag) === fragment_tracker_1.FragmentState.NOT_LOADED) {\n // only load if fragment is not loaded\n foundFrag.trackId = trackId; // Frags don't know their subtitle track ID, so let's just add that...\n this.fragCurrent = foundFrag;\n this.state = State.FRAG_LOADING;\n this.hls.trigger(events_1.default.FRAG_LOADING, { frag: foundFrag });\n }\n }\n };\n SubtitleStreamController.prototype._getBuffered = function () {\n return this.tracksBuffered[this.currentTrackId] || [];\n };\n return SubtitleStreamController;\n}(task_loop_1.default));\nexports.SubtitleStreamController = SubtitleStreamController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/subtitle-track-controller.js\":\n/*!*****************************************************!*\\\n !*** ./src/controller/subtitle-track-controller.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * subtitle track controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nfunction filterSubtitleTracks(textTrackList) {\n var tracks = [];\n for (var i = 0; i < textTrackList.length; i++) {\n if (textTrackList[i].kind === 'subtitles') {\n tracks.push(textTrackList[i]);\n }\n }\n return tracks;\n}\nvar SubtitleTrackController = /** @class */ (function (_super) {\n __extends(SubtitleTrackController, _super);\n function SubtitleTrackController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_LOADED, events_1.default.SUBTITLE_TRACK_LOADED) || this;\n _this.tracks = [];\n _this.trackId = -1;\n _this.media = null;\n /**\n * @member {boolean} subtitleDisplay Enable/disable subtitle display rendering\n */\n _this.subtitleDisplay = true;\n return _this;\n }\n SubtitleTrackController.prototype._onTextTracksChanged = function () {\n // Media is undefined when switching streams via loadSource()\n if (!this.media) {\n return;\n }\n var trackId = -1;\n var tracks = filterSubtitleTracks(this.media.textTracks);\n for (var id = 0; id < tracks.length; id++) {\n if (tracks[id].mode === 'hidden') {\n // Do not break in case there is a following track with showing.\n trackId = id;\n }\n else if (tracks[id].mode === 'showing') {\n trackId = id;\n break;\n }\n }\n // Setting current subtitleTrack will invoke code.\n this.subtitleTrack = trackId;\n };\n SubtitleTrackController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n // Listen for subtitle track change, then extract the current track ID.\n SubtitleTrackController.prototype.onMediaAttached = function (data) {\n var _this = this;\n this.media = data.media;\n if (!this.media) {\n return;\n }\n if (this.queuedDefaultTrack) {\n this.subtitleTrack = this.queuedDefaultTrack;\n delete this.queuedDefaultTrack;\n }\n this.trackChangeListener = this._onTextTracksChanged.bind(this);\n this.useTextTrackPolling = !(this.media.textTracks && 'onchange' in this.media.textTracks);\n if (this.useTextTrackPolling) {\n this.subtitlePollingInterval = setInterval(function () {\n _this.trackChangeListener();\n }, 500);\n }\n else {\n this.media.textTracks.addEventListener('change', this.trackChangeListener);\n }\n };\n SubtitleTrackController.prototype.onMediaDetaching = function () {\n if (!this.media) {\n return;\n }\n if (this.useTextTrackPolling) {\n clearInterval(this.subtitlePollingInterval);\n }\n else {\n this.media.textTracks.removeEventListener('change', this.trackChangeListener);\n }\n this.media = null;\n };\n // Reset subtitle tracks on manifest loading\n SubtitleTrackController.prototype.onManifestLoading = function () {\n this.tracks = [];\n this.trackId = -1;\n };\n // Fired whenever a new manifest is loaded.\n SubtitleTrackController.prototype.onManifestLoaded = function (data) {\n var _this = this;\n var tracks = data.subtitles || [];\n this.tracks = tracks;\n this.trackId = -1;\n this.hls.trigger(events_1.default.SUBTITLE_TRACKS_UPDATED, { subtitleTracks: tracks });\n // loop through available subtitle tracks and autoselect default if needed\n // TODO: improve selection logic to handle forced, etc\n tracks.forEach(function (track) {\n if (track.default) {\n // setting this.subtitleTrack will trigger internal logic\n // if media has not been attached yet, it will fail\n // we keep a reference to the default track id\n // and we'll set subtitleTrack when onMediaAttached is triggered\n if (_this.media) {\n _this.subtitleTrack = track.id;\n }\n else {\n _this.queuedDefaultTrack = track.id;\n }\n }\n });\n };\n // Trigger subtitle track playlist reload.\n SubtitleTrackController.prototype.onTick = function () {\n var trackId = this.trackId;\n var subtitleTrack = this.tracks[trackId];\n if (!subtitleTrack) {\n return;\n }\n var details = subtitleTrack.details;\n // check if we need to load playlist for this subtitle Track\n if (!details || details.live) {\n // track not retrieved yet, or live playlist we need to (re)load it\n logger_1.logger.log(\"(re)loading playlist for subtitle track \" + trackId);\n this.hls.trigger(events_1.default.SUBTITLE_TRACK_LOADING, { url: subtitleTrack.url, id: trackId });\n }\n };\n SubtitleTrackController.prototype.onSubtitleTrackLoaded = function (data) {\n var _this = this;\n if (data.id < this.tracks.length) {\n logger_1.logger.log(\"subtitle track \" + data.id + \" loaded\");\n this.tracks[data.id].details = data.details;\n // check if current playlist is a live playlist\n if (data.details.live && !this.timer) {\n // if live playlist we will have to reload it periodically\n // set reload period to playlist target duration\n this.timer = setInterval(function () {\n _this.onTick();\n }, 1000 * data.details.targetduration, this);\n }\n if (!data.details.live && this.timer) {\n // playlist is not live and timer is armed : stopping it\n this._stopTimer();\n }\n }\n };\n Object.defineProperty(SubtitleTrackController.prototype, \"subtitleTracks\", {\n /** get alternate subtitle tracks list from playlist **/\n get: function () {\n return this.tracks;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SubtitleTrackController.prototype, \"subtitleTrack\", {\n /** get index of the selected subtitle track (index in subtitle track lists) **/\n get: function () {\n return this.trackId;\n },\n /** select a subtitle track, based on its index in subtitle track lists**/\n set: function (subtitleTrackId) {\n if (this.trackId !== subtitleTrackId) {\n this._toggleTrackModes(subtitleTrackId);\n this.setSubtitleTrackInternal(subtitleTrackId);\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * This method is responsible for validating the subtitle index and periodically reloading if live.\n * Dispatches the SUBTITLE_TRACK_SWITCH event, which instructs the subtitle-stream-controller to load the selected track.\n * @param newId - The id of the subtitle track to activate.\n */\n SubtitleTrackController.prototype.setSubtitleTrackInternal = function (newId) {\n var _a = this, hls = _a.hls, tracks = _a.tracks;\n if (typeof newId !== 'number' || newId < -1 || newId >= tracks.length) {\n return;\n }\n this._stopTimer();\n this.trackId = newId;\n logger_1.logger.log(\"switching to subtitle track \" + newId);\n hls.trigger(events_1.default.SUBTITLE_TRACK_SWITCH, { id: newId });\n if (newId === -1) {\n return;\n }\n // check if we need to load playlist for this subtitle Track\n var subtitleTrack = tracks[newId];\n var details = subtitleTrack.details;\n if (!details || details.live) {\n // track not retrieved yet, or live playlist we need to (re)load it\n logger_1.logger.log(\"(re)loading playlist for subtitle track \" + newId);\n hls.trigger(events_1.default.SUBTITLE_TRACK_LOADING, { url: subtitleTrack.url, id: newId });\n }\n };\n SubtitleTrackController.prototype._stopTimer = function () {\n if (this.timer) {\n clearInterval(this.timer);\n this.timer = null;\n }\n };\n /**\n * Disables the old subtitleTrack and sets current mode on the next subtitleTrack.\n * This operates on the DOM textTracks.\n * A value of -1 will disable all subtitle tracks.\n * @param newId - The id of the next track to enable\n * @private\n */\n SubtitleTrackController.prototype._toggleTrackModes = function (newId) {\n var _a = this, media = _a.media, subtitleDisplay = _a.subtitleDisplay, trackId = _a.trackId;\n if (!media) {\n return;\n }\n var textTracks = filterSubtitleTracks(media.textTracks);\n if (newId === -1) {\n [].slice.call(textTracks).forEach(function (track) {\n track.mode = 'disabled';\n });\n }\n else {\n var oldTrack = textTracks[trackId];\n if (oldTrack) {\n oldTrack.mode = 'disabled';\n }\n }\n var nextTrack = textTracks[newId];\n if (nextTrack) {\n nextTrack.mode = subtitleDisplay ? 'showing' : 'hidden';\n }\n };\n return SubtitleTrackController;\n}(event_handler_1.default));\nexports.default = SubtitleTrackController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/timeline-controller.js\":\n/*!***********************************************!*\\\n !*** ./src/controller/timeline-controller.js ***!\n \\***********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Timeline Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar cea_608_parser_1 = __webpack_require__(/*! ../utils/cea-608-parser */ \"./src/utils/cea-608-parser.js\");\nvar output_filter_1 = __webpack_require__(/*! ../utils/output-filter */ \"./src/utils/output-filter.js\");\nvar webvtt_parser_1 = __webpack_require__(/*! ../utils/webvtt-parser */ \"./src/utils/webvtt-parser.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar texttrack_utils_1 = __webpack_require__(/*! ../utils/texttrack-utils */ \"./src/utils/texttrack-utils.js\");\nfunction canReuseVttTextTrack(inUseTrack, manifestTrack) {\n return inUseTrack && inUseTrack.label === manifestTrack.name && !(inUseTrack.textTrack1 || inUseTrack.textTrack2);\n}\nfunction intersection(x1, x2, y1, y2) {\n return Math.min(x2, y2) - Math.max(x1, y1);\n}\nvar TimelineController = /** @class */ (function (_super) {\n __extends(TimelineController, _super);\n function TimelineController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHING, events_1.default.MEDIA_DETACHING, events_1.default.FRAG_PARSING_USERDATA, events_1.default.FRAG_DECRYPTED, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_LOADED, events_1.default.FRAG_LOADED, events_1.default.LEVEL_SWITCHING, events_1.default.INIT_PTS_FOUND) || this;\n _this.hls = hls;\n _this.config = hls.config;\n _this.enabled = true;\n _this.Cues = hls.config.cueHandler;\n _this.textTracks = [];\n _this.tracks = [];\n _this.unparsedVttFrags = [];\n _this.initPTS = [];\n _this.cueRanges = [];\n _this.captionsTracks = {};\n _this.captionsProperties = {\n textTrack1: {\n label: _this.config.captionsTextTrack1Label,\n languageCode: _this.config.captionsTextTrack1LanguageCode\n },\n textTrack2: {\n label: _this.config.captionsTextTrack2Label,\n languageCode: _this.config.captionsTextTrack2LanguageCode\n }\n };\n if (_this.config.enableCEA708Captions) {\n var channel1 = new output_filter_1.default(_this, 'textTrack1');\n var channel2 = new output_filter_1.default(_this, 'textTrack2');\n _this.cea608Parser = new cea_608_parser_1.default(0, channel1, channel2);\n }\n return _this;\n }\n TimelineController.prototype.addCues = function (trackName, startTime, endTime, screen) {\n // skip cues which overlap more than 50% with previously parsed time ranges\n var ranges = this.cueRanges;\n var merged = false;\n for (var i = ranges.length; i--;) {\n var cueRange = ranges[i];\n var overlap = intersection(cueRange[0], cueRange[1], startTime, endTime);\n if (overlap >= 0) {\n cueRange[0] = Math.min(cueRange[0], startTime);\n cueRange[1] = Math.max(cueRange[1], endTime);\n merged = true;\n if ((overlap / (endTime - startTime)) > 0.5) {\n return;\n }\n }\n }\n if (!merged) {\n ranges.push([startTime, endTime]);\n }\n this.Cues.newCue(this.captionsTracks[trackName], startTime, endTime, screen);\n };\n // Triggered when an initial PTS is found; used for synchronisation of WebVTT.\n TimelineController.prototype.onInitPtsFound = function (data) {\n var _this = this;\n if (data.id === 'main') {\n this.initPTS[data.frag.cc] = data.initPTS;\n }\n // Due to asynchronous processing, initial PTS may arrive later than the first VTT fragments are loaded.\n // Parse any unparsed fragments upon receiving the initial PTS.\n if (this.unparsedVttFrags.length) {\n var unparsedVttFrags = this.unparsedVttFrags;\n this.unparsedVttFrags = [];\n unparsedVttFrags.forEach(function (frag) {\n _this.onFragLoaded(frag);\n });\n }\n };\n TimelineController.prototype.getExistingTrack = function (trackName) {\n var media = this.media;\n if (media) {\n for (var i = 0; i < media.textTracks.length; i++) {\n var textTrack = media.textTracks[i];\n if (textTrack[trackName]) {\n return textTrack;\n }\n }\n }\n return null;\n };\n TimelineController.prototype.createCaptionsTrack = function (trackName) {\n var _a = this.captionsProperties[trackName], label = _a.label, languageCode = _a.languageCode;\n var captionsTracks = this.captionsTracks;\n if (!captionsTracks[trackName]) {\n // Enable reuse of existing text track.\n var existingTrack = this.getExistingTrack(trackName);\n if (!existingTrack) {\n var textTrack = this.createTextTrack('captions', label, languageCode);\n if (textTrack) {\n // Set a special property on the track so we know it's managed by Hls.js\n textTrack[trackName] = true;\n captionsTracks[trackName] = textTrack;\n }\n }\n else {\n captionsTracks[trackName] = existingTrack;\n texttrack_utils_1.clearCurrentCues(captionsTracks[trackName]);\n texttrack_utils_1.sendAddTrackEvent(captionsTracks[trackName], this.media);\n }\n }\n };\n TimelineController.prototype.createTextTrack = function (kind, label, lang) {\n var media = this.media;\n if (media) {\n return media.addTextTrack(kind, label, lang);\n }\n };\n TimelineController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n TimelineController.prototype.onMediaAttaching = function (data) {\n this.media = data.media;\n this._cleanTracks();\n };\n TimelineController.prototype.onMediaDetaching = function () {\n var captionsTracks = this.captionsTracks;\n Object.keys(captionsTracks).forEach(function (trackName) {\n texttrack_utils_1.clearCurrentCues(captionsTracks[trackName]);\n delete captionsTracks[trackName];\n });\n };\n TimelineController.prototype.onManifestLoading = function () {\n this.lastSn = -1; // Detect discontiguity in fragment parsing\n this.prevCC = -1;\n this.vttCCs = {\n ccOffset: 0,\n presentationOffset: 0,\n 0: {\n start: 0, prevCC: -1, new: false\n }\n };\n this._cleanTracks();\n };\n TimelineController.prototype._cleanTracks = function () {\n // clear outdated subtitles\n var media = this.media;\n if (media) {\n var textTracks = media.textTracks;\n if (textTracks) {\n for (var i = 0; i < textTracks.length; i++) {\n texttrack_utils_1.clearCurrentCues(textTracks[i]);\n }\n }\n }\n };\n TimelineController.prototype.onManifestLoaded = function (data) {\n var _this = this;\n this.textTracks = [];\n this.unparsedVttFrags = this.unparsedVttFrags || [];\n this.initPTS = [];\n this.cueRanges = [];\n if (this.config.enableWebVTT) {\n this.tracks = data.subtitles || [];\n var inUseTracks_1 = this.media ? this.media.textTracks : [];\n this.tracks.forEach(function (track, index) {\n var textTrack;\n if (index < inUseTracks_1.length) {\n var inUseTrack = [].slice.call(inUseTracks_1).find(function (inUseTrack) { return canReuseVttTextTrack(inUseTrack, track); });\n // Reuse tracks with the same label, but do not reuse 608/708 tracks\n if (inUseTrack) {\n textTrack = inUseTrack;\n }\n }\n if (!textTrack) {\n textTrack = _this.createTextTrack('subtitles', track.name, track.lang);\n }\n if (track.default) {\n textTrack.mode = _this.hls.subtitleDisplay ? 'showing' : 'hidden';\n }\n else {\n textTrack.mode = 'disabled';\n }\n _this.textTracks.push(textTrack);\n });\n }\n };\n TimelineController.prototype.onLevelSwitching = function () {\n this.enabled = this.hls.currentLevel.closedCaptions !== 'NONE';\n };\n TimelineController.prototype.onFragLoaded = function (data) {\n var frag = data.frag, payload = data.payload;\n if (frag.type === 'main') {\n var sn = frag.sn;\n // if this frag isn't contiguous, clear the parser so cues with bad start/end times aren't added to the textTrack\n if (sn !== this.lastSn + 1) {\n var cea608Parser = this.cea608Parser;\n if (cea608Parser) {\n cea608Parser.reset();\n }\n }\n this.lastSn = sn;\n } // eslint-disable-line brace-style\n // If fragment is subtitle type, parse as WebVTT.\n else if (frag.type === 'subtitle') {\n if (payload.byteLength) {\n // We need an initial synchronisation PTS. Store fragments as long as none has arrived.\n if (!Number.isFinite(this.initPTS[frag.cc])) {\n this.unparsedVttFrags.push(data);\n if (this.initPTS.length) {\n // finish unsuccessfully, otherwise the subtitle-stream-controller could be blocked from loading new frags.\n this.hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n }\n return;\n }\n var decryptData = frag.decryptdata;\n // If the subtitles are not encrypted, parse VTTs now. Otherwise, we need to wait.\n if ((decryptData == null) || (decryptData.key == null) || (decryptData.method !== 'AES-128')) {\n this._parseVTTs(frag, payload);\n }\n }\n else {\n // In case there is no payload, finish unsuccessfully.\n this.hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n }\n }\n };\n TimelineController.prototype._parseVTTs = function (frag, payload) {\n var vttCCs = this.vttCCs;\n if (!vttCCs[frag.cc]) {\n vttCCs[frag.cc] = { start: frag.start, prevCC: this.prevCC, new: true };\n this.prevCC = frag.cc;\n }\n var textTracks = this.textTracks, hls = this.hls;\n // Parse the WebVTT file contents.\n webvtt_parser_1.default.parse(payload, this.initPTS[frag.cc], vttCCs, frag.cc, function (cues) {\n var currentTrack = textTracks[frag.trackId];\n // WebVTTParser.parse is an async method and if the currently selected text track mode is set to \"disabled\"\n // before parsing is done then don't try to access currentTrack.cues.getCueById as cues will be null\n // and trying to access getCueById method of cues will throw an exception\n if (currentTrack.mode === 'disabled') {\n hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n return;\n }\n // Add cues and trigger event with success true.\n cues.forEach(function (cue) {\n // Sometimes there are cue overlaps on segmented vtts so the same\n // cue can appear more than once in different vtt files.\n // This avoid showing duplicated cues with same timecode and text.\n if (!currentTrack.cues.getCueById(cue.id)) {\n try {\n currentTrack.addCue(cue);\n }\n catch (err) {\n var textTrackCue = new window.TextTrackCue(cue.startTime, cue.endTime, cue.text);\n textTrackCue.id = cue.id;\n currentTrack.addCue(textTrackCue);\n }\n }\n });\n hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: true, frag: frag });\n }, function (e) {\n // Something went wrong while parsing. Trigger event with success false.\n logger_1.logger.log(\"Failed to parse VTT cue: \" + e);\n hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n });\n };\n TimelineController.prototype.onFragDecrypted = function (data) {\n var decryptedData = data.payload, frag = data.frag;\n if (frag.type === 'subtitle') {\n if (!Number.isFinite(this.initPTS[frag.cc])) {\n this.unparsedVttFrags.push(data);\n return;\n }\n this._parseVTTs(frag, decryptedData);\n }\n };\n TimelineController.prototype.onFragParsingUserdata = function (data) {\n // push all of the CEA-708 messages into the interpreter\n // immediately. It will create the proper timestamps based on our PTS value\n if (this.enabled && this.config.enableCEA708Captions) {\n for (var i = 0; i < data.samples.length; i++) {\n var ccdatas = this.extractCea608Data(data.samples[i].bytes);\n this.cea608Parser.addData(data.samples[i].pts, ccdatas);\n }\n }\n };\n TimelineController.prototype.extractCea608Data = function (byteArray) {\n var count = byteArray[0] & 31;\n var position = 2;\n var tmpByte, ccbyte1, ccbyte2, ccValid, ccType;\n var actualCCBytes = [];\n for (var j = 0; j < count; j++) {\n tmpByte = byteArray[position++];\n ccbyte1 = 0x7F & byteArray[position++];\n ccbyte2 = 0x7F & byteArray[position++];\n ccValid = (4 & tmpByte) !== 0;\n ccType = 3 & tmpByte;\n if (ccbyte1 === 0 && ccbyte2 === 0) {\n continue;\n }\n if (ccValid) {\n if (ccType === 0) { // || ccType === 1\n actualCCBytes.push(ccbyte1);\n actualCCBytes.push(ccbyte2);\n }\n }\n }\n return actualCCBytes;\n };\n return TimelineController;\n}(event_handler_1.default));\nexports.default = TimelineController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/crypt/aes-crypto.js\":\n/*!*********************************!*\\\n !*** ./src/crypt/aes-crypto.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AESCrypto = /** @class */ (function () {\n function AESCrypto(subtle, iv) {\n this.subtle = subtle;\n this.aesIV = iv;\n }\n AESCrypto.prototype.decrypt = function (data, key) {\n return this.subtle.decrypt({ name: 'AES-CBC', iv: this.aesIV }, key, data);\n };\n return AESCrypto;\n}());\nexports.default = AESCrypto;\n\n\n/***/ }),\n\n/***/ \"./src/crypt/aes-decryptor.js\":\n/*!************************************!*\\\n !*** ./src/crypt/aes-decryptor.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// PKCS7\nfunction removePadding(buffer) {\n var outputBytes = buffer.byteLength;\n var paddingBytes = outputBytes && (new DataView(buffer)).getUint8(outputBytes - 1);\n if (paddingBytes) {\n return buffer.slice(0, outputBytes - paddingBytes);\n }\n else {\n return buffer;\n }\n}\nexports.removePadding = removePadding;\nvar AESDecryptor = /** @class */ (function () {\n function AESDecryptor() {\n // Static after running initTable\n this.rcon = [0x0, 0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];\n this.subMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)];\n this.invSubMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)];\n this.sBox = new Uint32Array(256);\n this.invSBox = new Uint32Array(256);\n // Changes during runtime\n this.key = new Uint32Array(0);\n this.initTable();\n }\n // Using view.getUint32() also swaps the byte order.\n AESDecryptor.prototype.uint8ArrayToUint32Array_ = function (arrayBuffer) {\n var view = new DataView(arrayBuffer);\n var newArray = new Uint32Array(4);\n for (var i = 0; i < 4; i++) {\n newArray[i] = view.getUint32(i * 4);\n }\n return newArray;\n };\n AESDecryptor.prototype.initTable = function () {\n var sBox = this.sBox;\n var invSBox = this.invSBox;\n var subMix = this.subMix;\n var subMix0 = subMix[0];\n var subMix1 = subMix[1];\n var subMix2 = subMix[2];\n var subMix3 = subMix[3];\n var invSubMix = this.invSubMix;\n var invSubMix0 = invSubMix[0];\n var invSubMix1 = invSubMix[1];\n var invSubMix2 = invSubMix[2];\n var invSubMix3 = invSubMix[3];\n var d = new Uint32Array(256);\n var x = 0;\n var xi = 0;\n var i = 0;\n for (i = 0; i < 256; i++) {\n if (i < 128) {\n d[i] = i << 1;\n }\n else {\n d[i] = (i << 1) ^ 0x11b;\n }\n }\n for (i = 0; i < 256; i++) {\n var sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4);\n sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63;\n sBox[x] = sx;\n invSBox[sx] = x;\n // Compute multiplication\n var x2 = d[x];\n var x4 = d[x2];\n var x8 = d[x4];\n // Compute sub/invSub bytes, mix columns tables\n var t = (d[sx] * 0x101) ^ (sx * 0x1010100);\n subMix0[x] = (t << 24) | (t >>> 8);\n subMix1[x] = (t << 16) | (t >>> 16);\n subMix2[x] = (t << 8) | (t >>> 24);\n subMix3[x] = t;\n // Compute inv sub bytes, inv mix columns tables\n t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100);\n invSubMix0[sx] = (t << 24) | (t >>> 8);\n invSubMix1[sx] = (t << 16) | (t >>> 16);\n invSubMix2[sx] = (t << 8) | (t >>> 24);\n invSubMix3[sx] = t;\n // Compute next counter\n if (!x) {\n x = xi = 1;\n }\n else {\n x = x2 ^ d[d[d[x8 ^ x2]]];\n xi ^= d[d[xi]];\n }\n }\n };\n AESDecryptor.prototype.expandKey = function (keyBuffer) {\n // convert keyBuffer to Uint32Array\n var key = this.uint8ArrayToUint32Array_(keyBuffer);\n var sameKey = true;\n var offset = 0;\n while (offset < key.length && sameKey) {\n sameKey = (key[offset] === this.key[offset]);\n offset++;\n }\n if (sameKey) {\n return;\n }\n this.key = key;\n var keySize = this.keySize = key.length;\n if (keySize !== 4 && keySize !== 6 && keySize !== 8) {\n throw new Error('Invalid aes key size=' + keySize);\n }\n var ksRows = this.ksRows = (keySize + 6 + 1) * 4;\n var ksRow;\n var invKsRow;\n var keySchedule = this.keySchedule = new Uint32Array(ksRows);\n var invKeySchedule = this.invKeySchedule = new Uint32Array(ksRows);\n var sbox = this.sBox;\n var rcon = this.rcon;\n var invSubMix = this.invSubMix;\n var invSubMix0 = invSubMix[0];\n var invSubMix1 = invSubMix[1];\n var invSubMix2 = invSubMix[2];\n var invSubMix3 = invSubMix[3];\n var prev;\n var t;\n for (ksRow = 0; ksRow < ksRows; ksRow++) {\n if (ksRow < keySize) {\n prev = keySchedule[ksRow] = key[ksRow];\n continue;\n }\n t = prev;\n if (ksRow % keySize === 0) {\n // Rot word\n t = (t << 8) | (t >>> 24);\n // Sub word\n t = (sbox[t >>> 24] << 24) | (sbox[(t >>> 16) & 0xff] << 16) | (sbox[(t >>> 8) & 0xff] << 8) | sbox[t & 0xff];\n // Mix Rcon\n t ^= rcon[(ksRow / keySize) | 0] << 24;\n }\n else if (keySize > 6 && ksRow % keySize === 4) {\n // Sub word\n t = (sbox[t >>> 24] << 24) | (sbox[(t >>> 16) & 0xff] << 16) | (sbox[(t >>> 8) & 0xff] << 8) | sbox[t & 0xff];\n }\n keySchedule[ksRow] = prev = (keySchedule[ksRow - keySize] ^ t) >>> 0;\n }\n for (invKsRow = 0; invKsRow < ksRows; invKsRow++) {\n ksRow = ksRows - invKsRow;\n if (invKsRow & 3) {\n t = keySchedule[ksRow];\n }\n else {\n t = keySchedule[ksRow - 4];\n }\n if (invKsRow < 4 || ksRow <= 4) {\n invKeySchedule[invKsRow] = t;\n }\n else {\n invKeySchedule[invKsRow] = invSubMix0[sbox[t >>> 24]] ^ invSubMix1[sbox[(t >>> 16) & 0xff]] ^ invSubMix2[sbox[(t >>> 8) & 0xff]] ^ invSubMix3[sbox[t & 0xff]];\n }\n invKeySchedule[invKsRow] = invKeySchedule[invKsRow] >>> 0;\n }\n };\n // Adding this as a method greatly improves performance.\n AESDecryptor.prototype.networkToHostOrderSwap = function (word) {\n return (word << 24) | ((word & 0xff00) << 8) | ((word & 0xff0000) >> 8) | (word >>> 24);\n };\n AESDecryptor.prototype.decrypt = function (inputArrayBuffer, offset, aesIV, removePKCS7Padding) {\n var nRounds = this.keySize + 6;\n var invKeySchedule = this.invKeySchedule;\n var invSBOX = this.invSBox;\n var invSubMix = this.invSubMix;\n var invSubMix0 = invSubMix[0];\n var invSubMix1 = invSubMix[1];\n var invSubMix2 = invSubMix[2];\n var invSubMix3 = invSubMix[3];\n var initVector = this.uint8ArrayToUint32Array_(aesIV);\n var initVector0 = initVector[0];\n var initVector1 = initVector[1];\n var initVector2 = initVector[2];\n var initVector3 = initVector[3];\n var inputInt32 = new Int32Array(inputArrayBuffer);\n var outputInt32 = new Int32Array(inputInt32.length);\n var t0, t1, t2, t3;\n var s0, s1, s2, s3;\n var inputWords0, inputWords1, inputWords2, inputWords3;\n var ksRow, i;\n var swapWord = this.networkToHostOrderSwap;\n while (offset < inputInt32.length) {\n inputWords0 = swapWord(inputInt32[offset]);\n inputWords1 = swapWord(inputInt32[offset + 1]);\n inputWords2 = swapWord(inputInt32[offset + 2]);\n inputWords3 = swapWord(inputInt32[offset + 3]);\n s0 = inputWords0 ^ invKeySchedule[0];\n s1 = inputWords3 ^ invKeySchedule[1];\n s2 = inputWords2 ^ invKeySchedule[2];\n s3 = inputWords1 ^ invKeySchedule[3];\n ksRow = 4;\n // Iterate through the rounds of decryption\n for (i = 1; i < nRounds; i++) {\n t0 = invSubMix0[s0 >>> 24] ^ invSubMix1[(s1 >> 16) & 0xff] ^ invSubMix2[(s2 >> 8) & 0xff] ^ invSubMix3[s3 & 0xff] ^ invKeySchedule[ksRow];\n t1 = invSubMix0[s1 >>> 24] ^ invSubMix1[(s2 >> 16) & 0xff] ^ invSubMix2[(s3 >> 8) & 0xff] ^ invSubMix3[s0 & 0xff] ^ invKeySchedule[ksRow + 1];\n t2 = invSubMix0[s2 >>> 24] ^ invSubMix1[(s3 >> 16) & 0xff] ^ invSubMix2[(s0 >> 8) & 0xff] ^ invSubMix3[s1 & 0xff] ^ invKeySchedule[ksRow + 2];\n t3 = invSubMix0[s3 >>> 24] ^ invSubMix1[(s0 >> 16) & 0xff] ^ invSubMix2[(s1 >> 8) & 0xff] ^ invSubMix3[s2 & 0xff] ^ invKeySchedule[ksRow + 3];\n // Update state\n s0 = t0;\n s1 = t1;\n s2 = t2;\n s3 = t3;\n ksRow = ksRow + 4;\n }\n // Shift rows, sub bytes, add round key\n t0 = ((invSBOX[s0 >>> 24] << 24) ^ (invSBOX[(s1 >> 16) & 0xff] << 16) ^ (invSBOX[(s2 >> 8) & 0xff] << 8) ^ invSBOX[s3 & 0xff]) ^ invKeySchedule[ksRow];\n t1 = ((invSBOX[s1 >>> 24] << 24) ^ (invSBOX[(s2 >> 16) & 0xff] << 16) ^ (invSBOX[(s3 >> 8) & 0xff] << 8) ^ invSBOX[s0 & 0xff]) ^ invKeySchedule[ksRow + 1];\n t2 = ((invSBOX[s2 >>> 24] << 24) ^ (invSBOX[(s3 >> 16) & 0xff] << 16) ^ (invSBOX[(s0 >> 8) & 0xff] << 8) ^ invSBOX[s1 & 0xff]) ^ invKeySchedule[ksRow + 2];\n t3 = ((invSBOX[s3 >>> 24] << 24) ^ (invSBOX[(s0 >> 16) & 0xff] << 16) ^ (invSBOX[(s1 >> 8) & 0xff] << 8) ^ invSBOX[s2 & 0xff]) ^ invKeySchedule[ksRow + 3];\n ksRow = ksRow + 3;\n // Write\n outputInt32[offset] = swapWord(t0 ^ initVector0);\n outputInt32[offset + 1] = swapWord(t3 ^ initVector1);\n outputInt32[offset + 2] = swapWord(t2 ^ initVector2);\n outputInt32[offset + 3] = swapWord(t1 ^ initVector3);\n // reset initVector to last 4 unsigned int\n initVector0 = inputWords0;\n initVector1 = inputWords1;\n initVector2 = inputWords2;\n initVector3 = inputWords3;\n offset = offset + 4;\n }\n return removePKCS7Padding ? removePadding(outputInt32.buffer) : outputInt32.buffer;\n };\n AESDecryptor.prototype.destroy = function () {\n this.key = undefined;\n this.keySize = undefined;\n this.ksRows = undefined;\n this.sBox = undefined;\n this.invSBox = undefined;\n this.subMix = undefined;\n this.invSubMix = undefined;\n this.keySchedule = undefined;\n this.invKeySchedule = undefined;\n this.rcon = undefined;\n };\n return AESDecryptor;\n}());\nexports.default = AESDecryptor;\n\n\n/***/ }),\n\n/***/ \"./src/crypt/decrypter.js\":\n/*!********************************!*\\\n !*** ./src/crypt/decrypter.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar aes_crypto_1 = __webpack_require__(/*! ./aes-crypto */ \"./src/crypt/aes-crypto.js\");\nvar fast_aes_key_1 = __webpack_require__(/*! ./fast-aes-key */ \"./src/crypt/fast-aes-key.js\");\nvar aes_decryptor_1 = __webpack_require__(/*! ./aes-decryptor */ \"./src/crypt/aes-decryptor.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\n// see https://stackoverflow.com/a/11237259/589493\nvar global = get_self_scope_1.getSelfScope(); // safeguard for code that might run both on worker and main thread\nvar Decrypter = /** @class */ (function () {\n function Decrypter(observer, config, _a) {\n var _b = (_a === void 0 ? {} : _a).removePKCS7Padding, removePKCS7Padding = _b === void 0 ? true : _b;\n this.logEnabled = true;\n this.observer = observer;\n this.config = config;\n this.removePKCS7Padding = removePKCS7Padding;\n // built in decryptor expects PKCS7 padding\n if (removePKCS7Padding) {\n try {\n var browserCrypto = global.crypto;\n if (browserCrypto) {\n this.subtle = browserCrypto.subtle || browserCrypto.webkitSubtle;\n }\n }\n catch (e) { }\n }\n this.disableWebCrypto = !this.subtle;\n }\n Decrypter.prototype.isSync = function () {\n return (this.disableWebCrypto && this.config.enableSoftwareAES);\n };\n Decrypter.prototype.decrypt = function (data, key, iv, callback) {\n var _this = this;\n if (this.disableWebCrypto && this.config.enableSoftwareAES) {\n if (this.logEnabled) {\n logger_1.logger.log('JS AES decrypt');\n this.logEnabled = false;\n }\n var decryptor = this.decryptor;\n if (!decryptor) {\n this.decryptor = decryptor = new aes_decryptor_1.default();\n }\n decryptor.expandKey(key);\n callback(decryptor.decrypt(data, 0, iv, this.removePKCS7Padding));\n }\n else {\n if (this.logEnabled) {\n logger_1.logger.log('WebCrypto AES decrypt');\n this.logEnabled = false;\n }\n var subtle_1 = this.subtle;\n if (this.key !== key) {\n this.key = key;\n this.fastAesKey = new fast_aes_key_1.default(subtle_1, key);\n }\n this.fastAesKey.expandKey()\n .then(function (aesKey) {\n // decrypt using web crypto\n var crypto = new aes_crypto_1.default(subtle_1, iv);\n crypto.decrypt(data, aesKey)\n .catch(function (err) {\n _this.onWebCryptoError(err, data, key, iv, callback);\n })\n .then(function (result) {\n callback(result);\n });\n })\n .catch(function (err) {\n _this.onWebCryptoError(err, data, key, iv, callback);\n });\n }\n };\n Decrypter.prototype.onWebCryptoError = function (err, data, key, iv, callback) {\n if (this.config.enableSoftwareAES) {\n logger_1.logger.log('WebCrypto Error, disable WebCrypto API');\n this.disableWebCrypto = true;\n this.logEnabled = true;\n this.decrypt(data, key, iv, callback);\n }\n else {\n logger_1.logger.error(\"decrypting error : \" + err.message);\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_DECRYPT_ERROR, fatal: true, reason: err.message });\n }\n };\n Decrypter.prototype.destroy = function () {\n var decryptor = this.decryptor;\n if (decryptor) {\n decryptor.destroy();\n this.decryptor = undefined;\n }\n };\n return Decrypter;\n}());\nexports.default = Decrypter;\n\n\n/***/ }),\n\n/***/ \"./src/crypt/fast-aes-key.js\":\n/*!***********************************!*\\\n !*** ./src/crypt/fast-aes-key.js ***!\n \\***********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar FastAESKey = /** @class */ (function () {\n function FastAESKey(subtle, key) {\n this.subtle = subtle;\n this.key = key;\n }\n FastAESKey.prototype.expandKey = function () {\n return this.subtle.importKey('raw', this.key, { name: 'AES-CBC' }, false, ['encrypt', 'decrypt']);\n };\n return FastAESKey;\n}());\nexports.default = FastAESKey;\n\n\n/***/ }),\n\n/***/ \"./src/demux/aacdemuxer.js\":\n/*!*********************************!*\\\n !*** ./src/demux/aacdemuxer.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * AAC demuxer\n */\nvar ADTS = __webpack_require__(/*! ./adts */ \"./src/demux/adts.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\nvar AACDemuxer = /** @class */ (function () {\n function AACDemuxer(observer, remuxer, config) {\n this.observer = observer;\n this.config = config;\n this.remuxer = remuxer;\n }\n AACDemuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n this._audioTrack = { container: 'audio/adts', type: 'audio', id: 0, sequenceNumber: 0, isAAC: true, samples: [], len: 0, manifestCodec: audioCodec, duration: duration, inputTimeScale: 90000 };\n };\n AACDemuxer.prototype.resetTimeStamp = function () {\n };\n AACDemuxer.probe = function (data) {\n if (!data) {\n return false;\n }\n // Check for the ADTS sync word\n // Look for ADTS header | 1111 1111 | 1111 X00X | where X can be either 0 or 1\n // Layer bits (position 14 and 15) in header should be always 0 for ADTS\n // More info https://wiki.multimedia.cx/index.php?title=ADTS\n var id3Data = id3_1.default.getID3Data(data, 0) || [];\n var offset = id3Data.length;\n for (var length_1 = data.length; offset < length_1; offset++) {\n if (ADTS.probe(data, offset)) {\n logger_1.logger.log('ADTS sync word found !');\n return true;\n }\n }\n return false;\n };\n // feed incoming data to the front of the parsing pipeline\n AACDemuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var track = this._audioTrack;\n var id3Data = id3_1.default.getID3Data(data, 0) || [];\n var timestamp = id3_1.default.getTimeStamp(id3Data);\n var pts = Number.isFinite(timestamp) ? timestamp * 90 : timeOffset * 90000;\n var frameIndex = 0;\n var stamp = pts;\n var length = data.length;\n var offset = id3Data.length;\n var id3Samples = [{ pts: stamp, dts: stamp, data: id3Data }];\n while (offset < length - 1) {\n if (ADTS.isHeader(data, offset) && (offset + 5) < length) {\n ADTS.initTrackConfig(track, this.observer, data, offset, track.manifestCodec);\n var frame = ADTS.appendFrame(track, data, offset, pts, frameIndex);\n if (frame) {\n offset += frame.length;\n stamp = frame.sample.pts;\n frameIndex++;\n }\n else {\n logger_1.logger.log('Unable to parse AAC frame');\n break;\n }\n }\n else if (id3_1.default.isHeader(data, offset)) {\n id3Data = id3_1.default.getID3Data(data, offset);\n id3Samples.push({ pts: stamp, dts: stamp, data: id3Data });\n offset += id3Data.length;\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n this.remuxer.remux(track, { samples: [] }, { samples: id3Samples, inputTimeScale: 90000 }, { samples: [] }, timeOffset, contiguous, accurateTimeOffset);\n };\n AACDemuxer.prototype.destroy = function () {\n };\n return AACDemuxer;\n}());\nexports.default = AACDemuxer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/demux/adts.js\":\n/*!***************************!*\\\n !*** ./src/demux/adts.js ***!\n \\***************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * ADTS parser helper\n */\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nfunction getAudioConfig(observer, data, offset, audioCodec) {\n var adtsObjectType, // :int\n adtsSampleingIndex, // :int\n adtsExtensionSampleingIndex, // :int\n adtsChanelConfig, // :int\n config, userAgent = navigator.userAgent.toLowerCase(), manifestCodec = audioCodec, adtsSampleingRates = [\n 96000, 88200,\n 64000, 48000,\n 44100, 32000,\n 24000, 22050,\n 16000, 12000,\n 11025, 8000,\n 7350\n ];\n // byte 2\n adtsObjectType = ((data[offset + 2] & 0xC0) >>> 6) + 1;\n adtsSampleingIndex = ((data[offset + 2] & 0x3C) >>> 2);\n if (adtsSampleingIndex > adtsSampleingRates.length - 1) {\n observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: true, reason: \"invalid ADTS sampling index:\" + adtsSampleingIndex });\n return;\n }\n adtsChanelConfig = ((data[offset + 2] & 0x01) << 2);\n // byte 3\n adtsChanelConfig |= ((data[offset + 3] & 0xC0) >>> 6);\n logger_1.logger.log(\"manifest codec:\" + audioCodec + \",ADTS data:type:\" + adtsObjectType + \",sampleingIndex:\" + adtsSampleingIndex + \"[\" + adtsSampleingRates[adtsSampleingIndex] + \"Hz],channelConfig:\" + adtsChanelConfig);\n // firefox: freq less than 24kHz = AAC SBR (HE-AAC)\n if (/firefox/i.test(userAgent)) {\n if (adtsSampleingIndex >= 6) {\n adtsObjectType = 5;\n config = new Array(4);\n // HE-AAC uses SBR (Spectral Band Replication) , high frequencies are constructed from low frequencies\n // there is a factor 2 between frame sample rate and output sample rate\n // multiply frequency by 2 (see table below, equivalent to substract 3)\n adtsExtensionSampleingIndex = adtsSampleingIndex - 3;\n }\n else {\n adtsObjectType = 2;\n config = new Array(2);\n adtsExtensionSampleingIndex = adtsSampleingIndex;\n }\n // Android : always use AAC\n }\n else if (userAgent.indexOf('android') !== -1) {\n adtsObjectType = 2;\n config = new Array(2);\n adtsExtensionSampleingIndex = adtsSampleingIndex;\n }\n else {\n /* for other browsers (Chrome/Vivaldi/Opera ...)\n always force audio type to be HE-AAC SBR, as some browsers do not support audio codec switch properly (like Chrome ...)\n */\n adtsObjectType = 5;\n config = new Array(4);\n // if (manifest codec is HE-AAC or HE-AACv2) OR (manifest codec not specified AND frequency less than 24kHz)\n if ((audioCodec && ((audioCodec.indexOf('mp4a.40.29') !== -1) ||\n (audioCodec.indexOf('mp4a.40.5') !== -1))) ||\n (!audioCodec && adtsSampleingIndex >= 6)) {\n // HE-AAC uses SBR (Spectral Band Replication) , high frequencies are constructed from low frequencies\n // there is a factor 2 between frame sample rate and output sample rate\n // multiply frequency by 2 (see table below, equivalent to substract 3)\n adtsExtensionSampleingIndex = adtsSampleingIndex - 3;\n }\n else {\n // if (manifest codec is AAC) AND (frequency less than 24kHz AND nb channel is 1) OR (manifest codec not specified and mono audio)\n // Chrome fails to play back with low frequency AAC LC mono when initialized with HE-AAC. This is not a problem with stereo.\n if (audioCodec && audioCodec.indexOf('mp4a.40.2') !== -1 && ((adtsSampleingIndex >= 6 && adtsChanelConfig === 1) ||\n /vivaldi/i.test(userAgent)) ||\n (!audioCodec && adtsChanelConfig === 1)) {\n adtsObjectType = 2;\n config = new Array(2);\n }\n adtsExtensionSampleingIndex = adtsSampleingIndex;\n }\n }\n /* refer to http://wiki.multimedia.cx/index.php?title=MPEG-4_Audio#Audio_Specific_Config\n ISO 14496-3 (AAC).pdf - Table 1.13 — Syntax of AudioSpecificConfig()\n Audio Profile / Audio Object Type\n 0: Null\n 1: AAC Main\n 2: AAC LC (Low Complexity)\n 3: AAC SSR (Scalable Sample Rate)\n 4: AAC LTP (Long Term Prediction)\n 5: SBR (Spectral Band Replication)\n 6: AAC Scalable\n sampling freq\n 0: 96000 Hz\n 1: 88200 Hz\n 2: 64000 Hz\n 3: 48000 Hz\n 4: 44100 Hz\n 5: 32000 Hz\n 6: 24000 Hz\n 7: 22050 Hz\n 8: 16000 Hz\n 9: 12000 Hz\n 10: 11025 Hz\n 11: 8000 Hz\n 12: 7350 Hz\n 13: Reserved\n 14: Reserved\n 15: frequency is written explictly\n Channel Configurations\n These are the channel configurations:\n 0: Defined in AOT Specifc Config\n 1: 1 channel: front-center\n 2: 2 channels: front-left, front-right\n */\n // audioObjectType = profile => profile, the MPEG-4 Audio Object Type minus 1\n config[0] = adtsObjectType << 3;\n // samplingFrequencyIndex\n config[0] |= (adtsSampleingIndex & 0x0E) >> 1;\n config[1] |= (adtsSampleingIndex & 0x01) << 7;\n // channelConfiguration\n config[1] |= adtsChanelConfig << 3;\n if (adtsObjectType === 5) {\n // adtsExtensionSampleingIndex\n config[1] |= (adtsExtensionSampleingIndex & 0x0E) >> 1;\n config[2] = (adtsExtensionSampleingIndex & 0x01) << 7;\n // adtsObjectType (force to 2, chrome is checking that object type is less than 5 ???\n // https://chromium.googlesource.com/chromium/src.git/+/master/media/formats/mp4/aac.cc\n config[2] |= 2 << 2;\n config[3] = 0;\n }\n return { config: config, samplerate: adtsSampleingRates[adtsSampleingIndex], channelCount: adtsChanelConfig, codec: ('mp4a.40.' + adtsObjectType), manifestCodec: manifestCodec };\n}\nexports.getAudioConfig = getAudioConfig;\nfunction isHeaderPattern(data, offset) {\n return data[offset] === 0xff && (data[offset + 1] & 0xf6) === 0xf0;\n}\nexports.isHeaderPattern = isHeaderPattern;\nfunction getHeaderLength(data, offset) {\n return (data[offset + 1] & 0x01 ? 7 : 9);\n}\nexports.getHeaderLength = getHeaderLength;\nfunction getFullFrameLength(data, offset) {\n return ((data[offset + 3] & 0x03) << 11) |\n (data[offset + 4] << 3) |\n ((data[offset + 5] & 0xE0) >>> 5);\n}\nexports.getFullFrameLength = getFullFrameLength;\nfunction isHeader(data, offset) {\n // Look for ADTS header | 1111 1111 | 1111 X00X | where X can be either 0 or 1\n // Layer bits (position 14 and 15) in header should be always 0 for ADTS\n // More info https://wiki.multimedia.cx/index.php?title=ADTS\n if (offset + 1 < data.length && isHeaderPattern(data, offset)) {\n return true;\n }\n return false;\n}\nexports.isHeader = isHeader;\nfunction probe(data, offset) {\n // same as isHeader but we also check that ADTS frame follows last ADTS frame\n // or end of data is reached\n if (offset + 1 < data.length && isHeaderPattern(data, offset)) {\n // ADTS header Length\n var headerLength = getHeaderLength(data, offset);\n // ADTS frame Length\n var frameLength = headerLength;\n if (offset + 5 < data.length) {\n frameLength = getFullFrameLength(data, offset);\n }\n var newOffset = offset + frameLength;\n if (newOffset === data.length || (newOffset + 1 < data.length && isHeaderPattern(data, newOffset))) {\n return true;\n }\n }\n return false;\n}\nexports.probe = probe;\nfunction initTrackConfig(track, observer, data, offset, audioCodec) {\n if (!track.samplerate) {\n var config = getAudioConfig(observer, data, offset, audioCodec);\n track.config = config.config;\n track.samplerate = config.samplerate;\n track.channelCount = config.channelCount;\n track.codec = config.codec;\n track.manifestCodec = config.manifestCodec;\n logger_1.logger.log(\"parsed codec:\" + track.codec + \",rate:\" + config.samplerate + \",nb channel:\" + config.channelCount);\n }\n}\nexports.initTrackConfig = initTrackConfig;\nfunction getFrameDuration(samplerate) {\n return 1024 * 90000 / samplerate;\n}\nexports.getFrameDuration = getFrameDuration;\nfunction parseFrameHeader(data, offset, pts, frameIndex, frameDuration) {\n var headerLength, frameLength, stamp;\n var length = data.length;\n // The protection skip bit tells us if we have 2 bytes of CRC data at the end of the ADTS header\n headerLength = getHeaderLength(data, offset);\n // retrieve frame size\n frameLength = getFullFrameLength(data, offset);\n frameLength -= headerLength;\n if ((frameLength > 0) && ((offset + headerLength + frameLength) <= length)) {\n stamp = pts + frameIndex * frameDuration;\n // logger.log(`AAC frame, offset/length/total/pts:${offset+headerLength}/${frameLength}/${data.byteLength}/${(stamp/90).toFixed(0)}`);\n return { headerLength: headerLength, frameLength: frameLength, stamp: stamp };\n }\n return undefined;\n}\nexports.parseFrameHeader = parseFrameHeader;\nfunction appendFrame(track, data, offset, pts, frameIndex) {\n var frameDuration = getFrameDuration(track.samplerate);\n var header = parseFrameHeader(data, offset, pts, frameIndex, frameDuration);\n if (header) {\n var stamp = header.stamp;\n var headerLength = header.headerLength;\n var frameLength = header.frameLength;\n // logger.log(`AAC frame, offset/length/total/pts:${offset+headerLength}/${frameLength}/${data.byteLength}/${(stamp/90).toFixed(0)}`);\n var aacSample = {\n unit: data.subarray(offset + headerLength, offset + headerLength + frameLength),\n pts: stamp,\n dts: stamp\n };\n track.samples.push(aacSample);\n track.len += frameLength;\n return { sample: aacSample, length: frameLength + headerLength };\n }\n return undefined;\n}\nexports.appendFrame = appendFrame;\n\n\n/***/ }),\n\n/***/ \"./src/demux/demuxer-inline.js\":\n/*!*************************************!*\\\n !*** ./src/demux/demuxer-inline.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n *\n * inline demuxer: probe fragments and instantiate\n * appropriate demuxer depending on content type (TSDemuxer, AACDemuxer, ...)\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar decrypter_1 = __webpack_require__(/*! ../crypt/decrypter */ \"./src/crypt/decrypter.js\");\nvar aacdemuxer_1 = __webpack_require__(/*! ../demux/aacdemuxer */ \"./src/demux/aacdemuxer.js\");\nvar mp4demuxer_1 = __webpack_require__(/*! ../demux/mp4demuxer */ \"./src/demux/mp4demuxer.js\");\nvar tsdemuxer_1 = __webpack_require__(/*! ../demux/tsdemuxer */ \"./src/demux/tsdemuxer.js\");\nvar mp3demuxer_1 = __webpack_require__(/*! ../demux/mp3demuxer */ \"./src/demux/mp3demuxer.js\");\nvar mp4_remuxer_1 = __webpack_require__(/*! ../remux/mp4-remuxer */ \"./src/remux/mp4-remuxer.js\");\nvar passthrough_remuxer_1 = __webpack_require__(/*! ../remux/passthrough-remuxer */ \"./src/remux/passthrough-remuxer.js\");\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\n// see https://stackoverflow.com/a/11237259/589493\nvar global = get_self_scope_1.getSelfScope(); // safeguard for code that might run both on worker and main thread\nvar now;\n// performance.now() not available on WebWorker, at least on Safari Desktop\ntry {\n now = global.performance.now.bind(global.performance);\n}\ncatch (err) {\n logger_1.logger.debug('Unable to use Performance API on this environment');\n now = global.Date.now;\n}\nvar DemuxerInline = /** @class */ (function () {\n function DemuxerInline(observer, typeSupported, config, vendor) {\n this.observer = observer;\n this.typeSupported = typeSupported;\n this.config = config;\n this.vendor = vendor;\n }\n DemuxerInline.prototype.destroy = function () {\n var demuxer = this.demuxer;\n if (demuxer) {\n demuxer.destroy();\n }\n };\n DemuxerInline.prototype.push = function (data, decryptdata, initSegment, audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS) {\n var _this = this;\n if ((data.byteLength > 0) && (decryptdata != null) && (decryptdata.key != null) && (decryptdata.method === 'AES-128')) {\n var decrypter = this.decrypter;\n if (decrypter == null) {\n decrypter = this.decrypter = new decrypter_1.default(this.observer, this.config);\n }\n var startTime_1 = now();\n decrypter.decrypt(data, decryptdata.key.buffer, decryptdata.iv.buffer, function (decryptedData) {\n var endTime = now();\n _this.observer.trigger(events_1.default.FRAG_DECRYPTED, { stats: { tstart: startTime_1, tdecrypt: endTime } });\n _this.pushDecrypted(new Uint8Array(decryptedData), decryptdata, new Uint8Array(initSegment), audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS);\n });\n }\n else {\n this.pushDecrypted(new Uint8Array(data), decryptdata, new Uint8Array(initSegment), audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS);\n }\n };\n DemuxerInline.prototype.pushDecrypted = function (data, decryptdata, initSegment, audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS) {\n var demuxer = this.demuxer;\n if (!demuxer ||\n // in case of continuity change, or track switch\n // we might switch from content type (AAC container to TS container, or TS to fmp4 for example)\n // so let's check that current demuxer is still valid\n ((discontinuity || trackSwitch) && !this.probe(data))) {\n var observer = this.observer;\n var typeSupported = this.typeSupported;\n var config = this.config;\n // probing order is TS/AAC/MP3/MP4\n var muxConfig = [\n { demux: tsdemuxer_1.default, remux: mp4_remuxer_1.default },\n { demux: mp4demuxer_1.default, remux: passthrough_remuxer_1.default },\n { demux: aacdemuxer_1.default, remux: mp4_remuxer_1.default },\n { demux: mp3demuxer_1.default, remux: mp4_remuxer_1.default }\n ];\n // probe for content type\n for (var i = 0, len = muxConfig.length; i < len; i++) {\n var mux = muxConfig[i];\n var probe = mux.demux.probe;\n if (probe(data)) {\n var remuxer_1 = this.remuxer = new mux.remux(observer, config, typeSupported, this.vendor);\n demuxer = new mux.demux(observer, remuxer_1, config, typeSupported);\n this.probe = probe;\n break;\n }\n }\n if (!demuxer) {\n observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: true, reason: 'no demux matching with content found' });\n return;\n }\n this.demuxer = demuxer;\n }\n var remuxer = this.remuxer;\n if (discontinuity || trackSwitch) {\n demuxer.resetInitSegment(initSegment, audioCodec, videoCodec, duration);\n remuxer.resetInitSegment();\n }\n if (discontinuity) {\n demuxer.resetTimeStamp(defaultInitPTS);\n remuxer.resetTimeStamp(defaultInitPTS);\n }\n if (typeof demuxer.setDecryptData === 'function') {\n demuxer.setDecryptData(decryptdata);\n }\n demuxer.append(data, timeOffset, contiguous, accurateTimeOffset);\n };\n return DemuxerInline;\n}());\nexports.default = DemuxerInline;\n\n\n/***/ }),\n\n/***/ \"./src/demux/demuxer-worker.js\":\n/*!*************************************!*\\\n !*** ./src/demux/demuxer-worker.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/* demuxer web worker.\n * - listen to worker message, and trigger DemuxerInline upon reception of Fragments.\n * - provides MP4 Boxes back to main thread using [transferable objects](https://developers.google.com/web/updates/2011/12/Transferable-Objects-Lightning-Fast) in order to minimize message passing overhead.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar demuxer_inline_1 = __webpack_require__(/*! ../demux/demuxer-inline */ \"./src/demux/demuxer-inline.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar events_2 = __webpack_require__(/*! events */ \"./node_modules/node-libs-browser/node_modules/events/events.js\");\nvar DemuxerWorker = function (self) {\n // observer setup\n var observer = new events_2.EventEmitter();\n observer.trigger = function trigger(event) {\n var data = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n data[_i - 1] = arguments[_i];\n }\n observer.emit.apply(observer, [event, event].concat(data));\n };\n observer.off = function off(event) {\n var data = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n data[_i - 1] = arguments[_i];\n }\n observer.removeListener.apply(observer, [event].concat(data));\n };\n var forwardMessage = function (ev, data) {\n self.postMessage({ event: ev, data: data });\n };\n self.addEventListener('message', function (ev) {\n var data = ev.data;\n // console.log('demuxer cmd:' + data.cmd);\n switch (data.cmd) {\n case 'init':\n var config = JSON.parse(data.config);\n self.demuxer = new demuxer_inline_1.default(observer, data.typeSupported, config, data.vendor);\n logger_1.enableLogs(config.debug);\n // signal end of worker init\n forwardMessage('init', null);\n break;\n case 'demux':\n self.demuxer.push(data.data, data.decryptdata, data.initSegment, data.audioCodec, data.videoCodec, data.timeOffset, data.discontinuity, data.trackSwitch, data.contiguous, data.duration, data.accurateTimeOffset, data.defaultInitPTS);\n break;\n default:\n break;\n }\n });\n // forward events to main thread\n observer.on(events_1.default.FRAG_DECRYPTED, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_INIT_SEGMENT, forwardMessage);\n observer.on(events_1.default.FRAG_PARSED, forwardMessage);\n observer.on(events_1.default.ERROR, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_METADATA, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_USERDATA, forwardMessage);\n observer.on(events_1.default.INIT_PTS_FOUND, forwardMessage);\n // special case for FRAG_PARSING_DATA: pass data1/data2 as transferable object (no copy)\n observer.on(events_1.default.FRAG_PARSING_DATA, function (ev, data) {\n var transferable = [];\n var message = { event: ev, data: data };\n if (data.data1) {\n message.data1 = data.data1.buffer;\n transferable.push(data.data1.buffer);\n delete data.data1;\n }\n if (data.data2) {\n message.data2 = data.data2.buffer;\n transferable.push(data.data2.buffer);\n delete data.data2;\n }\n self.postMessage(message, transferable);\n });\n};\nexports.default = DemuxerWorker;\n\n\n/***/ }),\n\n/***/ \"./src/demux/demuxer.js\":\n/*!******************************!*\\\n !*** ./src/demux/demuxer.js ***!\n \\******************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar work = __webpack_require__(/*! webworkify-webpack */ \"./node_modules/webworkify-webpack/index.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar demuxer_inline_1 = __webpack_require__(/*! ../demux/demuxer-inline */ \"./src/demux/demuxer-inline.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar mediasource_helper_1 = __webpack_require__(/*! ../utils/mediasource-helper */ \"./src/utils/mediasource-helper.js\");\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\nvar observer_1 = __webpack_require__(/*! ../observer */ \"./src/observer.js\");\n// see https://stackoverflow.com/a/11237259/589493\nvar global = get_self_scope_1.getSelfScope(); // safeguard for code that might run both on worker and main thread\nvar MediaSource = mediasource_helper_1.getMediaSource();\nvar Demuxer = /** @class */ (function () {\n function Demuxer(hls, id) {\n var _this = this;\n this.hls = hls;\n this.id = id;\n var observer = this.observer = new observer_1.Observer();\n var config = hls.config;\n var forwardMessage = function (ev, data) {\n data = data || {};\n data.frag = _this.frag;\n data.id = _this.id;\n hls.trigger(ev, data);\n };\n // forward events to main thread\n observer.on(events_1.default.FRAG_DECRYPTED, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_INIT_SEGMENT, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_DATA, forwardMessage);\n observer.on(events_1.default.FRAG_PARSED, forwardMessage);\n observer.on(events_1.default.ERROR, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_METADATA, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_USERDATA, forwardMessage);\n observer.on(events_1.default.INIT_PTS_FOUND, forwardMessage);\n var typeSupported = {\n mp4: MediaSource.isTypeSupported('video/mp4'),\n mpeg: MediaSource.isTypeSupported('audio/mpeg'),\n mp3: MediaSource.isTypeSupported('audio/mp4; codecs=\"mp3\"')\n };\n // navigator.vendor is not always available in Web Worker\n // refer to https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator\n var vendor = navigator.vendor;\n if (config.enableWorker && (typeof (Worker) !== 'undefined')) {\n logger_1.logger.log('demuxing in webworker');\n var w = void 0;\n try {\n w = this.w = work(/*require.resolve*/(/*! ../demux/demuxer-worker.js */ \"./src/demux/demuxer-worker.js\"));\n this.onwmsg = this.onWorkerMessage.bind(this);\n w.addEventListener('message', this.onwmsg);\n w.onerror = function (event) {\n hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.OTHER_ERROR, details: errors_1.ErrorDetails.INTERNAL_EXCEPTION, fatal: true, event: 'demuxerWorker', err: { message: event.message + ' (' + event.filename + ':' + event.lineno + ')' } });\n };\n w.postMessage({ cmd: 'init', typeSupported: typeSupported, vendor: vendor, id: id, config: JSON.stringify(config) });\n }\n catch (err) {\n logger_1.logger.warn('Error in worker:', err);\n logger_1.logger.error('Error while initializing DemuxerWorker, fallback on DemuxerInline');\n if (w) {\n // revoke the Object URL that was used to create demuxer worker, so as not to leak it\n global.URL.revokeObjectURL(w.objectURL);\n }\n this.demuxer = new demuxer_inline_1.default(observer, typeSupported, config, vendor);\n this.w = undefined;\n }\n }\n else {\n this.demuxer = new demuxer_inline_1.default(observer, typeSupported, config, vendor);\n }\n }\n Demuxer.prototype.destroy = function () {\n var w = this.w;\n if (w) {\n w.removeEventListener('message', this.onwmsg);\n w.terminate();\n this.w = null;\n }\n else {\n var demuxer = this.demuxer;\n if (demuxer) {\n demuxer.destroy();\n this.demuxer = null;\n }\n }\n var observer = this.observer;\n if (observer) {\n observer.removeAllListeners();\n this.observer = null;\n }\n };\n Demuxer.prototype.push = function (data, initSegment, audioCodec, videoCodec, frag, duration, accurateTimeOffset, defaultInitPTS) {\n var w = this.w;\n var timeOffset = Number.isFinite(frag.startPTS) ? frag.startPTS : frag.start;\n var decryptdata = frag.decryptdata;\n var lastFrag = this.frag;\n var discontinuity = !(lastFrag && (frag.cc === lastFrag.cc));\n var trackSwitch = !(lastFrag && (frag.level === lastFrag.level));\n var nextSN = lastFrag && (frag.sn === (lastFrag.sn + 1));\n var contiguous = !trackSwitch && nextSN;\n if (discontinuity) {\n logger_1.logger.log(this.id + \":discontinuity detected\");\n }\n if (trackSwitch) {\n logger_1.logger.log(this.id + \":switch detected\");\n }\n this.frag = frag;\n if (w) {\n // post fragment payload as transferable objects for ArrayBuffer (no copy)\n w.postMessage({ cmd: 'demux', data: data, decryptdata: decryptdata, initSegment: initSegment, audioCodec: audioCodec, videoCodec: videoCodec, timeOffset: timeOffset, discontinuity: discontinuity, trackSwitch: trackSwitch, contiguous: contiguous, duration: duration, accurateTimeOffset: accurateTimeOffset, defaultInitPTS: defaultInitPTS }, data instanceof ArrayBuffer ? [data] : []);\n }\n else {\n var demuxer = this.demuxer;\n if (demuxer) {\n demuxer.push(data, decryptdata, initSegment, audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS);\n }\n }\n };\n Demuxer.prototype.onWorkerMessage = function (ev) {\n var data = ev.data, hls = this.hls;\n switch (data.event) {\n case 'init':\n // revoke the Object URL that was used to create demuxer worker, so as not to leak it\n global.URL.revokeObjectURL(this.w.objectURL);\n break;\n // special case for FRAG_PARSING_DATA: data1 and data2 are transferable objects\n case events_1.default.FRAG_PARSING_DATA:\n data.data.data1 = new Uint8Array(data.data1);\n if (data.data2) {\n data.data.data2 = new Uint8Array(data.data2);\n }\n /* falls through */\n default:\n data.data = data.data || {};\n data.data.frag = this.frag;\n data.data.id = this.id;\n hls.trigger(data.event, data.data);\n break;\n }\n };\n return Demuxer;\n}());\nexports.default = Demuxer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/demux/exp-golomb.js\":\n/*!*********************************!*\\\n !*** ./src/demux/exp-golomb.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * Parser for exponential Golomb codes, a variable-bitwidth number encoding scheme used by h264.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar ExpGolomb = /** @class */ (function () {\n function ExpGolomb(data) {\n this.data = data;\n // the number of bytes left to examine in this.data\n this.bytesAvailable = data.byteLength;\n // the current word being examined\n this.word = 0; // :uint\n // the number of bits left to examine in the current word\n this.bitsAvailable = 0; // :uint\n }\n // ():void\n ExpGolomb.prototype.loadWord = function () {\n var data = this.data, bytesAvailable = this.bytesAvailable, position = data.byteLength - bytesAvailable, workingBytes = new Uint8Array(4), availableBytes = Math.min(4, bytesAvailable);\n if (availableBytes === 0) {\n throw new Error('no bytes available');\n }\n workingBytes.set(data.subarray(position, position + availableBytes));\n this.word = new DataView(workingBytes.buffer).getUint32(0);\n // track the amount of this.data that has been processed\n this.bitsAvailable = availableBytes * 8;\n this.bytesAvailable -= availableBytes;\n };\n // (count:int):void\n ExpGolomb.prototype.skipBits = function (count) {\n var skipBytes; // :int\n if (this.bitsAvailable > count) {\n this.word <<= count;\n this.bitsAvailable -= count;\n }\n else {\n count -= this.bitsAvailable;\n skipBytes = count >> 3;\n count -= (skipBytes >> 3);\n this.bytesAvailable -= skipBytes;\n this.loadWord();\n this.word <<= count;\n this.bitsAvailable -= count;\n }\n };\n // (size:int):uint\n ExpGolomb.prototype.readBits = function (size) {\n var bits = Math.min(this.bitsAvailable, size), // :uint\n valu = this.word >>> (32 - bits); // :uint\n if (size > 32) {\n logger_1.logger.error('Cannot read more than 32 bits at a time');\n }\n this.bitsAvailable -= bits;\n if (this.bitsAvailable > 0) {\n this.word <<= bits;\n }\n else if (this.bytesAvailable > 0) {\n this.loadWord();\n }\n bits = size - bits;\n if (bits > 0 && this.bitsAvailable) {\n return valu << bits | this.readBits(bits);\n }\n else {\n return valu;\n }\n };\n // ():uint\n ExpGolomb.prototype.skipLZ = function () {\n var leadingZeroCount; // :uint\n for (leadingZeroCount = 0; leadingZeroCount < this.bitsAvailable; ++leadingZeroCount) {\n if ((this.word & (0x80000000 >>> leadingZeroCount)) !== 0) {\n // the first bit of working word is 1\n this.word <<= leadingZeroCount;\n this.bitsAvailable -= leadingZeroCount;\n return leadingZeroCount;\n }\n }\n // we exhausted word and still have not found a 1\n this.loadWord();\n return leadingZeroCount + this.skipLZ();\n };\n // ():void\n ExpGolomb.prototype.skipUEG = function () {\n this.skipBits(1 + this.skipLZ());\n };\n // ():void\n ExpGolomb.prototype.skipEG = function () {\n this.skipBits(1 + this.skipLZ());\n };\n // ():uint\n ExpGolomb.prototype.readUEG = function () {\n var clz = this.skipLZ(); // :uint\n return this.readBits(clz + 1) - 1;\n };\n // ():int\n ExpGolomb.prototype.readEG = function () {\n var valu = this.readUEG(); // :int\n if (0x01 & valu) {\n // the number is odd if the low order bit is set\n return (1 + valu) >>> 1; // add 1 to make it even, and divide by 2\n }\n else {\n return -1 * (valu >>> 1); // divide by two then make it negative\n }\n };\n // Some convenience functions\n // :Boolean\n ExpGolomb.prototype.readBoolean = function () {\n return this.readBits(1) === 1;\n };\n // ():int\n ExpGolomb.prototype.readUByte = function () {\n return this.readBits(8);\n };\n // ():int\n ExpGolomb.prototype.readUShort = function () {\n return this.readBits(16);\n };\n // ():int\n ExpGolomb.prototype.readUInt = function () {\n return this.readBits(32);\n };\n /**\n * Advance the ExpGolomb decoder past a scaling list. The scaling\n * list is optionally transmitted as part of a sequence parameter\n * set and is not relevant to transmuxing.\n * @param count {number} the number of entries in this scaling list\n * @see Recommendation ITU-T H.264, Section 7.3.2.1.1.1\n */\n ExpGolomb.prototype.skipScalingList = function (count) {\n var lastScale = 8, nextScale = 8, j, deltaScale;\n for (j = 0; j < count; j++) {\n if (nextScale !== 0) {\n deltaScale = this.readEG();\n nextScale = (lastScale + deltaScale + 256) % 256;\n }\n lastScale = (nextScale === 0) ? lastScale : nextScale;\n }\n };\n /**\n * Read a sequence parameter set and return some interesting video\n * properties. A sequence parameter set is the H264 metadata that\n * describes the properties of upcoming video frames.\n * @param data {Uint8Array} the bytes of a sequence parameter set\n * @return {object} an object with configuration parsed from the\n * sequence parameter set, including the dimensions of the\n * associated video frames.\n */\n ExpGolomb.prototype.readSPS = function () {\n var frameCropLeftOffset = 0, frameCropRightOffset = 0, frameCropTopOffset = 0, frameCropBottomOffset = 0, profileIdc, profileCompat, levelIdc, numRefFramesInPicOrderCntCycle, picWidthInMbsMinus1, picHeightInMapUnitsMinus1, frameMbsOnlyFlag, scalingListCount, i, readUByte = this.readUByte.bind(this), readBits = this.readBits.bind(this), readUEG = this.readUEG.bind(this), readBoolean = this.readBoolean.bind(this), skipBits = this.skipBits.bind(this), skipEG = this.skipEG.bind(this), skipUEG = this.skipUEG.bind(this), skipScalingList = this.skipScalingList.bind(this);\n readUByte();\n profileIdc = readUByte(); // profile_idc\n profileCompat = readBits(5); // constraint_set[0-4]_flag, u(5)\n skipBits(3); // reserved_zero_3bits u(3),\n levelIdc = readUByte(); // level_idc u(8)\n skipUEG(); // seq_parameter_set_id\n // some profiles have more optional data we don't need\n if (profileIdc === 100 ||\n profileIdc === 110 ||\n profileIdc === 122 ||\n profileIdc === 244 ||\n profileIdc === 44 ||\n profileIdc === 83 ||\n profileIdc === 86 ||\n profileIdc === 118 ||\n profileIdc === 128) {\n var chromaFormatIdc = readUEG();\n if (chromaFormatIdc === 3) {\n skipBits(1);\n } // separate_colour_plane_flag\n skipUEG(); // bit_depth_luma_minus8\n skipUEG(); // bit_depth_chroma_minus8\n skipBits(1); // qpprime_y_zero_transform_bypass_flag\n if (readBoolean()) { // seq_scaling_matrix_present_flag\n scalingListCount = (chromaFormatIdc !== 3) ? 8 : 12;\n for (i = 0; i < scalingListCount; i++) {\n if (readBoolean()) { // seq_scaling_list_present_flag[ i ]\n if (i < 6) {\n skipScalingList(16);\n }\n else {\n skipScalingList(64);\n }\n }\n }\n }\n }\n skipUEG(); // log2_max_frame_num_minus4\n var picOrderCntType = readUEG();\n if (picOrderCntType === 0) {\n readUEG(); // log2_max_pic_order_cnt_lsb_minus4\n }\n else if (picOrderCntType === 1) {\n skipBits(1); // delta_pic_order_always_zero_flag\n skipEG(); // offset_for_non_ref_pic\n skipEG(); // offset_for_top_to_bottom_field\n numRefFramesInPicOrderCntCycle = readUEG();\n for (i = 0; i < numRefFramesInPicOrderCntCycle; i++) {\n skipEG();\n } // offset_for_ref_frame[ i ]\n }\n skipUEG(); // max_num_ref_frames\n skipBits(1); // gaps_in_frame_num_value_allowed_flag\n picWidthInMbsMinus1 = readUEG();\n picHeightInMapUnitsMinus1 = readUEG();\n frameMbsOnlyFlag = readBits(1);\n if (frameMbsOnlyFlag === 0) {\n skipBits(1);\n } // mb_adaptive_frame_field_flag\n skipBits(1); // direct_8x8_inference_flag\n if (readBoolean()) { // frame_cropping_flag\n frameCropLeftOffset = readUEG();\n frameCropRightOffset = readUEG();\n frameCropTopOffset = readUEG();\n frameCropBottomOffset = readUEG();\n }\n var pixelRatio = [1, 1];\n if (readBoolean()) {\n // vui_parameters_present_flag\n if (readBoolean()) {\n // aspect_ratio_info_present_flag\n var aspectRatioIdc = readUByte();\n switch (aspectRatioIdc) {\n case 1:\n pixelRatio = [1, 1];\n break;\n case 2:\n pixelRatio = [12, 11];\n break;\n case 3:\n pixelRatio = [10, 11];\n break;\n case 4:\n pixelRatio = [16, 11];\n break;\n case 5:\n pixelRatio = [40, 33];\n break;\n case 6:\n pixelRatio = [24, 11];\n break;\n case 7:\n pixelRatio = [20, 11];\n break;\n case 8:\n pixelRatio = [32, 11];\n break;\n case 9:\n pixelRatio = [80, 33];\n break;\n case 10:\n pixelRatio = [18, 11];\n break;\n case 11:\n pixelRatio = [15, 11];\n break;\n case 12:\n pixelRatio = [64, 33];\n break;\n case 13:\n pixelRatio = [160, 99];\n break;\n case 14:\n pixelRatio = [4, 3];\n break;\n case 15:\n pixelRatio = [3, 2];\n break;\n case 16:\n pixelRatio = [2, 1];\n break;\n case 255: {\n pixelRatio = [readUByte() << 8 | readUByte(), readUByte() << 8 | readUByte()];\n break;\n }\n }\n }\n }\n return {\n width: Math.ceil((((picWidthInMbsMinus1 + 1) * 16) - frameCropLeftOffset * 2 - frameCropRightOffset * 2)),\n height: ((2 - frameMbsOnlyFlag) * (picHeightInMapUnitsMinus1 + 1) * 16) - ((frameMbsOnlyFlag ? 2 : 4) * (frameCropTopOffset + frameCropBottomOffset)),\n pixelRatio: pixelRatio\n };\n };\n ExpGolomb.prototype.readSliceType = function () {\n // skip NALu type\n this.readUByte();\n // discard first_mb_in_slice\n this.readUEG();\n // return slice_type\n return this.readUEG();\n };\n return ExpGolomb;\n}());\nexports.default = ExpGolomb;\n\n\n/***/ }),\n\n/***/ \"./src/demux/id3.js\":\n/*!**************************!*\\\n !*** ./src/demux/id3.js ***!\n \\**************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * ID3 parser\n */\nvar ID3 = /** @class */ (function () {\n function ID3() {\n }\n /**\n * Returns true if an ID3 header can be found at offset in data\n * @param {Uint8Array} data - The data to search in\n * @param {number} offset - The offset at which to start searching\n * @return {boolean} - True if an ID3 header is found\n */\n ID3.isHeader = function (data, offset) {\n /*\n * http://id3.org/id3v2.3.0\n * [0] = 'I'\n * [1] = 'D'\n * [2] = '3'\n * [3,4] = {Version}\n * [5] = {Flags}\n * [6-9] = {ID3 Size}\n *\n * An ID3v2 tag can be detected with the following pattern:\n * $49 44 33 yy yy xx zz zz zz zz\n * Where yy is less than $FF, xx is the 'flags' byte and zz is less than $80\n */\n if (offset + 10 <= data.length) {\n // look for 'ID3' identifier\n if (data[offset] === 0x49 && data[offset + 1] === 0x44 && data[offset + 2] === 0x33) {\n // check version is within range\n if (data[offset + 3] < 0xFF && data[offset + 4] < 0xFF) {\n // check size is within range\n if (data[offset + 6] < 0x80 && data[offset + 7] < 0x80 && data[offset + 8] < 0x80 && data[offset + 9] < 0x80) {\n return true;\n }\n }\n }\n }\n return false;\n };\n /**\n * Returns true if an ID3 footer can be found at offset in data\n * @param {Uint8Array} data - The data to search in\n * @param {number} offset - The offset at which to start searching\n * @return {boolean} - True if an ID3 footer is found\n */\n ID3.isFooter = function (data, offset) {\n /*\n * The footer is a copy of the header, but with a different identifier\n */\n if (offset + 10 <= data.length) {\n // look for '3DI' identifier\n if (data[offset] === 0x33 && data[offset + 1] === 0x44 && data[offset + 2] === 0x49) {\n // check version is within range\n if (data[offset + 3] < 0xFF && data[offset + 4] < 0xFF) {\n // check size is within range\n if (data[offset + 6] < 0x80 && data[offset + 7] < 0x80 && data[offset + 8] < 0x80 && data[offset + 9] < 0x80) {\n return true;\n }\n }\n }\n }\n return false;\n };\n /**\n * Returns any adjacent ID3 tags found in data starting at offset, as one block of data\n * @param {Uint8Array} data - The data to search in\n * @param {number} offset - The offset at which to start searching\n * @return {Uint8Array} - The block of data containing any ID3 tags found\n */\n ID3.getID3Data = function (data, offset) {\n var front = offset;\n var length = 0;\n while (ID3.isHeader(data, offset)) {\n // ID3 header is 10 bytes\n length += 10;\n var size = ID3._readSize(data, offset + 6);\n length += size;\n if (ID3.isFooter(data, offset + 10)) {\n // ID3 footer is 10 bytes\n length += 10;\n }\n offset += length;\n }\n if (length > 0) {\n return data.subarray(front, front + length);\n }\n return undefined;\n };\n ID3._readSize = function (data, offset) {\n var size = 0;\n size = ((data[offset] & 0x7f) << 21);\n size |= ((data[offset + 1] & 0x7f) << 14);\n size |= ((data[offset + 2] & 0x7f) << 7);\n size |= (data[offset + 3] & 0x7f);\n return size;\n };\n /**\n * Searches for the Elementary Stream timestamp found in the ID3 data chunk\n * @param {Uint8Array} data - Block of data containing one or more ID3 tags\n * @return {number} - The timestamp\n */\n ID3.getTimeStamp = function (data) {\n var frames = ID3.getID3Frames(data);\n for (var i = 0; i < frames.length; i++) {\n var frame = frames[i];\n if (ID3.isTimeStampFrame(frame)) {\n return ID3._readTimeStamp(frame);\n }\n }\n return undefined;\n };\n /**\n * Returns true if the ID3 frame is an Elementary Stream timestamp frame\n * @param {ID3 frame} frame\n */\n ID3.isTimeStampFrame = function (frame) {\n return (frame && frame.key === 'PRIV' && frame.info === 'com.apple.streaming.transportStreamTimestamp');\n };\n ID3._getFrameData = function (data) {\n /*\n Frame ID $xx xx xx xx (four characters)\n Size $xx xx xx xx\n Flags $xx xx\n */\n var type = String.fromCharCode(data[0], data[1], data[2], data[3]);\n var size = ID3._readSize(data, 4);\n // skip frame id, size, and flags\n var offset = 10;\n return { type: type, size: size, data: data.subarray(offset, offset + size) };\n };\n /**\n * Returns an array of ID3 frames found in all the ID3 tags in the id3Data\n * @param {Uint8Array} id3Data - The ID3 data containing one or more ID3 tags\n * @return {ID3 frame[]} - Array of ID3 frame objects\n */\n ID3.getID3Frames = function (id3Data) {\n var offset = 0;\n var frames = [];\n while (ID3.isHeader(id3Data, offset)) {\n var size = ID3._readSize(id3Data, offset + 6);\n // skip past ID3 header\n offset += 10;\n var end = offset + size;\n // loop through frames in the ID3 tag\n while (offset + 8 < end) {\n var frameData = ID3._getFrameData(id3Data.subarray(offset));\n var frame = ID3._decodeFrame(frameData);\n if (frame) {\n frames.push(frame);\n }\n // skip frame header and frame data\n offset += frameData.size + 10;\n }\n if (ID3.isFooter(id3Data, offset)) {\n offset += 10;\n }\n }\n return frames;\n };\n ID3._decodeFrame = function (frame) {\n if (frame.type === 'PRIV') {\n return ID3._decodePrivFrame(frame);\n }\n else if (frame.type[0] === 'T') {\n return ID3._decodeTextFrame(frame);\n }\n else if (frame.type[0] === 'W') {\n return ID3._decodeURLFrame(frame);\n }\n return undefined;\n };\n ID3._readTimeStamp = function (timeStampFrame) {\n if (timeStampFrame.data.byteLength === 8) {\n var data = new Uint8Array(timeStampFrame.data);\n // timestamp is 33 bit expressed as a big-endian eight-octet number,\n // with the upper 31 bits set to zero.\n var pts33Bit = data[3] & 0x1;\n var timestamp = (data[4] << 23) +\n (data[5] << 15) +\n (data[6] << 7) +\n data[7];\n timestamp /= 45;\n if (pts33Bit) {\n timestamp += 47721858.84;\n } // 2^32 / 90\n return Math.round(timestamp);\n }\n return undefined;\n };\n ID3._decodePrivFrame = function (frame) {\n /*\n Format: <text string>\\0<binary data>\n */\n if (frame.size < 2) {\n return undefined;\n }\n var owner = ID3._utf8ArrayToStr(frame.data, true);\n var privateData = new Uint8Array(frame.data.subarray(owner.length + 1));\n return { key: frame.type, info: owner, data: privateData.buffer };\n };\n ID3._decodeTextFrame = function (frame) {\n if (frame.size < 2) {\n return undefined;\n }\n if (frame.type === 'TXXX') {\n /*\n Format:\n [0] = {Text Encoding}\n [1-?] = {Description}\\0{Value}\n */\n var index = 1;\n var description = ID3._utf8ArrayToStr(frame.data.subarray(index));\n index += description.length + 1;\n var value = ID3._utf8ArrayToStr(frame.data.subarray(index));\n return { key: frame.type, info: description, data: value };\n }\n else {\n /*\n Format:\n [0] = {Text Encoding}\n [1-?] = {Value}\n */\n var text = ID3._utf8ArrayToStr(frame.data.subarray(1));\n return { key: frame.type, data: text };\n }\n };\n ID3._decodeURLFrame = function (frame) {\n if (frame.type === 'WXXX') {\n /*\n Format:\n [0] = {Text Encoding}\n [1-?] = {Description}\\0{URL}\n */\n if (frame.size < 2) {\n return undefined;\n }\n var index = 1;\n var description = ID3._utf8ArrayToStr(frame.data.subarray(index));\n index += description.length + 1;\n var value = ID3._utf8ArrayToStr(frame.data.subarray(index));\n return { key: frame.type, info: description, data: value };\n }\n else {\n /*\n Format:\n [0-?] = {URL}\n */\n var url = ID3._utf8ArrayToStr(frame.data);\n return { key: frame.type, data: url };\n }\n };\n // http://stackoverflow.com/questions/8936984/uint8array-to-string-in-javascript/22373197\n // http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt\n /* utf.js - UTF-8 <=> UTF-16 convertion\n *\n * Copyright (C) 1999 Masanao Izumo <iz@onicos.co.jp>\n * Version: 1.0\n * LastModified: Dec 25 1999\n * This library is free. You can redistribute it and/or modify it.\n */\n ID3._utf8ArrayToStr = function (array, exitOnNull) {\n if (exitOnNull === void 0) { exitOnNull = false; }\n var len = array.length;\n var c;\n var char2;\n var char3;\n var out = '';\n var i = 0;\n while (i < len) {\n c = array[i++];\n if (c === 0x00 && exitOnNull) {\n return out;\n }\n else if (c === 0x00 || c === 0x03) {\n // If the character is 3 (END_OF_TEXT) or 0 (NULL) then skip it\n continue;\n }\n switch (c >> 4) {\n case 0:\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n // 0xxxxxxx\n out += String.fromCharCode(c);\n break;\n case 12:\n case 13:\n // 110x xxxx 10xx xxxx\n char2 = array[i++];\n out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F));\n break;\n case 14:\n // 1110 xxxx 10xx xxxx 10xx xxxx\n char2 = array[i++];\n char3 = array[i++];\n out += String.fromCharCode(((c & 0x0F) << 12) |\n ((char2 & 0x3F) << 6) |\n ((char3 & 0x3F) << 0));\n break;\n default:\n }\n }\n return out;\n };\n return ID3;\n}());\nvar utf8ArrayToStr = ID3._utf8ArrayToStr;\nexports.utf8ArrayToStr = utf8ArrayToStr;\nexports.default = ID3;\n\n\n/***/ }),\n\n/***/ \"./src/demux/mp3demuxer.js\":\n/*!*********************************!*\\\n !*** ./src/demux/mp3demuxer.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * MP3 demuxer\n */\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar mpegaudio_1 = __webpack_require__(/*! ./mpegaudio */ \"./src/demux/mpegaudio.js\");\nvar MP3Demuxer = /** @class */ (function () {\n function MP3Demuxer(observer, remuxer, config) {\n this.observer = observer;\n this.config = config;\n this.remuxer = remuxer;\n }\n MP3Demuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n this._audioTrack = { container: 'audio/mpeg', type: 'audio', id: -1, sequenceNumber: 0, isAAC: false, samples: [], len: 0, manifestCodec: audioCodec, duration: duration, inputTimeScale: 90000 };\n };\n MP3Demuxer.prototype.resetTimeStamp = function () {\n };\n MP3Demuxer.probe = function (data) {\n // check if data contains ID3 timestamp and MPEG sync word\n var offset, length;\n var id3Data = id3_1.default.getID3Data(data, 0);\n if (id3Data && id3_1.default.getTimeStamp(id3Data) !== undefined) {\n // Look for MPEG header | 1111 1111 | 111X XYZX | where X can be either 0 or 1 and Y or Z should be 1\n // Layer bits (position 14 and 15) in header should be always different from 0 (Layer I or Layer II or Layer III)\n // More info http://www.mp3-tech.org/programmer/frame_header.html\n for (offset = id3Data.length, length = Math.min(data.length - 1, offset + 100); offset < length; offset++) {\n if (mpegaudio_1.default.probe(data, offset)) {\n logger_1.logger.log('MPEG Audio sync word found !');\n return true;\n }\n }\n }\n return false;\n };\n // feed incoming data to the front of the parsing pipeline\n MP3Demuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var id3Data = id3_1.default.getID3Data(data, 0);\n var timestamp = id3_1.default.getTimeStamp(id3Data);\n var pts = timestamp ? 90 * timestamp : timeOffset * 90000;\n var offset = id3Data.length;\n var length = data.length;\n var frameIndex = 0, stamp = 0;\n var track = this._audioTrack;\n var id3Samples = [{ pts: pts, dts: pts, data: id3Data }];\n while (offset < length) {\n if (mpegaudio_1.default.isHeader(data, offset)) {\n var frame = mpegaudio_1.default.appendFrame(track, data, offset, pts, frameIndex);\n if (frame) {\n offset += frame.length;\n stamp = frame.sample.pts;\n frameIndex++;\n }\n else {\n // logger.log('Unable to parse Mpeg audio frame');\n break;\n }\n }\n else if (id3_1.default.isHeader(data, offset)) {\n id3Data = id3_1.default.getID3Data(data, offset);\n id3Samples.push({ pts: stamp, dts: stamp, data: id3Data });\n offset += id3Data.length;\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n this.remuxer.remux(track, { samples: [] }, { samples: id3Samples, inputTimeScale: 90000 }, { samples: [] }, timeOffset, contiguous, accurateTimeOffset);\n };\n MP3Demuxer.prototype.destroy = function () {\n };\n return MP3Demuxer;\n}());\nexports.default = MP3Demuxer;\n\n\n/***/ }),\n\n/***/ \"./src/demux/mp4demuxer.js\":\n/*!*********************************!*\\\n !*** ./src/demux/mp4demuxer.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * MP4 demuxer\n */\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar UINT32_MAX = Math.pow(2, 32) - 1;\nvar MP4Demuxer = /** @class */ (function () {\n function MP4Demuxer(observer, remuxer) {\n this.observer = observer;\n this.remuxer = remuxer;\n }\n MP4Demuxer.prototype.resetTimeStamp = function (initPTS) {\n this.initPTS = initPTS;\n };\n MP4Demuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n // jshint unused:false\n if (initSegment && initSegment.byteLength) {\n var initData = this.initData = MP4Demuxer.parseInitSegment(initSegment);\n // default audio codec if nothing specified\n // TODO : extract that from initsegment\n if (audioCodec == null) {\n audioCodec = 'mp4a.40.5';\n }\n if (videoCodec == null) {\n videoCodec = 'avc1.42e01e';\n }\n var tracks = {};\n if (initData.audio && initData.video) {\n tracks.audiovideo = { container: 'video/mp4', codec: audioCodec + ',' + videoCodec, initSegment: duration ? initSegment : null };\n }\n else {\n if (initData.audio) {\n tracks.audio = { container: 'audio/mp4', codec: audioCodec, initSegment: duration ? initSegment : null };\n }\n if (initData.video) {\n tracks.video = { container: 'video/mp4', codec: videoCodec, initSegment: duration ? initSegment : null };\n }\n }\n this.observer.trigger(events_1.default.FRAG_PARSING_INIT_SEGMENT, { tracks: tracks });\n }\n else {\n if (audioCodec) {\n this.audioCodec = audioCodec;\n }\n if (videoCodec) {\n this.videoCodec = videoCodec;\n }\n }\n };\n MP4Demuxer.probe = function (data) {\n // ensure we find a moof box in the first 16 kB\n return MP4Demuxer.findBox({ data: data, start: 0, end: Math.min(data.length, 16384) }, ['moof']).length > 0;\n };\n MP4Demuxer.bin2str = function (buffer) {\n return String.fromCharCode.apply(null, buffer);\n };\n MP4Demuxer.readUint16 = function (buffer, offset) {\n if (buffer.data) {\n offset += buffer.start;\n buffer = buffer.data;\n }\n var val = buffer[offset] << 8 |\n buffer[offset + 1];\n return val < 0 ? 65536 + val : val;\n };\n MP4Demuxer.readUint32 = function (buffer, offset) {\n if (buffer.data) {\n offset += buffer.start;\n buffer = buffer.data;\n }\n var val = buffer[offset] << 24 |\n buffer[offset + 1] << 16 |\n buffer[offset + 2] << 8 |\n buffer[offset + 3];\n return val < 0 ? 4294967296 + val : val;\n };\n MP4Demuxer.writeUint32 = function (buffer, offset, value) {\n if (buffer.data) {\n offset += buffer.start;\n buffer = buffer.data;\n }\n buffer[offset] = value >> 24;\n buffer[offset + 1] = (value >> 16) & 0xff;\n buffer[offset + 2] = (value >> 8) & 0xff;\n buffer[offset + 3] = value & 0xff;\n };\n // Find the data for a box specified by its path\n MP4Demuxer.findBox = function (data, path) {\n var results = [], i, size, type, end, subresults, start, endbox;\n if (data.data) {\n start = data.start;\n end = data.end;\n data = data.data;\n }\n else {\n start = 0;\n end = data.byteLength;\n }\n if (!path.length) {\n // short-circuit the search for empty paths\n return null;\n }\n for (i = start; i < end;) {\n size = MP4Demuxer.readUint32(data, i);\n type = MP4Demuxer.bin2str(data.subarray(i + 4, i + 8));\n endbox = size > 1 ? i + size : end;\n if (type === path[0]) {\n if (path.length === 1) {\n // this is the end of the path and we've found the box we were\n // looking for\n results.push({ data: data, start: i + 8, end: endbox });\n }\n else {\n // recursively search for the next box along the path\n subresults = MP4Demuxer.findBox({ data: data, start: i + 8, end: endbox }, path.slice(1));\n if (subresults.length) {\n results = results.concat(subresults);\n }\n }\n }\n i = endbox;\n }\n // we've finished searching all of data\n return results;\n };\n MP4Demuxer.parseSegmentIndex = function (initSegment) {\n var moov = MP4Demuxer.findBox(initSegment, ['moov'])[0];\n var moovEndOffset = moov ? moov.end : null; // we need this in case we need to chop of garbage of the end of current data\n var index = 0;\n var sidx = MP4Demuxer.findBox(initSegment, ['sidx']);\n var references;\n if (!sidx || !sidx[0]) {\n return null;\n }\n references = [];\n sidx = sidx[0];\n var version = sidx.data[0];\n // set initial offset, we skip the reference ID (not needed)\n index = version === 0 ? 8 : 16;\n var timescale = MP4Demuxer.readUint32(sidx, index);\n index += 4;\n // TODO: parse earliestPresentationTime and firstOffset\n // usually zero in our case\n var earliestPresentationTime = 0;\n var firstOffset = 0;\n if (version === 0) {\n index += 8;\n }\n else {\n index += 16;\n }\n // skip reserved\n index += 2;\n var startByte = sidx.end + firstOffset;\n var referencesCount = MP4Demuxer.readUint16(sidx, index);\n index += 2;\n for (var i = 0; i < referencesCount; i++) {\n var referenceIndex = index;\n var referenceInfo = MP4Demuxer.readUint32(sidx, referenceIndex);\n referenceIndex += 4;\n var referenceSize = referenceInfo & 0x7FFFFFFF;\n var referenceType = (referenceInfo & 0x80000000) >>> 31;\n if (referenceType === 1) {\n console.warn('SIDX has hierarchical references (not supported)');\n return;\n }\n var subsegmentDuration = MP4Demuxer.readUint32(sidx, referenceIndex);\n referenceIndex += 4;\n references.push({\n referenceSize: referenceSize,\n subsegmentDuration: subsegmentDuration,\n info: {\n duration: subsegmentDuration / timescale,\n start: startByte,\n end: startByte + referenceSize - 1\n }\n });\n startByte += referenceSize;\n // Skipping 1 bit for |startsWithSap|, 3 bits for |sapType|, and 28 bits\n // for |sapDelta|.\n referenceIndex += 4;\n // skip to next ref\n index = referenceIndex;\n }\n return {\n earliestPresentationTime: earliestPresentationTime,\n timescale: timescale,\n version: version,\n referencesCount: referencesCount,\n references: references,\n moovEndOffset: moovEndOffset\n };\n };\n /**\n * Parses an MP4 initialization segment and extracts stream type and\n * timescale values for any declared tracks. Timescale values indicate the\n * number of clock ticks per second to assume for time-based values\n * elsewhere in the MP4.\n *\n * To determine the start time of an MP4, you need two pieces of\n * information: the timescale unit and the earliest base media decode\n * time. Multiple timescales can be specified within an MP4 but the\n * base media decode time is always expressed in the timescale from\n * the media header box for the track:\n * ```\n * moov > trak > mdia > mdhd.timescale\n * moov > trak > mdia > hdlr\n * ```\n * @param init {Uint8Array} the bytes of the init segment\n * @return {object} a hash of track type to timescale values or null if\n * the init segment is malformed.\n */\n MP4Demuxer.parseInitSegment = function (initSegment) {\n var result = [];\n var traks = MP4Demuxer.findBox(initSegment, ['moov', 'trak']);\n traks.forEach(function (trak) {\n var tkhd = MP4Demuxer.findBox(trak, ['tkhd'])[0];\n if (tkhd) {\n var version = tkhd.data[tkhd.start];\n var index = version === 0 ? 12 : 20;\n var trackId = MP4Demuxer.readUint32(tkhd, index);\n var mdhd = MP4Demuxer.findBox(trak, ['mdia', 'mdhd'])[0];\n if (mdhd) {\n version = mdhd.data[mdhd.start];\n index = version === 0 ? 12 : 20;\n var timescale = MP4Demuxer.readUint32(mdhd, index);\n var hdlr = MP4Demuxer.findBox(trak, ['mdia', 'hdlr'])[0];\n if (hdlr) {\n var hdlrType = MP4Demuxer.bin2str(hdlr.data.subarray(hdlr.start + 8, hdlr.start + 12));\n var type = { 'soun': 'audio', 'vide': 'video' }[hdlrType];\n if (type) {\n // extract codec info. TODO : parse codec details to be able to build MIME type\n var codecBox = MP4Demuxer.findBox(trak, ['mdia', 'minf', 'stbl', 'stsd']);\n if (codecBox.length) {\n codecBox = codecBox[0];\n var codecType = MP4Demuxer.bin2str(codecBox.data.subarray(codecBox.start + 12, codecBox.start + 16));\n logger_1.logger.log(\"MP4Demuxer:\" + type + \":\" + codecType + \" found\");\n }\n result[trackId] = { timescale: timescale, type: type };\n result[type] = { timescale: timescale, id: trackId };\n }\n }\n }\n }\n });\n return result;\n };\n /**\n * Determine the base media decode start time, in seconds, for an MP4\n * fragment. If multiple fragments are specified, the earliest time is\n * returned.\n *\n * The base media decode time can be parsed from track fragment\n * metadata:\n * ```\n * moof > traf > tfdt.baseMediaDecodeTime\n * ```\n * It requires the timescale value from the mdhd to interpret.\n *\n * @param timescale {object} a hash of track ids to timescale values.\n * @return {number} the earliest base media decode start time for the\n * fragment, in seconds\n */\n MP4Demuxer.getStartDTS = function (initData, fragment) {\n var trafs, baseTimes, result;\n // we need info from two childrend of each track fragment box\n trafs = MP4Demuxer.findBox(fragment, ['moof', 'traf']);\n // determine the start times for each track\n baseTimes = [].concat.apply([], trafs.map(function (traf) {\n return MP4Demuxer.findBox(traf, ['tfhd']).map(function (tfhd) {\n var id, scale, baseTime;\n // get the track id from the tfhd\n id = MP4Demuxer.readUint32(tfhd, 4);\n // assume a 90kHz clock if no timescale was specified\n scale = initData[id].timescale || 90e3;\n // get the base media decode time from the tfdt\n baseTime = MP4Demuxer.findBox(traf, ['tfdt']).map(function (tfdt) {\n var version, result;\n version = tfdt.data[tfdt.start];\n result = MP4Demuxer.readUint32(tfdt, 4);\n if (version === 1) {\n result *= Math.pow(2, 32);\n result += MP4Demuxer.readUint32(tfdt, 8);\n }\n return result;\n })[0];\n // convert base time to seconds\n return baseTime / scale;\n });\n }));\n // return the minimum\n result = Math.min.apply(null, baseTimes);\n return isFinite(result) ? result : 0;\n };\n MP4Demuxer.offsetStartDTS = function (initData, fragment, timeOffset) {\n MP4Demuxer.findBox(fragment, ['moof', 'traf']).map(function (traf) {\n return MP4Demuxer.findBox(traf, ['tfhd']).map(function (tfhd) {\n // get the track id from the tfhd\n var id = MP4Demuxer.readUint32(tfhd, 4);\n // assume a 90kHz clock if no timescale was specified\n var timescale = initData[id].timescale || 90e3;\n // get the base media decode time from the tfdt\n MP4Demuxer.findBox(traf, ['tfdt']).map(function (tfdt) {\n var version = tfdt.data[tfdt.start];\n var baseMediaDecodeTime = MP4Demuxer.readUint32(tfdt, 4);\n if (version === 0) {\n MP4Demuxer.writeUint32(tfdt, 4, baseMediaDecodeTime - timeOffset * timescale);\n }\n else {\n baseMediaDecodeTime *= Math.pow(2, 32);\n baseMediaDecodeTime += MP4Demuxer.readUint32(tfdt, 8);\n baseMediaDecodeTime -= timeOffset * timescale;\n baseMediaDecodeTime = Math.max(baseMediaDecodeTime, 0);\n var upper = Math.floor(baseMediaDecodeTime / (UINT32_MAX + 1));\n var lower = Math.floor(baseMediaDecodeTime % (UINT32_MAX + 1));\n MP4Demuxer.writeUint32(tfdt, 4, upper);\n MP4Demuxer.writeUint32(tfdt, 8, lower);\n }\n });\n });\n });\n };\n // feed incoming data to the front of the parsing pipeline\n MP4Demuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var initData = this.initData;\n if (!initData) {\n this.resetInitSegment(data, this.audioCodec, this.videoCodec, false);\n initData = this.initData;\n }\n var startDTS, initPTS = this.initPTS;\n if (initPTS === undefined) {\n var startDTS_1 = MP4Demuxer.getStartDTS(initData, data);\n this.initPTS = initPTS = startDTS_1 - timeOffset;\n this.observer.trigger(events_1.default.INIT_PTS_FOUND, { initPTS: initPTS });\n }\n MP4Demuxer.offsetStartDTS(initData, data, initPTS);\n startDTS = MP4Demuxer.getStartDTS(initData, data);\n this.remuxer.remux(initData.audio, initData.video, null, null, startDTS, contiguous, accurateTimeOffset, data);\n };\n MP4Demuxer.prototype.destroy = function () { };\n return MP4Demuxer;\n}());\nexports.default = MP4Demuxer;\n\n\n/***/ }),\n\n/***/ \"./src/demux/mpegaudio.js\":\n/*!********************************!*\\\n !*** ./src/demux/mpegaudio.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * MPEG parser helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar MpegAudio = {\n BitratesMap: [\n 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448,\n 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384,\n 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320,\n 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256,\n 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160\n ],\n SamplingRateMap: [44100, 48000, 32000, 22050, 24000, 16000, 11025, 12000, 8000],\n SamplesCoefficients: [\n // MPEG 2.5\n [\n 0,\n 72,\n 144,\n 12 // Layer1\n ],\n // Reserved\n [\n 0,\n 0,\n 0,\n 0 // Layer1\n ],\n // MPEG 2\n [\n 0,\n 72,\n 144,\n 12 // Layer1\n ],\n // MPEG 1\n [\n 0,\n 144,\n 144,\n 12 // Layer1\n ]\n ],\n BytesInSlot: [\n 0,\n 1,\n 1,\n 4 // Layer1\n ],\n appendFrame: function (track, data, offset, pts, frameIndex) {\n // Using http://www.datavoyage.com/mpgscript/mpeghdr.htm as a reference\n if (offset + 24 > data.length) {\n return undefined;\n }\n var header = this.parseHeader(data, offset);\n if (header && offset + header.frameLength <= data.length) {\n var frameDuration = header.samplesPerFrame * 90000 / header.sampleRate;\n var stamp = pts + frameIndex * frameDuration;\n var sample = { unit: data.subarray(offset, offset + header.frameLength), pts: stamp, dts: stamp };\n track.config = [];\n track.channelCount = header.channelCount;\n track.samplerate = header.sampleRate;\n track.samples.push(sample);\n track.len += header.frameLength;\n return { sample: sample, length: header.frameLength };\n }\n return undefined;\n },\n parseHeader: function (data, offset) {\n var headerB = (data[offset + 1] >> 3) & 3;\n var headerC = (data[offset + 1] >> 1) & 3;\n var headerE = (data[offset + 2] >> 4) & 15;\n var headerF = (data[offset + 2] >> 2) & 3;\n var headerG = (data[offset + 2] >> 1) & 1;\n if (headerB !== 1 && headerE !== 0 && headerE !== 15 && headerF !== 3) {\n var columnInBitrates = headerB === 3 ? (3 - headerC) : (headerC === 3 ? 3 : 4);\n var bitRate = MpegAudio.BitratesMap[columnInBitrates * 14 + headerE - 1] * 1000;\n var columnInSampleRates = headerB === 3 ? 0 : headerB === 2 ? 1 : 2;\n var sampleRate = MpegAudio.SamplingRateMap[columnInSampleRates * 3 + headerF];\n var channelCount = data[offset + 3] >> 6 === 3 ? 1 : 2; // If bits of channel mode are `11` then it is a single channel (Mono)\n var sampleCoefficient = MpegAudio.SamplesCoefficients[headerB][headerC];\n var bytesInSlot = MpegAudio.BytesInSlot[headerC];\n var samplesPerFrame = sampleCoefficient * 8 * bytesInSlot;\n var frameLength = parseInt(sampleCoefficient * bitRate / sampleRate + headerG, 10) * bytesInSlot;\n return { sampleRate: sampleRate, channelCount: channelCount, frameLength: frameLength, samplesPerFrame: samplesPerFrame };\n }\n return undefined;\n },\n isHeaderPattern: function (data, offset) {\n return data[offset] === 0xff && (data[offset + 1] & 0xe0) === 0xe0 && (data[offset + 1] & 0x06) !== 0x00;\n },\n isHeader: function (data, offset) {\n // Look for MPEG header | 1111 1111 | 111X XYZX | where X can be either 0 or 1 and Y or Z should be 1\n // Layer bits (position 14 and 15) in header should be always different from 0 (Layer I or Layer II or Layer III)\n // More info http://www.mp3-tech.org/programmer/frame_header.html\n if (offset + 1 < data.length && this.isHeaderPattern(data, offset)) {\n return true;\n }\n return false;\n },\n probe: function (data, offset) {\n // same as isHeader but we also check that MPEG frame follows last MPEG frame\n // or end of data is reached\n if (offset + 1 < data.length && this.isHeaderPattern(data, offset)) {\n // MPEG header Length\n var headerLength = 4;\n // MPEG frame Length\n var header = this.parseHeader(data, offset);\n var frameLength = headerLength;\n if (header && header.frameLength) {\n frameLength = header.frameLength;\n }\n var newOffset = offset + frameLength;\n if (newOffset === data.length || (newOffset + 1 < data.length && this.isHeaderPattern(data, newOffset))) {\n return true;\n }\n }\n return false;\n }\n};\nexports.default = MpegAudio;\n\n\n/***/ }),\n\n/***/ \"./src/demux/sample-aes.js\":\n/*!*********************************!*\\\n !*** ./src/demux/sample-aes.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * SAMPLE-AES decrypter\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar decrypter_1 = __webpack_require__(/*! ../crypt/decrypter */ \"./src/crypt/decrypter.js\");\nvar SampleAesDecrypter = /** @class */ (function () {\n function SampleAesDecrypter(observer, config, decryptdata, discardEPB) {\n this.decryptdata = decryptdata;\n this.discardEPB = discardEPB;\n this.decrypter = new decrypter_1.default(observer, config, { removePKCS7Padding: false });\n }\n SampleAesDecrypter.prototype.decryptBuffer = function (encryptedData, callback) {\n this.decrypter.decrypt(encryptedData, this.decryptdata.key.buffer, this.decryptdata.iv.buffer, callback);\n };\n // AAC - encrypt all full 16 bytes blocks starting from offset 16\n SampleAesDecrypter.prototype.decryptAacSample = function (samples, sampleIndex, callback, sync) {\n var curUnit = samples[sampleIndex].unit;\n var encryptedData = curUnit.subarray(16, curUnit.length - curUnit.length % 16);\n var encryptedBuffer = encryptedData.buffer.slice(encryptedData.byteOffset, encryptedData.byteOffset + encryptedData.length);\n var localthis = this;\n this.decryptBuffer(encryptedBuffer, function (decryptedData) {\n decryptedData = new Uint8Array(decryptedData);\n curUnit.set(decryptedData, 16);\n if (!sync) {\n localthis.decryptAacSamples(samples, sampleIndex + 1, callback);\n }\n });\n };\n SampleAesDecrypter.prototype.decryptAacSamples = function (samples, sampleIndex, callback) {\n for (;; sampleIndex++) {\n if (sampleIndex >= samples.length) {\n callback();\n return;\n }\n if (samples[sampleIndex].unit.length < 32) {\n continue;\n }\n var sync = this.decrypter.isSync();\n this.decryptAacSample(samples, sampleIndex, callback, sync);\n if (!sync) {\n return;\n }\n }\n };\n // AVC - encrypt one 16 bytes block out of ten, starting from offset 32\n SampleAesDecrypter.prototype.getAvcEncryptedData = function (decodedData) {\n var encryptedDataLen = Math.floor((decodedData.length - 48) / 160) * 16 + 16;\n var encryptedData = new Int8Array(encryptedDataLen);\n var outputPos = 0;\n for (var inputPos = 32; inputPos <= decodedData.length - 16; inputPos += 160, outputPos += 16) {\n encryptedData.set(decodedData.subarray(inputPos, inputPos + 16), outputPos);\n }\n return encryptedData;\n };\n SampleAesDecrypter.prototype.getAvcDecryptedUnit = function (decodedData, decryptedData) {\n decryptedData = new Uint8Array(decryptedData);\n var inputPos = 0;\n for (var outputPos = 32; outputPos <= decodedData.length - 16; outputPos += 160, inputPos += 16) {\n decodedData.set(decryptedData.subarray(inputPos, inputPos + 16), outputPos);\n }\n return decodedData;\n };\n SampleAesDecrypter.prototype.decryptAvcSample = function (samples, sampleIndex, unitIndex, callback, curUnit, sync) {\n var decodedData = this.discardEPB(curUnit.data);\n var encryptedData = this.getAvcEncryptedData(decodedData);\n var localthis = this;\n this.decryptBuffer(encryptedData.buffer, function (decryptedData) {\n curUnit.data = localthis.getAvcDecryptedUnit(decodedData, decryptedData);\n if (!sync) {\n localthis.decryptAvcSamples(samples, sampleIndex, unitIndex + 1, callback);\n }\n });\n };\n SampleAesDecrypter.prototype.decryptAvcSamples = function (samples, sampleIndex, unitIndex, callback) {\n for (;; sampleIndex++, unitIndex = 0) {\n if (sampleIndex >= samples.length) {\n callback();\n return;\n }\n var curUnits = samples[sampleIndex].units;\n for (;; unitIndex++) {\n if (unitIndex >= curUnits.length) {\n break;\n }\n var curUnit = curUnits[unitIndex];\n if (curUnit.length <= 48 || (curUnit.type !== 1 && curUnit.type !== 5)) {\n continue;\n }\n var sync = this.decrypter.isSync();\n this.decryptAvcSample(samples, sampleIndex, unitIndex, callback, curUnit, sync);\n if (!sync) {\n return;\n }\n }\n }\n };\n return SampleAesDecrypter;\n}());\nexports.default = SampleAesDecrypter;\n\n\n/***/ }),\n\n/***/ \"./src/demux/tsdemuxer.js\":\n/*!********************************!*\\\n !*** ./src/demux/tsdemuxer.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * highly optimized TS demuxer:\n * parse PAT, PMT\n * extract PES packet from audio and video PIDs\n * extract AVC/H264 NAL units and AAC/ADTS samples from PES packet\n * trigger the remuxer upon parsing completion\n * it also tries to workaround as best as it can audio codec switch (HE-AAC to AAC and vice versa), without having to restart the MediaSource.\n * it also controls the remuxing process :\n * upon discontinuity or level switch detection, it will also notifies the remuxer so that it can reset its state.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ADTS = __webpack_require__(/*! ./adts */ \"./src/demux/adts.js\");\nvar mpegaudio_1 = __webpack_require__(/*! ./mpegaudio */ \"./src/demux/mpegaudio.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar exp_golomb_1 = __webpack_require__(/*! ./exp-golomb */ \"./src/demux/exp-golomb.js\");\nvar sample_aes_1 = __webpack_require__(/*! ./sample-aes */ \"./src/demux/sample-aes.js\");\n// import Hex from '../utils/hex';\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\n// We are using fixed track IDs for driving the MP4 remuxer\n// instead of following the TS PIDs.\n// There is no reason not to do this and some browsers/SourceBuffer-demuxers\n// may not like if there are TrackID \"switches\"\n// See https://github.com/video-dev/hls.js/issues/1331\n// Here we are mapping our internal track types to constant MP4 track IDs\n// With MSE currently one can only have one track of each, and we are muxing\n// whatever video/audio rendition in them.\nvar RemuxerTrackIdConfig = {\n video: 1,\n audio: 2,\n id3: 3,\n text: 4\n};\nvar TSDemuxer = /** @class */ (function () {\n function TSDemuxer(observer, remuxer, config, typeSupported) {\n this.observer = observer;\n this.config = config;\n this.typeSupported = typeSupported;\n this.remuxer = remuxer;\n this.sampleAes = null;\n }\n TSDemuxer.prototype.setDecryptData = function (decryptdata) {\n if ((decryptdata != null) && (decryptdata.key != null) && (decryptdata.method === 'SAMPLE-AES')) {\n this.sampleAes = new sample_aes_1.default(this.observer, this.config, decryptdata, this.discardEPB);\n }\n else {\n this.sampleAes = null;\n }\n };\n TSDemuxer.probe = function (data) {\n var syncOffset = TSDemuxer._syncOffset(data);\n if (syncOffset < 0) {\n return false;\n }\n else {\n if (syncOffset) {\n logger_1.logger.warn(\"MPEG2-TS detected but first sync word found @ offset \" + syncOffset + \", junk ahead ?\");\n }\n return true;\n }\n };\n TSDemuxer._syncOffset = function (data) {\n // scan 1000 first bytes\n var scanwindow = Math.min(1000, data.length - 3 * 188);\n var i = 0;\n while (i < scanwindow) {\n // a TS fragment should contain at least 3 TS packets, a PAT, a PMT, and one PID, each starting with 0x47\n if (data[i] === 0x47 && data[i + 188] === 0x47 && data[i + 2 * 188] === 0x47) {\n return i;\n }\n else {\n i++;\n }\n }\n return -1;\n };\n /**\n * Creates a track model internal to demuxer used to drive remuxing input\n *\n * @param {string} type 'audio' | 'video' | 'id3' | 'text'\n * @param {number} duration\n * @return {object} TSDemuxer's internal track model\n */\n TSDemuxer.createTrack = function (type, duration) {\n return {\n container: type === 'video' || type === 'audio' ? 'video/mp2t' : undefined,\n type: type,\n id: RemuxerTrackIdConfig[type],\n pid: -1,\n inputTimeScale: 90000,\n sequenceNumber: 0,\n samples: [],\n len: 0,\n dropped: type === 'video' ? 0 : undefined,\n isAAC: type === 'audio' ? true : undefined,\n duration: type === 'audio' ? duration : undefined\n };\n };\n /**\n * Initializes a new init segment on the demuxer/remuxer interface. Needed for discontinuities/track-switches (or at stream start)\n * Resets all internal track instances of the demuxer.\n *\n * @override Implements generic demuxing/remuxing interface (see DemuxerInline)\n * @param {object} initSegment\n * @param {string} audioCodec\n * @param {string} videoCodec\n * @param {number} duration (in TS timescale = 90kHz)\n */\n TSDemuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n this.pmtParsed = false;\n this._pmtId = -1;\n this._avcTrack = TSDemuxer.createTrack('video', duration);\n this._audioTrack = TSDemuxer.createTrack('audio', duration);\n this._id3Track = TSDemuxer.createTrack('id3', duration);\n this._txtTrack = TSDemuxer.createTrack('text', duration);\n // flush any partial content\n this.aacOverFlow = null;\n this.aacLastPTS = null;\n this.avcSample = null;\n this.audioCodec = audioCodec;\n this.videoCodec = videoCodec;\n this._duration = duration;\n };\n /**\n *\n * @override\n */\n TSDemuxer.prototype.resetTimeStamp = function () { };\n // feed incoming data to the front of the parsing pipeline\n TSDemuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var start, len = data.length, stt, pid, atf, offset, pes, unknownPIDs = false;\n this.contiguous = contiguous;\n var pmtParsed = this.pmtParsed, avcTrack = this._avcTrack, audioTrack = this._audioTrack, id3Track = this._id3Track, avcId = avcTrack.pid, audioId = audioTrack.pid, id3Id = id3Track.pid, pmtId = this._pmtId, avcData = avcTrack.pesData, audioData = audioTrack.pesData, id3Data = id3Track.pesData, parsePAT = this._parsePAT, parsePMT = this._parsePMT, parsePES = this._parsePES, parseAVCPES = this._parseAVCPES.bind(this), parseAACPES = this._parseAACPES.bind(this), parseMPEGPES = this._parseMPEGPES.bind(this), parseID3PES = this._parseID3PES.bind(this);\n var syncOffset = TSDemuxer._syncOffset(data);\n // don't parse last TS packet if incomplete\n len -= (len + syncOffset) % 188;\n // loop through TS packets\n for (start = syncOffset; start < len; start += 188) {\n if (data[start] === 0x47) {\n stt = !!(data[start + 1] & 0x40);\n // pid is a 13-bit field starting at the last bit of TS[1]\n pid = ((data[start + 1] & 0x1f) << 8) + data[start + 2];\n atf = (data[start + 3] & 0x30) >> 4;\n // if an adaption field is present, its length is specified by the fifth byte of the TS packet header.\n if (atf > 1) {\n offset = start + 5 + data[start + 4];\n // continue if there is only adaptation field\n if (offset === (start + 188)) {\n continue;\n }\n }\n else {\n offset = start + 4;\n }\n switch (pid) {\n case avcId:\n if (stt) {\n if (avcData && (pes = parsePES(avcData)) && pes.pts !== undefined) {\n parseAVCPES(pes, false);\n }\n avcData = { data: [], size: 0 };\n }\n if (avcData) {\n avcData.data.push(data.subarray(offset, start + 188));\n avcData.size += start + 188 - offset;\n }\n break;\n case audioId:\n if (stt) {\n if (audioData && (pes = parsePES(audioData)) && pes.pts !== undefined) {\n if (audioTrack.isAAC) {\n parseAACPES(pes);\n }\n else {\n parseMPEGPES(pes);\n }\n }\n audioData = { data: [], size: 0 };\n }\n if (audioData) {\n audioData.data.push(data.subarray(offset, start + 188));\n audioData.size += start + 188 - offset;\n }\n break;\n case id3Id:\n if (stt) {\n if (id3Data && (pes = parsePES(id3Data)) && pes.pts !== undefined) {\n parseID3PES(pes);\n }\n id3Data = { data: [], size: 0 };\n }\n if (id3Data) {\n id3Data.data.push(data.subarray(offset, start + 188));\n id3Data.size += start + 188 - offset;\n }\n break;\n case 0:\n if (stt) {\n offset += data[offset] + 1;\n }\n pmtId = this._pmtId = parsePAT(data, offset);\n break;\n case pmtId:\n if (stt) {\n offset += data[offset] + 1;\n }\n var parsedPIDs = parsePMT(data, offset, this.typeSupported.mpeg === true || this.typeSupported.mp3 === true, this.sampleAes != null);\n // only update track id if track PID found while parsing PMT\n // this is to avoid resetting the PID to -1 in case\n // track PID transiently disappears from the stream\n // this could happen in case of transient missing audio samples for example\n // NOTE this is only the PID of the track as found in TS,\n // but we are not using this for MP4 track IDs.\n avcId = parsedPIDs.avc;\n if (avcId > 0) {\n avcTrack.pid = avcId;\n }\n audioId = parsedPIDs.audio;\n if (audioId > 0) {\n audioTrack.pid = audioId;\n audioTrack.isAAC = parsedPIDs.isAAC;\n }\n id3Id = parsedPIDs.id3;\n if (id3Id > 0) {\n id3Track.pid = id3Id;\n }\n if (unknownPIDs && !pmtParsed) {\n logger_1.logger.log('reparse from beginning');\n unknownPIDs = false;\n // we set it to -188, the += 188 in the for loop will reset start to 0\n start = syncOffset - 188;\n }\n pmtParsed = this.pmtParsed = true;\n break;\n case 17:\n case 0x1fff:\n break;\n default:\n unknownPIDs = true;\n break;\n }\n }\n else {\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: false, reason: 'TS packet did not start with 0x47' });\n }\n }\n // try to parse last PES packets\n if (avcData && (pes = parsePES(avcData)) && pes.pts !== undefined) {\n parseAVCPES(pes, true);\n avcTrack.pesData = null;\n }\n else {\n // either avcData null or PES truncated, keep it for next frag parsing\n avcTrack.pesData = avcData;\n }\n if (audioData && (pes = parsePES(audioData)) && pes.pts !== undefined) {\n if (audioTrack.isAAC) {\n parseAACPES(pes);\n }\n else {\n parseMPEGPES(pes);\n }\n audioTrack.pesData = null;\n }\n else {\n if (audioData && audioData.size) {\n logger_1.logger.log('last AAC PES packet truncated,might overlap between fragments');\n }\n // either audioData null or PES truncated, keep it for next frag parsing\n audioTrack.pesData = audioData;\n }\n if (id3Data && (pes = parsePES(id3Data)) && pes.pts !== undefined) {\n parseID3PES(pes);\n id3Track.pesData = null;\n }\n else {\n // either id3Data null or PES truncated, keep it for next frag parsing\n id3Track.pesData = id3Data;\n }\n if (this.sampleAes == null) {\n this.remuxer.remux(audioTrack, avcTrack, id3Track, this._txtTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n else {\n this.decryptAndRemux(audioTrack, avcTrack, id3Track, this._txtTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n };\n TSDemuxer.prototype.decryptAndRemux = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset) {\n if (audioTrack.samples && audioTrack.isAAC) {\n var localthis_1 = this;\n this.sampleAes.decryptAacSamples(audioTrack.samples, 0, function () {\n localthis_1.decryptAndRemuxAvc(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n });\n }\n else {\n this.decryptAndRemuxAvc(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n };\n TSDemuxer.prototype.decryptAndRemuxAvc = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset) {\n if (videoTrack.samples) {\n var localthis_2 = this;\n this.sampleAes.decryptAvcSamples(videoTrack.samples, 0, 0, function () {\n localthis_2.remuxer.remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n });\n }\n else {\n this.remuxer.remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n };\n TSDemuxer.prototype.destroy = function () {\n this._initPTS = this._initDTS = undefined;\n this._duration = 0;\n };\n TSDemuxer.prototype._parsePAT = function (data, offset) {\n // skip the PSI header and parse the first PMT entry\n return (data[offset + 10] & 0x1F) << 8 | data[offset + 11];\n // logger.log('PMT PID:' + this._pmtId);\n };\n TSDemuxer.prototype._parsePMT = function (data, offset, mpegSupported, isSampleAes) {\n var sectionLength, tableEnd, programInfoLength, pid, result = { audio: -1, avc: -1, id3: -1, isAAC: true };\n sectionLength = (data[offset + 1] & 0x0f) << 8 | data[offset + 2];\n tableEnd = offset + 3 + sectionLength - 4;\n // to determine where the table is, we have to figure out how\n // long the program info descriptors are\n programInfoLength = (data[offset + 10] & 0x0f) << 8 | data[offset + 11];\n // advance the offset to the first entry in the mapping table\n offset += 12 + programInfoLength;\n while (offset < tableEnd) {\n pid = (data[offset + 1] & 0x1F) << 8 | data[offset + 2];\n switch (data[offset]) {\n case 0xcf: // SAMPLE-AES AAC\n if (!isSampleAes) {\n logger_1.logger.log('unkown stream type:' + data[offset]);\n break;\n }\n /* falls through */\n // ISO/IEC 13818-7 ADTS AAC (MPEG-2 lower bit-rate audio)\n case 0x0f:\n // logger.log('AAC PID:' + pid);\n if (result.audio === -1) {\n result.audio = pid;\n }\n break;\n // Packetized metadata (ID3)\n case 0x15:\n // logger.log('ID3 PID:' + pid);\n if (result.id3 === -1) {\n result.id3 = pid;\n }\n break;\n case 0xdb: // SAMPLE-AES AVC\n if (!isSampleAes) {\n logger_1.logger.log('unkown stream type:' + data[offset]);\n break;\n }\n /* falls through */\n // ITU-T Rec. H.264 and ISO/IEC 14496-10 (lower bit-rate video)\n case 0x1b:\n // logger.log('AVC PID:' + pid);\n if (result.avc === -1) {\n result.avc = pid;\n }\n break;\n // ISO/IEC 11172-3 (MPEG-1 audio)\n // or ISO/IEC 13818-3 (MPEG-2 halved sample rate audio)\n case 0x03:\n case 0x04:\n // logger.log('MPEG PID:' + pid);\n if (!mpegSupported) {\n logger_1.logger.log('MPEG audio found, not supported in this browser for now');\n }\n else if (result.audio === -1) {\n result.audio = pid;\n result.isAAC = false;\n }\n break;\n case 0x24:\n logger_1.logger.warn('HEVC stream type found, not supported for now');\n break;\n default:\n logger_1.logger.log('unkown stream type:' + data[offset]);\n break;\n }\n // move to the next table entry\n // skip past the elementary stream descriptors, if present\n offset += ((data[offset + 3] & 0x0F) << 8 | data[offset + 4]) + 5;\n }\n return result;\n };\n TSDemuxer.prototype._parsePES = function (stream) {\n var i = 0, frag, pesFlags, pesPrefix, pesLen, pesHdrLen, pesData, pesPts, pesDts, payloadStartOffset, data = stream.data;\n // safety check\n if (!stream || stream.size === 0) {\n return null;\n }\n // we might need up to 19 bytes to read PES header\n // if first chunk of data is less than 19 bytes, let's merge it with following ones until we get 19 bytes\n // usually only one merge is needed (and this is rare ...)\n while (data[0].length < 19 && data.length > 1) {\n var newData = new Uint8Array(data[0].length + data[1].length);\n newData.set(data[0]);\n newData.set(data[1], data[0].length);\n data[0] = newData;\n data.splice(1, 1);\n }\n // retrieve PTS/DTS from first fragment\n frag = data[0];\n pesPrefix = (frag[0] << 16) + (frag[1] << 8) + frag[2];\n if (pesPrefix === 1) {\n pesLen = (frag[4] << 8) + frag[5];\n // if PES parsed length is not zero and greater than total received length, stop parsing. PES might be truncated\n // minus 6 : PES header size\n if (pesLen && pesLen > stream.size - 6) {\n return null;\n }\n pesFlags = frag[7];\n if (pesFlags & 0xC0) {\n /* PES header described here : http://dvd.sourceforge.net/dvdinfo/pes-hdr.html\n as PTS / DTS is 33 bit we cannot use bitwise operator in JS,\n as Bitwise operators treat their operands as a sequence of 32 bits */\n pesPts = (frag[9] & 0x0E) * 536870912 + // 1 << 29\n (frag[10] & 0xFF) * 4194304 + // 1 << 22\n (frag[11] & 0xFE) * 16384 + // 1 << 14\n (frag[12] & 0xFF) * 128 + // 1 << 7\n (frag[13] & 0xFE) / 2;\n // check if greater than 2^32 -1\n if (pesPts > 4294967295) {\n // decrement 2^33\n pesPts -= 8589934592;\n }\n if (pesFlags & 0x40) {\n pesDts = (frag[14] & 0x0E) * 536870912 + // 1 << 29\n (frag[15] & 0xFF) * 4194304 + // 1 << 22\n (frag[16] & 0xFE) * 16384 + // 1 << 14\n (frag[17] & 0xFF) * 128 + // 1 << 7\n (frag[18] & 0xFE) / 2;\n // check if greater than 2^32 -1\n if (pesDts > 4294967295) {\n // decrement 2^33\n pesDts -= 8589934592;\n }\n if (pesPts - pesDts > 60 * 90000) {\n logger_1.logger.warn(Math.round((pesPts - pesDts) / 90000) + \"s delta between PTS and DTS, align them\");\n pesPts = pesDts;\n }\n }\n else {\n pesDts = pesPts;\n }\n }\n pesHdrLen = frag[8];\n // 9 bytes : 6 bytes for PES header + 3 bytes for PES extension\n payloadStartOffset = pesHdrLen + 9;\n stream.size -= payloadStartOffset;\n // reassemble PES packet\n pesData = new Uint8Array(stream.size);\n for (var j = 0, dataLen = data.length; j < dataLen; j++) {\n frag = data[j];\n var len = frag.byteLength;\n if (payloadStartOffset) {\n if (payloadStartOffset > len) {\n // trim full frag if PES header bigger than frag\n payloadStartOffset -= len;\n continue;\n }\n else {\n // trim partial frag if PES header smaller than frag\n frag = frag.subarray(payloadStartOffset);\n len -= payloadStartOffset;\n payloadStartOffset = 0;\n }\n }\n pesData.set(frag, i);\n i += len;\n }\n if (pesLen) {\n // payload size : remove PES header + PES extension\n pesLen -= pesHdrLen + 3;\n }\n return { data: pesData, pts: pesPts, dts: pesDts, len: pesLen };\n }\n else {\n return null;\n }\n };\n TSDemuxer.prototype.pushAccesUnit = function (avcSample, avcTrack) {\n if (avcSample.units.length && avcSample.frame) {\n var samples = avcTrack.samples;\n var nbSamples = samples.length;\n // only push AVC sample if starting with a keyframe is not mandatory OR\n // if keyframe already found in this fragment OR\n // keyframe found in last fragment (track.sps) AND\n // samples already appended (we already found a keyframe in this fragment) OR fragment is contiguous\n if (!this.config.forceKeyFrameOnDiscontinuity ||\n avcSample.key === true ||\n (avcTrack.sps && (nbSamples || this.contiguous))) {\n avcSample.id = nbSamples;\n samples.push(avcSample);\n }\n else {\n // dropped samples, track it\n avcTrack.dropped++;\n }\n }\n if (avcSample.debug.length) {\n logger_1.logger.log(avcSample.pts + '/' + avcSample.dts + ':' + avcSample.debug);\n }\n };\n TSDemuxer.prototype._parseAVCPES = function (pes, last) {\n var _this = this;\n // logger.log('parse new PES');\n var track = this._avcTrack, units = this._parseAVCNALu(pes.data), debug = false, expGolombDecoder, avcSample = this.avcSample, push, spsfound = false, i, pushAccesUnit = this.pushAccesUnit.bind(this), createAVCSample = function (key, pts, dts, debug) {\n return { key: key, pts: pts, dts: dts, units: [], debug: debug };\n };\n // free pes.data to save up some memory\n pes.data = null;\n // if new NAL units found and last sample still there, let's push ...\n // this helps parsing streams with missing AUD (only do this if AUD never found)\n if (avcSample && units.length && !track.audFound) {\n pushAccesUnit(avcSample, track);\n avcSample = this.avcSample = createAVCSample(false, pes.pts, pes.dts, '');\n }\n units.forEach(function (unit) {\n switch (unit.type) {\n // NDR\n case 1:\n push = true;\n if (!avcSample) {\n avcSample = _this.avcSample = createAVCSample(true, pes.pts, pes.dts, '');\n }\n if (debug) {\n avcSample.debug += 'NDR ';\n }\n avcSample.frame = true;\n var data = unit.data;\n // only check slice type to detect KF in case SPS found in same packet (any keyframe is preceded by SPS ...)\n if (spsfound && data.length > 4) {\n // retrieve slice type by parsing beginning of NAL unit (follow H264 spec, slice_header definition) to detect keyframe embedded in NDR\n var sliceType = new exp_golomb_1.default(data).readSliceType();\n // 2 : I slice, 4 : SI slice, 7 : I slice, 9: SI slice\n // SI slice : A slice that is coded using intra prediction only and using quantisation of the prediction samples.\n // An SI slice can be coded such that its decoded samples can be constructed identically to an SP slice.\n // I slice: A slice that is not an SI slice that is decoded using intra prediction only.\n // if (sliceType === 2 || sliceType === 7) {\n if (sliceType === 2 || sliceType === 4 || sliceType === 7 || sliceType === 9) {\n avcSample.key = true;\n }\n }\n break;\n // IDR\n case 5:\n push = true;\n // handle PES not starting with AUD\n if (!avcSample) {\n avcSample = _this.avcSample = createAVCSample(true, pes.pts, pes.dts, '');\n }\n if (debug) {\n avcSample.debug += 'IDR ';\n }\n avcSample.key = true;\n avcSample.frame = true;\n break;\n // SEI\n case 6:\n push = true;\n if (debug && avcSample) {\n avcSample.debug += 'SEI ';\n }\n expGolombDecoder = new exp_golomb_1.default(_this.discardEPB(unit.data));\n // skip frameType\n expGolombDecoder.readUByte();\n var payloadType = 0;\n var payloadSize = 0;\n var endOfCaptions = false;\n var b = 0;\n while (!endOfCaptions && expGolombDecoder.bytesAvailable > 1) {\n payloadType = 0;\n do {\n b = expGolombDecoder.readUByte();\n payloadType += b;\n } while (b === 0xFF);\n // Parse payload size.\n payloadSize = 0;\n do {\n b = expGolombDecoder.readUByte();\n payloadSize += b;\n } while (b === 0xFF);\n // TODO: there can be more than one payload in an SEI packet...\n // TODO: need to read type and size in a while loop to get them all\n if (payloadType === 4 && expGolombDecoder.bytesAvailable !== 0) {\n endOfCaptions = true;\n var countryCode = expGolombDecoder.readUByte();\n if (countryCode === 181) {\n var providerCode = expGolombDecoder.readUShort();\n if (providerCode === 49) {\n var userStructure = expGolombDecoder.readUInt();\n if (userStructure === 0x47413934) {\n var userDataType = expGolombDecoder.readUByte();\n // Raw CEA-608 bytes wrapped in CEA-708 packet\n if (userDataType === 3) {\n var firstByte = expGolombDecoder.readUByte();\n var secondByte = expGolombDecoder.readUByte();\n var totalCCs = 31 & firstByte;\n var byteArray = [firstByte, secondByte];\n for (i = 0; i < totalCCs; i++) {\n // 3 bytes per CC\n byteArray.push(expGolombDecoder.readUByte());\n byteArray.push(expGolombDecoder.readUByte());\n byteArray.push(expGolombDecoder.readUByte());\n }\n _this._insertSampleInOrder(_this._txtTrack.samples, { type: 3, pts: pes.pts, bytes: byteArray });\n }\n }\n }\n }\n }\n else if (payloadSize < expGolombDecoder.bytesAvailable) {\n for (i = 0; i < payloadSize; i++) {\n expGolombDecoder.readUByte();\n }\n }\n }\n break;\n // SPS\n case 7:\n push = true;\n spsfound = true;\n if (debug && avcSample) {\n avcSample.debug += 'SPS ';\n }\n if (!track.sps) {\n expGolombDecoder = new exp_golomb_1.default(unit.data);\n var config = expGolombDecoder.readSPS();\n track.width = config.width;\n track.height = config.height;\n track.pixelRatio = config.pixelRatio;\n track.sps = [unit.data];\n track.duration = _this._duration;\n var codecarray = unit.data.subarray(1, 4);\n var codecstring = 'avc1.';\n for (i = 0; i < 3; i++) {\n var h = codecarray[i].toString(16);\n if (h.length < 2) {\n h = '0' + h;\n }\n codecstring += h;\n }\n track.codec = codecstring;\n }\n break;\n // PPS\n case 8:\n push = true;\n if (debug && avcSample) {\n avcSample.debug += 'PPS ';\n }\n if (!track.pps) {\n track.pps = [unit.data];\n }\n break;\n // AUD\n case 9:\n push = false;\n track.audFound = true;\n if (avcSample) {\n pushAccesUnit(avcSample, track);\n }\n avcSample = _this.avcSample = createAVCSample(false, pes.pts, pes.dts, debug ? 'AUD ' : '');\n break;\n // Filler Data\n case 12:\n push = false;\n break;\n default:\n push = false;\n if (avcSample) {\n avcSample.debug += 'unknown NAL ' + unit.type + ' ';\n }\n break;\n }\n if (avcSample && push) {\n var units_1 = avcSample.units;\n units_1.push(unit);\n }\n });\n // if last PES packet, push samples\n if (last && avcSample) {\n pushAccesUnit(avcSample, track);\n this.avcSample = null;\n }\n };\n TSDemuxer.prototype._insertSampleInOrder = function (arr, data) {\n var len = arr.length;\n if (len > 0) {\n if (data.pts >= arr[len - 1].pts) {\n arr.push(data);\n }\n else {\n for (var pos = len - 1; pos >= 0; pos--) {\n if (data.pts < arr[pos].pts) {\n arr.splice(pos, 0, data);\n break;\n }\n }\n }\n }\n else {\n arr.push(data);\n }\n };\n TSDemuxer.prototype._getLastNalUnit = function () {\n var avcSample = this.avcSample, lastUnit;\n // try to fallback to previous sample if current one is empty\n if (!avcSample || avcSample.units.length === 0) {\n var track = this._avcTrack, samples = track.samples;\n avcSample = samples[samples.length - 1];\n }\n if (avcSample) {\n var units = avcSample.units;\n lastUnit = units[units.length - 1];\n }\n return lastUnit;\n };\n TSDemuxer.prototype._parseAVCNALu = function (array) {\n var i = 0, len = array.byteLength, value, overflow, track = this._avcTrack, state = track.naluState || 0, lastState = state;\n var units = [], unit, unitType, lastUnitStart = -1, lastUnitType;\n // logger.log('PES:' + Hex.hexDump(array));\n if (state === -1) {\n // special use case where we found 3 or 4-byte start codes exactly at the end of previous PES packet\n lastUnitStart = 0;\n // NALu type is value read from offset 0\n lastUnitType = array[0] & 0x1f;\n state = 0;\n i = 1;\n }\n while (i < len) {\n value = array[i++];\n // optimization. state 0 and 1 are the predominant case. let's handle them outside of the switch/case\n if (!state) {\n state = value ? 0 : 1;\n continue;\n }\n if (state === 1) {\n state = value ? 0 : 2;\n continue;\n }\n // here we have state either equal to 2 or 3\n if (!value) {\n state = 3;\n }\n else if (value === 1) {\n if (lastUnitStart >= 0) {\n unit = { data: array.subarray(lastUnitStart, i - state - 1), type: lastUnitType };\n // logger.log('pushing NALU, type/size:' + unit.type + '/' + unit.data.byteLength);\n units.push(unit);\n }\n else {\n // lastUnitStart is undefined => this is the first start code found in this PES packet\n // first check if start code delimiter is overlapping between 2 PES packets,\n // ie it started in last packet (lastState not zero)\n // and ended at the beginning of this PES packet (i <= 4 - lastState)\n var lastUnit = this._getLastNalUnit();\n if (lastUnit) {\n if (lastState && (i <= 4 - lastState)) {\n // start delimiter overlapping between PES packets\n // strip start delimiter bytes from the end of last NAL unit\n // check if lastUnit had a state different from zero\n if (lastUnit.state) {\n // strip last bytes\n lastUnit.data = lastUnit.data.subarray(0, lastUnit.data.byteLength - lastState);\n }\n }\n // If NAL units are not starting right at the beginning of the PES packet, push preceding data into previous NAL unit.\n overflow = i - state - 1;\n if (overflow > 0) {\n // logger.log('first NALU found with overflow:' + overflow);\n var tmp = new Uint8Array(lastUnit.data.byteLength + overflow);\n tmp.set(lastUnit.data, 0);\n tmp.set(array.subarray(0, overflow), lastUnit.data.byteLength);\n lastUnit.data = tmp;\n }\n }\n }\n // check if we can read unit type\n if (i < len) {\n unitType = array[i] & 0x1f;\n // logger.log('find NALU @ offset:' + i + ',type:' + unitType);\n lastUnitStart = i;\n lastUnitType = unitType;\n state = 0;\n }\n else {\n // not enough byte to read unit type. let's read it on next PES parsing\n state = -1;\n }\n }\n else {\n state = 0;\n }\n }\n if (lastUnitStart >= 0 && state >= 0) {\n unit = { data: array.subarray(lastUnitStart, len), type: lastUnitType, state: state };\n units.push(unit);\n // logger.log('pushing NALU, type/size/state:' + unit.type + '/' + unit.data.byteLength + '/' + state);\n }\n // no NALu found\n if (units.length === 0) {\n // append pes.data to previous NAL unit\n var lastUnit = this._getLastNalUnit();\n if (lastUnit) {\n var tmp = new Uint8Array(lastUnit.data.byteLength + array.byteLength);\n tmp.set(lastUnit.data, 0);\n tmp.set(array, lastUnit.data.byteLength);\n lastUnit.data = tmp;\n }\n }\n track.naluState = state;\n return units;\n };\n /**\n * remove Emulation Prevention bytes from a RBSP\n */\n TSDemuxer.prototype.discardEPB = function (data) {\n var length = data.byteLength, EPBPositions = [], i = 1, newLength, newData;\n // Find all `Emulation Prevention Bytes`\n while (i < length - 2) {\n if (data[i] === 0 &&\n data[i + 1] === 0 &&\n data[i + 2] === 0x03) {\n EPBPositions.push(i + 2);\n i += 2;\n }\n else {\n i++;\n }\n }\n // If no Emulation Prevention Bytes were found just return the original\n // array\n if (EPBPositions.length === 0) {\n return data;\n }\n // Create a new array to hold the NAL unit data\n newLength = length - EPBPositions.length;\n newData = new Uint8Array(newLength);\n var sourceIndex = 0;\n for (i = 0; i < newLength; sourceIndex++, i++) {\n if (sourceIndex === EPBPositions[0]) {\n // Skip this byte\n sourceIndex++;\n // Remove this position index\n EPBPositions.shift();\n }\n newData[i] = data[sourceIndex];\n }\n return newData;\n };\n TSDemuxer.prototype._parseAACPES = function (pes) {\n var track = this._audioTrack, data = pes.data, pts = pes.pts, startOffset = 0, aacOverFlow = this.aacOverFlow, aacLastPTS = this.aacLastPTS, frameDuration, frameIndex, offset, stamp, len;\n if (aacOverFlow) {\n var tmp = new Uint8Array(aacOverFlow.byteLength + data.byteLength);\n tmp.set(aacOverFlow, 0);\n tmp.set(data, aacOverFlow.byteLength);\n // logger.log(`AAC: append overflowing ${aacOverFlow.byteLength} bytes to beginning of new PES`);\n data = tmp;\n }\n // look for ADTS header (0xFFFx)\n for (offset = startOffset, len = data.length; offset < len - 1; offset++) {\n if (ADTS.isHeader(data, offset)) {\n break;\n }\n }\n // if ADTS header does not start straight from the beginning of the PES payload, raise an error\n if (offset) {\n var reason = void 0, fatal = void 0;\n if (offset < len - 1) {\n reason = \"AAC PES did not start with ADTS header,offset:\" + offset;\n fatal = false;\n }\n else {\n reason = 'no ADTS header found in AAC PES';\n fatal = true;\n }\n logger_1.logger.warn(\"parsing error:\" + reason);\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: fatal, reason: reason });\n if (fatal) {\n return;\n }\n }\n ADTS.initTrackConfig(track, this.observer, data, offset, this.audioCodec);\n frameIndex = 0;\n frameDuration = ADTS.getFrameDuration(track.samplerate);\n // if last AAC frame is overflowing, we should ensure timestamps are contiguous:\n // first sample PTS should be equal to last sample PTS + frameDuration\n if (aacOverFlow && aacLastPTS) {\n var newPTS = aacLastPTS + frameDuration;\n if (Math.abs(newPTS - pts) > 1) {\n logger_1.logger.log(\"AAC: align PTS for overlapping frames by \" + Math.round((newPTS - pts) / 90));\n pts = newPTS;\n }\n }\n // scan for aac samples\n while (offset < len) {\n if (ADTS.isHeader(data, offset) && (offset + 5) < len) {\n var frame = ADTS.appendFrame(track, data, offset, pts, frameIndex);\n if (frame) {\n // logger.log(`${Math.round(frame.sample.pts)} : AAC`);\n offset += frame.length;\n stamp = frame.sample.pts;\n frameIndex++;\n }\n else {\n // logger.log('Unable to parse AAC frame');\n break;\n }\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n if (offset < len) {\n aacOverFlow = data.subarray(offset, len);\n // logger.log(`AAC: overflow detected:${len-offset}`);\n }\n else {\n aacOverFlow = null;\n }\n this.aacOverFlow = aacOverFlow;\n this.aacLastPTS = stamp;\n };\n TSDemuxer.prototype._parseMPEGPES = function (pes) {\n var data = pes.data;\n var length = data.length;\n var frameIndex = 0;\n var offset = 0;\n var pts = pes.pts;\n while (offset < length) {\n if (mpegaudio_1.default.isHeader(data, offset)) {\n var frame = mpegaudio_1.default.appendFrame(this._audioTrack, data, offset, pts, frameIndex);\n if (frame) {\n offset += frame.length;\n frameIndex++;\n }\n else {\n // logger.log('Unable to parse Mpeg audio frame');\n break;\n }\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n };\n TSDemuxer.prototype._parseID3PES = function (pes) {\n this._id3Track.samples.push(pes);\n };\n return TSDemuxer;\n}());\nexports.default = TSDemuxer;\n\n\n/***/ }),\n\n/***/ \"./src/errors.js\":\n/*!***********************!*\\\n !*** ./src/errors.js ***!\n \\***********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ErrorTypes = {\n // Identifier for a network error (loading error / timeout ...)\n NETWORK_ERROR: 'networkError',\n // Identifier for a media Error (video/parsing/mediasource error)\n MEDIA_ERROR: 'mediaError',\n // EME (encrypted media extensions) errors\n KEY_SYSTEM_ERROR: 'keySystemError',\n // Identifier for a mux Error (demuxing/remuxing)\n MUX_ERROR: 'muxError',\n // Identifier for all other errors\n OTHER_ERROR: 'otherError'\n};\n/**\n * @enum {ErrorDetails}\n * @typedef {string} ErrorDetail\n */\nexports.ErrorDetails = {\n KEY_SYSTEM_NO_KEYS: 'keySystemNoKeys',\n KEY_SYSTEM_NO_ACCESS: 'keySystemNoAccess',\n KEY_SYSTEM_NO_SESSION: 'keySystemNoSession',\n KEY_SYSTEM_LICENSE_REQUEST_FAILED: 'keySystemLicenseRequestFailed',\n // Identifier for a manifest load error - data: { url : faulty URL, response : { code: error code, text: error text }}\n MANIFEST_LOAD_ERROR: 'manifestLoadError',\n // Identifier for a manifest load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}\n MANIFEST_LOAD_TIMEOUT: 'manifestLoadTimeOut',\n // Identifier for a manifest parsing error - data: { url : faulty URL, reason : error reason}\n MANIFEST_PARSING_ERROR: 'manifestParsingError',\n // Identifier for a manifest with only incompatible codecs error - data: { url : faulty URL, reason : error reason}\n MANIFEST_INCOMPATIBLE_CODECS_ERROR: 'manifestIncompatibleCodecsError',\n // Identifier for a level load error - data: { url : faulty URL, response : { code: error code, text: error text }}\n LEVEL_LOAD_ERROR: 'levelLoadError',\n // Identifier for a level load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}\n LEVEL_LOAD_TIMEOUT: 'levelLoadTimeOut',\n // Identifier for a level switch error - data: { level : faulty level Id, event : error description}\n LEVEL_SWITCH_ERROR: 'levelSwitchError',\n // Identifier for an audio track load error - data: { url : faulty URL, response : { code: error code, text: error text }}\n AUDIO_TRACK_LOAD_ERROR: 'audioTrackLoadError',\n // Identifier for an audio track load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}\n AUDIO_TRACK_LOAD_TIMEOUT: 'audioTrackLoadTimeOut',\n // Identifier for fragment load error - data: { frag : fragment object, response : { code: error code, text: error text }}\n FRAG_LOAD_ERROR: 'fragLoadError',\n // Identifier for fragment load timeout error - data: { frag : fragment object}\n FRAG_LOAD_TIMEOUT: 'fragLoadTimeOut',\n // Identifier for a fragment decryption error event - data: {id : demuxer Id,frag: fragment object, reason : parsing error description }\n FRAG_DECRYPT_ERROR: 'fragDecryptError',\n // Identifier for a fragment parsing error event - data: { id : demuxer Id, reason : parsing error description }\n // will be renamed DEMUX_PARSING_ERROR and switched to MUX_ERROR in the next major release\n FRAG_PARSING_ERROR: 'fragParsingError',\n // Identifier for a remux alloc error event - data: { id : demuxer Id, frag : fragment object, bytes : nb of bytes on which allocation failed , reason : error text }\n REMUX_ALLOC_ERROR: 'remuxAllocError',\n // Identifier for decrypt key load error - data: { frag : fragment object, response : { code: error code, text: error text }}\n KEY_LOAD_ERROR: 'keyLoadError',\n // Identifier for decrypt key load timeout error - data: { frag : fragment object}\n KEY_LOAD_TIMEOUT: 'keyLoadTimeOut',\n // Triggered when an exception occurs while adding a sourceBuffer to MediaSource - data : { err : exception , mimeType : mimeType }\n BUFFER_ADD_CODEC_ERROR: 'bufferAddCodecError',\n // Identifier for a buffer append error - data: append error description\n BUFFER_APPEND_ERROR: 'bufferAppendError',\n // Identifier for a buffer appending error event - data: appending error description\n BUFFER_APPENDING_ERROR: 'bufferAppendingError',\n // Identifier for a buffer stalled error event\n BUFFER_STALLED_ERROR: 'bufferStalledError',\n // Identifier for a buffer full event\n BUFFER_FULL_ERROR: 'bufferFullError',\n // Identifier for a buffer seek over hole event\n BUFFER_SEEK_OVER_HOLE: 'bufferSeekOverHole',\n // Identifier for a buffer nudge on stall (playback is stuck although currentTime is in a buffered area)\n BUFFER_NUDGE_ON_STALL: 'bufferNudgeOnStall',\n // Identifier for an internal exception happening inside hls.js while handling an event\n INTERNAL_EXCEPTION: 'internalException'\n};\n\n\n/***/ }),\n\n/***/ \"./src/event-handler.js\":\n/*!******************************!*\\\n !*** ./src/event-handler.js ***!\n \\******************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n*\n* All objects in the event handling chain should inherit from this class\n*\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ./utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ./errors */ \"./src/errors.js\");\nvar events_1 = __webpack_require__(/*! ./events */ \"./src/events.js\");\nvar FORBIDDEN_EVENT_NAMES = {\n 'hlsEventGeneric': true,\n 'hlsHandlerDestroying': true,\n 'hlsHandlerDestroyed': true\n};\nvar EventHandler = /** @class */ (function () {\n function EventHandler(hls) {\n var events = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n events[_i - 1] = arguments[_i];\n }\n this.hls = hls;\n this.onEvent = this.onEvent.bind(this);\n this.handledEvents = events;\n this.useGenericHandler = true;\n this.registerListeners();\n }\n EventHandler.prototype.destroy = function () {\n this.onHandlerDestroying();\n this.unregisterListeners();\n this.onHandlerDestroyed();\n };\n EventHandler.prototype.onHandlerDestroying = function () { };\n EventHandler.prototype.onHandlerDestroyed = function () { };\n EventHandler.prototype.isEventHandler = function () {\n return typeof this.handledEvents === 'object' && this.handledEvents.length && typeof this.onEvent === 'function';\n };\n EventHandler.prototype.registerListeners = function () {\n if (this.isEventHandler()) {\n this.handledEvents.forEach(function (event) {\n if (FORBIDDEN_EVENT_NAMES[event]) {\n throw new Error('Forbidden event-name: ' + event);\n }\n this.hls.on(event, this.onEvent);\n }, this);\n }\n };\n EventHandler.prototype.unregisterListeners = function () {\n if (this.isEventHandler()) {\n this.handledEvents.forEach(function (event) {\n this.hls.off(event, this.onEvent);\n }, this);\n }\n };\n /**\n * arguments: event (string), data (any)\n */\n EventHandler.prototype.onEvent = function (event, data) {\n this.onEventGeneric(event, data);\n };\n EventHandler.prototype.onEventGeneric = function (event, data) {\n var eventToFunction = function (event, data) {\n var funcName = 'on' + event.replace('hls', '');\n if (typeof this[funcName] !== 'function') {\n throw new Error(\"Event \" + event + \" has no generic handler in this \" + this.constructor.name + \" class (tried \" + funcName + \")\");\n }\n return this[funcName].bind(this, data);\n };\n try {\n eventToFunction.call(this, event, data).call();\n }\n catch (err) {\n logger_1.logger.error(\"An internal error happened while handling event \" + event + \". Error message: \\\"\" + err.message + \"\\\". Here is a stacktrace:\", err);\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.OTHER_ERROR, details: errors_1.ErrorDetails.INTERNAL_EXCEPTION, fatal: false, event: event, err: err });\n }\n };\n return EventHandler;\n}());\nexports.default = EventHandler;\n\n\n/***/ }),\n\n/***/ \"./src/events.js\":\n/*!***********************!*\\\n !*** ./src/events.js ***!\n \\***********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * @readonly\n * @enum {string}\n */\nvar HlsEvents = {\n // fired before MediaSource is attaching to media element - data: { media }\n MEDIA_ATTACHING: 'hlsMediaAttaching',\n // fired when MediaSource has been succesfully attached to media element - data: { }\n MEDIA_ATTACHED: 'hlsMediaAttached',\n // fired before detaching MediaSource from media element - data: { }\n MEDIA_DETACHING: 'hlsMediaDetaching',\n // fired when MediaSource has been detached from media element - data: { }\n MEDIA_DETACHED: 'hlsMediaDetached',\n // fired when we buffer is going to be reset - data: { }\n BUFFER_RESET: 'hlsBufferReset',\n // fired when we know about the codecs that we need buffers for to push into - data: {tracks : { container, codec, levelCodec, initSegment, metadata }}\n BUFFER_CODECS: 'hlsBufferCodecs',\n // fired when sourcebuffers have been created - data: { tracks : tracks }\n BUFFER_CREATED: 'hlsBufferCreated',\n // fired when we append a segment to the buffer - data: { segment: segment object }\n BUFFER_APPENDING: 'hlsBufferAppending',\n // fired when we are done with appending a media segment to the buffer - data : { parent : segment parent that triggered BUFFER_APPENDING, pending : nb of segments waiting for appending for this segment parent}\n BUFFER_APPENDED: 'hlsBufferAppended',\n // fired when the stream is finished and we want to notify the media buffer that there will be no more data - data: { }\n BUFFER_EOS: 'hlsBufferEos',\n // fired when the media buffer should be flushed - data { startOffset, endOffset }\n BUFFER_FLUSHING: 'hlsBufferFlushing',\n // fired when the media buffer has been flushed - data: { }\n BUFFER_FLUSHED: 'hlsBufferFlushed',\n // fired to signal that a manifest loading starts - data: { url : manifestURL}\n MANIFEST_LOADING: 'hlsManifestLoading',\n // fired after manifest has been loaded - data: { levels : [available quality levels], audioTracks : [ available audio tracks], url : manifestURL, stats : { trequest, tfirst, tload, mtime}}\n MANIFEST_LOADED: 'hlsManifestLoaded',\n // fired after manifest has been parsed - data: { levels : [available quality levels], firstLevel : index of first quality level appearing in Manifest}\n MANIFEST_PARSED: 'hlsManifestParsed',\n // fired when a level switch is requested - data: { level : id of new level }\n LEVEL_SWITCHING: 'hlsLevelSwitching',\n // fired when a level switch is effective - data: { level : id of new level }\n LEVEL_SWITCHED: 'hlsLevelSwitched',\n // fired when a level playlist loading starts - data: { url : level URL, level : id of level being loaded}\n LEVEL_LOADING: 'hlsLevelLoading',\n // fired when a level playlist loading finishes - data: { details : levelDetails object, level : id of loaded level, stats : { trequest, tfirst, tload, mtime} }\n LEVEL_LOADED: 'hlsLevelLoaded',\n // fired when a level's details have been updated based on previous details, after it has been loaded - data: { details : levelDetails object, level : id of updated level }\n LEVEL_UPDATED: 'hlsLevelUpdated',\n // fired when a level's PTS information has been updated after parsing a fragment - data: { details : levelDetails object, level : id of updated level, drift: PTS drift observed when parsing last fragment }\n LEVEL_PTS_UPDATED: 'hlsLevelPtsUpdated',\n // fired to notify that audio track lists has been updated - data: { audioTracks : audioTracks }\n AUDIO_TRACKS_UPDATED: 'hlsAudioTracksUpdated',\n // fired when an audio track switching is requested - data: { id : audio track id }\n AUDIO_TRACK_SWITCHING: 'hlsAudioTrackSwitching',\n // fired when an audio track switch actually occurs - data: { id : audio track id }\n AUDIO_TRACK_SWITCHED: 'hlsAudioTrackSwitched',\n // fired when an audio track loading starts - data: { url : audio track URL, id : audio track id }\n AUDIO_TRACK_LOADING: 'hlsAudioTrackLoading',\n // fired when an audio track loading finishes - data: { details : levelDetails object, id : audio track id, stats : { trequest, tfirst, tload, mtime } }\n AUDIO_TRACK_LOADED: 'hlsAudioTrackLoaded',\n // fired to notify that subtitle track lists has been updated - data: { subtitleTracks : subtitleTracks }\n SUBTITLE_TRACKS_UPDATED: 'hlsSubtitleTracksUpdated',\n // fired when an subtitle track switch occurs - data: { id : subtitle track id }\n SUBTITLE_TRACK_SWITCH: 'hlsSubtitleTrackSwitch',\n // fired when a subtitle track loading starts - data: { url : subtitle track URL, id : subtitle track id }\n SUBTITLE_TRACK_LOADING: 'hlsSubtitleTrackLoading',\n // fired when a subtitle track loading finishes - data: { details : levelDetails object, id : subtitle track id, stats : { trequest, tfirst, tload, mtime } }\n SUBTITLE_TRACK_LOADED: 'hlsSubtitleTrackLoaded',\n // fired when a subtitle fragment has been processed - data: { success : boolean, frag : the processed frag }\n SUBTITLE_FRAG_PROCESSED: 'hlsSubtitleFragProcessed',\n // fired when the first timestamp is found - data: { id : demuxer id, initPTS: initPTS, frag : fragment object }\n INIT_PTS_FOUND: 'hlsInitPtsFound',\n // fired when a fragment loading starts - data: { frag : fragment object }\n FRAG_LOADING: 'hlsFragLoading',\n // fired when a fragment loading is progressing - data: { frag : fragment object, { trequest, tfirst, loaded } }\n FRAG_LOAD_PROGRESS: 'hlsFragLoadProgress',\n // Identifier for fragment load aborting for emergency switch down - data: { frag : fragment object }\n FRAG_LOAD_EMERGENCY_ABORTED: 'hlsFragLoadEmergencyAborted',\n // fired when a fragment loading is completed - data: { frag : fragment object, payload : fragment payload, stats : { trequest, tfirst, tload, length } }\n FRAG_LOADED: 'hlsFragLoaded',\n // fired when a fragment has finished decrypting - data: { id : demuxer id, frag: fragment object, payload : fragment payload, stats : { tstart, tdecrypt } }\n FRAG_DECRYPTED: 'hlsFragDecrypted',\n // fired when Init Segment has been extracted from fragment - data: { id : demuxer id, frag: fragment object, moov : moov MP4 box, codecs : codecs found while parsing fragment }\n FRAG_PARSING_INIT_SEGMENT: 'hlsFragParsingInitSegment',\n // fired when parsing sei text is completed - data: { id : demuxer id, frag: fragment object, samples : [ sei samples pes ] }\n FRAG_PARSING_USERDATA: 'hlsFragParsingUserdata',\n // fired when parsing id3 is completed - data: { id : demuxer id, frag: fragment object, samples : [ id3 samples pes ] }\n FRAG_PARSING_METADATA: 'hlsFragParsingMetadata',\n // fired when data have been extracted from fragment - data: { id : demuxer id, frag: fragment object, data1 : moof MP4 box or TS fragments, data2 : mdat MP4 box or null}\n FRAG_PARSING_DATA: 'hlsFragParsingData',\n // fired when fragment parsing is completed - data: { id : demuxer id, frag: fragment object }\n FRAG_PARSED: 'hlsFragParsed',\n // fired when fragment remuxed MP4 boxes have all been appended into SourceBuffer - data: { id : demuxer id, frag : fragment object, stats : { trequest, tfirst, tload, tparsed, tbuffered, length, bwEstimate } }\n FRAG_BUFFERED: 'hlsFragBuffered',\n // fired when fragment matching with current media position is changing - data : { id : demuxer id, frag : fragment object }\n FRAG_CHANGED: 'hlsFragChanged',\n // Identifier for a FPS drop event - data: { curentDropped, currentDecoded, totalDroppedFrames }\n FPS_DROP: 'hlsFpsDrop',\n // triggered when FPS drop triggers auto level capping - data: { level, droppedlevel }\n FPS_DROP_LEVEL_CAPPING: 'hlsFpsDropLevelCapping',\n // Identifier for an error event - data: { type : error type, details : error details, fatal : if true, hls.js cannot/will not try to recover, if false, hls.js will try to recover,other error specific data }\n ERROR: 'hlsError',\n // fired when hls.js instance starts destroying. Different from MEDIA_DETACHED as one could want to detach and reattach a media to the instance of hls.js to handle mid-rolls for example - data: { }\n DESTROYING: 'hlsDestroying',\n // fired when a decrypt key loading starts - data: { frag : fragment object }\n KEY_LOADING: 'hlsKeyLoading',\n // fired when a decrypt key loading is completed - data: { frag : fragment object, payload : key payload, stats : { trequest, tfirst, tload, length } }\n KEY_LOADED: 'hlsKeyLoaded',\n // fired upon stream controller state transitions - data: { previousState, nextState }\n STREAM_STATE_TRANSITION: 'hlsStreamStateTransition'\n};\nexports.default = HlsEvents;\n\n\n/***/ }),\n\n/***/ \"./src/hls.js\":\n/*!********************!*\\\n !*** ./src/hls.js ***!\n \\********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar errors_1 = __webpack_require__(/*! ./errors */ \"./src/errors.js\");\nvar playlist_loader_1 = __webpack_require__(/*! ./loader/playlist-loader */ \"./src/loader/playlist-loader.js\");\nvar fragment_loader_1 = __webpack_require__(/*! ./loader/fragment-loader */ \"./src/loader/fragment-loader.js\");\nvar key_loader_1 = __webpack_require__(/*! ./loader/key-loader */ \"./src/loader/key-loader.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./controller/fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar stream_controller_1 = __webpack_require__(/*! ./controller/stream-controller */ \"./src/controller/stream-controller.js\");\nvar level_controller_1 = __webpack_require__(/*! ./controller/level-controller */ \"./src/controller/level-controller.js\");\nvar id3_track_controller_1 = __webpack_require__(/*! ./controller/id3-track-controller */ \"./src/controller/id3-track-controller.js\");\nvar is_supported_1 = __webpack_require__(/*! ./is-supported */ \"./src/is-supported.js\");\nvar logger_1 = __webpack_require__(/*! ./utils/logger */ \"./src/utils/logger.js\");\nvar config_1 = __webpack_require__(/*! ./config */ \"./src/config.js\");\nvar events_1 = __webpack_require__(/*! ./events */ \"./src/events.js\");\nvar observer_1 = __webpack_require__(/*! ./observer */ \"./src/observer.js\");\n/**\n * @module Hls\n * @class\n * @constructor\n */\nvar Hls = /** @class */ (function (_super) {\n __extends(Hls, _super);\n /**\n * Creates an instance of an HLS client that can attach to exactly one `HTMLMediaElement`.\n *\n * @constructs Hls\n * @param {HlsConfig} config\n */\n function Hls(config) {\n if (config === void 0) { config = {}; }\n var _this = _super.call(this) || this;\n var defaultConfig = Hls.DefaultConfig;\n if ((config.liveSyncDurationCount || config.liveMaxLatencyDurationCount) && (config.liveSyncDuration || config.liveMaxLatencyDuration)) {\n throw new Error('Illegal hls.js config: don\\'t mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration');\n }\n for (var prop in defaultConfig) {\n if (prop in config)\n continue;\n config[prop] = defaultConfig[prop];\n }\n if (config.liveMaxLatencyDurationCount !== undefined && config.liveMaxLatencyDurationCount <= config.liveSyncDurationCount) {\n throw new Error('Illegal hls.js config: \"liveMaxLatencyDurationCount\" must be gt \"liveSyncDurationCount\"');\n }\n if (config.liveMaxLatencyDuration !== undefined && (config.liveMaxLatencyDuration <= config.liveSyncDuration || config.liveSyncDuration === undefined)) {\n throw new Error('Illegal hls.js config: \"liveMaxLatencyDuration\" must be gt \"liveSyncDuration\"');\n }\n logger_1.enableLogs(config.debug);\n _this.config = config;\n _this._autoLevelCapping = -1;\n // core controllers and network loaders\n /**\n * @member {AbrController} abrController\n */\n var abrController = _this.abrController = new config.abrController(_this);\n var bufferController = new config.bufferController(_this);\n var capLevelController = new config.capLevelController(_this);\n var fpsController = new config.fpsController(_this);\n var playListLoader = new playlist_loader_1.default(_this);\n var fragmentLoader = new fragment_loader_1.default(_this);\n var keyLoader = new key_loader_1.default(_this);\n var id3TrackController = new id3_track_controller_1.default(_this);\n // network controllers\n /**\n * @member {LevelController} levelController\n */\n var levelController = _this.levelController = new level_controller_1.default(_this);\n // FIXME: FragmentTracker must be defined before StreamController because the order of event handling is important\n var fragmentTracker = new fragment_tracker_1.FragmentTracker(_this);\n /**\n * @member {StreamController} streamController\n */\n var streamController = _this.streamController = new stream_controller_1.default(_this, fragmentTracker);\n var networkControllers = [levelController, streamController];\n // optional audio stream controller\n /**\n * @var {ICoreComponent | Controller}\n */\n var Controller = config.audioStreamController;\n if (Controller) {\n networkControllers.push(new Controller(_this, fragmentTracker));\n }\n /**\n * @member {INetworkController[]} networkControllers\n */\n _this.networkControllers = networkControllers;\n /**\n * @var {ICoreComponent[]}\n */\n var coreComponents = [\n playListLoader,\n fragmentLoader,\n keyLoader,\n abrController,\n bufferController,\n capLevelController,\n fpsController,\n id3TrackController,\n fragmentTracker\n ];\n // optional audio track and subtitle controller\n Controller = config.audioTrackController;\n if (Controller) {\n var audioTrackController = new Controller(_this);\n /**\n * @member {AudioTrackController} audioTrackController\n */\n _this.audioTrackController = audioTrackController;\n coreComponents.push(audioTrackController);\n }\n Controller = config.subtitleTrackController;\n if (Controller) {\n var subtitleTrackController = new Controller(_this);\n /**\n * @member {SubtitleTrackController} subtitleTrackController\n */\n _this.subtitleTrackController = subtitleTrackController;\n coreComponents.push(subtitleTrackController);\n }\n Controller = config.emeController;\n if (Controller) {\n var emeController = new Controller(_this);\n /**\n * @member {EMEController} emeController\n */\n _this.emeController = emeController;\n coreComponents.push(emeController);\n }\n // optional subtitle controllers\n Controller = config.subtitleStreamController;\n if (Controller) {\n coreComponents.push(new Controller(_this, fragmentTracker));\n }\n Controller = config.timelineController;\n if (Controller) {\n coreComponents.push(new Controller(_this));\n }\n /**\n * @member {ICoreComponent[]}\n */\n _this.coreComponents = coreComponents;\n return _this;\n }\n Object.defineProperty(Hls, \"version\", {\n /**\n * @type {string}\n */\n get: function () {\n return \"0.12.2\";\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @type {boolean}\n */\n Hls.isSupported = function () {\n return is_supported_1.isSupported();\n };\n Object.defineProperty(Hls, \"Events\", {\n /**\n * @type {HlsEvents}\n */\n get: function () {\n return events_1.default;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls, \"ErrorTypes\", {\n /**\n * @type {HlsErrorTypes}\n */\n get: function () {\n return errors_1.ErrorTypes;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls, \"ErrorDetails\", {\n /**\n * @type {HlsErrorDetails}\n */\n get: function () {\n return errors_1.ErrorDetails;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls, \"DefaultConfig\", {\n /**\n * @type {HlsConfig}\n */\n get: function () {\n if (!Hls.defaultConfig) {\n return config_1.hlsDefaultConfig;\n }\n return Hls.defaultConfig;\n },\n /**\n * @type {HlsConfig}\n */\n set: function (defaultConfig) {\n Hls.defaultConfig = defaultConfig;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Dispose of the instance\n */\n Hls.prototype.destroy = function () {\n logger_1.logger.log('destroy');\n this.trigger(events_1.default.DESTROYING);\n this.detachMedia();\n this.coreComponents.concat(this.networkControllers).forEach(function (component) {\n component.destroy();\n });\n this.url = null;\n this.removeAllListeners();\n this._autoLevelCapping = -1;\n };\n /**\n * Attach a media element\n * @param {HTMLMediaElement} media\n */\n Hls.prototype.attachMedia = function (media) {\n logger_1.logger.log('attachMedia');\n this.media = media;\n this.trigger(events_1.default.MEDIA_ATTACHING, { media: media });\n };\n /**\n * Detach from the media\n */\n Hls.prototype.detachMedia = function () {\n logger_1.logger.log('detachMedia');\n this.trigger(events_1.default.MEDIA_DETACHING);\n this.media = null;\n };\n /**\n * Set the source URL. Can be relative or absolute.\n * @param {string} url\n */\n Hls.prototype.loadSource = function (url) {\n url = URLToolkit.buildAbsoluteURL(window.location.href, url, { alwaysNormalize: true });\n logger_1.logger.log(\"loadSource:\" + url);\n this.url = url;\n // when attaching to a source URL, trigger a playlist load\n this.trigger(events_1.default.MANIFEST_LOADING, { url: url });\n };\n /**\n * Start loading data from the stream source.\n * Depending on default config, client starts loading automatically when a source is set.\n *\n * @param {number} startPosition Set the start position to stream from\n * @default -1 None (from earliest point)\n */\n Hls.prototype.startLoad = function (startPosition) {\n if (startPosition === void 0) { startPosition = -1; }\n logger_1.logger.log(\"startLoad(\" + startPosition + \")\");\n this.networkControllers.forEach(function (controller) {\n controller.startLoad(startPosition);\n });\n };\n /**\n * Stop loading of any stream data.\n */\n Hls.prototype.stopLoad = function () {\n logger_1.logger.log('stopLoad');\n this.networkControllers.forEach(function (controller) {\n controller.stopLoad();\n });\n };\n /**\n * Swap through possible audio codecs in the stream (for example to switch from stereo to 5.1)\n */\n Hls.prototype.swapAudioCodec = function () {\n logger_1.logger.log('swapAudioCodec');\n this.streamController.swapAudioCodec();\n };\n /**\n * When the media-element fails, this allows to detach and then re-attach it\n * as one call (convenience method).\n *\n * Automatic recovery of media-errors by this process is configurable.\n */\n Hls.prototype.recoverMediaError = function () {\n logger_1.logger.log('recoverMediaError');\n var media = this.media;\n this.detachMedia();\n this.attachMedia(media);\n };\n Object.defineProperty(Hls.prototype, \"levels\", {\n /**\n * @type {QualityLevel[]}\n */\n get: function () {\n return this.levelController.levels;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"currentLevel\", {\n /**\n * Index of quality level currently played\n * @type {number}\n */\n get: function () {\n return this.streamController.currentLevel;\n },\n /**\n * Set quality level index immediately .\n * This will flush the current buffer to replace the quality asap.\n * That means playback will interrupt at least shortly to re-buffer and re-sync eventually.\n * @type {number} -1 for automatic level selection\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set currentLevel:\" + newLevel);\n this.loadLevel = newLevel;\n this.streamController.immediateLevelSwitch();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"nextLevel\", {\n /**\n * Index of next quality level loaded as scheduled by stream controller.\n * @type {number}\n */\n get: function () {\n return this.streamController.nextLevel;\n },\n /**\n * Set quality level index for next loaded data.\n * This will switch the video quality asap, without interrupting playback.\n * May abort current loading of data, and flush parts of buffer (outside currently played fragment region).\n * @type {number} -1 for automatic level selection\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set nextLevel:\" + newLevel);\n this.levelController.manualLevel = newLevel;\n this.streamController.nextLevelSwitch();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"loadLevel\", {\n /**\n * Return the quality level of the currently or last (of none is loaded currently) segment\n * @type {number}\n */\n get: function () {\n return this.levelController.level;\n },\n /**\n * Set quality level index for next loaded data in a conservative way.\n * This will switch the quality without flushing, but interrupt current loading.\n * Thus the moment when the quality switch will appear in effect will only be after the already existing buffer.\n * @type {number} newLevel -1 for automatic level selection\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set loadLevel:\" + newLevel);\n this.levelController.manualLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"nextLoadLevel\", {\n /**\n * get next quality level loaded\n * @type {number}\n */\n get: function () {\n return this.levelController.nextLoadLevel;\n },\n /**\n * Set quality level of next loaded segment in a fully \"non-destructive\" way.\n * Same as `loadLevel` but will wait for next switch (until current loading is done).\n * @type {number} level\n */\n set: function (level) {\n this.levelController.nextLoadLevel = level;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"firstLevel\", {\n /**\n * Return \"first level\": like a default level, if not set,\n * falls back to index of first level referenced in manifest\n * @type {number}\n */\n get: function () {\n return Math.max(this.levelController.firstLevel, this.minAutoLevel);\n },\n /**\n * Sets \"first-level\", see getter.\n * @type {number}\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set firstLevel:\" + newLevel);\n this.levelController.firstLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"startLevel\", {\n /**\n * Return start level (level of first fragment that will be played back)\n * if not overrided by user, first level appearing in manifest will be used as start level\n * if -1 : automatic start level selection, playback will start from level matching download bandwidth\n * (determined from download of first segment)\n * @type {number}\n */\n get: function () {\n return this.levelController.startLevel;\n },\n /**\n * set start level (level of first fragment that will be played back)\n * if not overrided by user, first level appearing in manifest will be used as start level\n * if -1 : automatic start level selection, playback will start from level matching download bandwidth\n * (determined from download of first segment)\n * @type {number} newLevel\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set startLevel:\" + newLevel);\n var hls = this;\n // if not in automatic start level detection, ensure startLevel is greater than minAutoLevel\n if (newLevel !== -1) {\n newLevel = Math.max(newLevel, hls.minAutoLevel);\n }\n hls.levelController.startLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"autoLevelCapping\", {\n /**\n * Capping/max level value that should be used by automatic level selection algorithm (`ABRController`)\n * @type {number}\n */\n get: function () {\n return this._autoLevelCapping;\n },\n /**\n * Capping/max level value that should be used by automatic level selection algorithm (`ABRController`)\n * @type {number}\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set autoLevelCapping:\" + newLevel);\n this._autoLevelCapping = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"autoLevelEnabled\", {\n /**\n * True when automatic level selection enabled\n * @type {boolean}\n */\n get: function () {\n return (this.levelController.manualLevel === -1);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"manualLevel\", {\n /**\n * Level set manually (if any)\n * @type {number}\n */\n get: function () {\n return this.levelController.manualLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"minAutoLevel\", {\n /**\n * min level selectable in auto mode according to config.minAutoBitrate\n * @type {number}\n */\n get: function () {\n var hls = this, levels = hls.levels, minAutoBitrate = hls.config.minAutoBitrate, len = levels ? levels.length : 0;\n for (var i = 0; i < len; i++) {\n var levelNextBitrate = levels[i].realBitrate ? Math.max(levels[i].realBitrate, levels[i].bitrate) : levels[i].bitrate;\n if (levelNextBitrate > minAutoBitrate) {\n return i;\n }\n }\n return 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"maxAutoLevel\", {\n /**\n * max level selectable in auto mode according to autoLevelCapping\n * @type {number}\n */\n get: function () {\n var hls = this;\n var levels = hls.levels;\n var autoLevelCapping = hls.autoLevelCapping;\n var maxAutoLevel;\n if (autoLevelCapping === -1 && levels && levels.length) {\n maxAutoLevel = levels.length - 1;\n }\n else {\n maxAutoLevel = autoLevelCapping;\n }\n return maxAutoLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"nextAutoLevel\", {\n /**\n * next automatically selected quality level\n * @type {number}\n */\n get: function () {\n var hls = this;\n // ensure next auto level is between min and max auto level\n return Math.min(Math.max(hls.abrController.nextAutoLevel, hls.minAutoLevel), hls.maxAutoLevel);\n },\n /**\n * this setter is used to force next auto level.\n * this is useful to force a switch down in auto mode:\n * in case of load error on level N, hls.js can set nextAutoLevel to N-1 for example)\n * forced value is valid for one fragment. upon succesful frag loading at forced level,\n * this value will be resetted to -1 by ABR controller.\n * @type {number}\n */\n set: function (nextLevel) {\n var hls = this;\n hls.abrController.nextAutoLevel = Math.max(hls.minAutoLevel, nextLevel);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"audioTracks\", {\n /**\n * @type {AudioTrack[]}\n */\n get: function () {\n var audioTrackController = this.audioTrackController;\n return audioTrackController ? audioTrackController.audioTracks : [];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"audioTrack\", {\n /**\n * index of the selected audio track (index in audio track lists)\n * @type {number}\n */\n get: function () {\n var audioTrackController = this.audioTrackController;\n return audioTrackController ? audioTrackController.audioTrack : -1;\n },\n /**\n * selects an audio track, based on its index in audio track lists\n * @type {number}\n */\n set: function (audioTrackId) {\n var audioTrackController = this.audioTrackController;\n if (audioTrackController) {\n audioTrackController.audioTrack = audioTrackId;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"liveSyncPosition\", {\n /**\n * @type {Seconds}\n */\n get: function () {\n return this.streamController.liveSyncPosition;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"subtitleTracks\", {\n /**\n * get alternate subtitle tracks list from playlist\n * @type {SubtitleTrack[]}\n */\n get: function () {\n var subtitleTrackController = this.subtitleTrackController;\n return subtitleTrackController ? subtitleTrackController.subtitleTracks : [];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"subtitleTrack\", {\n /**\n * index of the selected subtitle track (index in subtitle track lists)\n * @type {number}\n */\n get: function () {\n var subtitleTrackController = this.subtitleTrackController;\n return subtitleTrackController ? subtitleTrackController.subtitleTrack : -1;\n },\n /**\n * select an subtitle track, based on its index in subtitle track lists\n * @type{number}\n */\n set: function (subtitleTrackId) {\n var subtitleTrackController = this.subtitleTrackController;\n if (subtitleTrackController) {\n subtitleTrackController.subtitleTrack = subtitleTrackId;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"subtitleDisplay\", {\n /**\n * @type {boolean}\n */\n get: function () {\n var subtitleTrackController = this.subtitleTrackController;\n return subtitleTrackController ? subtitleTrackController.subtitleDisplay : false;\n },\n /**\n * Enable/disable subtitle display rendering\n * @type {boolean}\n */\n set: function (value) {\n var subtitleTrackController = this.subtitleTrackController;\n if (subtitleTrackController) {\n subtitleTrackController.subtitleDisplay = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n return Hls;\n}(observer_1.Observer));\nexports.default = Hls;\n\n\n/***/ }),\n\n/***/ \"./src/is-supported.js\":\n/*!*****************************!*\\\n !*** ./src/is-supported.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mediasource_helper_1 = __webpack_require__(/*! ./utils/mediasource-helper */ \"./src/utils/mediasource-helper.js\");\nfunction isSupported() {\n var mediaSource = mediasource_helper_1.getMediaSource();\n var sourceBuffer = window.SourceBuffer || window.WebKitSourceBuffer;\n var isTypeSupported = mediaSource &&\n typeof mediaSource.isTypeSupported === 'function' &&\n mediaSource.isTypeSupported('video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\"');\n // if SourceBuffer is exposed ensure its API is valid\n // safari and old version of Chrome doe not expose SourceBuffer globally so checking SourceBuffer.prototype is impossible\n var sourceBufferValidAPI = !sourceBuffer ||\n (sourceBuffer.prototype &&\n typeof sourceBuffer.prototype.appendBuffer === 'function' &&\n typeof sourceBuffer.prototype.remove === 'function');\n return !!isTypeSupported && !!sourceBufferValidAPI;\n}\nexports.isSupported = isSupported;\n\n\n/***/ }),\n\n/***/ \"./src/loader/fragment-loader.js\":\n/*!***************************************!*\\\n !*** ./src/loader/fragment-loader.js ***!\n \\***************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Fragment Loader\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar FragmentLoader = /** @class */ (function (_super) {\n __extends(FragmentLoader, _super);\n function FragmentLoader(hls) {\n var _this = _super.call(this, hls, events_1.default.FRAG_LOADING) || this;\n _this.loaders = {};\n return _this;\n }\n FragmentLoader.prototype.destroy = function () {\n var loaders = this.loaders;\n for (var loaderName in loaders) {\n var loader = loaders[loaderName];\n if (loader) {\n loader.destroy();\n }\n }\n this.loaders = {};\n _super.prototype.destroy.call(this);\n };\n FragmentLoader.prototype.onFragLoading = function (data) {\n var frag = data.frag, type = frag.type, loaders = this.loaders, config = this.hls.config, FragmentILoader = config.fLoader, DefaultILoader = config.loader;\n // reset fragment state\n frag.loaded = 0;\n var loader = loaders[type];\n if (loader) {\n logger_1.logger.warn(\"abort previous fragment loader for type: \" + type);\n loader.abort();\n }\n loader = loaders[type] = frag.loader =\n config.fLoader ? new FragmentILoader(config) : new DefaultILoader(config);\n var loaderContext, loaderConfig, loaderCallbacks;\n loaderContext = { url: frag.url, frag: frag, responseType: 'arraybuffer', progressData: false };\n var start = frag.byteRangeStartOffset, end = frag.byteRangeEndOffset;\n if (Number.isFinite(start) && Number.isFinite(end)) {\n loaderContext.rangeStart = start;\n loaderContext.rangeEnd = end;\n }\n loaderConfig = {\n timeout: config.fragLoadingTimeOut,\n maxRetry: 0,\n retryDelay: 0,\n maxRetryDelay: config.fragLoadingMaxRetryTimeout\n };\n loaderCallbacks = {\n onSuccess: this.loadsuccess.bind(this),\n onError: this.loaderror.bind(this),\n onTimeout: this.loadtimeout.bind(this),\n onProgress: this.loadprogress.bind(this)\n };\n loader.load(loaderContext, loaderConfig, loaderCallbacks);\n };\n FragmentLoader.prototype.loadsuccess = function (response, stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var payload = response.data, frag = context.frag;\n // detach fragment loader on load success\n frag.loader = undefined;\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.FRAG_LOADED, { payload: payload, frag: frag, stats: stats, networkDetails: networkDetails });\n };\n FragmentLoader.prototype.loaderror = function (response, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var frag = context.frag;\n var loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.FRAG_LOAD_ERROR, fatal: false, frag: context.frag, response: response, networkDetails: networkDetails });\n };\n FragmentLoader.prototype.loadtimeout = function (stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var frag = context.frag;\n var loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT, fatal: false, frag: context.frag, networkDetails: networkDetails });\n };\n // data will be used for progressive parsing\n FragmentLoader.prototype.loadprogress = function (stats, context, data, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var frag = context.frag;\n frag.loaded = stats.loaded;\n this.hls.trigger(events_1.default.FRAG_LOAD_PROGRESS, { frag: frag, stats: stats, networkDetails: networkDetails });\n };\n return FragmentLoader;\n}(event_handler_1.default));\nexports.default = FragmentLoader;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/fragment.js\":\n/*!********************************!*\\\n !*** ./src/loader/fragment.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar level_key_1 = __webpack_require__(/*! ./level-key */ \"./src/loader/level-key.js\");\nvar Fragment = /** @class */ (function () {\n function Fragment() {\n var _a;\n this._url = null;\n this._byteRange = null;\n this._decryptdata = null;\n this.tagList = [];\n this.programDateTime = null;\n this.rawProgramDateTime = null;\n // Holds the types of data this fragment supports\n this._elementaryStreams = (_a = {},\n _a[Fragment.ElementaryStreamTypes.AUDIO] = false,\n _a[Fragment.ElementaryStreamTypes.VIDEO] = false,\n _a);\n }\n Object.defineProperty(Fragment, \"ElementaryStreamTypes\", {\n /**\n * `type` property for this._elementaryStreams\n *\n * @enum\n */\n get: function () {\n return {\n AUDIO: 'audio',\n VIDEO: 'video'\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"url\", {\n get: function () {\n if (!this._url && this.relurl) {\n this._url = URLToolkit.buildAbsoluteURL(this.baseurl, this.relurl, { alwaysNormalize: true });\n }\n return this._url;\n },\n set: function (value) {\n this._url = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"byteRange\", {\n get: function () {\n if (!this._byteRange && !this.rawByteRange) {\n return [];\n }\n if (this._byteRange) {\n return this._byteRange;\n }\n var byteRange = [];\n if (this.rawByteRange) {\n var params = this.rawByteRange.split('@', 2);\n if (params.length === 1) {\n var lastByteRangeEndOffset = this.lastByteRangeEndOffset;\n byteRange[0] = lastByteRangeEndOffset || 0;\n }\n else {\n byteRange[0] = parseInt(params[1]);\n }\n byteRange[1] = parseInt(params[0]) + byteRange[0];\n this._byteRange = byteRange;\n }\n return byteRange;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"byteRangeStartOffset\", {\n /**\n * @type {number}\n */\n get: function () {\n return this.byteRange[0];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"byteRangeEndOffset\", {\n get: function () {\n return this.byteRange[1];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"decryptdata\", {\n get: function () {\n if (!this._decryptdata) {\n this._decryptdata = this.fragmentDecryptdataFromLevelkey(this.levelkey, this.sn);\n }\n return this._decryptdata;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"endProgramDateTime\", {\n get: function () {\n if (!Number.isFinite(this.programDateTime)) {\n return null;\n }\n var duration = !Number.isFinite(this.duration) ? 0 : this.duration;\n return this.programDateTime + (duration * 1000);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"encrypted\", {\n get: function () {\n return !!((this.decryptdata && this.decryptdata.uri !== null) && (this.decryptdata.key === null));\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @param {ElementaryStreamType} type\n */\n Fragment.prototype.addElementaryStream = function (type) {\n this._elementaryStreams[type] = true;\n };\n /**\n * @param {ElementaryStreamType} type\n */\n Fragment.prototype.hasElementaryStream = function (type) {\n return this._elementaryStreams[type] === true;\n };\n /**\n * Utility method for parseLevelPlaylist to create an initialization vector for a given segment\n * @returns {Uint8Array}\n */\n Fragment.prototype.createInitializationVector = function (segmentNumber) {\n var uint8View = new Uint8Array(16);\n for (var i = 12; i < 16; i++) {\n uint8View[i] = (segmentNumber >> 8 * (15 - i)) & 0xff;\n }\n return uint8View;\n };\n /**\n * Utility method for parseLevelPlaylist to get a fragment's decryption data from the currently parsed encryption key data\n * @param levelkey - a playlist's encryption info\n * @param segmentNumber - the fragment's segment number\n * @returns {*} - an object to be applied as a fragment's decryptdata\n */\n Fragment.prototype.fragmentDecryptdataFromLevelkey = function (levelkey, segmentNumber) {\n var decryptdata = levelkey;\n if (levelkey && levelkey.method && levelkey.uri && !levelkey.iv) {\n decryptdata = new level_key_1.default();\n decryptdata.method = levelkey.method;\n decryptdata.baseuri = levelkey.baseuri;\n decryptdata.reluri = levelkey.reluri;\n decryptdata.iv = this.createInitializationVector(segmentNumber);\n }\n return decryptdata;\n };\n return Fragment;\n}());\nexports.default = Fragment;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/key-loader.js\":\n/*!**********************************!*\\\n !*** ./src/loader/key-loader.js ***!\n \\**********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * Decrypt key Loader\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar KeyLoader = /** @class */ (function (_super) {\n __extends(KeyLoader, _super);\n function KeyLoader(hls) {\n var _this = _super.call(this, hls, events_1.default.KEY_LOADING) || this;\n _this.loaders = {};\n _this.decryptkey = null;\n _this.decrypturl = null;\n return _this;\n }\n KeyLoader.prototype.destroy = function () {\n for (var loaderName in this.loaders) {\n var loader = this.loaders[loaderName];\n if (loader) {\n loader.destroy();\n }\n }\n this.loaders = {};\n event_handler_1.default.prototype.destroy.call(this);\n };\n KeyLoader.prototype.onKeyLoading = function (data) {\n var frag = data.frag, type = frag.type, loader = this.loaders[type], decryptdata = frag.decryptdata, uri = decryptdata.uri;\n // if uri is different from previous one or if decrypt key not retrieved yet\n if (uri !== this.decrypturl || this.decryptkey === null) {\n var config = this.hls.config;\n if (loader) {\n logger_1.logger.warn(\"abort previous key loader for type:\" + type);\n loader.abort();\n }\n frag.loader = this.loaders[type] = new config.loader(config);\n this.decrypturl = uri;\n this.decryptkey = null;\n var loaderContext = void 0, loaderConfig = void 0, loaderCallbacks = void 0;\n loaderContext = { url: uri, frag: frag, responseType: 'arraybuffer' };\n // maxRetry is 0 so that instead of retrying the same key on the same variant multiple times,\n // key-loader will trigger an error and rely on stream-controller to handle retry logic.\n // this will also align retry logic with fragment-loader\n loaderConfig = { timeout: config.fragLoadingTimeOut, maxRetry: 0, retryDelay: config.fragLoadingRetryDelay, maxRetryDelay: config.fragLoadingMaxRetryTimeout };\n loaderCallbacks = { onSuccess: this.loadsuccess.bind(this), onError: this.loaderror.bind(this), onTimeout: this.loadtimeout.bind(this) };\n frag.loader.load(loaderContext, loaderConfig, loaderCallbacks);\n }\n else if (this.decryptkey) {\n // we already loaded this key, return it\n decryptdata.key = this.decryptkey;\n this.hls.trigger(events_1.default.KEY_LOADED, { frag: frag });\n }\n };\n KeyLoader.prototype.loadsuccess = function (response, stats, context) {\n var frag = context.frag;\n this.decryptkey = frag.decryptdata.key = new Uint8Array(response.data);\n // detach fragment loader on load success\n frag.loader = undefined;\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.KEY_LOADED, { frag: frag });\n };\n KeyLoader.prototype.loaderror = function (response, context) {\n var frag = context.frag, loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[context.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.KEY_LOAD_ERROR, fatal: false, frag: frag, response: response });\n };\n KeyLoader.prototype.loadtimeout = function (stats, context) {\n var frag = context.frag, loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[context.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.KEY_LOAD_TIMEOUT, fatal: false, frag: frag });\n };\n return KeyLoader;\n}(event_handler_1.default));\nexports.default = KeyLoader;\n\n\n/***/ }),\n\n/***/ \"./src/loader/level-key.js\":\n/*!*********************************!*\\\n !*** ./src/loader/level-key.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar LevelKey = /** @class */ (function () {\n function LevelKey() {\n this.method = null;\n this.key = null;\n this.iv = null;\n this._uri = null;\n }\n Object.defineProperty(LevelKey.prototype, \"uri\", {\n get: function () {\n if (!this._uri && this.reluri) {\n this._uri = URLToolkit.buildAbsoluteURL(this.baseuri, this.reluri, { alwaysNormalize: true });\n }\n return this._uri;\n },\n enumerable: true,\n configurable: true\n });\n return LevelKey;\n}());\nexports.default = LevelKey;\n\n\n/***/ }),\n\n/***/ \"./src/loader/level.js\":\n/*!*****************************!*\\\n !*** ./src/loader/level.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Level = /** @class */ (function () {\n function Level(baseUrl) {\n // Please keep properties in alphabetical order\n this.endCC = 0;\n this.endSN = 0;\n this.fragments = [];\n this.initSegment = null;\n this.live = true;\n this.needSidxRanges = false;\n this.startCC = 0;\n this.startSN = 0;\n this.startTimeOffset = null;\n this.targetduration = 0;\n this.totalduration = 0;\n this.type = null;\n this.url = baseUrl;\n this.version = null;\n }\n Object.defineProperty(Level.prototype, \"hasProgramDateTime\", {\n get: function () {\n return !!(this.fragments[0] && Number.isFinite(this.fragments[0].programDateTime));\n },\n enumerable: true,\n configurable: true\n });\n return Level;\n}());\nexports.default = Level;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/m3u8-parser.js\":\n/*!***********************************!*\\\n !*** ./src/loader/m3u8-parser.js ***!\n \\***********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar fragment_1 = __webpack_require__(/*! ./fragment */ \"./src/loader/fragment.js\");\nvar level_1 = __webpack_require__(/*! ./level */ \"./src/loader/level.js\");\nvar level_key_1 = __webpack_require__(/*! ./level-key */ \"./src/loader/level-key.js\");\nvar attr_list_1 = __webpack_require__(/*! ../utils/attr-list */ \"./src/utils/attr-list.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar codecs_1 = __webpack_require__(/*! ../utils/codecs */ \"./src/utils/codecs.js\");\n/**\n * M3U8 parser\n * @module\n */\n// https://regex101.com is your friend\nvar MASTER_PLAYLIST_REGEX = /#EXT-X-STREAM-INF:([^\\n\\r]*)[\\r\\n]+([^\\r\\n]+)/g;\nvar MASTER_PLAYLIST_MEDIA_REGEX = /#EXT-X-MEDIA:(.*)/g;\nvar LEVEL_PLAYLIST_REGEX_FAST = new RegExp([\n /#EXTINF:\\s*(\\d*(?:\\.\\d+)?)(?:,(.*)\\s+)?/.source,\n /|(?!#)([\\S+ ?]+)/.source,\n /|#EXT-X-BYTERANGE:*(.+)/.source,\n /|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,\n /|#.*/.source // All other non-segment oriented tags will match with all groups empty\n].join(''), 'g');\nvar LEVEL_PLAYLIST_REGEX_SLOW = /(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\\d+))|(?:#EXT-X-(TARGETDURATION): *(\\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\\r?\\n?/;\nvar MP4_REGEX_SUFFIX = /\\.(mp4|m4s|m4v|m4a)$/i;\nvar M3U8Parser = /** @class */ (function () {\n function M3U8Parser() {\n }\n M3U8Parser.findGroup = function (groups, mediaGroupId) {\n if (!groups) {\n return null;\n }\n var matchingGroup = null;\n for (var i = 0; i < groups.length; i++) {\n var group = groups[i];\n if (group.id === mediaGroupId) {\n matchingGroup = group;\n }\n }\n return matchingGroup;\n };\n M3U8Parser.convertAVC1ToAVCOTI = function (codec) {\n var result, avcdata = codec.split('.');\n if (avcdata.length > 2) {\n result = avcdata.shift() + '.';\n result += parseInt(avcdata.shift()).toString(16);\n result += ('000' + parseInt(avcdata.shift()).toString(16)).substr(-4);\n }\n else {\n result = codec;\n }\n return result;\n };\n M3U8Parser.resolve = function (url, baseUrl) {\n return URLToolkit.buildAbsoluteURL(baseUrl, url, { alwaysNormalize: true });\n };\n M3U8Parser.parseMasterPlaylist = function (string, baseurl) {\n var levels = [], result;\n MASTER_PLAYLIST_REGEX.lastIndex = 0;\n function setCodecs(codecs, level) {\n ['video', 'audio'].forEach(function (type) {\n var filtered = codecs.filter(function (codec) { return codecs_1.isCodecType(codec, type); });\n if (filtered.length) {\n var preferred = filtered.filter(function (codec) {\n return codec.lastIndexOf('avc1', 0) === 0 || codec.lastIndexOf('mp4a', 0) === 0;\n });\n level[type + \"Codec\"] = preferred.length > 0 ? preferred[0] : filtered[0];\n // remove from list\n codecs = codecs.filter(function (codec) { return filtered.indexOf(codec) === -1; });\n }\n });\n level.unknownCodecs = codecs;\n }\n while ((result = MASTER_PLAYLIST_REGEX.exec(string)) != null) {\n var level = {};\n var attrs = level.attrs = new attr_list_1.default(result[1]);\n level.url = M3U8Parser.resolve(result[2], baseurl);\n var resolution = attrs.decimalResolution('RESOLUTION');\n if (resolution) {\n level.width = resolution.width;\n level.height = resolution.height;\n }\n level.bitrate = attrs.decimalInteger('AVERAGE-BANDWIDTH') || attrs.decimalInteger('BANDWIDTH');\n level.name = attrs.NAME;\n setCodecs([].concat((attrs.CODECS || '').split(/[ ,]+/)), level);\n if (level.videoCodec && level.videoCodec.indexOf('avc1') !== -1) {\n level.videoCodec = M3U8Parser.convertAVC1ToAVCOTI(level.videoCodec);\n }\n levels.push(level);\n }\n return levels;\n };\n M3U8Parser.parseMasterPlaylistMedia = function (string, baseurl, type, audioGroups) {\n if (audioGroups === void 0) { audioGroups = []; }\n var result;\n var medias = [];\n var id = 0;\n MASTER_PLAYLIST_MEDIA_REGEX.lastIndex = 0;\n while ((result = MASTER_PLAYLIST_MEDIA_REGEX.exec(string)) !== null) {\n var media = {};\n var attrs = new attr_list_1.default(result[1]);\n if (attrs.TYPE === type) {\n media.groupId = attrs['GROUP-ID'];\n media.name = attrs.NAME;\n media.type = type;\n media.default = (attrs.DEFAULT === 'YES');\n media.autoselect = (attrs.AUTOSELECT === 'YES');\n media.forced = (attrs.FORCED === 'YES');\n if (attrs.URI) {\n media.url = M3U8Parser.resolve(attrs.URI, baseurl);\n }\n media.lang = attrs.LANGUAGE;\n if (!media.name) {\n media.name = media.lang;\n }\n if (audioGroups.length) {\n var groupCodec = M3U8Parser.findGroup(audioGroups, media.groupId);\n media.audioCodec = groupCodec ? groupCodec.codec : audioGroups[0].codec;\n }\n media.id = id++;\n medias.push(media);\n }\n }\n return medias;\n };\n M3U8Parser.parseLevelPlaylist = function (string, baseurl, id, type, levelUrlId) {\n var currentSN = 0;\n var totalduration = 0;\n var level = new level_1.default(baseurl);\n var levelkey = new level_key_1.default();\n var cc = 0;\n var prevFrag = null;\n var frag = new fragment_1.default();\n var result;\n var i;\n var firstPdtIndex = null;\n LEVEL_PLAYLIST_REGEX_FAST.lastIndex = 0;\n while ((result = LEVEL_PLAYLIST_REGEX_FAST.exec(string)) !== null) {\n var duration = result[1];\n if (duration) { // INF\n frag.duration = parseFloat(duration);\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n var title = (' ' + result[2]).slice(1);\n frag.title = title || null;\n frag.tagList.push(title ? ['INF', duration, title] : ['INF', duration]);\n }\n else if (result[3]) { // url\n if (Number.isFinite(frag.duration)) {\n var sn = currentSN++;\n frag.type = type;\n frag.start = totalduration;\n frag.levelkey = levelkey;\n frag.sn = sn;\n frag.level = id;\n frag.cc = cc;\n frag.urlId = levelUrlId;\n frag.baseurl = baseurl;\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n frag.relurl = (' ' + result[3]).slice(1);\n assignProgramDateTime(frag, prevFrag);\n level.fragments.push(frag);\n prevFrag = frag;\n totalduration += frag.duration;\n frag = new fragment_1.default();\n }\n }\n else if (result[4]) { // X-BYTERANGE\n frag.rawByteRange = (' ' + result[4]).slice(1);\n if (prevFrag) {\n var lastByteRangeEndOffset = prevFrag.byteRangeEndOffset;\n if (lastByteRangeEndOffset) {\n frag.lastByteRangeEndOffset = lastByteRangeEndOffset;\n }\n }\n }\n else if (result[5]) { // PROGRAM-DATE-TIME\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n frag.rawProgramDateTime = (' ' + result[5]).slice(1);\n frag.tagList.push(['PROGRAM-DATE-TIME', frag.rawProgramDateTime]);\n if (firstPdtIndex === null) {\n firstPdtIndex = level.fragments.length;\n }\n }\n else {\n result = result[0].match(LEVEL_PLAYLIST_REGEX_SLOW);\n for (i = 1; i < result.length; i++) {\n if (result[i] !== undefined) {\n break;\n }\n }\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n var value1 = (' ' + result[i + 1]).slice(1);\n var value2 = (' ' + result[i + 2]).slice(1);\n switch (result[i]) {\n case '#':\n frag.tagList.push(value2 ? [value1, value2] : [value1]);\n break;\n case 'PLAYLIST-TYPE':\n level.type = value1.toUpperCase();\n break;\n case 'MEDIA-SEQUENCE':\n currentSN = level.startSN = parseInt(value1);\n break;\n case 'TARGETDURATION':\n level.targetduration = parseFloat(value1);\n break;\n case 'VERSION':\n level.version = parseInt(value1);\n break;\n case 'EXTM3U':\n break;\n case 'ENDLIST':\n level.live = false;\n break;\n case 'DIS':\n cc++;\n frag.tagList.push(['DIS']);\n break;\n case 'DISCONTINUITY-SEQ':\n cc = parseInt(value1);\n break;\n case 'KEY':\n // https://tools.ietf.org/html/draft-pantos-http-live-streaming-08#section-3.4.4\n var decryptparams = value1;\n var keyAttrs = new attr_list_1.default(decryptparams);\n var decryptmethod = keyAttrs.enumeratedString('METHOD'), decrypturi = keyAttrs.URI, decryptiv = keyAttrs.hexadecimalInteger('IV');\n if (decryptmethod) {\n levelkey = new level_key_1.default();\n if ((decrypturi) && (['AES-128', 'SAMPLE-AES', 'SAMPLE-AES-CENC'].indexOf(decryptmethod) >= 0)) {\n levelkey.method = decryptmethod;\n // URI to get the key\n levelkey.baseuri = baseurl;\n levelkey.reluri = decrypturi;\n levelkey.key = null;\n // Initialization Vector (IV)\n levelkey.iv = decryptiv;\n }\n }\n break;\n case 'START':\n var startParams = value1;\n var startAttrs = new attr_list_1.default(startParams);\n var startTimeOffset = startAttrs.decimalFloatingPoint('TIME-OFFSET');\n // TIME-OFFSET can be 0\n if (Number.isFinite(startTimeOffset)) {\n level.startTimeOffset = startTimeOffset;\n }\n break;\n case 'MAP':\n var mapAttrs = new attr_list_1.default(value1);\n frag.relurl = mapAttrs.URI;\n frag.rawByteRange = mapAttrs.BYTERANGE;\n frag.baseurl = baseurl;\n frag.level = id;\n frag.type = type;\n frag.sn = 'initSegment';\n level.initSegment = frag;\n frag = new fragment_1.default();\n frag.rawProgramDateTime = level.initSegment.rawProgramDateTime;\n break;\n default:\n logger_1.logger.warn(\"line parsed but not handled: \" + result);\n break;\n }\n }\n }\n frag = prevFrag;\n // logger.log('found ' + level.fragments.length + ' fragments');\n if (frag && !frag.relurl) {\n level.fragments.pop();\n totalduration -= frag.duration;\n }\n level.totalduration = totalduration;\n level.averagetargetduration = totalduration / level.fragments.length;\n level.endSN = currentSN - 1;\n level.startCC = level.fragments[0] ? level.fragments[0].cc : 0;\n level.endCC = cc;\n if (!level.initSegment && level.fragments.length) {\n // this is a bit lurky but HLS really has no other way to tell us\n // if the fragments are TS or MP4, except if we download them :/\n // but this is to be able to handle SIDX.\n if (level.fragments.every(function (frag) { return MP4_REGEX_SUFFIX.test(frag.relurl); })) {\n logger_1.logger.warn('MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX');\n frag = new fragment_1.default();\n frag.relurl = level.fragments[0].relurl;\n frag.baseurl = baseurl;\n frag.level = id;\n frag.type = type;\n frag.sn = 'initSegment';\n level.initSegment = frag;\n level.needSidxRanges = true;\n }\n }\n /**\n * Backfill any missing PDT values\n \"If the first EXT-X-PROGRAM-DATE-TIME tag in a Playlist appears after\n one or more Media Segment URIs, the client SHOULD extrapolate\n backward from that tag (using EXTINF durations and/or media\n timestamps) to associate dates with those segments.\"\n * We have already extrapolated forward, but all fragments up to the first instance of PDT do not have their PDTs\n * computed.\n */\n if (firstPdtIndex) {\n backfillProgramDateTimes(level.fragments, firstPdtIndex);\n }\n return level;\n };\n return M3U8Parser;\n}());\nexports.default = M3U8Parser;\nfunction backfillProgramDateTimes(fragments, startIndex) {\n var fragPrev = fragments[startIndex];\n for (var i = startIndex - 1; i >= 0; i--) {\n var frag = fragments[i];\n frag.programDateTime = fragPrev.programDateTime - (frag.duration * 1000);\n fragPrev = frag;\n }\n}\nfunction assignProgramDateTime(frag, prevFrag) {\n if (frag.rawProgramDateTime) {\n frag.programDateTime = Date.parse(frag.rawProgramDateTime);\n }\n else if (prevFrag && prevFrag.programDateTime) {\n frag.programDateTime = prevFrag.endProgramDateTime;\n }\n if (!Number.isFinite(frag.programDateTime)) {\n frag.programDateTime = null;\n frag.rawProgramDateTime = null;\n }\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/playlist-loader.js\":\n/*!***************************************!*\\\n !*** ./src/loader/playlist-loader.js ***!\n \\***************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/**\n * PlaylistLoader - delegate for media manifest/playlist loading tasks. Takes care of parsing media to internal data-models.\n *\n * Once loaded, dispatches events with parsed data-models of manifest/levels/audio/subtitle tracks.\n *\n * Uses loader(s) set in config to do actual internal loading of resource tasks.\n *\n * @module\n *\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar mp4demuxer_1 = __webpack_require__(/*! ../demux/mp4demuxer */ \"./src/demux/mp4demuxer.js\");\nvar m3u8_parser_1 = __webpack_require__(/*! ./m3u8-parser */ \"./src/loader/m3u8-parser.js\");\nvar performance = window.performance;\n/**\n * `type` property values for this loaders' context object\n * @enum\n *\n */\nvar ContextType = {\n MANIFEST: 'manifest',\n LEVEL: 'level',\n AUDIO_TRACK: 'audioTrack',\n SUBTITLE_TRACK: 'subtitleTrack'\n};\n/**\n * @enum {string}\n */\nvar LevelType = {\n MAIN: 'main',\n AUDIO: 'audio',\n SUBTITLE: 'subtitle'\n};\n/**\n * @constructor\n */\nvar PlaylistLoader = /** @class */ (function (_super) {\n __extends(PlaylistLoader, _super);\n /**\n * @constructs\n * @param {Hls} hls\n */\n function PlaylistLoader(hls) {\n var _this = _super.call(this, hls, events_1.default.MANIFEST_LOADING, events_1.default.LEVEL_LOADING, events_1.default.AUDIO_TRACK_LOADING, events_1.default.SUBTITLE_TRACK_LOADING) || this;\n _this.loaders = {};\n return _this;\n }\n Object.defineProperty(PlaylistLoader, \"ContextType\", {\n get: function () {\n return ContextType;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlaylistLoader, \"LevelType\", {\n get: function () {\n return LevelType;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @param {ContextType} type\n * @returns {boolean}\n */\n PlaylistLoader.canHaveQualityLevels = function (type) {\n return (type !== ContextType.AUDIO_TRACK &&\n type !== ContextType.SUBTITLE_TRACK);\n };\n /**\n * Map context.type to LevelType\n * @param {{type: ContextType}} context\n * @returns {LevelType}\n */\n PlaylistLoader.mapContextToLevelType = function (context) {\n var type = context.type;\n switch (type) {\n case ContextType.AUDIO_TRACK:\n return LevelType.AUDIO;\n case ContextType.SUBTITLE_TRACK:\n return LevelType.SUBTITLE;\n default:\n return LevelType.MAIN;\n }\n };\n PlaylistLoader.getResponseUrl = function (response, context) {\n var url = response.url;\n // responseURL not supported on some browsers (it is used to detect URL redirection)\n // data-uri mode also not supported (but no need to detect redirection)\n if (url === undefined || url.indexOf('data:') === 0) {\n // fallback to initial URL\n url = context.url;\n }\n return url;\n };\n /**\n * Returns defaults or configured loader-type overloads (pLoader and loader config params)\n * Default loader is XHRLoader (see utils)\n * @param {object} context\n * @returns {XHRLoader} or other compatible configured overload\n */\n PlaylistLoader.prototype.createInternalLoader = function (context) {\n var config = this.hls.config;\n var PLoader = config.pLoader;\n var Loader = config.loader;\n var InternalLoader = PLoader || Loader;\n var loader = new InternalLoader(config);\n context.loader = loader;\n this.loaders[context.type] = loader;\n return loader;\n };\n PlaylistLoader.prototype.getInternalLoader = function (context) {\n return this.loaders[context.type];\n };\n PlaylistLoader.prototype.resetInternalLoader = function (contextType) {\n if (this.loaders[contextType]) {\n delete this.loaders[contextType];\n }\n };\n /**\n * Call `destroy` on all internal loader instances mapped (one per context type)\n */\n PlaylistLoader.prototype.destroyInternalLoaders = function () {\n for (var contextType in this.loaders) {\n var loader = this.loaders[contextType];\n if (loader) {\n loader.destroy();\n }\n this.resetInternalLoader(contextType);\n }\n };\n PlaylistLoader.prototype.destroy = function () {\n this.destroyInternalLoaders();\n _super.prototype.destroy.call(this);\n };\n PlaylistLoader.prototype.onManifestLoading = function (data) {\n this.load(data.url, { type: ContextType.MANIFEST, level: 0, id: null });\n };\n PlaylistLoader.prototype.onLevelLoading = function (data) {\n this.load(data.url, { type: ContextType.LEVEL, level: data.level, id: data.id });\n };\n PlaylistLoader.prototype.onAudioTrackLoading = function (data) {\n this.load(data.url, { type: ContextType.AUDIO_TRACK, level: null, id: data.id });\n };\n PlaylistLoader.prototype.onSubtitleTrackLoading = function (data) {\n this.load(data.url, { type: ContextType.SUBTITLE_TRACK, level: null, id: data.id });\n };\n PlaylistLoader.prototype.load = function (url, context) {\n var config = this.hls.config;\n logger_1.logger.debug(\"Loading playlist of type \" + context.type + \", level: \" + context.level + \", id: \" + context.id);\n // Check if a loader for this context already exists\n var loader = this.getInternalLoader(context);\n if (loader) {\n var loaderContext = loader.context;\n if (loaderContext && loaderContext.url === url) { // same URL can't overlap\n logger_1.logger.trace('playlist request ongoing');\n return false;\n }\n else {\n logger_1.logger.warn(\"aborting previous loader for type: \" + context.type);\n loader.abort();\n }\n }\n var maxRetry, timeout, retryDelay, maxRetryDelay;\n // apply different configs for retries depending on\n // context (manifest, level, audio/subs playlist)\n switch (context.type) {\n case ContextType.MANIFEST:\n maxRetry = config.manifestLoadingMaxRetry;\n timeout = config.manifestLoadingTimeOut;\n retryDelay = config.manifestLoadingRetryDelay;\n maxRetryDelay = config.manifestLoadingMaxRetryTimeout;\n break;\n case ContextType.LEVEL:\n // Disable internal loader retry logic, since we are managing retries in Level Controller\n maxRetry = 0;\n timeout = config.levelLoadingTimeOut;\n // TODO Introduce retry settings for audio-track and subtitle-track, it should not use level retry config\n break;\n default:\n maxRetry = config.levelLoadingMaxRetry;\n timeout = config.levelLoadingTimeOut;\n retryDelay = config.levelLoadingRetryDelay;\n maxRetryDelay = config.levelLoadingMaxRetryTimeout;\n break;\n }\n loader = this.createInternalLoader(context);\n context.url = url;\n context.responseType = context.responseType || ''; // FIXME: (should not be necessary to do this)\n var loaderConfig = {\n timeout: timeout,\n maxRetry: maxRetry,\n retryDelay: retryDelay,\n maxRetryDelay: maxRetryDelay\n };\n var loaderCallbacks = {\n onSuccess: this.loadsuccess.bind(this),\n onError: this.loaderror.bind(this),\n onTimeout: this.loadtimeout.bind(this)\n };\n logger_1.logger.debug(\"Calling internal loader delegate for URL: \" + url);\n loader.load(context, loaderConfig, loaderCallbacks);\n return true;\n };\n PlaylistLoader.prototype.loadsuccess = function (response, stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n if (context.isSidxRequest) {\n this._handleSidxRequest(response, context);\n this._handlePlaylistLoaded(response, stats, context, networkDetails);\n return;\n }\n this.resetInternalLoader(context.type);\n var string = response.data;\n stats.tload = performance.now();\n // stats.mtime = new Date(target.getResponseHeader('Last-Modified'));\n // Validate if it is an M3U8 at all\n if (string.indexOf('#EXTM3U') !== 0) {\n this._handleManifestParsingError(response, context, 'no EXTM3U delimiter', networkDetails);\n return;\n }\n // Check if chunk-list or master. handle empty chunk list case (first EXTINF not signaled, but TARGETDURATION present)\n if (string.indexOf('#EXTINF:') > 0 || string.indexOf('#EXT-X-TARGETDURATION:') > 0) {\n this._handleTrackOrLevelPlaylist(response, stats, context, networkDetails);\n }\n else {\n this._handleMasterPlaylist(response, stats, context, networkDetails);\n }\n };\n PlaylistLoader.prototype.loaderror = function (response, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n this._handleNetworkError(context, networkDetails, false, response);\n };\n PlaylistLoader.prototype.loadtimeout = function (stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n this._handleNetworkError(context, networkDetails, true);\n };\n PlaylistLoader.prototype._handleMasterPlaylist = function (response, stats, context, networkDetails) {\n var hls = this.hls;\n var string = response.data;\n var url = PlaylistLoader.getResponseUrl(response, context);\n var levels = m3u8_parser_1.default.parseMasterPlaylist(string, url);\n if (!levels.length) {\n this._handleManifestParsingError(response, context, 'no level found in manifest', networkDetails);\n return;\n }\n // multi level playlist, parse level info\n var audioGroups = levels.map(function (level) { return ({\n id: level.attrs.AUDIO,\n codec: level.audioCodec\n }); });\n var audioTracks = m3u8_parser_1.default.parseMasterPlaylistMedia(string, url, 'AUDIO', audioGroups);\n var subtitles = m3u8_parser_1.default.parseMasterPlaylistMedia(string, url, 'SUBTITLES');\n if (audioTracks.length) {\n // check if we have found an audio track embedded in main playlist (audio track without URI attribute)\n var embeddedAudioFound_1 = false;\n audioTracks.forEach(function (audioTrack) {\n if (!audioTrack.url) {\n embeddedAudioFound_1 = true;\n }\n });\n // if no embedded audio track defined, but audio codec signaled in quality level,\n // we need to signal this main audio track this could happen with playlists with\n // alt audio rendition in which quality levels (main)\n // contains both audio+video. but with mixed audio track not signaled\n if (embeddedAudioFound_1 === false && levels[0].audioCodec && !levels[0].attrs.AUDIO) {\n logger_1.logger.log('audio codec signaled in quality level, but no embedded audio track signaled, create one');\n audioTracks.unshift({\n type: 'main',\n name: 'main'\n });\n }\n }\n hls.trigger(events_1.default.MANIFEST_LOADED, {\n levels: levels,\n audioTracks: audioTracks,\n subtitles: subtitles,\n url: url,\n stats: stats,\n networkDetails: networkDetails\n });\n };\n PlaylistLoader.prototype._handleTrackOrLevelPlaylist = function (response, stats, context, networkDetails) {\n var hls = this.hls;\n var id = context.id, level = context.level, type = context.type;\n var url = PlaylistLoader.getResponseUrl(response, context);\n var levelUrlId = Number.isFinite(id) ? id : 0;\n var levelId = Number.isFinite(level) ? level : levelUrlId;\n var levelType = PlaylistLoader.mapContextToLevelType(context);\n var levelDetails = m3u8_parser_1.default.parseLevelPlaylist(response.data, url, levelId, levelType, levelUrlId);\n // set stats on level structure\n levelDetails.tload = stats.tload;\n // We have done our first request (Manifest-type) and receive\n // not a master playlist but a chunk-list (track/level)\n // We fire the manifest-loaded event anyway with the parsed level-details\n // by creating a single-level structure for it.\n if (type === ContextType.MANIFEST) {\n var singleLevel = {\n url: url,\n details: levelDetails\n };\n hls.trigger(events_1.default.MANIFEST_LOADED, {\n levels: [singleLevel],\n audioTracks: [],\n url: url,\n stats: stats,\n networkDetails: networkDetails\n });\n }\n // save parsing time\n stats.tparsed = performance.now();\n // in case we need SIDX ranges\n // return early after calling load for\n // the SIDX box.\n if (levelDetails.needSidxRanges) {\n var sidxUrl = levelDetails.initSegment.url;\n this.load(sidxUrl, {\n isSidxRequest: true,\n type: type,\n level: level,\n levelDetails: levelDetails,\n id: id,\n rangeStart: 0,\n rangeEnd: 2048,\n responseType: 'arraybuffer'\n });\n return;\n }\n // extend the context with the new levelDetails property\n context.levelDetails = levelDetails;\n this._handlePlaylistLoaded(response, stats, context, networkDetails);\n };\n PlaylistLoader.prototype._handleSidxRequest = function (response, context) {\n var sidxInfo = mp4demuxer_1.default.parseSegmentIndex(new Uint8Array(response.data));\n // if provided fragment does not contain sidx, early return\n if (!sidxInfo) {\n return;\n }\n var sidxReferences = sidxInfo.references;\n var levelDetails = context.levelDetails;\n sidxReferences.forEach(function (segmentRef, index) {\n var segRefInfo = segmentRef.info;\n var frag = levelDetails.fragments[index];\n if (frag.byteRange.length === 0) {\n frag.rawByteRange = String(1 + segRefInfo.end - segRefInfo.start) + '@' + String(segRefInfo.start);\n }\n });\n levelDetails.initSegment.rawByteRange = String(sidxInfo.moovEndOffset) + '@0';\n };\n PlaylistLoader.prototype._handleManifestParsingError = function (response, context, reason, networkDetails) {\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.NETWORK_ERROR,\n details: errors_1.ErrorDetails.MANIFEST_PARSING_ERROR,\n fatal: true,\n url: response.url,\n reason: reason,\n networkDetails: networkDetails\n });\n };\n PlaylistLoader.prototype._handleNetworkError = function (context, networkDetails, timeout, response) {\n if (timeout === void 0) { timeout = false; }\n if (response === void 0) { response = null; }\n logger_1.logger.info(\"A network error occured while loading a \" + context.type + \"-type playlist\");\n var details;\n var fatal;\n var loader = this.getInternalLoader(context);\n switch (context.type) {\n case ContextType.MANIFEST:\n details = (timeout ? errors_1.ErrorDetails.MANIFEST_LOAD_TIMEOUT : errors_1.ErrorDetails.MANIFEST_LOAD_ERROR);\n fatal = true;\n break;\n case ContextType.LEVEL:\n details = (timeout ? errors_1.ErrorDetails.LEVEL_LOAD_TIMEOUT : errors_1.ErrorDetails.LEVEL_LOAD_ERROR);\n fatal = false;\n break;\n case ContextType.AUDIO_TRACK:\n details = (timeout ? errors_1.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT : errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR);\n fatal = false;\n break;\n default:\n // details = ...?\n fatal = false;\n }\n if (loader) {\n loader.abort();\n this.resetInternalLoader(context.type);\n }\n var errorData = {\n type: errors_1.ErrorTypes.NETWORK_ERROR,\n details: details,\n fatal: fatal,\n url: loader.url,\n loader: loader,\n context: context,\n networkDetails: networkDetails\n };\n if (response) {\n errorData.response = response;\n }\n this.hls.trigger(events_1.default.ERROR, errorData);\n };\n PlaylistLoader.prototype._handlePlaylistLoaded = function (response, stats, context, networkDetails) {\n var type = context.type, level = context.level, id = context.id, levelDetails = context.levelDetails;\n if (!levelDetails.targetduration) {\n this._handleManifestParsingError(response, context, 'invalid target duration', networkDetails);\n return;\n }\n var canHaveLevels = PlaylistLoader.canHaveQualityLevels(context.type);\n if (canHaveLevels) {\n this.hls.trigger(events_1.default.LEVEL_LOADED, {\n details: levelDetails,\n level: level || 0,\n id: id || 0,\n stats: stats,\n networkDetails: networkDetails\n });\n }\n else {\n switch (type) {\n case ContextType.AUDIO_TRACK:\n this.hls.trigger(events_1.default.AUDIO_TRACK_LOADED, {\n details: levelDetails,\n id: id,\n stats: stats,\n networkDetails: networkDetails\n });\n break;\n case ContextType.SUBTITLE_TRACK:\n this.hls.trigger(events_1.default.SUBTITLE_TRACK_LOADED, {\n details: levelDetails,\n id: id,\n stats: stats,\n networkDetails: networkDetails\n });\n break;\n }\n }\n };\n return PlaylistLoader;\n}(event_handler_1.default));\nexports.default = PlaylistLoader;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/observer.js\":\n/*!*************************!*\\\n !*** ./src/observer.js ***!\n \\*************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar eventemitter3_1 = __webpack_require__(/*! eventemitter3 */ \"./node_modules/eventemitter3/index.js\");\n/**\n * @class\n *\n * Simple adapter sub-class of Nodejs-like EventEmitter.\n *\n * We simply want to pass along the event-name itself\n * in every call to a handler, which is the purpose of our `trigger` method\n * extending the standard API.\n *\n */\nvar Observer = /** @class */ (function (_super) {\n __extends(Observer, _super);\n function Observer() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n *\n * @param {string} event\n * @param {any} data\n */\n Observer.prototype.trigger = function (event) {\n var data = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n data[_i - 1] = arguments[_i];\n }\n this.emit.apply(this, [event, event].concat(data));\n };\n return Observer;\n}(eventemitter3_1.EventEmitter));\nexports.Observer = Observer;\n\n\n/***/ }),\n\n/***/ \"./src/polyfills/number.js\":\n/*!*********************************!*\\\n !*** ./src/polyfills/number.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\nvar self = get_self_scope_1.getSelfScope();\nvar Number = self.Number;\nexports.Number = Number;\n// TODO: get rid of global polyfills and replace them with wrappers (\"ponyfills\")\nNumber.isFinite = Number.isFinite || function (value) {\n return typeof value === 'number' && isFinite(value);\n};\n\n\n/***/ }),\n\n/***/ \"./src/remux/aac-helper.js\":\n/*!*********************************!*\\\n !*** ./src/remux/aac-helper.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * AAC helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AAC = /** @class */ (function () {\n function AAC() {\n }\n AAC.getSilentFrame = function (codec, channelCount) {\n switch (codec) {\n case 'mp4a.40.2':\n if (channelCount === 1) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x23, 0x80]);\n }\n else if (channelCount === 2) {\n return new Uint8Array([0x21, 0x00, 0x49, 0x90, 0x02, 0x19, 0x00, 0x23, 0x80]);\n }\n else if (channelCount === 3) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x8e]);\n }\n else if (channelCount === 4) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x80, 0x2c, 0x80, 0x08, 0x02, 0x38]);\n }\n else if (channelCount === 5) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x38]);\n }\n else if (channelCount === 6) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x00, 0xb2, 0x00, 0x20, 0x08, 0xe0]);\n }\n break;\n // handle HE-AAC below (mp4a.40.5 / mp4a.40.29)\n default:\n if (channelCount === 1) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0:d=0.05\" -c:a libfdk_aac -profile:a aac_he -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x4e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x1c, 0x6, 0xf1, 0xc1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n else if (channelCount === 2) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0|0:d=0.05\" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n else if (channelCount === 3) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0|0|0:d=0.05\" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n break;\n }\n return null;\n };\n return AAC;\n}());\nexports.default = AAC;\n\n\n/***/ }),\n\n/***/ \"./src/remux/mp4-generator.js\":\n/*!************************************!*\\\n !*** ./src/remux/mp4-generator.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * Generate MP4 Box\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar UINT32_MAX = Math.pow(2, 32) - 1;\nvar MP4 = /** @class */ (function () {\n function MP4() {\n }\n MP4.init = function () {\n MP4.types = {\n avc1: [],\n avcC: [],\n btrt: [],\n dinf: [],\n dref: [],\n esds: [],\n ftyp: [],\n hdlr: [],\n mdat: [],\n mdhd: [],\n mdia: [],\n mfhd: [],\n minf: [],\n moof: [],\n moov: [],\n mp4a: [],\n '.mp3': [],\n mvex: [],\n mvhd: [],\n pasp: [],\n sdtp: [],\n stbl: [],\n stco: [],\n stsc: [],\n stsd: [],\n stsz: [],\n stts: [],\n tfdt: [],\n tfhd: [],\n traf: [],\n trak: [],\n trun: [],\n trex: [],\n tkhd: [],\n vmhd: [],\n smhd: []\n };\n var i;\n for (i in MP4.types) {\n if (MP4.types.hasOwnProperty(i)) {\n MP4.types[i] = [\n i.charCodeAt(0),\n i.charCodeAt(1),\n i.charCodeAt(2),\n i.charCodeAt(3)\n ];\n }\n }\n var videoHdlr = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x76, 0x69, 0x64, 0x65,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x56, 0x69, 0x64, 0x65,\n 0x6f, 0x48, 0x61, 0x6e,\n 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'VideoHandler'\n ]);\n var audioHdlr = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x73, 0x6f, 0x75, 0x6e,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x53, 0x6f, 0x75, 0x6e,\n 0x64, 0x48, 0x61, 0x6e,\n 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'SoundHandler'\n ]);\n MP4.HDLR_TYPES = {\n 'video': videoHdlr,\n 'audio': audioHdlr\n };\n var dref = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x0c,\n 0x75, 0x72, 0x6c, 0x20,\n 0x00,\n 0x00, 0x00, 0x01 // entry_flags\n ]);\n var stco = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00 // entry_count\n ]);\n MP4.STTS = MP4.STSC = MP4.STCO = stco;\n MP4.STSZ = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00 // sample_count\n ]);\n MP4.VMHD = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x01,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00 // opcolor\n ]);\n MP4.SMHD = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00 // reserved\n ]);\n MP4.STSD = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01\n ]); // entry_count\n var majorBrand = new Uint8Array([105, 115, 111, 109]); // isom\n var avc1Brand = new Uint8Array([97, 118, 99, 49]); // avc1\n var minorVersion = new Uint8Array([0, 0, 0, 1]);\n MP4.FTYP = MP4.box(MP4.types.ftyp, majorBrand, minorVersion, majorBrand, avc1Brand);\n MP4.DINF = MP4.box(MP4.types.dinf, MP4.box(MP4.types.dref, dref));\n };\n MP4.box = function (type) {\n var payload = Array.prototype.slice.call(arguments, 1), size = 8, i = payload.length, len = i, result;\n // calculate the total size we need to allocate\n while (i--) {\n size += payload[i].byteLength;\n }\n result = new Uint8Array(size);\n result[0] = (size >> 24) & 0xff;\n result[1] = (size >> 16) & 0xff;\n result[2] = (size >> 8) & 0xff;\n result[3] = size & 0xff;\n result.set(type, 4);\n // copy the payload into the result\n for (i = 0, size = 8; i < len; i++) {\n // copy payload[i] array @ offset size\n result.set(payload[i], size);\n size += payload[i].byteLength;\n }\n return result;\n };\n MP4.hdlr = function (type) {\n return MP4.box(MP4.types.hdlr, MP4.HDLR_TYPES[type]);\n };\n MP4.mdat = function (data) {\n return MP4.box(MP4.types.mdat, data);\n };\n MP4.mdhd = function (timescale, duration) {\n duration *= timescale;\n var upperWordDuration = Math.floor(duration / (UINT32_MAX + 1));\n var lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));\n return MP4.box(MP4.types.mdhd, new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,\n (timescale >> 24) & 0xFF,\n (timescale >> 16) & 0xFF,\n (timescale >> 8) & 0xFF,\n timescale & 0xFF,\n (upperWordDuration >> 24),\n (upperWordDuration >> 16) & 0xFF,\n (upperWordDuration >> 8) & 0xFF,\n upperWordDuration & 0xFF,\n (lowerWordDuration >> 24),\n (lowerWordDuration >> 16) & 0xFF,\n (lowerWordDuration >> 8) & 0xFF,\n lowerWordDuration & 0xFF,\n 0x55, 0xc4,\n 0x00, 0x00\n ]));\n };\n MP4.mdia = function (track) {\n return MP4.box(MP4.types.mdia, MP4.mdhd(track.timescale, track.duration), MP4.hdlr(track.type), MP4.minf(track));\n };\n MP4.mfhd = function (sequenceNumber) {\n return MP4.box(MP4.types.mfhd, new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n (sequenceNumber >> 24),\n (sequenceNumber >> 16) & 0xFF,\n (sequenceNumber >> 8) & 0xFF,\n sequenceNumber & 0xFF // sequence_number\n ]));\n };\n MP4.minf = function (track) {\n if (track.type === 'audio') {\n return MP4.box(MP4.types.minf, MP4.box(MP4.types.smhd, MP4.SMHD), MP4.DINF, MP4.stbl(track));\n }\n else {\n return MP4.box(MP4.types.minf, MP4.box(MP4.types.vmhd, MP4.VMHD), MP4.DINF, MP4.stbl(track));\n }\n };\n MP4.moof = function (sn, baseMediaDecodeTime, track) {\n return MP4.box(MP4.types.moof, MP4.mfhd(sn), MP4.traf(track, baseMediaDecodeTime));\n };\n /**\n * @param tracks... (optional) {array} the tracks associated with this movie\n */\n MP4.moov = function (tracks) {\n var i = tracks.length, boxes = [];\n while (i--) {\n boxes[i] = MP4.trak(tracks[i]);\n }\n return MP4.box.apply(null, [MP4.types.moov, MP4.mvhd(tracks[0].timescale, tracks[0].duration)].concat(boxes).concat(MP4.mvex(tracks)));\n };\n MP4.mvex = function (tracks) {\n var i = tracks.length, boxes = [];\n while (i--) {\n boxes[i] = MP4.trex(tracks[i]);\n }\n return MP4.box.apply(null, [MP4.types.mvex].concat(boxes));\n };\n MP4.mvhd = function (timescale, duration) {\n duration *= timescale;\n var upperWordDuration = Math.floor(duration / (UINT32_MAX + 1));\n var lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));\n var bytes = new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,\n (timescale >> 24) & 0xFF,\n (timescale >> 16) & 0xFF,\n (timescale >> 8) & 0xFF,\n timescale & 0xFF,\n (upperWordDuration >> 24),\n (upperWordDuration >> 16) & 0xFF,\n (upperWordDuration >> 8) & 0xFF,\n upperWordDuration & 0xFF,\n (lowerWordDuration >> 24),\n (lowerWordDuration >> 16) & 0xFF,\n (lowerWordDuration >> 8) & 0xFF,\n lowerWordDuration & 0xFF,\n 0x00, 0x01, 0x00, 0x00,\n 0x01, 0x00,\n 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x40, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0xff, 0xff, 0xff, 0xff // next_track_ID\n ]);\n return MP4.box(MP4.types.mvhd, bytes);\n };\n MP4.sdtp = function (track) {\n var samples = track.samples || [], bytes = new Uint8Array(4 + samples.length), flags, i;\n // leave the full box header (4 bytes) all zero\n // write the sample table\n for (i = 0; i < samples.length; i++) {\n flags = samples[i].flags;\n bytes[i + 4] = (flags.dependsOn << 4) |\n (flags.isDependedOn << 2) |\n (flags.hasRedundancy);\n }\n return MP4.box(MP4.types.sdtp, bytes);\n };\n MP4.stbl = function (track) {\n return MP4.box(MP4.types.stbl, MP4.stsd(track), MP4.box(MP4.types.stts, MP4.STTS), MP4.box(MP4.types.stsc, MP4.STSC), MP4.box(MP4.types.stsz, MP4.STSZ), MP4.box(MP4.types.stco, MP4.STCO));\n };\n MP4.avc1 = function (track) {\n var sps = [], pps = [], i, data, len;\n // assemble the SPSs\n for (i = 0; i < track.sps.length; i++) {\n data = track.sps[i];\n len = data.byteLength;\n sps.push((len >>> 8) & 0xFF);\n sps.push((len & 0xFF));\n // SPS\n sps = sps.concat(Array.prototype.slice.call(data));\n }\n // assemble the PPSs\n for (i = 0; i < track.pps.length; i++) {\n data = track.pps[i];\n len = data.byteLength;\n pps.push((len >>> 8) & 0xFF);\n pps.push((len & 0xFF));\n pps = pps.concat(Array.prototype.slice.call(data));\n }\n var avcc = MP4.box(MP4.types.avcC, new Uint8Array([\n 0x01,\n sps[3],\n sps[4],\n sps[5],\n 0xfc | 3,\n 0xE0 | track.sps.length // 3bit reserved (111) + numOfSequenceParameterSets\n ].concat(sps).concat([\n track.pps.length // numOfPictureParameterSets\n ]).concat(pps))), // \"PPS\"\n width = track.width, height = track.height, hSpacing = track.pixelRatio[0], vSpacing = track.pixelRatio[1];\n return MP4.box(MP4.types.avc1, new Uint8Array([\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n (width >> 8) & 0xFF,\n width & 0xff,\n (height >> 8) & 0xFF,\n height & 0xff,\n 0x00, 0x48, 0x00, 0x00,\n 0x00, 0x48, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x12,\n 0x64, 0x61, 0x69, 0x6C,\n 0x79, 0x6D, 0x6F, 0x74,\n 0x69, 0x6F, 0x6E, 0x2F,\n 0x68, 0x6C, 0x73, 0x2E,\n 0x6A, 0x73, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x18,\n 0x11, 0x11\n ]), // pre_defined = -1\n avcc, MP4.box(MP4.types.btrt, new Uint8Array([\n 0x00, 0x1c, 0x9c, 0x80,\n 0x00, 0x2d, 0xc6, 0xc0,\n 0x00, 0x2d, 0xc6, 0xc0\n ])), // avgBitrate\n MP4.box(MP4.types.pasp, new Uint8Array([\n (hSpacing >> 24),\n (hSpacing >> 16) & 0xFF,\n (hSpacing >> 8) & 0xFF,\n hSpacing & 0xFF,\n (vSpacing >> 24),\n (vSpacing >> 16) & 0xFF,\n (vSpacing >> 8) & 0xFF,\n vSpacing & 0xFF\n ])));\n };\n MP4.esds = function (track) {\n var configlen = track.config.length;\n return new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x03,\n 0x17 + configlen,\n 0x00, 0x01,\n 0x00,\n 0x04,\n 0x0f + configlen,\n 0x40,\n 0x15,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x05 // descriptor_type\n ].concat([configlen]).concat(track.config).concat([0x06, 0x01, 0x02])); // GASpecificConfig)); // length + audio config descriptor\n };\n MP4.mp4a = function (track) {\n var samplerate = track.samplerate;\n return MP4.box(MP4.types.mp4a, new Uint8Array([\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, track.channelCount,\n 0x00, 0x10,\n 0x00, 0x00, 0x00, 0x00,\n (samplerate >> 8) & 0xFF,\n samplerate & 0xff,\n 0x00, 0x00\n ]), MP4.box(MP4.types.esds, MP4.esds(track)));\n };\n MP4.mp3 = function (track) {\n var samplerate = track.samplerate;\n return MP4.box(MP4.types['.mp3'], new Uint8Array([\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, track.channelCount,\n 0x00, 0x10,\n 0x00, 0x00, 0x00, 0x00,\n (samplerate >> 8) & 0xFF,\n samplerate & 0xff,\n 0x00, 0x00\n ]));\n };\n MP4.stsd = function (track) {\n if (track.type === 'audio') {\n if (!track.isAAC && track.codec === 'mp3') {\n return MP4.box(MP4.types.stsd, MP4.STSD, MP4.mp3(track));\n }\n return MP4.box(MP4.types.stsd, MP4.STSD, MP4.mp4a(track));\n }\n else {\n return MP4.box(MP4.types.stsd, MP4.STSD, MP4.avc1(track));\n }\n };\n MP4.tkhd = function (track) {\n var id = track.id, duration = track.duration * track.timescale, width = track.width, height = track.height, upperWordDuration = Math.floor(duration / (UINT32_MAX + 1)), lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));\n return MP4.box(MP4.types.tkhd, new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x07,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,\n (id >> 24) & 0xFF,\n (id >> 16) & 0xFF,\n (id >> 8) & 0xFF,\n id & 0xFF,\n 0x00, 0x00, 0x00, 0x00,\n (upperWordDuration >> 24),\n (upperWordDuration >> 16) & 0xFF,\n (upperWordDuration >> 8) & 0xFF,\n upperWordDuration & 0xFF,\n (lowerWordDuration >> 24),\n (lowerWordDuration >> 16) & 0xFF,\n (lowerWordDuration >> 8) & 0xFF,\n lowerWordDuration & 0xFF,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x40, 0x00, 0x00, 0x00,\n (width >> 8) & 0xFF,\n width & 0xFF,\n 0x00, 0x00,\n (height >> 8) & 0xFF,\n height & 0xFF,\n 0x00, 0x00 // height\n ]));\n };\n MP4.traf = function (track, baseMediaDecodeTime) {\n var sampleDependencyTable = MP4.sdtp(track), id = track.id, upperWordBaseMediaDecodeTime = Math.floor(baseMediaDecodeTime / (UINT32_MAX + 1)), lowerWordBaseMediaDecodeTime = Math.floor(baseMediaDecodeTime % (UINT32_MAX + 1));\n return MP4.box(MP4.types.traf, MP4.box(MP4.types.tfhd, new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n (id >> 24),\n (id >> 16) & 0XFF,\n (id >> 8) & 0XFF,\n (id & 0xFF) // track_ID\n ])), MP4.box(MP4.types.tfdt, new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x00,\n (upperWordBaseMediaDecodeTime >> 24),\n (upperWordBaseMediaDecodeTime >> 16) & 0XFF,\n (upperWordBaseMediaDecodeTime >> 8) & 0XFF,\n (upperWordBaseMediaDecodeTime & 0xFF),\n (lowerWordBaseMediaDecodeTime >> 24),\n (lowerWordBaseMediaDecodeTime >> 16) & 0XFF,\n (lowerWordBaseMediaDecodeTime >> 8) & 0XFF,\n (lowerWordBaseMediaDecodeTime & 0xFF)\n ])), MP4.trun(track, sampleDependencyTable.length +\n 16 + // tfhd\n 20 + // tfdt\n 8 + // traf header\n 16 + // mfhd\n 8 + // moof header\n 8), // mdat header\n sampleDependencyTable);\n };\n /**\n * Generate a track box.\n * @param track {object} a track definition\n * @return {Uint8Array} the track box\n */\n MP4.trak = function (track) {\n track.duration = track.duration || 0xffffffff;\n return MP4.box(MP4.types.trak, MP4.tkhd(track), MP4.mdia(track));\n };\n MP4.trex = function (track) {\n var id = track.id;\n return MP4.box(MP4.types.trex, new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n (id >> 24),\n (id >> 16) & 0XFF,\n (id >> 8) & 0XFF,\n (id & 0xFF),\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x01 // default_sample_flags\n ]));\n };\n MP4.trun = function (track, offset) {\n var samples = track.samples || [], len = samples.length, arraylen = 12 + (16 * len), array = new Uint8Array(arraylen), i, sample, duration, size, flags, cts;\n offset += 8 + arraylen;\n array.set([\n 0x00,\n 0x00, 0x0f, 0x01,\n (len >>> 24) & 0xFF,\n (len >>> 16) & 0xFF,\n (len >>> 8) & 0xFF,\n len & 0xFF,\n (offset >>> 24) & 0xFF,\n (offset >>> 16) & 0xFF,\n (offset >>> 8) & 0xFF,\n offset & 0xFF // data_offset\n ], 0);\n for (i = 0; i < len; i++) {\n sample = samples[i];\n duration = sample.duration;\n size = sample.size;\n flags = sample.flags;\n cts = sample.cts;\n array.set([\n (duration >>> 24) & 0xFF,\n (duration >>> 16) & 0xFF,\n (duration >>> 8) & 0xFF,\n duration & 0xFF,\n (size >>> 24) & 0xFF,\n (size >>> 16) & 0xFF,\n (size >>> 8) & 0xFF,\n size & 0xFF,\n (flags.isLeading << 2) | flags.dependsOn,\n (flags.isDependedOn << 6) |\n (flags.hasRedundancy << 4) |\n (flags.paddingValue << 1) |\n flags.isNonSync,\n flags.degradPrio & 0xF0 << 8,\n flags.degradPrio & 0x0F,\n (cts >>> 24) & 0xFF,\n (cts >>> 16) & 0xFF,\n (cts >>> 8) & 0xFF,\n cts & 0xFF // sample_composition_time_offset\n ], 12 + 16 * i);\n }\n return MP4.box(MP4.types.trun, array);\n };\n MP4.initSegment = function (tracks) {\n if (!MP4.types) {\n MP4.init();\n }\n var movie = MP4.moov(tracks), result;\n result = new Uint8Array(MP4.FTYP.byteLength + movie.byteLength);\n result.set(MP4.FTYP);\n result.set(movie, MP4.FTYP.byteLength);\n return result;\n };\n return MP4;\n}());\nexports.default = MP4;\n\n\n/***/ }),\n\n/***/ \"./src/remux/mp4-remuxer.js\":\n/*!**********************************!*\\\n !*** ./src/remux/mp4-remuxer.js ***!\n \\**********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * fMP4 remuxer\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar aac_helper_1 = __webpack_require__(/*! ./aac-helper */ \"./src/remux/aac-helper.js\");\nvar mp4_generator_1 = __webpack_require__(/*! ./mp4-generator */ \"./src/remux/mp4-generator.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\n// 10 seconds\nvar MAX_SILENT_FRAME_DURATION = 10 * 1000;\nvar MP4Remuxer = /** @class */ (function () {\n function MP4Remuxer(observer, config, typeSupported, vendor) {\n this.observer = observer;\n this.config = config;\n this.typeSupported = typeSupported;\n var userAgent = navigator.userAgent;\n this.isSafari = vendor && vendor.indexOf('Apple') > -1 && userAgent && !userAgent.match('CriOS');\n this.ISGenerated = false;\n }\n MP4Remuxer.prototype.destroy = function () {\n };\n MP4Remuxer.prototype.resetTimeStamp = function (defaultTimeStamp) {\n this._initPTS = this._initDTS = defaultTimeStamp;\n };\n MP4Remuxer.prototype.resetInitSegment = function () {\n this.ISGenerated = false;\n };\n MP4Remuxer.prototype.remux = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset) {\n // generate Init Segment if needed\n if (!this.ISGenerated) {\n this.generateIS(audioTrack, videoTrack, timeOffset);\n }\n if (this.ISGenerated) {\n var nbAudioSamples = audioTrack.samples.length;\n var nbVideoSamples = videoTrack.samples.length;\n var audioTimeOffset = timeOffset;\n var videoTimeOffset = timeOffset;\n if (nbAudioSamples && nbVideoSamples) {\n // timeOffset is expected to be the offset of the first timestamp of this fragment (first DTS)\n // if first audio DTS is not aligned with first video DTS then we need to take that into account\n // when providing timeOffset to remuxAudio / remuxVideo. if we don't do that, there might be a permanent / small\n // drift between audio and video streams\n var audiovideoDeltaDts = (audioTrack.samples[0].pts - videoTrack.samples[0].pts) / videoTrack.inputTimeScale;\n audioTimeOffset += Math.max(0, audiovideoDeltaDts);\n videoTimeOffset += Math.max(0, -audiovideoDeltaDts);\n }\n // Purposefully remuxing audio before video, so that remuxVideo can use nextAudioPts, which is\n // calculated in remuxAudio.\n // logger.log('nb AAC samples:' + audioTrack.samples.length);\n if (nbAudioSamples) {\n // if initSegment was generated without video samples, regenerate it again\n if (!audioTrack.timescale) {\n logger_1.logger.warn('regenerate InitSegment as audio detected');\n this.generateIS(audioTrack, videoTrack, timeOffset);\n }\n var audioData = this.remuxAudio(audioTrack, audioTimeOffset, contiguous, accurateTimeOffset);\n // logger.log('nb AVC samples:' + videoTrack.samples.length);\n if (nbVideoSamples) {\n var audioTrackLength = void 0;\n if (audioData) {\n audioTrackLength = audioData.endPTS - audioData.startPTS;\n }\n // if initSegment was generated without video samples, regenerate it again\n if (!videoTrack.timescale) {\n logger_1.logger.warn('regenerate InitSegment as video detected');\n this.generateIS(audioTrack, videoTrack, timeOffset);\n }\n this.remuxVideo(videoTrack, videoTimeOffset, contiguous, audioTrackLength, accurateTimeOffset);\n }\n }\n else {\n // logger.log('nb AVC samples:' + videoTrack.samples.length);\n if (nbVideoSamples) {\n var videoData = this.remuxVideo(videoTrack, videoTimeOffset, contiguous, 0, accurateTimeOffset);\n if (videoData && audioTrack.codec) {\n this.remuxEmptyAudio(audioTrack, audioTimeOffset, contiguous, videoData);\n }\n }\n }\n }\n // logger.log('nb ID3 samples:' + audioTrack.samples.length);\n if (id3Track.samples.length) {\n this.remuxID3(id3Track, timeOffset);\n }\n // logger.log('nb ID3 samples:' + audioTrack.samples.length);\n if (textTrack.samples.length) {\n this.remuxText(textTrack, timeOffset);\n }\n // notify end of parsing\n this.observer.trigger(events_1.default.FRAG_PARSED);\n };\n MP4Remuxer.prototype.generateIS = function (audioTrack, videoTrack, timeOffset) {\n var observer = this.observer, audioSamples = audioTrack.samples, videoSamples = videoTrack.samples, typeSupported = this.typeSupported, container = 'audio/mp4', tracks = {}, data = { tracks: tracks }, computePTSDTS = (this._initPTS === undefined), initPTS, initDTS;\n if (computePTSDTS) {\n initPTS = initDTS = Infinity;\n }\n if (audioTrack.config && audioSamples.length) {\n // let's use audio sampling rate as MP4 time scale.\n // rationale is that there is a integer nb of audio frames per audio sample (1024 for AAC)\n // using audio sampling rate here helps having an integer MP4 frame duration\n // this avoids potential rounding issue and AV sync issue\n audioTrack.timescale = audioTrack.samplerate;\n logger_1.logger.log(\"audio sampling rate : \" + audioTrack.samplerate);\n if (!audioTrack.isAAC) {\n if (typeSupported.mpeg) { // Chrome and Safari\n container = 'audio/mpeg';\n audioTrack.codec = '';\n }\n else if (typeSupported.mp3) { // Firefox\n audioTrack.codec = 'mp3';\n }\n }\n tracks.audio = {\n container: container,\n codec: audioTrack.codec,\n initSegment: !audioTrack.isAAC && typeSupported.mpeg ? new Uint8Array() : mp4_generator_1.default.initSegment([audioTrack]),\n metadata: {\n channelCount: audioTrack.channelCount\n }\n };\n if (computePTSDTS) {\n // remember first PTS of this demuxing context. for audio, PTS = DTS\n initPTS = initDTS = audioSamples[0].pts - audioTrack.inputTimeScale * timeOffset;\n }\n }\n if (videoTrack.sps && videoTrack.pps && videoSamples.length) {\n // let's use input time scale as MP4 video timescale\n // we use input time scale straight away to avoid rounding issues on frame duration / cts computation\n var inputTimeScale = videoTrack.inputTimeScale;\n videoTrack.timescale = inputTimeScale;\n tracks.video = {\n container: 'video/mp4',\n codec: videoTrack.codec,\n initSegment: mp4_generator_1.default.initSegment([videoTrack]),\n metadata: {\n width: videoTrack.width,\n height: videoTrack.height\n }\n };\n if (computePTSDTS) {\n initPTS = Math.min(initPTS, videoSamples[0].pts - inputTimeScale * timeOffset);\n initDTS = Math.min(initDTS, videoSamples[0].dts - inputTimeScale * timeOffset);\n this.observer.trigger(events_1.default.INIT_PTS_FOUND, { initPTS: initPTS });\n }\n }\n if (Object.keys(tracks).length) {\n observer.trigger(events_1.default.FRAG_PARSING_INIT_SEGMENT, data);\n this.ISGenerated = true;\n if (computePTSDTS) {\n this._initPTS = initPTS;\n this._initDTS = initDTS;\n }\n }\n else {\n observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: false, reason: 'no audio/video samples found' });\n }\n };\n MP4Remuxer.prototype.remuxVideo = function (track, timeOffset, contiguous, audioTrackLength, accurateTimeOffset) {\n var offset = 8;\n var mp4SampleDuration;\n var mdat;\n var moof;\n var firstPTS;\n var firstDTS;\n var lastPTS;\n var lastDTS;\n var timeScale = track.timescale;\n var inputSamples = track.samples;\n var outputSamples = [];\n var nbSamples = inputSamples.length;\n var ptsNormalize = this._PTSNormalize;\n var initPTS = this._initPTS;\n // if parsed fragment is contiguous with last one, let's use last DTS value as reference\n var nextAvcDts = this.nextAvcDts;\n var isSafari = this.isSafari;\n if (nbSamples === 0) {\n return;\n }\n // Safari does not like overlapping DTS on consecutive fragments. let's use nextAvcDts to overcome this if fragments are consecutive\n if (isSafari) {\n // also consider consecutive fragments as being contiguous (even if a level switch occurs),\n // for sake of clarity:\n // consecutive fragments are frags with\n // - less than 100ms gaps between new time offset (if accurate) and next expected PTS OR\n // - less than 200 ms PTS gaps (timeScale/5)\n contiguous |= (inputSamples.length && nextAvcDts &&\n ((accurateTimeOffset && Math.abs(timeOffset - nextAvcDts / timeScale) < 0.1) ||\n Math.abs((inputSamples[0].pts - nextAvcDts - initPTS)) < timeScale / 5));\n }\n if (!contiguous) {\n // if not contiguous, let's use target timeOffset\n nextAvcDts = timeOffset * timeScale;\n }\n // PTS is coded on 33bits, and can loop from -2^32 to 2^32\n // ptsNormalize will make PTS/DTS value monotonic, we use last known DTS value as reference value\n inputSamples.forEach(function (sample) {\n sample.pts = ptsNormalize(sample.pts - initPTS, nextAvcDts);\n sample.dts = ptsNormalize(sample.dts - initPTS, nextAvcDts);\n });\n // sort video samples by DTS then PTS then demux id order\n inputSamples.sort(function (a, b) {\n var deltadts = a.dts - b.dts;\n var deltapts = a.pts - b.pts;\n return deltadts || (deltapts || (a.id - b.id));\n });\n // handle broken streams with PTS < DTS, tolerance up 200ms (18000 in 90kHz timescale)\n var PTSDTSshift = inputSamples.reduce(function (prev, curr) { return Math.max(Math.min(prev, curr.pts - curr.dts), -18000); }, 0);\n if (PTSDTSshift < 0) {\n logger_1.logger.warn(\"PTS < DTS detected in video samples, shifting DTS by \" + Math.round(PTSDTSshift / 90) + \" ms to overcome this issue\");\n for (var i = 0; i < inputSamples.length; i++) {\n inputSamples[i].dts += PTSDTSshift;\n }\n }\n // compute first DTS and last DTS, normalize them against reference value\n var sample = inputSamples[0];\n firstDTS = Math.max(sample.dts, 0);\n firstPTS = Math.max(sample.pts, 0);\n // check timestamp continuity accross consecutive fragments (this is to remove inter-fragment gap/hole)\n var delta = Math.round((firstDTS - nextAvcDts) / 90);\n // if fragment are contiguous, detect hole/overlapping between fragments\n if (contiguous) {\n if (delta) {\n if (delta > 1) {\n logger_1.logger.log(\"AVC:\" + delta + \" ms hole between fragments detected,filling it\");\n }\n else if (delta < -1) {\n logger_1.logger.log(\"AVC:\" + (-delta) + \" ms overlapping between fragments detected\");\n }\n // remove hole/gap : set DTS to next expected DTS\n firstDTS = nextAvcDts;\n inputSamples[0].dts = firstDTS;\n // offset PTS as well, ensure that PTS is smaller or equal than new DTS\n firstPTS = Math.max(firstPTS - delta, nextAvcDts);\n inputSamples[0].pts = firstPTS;\n logger_1.logger.log(\"Video/PTS/DTS adjusted: \" + Math.round(firstPTS / 90) + \"/\" + Math.round(firstDTS / 90) + \",delta:\" + delta + \" ms\");\n }\n }\n // compute lastPTS/lastDTS\n sample = inputSamples[inputSamples.length - 1];\n lastDTS = Math.max(sample.dts, 0);\n lastPTS = Math.max(sample.pts, 0, lastDTS);\n // on Safari let's signal the same sample duration for all samples\n // sample duration (as expected by trun MP4 boxes), should be the delta between sample DTS\n // set this constant duration as being the avg delta between consecutive DTS.\n if (isSafari) {\n mp4SampleDuration = Math.round((lastDTS - firstDTS) / (inputSamples.length - 1));\n }\n var nbNalu = 0, naluLen = 0;\n for (var i = 0; i < nbSamples; i++) {\n // compute total/avc sample length and nb of NAL units\n var sample_1 = inputSamples[i], units = sample_1.units, nbUnits = units.length, sampleLen = 0;\n for (var j = 0; j < nbUnits; j++) {\n sampleLen += units[j].data.length;\n }\n naluLen += sampleLen;\n nbNalu += nbUnits;\n sample_1.length = sampleLen;\n // normalize PTS/DTS\n if (isSafari) {\n // sample DTS is computed using a constant decoding offset (mp4SampleDuration) between samples\n sample_1.dts = firstDTS + i * mp4SampleDuration;\n }\n else {\n // ensure sample monotonic DTS\n sample_1.dts = Math.max(sample_1.dts, firstDTS);\n }\n // ensure that computed value is greater or equal than sample DTS\n sample_1.pts = Math.max(sample_1.pts, sample_1.dts);\n }\n /* concatenate the video data and construct the mdat in place\n (need 8 more bytes to fill length and mpdat type) */\n var mdatSize = naluLen + (4 * nbNalu) + 8;\n try {\n mdat = new Uint8Array(mdatSize);\n }\n catch (err) {\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MUX_ERROR, details: errors_1.ErrorDetails.REMUX_ALLOC_ERROR, fatal: false, bytes: mdatSize, reason: \"fail allocating video mdat \" + mdatSize });\n return;\n }\n var view = new DataView(mdat.buffer);\n view.setUint32(0, mdatSize);\n mdat.set(mp4_generator_1.default.types.mdat, 4);\n for (var i = 0; i < nbSamples; i++) {\n var avcSample = inputSamples[i], avcSampleUnits = avcSample.units, mp4SampleLength = 0, compositionTimeOffset = void 0;\n // convert NALU bitstream to MP4 format (prepend NALU with size field)\n for (var j = 0, nbUnits = avcSampleUnits.length; j < nbUnits; j++) {\n var unit = avcSampleUnits[j], unitData = unit.data, unitDataLen = unit.data.byteLength;\n view.setUint32(offset, unitDataLen);\n offset += 4;\n mdat.set(unitData, offset);\n offset += unitDataLen;\n mp4SampleLength += 4 + unitDataLen;\n }\n if (!isSafari) {\n // expected sample duration is the Decoding Timestamp diff of consecutive samples\n if (i < nbSamples - 1) {\n mp4SampleDuration = inputSamples[i + 1].dts - avcSample.dts;\n }\n else {\n var config = this.config, lastFrameDuration = avcSample.dts - inputSamples[i > 0 ? i - 1 : i].dts;\n if (config.stretchShortVideoTrack) {\n // In some cases, a segment's audio track duration may exceed the video track duration.\n // Since we've already remuxed audio, and we know how long the audio track is, we look to\n // see if the delta to the next segment is longer than maxBufferHole.\n // If so, playback would potentially get stuck, so we artificially inflate\n // the duration of the last frame to minimize any potential gap between segments.\n var maxBufferHole = config.maxBufferHole, gapTolerance = Math.floor(maxBufferHole * timeScale), deltaToFrameEnd = (audioTrackLength ? firstPTS + audioTrackLength * timeScale : this.nextAudioPts) - avcSample.pts;\n if (deltaToFrameEnd > gapTolerance) {\n // We subtract lastFrameDuration from deltaToFrameEnd to try to prevent any video\n // frame overlap. maxBufferHole should be >> lastFrameDuration anyway.\n mp4SampleDuration = deltaToFrameEnd - lastFrameDuration;\n if (mp4SampleDuration < 0) {\n mp4SampleDuration = lastFrameDuration;\n }\n logger_1.logger.log(\"It is approximately \" + deltaToFrameEnd / 90 + \" ms to the next segment; using duration \" + mp4SampleDuration / 90 + \" ms for the last video frame.\");\n }\n else {\n mp4SampleDuration = lastFrameDuration;\n }\n }\n else {\n mp4SampleDuration = lastFrameDuration;\n }\n }\n compositionTimeOffset = Math.round(avcSample.pts - avcSample.dts);\n }\n else {\n compositionTimeOffset = Math.max(0, mp4SampleDuration * Math.round((avcSample.pts - avcSample.dts) / mp4SampleDuration));\n }\n // console.log('PTS/DTS/initDTS/normPTS/normDTS/relative PTS : ${avcSample.pts}/${avcSample.dts}/${initDTS}/${ptsnorm}/${dtsnorm}/${(avcSample.pts/4294967296).toFixed(3)}');\n outputSamples.push({\n size: mp4SampleLength,\n // constant duration\n duration: mp4SampleDuration,\n cts: compositionTimeOffset,\n flags: {\n isLeading: 0,\n isDependedOn: 0,\n hasRedundancy: 0,\n degradPrio: 0,\n dependsOn: avcSample.key ? 2 : 1,\n isNonSync: avcSample.key ? 0 : 1\n }\n });\n }\n // next AVC sample DTS should be equal to last sample DTS + last sample duration (in PES timescale)\n this.nextAvcDts = lastDTS + mp4SampleDuration;\n var dropped = track.dropped;\n track.len = 0;\n track.nbNalu = 0;\n track.dropped = 0;\n if (outputSamples.length && navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {\n var flags = outputSamples[0].flags;\n // chrome workaround, mark first sample as being a Random Access Point to avoid sourcebuffer append issue\n // https://code.google.com/p/chromium/issues/detail?id=229412\n flags.dependsOn = 2;\n flags.isNonSync = 0;\n }\n track.samples = outputSamples;\n moof = mp4_generator_1.default.moof(track.sequenceNumber++, firstDTS, track);\n track.samples = [];\n var data = {\n data1: moof,\n data2: mdat,\n startPTS: firstPTS / timeScale,\n endPTS: (lastPTS + mp4SampleDuration) / timeScale,\n startDTS: firstDTS / timeScale,\n endDTS: this.nextAvcDts / timeScale,\n type: 'video',\n hasAudio: false,\n hasVideo: true,\n nb: outputSamples.length,\n dropped: dropped\n };\n this.observer.trigger(events_1.default.FRAG_PARSING_DATA, data);\n return data;\n };\n MP4Remuxer.prototype.remuxAudio = function (track, timeOffset, contiguous, accurateTimeOffset) {\n var inputTimeScale = track.inputTimeScale;\n var mp4timeScale = track.timescale;\n var scaleFactor = inputTimeScale / mp4timeScale;\n var mp4SampleDuration = track.isAAC ? 1024 : 1152;\n var inputSampleDuration = mp4SampleDuration * scaleFactor;\n var ptsNormalize = this._PTSNormalize;\n var initPTS = this._initPTS;\n var rawMPEG = !track.isAAC && this.typeSupported.mpeg;\n var offset, mp4Sample, fillFrame, mdat, moof, firstPTS, lastPTS, inputSamples = track.samples, outputSamples = [], nextAudioPts = this.nextAudioPts;\n // for audio samples, also consider consecutive fragments as being contiguous (even if a level switch occurs),\n // for sake of clarity:\n // consecutive fragments are frags with\n // - less than 100ms gaps between new time offset (if accurate) and next expected PTS OR\n // - less than 20 audio frames distance\n // contiguous fragments are consecutive fragments from same quality level (same level, new SN = old SN + 1)\n // this helps ensuring audio continuity\n // and this also avoids audio glitches/cut when switching quality, or reporting wrong duration on first audio frame\n contiguous |= (inputSamples.length && nextAudioPts &&\n ((accurateTimeOffset && Math.abs(timeOffset - nextAudioPts / inputTimeScale) < 0.1) ||\n Math.abs((inputSamples[0].pts - nextAudioPts - initPTS)) < 20 * inputSampleDuration));\n // compute normalized PTS\n inputSamples.forEach(function (sample) {\n sample.pts = sample.dts = ptsNormalize(sample.pts - initPTS, timeOffset * inputTimeScale);\n });\n // filter out sample with negative PTS that are not playable anyway\n // if we don't remove these negative samples, they will shift all audio samples forward.\n // leading to audio overlap between current / next fragment\n inputSamples = inputSamples.filter(function (sample) {\n return sample.pts >= 0;\n });\n // in case all samples have negative PTS, and have been filtered out, return now\n if (inputSamples.length === 0) {\n return;\n }\n if (!contiguous) {\n if (!accurateTimeOffset) {\n // if frag are mot contiguous and if we cant trust time offset, let's use first sample PTS as next audio PTS\n nextAudioPts = inputSamples[0].pts;\n }\n else {\n // if timeOffset is accurate, let's use it as predicted next audio PTS\n nextAudioPts = timeOffset * inputTimeScale;\n }\n }\n // If the audio track is missing samples, the frames seem to get \"left-shifted\" within the\n // resulting mp4 segment, causing sync issues and leaving gaps at the end of the audio segment.\n // In an effort to prevent this from happening, we inject frames here where there are gaps.\n // When possible, we inject a silent frame; when that's not possible, we duplicate the last\n // frame.\n if (track.isAAC) {\n var maxAudioFramesDrift = this.config.maxAudioFramesDrift;\n for (var i = 0, nextPts = nextAudioPts; i < inputSamples.length;) {\n // First, let's see how far off this frame is from where we expect it to be\n var sample = inputSamples[i], delta;\n var pts = sample.pts;\n delta = pts - nextPts;\n var duration = Math.abs(1000 * delta / inputTimeScale);\n // If we're overlapping by more than a duration, drop this sample\n if (delta <= -maxAudioFramesDrift * inputSampleDuration) {\n logger_1.logger.warn(\"Dropping 1 audio frame @ \" + (nextPts / inputTimeScale).toFixed(3) + \"s due to \" + Math.round(duration) + \" ms overlap.\");\n inputSamples.splice(i, 1);\n track.len -= sample.unit.length;\n // Don't touch nextPtsNorm or i\n } // eslint-disable-line brace-style\n // Insert missing frames if:\n // 1: We're more than maxAudioFramesDrift frame away\n // 2: Not more than MAX_SILENT_FRAME_DURATION away\n // 3: currentTime (aka nextPtsNorm) is not 0\n else if (delta >= maxAudioFramesDrift * inputSampleDuration && duration < MAX_SILENT_FRAME_DURATION && nextPts) {\n var missing = Math.round(delta / inputSampleDuration);\n logger_1.logger.warn(\"Injecting \" + missing + \" audio frame @ \" + (nextPts / inputTimeScale).toFixed(3) + \"s due to \" + Math.round(1000 * delta / inputTimeScale) + \" ms gap.\");\n for (var j = 0; j < missing; j++) {\n var newStamp = Math.max(nextPts, 0);\n fillFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n if (!fillFrame) {\n logger_1.logger.log('Unable to get silent frame for given audio codec; duplicating last frame instead.');\n fillFrame = sample.unit.subarray();\n }\n inputSamples.splice(i, 0, { unit: fillFrame, pts: newStamp, dts: newStamp });\n track.len += fillFrame.length;\n nextPts += inputSampleDuration;\n i++;\n }\n // Adjust sample to next expected pts\n sample.pts = sample.dts = nextPts;\n nextPts += inputSampleDuration;\n i++;\n }\n else {\n // Otherwise, just adjust pts\n if (Math.abs(delta) > (0.1 * inputSampleDuration)) {\n // logger.log(`Invalid frame delta ${Math.round(delta + inputSampleDuration)} at PTS ${Math.round(pts / 90)} (should be ${Math.round(inputSampleDuration)}).`);\n }\n sample.pts = sample.dts = nextPts;\n nextPts += inputSampleDuration;\n i++;\n }\n }\n }\n for (var j = 0, nbSamples_1 = inputSamples.length; j < nbSamples_1; j++) {\n var audioSample = inputSamples[j];\n var unit = audioSample.unit;\n var pts = audioSample.pts;\n // logger.log(`Audio/PTS:${Math.round(pts/90)}`);\n // if not first sample\n if (lastPTS !== undefined) {\n mp4Sample.duration = Math.round((pts - lastPTS) / scaleFactor);\n }\n else {\n var delta_1 = Math.round(1000 * (pts - nextAudioPts) / inputTimeScale), numMissingFrames = 0;\n // if fragment are contiguous, detect hole/overlapping between fragments\n // contiguous fragments are consecutive fragments from same quality level (same level, new SN = old SN + 1)\n if (contiguous && track.isAAC) {\n // log delta\n if (delta_1) {\n if (delta_1 > 0 && delta_1 < MAX_SILENT_FRAME_DURATION) {\n numMissingFrames = Math.round((pts - nextAudioPts) / inputSampleDuration);\n logger_1.logger.log(delta_1 + \" ms hole between AAC samples detected,filling it\");\n if (numMissingFrames > 0) {\n fillFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n if (!fillFrame) {\n fillFrame = unit.subarray();\n }\n track.len += numMissingFrames * fillFrame.length;\n }\n // if we have frame overlap, overlapping for more than half a frame duraion\n }\n else if (delta_1 < -12) {\n // drop overlapping audio frames... browser will deal with it\n logger_1.logger.log(\"drop overlapping AAC sample, expected/parsed/delta:\" + (nextAudioPts / inputTimeScale).toFixed(3) + \"s/\" + (pts / inputTimeScale).toFixed(3) + \"s/\" + (-delta_1) + \"ms\");\n track.len -= unit.byteLength;\n continue;\n }\n // set PTS/DTS to expected PTS/DTS\n pts = nextAudioPts;\n }\n }\n // remember first PTS of our audioSamples\n firstPTS = pts;\n if (track.len > 0) {\n /* concatenate the audio data and construct the mdat in place\n (need 8 more bytes to fill length and mdat type) */\n var mdatSize = rawMPEG ? track.len : track.len + 8;\n offset = rawMPEG ? 0 : 8;\n try {\n mdat = new Uint8Array(mdatSize);\n }\n catch (err) {\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MUX_ERROR, details: errors_1.ErrorDetails.REMUX_ALLOC_ERROR, fatal: false, bytes: mdatSize, reason: \"fail allocating audio mdat \" + mdatSize });\n return;\n }\n if (!rawMPEG) {\n var view = new DataView(mdat.buffer);\n view.setUint32(0, mdatSize);\n mdat.set(mp4_generator_1.default.types.mdat, 4);\n }\n }\n else {\n // no audio samples\n return;\n }\n for (var i = 0; i < numMissingFrames; i++) {\n fillFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n if (!fillFrame) {\n logger_1.logger.log('Unable to get silent frame for given audio codec; duplicating this frame instead.');\n fillFrame = unit.subarray();\n }\n mdat.set(fillFrame, offset);\n offset += fillFrame.byteLength;\n mp4Sample = {\n size: fillFrame.byteLength,\n cts: 0,\n duration: 1024,\n flags: {\n isLeading: 0,\n isDependedOn: 0,\n hasRedundancy: 0,\n degradPrio: 0,\n dependsOn: 1\n }\n };\n outputSamples.push(mp4Sample);\n }\n }\n mdat.set(unit, offset);\n var unitLen = unit.byteLength;\n offset += unitLen;\n // console.log('PTS/DTS/initDTS/normPTS/normDTS/relative PTS : ${audioSample.pts}/${audioSample.dts}/${initDTS}/${ptsnorm}/${dtsnorm}/${(audioSample.pts/4294967296).toFixed(3)}');\n mp4Sample = {\n size: unitLen,\n cts: 0,\n duration: 0,\n flags: {\n isLeading: 0,\n isDependedOn: 0,\n hasRedundancy: 0,\n degradPrio: 0,\n dependsOn: 1\n }\n };\n outputSamples.push(mp4Sample);\n lastPTS = pts;\n }\n var lastSampleDuration = 0;\n var nbSamples = outputSamples.length;\n // set last sample duration as being identical to previous sample\n if (nbSamples >= 2) {\n lastSampleDuration = outputSamples[nbSamples - 2].duration;\n mp4Sample.duration = lastSampleDuration;\n }\n if (nbSamples) {\n // next audio sample PTS should be equal to last sample PTS + duration\n this.nextAudioPts = nextAudioPts = lastPTS + scaleFactor * lastSampleDuration;\n // logger.log('Audio/PTS/PTSend:' + audioSample.pts.toFixed(0) + '/' + this.nextAacDts.toFixed(0));\n track.len = 0;\n track.samples = outputSamples;\n if (rawMPEG) {\n moof = new Uint8Array();\n }\n else {\n moof = mp4_generator_1.default.moof(track.sequenceNumber++, firstPTS / scaleFactor, track);\n }\n track.samples = [];\n var start = firstPTS / inputTimeScale;\n var end = nextAudioPts / inputTimeScale;\n var audioData = {\n data1: moof,\n data2: mdat,\n startPTS: start,\n endPTS: end,\n startDTS: start,\n endDTS: end,\n type: 'audio',\n hasAudio: true,\n hasVideo: false,\n nb: nbSamples\n };\n this.observer.trigger(events_1.default.FRAG_PARSING_DATA, audioData);\n return audioData;\n }\n return null;\n };\n MP4Remuxer.prototype.remuxEmptyAudio = function (track, timeOffset, contiguous, videoData) {\n var inputTimeScale = track.inputTimeScale, mp4timeScale = track.samplerate ? track.samplerate : inputTimeScale, scaleFactor = inputTimeScale / mp4timeScale, nextAudioPts = this.nextAudioPts, \n // sync with video's timestamp\n startDTS = (nextAudioPts !== undefined ? nextAudioPts : videoData.startDTS * inputTimeScale) + this._initDTS, endDTS = videoData.endDTS * inputTimeScale + this._initDTS, \n // one sample's duration value\n sampleDuration = 1024, frameDuration = scaleFactor * sampleDuration, \n // samples count of this segment's duration\n nbSamples = Math.ceil((endDTS - startDTS) / frameDuration), \n // silent frame\n silentFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n logger_1.logger.warn('remux empty Audio');\n // Can't remux if we can't generate a silent frame...\n if (!silentFrame) {\n logger_1.logger.trace('Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!');\n return;\n }\n var samples = [];\n for (var i = 0; i < nbSamples; i++) {\n var stamp = startDTS + i * frameDuration;\n samples.push({ unit: silentFrame, pts: stamp, dts: stamp });\n track.len += silentFrame.length;\n }\n track.samples = samples;\n this.remuxAudio(track, timeOffset, contiguous);\n };\n MP4Remuxer.prototype.remuxID3 = function (track) {\n var length = track.samples.length, sample;\n var inputTimeScale = track.inputTimeScale;\n var initPTS = this._initPTS;\n var initDTS = this._initDTS;\n // consume samples\n if (length) {\n for (var index = 0; index < length; index++) {\n sample = track.samples[index];\n // setting id3 pts, dts to relative time\n // using this._initPTS and this._initDTS to calculate relative time\n sample.pts = ((sample.pts - initPTS) / inputTimeScale);\n sample.dts = ((sample.dts - initDTS) / inputTimeScale);\n }\n this.observer.trigger(events_1.default.FRAG_PARSING_METADATA, {\n samples: track.samples\n });\n }\n track.samples = [];\n };\n MP4Remuxer.prototype.remuxText = function (track) {\n track.samples.sort(function (a, b) {\n return (a.pts - b.pts);\n });\n var length = track.samples.length, sample;\n var inputTimeScale = track.inputTimeScale;\n var initPTS = this._initPTS;\n // consume samples\n if (length) {\n for (var index = 0; index < length; index++) {\n sample = track.samples[index];\n // setting text pts, dts to relative time\n // using this._initPTS and this._initDTS to calculate relative time\n sample.pts = ((sample.pts - initPTS) / inputTimeScale);\n }\n this.observer.trigger(events_1.default.FRAG_PARSING_USERDATA, {\n samples: track.samples\n });\n }\n track.samples = [];\n };\n MP4Remuxer.prototype._PTSNormalize = function (value, reference) {\n var offset;\n if (reference === undefined) {\n return value;\n }\n if (reference < value) {\n // - 2^33\n offset = -8589934592;\n }\n else {\n // + 2^33\n offset = 8589934592;\n }\n /* PTS is 33bit (from 0 to 2^33 -1)\n if diff between value and reference is bigger than half of the amplitude (2^32) then it means that\n PTS looping occured. fill the gap */\n while (Math.abs(value - reference) > 4294967296) {\n value += offset;\n }\n return value;\n };\n return MP4Remuxer;\n}());\nexports.default = MP4Remuxer;\n\n\n/***/ }),\n\n/***/ \"./src/remux/passthrough-remuxer.js\":\n/*!******************************************!*\\\n !*** ./src/remux/passthrough-remuxer.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * passthrough remuxer\n*/\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar PassThroughRemuxer = /** @class */ (function () {\n function PassThroughRemuxer(observer) {\n this.observer = observer;\n }\n PassThroughRemuxer.prototype.destroy = function () {\n };\n PassThroughRemuxer.prototype.resetTimeStamp = function () {\n };\n PassThroughRemuxer.prototype.resetInitSegment = function () {\n };\n PassThroughRemuxer.prototype.remux = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset, rawData) {\n var observer = this.observer;\n var streamType = '';\n if (audioTrack) {\n streamType += 'audio';\n }\n if (videoTrack) {\n streamType += 'video';\n }\n observer.trigger(events_1.default.FRAG_PARSING_DATA, {\n data1: rawData,\n startPTS: timeOffset,\n startDTS: timeOffset,\n type: streamType,\n hasAudio: !!audioTrack,\n hasVideo: !!videoTrack,\n nb: 1,\n dropped: 0\n });\n // notify end of parsing\n observer.trigger(events_1.default.FRAG_PARSED);\n };\n return PassThroughRemuxer;\n}());\nexports.default = PassThroughRemuxer;\n\n\n/***/ }),\n\n/***/ \"./src/task-loop.js\":\n/*!**************************!*\\\n !*** ./src/task-loop.js ***!\n \\**************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar event_handler_1 = __webpack_require__(/*! ./event-handler */ \"./src/event-handler.js\");\n/**\n * Sub-class specialization of EventHandler base class.\n *\n * TaskLoop allows to schedule a task function being called (optionnaly repeatedly) on the main loop,\n * scheduled asynchroneously, avoiding recursive calls in the same tick.\n *\n * The task itself is implemented in `doTick`. It can be requested and called for single execution\n * using the `tick` method.\n *\n * It will be assured that the task execution method (`tick`) only gets called once per main loop \"tick\",\n * no matter how often it gets requested for execution. Execution in further ticks will be scheduled accordingly.\n *\n * If further execution requests have already been scheduled on the next tick, it can be checked with `hasNextTick`,\n * and cancelled with `clearNextTick`.\n *\n * The task can be scheduled as an interval repeatedly with a period as parameter (see `setInterval`, `clearInterval`).\n *\n * Sub-classes need to implement the `doTick` method which will effectively have the task execution routine.\n *\n * Further explanations:\n *\n * The baseclass has a `tick` method that will schedule the doTick call. It may be called synchroneously\n * only for a stack-depth of one. On re-entrant calls, sub-sequent calls are scheduled for next main loop ticks.\n *\n * When the task execution (`tick` method) is called in re-entrant way this is detected and\n * we are limiting the task execution per call stack to exactly one, but scheduling/post-poning further\n * task processing on the next main loop iteration (also known as \"next tick\" in the Node/JS runtime lingo).\n */\nvar TaskLoop = /** @class */ (function (_super) {\n __extends(TaskLoop, _super);\n function TaskLoop(hls) {\n var events = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n events[_i - 1] = arguments[_i];\n }\n var _this = _super.apply(this, [hls].concat(events)) || this;\n _this._tickInterval = null;\n _this._tickTimer = null;\n _this._tickCallCount = 0;\n _this._boundTick = _this.tick.bind(_this);\n return _this;\n }\n /**\n * @override\n */\n TaskLoop.prototype.onHandlerDestroying = function () {\n // clear all timers before unregistering from event bus\n this.clearNextTick();\n this.clearInterval();\n };\n /**\n * @returns {boolean}\n */\n TaskLoop.prototype.hasInterval = function () {\n return !!this._tickInterval;\n };\n /**\n * @returns {boolean}\n */\n TaskLoop.prototype.hasNextTick = function () {\n return !!this._tickTimer;\n };\n /**\n * @param {number} millis Interval time (ms)\n * @returns {boolean} True when interval has been scheduled, false when already scheduled (no effect)\n */\n TaskLoop.prototype.setInterval = function (millis) {\n if (!this._tickInterval) {\n this._tickInterval = setInterval(this._boundTick, millis);\n return true;\n }\n return false;\n };\n /**\n * @returns {boolean} True when interval was cleared, false when none was set (no effect)\n */\n TaskLoop.prototype.clearInterval = function () {\n if (this._tickInterval) {\n clearInterval(this._tickInterval);\n this._tickInterval = null;\n return true;\n }\n return false;\n };\n /**\n * @returns {boolean} True when timeout was cleared, false when none was set (no effect)\n */\n TaskLoop.prototype.clearNextTick = function () {\n if (this._tickTimer) {\n clearTimeout(this._tickTimer);\n this._tickTimer = null;\n return true;\n }\n return false;\n };\n /**\n * Will call the subclass doTick implementation in this main loop tick\n * or in the next one (via setTimeout(,0)) in case it has already been called\n * in this tick (in case this is a re-entrant call).\n */\n TaskLoop.prototype.tick = function () {\n this._tickCallCount++;\n if (this._tickCallCount === 1) {\n this.doTick();\n // re-entrant call to tick from previous doTick call stack\n // -> schedule a call on the next main loop iteration to process this task processing request\n if (this._tickCallCount > 1) {\n // make sure only one timer exists at any time at max\n this.clearNextTick();\n this._tickTimer = setTimeout(this._boundTick, 0);\n }\n this._tickCallCount = 0;\n }\n };\n /**\n * For subclass to implement task logic\n * @abstract\n */\n TaskLoop.prototype.doTick = function () { };\n return TaskLoop;\n}(event_handler_1.default));\nexports.default = TaskLoop;\n\n\n/***/ }),\n\n/***/ \"./src/utils/attr-list.js\":\n/*!********************************!*\\\n !*** ./src/utils/attr-list.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DECIMAL_RESOLUTION_REGEX = /^(\\d+)x(\\d+)$/; // eslint-disable-line no-useless-escape\nvar ATTR_LIST_REGEX = /\\s*(.+?)\\s*=((?:\\\".*?\\\")|.*?)(?:,|$)/g; // eslint-disable-line no-useless-escape\n// adapted from https://github.com/kanongil/node-m3u8parse/blob/master/attrlist.js\nvar AttrList = /** @class */ (function () {\n function AttrList(attrs) {\n if (typeof attrs === 'string') {\n attrs = AttrList.parseAttrList(attrs);\n }\n for (var attr in attrs) {\n if (attrs.hasOwnProperty(attr)) {\n this[attr] = attrs[attr];\n }\n }\n }\n AttrList.prototype.decimalInteger = function (attrName) {\n var intValue = parseInt(this[attrName], 10);\n if (intValue > Number.MAX_SAFE_INTEGER) {\n return Infinity;\n }\n return intValue;\n };\n AttrList.prototype.hexadecimalInteger = function (attrName) {\n if (this[attrName]) {\n var stringValue = (this[attrName] || '0x').slice(2);\n stringValue = ((stringValue.length & 1) ? '0' : '') + stringValue;\n var value = new Uint8Array(stringValue.length / 2);\n for (var i = 0; i < stringValue.length / 2; i++) {\n value[i] = parseInt(stringValue.slice(i * 2, i * 2 + 2), 16);\n }\n return value;\n }\n else {\n return null;\n }\n };\n AttrList.prototype.hexadecimalIntegerAsNumber = function (attrName) {\n var intValue = parseInt(this[attrName], 16);\n if (intValue > Number.MAX_SAFE_INTEGER) {\n return Infinity;\n }\n return intValue;\n };\n AttrList.prototype.decimalFloatingPoint = function (attrName) {\n return parseFloat(this[attrName]);\n };\n AttrList.prototype.enumeratedString = function (attrName) {\n return this[attrName];\n };\n AttrList.prototype.decimalResolution = function (attrName) {\n var res = DECIMAL_RESOLUTION_REGEX.exec(this[attrName]);\n if (res === null) {\n return undefined;\n }\n return {\n width: parseInt(res[1], 10),\n height: parseInt(res[2], 10)\n };\n };\n AttrList.parseAttrList = function (input) {\n var match, attrs = {};\n ATTR_LIST_REGEX.lastIndex = 0;\n while ((match = ATTR_LIST_REGEX.exec(input)) !== null) {\n var value = match[2], quote = '\"';\n if (value.indexOf(quote) === 0 &&\n value.lastIndexOf(quote) === (value.length - 1)) {\n value = value.slice(1, -1);\n }\n attrs[match[1]] = value;\n }\n return attrs;\n };\n return AttrList;\n}());\nexports.default = AttrList;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/utils/binary-search.js\":\n/*!************************************!*\\\n !*** ./src/utils/binary-search.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BinarySearch = {\n /**\n * Searches for an item in an array which matches a certain condition.\n * This requires the condition to only match one item in the array,\n * and for the array to be ordered.\n *\n * @param {Array} list The array to search.\n * @param {Function} comparisonFunction\n * Called and provided a candidate item as the first argument.\n * Should return:\n * > -1 if the item should be located at a lower index than the provided item.\n * > 1 if the item should be located at a higher index than the provided item.\n * > 0 if the item is the item you're looking for.\n *\n * @return {*} The object if it is found or null otherwise.\n */\n search: function (list, comparisonFunction) {\n var minIndex = 0;\n var maxIndex = list.length - 1;\n var currentIndex = null;\n var currentElement = null;\n while (minIndex <= maxIndex) {\n currentIndex = (minIndex + maxIndex) / 2 | 0;\n currentElement = list[currentIndex];\n var comparisonResult = comparisonFunction(currentElement);\n if (comparisonResult > 0) {\n minIndex = currentIndex + 1;\n }\n else if (comparisonResult < 0) {\n maxIndex = currentIndex - 1;\n }\n else {\n return currentElement;\n }\n }\n return null;\n }\n};\nexports.default = BinarySearch;\n\n\n/***/ }),\n\n/***/ \"./src/utils/buffer-helper.js\":\n/*!************************************!*\\\n !*** ./src/utils/buffer-helper.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * @module BufferHelper\n *\n * Providing methods dealing with buffer length retrieval for example.\n *\n * In general, a helper around HTML5 MediaElement TimeRanges gathered from `buffered` property.\n *\n * Also @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/buffered\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BufferHelper = /** @class */ (function () {\n function BufferHelper() {\n }\n /**\n * Return true if `media`'s buffered include `position`\n * @param {HTMLMediaElement|SourceBuffer} media\n * @param {number} position\n * @returns {boolean}\n */\n BufferHelper.isBuffered = function (media, position) {\n try {\n if (media) {\n var buffered = media.buffered;\n for (var i = 0; i < buffered.length; i++) {\n if (position >= buffered.start(i) && position <= buffered.end(i)) {\n return true;\n }\n }\n }\n }\n catch (error) {\n // this is to catch\n // InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer':\n // This SourceBuffer has been removed from the parent media source\n }\n return false;\n };\n BufferHelper.bufferInfo = function (media, pos, maxHoleDuration) {\n try {\n if (media) {\n var vbuffered = media.buffered, buffered = [], i = void 0;\n for (i = 0; i < vbuffered.length; i++) {\n buffered.push({ start: vbuffered.start(i), end: vbuffered.end(i) });\n }\n return this.bufferedInfo(buffered, pos, maxHoleDuration);\n }\n }\n catch (error) {\n // this is to catch\n // InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer':\n // This SourceBuffer has been removed from the parent media source\n }\n return { len: 0, start: pos, end: pos, nextStart: undefined };\n };\n BufferHelper.bufferedInfo = function (buffered, pos, maxHoleDuration) {\n var buffered2 = [], \n // bufferStart and bufferEnd are buffer boundaries around current video position\n bufferLen, bufferStart, bufferEnd, bufferStartNext, i;\n // sort on buffer.start/smaller end (IE does not always return sorted buffered range)\n buffered.sort(function (a, b) {\n var diff = a.start - b.start;\n if (diff) {\n return diff;\n }\n else {\n return b.end - a.end;\n }\n });\n // there might be some small holes between buffer time range\n // consider that holes smaller than maxHoleDuration are irrelevant and build another\n // buffer time range representations that discards those holes\n for (i = 0; i < buffered.length; i++) {\n var buf2len = buffered2.length;\n if (buf2len) {\n var buf2end = buffered2[buf2len - 1].end;\n // if small hole (value between 0 or maxHoleDuration ) or overlapping (negative)\n if ((buffered[i].start - buf2end) < maxHoleDuration) {\n // merge overlapping time ranges\n // update lastRange.end only if smaller than item.end\n // e.g. [ 1, 15] with [ 2,8] => [ 1,15] (no need to modify lastRange.end)\n // whereas [ 1, 8] with [ 2,15] => [ 1,15] ( lastRange should switch from [1,8] to [1,15])\n if (buffered[i].end > buf2end) {\n buffered2[buf2len - 1].end = buffered[i].end;\n }\n }\n else {\n // big hole\n buffered2.push(buffered[i]);\n }\n }\n else {\n // first value\n buffered2.push(buffered[i]);\n }\n }\n for (i = 0, bufferLen = 0, bufferStart = bufferEnd = pos; i < buffered2.length; i++) {\n var start = buffered2[i].start, end = buffered2[i].end;\n // logger.log('buf start/end:' + buffered.start(i) + '/' + buffered.end(i));\n if ((pos + maxHoleDuration) >= start && pos < end) {\n // play position is inside this buffer TimeRange, retrieve end of buffer position and buffer length\n bufferStart = start;\n bufferEnd = end;\n bufferLen = bufferEnd - pos;\n }\n else if ((pos + maxHoleDuration) < start) {\n bufferStartNext = start;\n break;\n }\n }\n return { len: bufferLen, start: bufferStart, end: bufferEnd, nextStart: bufferStartNext };\n };\n return BufferHelper;\n}());\nexports.BufferHelper = BufferHelper;\n\n\n/***/ }),\n\n/***/ \"./src/utils/cea-608-parser.js\":\n/*!*************************************!*\\\n !*** ./src/utils/cea-608-parser.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n *\n * This code was ported from the dash.js project at:\n * https://github.com/Dash-Industry-Forum/dash.js/blob/development/externals/cea608-parser.js\n * https://github.com/Dash-Industry-Forum/dash.js/commit/8269b26a761e0853bb21d78780ed945144ecdd4d#diff-71bc295a2d6b6b7093a1d3290d53a4b2\n *\n * The original copyright appears below:\n *\n * The copyright in this software is being made available under the BSD License,\n * included below. This software may be subject to other third party and contributor\n * rights, including patent rights, and no such rights are granted under this license.\n *\n * Copyright (c) 2015-2016, DASH Industry Forum.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification,\n * are permitted provided that the following conditions are met:\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation and/or\n * other materials provided with the distribution.\n * 2. Neither the name of Dash Industry Forum nor the names of its\n * contributors may be used to endorse or promote products derived from this software\n * without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n/**\n * Exceptions from regular ASCII. CodePoints are mapped to UTF-16 codes\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar specialCea608CharsCodes = {\n 0x2a: 0xe1,\n 0x5c: 0xe9,\n 0x5e: 0xed,\n 0x5f: 0xf3,\n 0x60: 0xfa,\n 0x7b: 0xe7,\n 0x7c: 0xf7,\n 0x7d: 0xd1,\n 0x7e: 0xf1,\n 0x7f: 0x2588,\n // THIS BLOCK INCLUDES THE 16 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS\n // THAT COME FROM HI BYTE=0x11 AND LOW BETWEEN 0x30 AND 0x3F\n // THIS MEANS THAT \\x50 MUST BE ADDED TO THE VALUES\n 0x80: 0xae,\n 0x81: 0xb0,\n 0x82: 0xbd,\n 0x83: 0xbf,\n 0x84: 0x2122,\n 0x85: 0xa2,\n 0x86: 0xa3,\n 0x87: 0x266a,\n 0x88: 0xe0,\n 0x89: 0x20,\n 0x8a: 0xe8,\n 0x8b: 0xe2,\n 0x8c: 0xea,\n 0x8d: 0xee,\n 0x8e: 0xf4,\n 0x8f: 0xfb,\n // THIS BLOCK INCLUDES THE 32 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS\n // THAT COME FROM HI BYTE=0x12 AND LOW BETWEEN 0x20 AND 0x3F\n 0x90: 0xc1,\n 0x91: 0xc9,\n 0x92: 0xd3,\n 0x93: 0xda,\n 0x94: 0xdc,\n 0x95: 0xfc,\n 0x96: 0x2018,\n 0x97: 0xa1,\n 0x98: 0x2a,\n 0x99: 0x2019,\n 0x9a: 0x2501,\n 0x9b: 0xa9,\n 0x9c: 0x2120,\n 0x9d: 0x2022,\n 0x9e: 0x201c,\n 0x9f: 0x201d,\n 0xa0: 0xc0,\n 0xa1: 0xc2,\n 0xa2: 0xc7,\n 0xa3: 0xc8,\n 0xa4: 0xca,\n 0xa5: 0xcb,\n 0xa6: 0xeb,\n 0xa7: 0xce,\n 0xa8: 0xcf,\n 0xa9: 0xef,\n 0xaa: 0xd4,\n 0xab: 0xd9,\n 0xac: 0xf9,\n 0xad: 0xdb,\n 0xae: 0xab,\n 0xaf: 0xbb,\n // THIS BLOCK INCLUDES THE 32 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS\n // THAT COME FROM HI BYTE=0x13 AND LOW BETWEEN 0x20 AND 0x3F\n 0xb0: 0xc3,\n 0xb1: 0xe3,\n 0xb2: 0xcd,\n 0xb3: 0xcc,\n 0xb4: 0xec,\n 0xb5: 0xd2,\n 0xb6: 0xf2,\n 0xb7: 0xd5,\n 0xb8: 0xf5,\n 0xb9: 0x7b,\n 0xba: 0x7d,\n 0xbb: 0x5c,\n 0xbc: 0x5e,\n 0xbd: 0x5f,\n 0xbe: 0x7c,\n 0xbf: 0x223c,\n 0xc0: 0xc4,\n 0xc1: 0xe4,\n 0xc2: 0xd6,\n 0xc3: 0xf6,\n 0xc4: 0xdf,\n 0xc5: 0xa5,\n 0xc6: 0xa4,\n 0xc7: 0x2503,\n 0xc8: 0xc5,\n 0xc9: 0xe5,\n 0xca: 0xd8,\n 0xcb: 0xf8,\n 0xcc: 0x250f,\n 0xcd: 0x2513,\n 0xce: 0x2517,\n 0xcf: 0x251b // Box drawings heavy up and left\n};\n/**\n * Utils\n */\nvar getCharForByte = function (byte) {\n var charCode = byte;\n if (specialCea608CharsCodes.hasOwnProperty(byte)) {\n charCode = specialCea608CharsCodes[byte];\n }\n return String.fromCharCode(charCode);\n};\nvar NR_ROWS = 15, NR_COLS = 100;\n// Tables to look up row from PAC data\nvar rowsLowCh1 = { 0x11: 1, 0x12: 3, 0x15: 5, 0x16: 7, 0x17: 9, 0x10: 11, 0x13: 12, 0x14: 14 };\nvar rowsHighCh1 = { 0x11: 2, 0x12: 4, 0x15: 6, 0x16: 8, 0x17: 10, 0x13: 13, 0x14: 15 };\nvar rowsLowCh2 = { 0x19: 1, 0x1A: 3, 0x1D: 5, 0x1E: 7, 0x1F: 9, 0x18: 11, 0x1B: 12, 0x1C: 14 };\nvar rowsHighCh2 = { 0x19: 2, 0x1A: 4, 0x1D: 6, 0x1E: 8, 0x1F: 10, 0x1B: 13, 0x1C: 15 };\nvar backgroundColors = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta', 'black', 'transparent'];\n/**\n * Simple logger class to be able to write with time-stamps and filter on level.\n */\nvar logger = {\n verboseFilter: { 'DATA': 3, 'DEBUG': 3, 'INFO': 2, 'WARNING': 2, 'TEXT': 1, 'ERROR': 0 },\n time: null,\n verboseLevel: 0,\n setTime: function (newTime) {\n this.time = newTime;\n },\n log: function (severity, msg) {\n var minLevel = this.verboseFilter[severity];\n if (this.verboseLevel >= minLevel) {\n // console.log(this.time + ' [' + severity + '] ' + msg);\n }\n }\n};\nvar numArrayToHexArray = function (numArray) {\n var hexArray = [];\n for (var j = 0; j < numArray.length; j++) {\n hexArray.push(numArray[j].toString(16));\n }\n return hexArray;\n};\nvar PenState = /** @class */ (function () {\n function PenState(foreground, underline, italics, background, flash) {\n this.foreground = foreground || 'white';\n this.underline = underline || false;\n this.italics = italics || false;\n this.background = background || 'black';\n this.flash = flash || false;\n }\n PenState.prototype.reset = function () {\n this.foreground = 'white';\n this.underline = false;\n this.italics = false;\n this.background = 'black';\n this.flash = false;\n };\n PenState.prototype.setStyles = function (styles) {\n var attribs = ['foreground', 'underline', 'italics', 'background', 'flash'];\n for (var i = 0; i < attribs.length; i++) {\n var style = attribs[i];\n if (styles.hasOwnProperty(style)) {\n this[style] = styles[style];\n }\n }\n };\n PenState.prototype.isDefault = function () {\n return (this.foreground === 'white' && !this.underline && !this.italics &&\n this.background === 'black' && !this.flash);\n };\n PenState.prototype.equals = function (other) {\n return ((this.foreground === other.foreground) &&\n (this.underline === other.underline) &&\n (this.italics === other.italics) &&\n (this.background === other.background) &&\n (this.flash === other.flash));\n };\n PenState.prototype.copy = function (newPenState) {\n this.foreground = newPenState.foreground;\n this.underline = newPenState.underline;\n this.italics = newPenState.italics;\n this.background = newPenState.background;\n this.flash = newPenState.flash;\n };\n PenState.prototype.toString = function () {\n return ('color=' + this.foreground + ', underline=' + this.underline + ', italics=' + this.italics +\n ', background=' + this.background + ', flash=' + this.flash);\n };\n return PenState;\n}());\n/**\n * Unicode character with styling and background.\n * @constructor\n */\nvar StyledUnicodeChar = /** @class */ (function () {\n function StyledUnicodeChar(uchar, foreground, underline, italics, background, flash) {\n this.uchar = uchar || ' '; // unicode character\n this.penState = new PenState(foreground, underline, italics, background, flash);\n }\n StyledUnicodeChar.prototype.reset = function () {\n this.uchar = ' ';\n this.penState.reset();\n };\n StyledUnicodeChar.prototype.setChar = function (uchar, newPenState) {\n this.uchar = uchar;\n this.penState.copy(newPenState);\n };\n StyledUnicodeChar.prototype.setPenState = function (newPenState) {\n this.penState.copy(newPenState);\n };\n StyledUnicodeChar.prototype.equals = function (other) {\n return this.uchar === other.uchar && this.penState.equals(other.penState);\n };\n StyledUnicodeChar.prototype.copy = function (newChar) {\n this.uchar = newChar.uchar;\n this.penState.copy(newChar.penState);\n };\n StyledUnicodeChar.prototype.isEmpty = function () {\n return this.uchar === ' ' && this.penState.isDefault();\n };\n return StyledUnicodeChar;\n}());\n/**\n * CEA-608 row consisting of NR_COLS instances of StyledUnicodeChar.\n * @constructor\n */\nvar Row = /** @class */ (function () {\n function Row() {\n this.chars = [];\n for (var i = 0; i < NR_COLS; i++) {\n this.chars.push(new StyledUnicodeChar());\n }\n this.pos = 0;\n this.currPenState = new PenState();\n }\n Row.prototype.equals = function (other) {\n var equal = true;\n for (var i = 0; i < NR_COLS; i++) {\n if (!this.chars[i].equals(other.chars[i])) {\n equal = false;\n break;\n }\n }\n return equal;\n };\n Row.prototype.copy = function (other) {\n for (var i = 0; i < NR_COLS; i++) {\n this.chars[i].copy(other.chars[i]);\n }\n };\n Row.prototype.isEmpty = function () {\n var empty = true;\n for (var i = 0; i < NR_COLS; i++) {\n if (!this.chars[i].isEmpty()) {\n empty = false;\n break;\n }\n }\n return empty;\n };\n /**\n * Set the cursor to a valid column.\n */\n Row.prototype.setCursor = function (absPos) {\n if (this.pos !== absPos) {\n this.pos = absPos;\n }\n if (this.pos < 0) {\n logger.log('ERROR', 'Negative cursor position ' + this.pos);\n this.pos = 0;\n }\n else if (this.pos > NR_COLS) {\n logger.log('ERROR', 'Too large cursor position ' + this.pos);\n this.pos = NR_COLS;\n }\n };\n /**\n * Move the cursor relative to current position.\n */\n Row.prototype.moveCursor = function (relPos) {\n var newPos = this.pos + relPos;\n if (relPos > 1) {\n for (var i = this.pos + 1; i < newPos + 1; i++) {\n this.chars[i].setPenState(this.currPenState);\n }\n }\n this.setCursor(newPos);\n };\n /**\n * Backspace, move one step back and clear character.\n */\n Row.prototype.backSpace = function () {\n this.moveCursor(-1);\n this.chars[this.pos].setChar(' ', this.currPenState);\n };\n Row.prototype.insertChar = function (byte) {\n if (byte >= 0x90) { // Extended char\n this.backSpace();\n }\n var char = getCharForByte(byte);\n if (this.pos >= NR_COLS) {\n logger.log('ERROR', 'Cannot insert ' + byte.toString(16) +\n ' (' + char + ') at position ' + this.pos + '. Skipping it!');\n return;\n }\n this.chars[this.pos].setChar(char, this.currPenState);\n this.moveCursor(1);\n };\n Row.prototype.clearFromPos = function (startPos) {\n var i;\n for (i = startPos; i < NR_COLS; i++) {\n this.chars[i].reset();\n }\n };\n Row.prototype.clear = function () {\n this.clearFromPos(0);\n this.pos = 0;\n this.currPenState.reset();\n };\n Row.prototype.clearToEndOfRow = function () {\n this.clearFromPos(this.pos);\n };\n Row.prototype.getTextString = function () {\n var chars = [];\n var empty = true;\n for (var i = 0; i < NR_COLS; i++) {\n var char = this.chars[i].uchar;\n if (char !== ' ') {\n empty = false;\n }\n chars.push(char);\n }\n if (empty) {\n return '';\n }\n else {\n return chars.join('');\n }\n };\n Row.prototype.setPenStyles = function (styles) {\n this.currPenState.setStyles(styles);\n var currChar = this.chars[this.pos];\n currChar.setPenState(this.currPenState);\n };\n return Row;\n}());\n/**\n * Keep a CEA-608 screen of 32x15 styled characters\n * @constructor\n*/\nvar CaptionScreen = /** @class */ (function () {\n function CaptionScreen() {\n this.rows = [];\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows.push(new Row());\n } // Note that we use zero-based numbering (0-14)\n this.currRow = NR_ROWS - 1;\n this.nrRollUpRows = null;\n this.reset();\n }\n CaptionScreen.prototype.reset = function () {\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows[i].clear();\n }\n this.currRow = NR_ROWS - 1;\n };\n CaptionScreen.prototype.equals = function (other) {\n var equal = true;\n for (var i = 0; i < NR_ROWS; i++) {\n if (!this.rows[i].equals(other.rows[i])) {\n equal = false;\n break;\n }\n }\n return equal;\n };\n CaptionScreen.prototype.copy = function (other) {\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows[i].copy(other.rows[i]);\n }\n };\n CaptionScreen.prototype.isEmpty = function () {\n var empty = true;\n for (var i = 0; i < NR_ROWS; i++) {\n if (!this.rows[i].isEmpty()) {\n empty = false;\n break;\n }\n }\n return empty;\n };\n CaptionScreen.prototype.backSpace = function () {\n var row = this.rows[this.currRow];\n row.backSpace();\n };\n CaptionScreen.prototype.clearToEndOfRow = function () {\n var row = this.rows[this.currRow];\n row.clearToEndOfRow();\n };\n /**\n * Insert a character (without styling) in the current row.\n */\n CaptionScreen.prototype.insertChar = function (char) {\n var row = this.rows[this.currRow];\n row.insertChar(char);\n };\n CaptionScreen.prototype.setPen = function (styles) {\n var row = this.rows[this.currRow];\n row.setPenStyles(styles);\n };\n CaptionScreen.prototype.moveCursor = function (relPos) {\n var row = this.rows[this.currRow];\n row.moveCursor(relPos);\n };\n CaptionScreen.prototype.setCursor = function (absPos) {\n logger.log('INFO', 'setCursor: ' + absPos);\n var row = this.rows[this.currRow];\n row.setCursor(absPos);\n };\n CaptionScreen.prototype.setPAC = function (pacData) {\n logger.log('INFO', 'pacData = ' + JSON.stringify(pacData));\n var newRow = pacData.row - 1;\n if (this.nrRollUpRows && newRow < this.nrRollUpRows - 1) {\n newRow = this.nrRollUpRows - 1;\n }\n // Make sure this only affects Roll-up Captions by checking this.nrRollUpRows\n if (this.nrRollUpRows && this.currRow !== newRow) {\n // clear all rows first\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows[i].clear();\n }\n // Copy this.nrRollUpRows rows from lastOutputScreen and place it in the newRow location\n // topRowIndex - the start of rows to copy (inclusive index)\n var topRowIndex = this.currRow + 1 - (this.nrRollUpRows);\n // We only copy if the last position was already shown.\n // We use the cueStartTime value to check this.\n var lastOutputScreen = this.lastOutputScreen;\n if (lastOutputScreen) {\n var prevLineTime = lastOutputScreen.rows[topRowIndex].cueStartTime;\n if (prevLineTime && prevLineTime < logger.time) {\n for (var i = 0; i < this.nrRollUpRows; i++) {\n this.rows[newRow - this.nrRollUpRows + i + 1].copy(lastOutputScreen.rows[topRowIndex + i]);\n }\n }\n }\n }\n this.currRow = newRow;\n var row = this.rows[this.currRow];\n if (pacData.indent !== null) {\n var indent = pacData.indent;\n var prevPos = Math.max(indent - 1, 0);\n row.setCursor(pacData.indent);\n pacData.color = row.chars[prevPos].penState.foreground;\n }\n var styles = { foreground: pacData.color, underline: pacData.underline, italics: pacData.italics, background: 'black', flash: false };\n this.setPen(styles);\n };\n /**\n * Set background/extra foreground, but first do back_space, and then insert space (backwards compatibility).\n */\n CaptionScreen.prototype.setBkgData = function (bkgData) {\n logger.log('INFO', 'bkgData = ' + JSON.stringify(bkgData));\n this.backSpace();\n this.setPen(bkgData);\n this.insertChar(0x20); // Space\n };\n CaptionScreen.prototype.setRollUpRows = function (nrRows) {\n this.nrRollUpRows = nrRows;\n };\n CaptionScreen.prototype.rollUp = function () {\n if (this.nrRollUpRows === null) {\n logger.log('DEBUG', 'roll_up but nrRollUpRows not set yet');\n return; // Not properly setup\n }\n logger.log('TEXT', this.getDisplayText());\n var topRowIndex = this.currRow + 1 - this.nrRollUpRows;\n var topRow = this.rows.splice(topRowIndex, 1)[0];\n topRow.clear();\n this.rows.splice(this.currRow, 0, topRow);\n logger.log('INFO', 'Rolling up');\n // logger.log('TEXT', this.get_display_text())\n };\n /**\n * Get all non-empty rows with as unicode text.\n */\n CaptionScreen.prototype.getDisplayText = function (asOneRow) {\n asOneRow = asOneRow || false;\n var displayText = [];\n var text = '';\n var rowNr = -1;\n for (var i = 0; i < NR_ROWS; i++) {\n var rowText = this.rows[i].getTextString();\n if (rowText) {\n rowNr = i + 1;\n if (asOneRow) {\n displayText.push('Row ' + rowNr + ': \\'' + rowText + '\\'');\n }\n else {\n displayText.push(rowText.trim());\n }\n }\n }\n if (displayText.length > 0) {\n if (asOneRow) {\n text = '[' + displayText.join(' | ') + ']';\n }\n else {\n text = displayText.join('\\n');\n }\n }\n return text;\n };\n CaptionScreen.prototype.getTextAndFormat = function () {\n return this.rows;\n };\n return CaptionScreen;\n}());\n// var modes = ['MODE_ROLL-UP', 'MODE_POP-ON', 'MODE_PAINT-ON', 'MODE_TEXT'];\nvar Cea608Channel = /** @class */ (function () {\n function Cea608Channel(channelNumber, outputFilter) {\n this.chNr = channelNumber;\n this.outputFilter = outputFilter;\n this.mode = null;\n this.verbose = 0;\n this.displayedMemory = new CaptionScreen();\n this.nonDisplayedMemory = new CaptionScreen();\n this.lastOutputScreen = new CaptionScreen();\n this.currRollUpRow = this.displayedMemory.rows[NR_ROWS - 1];\n this.writeScreen = this.displayedMemory;\n this.mode = null;\n this.cueStartTime = null; // Keeps track of where a cue started.\n }\n Cea608Channel.prototype.reset = function () {\n this.mode = null;\n this.displayedMemory.reset();\n this.nonDisplayedMemory.reset();\n this.lastOutputScreen.reset();\n this.currRollUpRow = this.displayedMemory.rows[NR_ROWS - 1];\n this.writeScreen = this.displayedMemory;\n this.mode = null;\n this.cueStartTime = null;\n this.lastCueEndTime = null;\n };\n Cea608Channel.prototype.getHandler = function () {\n return this.outputFilter;\n };\n Cea608Channel.prototype.setHandler = function (newHandler) {\n this.outputFilter = newHandler;\n };\n Cea608Channel.prototype.setPAC = function (pacData) {\n this.writeScreen.setPAC(pacData);\n };\n Cea608Channel.prototype.setBkgData = function (bkgData) {\n this.writeScreen.setBkgData(bkgData);\n };\n Cea608Channel.prototype.setMode = function (newMode) {\n if (newMode === this.mode) {\n return;\n }\n this.mode = newMode;\n logger.log('INFO', 'MODE=' + newMode);\n if (this.mode === 'MODE_POP-ON') {\n this.writeScreen = this.nonDisplayedMemory;\n }\n else {\n this.writeScreen = this.displayedMemory;\n this.writeScreen.reset();\n }\n if (this.mode !== 'MODE_ROLL-UP') {\n this.displayedMemory.nrRollUpRows = null;\n this.nonDisplayedMemory.nrRollUpRows = null;\n }\n this.mode = newMode;\n };\n Cea608Channel.prototype.insertChars = function (chars) {\n for (var i = 0; i < chars.length; i++) {\n this.writeScreen.insertChar(chars[i]);\n }\n var screen = this.writeScreen === this.displayedMemory ? 'DISP' : 'NON_DISP';\n logger.log('INFO', screen + ': ' + this.writeScreen.getDisplayText(true));\n if (this.mode === 'MODE_PAINT-ON' || this.mode === 'MODE_ROLL-UP') {\n logger.log('TEXT', 'DISPLAYED: ' + this.displayedMemory.getDisplayText(true));\n this.outputDataUpdate();\n }\n };\n Cea608Channel.prototype.ccRCL = function () {\n logger.log('INFO', 'RCL - Resume Caption Loading');\n this.setMode('MODE_POP-ON');\n };\n Cea608Channel.prototype.ccBS = function () {\n logger.log('INFO', 'BS - BackSpace');\n if (this.mode === 'MODE_TEXT') {\n return;\n }\n this.writeScreen.backSpace();\n if (this.writeScreen === this.displayedMemory) {\n this.outputDataUpdate();\n }\n };\n Cea608Channel.prototype.ccAOF = function () {\n };\n Cea608Channel.prototype.ccAON = function () {\n };\n Cea608Channel.prototype.ccDER = function () {\n logger.log('INFO', 'DER- Delete to End of Row');\n this.writeScreen.clearToEndOfRow();\n this.outputDataUpdate();\n };\n Cea608Channel.prototype.ccRU = function (nrRows) {\n logger.log('INFO', 'RU(' + nrRows + ') - Roll Up');\n this.writeScreen = this.displayedMemory;\n this.setMode('MODE_ROLL-UP');\n this.writeScreen.setRollUpRows(nrRows);\n };\n Cea608Channel.prototype.ccFON = function () {\n logger.log('INFO', 'FON - Flash On');\n this.writeScreen.setPen({ flash: true });\n };\n Cea608Channel.prototype.ccRDC = function () {\n logger.log('INFO', 'RDC - Resume Direct Captioning');\n this.setMode('MODE_PAINT-ON');\n };\n Cea608Channel.prototype.ccTR = function () {\n logger.log('INFO', 'TR');\n this.setMode('MODE_TEXT');\n };\n Cea608Channel.prototype.ccRTD = function () {\n logger.log('INFO', 'RTD');\n this.setMode('MODE_TEXT');\n };\n Cea608Channel.prototype.ccEDM = function () {\n logger.log('INFO', 'EDM - Erase Displayed Memory');\n this.displayedMemory.reset();\n this.outputDataUpdate(true);\n };\n Cea608Channel.prototype.ccCR = function () {\n logger.log('CR - Carriage Return');\n this.writeScreen.rollUp();\n this.outputDataUpdate(true);\n };\n Cea608Channel.prototype.ccENM = function () {\n logger.log('INFO', 'ENM - Erase Non-displayed Memory');\n this.nonDisplayedMemory.reset();\n };\n Cea608Channel.prototype.ccEOC = function () {\n logger.log('INFO', 'EOC - End Of Caption');\n if (this.mode === 'MODE_POP-ON') {\n var tmp = this.displayedMemory;\n this.displayedMemory = this.nonDisplayedMemory;\n this.nonDisplayedMemory = tmp;\n this.writeScreen = this.nonDisplayedMemory;\n logger.log('TEXT', 'DISP: ' + this.displayedMemory.getDisplayText());\n }\n this.outputDataUpdate(true);\n };\n Cea608Channel.prototype.ccTO = function (nrCols) {\n logger.log('INFO', 'TO(' + nrCols + ') - Tab Offset');\n this.writeScreen.moveCursor(nrCols);\n };\n Cea608Channel.prototype.ccMIDROW = function (secondByte) {\n var styles = { flash: false };\n styles.underline = secondByte % 2 === 1;\n styles.italics = secondByte >= 0x2e;\n if (!styles.italics) {\n var colorIndex = Math.floor(secondByte / 2) - 0x10;\n var colors = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta'];\n styles.foreground = colors[colorIndex];\n }\n else {\n styles.foreground = 'white';\n }\n logger.log('INFO', 'MIDROW: ' + JSON.stringify(styles));\n this.writeScreen.setPen(styles);\n };\n Cea608Channel.prototype.outputDataUpdate = function (dispatch) {\n if (dispatch === void 0) { dispatch = false; }\n var t = logger.time;\n if (t === null) {\n return;\n }\n if (this.outputFilter) {\n if (this.cueStartTime === null && !this.displayedMemory.isEmpty()) { // Start of a new cue\n this.cueStartTime = t;\n }\n else {\n if (!this.displayedMemory.equals(this.lastOutputScreen)) {\n if (this.outputFilter.newCue) {\n this.outputFilter.newCue(this.cueStartTime, t, this.lastOutputScreen);\n if (dispatch === true && this.outputFilter.dispatchCue) {\n this.outputFilter.dispatchCue();\n }\n }\n this.cueStartTime = this.displayedMemory.isEmpty() ? null : t;\n }\n }\n this.lastOutputScreen.copy(this.displayedMemory);\n }\n };\n Cea608Channel.prototype.cueSplitAtTime = function (t) {\n if (this.outputFilter) {\n if (!this.displayedMemory.isEmpty()) {\n if (this.outputFilter.newCue) {\n this.outputFilter.newCue(this.cueStartTime, t, this.displayedMemory);\n }\n this.cueStartTime = t;\n }\n }\n };\n return Cea608Channel;\n}());\nvar Cea608Parser = /** @class */ (function () {\n function Cea608Parser(field, out1, out2) {\n this.field = field || 1;\n this.outputs = [out1, out2];\n this.channels = [new Cea608Channel(1, out1), new Cea608Channel(2, out2)];\n this.currChNr = -1; // Will be 1 or 2\n this.lastCmdA = null; // First byte of last command\n this.lastCmdB = null; // Second byte of last command\n this.bufferedData = [];\n this.startTime = null;\n this.lastTime = null;\n this.dataCounters = { 'padding': 0, 'char': 0, 'cmd': 0, 'other': 0 };\n }\n Cea608Parser.prototype.getHandler = function (index) {\n return this.channels[index].getHandler();\n };\n Cea608Parser.prototype.setHandler = function (index, newHandler) {\n this.channels[index].setHandler(newHandler);\n };\n /**\n * Add data for time t in forms of list of bytes (unsigned ints). The bytes are treated as pairs.\n */\n Cea608Parser.prototype.addData = function (t, byteList) {\n var cmdFound, a, b, charsFound = false;\n this.lastTime = t;\n logger.setTime(t);\n for (var i = 0; i < byteList.length; i += 2) {\n a = byteList[i] & 0x7f;\n b = byteList[i + 1] & 0x7f;\n if (a === 0 && b === 0) {\n this.dataCounters.padding += 2;\n continue;\n }\n else {\n logger.log('DATA', '[' + numArrayToHexArray([byteList[i], byteList[i + 1]]) + '] -> (' + numArrayToHexArray([a, b]) + ')');\n }\n cmdFound = this.parseCmd(a, b);\n if (!cmdFound) {\n cmdFound = this.parseMidrow(a, b);\n }\n if (!cmdFound) {\n cmdFound = this.parsePAC(a, b);\n }\n if (!cmdFound) {\n cmdFound = this.parseBackgroundAttributes(a, b);\n }\n if (!cmdFound) {\n charsFound = this.parseChars(a, b);\n if (charsFound) {\n if (this.currChNr && this.currChNr >= 0) {\n var channel = this.channels[this.currChNr - 1];\n channel.insertChars(charsFound);\n }\n else {\n logger.log('WARNING', 'No channel found yet. TEXT-MODE?');\n }\n }\n }\n if (cmdFound) {\n this.dataCounters.cmd += 2;\n }\n else if (charsFound) {\n this.dataCounters.char += 2;\n }\n else {\n this.dataCounters.other += 2;\n logger.log('WARNING', 'Couldn\\'t parse cleaned data ' + numArrayToHexArray([a, b]) +\n ' orig: ' + numArrayToHexArray([byteList[i], byteList[i + 1]]));\n }\n }\n };\n /**\n * Parse Command.\n * @returns {Boolean} Tells if a command was found\n */\n Cea608Parser.prototype.parseCmd = function (a, b) {\n var chNr = null;\n var cond1 = (a === 0x14 || a === 0x1C) && (b >= 0x20 && b <= 0x2F);\n var cond2 = (a === 0x17 || a === 0x1F) && (b >= 0x21 && b <= 0x23);\n if (!(cond1 || cond2)) {\n return false;\n }\n if (a === this.lastCmdA && b === this.lastCmdB) {\n this.lastCmdA = null;\n this.lastCmdB = null; // Repeated commands are dropped (once)\n logger.log('DEBUG', 'Repeated command (' + numArrayToHexArray([a, b]) + ') is dropped');\n return true;\n }\n if (a === 0x14 || a === 0x17) {\n chNr = 1;\n }\n else {\n chNr = 2;\n } // (a === 0x1C || a=== 0x1f)\n var channel = this.channels[chNr - 1];\n if (a === 0x14 || a === 0x1C) {\n if (b === 0x20) {\n channel.ccRCL();\n }\n else if (b === 0x21) {\n channel.ccBS();\n }\n else if (b === 0x22) {\n channel.ccAOF();\n }\n else if (b === 0x23) {\n channel.ccAON();\n }\n else if (b === 0x24) {\n channel.ccDER();\n }\n else if (b === 0x25) {\n channel.ccRU(2);\n }\n else if (b === 0x26) {\n channel.ccRU(3);\n }\n else if (b === 0x27) {\n channel.ccRU(4);\n }\n else if (b === 0x28) {\n channel.ccFON();\n }\n else if (b === 0x29) {\n channel.ccRDC();\n }\n else if (b === 0x2A) {\n channel.ccTR();\n }\n else if (b === 0x2B) {\n channel.ccRTD();\n }\n else if (b === 0x2C) {\n channel.ccEDM();\n }\n else if (b === 0x2D) {\n channel.ccCR();\n }\n else if (b === 0x2E) {\n channel.ccENM();\n }\n else if (b === 0x2F) {\n channel.ccEOC();\n }\n }\n else { // a == 0x17 || a == 0x1F\n channel.ccTO(b - 0x20);\n }\n this.lastCmdA = a;\n this.lastCmdB = b;\n this.currChNr = chNr;\n return true;\n };\n /**\n * Parse midrow styling command\n * @returns {Boolean}\n */\n Cea608Parser.prototype.parseMidrow = function (a, b) {\n var chNr = null;\n if (((a === 0x11) || (a === 0x19)) && b >= 0x20 && b <= 0x2f) {\n if (a === 0x11) {\n chNr = 1;\n }\n else {\n chNr = 2;\n }\n if (chNr !== this.currChNr) {\n logger.log('ERROR', 'Mismatch channel in midrow parsing');\n return false;\n }\n var channel = this.channels[chNr - 1];\n channel.ccMIDROW(b);\n logger.log('DEBUG', 'MIDROW (' + numArrayToHexArray([a, b]) + ')');\n return true;\n }\n return false;\n };\n /**\n * Parse Preable Access Codes (Table 53).\n * @returns {Boolean} Tells if PAC found\n */\n Cea608Parser.prototype.parsePAC = function (a, b) {\n var chNr = null;\n var row = null;\n var case1 = ((a >= 0x11 && a <= 0x17) || (a >= 0x19 && a <= 0x1F)) && (b >= 0x40 && b <= 0x7F);\n var case2 = (a === 0x10 || a === 0x18) && (b >= 0x40 && b <= 0x5F);\n if (!(case1 || case2)) {\n return false;\n }\n if (a === this.lastCmdA && b === this.lastCmdB) {\n this.lastCmdA = null;\n this.lastCmdB = null;\n return true; // Repeated commands are dropped (once)\n }\n chNr = (a <= 0x17) ? 1 : 2;\n if (b >= 0x40 && b <= 0x5F) {\n row = (chNr === 1) ? rowsLowCh1[a] : rowsLowCh2[a];\n }\n else { // 0x60 <= b <= 0x7F\n row = (chNr === 1) ? rowsHighCh1[a] : rowsHighCh2[a];\n }\n var pacData = this.interpretPAC(row, b);\n var channel = this.channels[chNr - 1];\n channel.setPAC(pacData);\n this.lastCmdA = a;\n this.lastCmdB = b;\n this.currChNr = chNr;\n return true;\n };\n /**\n * Interpret the second byte of the pac, and return the information.\n * @returns {Object} pacData with style parameters.\n */\n Cea608Parser.prototype.interpretPAC = function (row, byte) {\n var pacIndex = byte;\n var pacData = { color: null, italics: false, indent: null, underline: false, row: row };\n if (byte > 0x5F) {\n pacIndex = byte - 0x60;\n }\n else {\n pacIndex = byte - 0x40;\n }\n pacData.underline = (pacIndex & 1) === 1;\n if (pacIndex <= 0xd) {\n pacData.color = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta', 'white'][Math.floor(pacIndex / 2)];\n }\n else if (pacIndex <= 0xf) {\n pacData.italics = true;\n pacData.color = 'white';\n }\n else {\n pacData.indent = (Math.floor((pacIndex - 0x10) / 2)) * 4;\n }\n return pacData; // Note that row has zero offset. The spec uses 1.\n };\n /**\n * Parse characters.\n * @returns An array with 1 to 2 codes corresponding to chars, if found. null otherwise.\n */\n Cea608Parser.prototype.parseChars = function (a, b) {\n var channelNr = null, charCodes = null, charCode1 = null;\n if (a >= 0x19) {\n channelNr = 2;\n charCode1 = a - 8;\n }\n else {\n channelNr = 1;\n charCode1 = a;\n }\n if (charCode1 >= 0x11 && charCode1 <= 0x13) {\n // Special character\n var oneCode = b;\n if (charCode1 === 0x11) {\n oneCode = b + 0x50;\n }\n else if (charCode1 === 0x12) {\n oneCode = b + 0x70;\n }\n else {\n oneCode = b + 0x90;\n }\n logger.log('INFO', 'Special char \\'' + getCharForByte(oneCode) + '\\' in channel ' + channelNr);\n charCodes = [oneCode];\n }\n else if (a >= 0x20 && a <= 0x7f) {\n charCodes = (b === 0) ? [a] : [a, b];\n }\n if (charCodes) {\n var hexCodes = numArrayToHexArray(charCodes);\n logger.log('DEBUG', 'Char codes = ' + hexCodes.join(','));\n this.lastCmdA = null;\n this.lastCmdB = null;\n }\n return charCodes;\n };\n /**\n * Parse extended background attributes as well as new foreground color black.\n * @returns{Boolean} Tells if background attributes are found\n */\n Cea608Parser.prototype.parseBackgroundAttributes = function (a, b) {\n var bkgData, index, chNr, channel;\n var case1 = (a === 0x10 || a === 0x18) && (b >= 0x20 && b <= 0x2f);\n var case2 = (a === 0x17 || a === 0x1f) && (b >= 0x2d && b <= 0x2f);\n if (!(case1 || case2)) {\n return false;\n }\n bkgData = {};\n if (a === 0x10 || a === 0x18) {\n index = Math.floor((b - 0x20) / 2);\n bkgData.background = backgroundColors[index];\n if (b % 2 === 1) {\n bkgData.background = bkgData.background + '_semi';\n }\n }\n else if (b === 0x2d) {\n bkgData.background = 'transparent';\n }\n else {\n bkgData.foreground = 'black';\n if (b === 0x2f) {\n bkgData.underline = true;\n }\n }\n chNr = (a < 0x18) ? 1 : 2;\n channel = this.channels[chNr - 1];\n channel.setBkgData(bkgData);\n this.lastCmdA = null;\n this.lastCmdB = null;\n return true;\n };\n /**\n * Reset state of parser and its channels.\n */\n Cea608Parser.prototype.reset = function () {\n for (var i = 0; i < this.channels.length; i++) {\n if (this.channels[i]) {\n this.channels[i].reset();\n }\n }\n this.lastCmdA = null;\n this.lastCmdB = null;\n };\n /**\n * Trigger the generation of a cue, and the start of a new one if displayScreens are not empty.\n */\n Cea608Parser.prototype.cueSplitAtTime = function (t) {\n for (var i = 0; i < this.channels.length; i++) {\n if (this.channels[i]) {\n this.channels[i].cueSplitAtTime(t);\n }\n }\n };\n return Cea608Parser;\n}());\nexports.default = Cea608Parser;\n\n\n/***/ }),\n\n/***/ \"./src/utils/codecs.js\":\n/*!*****************************!*\\\n !*** ./src/utils/codecs.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// from http://mp4ra.org/codecs.html\nvar sampleEntryCodesISO = {\n audio: {\n 'a3ds': true,\n 'ac-3': true,\n 'ac-4': true,\n 'alac': true,\n 'alaw': true,\n 'dra1': true,\n 'dts+': true,\n 'dts-': true,\n 'dtsc': true,\n 'dtse': true,\n 'dtsh': true,\n 'ec-3': true,\n 'enca': true,\n 'g719': true,\n 'g726': true,\n 'm4ae': true,\n 'mha1': true,\n 'mha2': true,\n 'mhm1': true,\n 'mhm2': true,\n 'mlpa': true,\n 'mp4a': true,\n 'raw ': true,\n 'Opus': true,\n 'samr': true,\n 'sawb': true,\n 'sawp': true,\n 'sevc': true,\n 'sqcp': true,\n 'ssmv': true,\n 'twos': true,\n 'ulaw': true\n },\n video: {\n 'avc1': true,\n 'avc2': true,\n 'avc3': true,\n 'avc4': true,\n 'avcp': true,\n 'drac': true,\n 'dvav': true,\n 'dvhe': true,\n 'encv': true,\n 'hev1': true,\n 'hvc1': true,\n 'mjp2': true,\n 'mp4v': true,\n 'mvc1': true,\n 'mvc2': true,\n 'mvc3': true,\n 'mvc4': true,\n 'resv': true,\n 'rv60': true,\n 's263': true,\n 'svc1': true,\n 'svc2': true,\n 'vc-1': true,\n 'vp08': true,\n 'vp09': true\n }\n};\nfunction isCodecType(codec, type) {\n var typeCodes = sampleEntryCodesISO[type];\n return !!typeCodes && typeCodes[codec.slice(0, 4)] === true;\n}\nexports.isCodecType = isCodecType;\nfunction isCodecSupportedInMp4(codec, type) {\n return window.MediaSource.isTypeSupported((type || 'video') + \"/mp4;codecs=\\\"\" + codec + \"\\\"\");\n}\nexports.isCodecSupportedInMp4 = isCodecSupportedInMp4;\n\n\n/***/ }),\n\n/***/ \"./src/utils/cues.js\":\n/*!***************************!*\\\n !*** ./src/utils/cues.js ***!\n \\***************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar vttparser_1 = __webpack_require__(/*! ./vttparser */ \"./src/utils/vttparser.js\");\nfunction newCue(track, startTime, endTime, captionScreen) {\n var row;\n var cue;\n var indenting;\n var indent;\n var text;\n var VTTCue = window.VTTCue || window.TextTrackCue;\n for (var r = 0; r < captionScreen.rows.length; r++) {\n row = captionScreen.rows[r];\n indenting = true;\n indent = 0;\n text = '';\n if (!row.isEmpty()) {\n for (var c = 0; c < row.chars.length; c++) {\n if (row.chars[c].uchar.match(/\\s/) && indenting) {\n indent++;\n }\n else {\n text += row.chars[c].uchar;\n indenting = false;\n }\n }\n // To be used for cleaning-up orphaned roll-up captions\n row.cueStartTime = startTime;\n // Give a slight bump to the endTime if it's equal to startTime to avoid a SyntaxError in IE\n if (startTime === endTime) {\n endTime += 0.0001;\n }\n cue = new VTTCue(startTime, endTime, vttparser_1.fixLineBreaks(text.trim()));\n if (indent >= 16) {\n indent--;\n }\n else {\n indent++;\n }\n // VTTCue.line get's flakey when using controls, so let's now include line 13&14\n // also, drop line 1 since it's to close to the top\n if (navigator.userAgent.match(/Firefox\\//)) {\n cue.line = r + 1;\n }\n else {\n cue.line = (r > 7 ? r - 2 : r + 1);\n }\n cue.align = 'left';\n // Clamp the position between 0 and 100 - if out of these bounds, Firefox throws an exception and captions break\n cue.position = Math.max(0, Math.min(100, 100 * (indent / 32) + (navigator.userAgent.match(/Firefox\\//) ? 50 : 0)));\n track.addCue(cue);\n }\n }\n}\nexports.newCue = newCue;\n\n\n/***/ }),\n\n/***/ \"./src/utils/discontinuities.js\":\n/*!**************************************!*\\\n !*** ./src/utils/discontinuities.js ***!\n \\**************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ./binary-search */ \"./src/utils/binary-search.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nfunction findFirstFragWithCC(fragments, cc) {\n var firstFrag = null;\n for (var i = 0; i < fragments.length; i += 1) {\n var currentFrag = fragments[i];\n if (currentFrag && currentFrag.cc === cc) {\n firstFrag = currentFrag;\n break;\n }\n }\n return firstFrag;\n}\nexports.findFirstFragWithCC = findFirstFragWithCC;\nfunction findFragWithCC(fragments, CC) {\n return binary_search_1.default.search(fragments, function (candidate) {\n if (candidate.cc < CC) {\n return 1;\n }\n else if (candidate.cc > CC) {\n return -1;\n }\n else {\n return 0;\n }\n });\n}\nexports.findFragWithCC = findFragWithCC;\nfunction shouldAlignOnDiscontinuities(lastFrag, lastLevel, details) {\n var shouldAlign = false;\n if (lastLevel && lastLevel.details && details) {\n if (details.endCC > details.startCC || (lastFrag && lastFrag.cc < details.startCC)) {\n shouldAlign = true;\n }\n }\n return shouldAlign;\n}\nexports.shouldAlignOnDiscontinuities = shouldAlignOnDiscontinuities;\n// Find the first frag in the previous level which matches the CC of the first frag of the new level\nfunction findDiscontinuousReferenceFrag(prevDetails, curDetails) {\n var prevFrags = prevDetails.fragments;\n var curFrags = curDetails.fragments;\n if (!curFrags.length || !prevFrags.length) {\n logger_1.logger.log('No fragments to align');\n return;\n }\n var prevStartFrag = findFirstFragWithCC(prevFrags, curFrags[0].cc);\n if (!prevStartFrag || (prevStartFrag && !prevStartFrag.startPTS)) {\n logger_1.logger.log('No frag in previous level to align on');\n return;\n }\n return prevStartFrag;\n}\nexports.findDiscontinuousReferenceFrag = findDiscontinuousReferenceFrag;\nfunction adjustPts(sliding, details) {\n details.fragments.forEach(function (frag) {\n if (frag) {\n var start = frag.start + sliding;\n frag.start = frag.startPTS = start;\n frag.endPTS = start + frag.duration;\n }\n });\n details.PTSKnown = true;\n}\nexports.adjustPts = adjustPts;\n/**\n * Using the parameters of the last level, this function computes PTS' of the new fragments so that they form a\n * contiguous stream with the last fragments.\n * The PTS of a fragment lets Hls.js know where it fits into a stream - by knowing every PTS, we know which fragment to\n * download at any given time. PTS is normally computed when the fragment is demuxed, so taking this step saves us time\n * and an extra download.\n * @param lastFrag\n * @param lastLevel\n * @param details\n */\nfunction alignStream(lastFrag, lastLevel, details) {\n alignDiscontinuities(lastFrag, details, lastLevel);\n if (!details.PTSKnown && lastLevel) {\n // If the PTS wasn't figured out via discontinuity sequence that means there was no CC increase within the level.\n // Aligning via Program Date Time should therefore be reliable, since PDT should be the same within the same\n // discontinuity sequence.\n alignPDT(details, lastLevel.details);\n }\n}\nexports.alignStream = alignStream;\n/**\n * Computes the PTS if a new level's fragments using the PTS of a fragment in the last level which shares the same\n * discontinuity sequence.\n * @param lastLevel - The details of the last loaded level\n * @param details - The details of the new level\n */\nfunction alignDiscontinuities(lastFrag, details, lastLevel) {\n if (shouldAlignOnDiscontinuities(lastFrag, lastLevel, details)) {\n var referenceFrag = findDiscontinuousReferenceFrag(lastLevel.details, details);\n if (referenceFrag) {\n logger_1.logger.log('Adjusting PTS using last level due to CC increase within current level');\n adjustPts(referenceFrag.start, details);\n }\n }\n}\nexports.alignDiscontinuities = alignDiscontinuities;\n/**\n * Computes the PTS of a new level's fragments using the difference in Program Date Time from the last level.\n * @param details - The details of the new level\n * @param lastDetails - The details of the last loaded level\n */\nfunction alignPDT(details, lastDetails) {\n if (lastDetails && lastDetails.fragments.length) {\n if (!details.hasProgramDateTime || !lastDetails.hasProgramDateTime) {\n return;\n }\n // if last level sliding is 1000 and its first frag PROGRAM-DATE-TIME is 2017-08-20 1:10:00 AM\n // and if new details first frag PROGRAM DATE-TIME is 2017-08-20 1:10:08 AM\n // then we can deduce that playlist B sliding is 1000+8 = 1008s\n var lastPDT = lastDetails.fragments[0].programDateTime;\n var newPDT = details.fragments[0].programDateTime;\n // date diff is in ms. frag.start is in seconds\n var sliding = (newPDT - lastPDT) / 1000 + lastDetails.fragments[0].start;\n if (Number.isFinite(sliding)) {\n logger_1.logger.log(\"adjusting PTS using programDateTime delta, sliding:\" + sliding.toFixed(3));\n adjustPts(sliding, details);\n }\n }\n}\nexports.alignPDT = alignPDT;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/utils/ewma-bandwidth-estimator.js\":\n/*!***********************************************!*\\\n !*** ./src/utils/ewma-bandwidth-estimator.js ***!\n \\***********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * EWMA Bandwidth Estimator\n * - heavily inspired from shaka-player\n * Tracks bandwidth samples and estimates available bandwidth.\n * Based on the minimum of two exponentially-weighted moving averages with\n * different half-lives.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ewma_1 = __webpack_require__(/*! ../utils/ewma */ \"./src/utils/ewma.js\");\nvar EwmaBandWidthEstimator = /** @class */ (function () {\n function EwmaBandWidthEstimator(hls, slow, fast, defaultEstimate) {\n this.hls = hls;\n this.defaultEstimate_ = defaultEstimate;\n this.minWeight_ = 0.001;\n this.minDelayMs_ = 50;\n this.slow_ = new ewma_1.default(slow);\n this.fast_ = new ewma_1.default(fast);\n }\n EwmaBandWidthEstimator.prototype.sample = function (durationMs, numBytes) {\n durationMs = Math.max(durationMs, this.minDelayMs_);\n var bandwidth = 8000 * numBytes / durationMs, \n // console.log('instant bw:'+ Math.round(bandwidth));\n // we weight sample using loading duration....\n weight = durationMs / 1000;\n this.fast_.sample(weight, bandwidth);\n this.slow_.sample(weight, bandwidth);\n };\n EwmaBandWidthEstimator.prototype.canEstimate = function () {\n var fast = this.fast_;\n return (fast && fast.getTotalWeight() >= this.minWeight_);\n };\n EwmaBandWidthEstimator.prototype.getEstimate = function () {\n if (this.canEstimate()) {\n // console.log('slow estimate:'+ Math.round(this.slow_.getEstimate()));\n // console.log('fast estimate:'+ Math.round(this.fast_.getEstimate()));\n // Take the minimum of these two estimates. This should have the effect of\n // adapting down quickly, but up more slowly.\n return Math.min(this.fast_.getEstimate(), this.slow_.getEstimate());\n }\n else {\n return this.defaultEstimate_;\n }\n };\n EwmaBandWidthEstimator.prototype.destroy = function () {\n };\n return EwmaBandWidthEstimator;\n}());\nexports.default = EwmaBandWidthEstimator;\n\n\n/***/ }),\n\n/***/ \"./src/utils/ewma.js\":\n/*!***************************!*\\\n !*** ./src/utils/ewma.js ***!\n \\***************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * compute an Exponential Weighted moving average\n * - https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average\n * - heavily inspired from shaka-player\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EWMA = /** @class */ (function () {\n // About half of the estimated value will be from the last |halfLife| samples by weight.\n function EWMA(halfLife) {\n // Larger values of alpha expire historical data more slowly.\n this.alpha_ = halfLife ? Math.exp(Math.log(0.5) / halfLife) : 0;\n this.estimate_ = 0;\n this.totalWeight_ = 0;\n }\n EWMA.prototype.sample = function (weight, value) {\n var adjAlpha = Math.pow(this.alpha_, weight);\n this.estimate_ = value * (1 - adjAlpha) + adjAlpha * this.estimate_;\n this.totalWeight_ += weight;\n };\n EWMA.prototype.getTotalWeight = function () {\n return this.totalWeight_;\n };\n EWMA.prototype.getEstimate = function () {\n if (this.alpha_) {\n var zeroFactor = 1 - Math.pow(this.alpha_, this.totalWeight_);\n return this.estimate_ / zeroFactor;\n }\n else {\n return this.estimate_;\n }\n };\n return EWMA;\n}());\nexports.default = EWMA;\n\n\n/***/ }),\n\n/***/ \"./src/utils/get-self-scope.js\":\n/*!*************************************!*\\\n !*** ./src/utils/get-self-scope.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getSelfScope() {\n // see https://stackoverflow.com/a/11237259/589493\n if (typeof window === 'undefined') {\n /* eslint-disable-next-line no-undef */\n return self;\n }\n else {\n return window;\n }\n}\nexports.getSelfScope = getSelfScope;\n\n\n/***/ }),\n\n/***/ \"./src/utils/logger.js\":\n/*!*****************************!*\\\n !*** ./src/utils/logger.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar get_self_scope_1 = __webpack_require__(/*! ./get-self-scope */ \"./src/utils/get-self-scope.js\");\nfunction noop() { }\nvar fakeLogger = {\n trace: noop,\n debug: noop,\n log: noop,\n warn: noop,\n info: noop,\n error: noop\n};\nvar exportedLogger = fakeLogger;\n// let lastCallTime;\n// function formatMsgWithTimeInfo(type, msg) {\n// const now = Date.now();\n// const diff = lastCallTime ? '+' + (now - lastCallTime) : '0';\n// lastCallTime = now;\n// msg = (new Date(now)).toISOString() + ' | [' + type + '] > ' + msg + ' ( ' + diff + ' ms )';\n// return msg;\n// }\nfunction formatMsg(type, msg) {\n msg = '[' + type + '] > ' + msg;\n return msg;\n}\nvar global = get_self_scope_1.getSelfScope();\nfunction consolePrintFn(type) {\n var func = global.console[type];\n if (func) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (args[0]) {\n args[0] = formatMsg(type, args[0]);\n }\n func.apply(global.console, args);\n };\n }\n return noop;\n}\nfunction exportLoggerFunctions(debugConfig) {\n var functions = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n functions[_i - 1] = arguments[_i];\n }\n functions.forEach(function (type) {\n exportedLogger[type] = debugConfig[type] ? debugConfig[type].bind(debugConfig) : consolePrintFn(type);\n });\n}\nexports.enableLogs = function (debugConfig) {\n if (debugConfig === true || typeof debugConfig === 'object') {\n exportLoggerFunctions(debugConfig, \n // Remove out from list here to hard-disable a log-level\n // 'trace',\n 'debug', 'log', 'info', 'warn', 'error');\n // Some browsers don't allow to use bind on console object anyway\n // fallback to default if needed\n try {\n exportedLogger.log();\n }\n catch (e) {\n exportedLogger = fakeLogger;\n }\n }\n else {\n exportedLogger = fakeLogger;\n }\n};\nexports.logger = exportedLogger;\n\n\n/***/ }),\n\n/***/ \"./src/utils/mediakeys-helper.js\":\n/*!***************************************!*\\\n !*** ./src/utils/mediakeys-helper.js ***!\n \\***************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar requestMediaKeySystemAccess = (function () {\n if (typeof window !== 'undefined' && window.navigator && window.navigator.requestMediaKeySystemAccess) {\n return window.navigator.requestMediaKeySystemAccess.bind(window.navigator);\n }\n else {\n return null;\n }\n})();\nexports.requestMediaKeySystemAccess = requestMediaKeySystemAccess;\n\n\n/***/ }),\n\n/***/ \"./src/utils/mediasource-helper.js\":\n/*!*****************************************!*\\\n !*** ./src/utils/mediasource-helper.js ***!\n \\*****************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * MediaSource helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getMediaSource() {\n if (typeof window !== 'undefined') {\n return window.MediaSource || window.WebKitMediaSource;\n }\n}\nexports.getMediaSource = getMediaSource;\n\n\n/***/ }),\n\n/***/ \"./src/utils/output-filter.js\":\n/*!************************************!*\\\n !*** ./src/utils/output-filter.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar OutputFilter = /** @class */ (function () {\n function OutputFilter(timelineController, trackName) {\n this.timelineController = timelineController;\n this.trackName = trackName;\n this.startTime = null;\n this.endTime = null;\n this.screen = null;\n }\n OutputFilter.prototype.dispatchCue = function () {\n if (this.startTime === null) {\n return;\n }\n this.timelineController.addCues(this.trackName, this.startTime, this.endTime, this.screen);\n this.startTime = null;\n };\n OutputFilter.prototype.newCue = function (startTime, endTime, screen) {\n if (this.startTime === null || this.startTime > startTime) {\n this.startTime = startTime;\n }\n this.endTime = endTime;\n this.screen = screen;\n this.timelineController.createCaptionsTrack(this.trackName);\n };\n return OutputFilter;\n}());\nexports.default = OutputFilter;\n\n\n/***/ }),\n\n/***/ \"./src/utils/texttrack-utils.js\":\n/*!**************************************!*\\\n !*** ./src/utils/texttrack-utils.js ***!\n \\**************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction sendAddTrackEvent(track, videoEl) {\n var event = null;\n try {\n event = new window.Event('addtrack');\n }\n catch (err) {\n // for IE11\n event = document.createEvent('Event');\n event.initEvent('addtrack', false, false);\n }\n event.track = track;\n videoEl.dispatchEvent(event);\n}\nexports.sendAddTrackEvent = sendAddTrackEvent;\nfunction clearCurrentCues(track) {\n if (track && track.cues) {\n while (track.cues.length > 0) {\n track.removeCue(track.cues[0]);\n }\n }\n}\nexports.clearCurrentCues = clearCurrentCues;\n\n\n/***/ }),\n\n/***/ \"./src/utils/time-ranges.js\":\n/*!**********************************!*\\\n !*** ./src/utils/time-ranges.js ***!\n \\**********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * TimeRanges to string helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TimeRanges = {\n toString: function (r) {\n var log = '', len = r.length;\n for (var i = 0; i < len; i++) {\n log += '[' + r.start(i).toFixed(3) + ',' + r.end(i).toFixed(3) + ']';\n }\n return log;\n }\n};\nexports.default = TimeRanges;\n\n\n/***/ }),\n\n/***/ \"./src/utils/vttcue.js\":\n/*!*****************************!*\\\n !*** ./src/utils/vttcue.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * Copyright 2013 vtt.js Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function () {\n if (typeof window !== 'undefined' && window.VTTCue) {\n return window.VTTCue;\n }\n var autoKeyword = 'auto';\n var directionSetting = {\n '': true,\n lr: true,\n rl: true\n };\n var alignSetting = {\n start: true,\n middle: true,\n end: true,\n left: true,\n right: true\n };\n function findDirectionSetting(value) {\n if (typeof value !== 'string') {\n return false;\n }\n var dir = directionSetting[value.toLowerCase()];\n return dir ? value.toLowerCase() : false;\n }\n function findAlignSetting(value) {\n if (typeof value !== 'string') {\n return false;\n }\n var align = alignSetting[value.toLowerCase()];\n return align ? value.toLowerCase() : false;\n }\n function extend(obj) {\n var i = 1;\n for (; i < arguments.length; i++) {\n var cobj = arguments[i];\n for (var p in cobj) {\n obj[p] = cobj[p];\n }\n }\n return obj;\n }\n function VTTCue(startTime, endTime, text) {\n var cue = this;\n var isIE8 = (function () {\n if (typeof navigator === 'undefined') {\n return;\n }\n return (/MSIE\\s8\\.0/).test(navigator.userAgent);\n })();\n var baseObj = {};\n if (isIE8) {\n cue = document.createElement('custom');\n }\n else {\n baseObj.enumerable = true;\n }\n /**\n * Shim implementation specific properties. These properties are not in\n * the spec.\n */\n // Lets us know when the VTTCue's data has changed in such a way that we need\n // to recompute its display state. This lets us compute its display state\n // lazily.\n cue.hasBeenReset = false;\n /**\n * VTTCue and TextTrackCue properties\n * http://dev.w3.org/html5/webvtt/#vttcue-interface\n */\n var _id = '';\n var _pauseOnExit = false;\n var _startTime = startTime;\n var _endTime = endTime;\n var _text = text;\n var _region = null;\n var _vertical = '';\n var _snapToLines = true;\n var _line = 'auto';\n var _lineAlign = 'start';\n var _position = 50;\n var _positionAlign = 'middle';\n var _size = 50;\n var _align = 'middle';\n Object.defineProperty(cue, 'id', extend({}, baseObj, {\n get: function () {\n return _id;\n },\n set: function (value) {\n _id = '' + value;\n }\n }));\n Object.defineProperty(cue, 'pauseOnExit', extend({}, baseObj, {\n get: function () {\n return _pauseOnExit;\n },\n set: function (value) {\n _pauseOnExit = !!value;\n }\n }));\n Object.defineProperty(cue, 'startTime', extend({}, baseObj, {\n get: function () {\n return _startTime;\n },\n set: function (value) {\n if (typeof value !== 'number') {\n throw new TypeError('Start time must be set to a number.');\n }\n _startTime = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'endTime', extend({}, baseObj, {\n get: function () {\n return _endTime;\n },\n set: function (value) {\n if (typeof value !== 'number') {\n throw new TypeError('End time must be set to a number.');\n }\n _endTime = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'text', extend({}, baseObj, {\n get: function () {\n return _text;\n },\n set: function (value) {\n _text = '' + value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'region', extend({}, baseObj, {\n get: function () {\n return _region;\n },\n set: function (value) {\n _region = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'vertical', extend({}, baseObj, {\n get: function () {\n return _vertical;\n },\n set: function (value) {\n var setting = findDirectionSetting(value);\n // Have to check for false because the setting an be an empty string.\n if (setting === false) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _vertical = setting;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'snapToLines', extend({}, baseObj, {\n get: function () {\n return _snapToLines;\n },\n set: function (value) {\n _snapToLines = !!value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'line', extend({}, baseObj, {\n get: function () {\n return _line;\n },\n set: function (value) {\n if (typeof value !== 'number' && value !== autoKeyword) {\n throw new SyntaxError('An invalid number or illegal string was specified.');\n }\n _line = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'lineAlign', extend({}, baseObj, {\n get: function () {\n return _lineAlign;\n },\n set: function (value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _lineAlign = setting;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'position', extend({}, baseObj, {\n get: function () {\n return _position;\n },\n set: function (value) {\n if (value < 0 || value > 100) {\n throw new Error('Position must be between 0 and 100.');\n }\n _position = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'positionAlign', extend({}, baseObj, {\n get: function () {\n return _positionAlign;\n },\n set: function (value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _positionAlign = setting;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'size', extend({}, baseObj, {\n get: function () {\n return _size;\n },\n set: function (value) {\n if (value < 0 || value > 100) {\n throw new Error('Size must be between 0 and 100.');\n }\n _size = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'align', extend({}, baseObj, {\n get: function () {\n return _align;\n },\n set: function (value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _align = setting;\n this.hasBeenReset = true;\n }\n }));\n /**\n * Other <track> spec defined properties\n */\n // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-cue-display-state\n cue.displayState = undefined;\n if (isIE8) {\n return cue;\n }\n }\n /**\n * VTTCue methods\n */\n VTTCue.prototype.getCueAsHTML = function () {\n // Assume WebVTT.convertCueToDOMTree is on the global.\n var WebVTT = window.WebVTT;\n return WebVTT.convertCueToDOMTree(window, this.text);\n };\n return VTTCue;\n})();\n\n\n/***/ }),\n\n/***/ \"./src/utils/vttparser.js\":\n/*!********************************!*\\\n !*** ./src/utils/vttparser.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * Source: https://github.com/mozilla/vtt.js/blob/master/dist/vtt.js#L1716\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar vttcue_1 = __webpack_require__(/*! ./vttcue */ \"./src/utils/vttcue.js\");\nvar StringDecoder = function StringDecoder() {\n return {\n decode: function (data) {\n if (!data) {\n return '';\n }\n if (typeof data !== 'string') {\n throw new Error('Error - expected string data.');\n }\n return decodeURIComponent(encodeURIComponent(data));\n }\n };\n};\nfunction VTTParser() {\n this.window = window;\n this.state = 'INITIAL';\n this.buffer = '';\n this.decoder = new StringDecoder();\n this.regionList = [];\n}\n// Try to parse input as a time stamp.\nfunction parseTimeStamp(input) {\n function computeSeconds(h, m, s, f) {\n return (h | 0) * 3600 + (m | 0) * 60 + (s | 0) + (f | 0) / 1000;\n }\n var m = input.match(/^(\\d+):(\\d{2})(:\\d{2})?\\.(\\d{3})/);\n if (!m) {\n return null;\n }\n if (m[3]) {\n // Timestamp takes the form of [hours]:[minutes]:[seconds].[milliseconds]\n return computeSeconds(m[1], m[2], m[3].replace(':', ''), m[4]);\n }\n else if (m[1] > 59) {\n // Timestamp takes the form of [hours]:[minutes].[milliseconds]\n // First position is hours as it's over 59.\n return computeSeconds(m[1], m[2], 0, m[4]);\n }\n else {\n // Timestamp takes the form of [minutes]:[seconds].[milliseconds]\n return computeSeconds(0, m[1], m[2], m[4]);\n }\n}\n// A settings object holds key/value pairs and will ignore anything but the first\n// assignment to a specific key.\nfunction Settings() {\n this.values = Object.create(null);\n}\nSettings.prototype = {\n // Only accept the first assignment to any key.\n set: function (k, v) {\n if (!this.get(k) && v !== '') {\n this.values[k] = v;\n }\n },\n // Return the value for a key, or a default value.\n // If 'defaultKey' is passed then 'dflt' is assumed to be an object with\n // a number of possible default values as properties where 'defaultKey' is\n // the key of the property that will be chosen; otherwise it's assumed to be\n // a single value.\n get: function (k, dflt, defaultKey) {\n if (defaultKey) {\n return this.has(k) ? this.values[k] : dflt[defaultKey];\n }\n return this.has(k) ? this.values[k] : dflt;\n },\n // Check whether we have a value for a key.\n has: function (k) {\n return k in this.values;\n },\n // Accept a setting if its one of the given alternatives.\n alt: function (k, v, a) {\n for (var n = 0; n < a.length; ++n) {\n if (v === a[n]) {\n this.set(k, v);\n break;\n }\n }\n },\n // Accept a setting if its a valid (signed) integer.\n integer: function (k, v) {\n if (/^-?\\d+$/.test(v)) { // integer\n this.set(k, parseInt(v, 10));\n }\n },\n // Accept a setting if its a valid percentage.\n percent: function (k, v) {\n var m;\n if ((m = v.match(/^([\\d]{1,3})(\\.[\\d]*)?%$/))) {\n v = parseFloat(v);\n if (v >= 0 && v <= 100) {\n this.set(k, v);\n return true;\n }\n }\n return false;\n }\n};\n// Helper function to parse input into groups separated by 'groupDelim', and\n// interprete each group as a key/value pair separated by 'keyValueDelim'.\nfunction parseOptions(input, callback, keyValueDelim, groupDelim) {\n var groups = groupDelim ? input.split(groupDelim) : [input];\n for (var i in groups) {\n if (typeof groups[i] !== 'string') {\n continue;\n }\n var kv = groups[i].split(keyValueDelim);\n if (kv.length !== 2) {\n continue;\n }\n var k = kv[0];\n var v = kv[1];\n callback(k, v);\n }\n}\nvar defaults = new vttcue_1.default(0, 0, 0);\n// 'middle' was changed to 'center' in the spec: https://github.com/w3c/webvtt/pull/244\n// Safari doesn't yet support this change, but FF and Chrome do.\nvar center = defaults.align === 'middle' ? 'middle' : 'center';\nfunction parseCue(input, cue, regionList) {\n // Remember the original input if we need to throw an error.\n var oInput = input;\n // 4.1 WebVTT timestamp\n function consumeTimeStamp() {\n var ts = parseTimeStamp(input);\n if (ts === null) {\n throw new Error('Malformed timestamp: ' + oInput);\n }\n // Remove time stamp from input.\n input = input.replace(/^[^\\sa-zA-Z-]+/, '');\n return ts;\n }\n // 4.4.2 WebVTT cue settings\n function consumeCueSettings(input, cue) {\n var settings = new Settings();\n parseOptions(input, function (k, v) {\n switch (k) {\n case 'region':\n // Find the last region we parsed with the same region id.\n for (var i = regionList.length - 1; i >= 0; i--) {\n if (regionList[i].id === v) {\n settings.set(k, regionList[i].region);\n break;\n }\n }\n break;\n case 'vertical':\n settings.alt(k, v, ['rl', 'lr']);\n break;\n case 'line':\n var vals = v.split(','), vals0 = vals[0];\n settings.integer(k, vals0);\n if (settings.percent(k, vals0)) {\n settings.set('snapToLines', false);\n }\n settings.alt(k, vals0, ['auto']);\n if (vals.length === 2) {\n settings.alt('lineAlign', vals[1], ['start', center, 'end']);\n }\n break;\n case 'position':\n vals = v.split(',');\n settings.percent(k, vals[0]);\n if (vals.length === 2) {\n settings.alt('positionAlign', vals[1], ['start', center, 'end', 'line-left', 'line-right', 'auto']);\n }\n break;\n case 'size':\n settings.percent(k, v);\n break;\n case 'align':\n settings.alt(k, v, ['start', center, 'end', 'left', 'right']);\n break;\n }\n }, /:/, /\\s/);\n // Apply default values for any missing fields.\n cue.region = settings.get('region', null);\n cue.vertical = settings.get('vertical', '');\n var line = settings.get('line', 'auto');\n if (line === 'auto' && defaults.line === -1) {\n // set numeric line number for Safari\n line = -1;\n }\n cue.line = line;\n cue.lineAlign = settings.get('lineAlign', 'start');\n cue.snapToLines = settings.get('snapToLines', true);\n cue.size = settings.get('size', 100);\n cue.align = settings.get('align', center);\n var position = settings.get('position', 'auto');\n if (position === 'auto' && defaults.position === 50) {\n // set numeric position for Safari\n position = cue.align === 'start' || cue.align === 'left' ? 0 : cue.align === 'end' || cue.align === 'right' ? 100 : 50;\n }\n cue.position = position;\n }\n function skipWhitespace() {\n input = input.replace(/^\\s+/, '');\n }\n // 4.1 WebVTT cue timings.\n skipWhitespace();\n cue.startTime = consumeTimeStamp(); // (1) collect cue start time\n skipWhitespace();\n if (input.substr(0, 3) !== '-->') { // (3) next characters must match '-->'\n throw new Error('Malformed time stamp (time stamps must be separated by \\'-->\\'): ' +\n oInput);\n }\n input = input.substr(3);\n skipWhitespace();\n cue.endTime = consumeTimeStamp(); // (5) collect cue end time\n // 4.1 WebVTT cue settings list.\n skipWhitespace();\n consumeCueSettings(input, cue);\n}\nfunction fixLineBreaks(input) {\n return input.replace(/<br(?: \\/)?>/gi, '\\n');\n}\nexports.fixLineBreaks = fixLineBreaks;\nVTTParser.prototype = {\n parse: function (data) {\n var self = this;\n // If there is no data then we won't decode it, but will just try to parse\n // whatever is in buffer already. This may occur in circumstances, for\n // example when flush() is called.\n if (data) {\n // Try to decode the data that we received.\n self.buffer += self.decoder.decode(data, { stream: true });\n }\n function collectNextLine() {\n var buffer = self.buffer;\n var pos = 0;\n buffer = fixLineBreaks(buffer);\n while (pos < buffer.length && buffer[pos] !== '\\r' && buffer[pos] !== '\\n') {\n ++pos;\n }\n var line = buffer.substr(0, pos);\n // Advance the buffer early in case we fail below.\n if (buffer[pos] === '\\r') {\n ++pos;\n }\n if (buffer[pos] === '\\n') {\n ++pos;\n }\n self.buffer = buffer.substr(pos);\n return line;\n }\n // 3.2 WebVTT metadata header syntax\n function parseHeader(input) {\n parseOptions(input, function (k, v) {\n switch (k) {\n case 'Region':\n // 3.3 WebVTT region metadata header syntax\n // console.log('parse region', v);\n // parseRegion(v);\n break;\n }\n }, /:/);\n }\n // 5.1 WebVTT file parsing.\n try {\n var line = void 0;\n if (self.state === 'INITIAL') {\n // We can't start parsing until we have the first line.\n if (!/\\r\\n|\\n/.test(self.buffer)) {\n return this;\n }\n line = collectNextLine();\n // strip of UTF-8 BOM if any\n // https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8\n var m = line.match(/^()?WEBVTT([ \\t].*)?$/);\n if (!m || !m[0]) {\n throw new Error('Malformed WebVTT signature.');\n }\n self.state = 'HEADER';\n }\n var alreadyCollectedLine = false;\n while (self.buffer) {\n // We can't parse a line until we have the full line.\n if (!/\\r\\n|\\n/.test(self.buffer)) {\n return this;\n }\n if (!alreadyCollectedLine) {\n line = collectNextLine();\n }\n else {\n alreadyCollectedLine = false;\n }\n switch (self.state) {\n case 'HEADER':\n // 13-18 - Allow a header (metadata) under the WEBVTT line.\n if (/:/.test(line)) {\n parseHeader(line);\n }\n else if (!line) {\n // An empty line terminates the header and starts the body (cues).\n self.state = 'ID';\n }\n continue;\n case 'NOTE':\n // Ignore NOTE blocks.\n if (!line) {\n self.state = 'ID';\n }\n continue;\n case 'ID':\n // Check for the start of NOTE blocks.\n if (/^NOTE($|[ \\t])/.test(line)) {\n self.state = 'NOTE';\n break;\n }\n // 19-29 - Allow any number of line terminators, then initialize new cue values.\n if (!line) {\n continue;\n }\n self.cue = new vttcue_1.default(0, 0, '');\n self.state = 'CUE';\n // 30-39 - Check if self line contains an optional identifier or timing data.\n if (line.indexOf('-->') === -1) {\n self.cue.id = line;\n continue;\n }\n // Process line as start of a cue.\n /* falls through */\n case 'CUE':\n // 40 - Collect cue timings and settings.\n try {\n parseCue(line, self.cue, self.regionList);\n }\n catch (e) {\n // In case of an error ignore rest of the cue.\n self.cue = null;\n self.state = 'BADCUE';\n continue;\n }\n self.state = 'CUETEXT';\n continue;\n case 'CUETEXT':\n var hasSubstring = line.indexOf('-->') !== -1;\n // 34 - If we have an empty line then report the cue.\n // 35 - If we have the special substring '-->' then report the cue,\n // but do not collect the line as we need to process the current\n // one as a new cue.\n if (!line || hasSubstring && (alreadyCollectedLine = true)) {\n // We are done parsing self cue.\n if (self.oncue) {\n self.oncue(self.cue);\n }\n self.cue = null;\n self.state = 'ID';\n continue;\n }\n if (self.cue.text) {\n self.cue.text += '\\n';\n }\n self.cue.text += line;\n continue;\n case 'BADCUE': // BADCUE\n // 54-62 - Collect and discard the remaining cue.\n if (!line) {\n self.state = 'ID';\n }\n continue;\n }\n }\n }\n catch (e) {\n // If we are currently parsing a cue, report what we have.\n if (self.state === 'CUETEXT' && self.cue && self.oncue) {\n self.oncue(self.cue);\n }\n self.cue = null;\n // Enter BADWEBVTT state if header was not parsed correctly otherwise\n // another exception occurred so enter BADCUE state.\n self.state = self.state === 'INITIAL' ? 'BADWEBVTT' : 'BADCUE';\n }\n return this;\n },\n flush: function () {\n var self = this;\n try {\n // Finish decoding the stream.\n self.buffer += self.decoder.decode();\n // Synthesize the end of the current cue or region.\n if (self.cue || self.state === 'HEADER') {\n self.buffer += '\\n\\n';\n self.parse();\n }\n // If we've flushed, parsed, and we're still on the INITIAL state then\n // that means we don't have enough of the stream to parse the first\n // line.\n if (self.state === 'INITIAL') {\n throw new Error('Malformed WebVTT signature.');\n }\n }\n catch (e) {\n throw e;\n }\n if (self.onflush) {\n self.onflush();\n }\n return this;\n }\n};\nexports.default = VTTParser;\n\n\n/***/ }),\n\n/***/ \"./src/utils/webvtt-parser.js\":\n/*!************************************!*\\\n !*** ./src/utils/webvtt-parser.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar vttparser_1 = __webpack_require__(/*! ./vttparser */ \"./src/utils/vttparser.js\");\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\n// String.prototype.startsWith is not supported in IE11\nvar startsWith = function (inputString, searchString, position) {\n return inputString.substr(position || 0, searchString.length) === searchString;\n};\nvar cueString2millis = function (timeString) {\n var ts = parseInt(timeString.substr(-3));\n var secs = parseInt(timeString.substr(-6, 2));\n var mins = parseInt(timeString.substr(-9, 2));\n var hours = timeString.length > 9 ? parseInt(timeString.substr(0, timeString.indexOf(':'))) : 0;\n if (!Number.isFinite(ts) || !Number.isFinite(secs) || !Number.isFinite(mins) || !Number.isFinite(hours)) {\n return -1;\n }\n ts += 1000 * secs;\n ts += 60 * 1000 * mins;\n ts += 60 * 60 * 1000 * hours;\n return ts;\n};\n// From https://github.com/darkskyapp/string-hash\nvar hash = function (text) {\n var hash = 5381;\n var i = text.length;\n while (i) {\n hash = (hash * 33) ^ text.charCodeAt(--i);\n }\n return (hash >>> 0).toString();\n};\nvar calculateOffset = function (vttCCs, cc, presentationTime) {\n var currCC = vttCCs[cc];\n var prevCC = vttCCs[currCC.prevCC];\n // This is the first discontinuity or cues have been processed since the last discontinuity\n // Offset = current discontinuity time\n if (!prevCC || (!prevCC.new && currCC.new)) {\n vttCCs.ccOffset = vttCCs.presentationOffset = currCC.start;\n currCC.new = false;\n return;\n }\n // There have been discontinuities since cues were last parsed.\n // Offset = time elapsed\n while (prevCC && prevCC.new) {\n vttCCs.ccOffset += currCC.start - prevCC.start;\n currCC.new = false;\n currCC = prevCC;\n prevCC = vttCCs[currCC.prevCC];\n }\n vttCCs.presentationOffset = presentationTime;\n};\nvar WebVTTParser = {\n parse: function (vttByteArray, syncPTS, vttCCs, cc, callBack, errorCallBack) {\n // Convert byteArray into string, replacing any somewhat exotic linefeeds with \"\\n\", then split on that character.\n var re = /\\r\\n|\\n\\r|\\n|\\r/g;\n // Uint8Array.prototype.reduce is not implemented in IE11\n var vttLines = id3_1.utf8ArrayToStr(new Uint8Array(vttByteArray)).trim().replace(re, '\\n').split('\\n');\n var cueTime = '00:00.000';\n var mpegTs = 0;\n var localTime = 0;\n var presentationTime = 0;\n var cues = [];\n var parsingError;\n var inHeader = true;\n // let VTTCue = VTTCue || window.TextTrackCue;\n // Create parser object using VTTCue with TextTrackCue fallback on certain browsers.\n var parser = new vttparser_1.default();\n parser.oncue = function (cue) {\n // Adjust cue timing; clamp cues to start no earlier than - and drop cues that don't end after - 0 on timeline.\n var currCC = vttCCs[cc];\n var cueOffset = vttCCs.ccOffset;\n // Update offsets for new discontinuities\n if (currCC && currCC.new) {\n if (localTime !== undefined) {\n // When local time is provided, offset = discontinuity start time - local time\n cueOffset = vttCCs.ccOffset = currCC.start;\n }\n else {\n calculateOffset(vttCCs, cc, presentationTime);\n }\n }\n if (presentationTime) {\n // If we have MPEGTS, offset = presentation time + discontinuity offset\n cueOffset = presentationTime - vttCCs.presentationOffset;\n }\n cue.startTime += cueOffset - localTime;\n cue.endTime += cueOffset - localTime;\n // Create a unique hash id for a cue based on start/end times and text.\n // This helps timeline-controller to avoid showing repeated captions.\n cue.id = hash(cue.startTime.toString()) + hash(cue.endTime.toString()) + hash(cue.text);\n // Fix encoding of special characters. TODO: Test with all sorts of weird characters.\n cue.text = decodeURIComponent(encodeURIComponent(cue.text));\n if (cue.endTime > 0) {\n cues.push(cue);\n }\n };\n parser.onparsingerror = function (e) {\n parsingError = e;\n };\n parser.onflush = function () {\n if (parsingError && errorCallBack) {\n errorCallBack(parsingError);\n return;\n }\n callBack(cues);\n };\n // Go through contents line by line.\n vttLines.forEach(function (line) {\n if (inHeader) {\n // Look for X-TIMESTAMP-MAP in header.\n if (startsWith(line, 'X-TIMESTAMP-MAP=')) {\n // Once found, no more are allowed anyway, so stop searching.\n inHeader = false;\n // Extract LOCAL and MPEGTS.\n line.substr(16).split(',').forEach(function (timestamp) {\n if (startsWith(timestamp, 'LOCAL:')) {\n cueTime = timestamp.substr(6);\n }\n else if (startsWith(timestamp, 'MPEGTS:')) {\n mpegTs = parseInt(timestamp.substr(7));\n }\n });\n try {\n // Calculate subtitle offset in milliseconds.\n if (syncPTS + ((vttCCs[cc].start * 90000) || 0) < 0) {\n syncPTS += 8589934592;\n }\n // Adjust MPEGTS by sync PTS.\n mpegTs -= syncPTS;\n // Convert cue time to seconds\n localTime = cueString2millis(cueTime) / 1000;\n // Convert MPEGTS to seconds from 90kHz.\n presentationTime = mpegTs / 90000;\n if (localTime === -1) {\n parsingError = new Error(\"Malformed X-TIMESTAMP-MAP: \" + line);\n }\n }\n catch (e) {\n parsingError = new Error(\"Malformed X-TIMESTAMP-MAP: \" + line);\n }\n // Return without parsing X-TIMESTAMP-MAP line.\n return;\n }\n else if (line === '') {\n inHeader = false;\n }\n }\n // Parse line by default.\n parser.parse(line + '\\n');\n });\n parser.flush();\n }\n};\nexports.default = WebVTTParser;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/utils/xhr-loader.js\":\n/*!*********************************!*\\\n !*** ./src/utils/xhr-loader.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * XHR based logger\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar performance = window.performance, XMLHttpRequest = window.XMLHttpRequest;\nvar XhrLoader = /** @class */ (function () {\n function XhrLoader(config) {\n if (config && config.xhrSetup) {\n this.xhrSetup = config.xhrSetup;\n }\n }\n XhrLoader.prototype.destroy = function () {\n this.abort();\n this.loader = null;\n };\n XhrLoader.prototype.abort = function () {\n var loader = this.loader;\n if (loader && loader.readyState !== 4) {\n this.stats.aborted = true;\n loader.abort();\n }\n window.clearTimeout(this.requestTimeout);\n this.requestTimeout = null;\n window.clearTimeout(this.retryTimeout);\n this.retryTimeout = null;\n };\n XhrLoader.prototype.load = function (context, config, callbacks) {\n this.context = context;\n this.config = config;\n this.callbacks = callbacks;\n this.stats = { trequest: performance.now(), retry: 0 };\n this.retryDelay = config.retryDelay;\n this.loadInternal();\n };\n XhrLoader.prototype.loadInternal = function () {\n var xhr, context = this.context;\n xhr = this.loader = new XMLHttpRequest();\n var stats = this.stats;\n stats.tfirst = 0;\n stats.loaded = 0;\n var xhrSetup = this.xhrSetup;\n try {\n if (xhrSetup) {\n try {\n xhrSetup(xhr, context.url);\n }\n catch (e) {\n // fix xhrSetup: (xhr, url) => {xhr.setRequestHeader(\"Content-Language\", \"test\");}\n // not working, as xhr.setRequestHeader expects xhr.readyState === OPEN\n xhr.open('GET', context.url, true);\n xhrSetup(xhr, context.url);\n }\n }\n if (!xhr.readyState) {\n xhr.open('GET', context.url, true);\n }\n }\n catch (e) {\n // IE11 throws an exception on xhr.open if attempting to access an HTTP resource over HTTPS\n this.callbacks.onError({ code: xhr.status, text: e.message }, context, xhr);\n return;\n }\n if (context.rangeEnd) {\n xhr.setRequestHeader('Range', 'bytes=' + context.rangeStart + '-' + (context.rangeEnd - 1));\n }\n xhr.onreadystatechange = this.readystatechange.bind(this);\n xhr.onprogress = this.loadprogress.bind(this);\n xhr.responseType = context.responseType;\n // setup timeout before we perform request\n this.requestTimeout = window.setTimeout(this.loadtimeout.bind(this), this.config.timeout);\n xhr.send();\n };\n XhrLoader.prototype.readystatechange = function (event) {\n var xhr = event.currentTarget, readyState = xhr.readyState, stats = this.stats, context = this.context, config = this.config;\n // don't proceed if xhr has been aborted\n if (stats.aborted) {\n return;\n }\n // >= HEADERS_RECEIVED\n if (readyState >= 2) {\n // clear xhr timeout and rearm it if readyState less than 4\n window.clearTimeout(this.requestTimeout);\n if (stats.tfirst === 0) {\n stats.tfirst = Math.max(performance.now(), stats.trequest);\n }\n if (readyState === 4) {\n var status_1 = xhr.status;\n // http status between 200 to 299 are all successful\n if (status_1 >= 200 && status_1 < 300) {\n stats.tload = Math.max(stats.tfirst, performance.now());\n var data = void 0, len = void 0;\n if (context.responseType === 'arraybuffer') {\n data = xhr.response;\n len = data.byteLength;\n }\n else {\n data = xhr.responseText;\n len = data.length;\n }\n stats.loaded = stats.total = len;\n var response = { url: xhr.responseURL, data: data };\n this.callbacks.onSuccess(response, stats, context, xhr);\n }\n else {\n // if max nb of retries reached or if http status between 400 and 499 (such error cannot be recovered, retrying is useless), return error\n if (stats.retry >= config.maxRetry || (status_1 >= 400 && status_1 < 499)) {\n logger_1.logger.error(status_1 + \" while loading \" + context.url);\n this.callbacks.onError({ code: status_1, text: xhr.statusText }, context, xhr);\n }\n else {\n // retry\n logger_1.logger.warn(status_1 + \" while loading \" + context.url + \", retrying in \" + this.retryDelay + \"...\");\n // aborts and resets internal state\n this.destroy();\n // schedule retry\n this.retryTimeout = window.setTimeout(this.loadInternal.bind(this), this.retryDelay);\n // set exponential backoff\n this.retryDelay = Math.min(2 * this.retryDelay, config.maxRetryDelay);\n stats.retry++;\n }\n }\n }\n else {\n // readyState >= 2 AND readyState !==4 (readyState = HEADERS_RECEIVED || LOADING) rearm timeout as xhr not finished yet\n this.requestTimeout = window.setTimeout(this.loadtimeout.bind(this), config.timeout);\n }\n }\n };\n XhrLoader.prototype.loadtimeout = function () {\n logger_1.logger.warn(\"timeout while loading \" + this.context.url);\n this.callbacks.onTimeout(this.stats, this.context, null);\n };\n XhrLoader.prototype.loadprogress = function (event) {\n var xhr = event.currentTarget, stats = this.stats;\n stats.loaded = event.loaded;\n if (event.lengthComputable) {\n stats.total = event.total;\n }\n var onProgress = this.callbacks.onProgress;\n if (onProgress) {\n // third arg is to provide on progress data\n onProgress(stats, this.context, null, xhr);\n }\n };\n return XhrLoader;\n}());\nexports.default = XhrLoader;\n\n\n/***/ })\n\n/******/ })[\"default\"];\n});\n//# sourceMappingURL=hls.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/node-libs-browser/node_modules/process/browser.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/node-libs-browser/node_modules/process/browser.js ***!\n \\************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n/***/ }),\n\n/***/ \"./node_modules/style-loader/lib/addStyles.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/style-loader/lib/addStyles.js ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\nvar stylesInDom = {};\n\nvar\tmemoize = function (fn) {\n\tvar memo;\n\n\treturn function () {\n\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\treturn memo;\n\t};\n};\n\nvar isOldIE = memoize(function () {\n\t// Test for IE <= 9 as proposed by Browserhacks\n\t// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n\t// Tests for existence of standard globals is to allow style-loader\n\t// to operate correctly into non-standard environments\n\t// @see https://github.com/webpack-contrib/style-loader/issues/177\n\treturn window && document && document.all && !window.atob;\n});\n\nvar getTarget = function (target) {\n return document.querySelector(target);\n};\n\nvar getElement = (function (fn) {\n\tvar memo = {};\n\n\treturn function(target) {\n // If passing function in options, then use it for resolve \"head\" element.\n // Useful for Shadow Root style i.e\n // {\n // insertInto: function () { return document.querySelector(\"#foo\").shadowRoot }\n // }\n if (typeof target === 'function') {\n return target();\n }\n if (typeof memo[target] === \"undefined\") {\n\t\t\tvar styleTarget = getTarget.call(this, target);\n\t\t\t// Special case to return head of iframe instead of iframe itself\n\t\t\tif (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n\t\t\t\ttry {\n\t\t\t\t\t// This will throw an exception if access to iframe is blocked\n\t\t\t\t\t// due to cross-origin restrictions\n\t\t\t\t\tstyleTarget = styleTarget.contentDocument.head;\n\t\t\t\t} catch(e) {\n\t\t\t\t\tstyleTarget = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tmemo[target] = styleTarget;\n\t\t}\n\t\treturn memo[target]\n\t};\n})();\n\nvar singleton = null;\nvar\tsingletonCounter = 0;\nvar\tstylesInsertedAtTop = [];\n\nvar\tfixUrls = __webpack_require__(/*! ./urls */ \"./node_modules/style-loader/lib/urls.js\");\n\nmodule.exports = function(list, options) {\n\tif (typeof DEBUG !== \"undefined\" && DEBUG) {\n\t\tif (typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t}\n\n\toptions = options || {};\n\n\toptions.attrs = typeof options.attrs === \"object\" ? options.attrs : {};\n\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n\t// tags it will allow on a page\n\tif (!options.singleton && typeof options.singleton !== \"boolean\") options.singleton = isOldIE();\n\n\t// By default, add <style> tags to the <head> element\n if (!options.insertInto) options.insertInto = \"head\";\n\n\t// By default, add <style> tags to the bottom of the target\n\tif (!options.insertAt) options.insertAt = \"bottom\";\n\n\tvar styles = listToStyles(list, options);\n\n\taddStylesToDom(styles, options);\n\n\treturn function update (newList) {\n\t\tvar mayRemove = [];\n\n\t\tfor (var i = 0; i < styles.length; i++) {\n\t\t\tvar item = styles[i];\n\t\t\tvar domStyle = stylesInDom[item.id];\n\n\t\t\tdomStyle.refs--;\n\t\t\tmayRemove.push(domStyle);\n\t\t}\n\n\t\tif(newList) {\n\t\t\tvar newStyles = listToStyles(newList, options);\n\t\t\taddStylesToDom(newStyles, options);\n\t\t}\n\n\t\tfor (var i = 0; i < mayRemove.length; i++) {\n\t\t\tvar domStyle = mayRemove[i];\n\n\t\t\tif(domStyle.refs === 0) {\n\t\t\t\tfor (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j]();\n\n\t\t\t\tdelete stylesInDom[domStyle.id];\n\t\t\t}\n\t\t}\n\t};\n};\n\nfunction addStylesToDom (styles, options) {\n\tfor (var i = 0; i < styles.length; i++) {\n\t\tvar item = styles[i];\n\t\tvar domStyle = stylesInDom[item.id];\n\n\t\tif(domStyle) {\n\t\t\tdomStyle.refs++;\n\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\n\t\t\t}\n\n\t\t\tfor(; j < item.parts.length; j++) {\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\n\t\t\t}\n\t\t} else {\n\t\t\tvar parts = [];\n\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\n\t\t\t}\n\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\n\t\t}\n\t}\n}\n\nfunction listToStyles (list, options) {\n\tvar styles = [];\n\tvar newStyles = {};\n\n\tfor (var i = 0; i < list.length; i++) {\n\t\tvar item = list[i];\n\t\tvar id = options.base ? item[0] + options.base : item[0];\n\t\tvar css = item[1];\n\t\tvar media = item[2];\n\t\tvar sourceMap = item[3];\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\n\n\t\tif(!newStyles[id]) styles.push(newStyles[id] = {id: id, parts: [part]});\n\t\telse newStyles[id].parts.push(part);\n\t}\n\n\treturn styles;\n}\n\nfunction insertStyleElement (options, style) {\n\tvar target = getElement(options.insertInto)\n\n\tif (!target) {\n\t\tthrow new Error(\"Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.\");\n\t}\n\n\tvar lastStyleElementInsertedAtTop = stylesInsertedAtTop[stylesInsertedAtTop.length - 1];\n\n\tif (options.insertAt === \"top\") {\n\t\tif (!lastStyleElementInsertedAtTop) {\n\t\t\ttarget.insertBefore(style, target.firstChild);\n\t\t} else if (lastStyleElementInsertedAtTop.nextSibling) {\n\t\t\ttarget.insertBefore(style, lastStyleElementInsertedAtTop.nextSibling);\n\t\t} else {\n\t\t\ttarget.appendChild(style);\n\t\t}\n\t\tstylesInsertedAtTop.push(style);\n\t} else if (options.insertAt === \"bottom\") {\n\t\ttarget.appendChild(style);\n\t} else if (typeof options.insertAt === \"object\" && options.insertAt.before) {\n\t\tvar nextSibling = getElement(options.insertInto + \" \" + options.insertAt.before);\n\t\ttarget.insertBefore(style, nextSibling);\n\t} else {\n\t\tthrow new Error(\"[Style Loader]\\n\\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\\n Must be 'top', 'bottom', or Object.\\n (https://github.com/webpack-contrib/style-loader#insertat)\\n\");\n\t}\n}\n\nfunction removeStyleElement (style) {\n\tif (style.parentNode === null) return false;\n\tstyle.parentNode.removeChild(style);\n\n\tvar idx = stylesInsertedAtTop.indexOf(style);\n\tif(idx >= 0) {\n\t\tstylesInsertedAtTop.splice(idx, 1);\n\t}\n}\n\nfunction createStyleElement (options) {\n\tvar style = document.createElement(\"style\");\n\n\toptions.attrs.type = \"text/css\";\n\n\taddAttrs(style, options.attrs);\n\tinsertStyleElement(options, style);\n\n\treturn style;\n}\n\nfunction createLinkElement (options) {\n\tvar link = document.createElement(\"link\");\n\n\toptions.attrs.type = \"text/css\";\n\toptions.attrs.rel = \"stylesheet\";\n\n\taddAttrs(link, options.attrs);\n\tinsertStyleElement(options, link);\n\n\treturn link;\n}\n\nfunction addAttrs (el, attrs) {\n\tObject.keys(attrs).forEach(function (key) {\n\t\tel.setAttribute(key, attrs[key]);\n\t});\n}\n\nfunction addStyle (obj, options) {\n\tvar style, update, remove, result;\n\n\t// If a transform function was defined, run it on the css\n\tif (options.transform && obj.css) {\n\t result = options.transform(obj.css);\n\n\t if (result) {\n\t \t// If transform returns a value, use that instead of the original css.\n\t \t// This allows running runtime transformations on the css.\n\t \tobj.css = result;\n\t } else {\n\t \t// If the transform function returns a falsy value, don't add this css.\n\t \t// This allows conditional loading of css\n\t \treturn function() {\n\t \t\t// noop\n\t \t};\n\t }\n\t}\n\n\tif (options.singleton) {\n\t\tvar styleIndex = singletonCounter++;\n\n\t\tstyle = singleton || (singleton = createStyleElement(options));\n\n\t\tupdate = applyToSingletonTag.bind(null, style, styleIndex, false);\n\t\tremove = applyToSingletonTag.bind(null, style, styleIndex, true);\n\n\t} else if (\n\t\tobj.sourceMap &&\n\t\ttypeof URL === \"function\" &&\n\t\ttypeof URL.createObjectURL === \"function\" &&\n\t\ttypeof URL.revokeObjectURL === \"function\" &&\n\t\ttypeof Blob === \"function\" &&\n\t\ttypeof btoa === \"function\"\n\t) {\n\t\tstyle = createLinkElement(options);\n\t\tupdate = updateLink.bind(null, style, options);\n\t\tremove = function () {\n\t\t\tremoveStyleElement(style);\n\n\t\t\tif(style.href) URL.revokeObjectURL(style.href);\n\t\t};\n\t} else {\n\t\tstyle = createStyleElement(options);\n\t\tupdate = applyToTag.bind(null, style);\n\t\tremove = function () {\n\t\t\tremoveStyleElement(style);\n\t\t};\n\t}\n\n\tupdate(obj);\n\n\treturn function updateStyle (newObj) {\n\t\tif (newObj) {\n\t\t\tif (\n\t\t\t\tnewObj.css === obj.css &&\n\t\t\t\tnewObj.media === obj.media &&\n\t\t\t\tnewObj.sourceMap === obj.sourceMap\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tupdate(obj = newObj);\n\t\t} else {\n\t\t\tremove();\n\t\t}\n\t};\n}\n\nvar replaceText = (function () {\n\tvar textStore = [];\n\n\treturn function (index, replacement) {\n\t\ttextStore[index] = replacement;\n\n\t\treturn textStore.filter(Boolean).join('\\n');\n\t};\n})();\n\nfunction applyToSingletonTag (style, index, remove, obj) {\n\tvar css = remove ? \"\" : obj.css;\n\n\tif (style.styleSheet) {\n\t\tstyle.styleSheet.cssText = replaceText(index, css);\n\t} else {\n\t\tvar cssNode = document.createTextNode(css);\n\t\tvar childNodes = style.childNodes;\n\n\t\tif (childNodes[index]) style.removeChild(childNodes[index]);\n\n\t\tif (childNodes.length) {\n\t\t\tstyle.insertBefore(cssNode, childNodes[index]);\n\t\t} else {\n\t\t\tstyle.appendChild(cssNode);\n\t\t}\n\t}\n}\n\nfunction applyToTag (style, obj) {\n\tvar css = obj.css;\n\tvar media = obj.media;\n\n\tif(media) {\n\t\tstyle.setAttribute(\"media\", media)\n\t}\n\n\tif(style.styleSheet) {\n\t\tstyle.styleSheet.cssText = css;\n\t} else {\n\t\twhile(style.firstChild) {\n\t\t\tstyle.removeChild(style.firstChild);\n\t\t}\n\n\t\tstyle.appendChild(document.createTextNode(css));\n\t}\n}\n\nfunction updateLink (link, options, obj) {\n\tvar css = obj.css;\n\tvar sourceMap = obj.sourceMap;\n\n\t/*\n\t\tIf convertToAbsoluteUrls isn't defined, but sourcemaps are enabled\n\t\tand there is no publicPath defined then lets turn convertToAbsoluteUrls\n\t\ton by default. Otherwise default to the convertToAbsoluteUrls option\n\t\tdirectly\n\t*/\n\tvar autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap;\n\n\tif (options.convertToAbsoluteUrls || autoFixUrls) {\n\t\tcss = fixUrls(css);\n\t}\n\n\tif (sourceMap) {\n\t\t// http://stackoverflow.com/a/26603875\n\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\n\t}\n\n\tvar blob = new Blob([css], { type: \"text/css\" });\n\n\tvar oldSrc = link.href;\n\n\tlink.href = URL.createObjectURL(blob);\n\n\tif(oldSrc) URL.revokeObjectURL(oldSrc);\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/style-loader/lib/urls.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/style-loader/lib/urls.js ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n\n/**\n * When source maps are enabled, `style-loader` uses a link element with a data-uri to\n * embed the css on the page. This breaks all relative urls because now they are relative to a\n * bundle instead of the current page.\n *\n * One solution is to only use full urls, but that may be impossible.\n *\n * Instead, this function \"fixes\" the relative urls to be absolute according to the current page location.\n *\n * A rudimentary test suite is located at `test/fixUrls.js` and can be run via the `npm test` command.\n *\n */\n\nmodule.exports = function (css) {\n // get current location\n var location = typeof window !== \"undefined\" && window.location;\n\n if (!location) {\n throw new Error(\"fixUrls requires window.location\");\n }\n\n\t// blank or null?\n\tif (!css || typeof css !== \"string\") {\n\t return css;\n }\n\n var baseUrl = location.protocol + \"//\" + location.host;\n var currentDir = baseUrl + location.pathname.replace(/\\/[^\\/]*$/, \"/\");\n\n\t// convert each url(...)\n\t/*\n\tThis regular expression is just a way to recursively match brackets within\n\ta string.\n\n\t /url\\s*\\( = Match on the word \"url\" with any whitespace after it and then a parens\n\t ( = Start a capturing group\n\t (?: = Start a non-capturing group\n\t [^)(] = Match anything that isn't a parentheses\n\t | = OR\n\t \\( = Match a start parentheses\n\t (?: = Start another non-capturing groups\n\t [^)(]+ = Match anything that isn't a parentheses\n\t | = OR\n\t \\( = Match a start parentheses\n\t [^)(]* = Match anything that isn't a parentheses\n\t \\) = Match a end parentheses\n\t ) = End Group\n *\\) = Match anything and then a close parens\n ) = Close non-capturing group\n * = Match anything\n ) = Close capturing group\n\t \\) = Match a close parens\n\n\t /gi = Get all matches, not the first. Be case insensitive.\n\t */\n\tvar fixedCss = css.replace(/url\\s*\\(((?:[^)(]|\\((?:[^)(]+|\\([^)(]*\\))*\\))*)\\)/gi, function(fullMatch, origUrl) {\n\t\t// strip quotes (if they exist)\n\t\tvar unquotedOrigUrl = origUrl\n\t\t\t.trim()\n\t\t\t.replace(/^\"(.*)\"$/, function(o, $1){ return $1; })\n\t\t\t.replace(/^'(.*)'$/, function(o, $1){ return $1; });\n\n\t\t// already a full url? no change\n\t\tif (/^(#|data:|http:\\/\\/|https:\\/\\/|file:\\/\\/\\/|\\s*$)/i.test(unquotedOrigUrl)) {\n\t\t return fullMatch;\n\t\t}\n\n\t\t// convert the url to a full url\n\t\tvar newUrl;\n\n\t\tif (unquotedOrigUrl.indexOf(\"//\") === 0) {\n\t\t \t//TODO: should we add protocol?\n\t\t\tnewUrl = unquotedOrigUrl;\n\t\t} else if (unquotedOrigUrl.indexOf(\"/\") === 0) {\n\t\t\t// path should be relative to the base url\n\t\t\tnewUrl = baseUrl + unquotedOrigUrl; // already starts with '/'\n\t\t} else {\n\t\t\t// path should be relative to current directory\n\t\t\tnewUrl = currentDir + unquotedOrigUrl.replace(/^\\.\\//, \"\"); // Strip leading './'\n\t\t}\n\n\t\t// send back the fixed url(...)\n\t\treturn \"url(\" + JSON.stringify(newUrl) + \")\";\n\t});\n\n\t// send back the fixed css\n\treturn fixedCss;\n};\n\n\n/***/ }),\n\n/***/ \"./src/base/base_object.js\":\n/*!*********************************!*\\\n !*** ./src/base/base_object.js ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _events = __webpack_require__(/*! ./events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * @class BaseObject\n * @constructor\n * @extends Events\n * @module base\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar BaseObject = function (_Events) {\n (0, _inherits3.default)(BaseObject, _Events);\n (0, _createClass3.default)(BaseObject, [{\n key: 'options',\n\n /**\n * returns the object options\n * @property options\n * @type Object\n */\n get: function get() {\n return this._options;\n }\n\n /**\n * @method constructor\n * @param {Object} options\n */\n\n }]);\n\n function BaseObject() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n (0, _classCallCheck3.default)(this, BaseObject);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Events.call(this, options));\n\n _this._options = options;\n _this.uniqueId = (0, _utils.uniqueId)('o');\n return _this;\n }\n /**\n * a unique id prefixed with `'o'`, `o1, o232`\n *\n * @property uniqueId\n * @type String\n */\n\n\n return BaseObject;\n}(_events2.default);\n\nexports.default = BaseObject;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/container_plugin.js\":\n/*!**************************************!*\\\n !*** ./src/base/container_plugin.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ./base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The base class for a container plugin\n * @class ContainerPlugin\n * @constructor\n * @extends BaseObject\n * @module base\n */\nvar ContainerPlugin = function (_BaseObject) {\n (0, _inherits3.default)(ContainerPlugin, _BaseObject);\n (0, _createClass3.default)(ContainerPlugin, [{\n key: 'playerError',\n get: function get() {\n return this.container.playerError;\n }\n }]);\n\n function ContainerPlugin(container) {\n (0, _classCallCheck3.default)(this, ContainerPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, container.options));\n\n _this.container = container;\n _this.enabled = true;\n _this.bindEvents();\n return _this;\n }\n\n ContainerPlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.enabled = true;\n }\n };\n\n ContainerPlugin.prototype.disable = function disable() {\n if (this.enabled) {\n this.stopListening();\n this.enabled = false;\n }\n };\n\n ContainerPlugin.prototype.bindEvents = function bindEvents() {};\n\n ContainerPlugin.prototype.destroy = function destroy() {\n this.stopListening();\n };\n\n return ContainerPlugin;\n}(_base_object2.default);\n\nexports.default = ContainerPlugin;\n\n\n(0, _assign2.default)(ContainerPlugin.prototype, _error_mixin2.default);\n\nContainerPlugin.extend = function (properties) {\n return (0, _utils.extend)(ContainerPlugin, properties);\n};\n\nContainerPlugin.type = 'container';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/core_plugin.js\":\n/*!*********************************!*\\\n !*** ./src/base/core_plugin.js ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _base_object = __webpack_require__(/*! ./base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CorePlugin = function (_BaseObject) {\n (0, _inherits3.default)(CorePlugin, _BaseObject);\n (0, _createClass3.default)(CorePlugin, [{\n key: 'playerError',\n get: function get() {\n return this.core.playerError;\n }\n }]);\n\n function CorePlugin(core) {\n (0, _classCallCheck3.default)(this, CorePlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, core.options));\n\n _this.core = core;\n _this.enabled = true;\n _this.bindEvents();\n return _this;\n }\n\n CorePlugin.prototype.bindEvents = function bindEvents() {};\n\n CorePlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.enabled = true;\n }\n };\n\n CorePlugin.prototype.disable = function disable() {\n if (this.enabled) {\n this.stopListening();\n this.enabled = false;\n }\n };\n\n CorePlugin.prototype.getExternalInterface = function getExternalInterface() {\n return {};\n };\n\n CorePlugin.prototype.destroy = function destroy() {\n this.stopListening();\n };\n\n return CorePlugin;\n}(_base_object2.default);\n\nexports.default = CorePlugin;\n\n\n(0, _assign2.default)(CorePlugin.prototype, _error_mixin2.default);\n\nCorePlugin.extend = function (properties) {\n return (0, _utils.extend)(CorePlugin, properties);\n};\n\nCorePlugin.type = 'core';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/error_mixin.js\":\n/*!*********************************!*\\\n !*** ./src/base/error_mixin.js ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _log = __webpack_require__(/*! ../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _error = __webpack_require__(/*! ../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ErrorMixin = {\n /**\n * creates an error.\n * @method createError\n * @param {Object} error should be an object with code, description, level and raw error.\n * @return {Object} Object with formatted error data including origin and scope\n */\n createError: function createError(error) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { useCodePrefix: true };\n\n var scope = this.constructor && this.constructor.type || '';\n var origin = this.name || scope;\n var i18n = this.i18n || this.core && this.core.i18n || this.container && this.container.i18n;\n\n var prefixedCode = origin + ':' + (error && error.code || 'unknown');\n var defaultError = {\n description: '',\n level: _error2.default.Levels.FATAL,\n origin: origin,\n scope: scope,\n raw: {}\n };\n\n var errorData = (0, _assign2.default)({}, defaultError, error, {\n code: options.useCodePrefix ? prefixedCode : error.code\n });\n\n if (i18n && errorData.level == _error2.default.Levels.FATAL && !errorData.UI) {\n var defaultUI = {\n title: i18n.t('default_error_title'),\n message: i18n.t('default_error_message')\n };\n errorData.UI = defaultUI;\n }\n\n if (this.playerError) this.playerError.createError(errorData);else _log2.default.warn(origin, 'PlayerError is not defined. Error: ', errorData);\n\n return errorData;\n }\n};\n\nexports.default = ErrorMixin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/events.js\":\n/*!****************************!*\\\n !*** ./src/base/events.js ***!\n \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _log = __webpack_require__(/*! ../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar slice = Array.prototype.slice;\n\nvar eventSplitter = /\\s+/;\n\nvar eventsApi = function eventsApi(obj, action, name, rest) {\n if (!name) return true;\n\n // Handle event maps.\n if ((typeof name === 'undefined' ? 'undefined' : (0, _typeof3.default)(name)) === 'object') {\n for (var key in name) {\n obj[action].apply(obj, [key, name[key]].concat(rest));\n }return false;\n }\n\n // Handle space separated event names.\n if (eventSplitter.test(name)) {\n var names = name.split(eventSplitter);\n for (var i = 0, l = names.length; i < l; i++) {\n obj[action].apply(obj, [names[i]].concat(rest));\n }return false;\n }\n\n return true;\n};\n\nvar triggerEvents = function triggerEvents(events, args, klass, name) {\n var ev = void 0,\n i = -1;\n var l = events.length,\n a1 = args[0],\n a2 = args[1],\n a3 = args[2];\n run();\n\n function run() {\n try {\n switch (args.length) {\n /* eslint-disable curly */\n case 0:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx);\n }return;\n case 1:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx, a1);\n }return;\n case 2:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx, a1, a2);\n }return;\n case 3:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx, a1, a2, a3);\n }return;\n default:\n while (++i < l) {\n (ev = events[i]).callback.apply(ev.ctx, args);\n }return;\n }\n } catch (exception) {\n _log2.default.error.apply(_log2.default, [klass, 'error on event', name, 'trigger', '-', exception]);\n run();\n }\n }\n};\n\n/**\n * @class Events\n * @constructor\n * @module base\n */\n\nvar Events = function () {\n function Events() {\n (0, _classCallCheck3.default)(this, Events);\n }\n\n /**\n * listen to an event indefinitely, if you want to stop you need to call `off`\n * @method on\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n */\n Events.prototype.on = function on(name, callback, context) {\n if (!eventsApi(this, 'on', name, [callback, context]) || !callback) return this;\n this._events || (this._events = {});\n var events = this._events[name] || (this._events[name] = []);\n events.push({ callback: callback, context: context, ctx: context || this });\n return this;\n };\n\n /**\n * listen to an event only once\n * @method once\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n */\n\n\n Events.prototype.once = function once(name, callback, context) {\n var _this = this;\n\n var _once = void 0;\n if (!eventsApi(this, 'once', name, [callback, context]) || !callback) return this;\n var off = function off() {\n return _this.off(name, _once);\n };\n _once = function once() {\n off(name, _once);\n callback.apply(this, arguments);\n };\n return this.on(name, _once, context);\n };\n\n /**\n * stop listening to an event\n * @method off\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n */\n\n\n Events.prototype.off = function off(name, callback, context) {\n var retain = void 0,\n ev = void 0,\n events = void 0,\n names = void 0,\n i = void 0,\n l = void 0,\n j = void 0,\n k = void 0;\n if (!this._events || !eventsApi(this, 'off', name, [callback, context])) return this;\n if (!name && !callback && !context) {\n this._events = void 0;\n return this;\n }\n names = name ? [name] : (0, _keys2.default)(this._events);\n // jshint maxdepth:5\n for (i = 0, l = names.length; i < l; i++) {\n name = names[i];\n events = this._events[name];\n if (events) {\n this._events[name] = retain = [];\n if (callback || context) {\n for (j = 0, k = events.length; j < k; j++) {\n ev = events[j];\n if (callback && callback !== ev.callback && callback !== ev.callback._callback || context && context !== ev.context) retain.push(ev);\n }\n }\n if (!retain.length) delete this._events[name];\n }\n }\n return this;\n };\n\n /**\n * triggers an event given its `name`\n * @method trigger\n * @param {String} name\n */\n\n\n Events.prototype.trigger = function trigger(name) {\n var klass = this.name || this.constructor.name;\n _log2.default.debug.apply(_log2.default, [klass].concat(Array.prototype.slice.call(arguments)));\n if (!this._events) return this;\n var args = slice.call(arguments, 1);\n if (!eventsApi(this, 'trigger', name, args)) return this;\n var events = this._events[name];\n var allEvents = this._events.all;\n if (events) triggerEvents(events, args, klass, name);\n if (allEvents) triggerEvents(allEvents, arguments, klass, name);\n return this;\n };\n\n /**\n * stop listening an event for a given object\n * @method stopListening\n * @param {Object} obj\n * @param {String} name\n * @param {Function} callback\n */\n\n\n Events.prototype.stopListening = function stopListening(obj, name, callback) {\n var listeningTo = this._listeningTo;\n if (!listeningTo) return this;\n var remove = !name && !callback;\n if (!callback && (typeof name === 'undefined' ? 'undefined' : (0, _typeof3.default)(name)) === 'object') callback = this;\n if (obj) (listeningTo = {})[obj._listenId] = obj;\n for (var id in listeningTo) {\n obj = listeningTo[id];\n obj.off(name, callback, this);\n if (remove || (0, _keys2.default)(obj._events).length === 0) delete this._listeningTo[id];\n }\n return this;\n };\n\n Events.register = function register(eventName) {\n Events.Custom || (Events.Custom = {});\n var property = typeof eventName === 'string' && eventName.toUpperCase().trim();\n\n if (property && !Events.Custom[property]) {\n Events.Custom[property] = property.toLowerCase().split('_').map(function (value, index) {\n return index === 0 ? value : value = value[0].toUpperCase() + value.slice(1);\n }).join('');\n } else _log2.default.error('Events', 'Error when register event: ' + eventName);\n };\n\n Events.listAvailableCustomEvents = function listAvailableCustomEvents() {\n Events.Custom || (Events.Custom = {});\n return (0, _keys2.default)(Events.Custom).filter(function (property) {\n return typeof Events.Custom[property] === 'string';\n });\n };\n\n return Events;\n}();\n\n/**\n * listen to an event indefinitely for a given `obj`\n * @method listenTo\n * @param {Object} obj\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n * @example\n * ```javascript\n * this.listenTo(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)\n * ```\n */\n/**\n * listen to an event once for a given `obj`\n * @method listenToOnce\n * @param {Object} obj\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n * @example\n * ```javascript\n * this.listenToOnce(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)\n * ```\n */\n\n\nexports.default = Events;\nvar listenMethods = { listenTo: 'on', listenToOnce: 'once' };\n\n(0, _keys2.default)(listenMethods).forEach(function (method) {\n Events.prototype[method] = function (obj, name, callback) {\n var listeningTo = this._listeningTo || (this._listeningTo = {});\n var id = obj._listenId || (obj._listenId = (0, _utils.uniqueId)('l'));\n listeningTo[id] = obj;\n if (!callback && (typeof name === 'undefined' ? 'undefined' : (0, _typeof3.default)(name)) === 'object') callback = this;\n obj[listenMethods[method]](name, callback, this);\n return this;\n };\n});\n\n// PLAYER EVENTS\n/**\n * Fired when the player is ready on startup\n *\n * @event PLAYER_READY\n */\nEvents.PLAYER_READY = 'ready';\n/**\n * Fired when player resizes\n *\n * @event PLAYER_RESIZE\n * @param {Object} currentSize an object with the current size\n */\nEvents.PLAYER_RESIZE = 'resize';\n/**\n * Fired when player changes its fullscreen state\n *\n * @event PLAYER_FULLSCREEN\n * @param {Boolean} whether or not the player is on fullscreen mode\n */\nEvents.PLAYER_FULLSCREEN = 'fullscreen';\n/**\n * Fired when player starts to play\n *\n * @event PLAYER_PLAY\n */\nEvents.PLAYER_PLAY = 'play';\n/**\n * Fired when player pauses\n *\n * @event PLAYER_PAUSE\n */\nEvents.PLAYER_PAUSE = 'pause';\n/**\n * Fired when player stops\n *\n * @event PLAYER_STOP\n */\nEvents.PLAYER_STOP = 'stop';\n/**\n * Fired when player ends the video\n *\n * @event PLAYER_ENDED\n */\nEvents.PLAYER_ENDED = 'ended';\n/**\n * Fired when player seeks the video\n *\n * @event PLAYER_SEEK\n * @param {Number} time the current time in seconds\n */\nEvents.PLAYER_SEEK = 'seek';\n/**\n * Fired when player receives an error\n *\n * @event PLAYER_ERROR\n * @param {Object} error the error\n */\nEvents.PLAYER_ERROR = 'playererror';\n/**\n * Fired when there is an error\n *\n * @event ERROR\n * @param {Object} error\n * the error with the following format `{code, description, level, raw, origin, scope}`\n * @param {String} [options.code]\n * error's code: code to identify error in the following format: origin:code\n * @param {String} [options.description]\n * error's description: description of the error\n * @param {String} [options.level]\n * error's level: FATAL or WARN.\n * @param {String} [options.origin]\n * error's origin. Example: hls, html5, etc\n * @param {String} [options.scope]\n * error's scope. Example: playback, container, etc\n * @param {String} [options.raw]\n * raw error: the initial error received\n */\nEvents.ERROR = 'error';\n/**\n * Fired when the time is updated on player\n *\n * @event PLAYER_TIMEUPDATE\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.current]\n * current time (in seconds)\n * @param {Number} [progress.total]\n * total time (in seconds)\n */\nEvents.PLAYER_TIMEUPDATE = 'timeupdate';\n/**\n * Fired when player updates its volume\n *\n * @event PLAYER_VOLUMEUPDATE\n * @param {Number} volume the current volume\n */\nEvents.PLAYER_VOLUMEUPDATE = 'volumeupdate';\n\n/**\n * Fired when subtitle is available\n *\n * @event PLAYER_SUBTITLE_AVAILABLE\n */\nEvents.PLAYER_SUBTITLE_AVAILABLE = 'subtitleavailable';\n\n// Playback Events\n/**\n * Fired when the playback is downloading the media\n *\n * @event PLAYBACK_PROGRESS\n * @param progress {Object}\n * Data progress object\n * @param [progress.start] {Number}\n * start position of buffered content at current position\n * @param [progress.current] {Number}\n * end position of buffered content at current position\n * @param [progress.total] {Number}\n * total content to be downloaded\n * @param buffered {Array}\n * array of buffered segments ({start, end}). [Only for supported playbacks]\n */\nEvents.PLAYBACK_PROGRESS = 'playback:progress';\n/**\n * Fired when the time is updated on playback\n *\n * @event PLAYBACK_TIMEUPDATE\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.current]\n * current time (in seconds)\n * @param {Number} [progress.total]\n * total time (in seconds)\n */\nEvents.PLAYBACK_TIMEUPDATE = 'playback:timeupdate';\n/**\n * Fired when playback is ready\n *\n * @event PLAYBACK_READY\n */\nEvents.PLAYBACK_READY = 'playback:ready';\n/**\n * Fired when the playback starts having to buffer because\n * playback can currently not be smooth.\n *\n * This corresponds to the playback `buffering` property being\n * `true`.\n *\n * @event PLAYBACK_BUFFERING\n */\nEvents.PLAYBACK_BUFFERING = 'playback:buffering';\n/**\n * Fired when the playback has enough in the buffer to be\n * able to play smoothly, after previously being unable to\n * do this.\n *\n * This corresponds to the playback `buffering` property being\n * `false`.\n *\n * @event PLAYBACK_BUFFERFULL\n */\nEvents.PLAYBACK_BUFFERFULL = 'playback:bufferfull';\n/**\n * Fired when playback changes any settings (volume, seek and etc)\n *\n * @event PLAYBACK_SETTINGSUPDATE\n */\nEvents.PLAYBACK_SETTINGSUPDATE = 'playback:settingsupdate';\n/**\n * Fired when playback loaded its metadata\n *\n * @event PLAYBACK_LOADEDMETADATA\n * @param {Object} metadata Data\n * settings object\n * @param {Number} [metadata.duration]\n * the playback duration\n * @param {Object} [metadata.data]\n * extra meta data\n */\nEvents.PLAYBACK_LOADEDMETADATA = 'playback:loadedmetadata';\n/**\n * Fired when playback updates its video quality\n *\n * @event PLAYBACK_HIGHDEFINITIONUPDATE\n * @param {Boolean} isHD\n * true when is on HD, false otherwise\n */\nEvents.PLAYBACK_HIGHDEFINITIONUPDATE = 'playback:highdefinitionupdate';\n/**\n * Fired when playback updates its bitrate\n *\n * @event PLAYBACK_BITRATE\n * @param {Object} bitrate Data\n * bitrate object\n * @param {Number} [bitrate.bandwidth]\n * bitrate bandwidth when it's available\n * @param {Number} [bitrate.width]\n * playback width (ex: 720, 640, 1080)\n * @param {Number} [bitrate.height]\n * playback height (ex: 240, 480, 720)\n * @param {Number} [bitrate.level]\n * playback level when it's available, it could be just a map for width (0 => 240, 1 => 480, 2 => 720)\n */\nEvents.PLAYBACK_BITRATE = 'playback:bitrate';\n/**\n * Fired when the playback has its levels\n *\n * @event PLAYBACK_LEVELS_AVAILABLE\n * @param {Array} levels\n * the ordered levels, each one with the following format `{id: 1, label: '500kbps'}` ps: id should be a number >= 0\n * @param {Number} initial\n * the initial level otherwise -1 (AUTO)\n */\nEvents.PLAYBACK_LEVELS_AVAILABLE = 'playback:levels:available';\n/**\n * Fired when the playback starts to switch level\n *\n * @event PLAYBACK_LEVEL_SWITCH_START\n *\n */\nEvents.PLAYBACK_LEVEL_SWITCH_START = 'playback:levels:switch:start';\n/**\n * Fired when the playback ends the level switch\n *\n * @event PLAYBACK_LEVEL_SWITCH_END\n *\n */\nEvents.PLAYBACK_LEVEL_SWITCH_END = 'playback:levels:switch:end';\n\n/**\n * Fired when playback internal state changes\n *\n * @event PLAYBACK_PLAYBACKSTATE\n * @param {Object} state Data\n * state object\n * @param {String} [state.type]\n * the playback type\n */\nEvents.PLAYBACK_PLAYBACKSTATE = 'playback:playbackstate';\n/**\n * Fired when DVR becomes enabled/disabled.\n *\n * @event PLAYBACK_DVR\n * @param {boolean} state true if dvr enabled\n */\nEvents.PLAYBACK_DVR = 'playback:dvr';\n// TODO doc\nEvents.PLAYBACK_MEDIACONTROL_DISABLE = 'playback:mediacontrol:disable';\n// TODO doc\nEvents.PLAYBACK_MEDIACONTROL_ENABLE = 'playback:mediacontrol:enable';\n/**\n * Fired when the media for a playback ends.\n *\n * @event PLAYBACK_ENDED\n * @param {String} name the name of the playback\n */\nEvents.PLAYBACK_ENDED = 'playback:ended';\n/**\n * Fired when user requests `play()`\n *\n * @event PLAYBACK_PLAY_INTENT\n */\nEvents.PLAYBACK_PLAY_INTENT = 'playback:play:intent';\n/**\n * Fired when the media for a playback starts playing.\n * This is not necessarily when the user requests `play()`\n * The media may have to buffer first.\n * I.e. `isPlaying()` might return `true` before this event is fired,\n * because `isPlaying()` represents the intended state.\n *\n * @event PLAYBACK_PLAY\n */\nEvents.PLAYBACK_PLAY = 'playback:play';\n/**\n * Fired when the media for a playback pauses.\n *\n * @event PLAYBACK_PAUSE\n */\nEvents.PLAYBACK_PAUSE = 'playback:pause';\n/**\n * Fired when the media for a playback is seeking.\n *\n * @event PLAYBACK_SEEK\n */\nEvents.PLAYBACK_SEEK = 'playback:seek';\n/**\n * Fired when the media for a playback is seeked.\n *\n * @event PLAYBACK_SEEKED\n */\nEvents.PLAYBACK_SEEKED = 'playback:seeked';\n/**\n * Fired when the media for a playback is stopped.\n *\n * @event PLAYBACK_STOP\n */\nEvents.PLAYBACK_STOP = 'playback:stop';\n/**\n * Fired if an error occurs in the playback.\n *\n * @event PLAYBACK_ERROR\n * @param {Object} error An object containing the error details\n * @param {String} name Playback name\n */\nEvents.PLAYBACK_ERROR = 'playback:error';\n// TODO doc\nEvents.PLAYBACK_STATS_ADD = 'playback:stats:add';\n// TODO doc\nEvents.PLAYBACK_FRAGMENT_LOADED = 'playback:fragment:loaded';\n// TODO doc\nEvents.PLAYBACK_LEVEL_SWITCH = 'playback:level:switch';\n/**\n * Fired when subtitle is available on playback for display\n *\n * @event PLAYBACK_SUBTITLE_AVAILABLE\n */\nEvents.PLAYBACK_SUBTITLE_AVAILABLE = 'playback:subtitle:available';\n/**\n * Fired when playback subtitle track has changed\n *\n * @event CONTAINER_SUBTITLE_CHANGED\n * @param {Object} track Data\n * track object\n * @param {Number} [track.id]\n * selected track id\n */\nEvents.PLAYBACK_SUBTITLE_CHANGED = 'playback:subtitle:changed';\n\n// Core Events\n/**\n * Fired when the containers are created\n *\n * @event CORE_CONTAINERS_CREATED\n */\nEvents.CORE_CONTAINERS_CREATED = 'core:containers:created';\n/**\n * Fired when the active container changed\n *\n * @event CORE_ACTIVE_CONTAINER_CHANGED\n */\nEvents.CORE_ACTIVE_CONTAINER_CHANGED = 'core:active:container:changed';\n/**\n * Fired when the options were changed for the core\n *\n * @event CORE_OPTIONS_CHANGE\n * @param {Object} new options provided to configure() method\n */\nEvents.CORE_OPTIONS_CHANGE = 'core:options:change';\n/**\n * Fired after creating containers, when the core is ready\n *\n * @event CORE_READY\n */\nEvents.CORE_READY = 'core:ready';\n/**\n * Fired when the fullscreen state change\n *\n * @event CORE_FULLSCREEN\n * @param {Boolean} whether or not the player is on fullscreen mode\n */\nEvents.CORE_FULLSCREEN = 'core:fullscreen';\n/**\n * Fired when core updates size\n *\n * @event CORE_RESIZE\n * @param {Object} currentSize an object with the current size\n */\nEvents.CORE_RESIZE = 'core:resize';\n/**\n * Fired when the screen orientation has changed.\n * This event is trigger only for mobile devices.\n *\n * @event CORE_SCREEN_ORIENTATION_CHANGED\n * @param {Object} screen An object with screen orientation\n * screen object\n * @param {Object} [screen.event]\n * window resize event object\n * @param {String} [screen.orientation]\n * screen orientation (ie: 'landscape' or 'portrait')\n */\nEvents.CORE_SCREEN_ORIENTATION_CHANGED = 'core:screen:orientation:changed';\n/**\n * Fired when occurs mouse move event on core element\n *\n * @event CORE_MOUSE_MOVE\n * @param {Object} event a DOM event\n */\nEvents.CORE_MOUSE_MOVE = 'core:mousemove';\n/**\n * Fired when occurs mouse leave event on core element\n *\n * @event CORE_MOUSE_LEAVE\n * @param {Object} event a DOM event\n */\nEvents.CORE_MOUSE_LEAVE = 'core:mouseleave';\n\n// Container Events\n/**\n * Fired when the container internal state changes\n *\n * @event CONTAINER_PLAYBACKSTATE\n * @param {Object} state Data\n * state object\n * @param {String} [state.type]\n * the playback type\n */\nEvents.CONTAINER_PLAYBACKSTATE = 'container:playbackstate';\nEvents.CONTAINER_PLAYBACKDVRSTATECHANGED = 'container:dvr';\n/**\n * Fired when the container updates its bitrate\n *\n * @event CONTAINER_BITRATE\n * @param {Object} bitrate Data\n * bitrate object\n * @param {Number} [bitrate.bandwidth]\n * bitrate bandwidth when it's available\n * @param {Number} [bitrate.width]\n * playback width (ex: 720, 640, 1080)\n * @param {Number} [bitrate.height]\n * playback height (ex: 240, 480, 720)\n * @param {Number} [bitrate.level]\n * playback level when it's available, it could be just a map for width (0 => 240, 1 => 480, 2 => 720)\n */\nEvents.CONTAINER_BITRATE = 'container:bitrate';\nEvents.CONTAINER_STATS_REPORT = 'container:stats:report';\nEvents.CONTAINER_DESTROYED = 'container:destroyed';\n/**\n * Fired when the container is ready\n *\n * @event CONTAINER_READY\n */\nEvents.CONTAINER_READY = 'container:ready';\nEvents.CONTAINER_ERROR = 'container:error';\n/**\n * Fired when the container loaded its metadata\n *\n * @event CONTAINER_LOADEDMETADATA\n * @param {Object} metadata Data\n * settings object\n * @param {Number} [metadata.duration]\n * the playback duration\n * @param {Object} [metadata.data]\n * extra meta data\n */\nEvents.CONTAINER_LOADEDMETADATA = 'container:loadedmetadata';\n\n/**\n * Fired when subtitle is available on container for display\n *\n * @event CONTAINER_SUBTITLE_AVAILABLE\n */\nEvents.CONTAINER_SUBTITLE_AVAILABLE = 'container:subtitle:available';\n/**\n * Fired when subtitle track has changed\n *\n * @event CONTAINER_SUBTITLE_CHANGED\n * @param {Object} track Data\n * track object\n * @param {Number} [track.id]\n * selected track id\n */\nEvents.CONTAINER_SUBTITLE_CHANGED = 'container:subtitle:changed';\n\n/**\n * Fired when the time is updated on container\n *\n * @event CONTAINER_TIMEUPDATE\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.current]\n * current time (in seconds)\n * @param {Number} [progress.total]\n * total time (in seconds)\n */\nEvents.CONTAINER_TIMEUPDATE = 'container:timeupdate';\n/**\n * Fired when the container is downloading the media\n *\n * @event CONTAINER_PROGRESS\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.start]\n * initial downloaded content\n * @param {Number} [progress.current]\n * current dowloaded content\n * @param {Number} [progress.total]\n * total content to be downloaded\n */\nEvents.CONTAINER_PROGRESS = 'container:progress';\nEvents.CONTAINER_PLAY = 'container:play';\nEvents.CONTAINER_STOP = 'container:stop';\nEvents.CONTAINER_PAUSE = 'container:pause';\nEvents.CONTAINER_ENDED = 'container:ended';\nEvents.CONTAINER_CLICK = 'container:click';\nEvents.CONTAINER_DBLCLICK = 'container:dblclick';\nEvents.CONTAINER_CONTEXTMENU = 'container:contextmenu';\nEvents.CONTAINER_MOUSE_ENTER = 'container:mouseenter';\nEvents.CONTAINER_MOUSE_LEAVE = 'container:mouseleave';\n/**\n * Fired when the container seeks the video\n *\n * @event CONTAINER_SEEK\n * @param {Number} time the current time in seconds\n */\nEvents.CONTAINER_SEEK = 'container:seek';\n/**\n * Fired when the container was finished the seek video\n *\n * @event CONTAINER_SEEKED\n * @param {Number} time the current time in seconds\n */\nEvents.CONTAINER_SEEKED = 'container:seeked';\nEvents.CONTAINER_VOLUME = 'container:volume';\nEvents.CONTAINER_FULLSCREEN = 'container:fullscreen';\n/**\n * Fired when container is buffering\n *\n * @event CONTAINER_STATE_BUFFERING\n */\nEvents.CONTAINER_STATE_BUFFERING = 'container:state:buffering';\n/**\n * Fired when the container filled the buffer\n *\n * @event CONTAINER_STATE_BUFFERFULL\n */\nEvents.CONTAINER_STATE_BUFFERFULL = 'container:state:bufferfull';\n/**\n * Fired when the container changes any settings (volume, seek and etc)\n *\n * @event CONTAINER_SETTINGSUPDATE\n */\nEvents.CONTAINER_SETTINGSUPDATE = 'container:settingsupdate';\n/**\n * Fired when container updates its video quality\n *\n * @event CONTAINER_HIGHDEFINITIONUPDATE\n * @param {Boolean} isHD\n * true when is on HD, false otherwise\n */\nEvents.CONTAINER_HIGHDEFINITIONUPDATE = 'container:highdefinitionupdate';\n\n/**\n * Fired when the media control shows\n *\n * @event CONTAINER_MEDIACONTROL_SHOW\n */\nEvents.CONTAINER_MEDIACONTROL_SHOW = 'container:mediacontrol:show';\n/**\n * Fired when the media control hides\n *\n * @event CONTAINER_MEDIACONTROL_HIDE\n */\nEvents.CONTAINER_MEDIACONTROL_HIDE = 'container:mediacontrol:hide';\n\nEvents.CONTAINER_MEDIACONTROL_DISABLE = 'container:mediacontrol:disable';\nEvents.CONTAINER_MEDIACONTROL_ENABLE = 'container:mediacontrol:enable';\nEvents.CONTAINER_STATS_ADD = 'container:stats:add';\n/**\n * Fired when the options were changed for the container\n *\n * @event CONTAINER_OPTIONS_CHANGE\n */\nEvents.CONTAINER_OPTIONS_CHANGE = 'container:options:change';\n\n// MediaControl Events\nEvents.MEDIACONTROL_RENDERED = 'mediacontrol:rendered';\n/**\n * Fired when the player enters/exit on fullscreen\n *\n * @event MEDIACONTROL_FULLSCREEN\n */\nEvents.MEDIACONTROL_FULLSCREEN = 'mediacontrol:fullscreen';\n/**\n * Fired when the media control shows\n *\n * @event MEDIACONTROL_SHOW\n */\nEvents.MEDIACONTROL_SHOW = 'mediacontrol:show';\n/**\n * Fired when the media control hides\n *\n * @event MEDIACONTROL_HIDE\n */\nEvents.MEDIACONTROL_HIDE = 'mediacontrol:hide';\n/**\n * Fired when mouse enters on the seekbar\n *\n * @event MEDIACONTROL_MOUSEMOVE_SEEKBAR\n * @param {Object} event\n * the javascript event\n */\nEvents.MEDIACONTROL_MOUSEMOVE_SEEKBAR = 'mediacontrol:mousemove:seekbar';\n/**\n * Fired when mouse leaves the seekbar\n *\n * @event MEDIACONTROL_MOUSELEAVE_SEEKBAR\n * @param {Object} event\n * the javascript event\n */\nEvents.MEDIACONTROL_MOUSELEAVE_SEEKBAR = 'mediacontrol:mouseleave:seekbar';\n/**\n * Fired when the media is being played\n *\n * @event MEDIACONTROL_PLAYING\n */\nEvents.MEDIACONTROL_PLAYING = 'mediacontrol:playing';\n/**\n * Fired when the media is not being played\n *\n * @event MEDIACONTROL_NOTPLAYING\n */\nEvents.MEDIACONTROL_NOTPLAYING = 'mediacontrol:notplaying';\n/**\n * Fired when the container was changed\n *\n * @event MEDIACONTROL_CONTAINERCHANGED\n */\nEvents.MEDIACONTROL_CONTAINERCHANGED = 'mediacontrol:containerchanged';\n/**\n * Fired when the options were changed for the mediacontrol\n *\n * @event MEDIACONTROL_OPTIONS_CHANGE\n */\nEvents.MEDIACONTROL_OPTIONS_CHANGE = 'mediacontrol:options:change';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/media.js\":\n/*!***************************!*\\\n !*** ./src/base/media.js ***!\n \\***************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nOb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***/ }),\n\n/***/ \"./src/base/playback.js\":\n/*!******************************!*\\\n !*** ./src/base/playback.js ***!\n \\******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _ui_object = __webpack_require__(/*! ./ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * An abstraction to represent a generic playback, it's like an interface to be implemented by subclasses.\n * @class Playback\n * @constructor\n * @extends UIObject\n * @module base\n */\nvar Playback = function (_UIObject) {\n (0, _inherits3.default)(Playback, _UIObject);\n (0, _createClass3.default)(Playback, [{\n key: 'isAudioOnly',\n\n /**\n * Determine if the playback does not contain video/has video but video should be ignored.\n * @property isAudioOnly\n * @type Boolean\n */\n get: function get() {\n return false;\n }\n }, {\n key: 'isAdaptive',\n get: function get() {\n return false;\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return false;\n }\n\n /**\n * The internationalization plugin.\n * @property i18n\n * @type {Strings}\n */\n\n }, {\n key: 'i18n',\n get: function get() {\n return this._i18n;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * (i.e if a live stream is playing smoothly, this will be false)\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return false;\n }\n\n /**\n * Determine if the playback has user consent.\n * @property consented\n * @type Boolean\n */\n\n }, {\n key: 'consented',\n get: function get() {\n return this._consented;\n }\n\n /**\n * @method constructor\n * @param {Object} options the options object\n * @param {Strings} i18n the internationalization component\n */\n\n }]);\n\n function Playback(options, i18n, playerError) {\n (0, _classCallCheck3.default)(this, Playback);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, options));\n\n _this.settings = {};\n _this._i18n = i18n;\n _this.playerError = playerError;\n _this._consented = false;\n return _this;\n }\n\n /**\n * Gives user consent to playback (mobile devices).\n * @method consent\n */\n\n\n Playback.prototype.consent = function consent() {\n this._consented = true;\n };\n\n /**\n * plays the playback.\n * @method play\n */\n\n\n Playback.prototype.play = function play() {};\n\n /**\n * pauses the playback.\n * @method pause\n */\n\n\n Playback.prototype.pause = function pause() {};\n\n /**\n * stops the playback.\n * @method stop\n */\n\n\n Playback.prototype.stop = function stop() {};\n\n /**\n * seeks the playback to a given `time` in seconds\n * @method seek\n * @param {Number} time should be a number between 0 and the video duration\n */\n\n\n Playback.prototype.seek = function seek(time) {}; // eslint-disable-line no-unused-vars\n\n /**\n * seeks the playback to a given `percentage` in percentage\n * @method seekPercentage\n * @param {Number} time should be a number between 0 and 100\n */\n\n\n Playback.prototype.seekPercentage = function seekPercentage(percentage) {}; // eslint-disable-line no-unused-vars\n\n /**\n * The time that \"0\" now represents relative to when playback started.\n * For a stream with a sliding window this will increase as content is\n * removed from the beginning.\n * @method getStartTimeOffset\n * @return {Number} time (in seconds) that time \"0\" represents.\n */\n\n\n Playback.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return 0;\n };\n\n /**\n * gets the duration in seconds\n * @method getDuration\n * @return {Number} duration (in seconds) of the current source\n */\n\n\n Playback.prototype.getDuration = function getDuration() {\n return 0;\n };\n\n /**\n * checks if the playback is playing.\n * @method isPlaying\n * @return {Boolean} `true` if the current playback is playing, otherwise `false`\n */\n\n\n Playback.prototype.isPlaying = function isPlaying() {\n return false;\n };\n\n /**\n * checks if the playback is ready.\n * @property isReady\n * @type {Boolean} `true` if the current playback is ready, otherwise `false`\n */\n\n\n // eslint-disable-line no-unused-vars\n\n /**\n * gets the playback type (`'vod', 'live', 'aod'`)\n * @method getPlaybackType\n * @return {String} you should write the playback type otherwise it'll assume `'no_op'`\n * @example\n * ```javascript\n * html5VideoPlayback.getPlaybackType() //vod\n * html5AudioPlayback.getPlaybackType() //aod\n * html5VideoPlayback.getPlaybackType() //live\n * flashHlsPlayback.getPlaybackType() //live\n * ```\n */\n Playback.prototype.getPlaybackType = function getPlaybackType() {\n return Playback.NO_OP;\n };\n\n /**\n * checks if the playback is in HD.\n * @method isHighDefinitionInUse\n * @return {Boolean} `true` if the playback is playing in HD, otherwise `false`\n */\n\n\n Playback.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return false;\n };\n\n /**\n * sets the volume for the playback\n * @method volume\n * @param {Number} value a number between 0 (`muted`) to 100 (`max`)\n */\n\n\n Playback.prototype.volume = function volume(value) {}; // eslint-disable-line no-unused-vars\n\n /**\n * enables to configure the playback after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n Playback.prototype.configure = function configure(options) {\n this._options = _clapprZepto2.default.extend(this._options, options);\n };\n\n /**\n * attempt to autoplays the playback.\n * @method attemptAutoPlay\n */\n\n\n Playback.prototype.attemptAutoPlay = function attemptAutoPlay() {\n var _this2 = this;\n\n this.canAutoPlay(function (result, error) {\n // eslint-disable-line no-unused-vars\n result && _this2.play();\n });\n };\n\n /**\n * checks if the playback can autoplay.\n * @method canAutoPlay\n * @param {Function} callback function where first param is Boolean and second param is playback Error or null\n */\n\n\n Playback.prototype.canAutoPlay = function canAutoPlay(cb) {\n cb(true, null); // Assume playback can autoplay by default\n };\n\n (0, _createClass3.default)(Playback, [{\n key: 'isReady',\n get: function get() {\n return false;\n }\n\n /**\n * checks if the playback has closed caption tracks.\n * @property hasClosedCaptionsTracks\n * @type {Boolean}\n */\n\n }, {\n key: 'hasClosedCaptionsTracks',\n get: function get() {\n return this.closedCaptionsTracks.length > 0;\n }\n\n /**\n * gets the playback available closed caption tracks.\n * @property closedCaptionsTracks\n * @type {Array} an array of objects with at least 'id' and 'name' properties\n */\n\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n return [];\n }\n\n /**\n * gets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return -1;\n }\n\n /**\n * sets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n ,\n set: function set(trackId) {}\n }]);\n return Playback;\n}(_ui_object2.default);\n\nexports.default = Playback;\n\n\n(0, _assign2.default)(Playback.prototype, _error_mixin2.default);\n\nPlayback.extend = function (properties) {\n return (0, _utils.extend)(Playback, properties);\n};\n\n/**\n * checks if the playback can play a given `source`\n * If a mimeType is provided then this will be used instead of inferring the mimetype\n * from the source extension.\n * @method canPlay\n * @static\n * @param {String} source the given source ex: `http://example.com/play.mp4`\n * @param {String} [mimeType] the given mime type, ex: `'application/vnd.apple.mpegurl'`\n * @return {Boolean} `true` if the playback is playable, otherwise `false`\n */\nPlayback.canPlay = function (source, mimeType) {\n // eslint-disable-line no-unused-vars\n return false;\n};\n\n/**\n * a playback type for video on demand\n *\n * @property VOD\n * @static\n * @type String\n */\nPlayback.VOD = 'vod';\n/**\n * a playback type for audio on demand\n *\n * @property AOD\n * @static\n * @type String\n */\nPlayback.AOD = 'aod';\n/**\n * a playback type for live video\n *\n * @property LIVE\n * @static\n * @type String\n */\nPlayback.LIVE = 'live';\n/**\n * a default playback type\n *\n * @property NO_OP\n * @static\n * @type String\n */\nPlayback.NO_OP = 'no_op';\n/**\n * the plugin type\n *\n * @property type\n * @static\n * @type String\n */\nPlayback.type = 'playback';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/polyfills.js\":\n/*!*******************************!*\\\n !*** ./src/base/polyfills.js ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * Array.prototype.find\n *\n * Original source : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n * See also : https://tc39.github.io/ecma262/#sec-array.prototype.find\n */\nif (!Array.prototype.find) {\n // eslint-disable-next-line\n Object.defineProperty(Array.prototype, 'find', {\n // Note: ES6 arrow function syntax is not used on purpose to avoid this to be undefined\n value: function value(predicate) {\n // 1. Let O be ? ToObject(this value).\n if (this == null) throw new TypeError('\"this\" is null or not defined');\n\n var o = Object(this);\n\n // 2. Let len be ? ToLength(? Get(O, \"length\")).\n var len = o.length >>> 0;\n\n // 3. If IsCallable(predicate) is false, throw a TypeError exception.\n if (typeof predicate !== 'function') throw new TypeError('predicate must be a function');\n\n // 4. If thisArg was supplied, let T be thisArg; else let T be undefined.\n var thisArg = arguments[1];\n\n // 5. Let k be 0.\n var k = 0;\n\n // 6. Repeat, while k < len\n while (k < len) {\n // a. Let Pk be ! ToString(k).\n // b. Let kValue be ? Get(O, Pk).\n // c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).\n // d. If testResult is true, return kValue.\n var kValue = o[k];\n if (predicate.call(thisArg, kValue, k, o)) return kValue;\n\n // e. Increase k by 1.\n k++;\n }\n\n // 7. Return undefined.\n return undefined;\n }\n });\n}\n\n/***/ }),\n\n/***/ \"./src/base/styler.js\":\n/*!****************************!*\\\n !*** ./src/base/styler.js ***!\n \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _template = __webpack_require__(/*! ./template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Styler = {\n getStyleFor: function getStyleFor(style) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { baseUrl: '' };\n\n return (0, _clapprZepto2.default)('<style class=\"clappr-style\"></style>').html((0, _template2.default)(style.toString())(options));\n }\n};\n\nexports.default = Styler;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/svg_icons.js\":\n/*!*******************************!*\\\n !*** ./src/base/svg_icons.js ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.volumeMute = exports.volume = exports.stop = exports.reload = exports.play = exports.pause = exports.hd = exports.fullscreen = exports.exitFullscreen = exports.cc = undefined;\n\nvar _play = __webpack_require__(/*! ../icons/01-play.svg */ \"./src/icons/01-play.svg\");\n\nvar _play2 = _interopRequireDefault(_play);\n\nvar _pause = __webpack_require__(/*! ../icons/02-pause.svg */ \"./src/icons/02-pause.svg\");\n\nvar _pause2 = _interopRequireDefault(_pause);\n\nvar _stop = __webpack_require__(/*! ../icons/03-stop.svg */ \"./src/icons/03-stop.svg\");\n\nvar _stop2 = _interopRequireDefault(_stop);\n\nvar _volume = __webpack_require__(/*! ../icons/04-volume.svg */ \"./src/icons/04-volume.svg\");\n\nvar _volume2 = _interopRequireDefault(_volume);\n\nvar _mute = __webpack_require__(/*! ../icons/05-mute.svg */ \"./src/icons/05-mute.svg\");\n\nvar _mute2 = _interopRequireDefault(_mute);\n\nvar _expand = __webpack_require__(/*! ../icons/06-expand.svg */ \"./src/icons/06-expand.svg\");\n\nvar _expand2 = _interopRequireDefault(_expand);\n\nvar _shrink = __webpack_require__(/*! ../icons/07-shrink.svg */ \"./src/icons/07-shrink.svg\");\n\nvar _shrink2 = _interopRequireDefault(_shrink);\n\nvar _hd = __webpack_require__(/*! ../icons/08-hd.svg */ \"./src/icons/08-hd.svg\");\n\nvar _hd2 = _interopRequireDefault(_hd);\n\nvar _cc = __webpack_require__(/*! ../icons/09-cc.svg */ \"./src/icons/09-cc.svg\");\n\nvar _cc2 = _interopRequireDefault(_cc);\n\nvar _reload = __webpack_require__(/*! ../icons/10-reload.svg */ \"./src/icons/10-reload.svg\");\n\nvar _reload2 = _interopRequireDefault(_reload);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar cc = exports.cc = _cc2.default;\nvar exitFullscreen = exports.exitFullscreen = _shrink2.default;\nvar fullscreen = exports.fullscreen = _expand2.default;\nvar hd = exports.hd = _hd2.default;\nvar pause = exports.pause = _pause2.default;\nvar play = exports.play = _play2.default;\nvar reload = exports.reload = _reload2.default;\nvar stop = exports.stop = _stop2.default;\nvar volume = exports.volume = _volume2.default;\nvar volumeMute = exports.volumeMute = _mute2.default;\n\nexports.default = {\n cc: _cc2.default,\n exitFullscreen: _shrink2.default,\n fullscreen: _expand2.default,\n hd: _hd2.default,\n pause: _pause2.default,\n play: _play2.default,\n reload: _reload2.default,\n stop: _stop2.default,\n volume: _volume2.default,\n volumeMute: _mute2.default\n};\n\n/***/ }),\n\n/***/ \"./src/base/template.js\":\n/*!******************************!*\\\n !*** ./src/base/template.js ***!\n \\******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable no-var */\n// Simple JavaScript Templating\n// Paul Miller (http://paulmillr.com)\n// http://underscorejs.org\n// (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\n// By default, Underscore uses ERB-style template delimiters, change the\n// following template settings to use alternative delimiters.\nvar settings = {\n evaluate: /<%([\\s\\S]+?)%>/g,\n interpolate: /<%=([\\s\\S]+?)%>/g,\n escape: /<%-([\\s\\S]+?)%>/g\n\n // When customizing `templateSettings`, if you don't want to define an\n // interpolation, evaluation or escaping regex, we need one that is\n // guaranteed not to match.\n};var noMatch = /(.)^/;\n\n// Certain characters need to be escaped so that they can be put into a\n// string literal.\nvar escapes = {\n '\\'': '\\'',\n '\\\\': '\\\\',\n '\\r': 'r',\n '\\n': 'n',\n '\\t': 't',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n};\n\nvar escaper = /\\\\|'|\\r|\\n|\\t|\\u2028|\\u2029/g;\n\n// List of HTML entities for escaping.\nvar htmlEntities = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n '\\'': '&#x27;'\n};\n\nvar entityRe = new RegExp('[&<>\"\\']', 'g');\n\nvar escapeExpr = function escapeExpr(string) {\n if (string === null) return '';\n return ('' + string).replace(entityRe, function (match) {\n return htmlEntities[match];\n });\n};\n\nvar counter = 0;\n\n// JavaScript micro-templating, similar to John Resig's implementation.\n// Underscore templating handles arbitrary delimiters, preserves whitespace,\n// and correctly escapes quotes within interpolated code.\nvar tmpl = function tmpl(text, data) {\n var render;\n\n // Combine delimiters into one regular expression via alternation.\n var matcher = new RegExp([(settings.escape || noMatch).source, (settings.interpolate || noMatch).source, (settings.evaluate || noMatch).source].join('|') + '|$', 'g');\n\n // Compile the template source, escaping string literals appropriately.\n var index = 0;\n var source = '__p+=\\'';\n text.replace(matcher, function (match, escape, interpolate, evaluate, offset) {\n source += text.slice(index, offset).replace(escaper, function (match) {\n return '\\\\' + escapes[match];\n });\n\n if (escape) source += '\\'+\\n((__t=(' + escape + '))==null?\\'\\':escapeExpr(__t))+\\n\\'';\n\n if (interpolate) source += '\\'+\\n((__t=(' + interpolate + '))==null?\\'\\':__t)+\\n\\'';\n\n if (evaluate) source += '\\';\\n' + evaluate + '\\n__p+=\\'';\n\n index = offset + match.length;\n return match;\n });\n source += '\\';\\n';\n\n // If a variable is not specified, place data values in local scope.\n if (!settings.variable) source = 'with(obj||{}){\\n' + source + '}\\n';\n\n source = 'var __t,__p=\\'\\',__j=Array.prototype.join,' + 'print=function(){__p+=__j.call(arguments,\\'\\');};\\n' + source + 'return __p;\\n//# sourceURL=/microtemplates/source[' + counter++ + ']';\n\n try {\n /*jshint -W054 */\n // TODO: find a way to avoid eval\n render = new Function(settings.variable || 'obj', 'escapeExpr', source);\n } catch (e) {\n e.source = source;\n throw e;\n }\n\n if (data) return render(data, escapeExpr);\n var template = function template(data) {\n return render.call(this, data, escapeExpr);\n };\n\n // Provide the compiled function source as a convenience for precompilation.\n template.source = 'function(' + (settings.variable || 'obj') + '){\\n' + source + '}';\n\n return template;\n};\ntmpl.settings = settings;\n\nexports.default = tmpl;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/ui_container_plugin.js\":\n/*!*****************************************!*\\\n !*** ./src/base/ui_container_plugin.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _ui_object = __webpack_require__(/*! ./ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The base class for an ui container plugin\n * @class UIContainerPlugin\n * @constructor\n * @extends UIObject\n * @module base\n */\nvar UIContainerPlugin = function (_UIObject) {\n (0, _inherits3.default)(UIContainerPlugin, _UIObject);\n (0, _createClass3.default)(UIContainerPlugin, [{\n key: 'playerError',\n get: function get() {\n return this.container.playerError;\n }\n }]);\n\n function UIContainerPlugin(container) {\n (0, _classCallCheck3.default)(this, UIContainerPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, container.options));\n\n _this.container = container;\n _this.enabled = true;\n _this.bindEvents();\n return _this;\n }\n\n UIContainerPlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.$el.show();\n this.enabled = true;\n }\n };\n\n UIContainerPlugin.prototype.disable = function disable() {\n this.stopListening();\n this.$el.hide();\n this.enabled = false;\n };\n\n UIContainerPlugin.prototype.bindEvents = function bindEvents() {};\n\n return UIContainerPlugin;\n}(_ui_object2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = UIContainerPlugin;\n\n\n(0, _assign2.default)(UIContainerPlugin.prototype, _error_mixin2.default);\n\nUIContainerPlugin.extend = function (properties) {\n return (0, _utils.extend)(UIContainerPlugin, properties);\n};\n\nUIContainerPlugin.type = 'container';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/ui_core_plugin.js\":\n/*!************************************!*\\\n !*** ./src/base/ui_core_plugin.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _ui_object = __webpack_require__(/*! ./ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar UICorePlugin = function (_UIObject) {\n (0, _inherits3.default)(UICorePlugin, _UIObject);\n (0, _createClass3.default)(UICorePlugin, [{\n key: 'playerError',\n get: function get() {\n return this.core.playerError;\n }\n }]);\n\n function UICorePlugin(core) {\n (0, _classCallCheck3.default)(this, UICorePlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, core.options));\n\n _this.core = core;\n _this.enabled = true;\n _this.bindEvents();\n _this.render();\n return _this;\n }\n\n UICorePlugin.prototype.bindEvents = function bindEvents() {};\n\n UICorePlugin.prototype.getExternalInterface = function getExternalInterface() {\n return {};\n };\n\n UICorePlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.$el.show();\n this.enabled = true;\n }\n };\n\n UICorePlugin.prototype.disable = function disable() {\n this.stopListening();\n this.$el.hide();\n this.enabled = false;\n };\n\n UICorePlugin.prototype.render = function render() {\n return this;\n };\n\n return UICorePlugin;\n}(_ui_object2.default);\n\nexports.default = UICorePlugin;\n\n\n(0, _assign2.default)(UICorePlugin.prototype, _error_mixin2.default);\n\nUICorePlugin.extend = function (properties) {\n return (0, _utils.extend)(UICorePlugin, properties);\n};\n\nUICorePlugin.type = 'core';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/ui_object.js\":\n/*!*******************************!*\\\n !*** ./src/base/ui_object.js ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _base_object = __webpack_require__(/*! ./base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar delegateEventSplitter = /^(\\S+)\\s*(.*)$/;\n\n/**\n * A base class to create ui object.\n * @class UIObject\n * @constructor\n * @extends BaseObject\n * @module base\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar UIObject = function (_BaseObject) {\n (0, _inherits3.default)(UIObject, _BaseObject);\n (0, _createClass3.default)(UIObject, [{\n key: 'tagName',\n\n /**\n * a unique id prefixed with `'c'`, `c1, c232`\n *\n * @property cid\n * @type String\n */\n /**\n * the dom element itself\n *\n * @property el\n * @type HTMLElement\n */\n /**\n * the dom element wrapped by `$`\n *\n * @property $el\n * @type HTMLElement\n */\n\n /**\n * gets the tag name for the ui component\n * @method tagName\n * @default div\n * @return {String} tag's name\n */\n get: function get() {\n return 'div';\n }\n /**\n * a literal object mapping element's events to methods\n * @property events\n * @type Object\n * @example\n *\n *```javascript\n *\n * class MyButton extends UIObject {\n * constructor(options) {\n * super(options)\n * this.myId = 0\n * }\n * get events() { return { 'click': 'myClick' } }\n * myClick(){ this.myId = 42 }\n * }\n *\n * // when you click on MyButton the method `myClick` will be called\n *```\n */\n\n }, {\n key: 'events',\n get: function get() {\n return {};\n }\n /**\n * a literal object mapping attributes and values to the element\n * element's attribute name and the value the attribute value\n * @property attributes\n * @type Object\n * @example\n *\n *```javascript\n *\n * class MyButton extends UIObject {\n * constructor(options) { super(options) }\n * get attributes() { return { class: 'my-button'} }\n * }\n *\n * // MyButton.el.className will be 'my-button'\n * ```\n */\n\n }, {\n key: 'attributes',\n get: function get() {\n return {};\n }\n\n /**\n * it builds an ui component by:\n * * creating an id for the component `cid`\n * * making sure the element is created `$el`\n * * delegating all `events` to the element\n * @method constructor\n * @param {Object} options the options object\n */\n\n }]);\n\n function UIObject(options) {\n (0, _classCallCheck3.default)(this, UIObject);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n _this.cid = (0, _utils.uniqueId)('c');\n _this._ensureElement();\n _this.delegateEvents();\n return _this;\n }\n\n /**\n * selects within the component.\n * @method $\n * @param {String} selector a selector to find within the component.\n * @return {HTMLElement} an element, if it exists.\n * @example\n * ```javascript\n * fullScreenBarUIComponent.$('.button-full') //will return only `.button-full` within the component\n * ```\n */\n\n\n UIObject.prototype.$ = function $(selector) {\n return this.$el.find(selector);\n };\n\n /**\n * render the component, usually attach it to a real existent `element`\n * @method render\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.render = function render() {\n return this;\n };\n\n /**\n * removes the ui component from DOM\n * @method destroy\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.destroy = function destroy() {\n this.$el.remove();\n this.stopListening();\n this.undelegateEvents();\n return this;\n };\n\n /**\n * set element to `el` and `$el`\n * @method setElement\n * @param {HTMLElement} element\n * @param {Boolean} delegate whether is delegate or not\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.setElement = function setElement(element, delegate) {\n if (this.$el) this.undelegateEvents();\n this.$el = _clapprZepto2.default.zepto.isZ(element) ? element : (0, _clapprZepto2.default)(element);\n this.el = this.$el[0];\n if (delegate !== false) this.delegateEvents();\n return this;\n };\n\n /**\n * delegates all the original `events` on `element` to its callbacks\n * @method delegateEvents\n * @param {Object} events\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.delegateEvents = function delegateEvents(events) {\n if (!(events || (events = this.events))) return this;\n this.undelegateEvents();\n for (var key in events) {\n var method = events[key];\n if (method && method.constructor !== Function) method = this[events[key]];\n if (!method) continue;\n\n var match = key.match(delegateEventSplitter);\n var eventName = match[1],\n selector = match[2];\n eventName += '.delegateEvents' + this.cid;\n if (selector === '') this.$el.on(eventName, method.bind(this));else this.$el.on(eventName, selector, method.bind(this));\n }\n return this;\n };\n\n /**\n * undelegats all the `events`\n * @method undelegateEvents\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.undelegateEvents = function undelegateEvents() {\n this.$el.off('.delegateEvents' + this.cid);\n return this;\n };\n\n /**\n * ensures the creation of this ui component\n * @method _ensureElement\n * @private\n */\n\n\n UIObject.prototype._ensureElement = function _ensureElement() {\n if (!this.el) {\n var attrs = _clapprZepto2.default.extend({}, this.attributes);\n if (this.id) attrs.id = this.id;\n if (this.className) attrs['class'] = this.className;\n var $el = _utils.DomRecycler.create(this.tagName).attr(attrs);\n this.setElement($el, false);\n } else {\n this.setElement(this.el, false);\n }\n };\n\n return UIObject;\n}(_base_object2.default);\n\nexports.default = UIObject;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/utils.js\":\n/*!***************************!*\\\n !*** ./src/base/utils.js ***!\n \\***************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SvgIcons = exports.DoubleEventHandler = exports.DomRecycler = exports.cancelAnimationFrame = exports.requestAnimationFrame = exports.QueryString = exports.Config = exports.Fullscreen = undefined;\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _defineProperty = __webpack_require__(/*! babel-runtime/core-js/object/define-property */ \"./node_modules/babel-runtime/core-js/object/define-property.js\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nvar _getOwnPropertyDescriptor = __webpack_require__(/*! babel-runtime/core-js/object/get-own-property-descriptor */ \"./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js\");\n\nvar _getOwnPropertyDescriptor2 = _interopRequireDefault(_getOwnPropertyDescriptor);\n\nexports.assign = assign;\nexports.extend = extend;\nexports.formatTime = formatTime;\nexports.seekStringToSeconds = seekStringToSeconds;\nexports.uniqueId = uniqueId;\nexports.isNumber = isNumber;\nexports.currentScriptUrl = currentScriptUrl;\nexports.getBrowserLanguage = getBrowserLanguage;\nexports.now = now;\nexports.removeArrayItem = removeArrayItem;\nexports.listContainsIgnoreCase = listContainsIgnoreCase;\nexports.canAutoPlayMedia = canAutoPlayMedia;\n\n__webpack_require__(/*! ./polyfills */ \"./src/base/polyfills.js\");\n\nvar _browser = __webpack_require__(/*! ../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _media = __webpack_require__(/*! ./media */ \"./src/base/media.js\");\n\nvar _media2 = _interopRequireDefault(_media);\n\nvar _svg_icons = __webpack_require__(/*! ./svg_icons */ \"./src/base/svg_icons.js\");\n\nvar _svg_icons2 = _interopRequireDefault(_svg_icons);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction assign(obj, source) {\n if (source) {\n for (var prop in source) {\n var propDescriptor = (0, _getOwnPropertyDescriptor2.default)(source, prop);\n propDescriptor ? (0, _defineProperty2.default)(obj, prop, propDescriptor) : obj[prop] = source[prop];\n }\n }\n return obj;\n} // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n/*jshint -W079 */\n\nfunction extend(parent, properties) {\n var Surrogate = function (_parent) {\n (0, _inherits3.default)(Surrogate, _parent);\n\n function Surrogate() {\n (0, _classCallCheck3.default)(this, Surrogate);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _parent.call.apply(_parent, [this].concat(args)));\n\n if (properties.initialize) properties.initialize.apply(_this, args);\n\n return _this;\n }\n\n return Surrogate;\n }(parent);\n\n assign(Surrogate.prototype, properties);\n return Surrogate;\n}\n\nfunction formatTime(time, paddedHours) {\n if (!isFinite(time)) return '--:--';\n\n time = time * 1000;\n time = parseInt(time / 1000);\n var seconds = time % 60;\n time = parseInt(time / 60);\n var minutes = time % 60;\n time = parseInt(time / 60);\n var hours = time % 24;\n var days = parseInt(time / 24);\n var out = '';\n if (days && days > 0) {\n out += days + ':';\n if (hours < 1) out += '00:';\n }\n if (hours && hours > 0 || paddedHours) out += ('0' + hours).slice(-2) + ':';\n out += ('0' + minutes).slice(-2) + ':';\n out += ('0' + seconds).slice(-2);\n return out.trim();\n}\n\nvar Fullscreen = exports.Fullscreen = {\n fullscreenElement: function fullscreenElement() {\n return document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement;\n },\n requestFullscreen: function requestFullscreen(el) {\n if (el.requestFullscreen) el.requestFullscreen();else if (el.webkitRequestFullscreen) el.webkitRequestFullscreen();else if (el.mozRequestFullScreen) el.mozRequestFullScreen();else if (el.msRequestFullscreen) el.msRequestFullscreen();else if (el.querySelector && el.querySelector('video') && el.querySelector('video').webkitEnterFullScreen) el.querySelector('video').webkitEnterFullScreen();else if (el.webkitEnterFullScreen) el.webkitEnterFullScreen();\n },\n cancelFullscreen: function cancelFullscreen() {\n var el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;\n\n if (el.exitFullscreen) el.exitFullscreen();else if (el.webkitCancelFullScreen) el.webkitCancelFullScreen();else if (el.webkitExitFullscreen) el.webkitExitFullscreen();else if (el.mozCancelFullScreen) el.mozCancelFullScreen();else if (el.msExitFullscreen) el.msExitFullscreen();\n },\n fullscreenEnabled: function fullscreenEnabled() {\n return !!(document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled);\n }\n};\n\nvar Config = exports.Config = function () {\n function Config() {\n (0, _classCallCheck3.default)(this, Config);\n }\n\n Config._defaultConfig = function _defaultConfig() {\n return {\n volume: {\n value: 100,\n parse: parseInt\n }\n };\n };\n\n Config._defaultValueFor = function _defaultValueFor(key) {\n try {\n return this._defaultConfig()[key].parse(this._defaultConfig()[key].value);\n } catch (e) {\n return undefined;\n }\n };\n\n Config._createKeyspace = function _createKeyspace(key) {\n return 'clappr.' + document.domain + '.' + key;\n };\n\n Config.restore = function restore(key) {\n if (_browser2.default.hasLocalstorage && localStorage[this._createKeyspace(key)]) return this._defaultConfig()[key].parse(localStorage[this._createKeyspace(key)]);\n\n return this._defaultValueFor(key);\n };\n\n Config.persist = function persist(key, value) {\n if (_browser2.default.hasLocalstorage) {\n try {\n localStorage[this._createKeyspace(key)] = value;\n return true;\n } catch (e) {\n return false;\n }\n }\n };\n\n return Config;\n}();\n\nvar QueryString = exports.QueryString = function () {\n function QueryString() {\n (0, _classCallCheck3.default)(this, QueryString);\n }\n\n QueryString.parse = function parse(paramsString) {\n var match = void 0;\n var pl = /\\+/g,\n // Regex for replacing addition symbol with a space\n search = /([^&=]+)=?([^&]*)/g,\n decode = function decode(s) {\n return decodeURIComponent(s.replace(pl, ' '));\n },\n params = {};\n while (match = search.exec(paramsString)) {\n // eslint-disable-line no-cond-assign\n params[decode(match[1]).toLowerCase()] = decode(match[2]);\n }\n return params;\n };\n\n (0, _createClass3.default)(QueryString, null, [{\n key: 'params',\n get: function get() {\n var query = window.location.search.substring(1);\n if (query !== this.query) {\n this._urlParams = this.parse(query);\n this.query = query;\n }\n return this._urlParams;\n }\n }, {\n key: 'hashParams',\n get: function get() {\n var hash = window.location.hash.substring(1);\n if (hash !== this.hash) {\n this._hashParams = this.parse(hash);\n this.hash = hash;\n }\n return this._hashParams;\n }\n }]);\n return QueryString;\n}();\n\nfunction seekStringToSeconds() {\n var paramName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 't';\n\n var seconds = 0;\n var seekString = QueryString.params[paramName] || QueryString.hashParams[paramName] || '';\n var parts = seekString.match(/[0-9]+[hms]+/g) || [];\n if (parts.length > 0) {\n var factor = { 'h': 3600, 'm': 60, 's': 1 };\n parts.forEach(function (el) {\n if (el) {\n var suffix = el[el.length - 1];\n var time = parseInt(el.slice(0, el.length - 1), 10);\n seconds += time * factor[suffix];\n }\n });\n } else if (seekString) {\n seconds = parseInt(seekString, 10);\n }\n\n return seconds;\n}\n\nvar idsCounter = {};\n\nfunction uniqueId(prefix) {\n idsCounter[prefix] || (idsCounter[prefix] = 0);\n var id = ++idsCounter[prefix];\n return prefix + id;\n}\n\nfunction isNumber(value) {\n return value - parseFloat(value) + 1 >= 0;\n}\n\nfunction currentScriptUrl() {\n var scripts = document.getElementsByTagName('script');\n return scripts.length ? scripts[scripts.length - 1].src : '';\n}\n\nvar requestAnimationFrame = exports.requestAnimationFrame = (window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\n window.setTimeout(fn, 1000 / 60);\n}).bind(window);\n\nvar cancelAnimationFrame = exports.cancelAnimationFrame = (window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.webkitCancelAnimationFrame || window.clearTimeout).bind(window);\n\nfunction getBrowserLanguage() {\n return window.navigator && window.navigator.language;\n}\n\nfunction now() {\n if (window.performance && window.performance.now) return performance.now();\n\n return Date.now();\n}\n\n// remove the item from the array if it exists in the array\nfunction removeArrayItem(arr, item) {\n var i = arr.indexOf(item);\n if (i >= 0) arr.splice(i, 1);\n}\n\n// find an item regardless of its letter case\nfunction listContainsIgnoreCase(item, items) {\n if (item === undefined || items === undefined) return false;\n return items.find(function (itemEach) {\n return item.toLowerCase() === itemEach.toLowerCase();\n }) !== undefined;\n}\n\n// https://github.com/video-dev/can-autoplay\nfunction canAutoPlayMedia(cb, options) {\n options = (0, _assign2.default)({\n inline: false,\n muted: false,\n timeout: 250,\n type: 'video',\n source: _media2.default.mp4,\n element: null\n }, options);\n\n var element = options.element ? options.element : document.createElement(options.type);\n\n element.muted = options.muted;\n if (options.muted === true) element.setAttribute('muted', 'muted');\n\n if (options.inline === true) element.setAttribute('playsinline', 'playsinline');\n\n element.src = options.source;\n\n var promise = element.play();\n\n var timeoutId = setTimeout(function () {\n setResult(false, new Error('Timeout ' + options.timeout + ' ms has been reached'));\n }, options.timeout);\n\n var setResult = function setResult(result) {\n var error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n clearTimeout(timeoutId);\n cb(result, error);\n };\n\n if (promise !== undefined) {\n promise.then(function () {\n return setResult(true);\n }).catch(function (err) {\n return setResult(false, err);\n });\n } else {\n setResult(true);\n }\n}\n\n// Simple Zepto element factory with video recycle feature.\nvar videoStack = [];\n\nvar DomRecycler = exports.DomRecycler = function () {\n function DomRecycler() {\n (0, _classCallCheck3.default)(this, DomRecycler);\n }\n\n DomRecycler.configure = function configure(options) {\n this.options = _clapprZepto2.default.extend(this.options, options);\n };\n\n DomRecycler.create = function create(name) {\n if (this.options.recycleVideo && name === 'video' && videoStack.length > 0) return videoStack.shift();\n\n return (0, _clapprZepto2.default)('<' + name + '>');\n };\n\n DomRecycler.garbage = function garbage($el) {\n // Expect Zepto collection with single element (does not iterate!)\n if (!this.options.recycleVideo || $el[0].tagName.toUpperCase() !== 'VIDEO') return;\n $el.children().remove();\n videoStack.push($el);\n };\n\n return DomRecycler;\n}();\n\nDomRecycler.options = { recycleVideo: false };\n\nvar DoubleEventHandler = exports.DoubleEventHandler = function () {\n function DoubleEventHandler() {\n var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 500;\n (0, _classCallCheck3.default)(this, DoubleEventHandler);\n\n this.delay = delay;\n this.lastTime = 0;\n }\n\n DoubleEventHandler.prototype.handle = function handle(event, cb) {\n var prevented = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n // Based on http://jsfiddle.net/brettwp/J4djY/\n var currentTime = new Date().getTime();\n var diffTime = currentTime - this.lastTime;\n\n if (diffTime < this.delay && diffTime > 0) {\n cb();\n prevented && event.preventDefault();\n }\n\n this.lastTime = currentTime;\n };\n\n return DoubleEventHandler;\n}();\n\nvar SvgIcons = exports.SvgIcons = _svg_icons2.default;\n\nexports.default = {\n Config: Config,\n Fullscreen: Fullscreen,\n QueryString: QueryString,\n DomRecycler: DomRecycler,\n extend: extend,\n formatTime: formatTime,\n seekStringToSeconds: seekStringToSeconds,\n uniqueId: uniqueId,\n currentScriptUrl: currentScriptUrl,\n isNumber: isNumber,\n requestAnimationFrame: requestAnimationFrame,\n cancelAnimationFrame: cancelAnimationFrame,\n getBrowserLanguage: getBrowserLanguage,\n now: now,\n removeArrayItem: removeArrayItem,\n canAutoPlayMedia: canAutoPlayMedia,\n Media: _media2.default,\n DoubleEventHandler: DoubleEventHandler,\n SvgIcons: _svg_icons2.default\n};\n\n/***/ }),\n\n/***/ \"./src/components/browser/browser.js\":\n/*!*******************************************!*\\\n !*** ./src/components/browser/browser.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getDevice = exports.getViewportSize = exports.getOsData = exports.getBrowserData = exports.getBrowserInfo = undefined;\n\nvar _getIterator2 = __webpack_require__(/*! babel-runtime/core-js/get-iterator */ \"./node_modules/babel-runtime/core-js/get-iterator.js\");\n\nvar _getIterator3 = _interopRequireDefault(_getIterator2);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _browser_data = __webpack_require__(/*! ./browser_data */ \"./src/components/browser/browser_data.js\");\n\nvar _browser_data2 = _interopRequireDefault(_browser_data);\n\nvar _os_data = __webpack_require__(/*! ./os_data */ \"./src/components/browser/os_data.js\");\n\nvar _os_data2 = _interopRequireDefault(_os_data);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Browser = {};\n\nvar hasLocalstorage = function hasLocalstorage() {\n try {\n localStorage.setItem('clappr', 'clappr');\n localStorage.removeItem('clappr');\n return true;\n } catch (e) {\n return false;\n }\n};\n\nvar hasFlash = function hasFlash() {\n try {\n var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');\n return !!fo;\n } catch (e) {\n return !!(navigator.mimeTypes && navigator.mimeTypes['application/x-shockwave-flash'] !== undefined && navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin);\n }\n};\n\nvar getBrowserInfo = exports.getBrowserInfo = function getBrowserInfo(ua) {\n var parts = ua.match(/\\b(playstation 4|nx|opera|chrome|safari|firefox|msie|trident(?=\\/))\\/?\\s*(\\d+)/i) || [],\n extra = void 0;\n if (/trident/i.test(parts[1])) {\n extra = /\\brv[ :]+(\\d+)/g.exec(ua) || [];\n return {\n name: 'IE',\n version: parseInt(extra[1] || '')\n };\n } else if (parts[1] === 'Chrome') {\n extra = ua.match(/\\bOPR\\/(\\d+)/);\n if (extra != null) return { name: 'Opera', version: parseInt(extra[1]) };\n\n extra = ua.match(/\\bEdge\\/(\\d+)/);\n if (extra != null) return { name: 'Edge', version: parseInt(extra[1]) };\n } else if (/android/i.test(ua) && (extra = ua.match(/version\\/(\\d+)/i))) {\n parts.splice(1, 1, 'Android WebView');\n parts.splice(2, 1, extra[1]);\n }\n parts = parts[2] ? [parts[1], parts[2]] : [navigator.appName, navigator.appVersion, '-?'];\n\n return {\n name: parts[0],\n version: parseInt(parts[1])\n };\n};\n\n// Get browser data\nvar getBrowserData = exports.getBrowserData = function getBrowserData() {\n var browserObject = {};\n var userAgent = Browser.userAgent.toLowerCase();\n\n // Check browser type\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = (0, _getIterator3.default)(_browser_data2.default), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var browser = _step.value;\n\n var browserRegExp = new RegExp(browser.identifier.toLowerCase());\n var browserRegExpResult = browserRegExp.exec(userAgent);\n\n if (browserRegExpResult != null && browserRegExpResult[1]) {\n browserObject.name = browser.name;\n browserObject.group = browser.group;\n\n // Check version\n if (browser.versionIdentifier) {\n var versionRegExp = new RegExp(browser.versionIdentifier.toLowerCase());\n var versionRegExpResult = versionRegExp.exec(userAgent);\n\n if (versionRegExpResult != null && versionRegExpResult[1]) setBrowserVersion(versionRegExpResult[1], browserObject);\n } else {\n setBrowserVersion(browserRegExpResult[1], browserObject);\n }\n break;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return browserObject;\n};\n\n// Set browser version\nvar setBrowserVersion = function setBrowserVersion(version, browserObject) {\n var splitVersion = version.split('.', 2);\n browserObject.fullVersion = version;\n\n // Major version\n if (splitVersion[0]) browserObject.majorVersion = parseInt(splitVersion[0]);\n\n // Minor version\n if (splitVersion[1]) browserObject.minorVersion = parseInt(splitVersion[1]);\n};\n\n// Get OS data\nvar getOsData = exports.getOsData = function getOsData() {\n var osObject = {};\n var userAgent = Browser.userAgent.toLowerCase();\n\n // Check browser type\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = (0, _getIterator3.default)(_os_data2.default), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var os = _step2.value;\n\n var osRegExp = new RegExp(os.identifier.toLowerCase());\n var osRegExpResult = osRegExp.exec(userAgent);\n\n if (osRegExpResult != null) {\n osObject.name = os.name;\n osObject.group = os.group;\n\n // Version defined\n if (os.version) {\n setOsVersion(os.version, os.versionSeparator ? os.versionSeparator : '.', osObject);\n\n // Version detected\n } else if (osRegExpResult[1]) {\n setOsVersion(osRegExpResult[1], os.versionSeparator ? os.versionSeparator : '.', osObject);\n\n // Version identifier\n } else if (os.versionIdentifier) {\n var versionRegExp = new RegExp(os.versionIdentifier.toLowerCase());\n var versionRegExpResult = versionRegExp.exec(userAgent);\n\n if (versionRegExpResult != null && versionRegExpResult[1]) setOsVersion(versionRegExpResult[1], os.versionSeparator ? os.versionSeparator : '.', osObject);\n }\n break;\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n return osObject;\n};\n\n// Set OS version\nvar setOsVersion = function setOsVersion(version, separator, osObject) {\n var finalSeparator = separator.substr(0, 1) == '[' ? new RegExp(separator, 'g') : separator;\n var splitVersion = version.split(finalSeparator, 2);\n\n if (separator != '.') version = version.replace(new RegExp(separator, 'g'), '.');\n\n osObject.fullVersion = version;\n\n // Major version\n if (splitVersion && splitVersion[0]) osObject.majorVersion = parseInt(splitVersion[0]);\n\n // Minor version\n if (splitVersion && splitVersion[1]) osObject.minorVersion = parseInt(splitVersion[1]);\n};\n\n// Set viewport size\nvar getViewportSize = exports.getViewportSize = function getViewportSize() {\n var viewportObject = {};\n\n viewportObject.width = (0, _clapprZepto2.default)(window).width();\n viewportObject.height = (0, _clapprZepto2.default)(window).height();\n\n return viewportObject;\n};\n\n// Set viewport orientation\nvar setViewportOrientation = function setViewportOrientation() {\n switch (window.orientation) {\n case -90:\n case 90:\n Browser.viewport.orientation = 'landscape';\n break;\n default:\n Browser.viewport.orientation = 'portrait';\n break;\n }\n};\n\nvar getDevice = exports.getDevice = function getDevice(ua) {\n var platformRegExp = /\\((iP(?:hone|ad|od))?(?:[^;]*; ){0,2}([^)]+(?=\\)))/;\n var matches = platformRegExp.exec(ua);\n var device = matches && (matches[1] || matches[2]) || '';\n return device;\n};\n\nvar browserInfo = getBrowserInfo(navigator.userAgent);\n\nBrowser.isEdge = /edge/i.test(navigator.userAgent);\nBrowser.isChrome = /chrome|CriOS/i.test(navigator.userAgent) && !Browser.isEdge;\nBrowser.isSafari = /safari/i.test(navigator.userAgent) && !Browser.isChrome && !Browser.isEdge;\nBrowser.isFirefox = /firefox/i.test(navigator.userAgent);\nBrowser.isLegacyIE = !!window.ActiveXObject;\nBrowser.isIE = Browser.isLegacyIE || /trident.*rv:1\\d/i.test(navigator.userAgent);\nBrowser.isIE11 = /trident.*rv:11/i.test(navigator.userAgent);\nBrowser.isChromecast = Browser.isChrome && /CrKey/i.test(navigator.userAgent);\nBrowser.isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone|IEMobile|Mobile Safari|Opera Mini/i.test(navigator.userAgent);\nBrowser.isiOS = /iPad|iPhone|iPod/i.test(navigator.userAgent);\nBrowser.isAndroid = /Android/i.test(navigator.userAgent);\nBrowser.isWindowsPhone = /Windows Phone/i.test(navigator.userAgent);\nBrowser.isWin8App = /MSAppHost/i.test(navigator.userAgent);\nBrowser.isWiiU = /WiiU/i.test(navigator.userAgent);\nBrowser.isPS4 = /PlayStation 4/i.test(navigator.userAgent);\nBrowser.hasLocalstorage = hasLocalstorage();\nBrowser.hasFlash = hasFlash();\n\n/**\n* @deprecated\n* This parameter currently exists for retrocompatibility reasons.\n* Use Browser.data.name instead.\n*/\nBrowser.name = browserInfo.name;\n\n/**\n* @deprecated\n* This parameter currently exists for retrocompatibility reasons.\n* Use Browser.data.fullVersion instead.\n*/\nBrowser.version = browserInfo.version;\n\nBrowser.userAgent = navigator.userAgent;\nBrowser.data = getBrowserData();\nBrowser.os = getOsData();\nBrowser.viewport = getViewportSize();\nBrowser.device = getDevice(Browser.userAgent);\ntypeof window.orientation !== 'undefined' && setViewportOrientation();\n\nexports.default = Browser;\n\n/***/ }),\n\n/***/ \"./src/components/browser/browser_data.js\":\n/*!************************************************!*\\\n !*** ./src/components/browser/browser_data.js ***!\n \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable no-useless-escape */\n// The order of the following arrays is important, be careful if you change it.\n\nvar BROWSER_DATA = [{\n name: 'Chromium',\n group: 'Chrome',\n identifier: 'Chromium/([0-9\\.]*)'\n}, {\n name: 'Chrome Mobile',\n group: 'Chrome',\n identifier: 'Chrome/([0-9\\.]*) Mobile',\n versionIdentifier: 'Chrome/([0-9\\.]*)'\n}, {\n name: 'Chrome',\n group: 'Chrome',\n identifier: 'Chrome/([0-9\\.]*)'\n}, {\n name: 'Chrome for iOS',\n group: 'Chrome',\n identifier: 'CriOS/([0-9\\.]*)'\n}, {\n name: 'Android Browser',\n group: 'Chrome',\n identifier: 'CrMo/([0-9\\.]*)'\n}, {\n name: 'Firefox',\n group: 'Firefox',\n identifier: 'Firefox/([0-9\\.]*)'\n}, {\n name: 'Opera Mini',\n group: 'Opera',\n identifier: 'Opera Mini/([0-9\\.]*)'\n}, {\n name: 'Opera',\n group: 'Opera',\n identifier: 'Opera ([0-9\\.]*)'\n}, {\n name: 'Opera',\n group: 'Opera',\n identifier: 'Opera/([0-9\\.]*)',\n versionIdentifier: 'Version/([0-9\\.]*)'\n}, {\n name: 'IEMobile',\n group: 'Explorer',\n identifier: 'IEMobile/([0-9\\.]*)'\n}, {\n name: 'Internet Explorer',\n group: 'Explorer',\n identifier: 'MSIE ([a-zA-Z0-9\\.]*)'\n}, {\n name: 'Internet Explorer',\n group: 'Explorer',\n identifier: 'Trident/([0-9\\.]*)',\n versionIdentifier: 'rv:([0-9\\.]*)'\n}, {\n name: 'Spartan',\n group: 'Spartan',\n identifier: 'Edge/([0-9\\.]*)',\n versionIdentifier: 'Edge/([0-9\\.]*)'\n}, {\n name: 'Safari',\n group: 'Safari',\n identifier: 'Safari/([0-9\\.]*)',\n versionIdentifier: 'Version/([0-9\\.]*)'\n}];\n\nexports.default = BROWSER_DATA;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/browser/index.js\":\n/*!*****************************************!*\\\n !*** ./src/components/browser/index.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _browser = __webpack_require__(/*! ./browser */ \"./src/components/browser/browser.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _browser2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/browser/os_data.js\":\n/*!*******************************************!*\\\n !*** ./src/components/browser/os_data.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable no-useless-escape */\n// The order of the following arrays is important, be careful if you change it.\n\nvar OS_DATA = [{\n name: 'Windows 2000',\n group: 'Windows',\n identifier: 'Windows NT 5.0',\n version: '5.0'\n}, {\n name: 'Windows XP',\n group: 'Windows',\n identifier: 'Windows NT 5.1',\n version: '5.1'\n}, {\n name: 'Windows Vista',\n group: 'Windows',\n identifier: 'Windows NT 6.0',\n version: '6.0'\n}, {\n name: 'Windows 7',\n group: 'Windows',\n identifier: 'Windows NT 6.1',\n version: '7.0'\n}, {\n name: 'Windows 8',\n group: 'Windows',\n identifier: 'Windows NT 6.2',\n version: '8.0'\n}, {\n name: 'Windows 8.1',\n group: 'Windows',\n identifier: 'Windows NT 6.3',\n version: '8.1'\n}, {\n name: 'Windows 10',\n group: 'Windows',\n identifier: 'Windows NT 10.0',\n version: '10.0'\n}, {\n name: 'Windows Phone',\n group: 'Windows Phone',\n identifier: 'Windows Phone ([0-9\\.]*)'\n}, {\n name: 'Windows Phone',\n group: 'Windows Phone',\n identifier: 'Windows Phone OS ([0-9\\.]*)'\n}, {\n name: 'Windows',\n group: 'Windows',\n identifier: 'Windows'\n}, {\n name: 'Chrome OS',\n group: 'Chrome OS',\n identifier: 'CrOS'\n}, {\n name: 'Android',\n group: 'Android',\n identifier: 'Android',\n versionIdentifier: 'Android ([a-zA-Z0-9\\.-]*)'\n}, {\n name: 'iPad',\n group: 'iOS',\n identifier: 'iPad',\n versionIdentifier: 'OS ([0-9_]*)',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'iPod',\n group: 'iOS',\n identifier: 'iPod',\n versionIdentifier: 'OS ([0-9_]*)',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'iPhone',\n group: 'iOS',\n identifier: 'iPhone OS',\n versionIdentifier: 'OS ([0-9_]*)',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X High Sierra',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])13([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Sierra',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])12([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X El Capitan',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])11([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Yosemite',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])10([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Mavericks',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])9([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Mountain Lion',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])8([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Lion',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])7([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Snow Leopard',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])6([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Leopard',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])5([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Tiger',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])4([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Panther',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])3([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Jaguar',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])2([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Puma',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])1([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Cheetah',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])0([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS',\n group: 'Mac OS',\n identifier: 'Mac OS'\n}, {\n name: 'Ubuntu',\n group: 'Linux',\n identifier: 'Ubuntu',\n versionIdentifier: 'Ubuntu/([0-9\\.]*)'\n}, {\n name: 'Debian',\n group: 'Linux',\n identifier: 'Debian'\n}, {\n name: 'Gentoo',\n group: 'Linux',\n identifier: 'Gentoo'\n}, {\n name: 'Linux',\n group: 'Linux',\n identifier: 'Linux'\n}, {\n name: 'BlackBerry',\n group: 'BlackBerry',\n identifier: 'BlackBerry'\n}];\n\nexports.default = OS_DATA;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container/container.js\":\n/*!***********************************************!*\\\n !*** ./src/components/container/container.js ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_object = __webpack_require__(/*! ../../base/ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ../../base/error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/components/container/public/style.scss\");\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * An abstraction to represent a container for a given playback\n * TODO: describe its responsabilities\n * @class Container\n * @constructor\n * @extends UIObject\n * @module base\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * Container is responsible for the video rendering and state\n */\n\nvar Container = function (_UIObject) {\n (0, _inherits3.default)(Container, _UIObject);\n (0, _createClass3.default)(Container, [{\n key: 'name',\n\n /**\n * container's name\n * @method name\n * @default Container\n * @return {String} container's name\n */\n get: function get() {\n return 'Container';\n }\n }, {\n key: 'attributes',\n get: function get() {\n return { class: 'container', 'data-container': '' };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click': 'clicked',\n 'dblclick': 'dblClicked',\n 'touchend': 'dblTap',\n 'contextmenu': 'onContextMenu',\n 'mouseenter': 'mouseEnter',\n 'mouseleave': 'mouseLeave'\n };\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this.playback.ended;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * (i.e if a live stream is playing smoothly, this will be false)\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return this.playback.buffering;\n }\n\n /**\n * The internationalization plugin.\n * @property i18n\n * @type {Strings}\n */\n\n }, {\n key: 'i18n',\n get: function get() {\n return this._i18n;\n }\n\n /**\n * checks if has closed caption tracks.\n * @property hasClosedCaptionsTracks\n * @type {Boolean}\n */\n\n }, {\n key: 'hasClosedCaptionsTracks',\n get: function get() {\n return this.playback.hasClosedCaptionsTracks;\n }\n\n /**\n * gets the available closed caption tracks.\n * @property closedCaptionsTracks\n * @type {Array} an array of objects with at least 'id' and 'name' properties\n */\n\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n return this.playback.closedCaptionsTracks;\n }\n\n /**\n * gets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return this.playback.closedCaptionsTrackId;\n }\n\n /**\n * sets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n ,\n set: function set(trackId) {\n this.playback.closedCaptionsTrackId = trackId;\n }\n\n /**\n * it builds a container\n * @method constructor\n * @param {Object} options the options object\n * @param {Strings} i18n the internationalization component\n */\n\n }]);\n\n function Container(options, i18n, playerError) {\n (0, _classCallCheck3.default)(this, Container);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, options));\n\n _this._i18n = i18n;\n _this.currentTime = 0;\n _this.volume = 100;\n _this.playback = options.playback;\n _this.playerError = playerError;\n _this.settings = _clapprZepto2.default.extend({}, _this.playback.settings);\n _this.isReady = false;\n _this.mediaControlDisabled = false;\n _this.plugins = [_this.playback];\n _this.dblTapHandler = new _utils.DoubleEventHandler(500);\n _this.clickTimer = null;\n _this.clickDelay = 200; // FIXME: could be a player option\n _this.bindEvents();\n return _this;\n }\n\n /**\n * binds playback events to the methods of the container.\n * it listens to playback's events and triggers them as container events.\n *\n * | Playback |\n * |----------|\n * | progress |\n * | timeupdate |\n * | ready |\n * | buffering |\n * | bufferfull |\n * | settingsupdate |\n * | loadedmetadata |\n * | highdefinitionupdate |\n * | bitrate |\n * | playbackstate |\n * | dvr |\n * | mediacontrol_disable |\n * | mediacontrol_enable |\n * | ended |\n * | play |\n * | pause |\n * | error |\n *\n * ps: the events usually translate from PLABACK_x to CONTAINER_x, you can check all the events at `Event` class.\n *\n * @method bindEvents\n */\n\n\n Container.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.playback, _events2.default.PLAYBACK_PROGRESS, this.onProgress);\n this.listenTo(this.playback, _events2.default.PLAYBACK_TIMEUPDATE, this.timeUpdated);\n this.listenTo(this.playback, _events2.default.PLAYBACK_READY, this.ready);\n this.listenTo(this.playback, _events2.default.PLAYBACK_BUFFERING, this.onBuffering);\n this.listenTo(this.playback, _events2.default.PLAYBACK_BUFFERFULL, this.bufferfull);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SETTINGSUPDATE, this.settingsUpdate);\n this.listenTo(this.playback, _events2.default.PLAYBACK_LOADEDMETADATA, this.loadedMetadata);\n this.listenTo(this.playback, _events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinitionUpdate);\n this.listenTo(this.playback, _events2.default.PLAYBACK_BITRATE, this.updateBitrate);\n this.listenTo(this.playback, _events2.default.PLAYBACK_PLAYBACKSTATE, this.playbackStateChanged);\n this.listenTo(this.playback, _events2.default.PLAYBACK_DVR, this.playbackDvrStateChanged);\n this.listenTo(this.playback, _events2.default.PLAYBACK_MEDIACONTROL_DISABLE, this.disableMediaControl);\n this.listenTo(this.playback, _events2.default.PLAYBACK_MEDIACONTROL_ENABLE, this.enableMediaControl);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SEEKED, this.onSeeked);\n this.listenTo(this.playback, _events2.default.PLAYBACK_ENDED, this.onEnded);\n this.listenTo(this.playback, _events2.default.PLAYBACK_PLAY, this.playing);\n this.listenTo(this.playback, _events2.default.PLAYBACK_PAUSE, this.paused);\n this.listenTo(this.playback, _events2.default.PLAYBACK_STOP, this.stopped);\n this.listenTo(this.playback, _events2.default.PLAYBACK_ERROR, this.error);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SUBTITLE_AVAILABLE, this.subtitleAvailable);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SUBTITLE_CHANGED, this.subtitleChanged);\n };\n\n Container.prototype.subtitleAvailable = function subtitleAvailable() {\n this.trigger(_events2.default.CONTAINER_SUBTITLE_AVAILABLE);\n };\n\n Container.prototype.subtitleChanged = function subtitleChanged(track) {\n this.trigger(_events2.default.CONTAINER_SUBTITLE_CHANGED, track);\n };\n\n Container.prototype.playbackStateChanged = function playbackStateChanged(state) {\n this.trigger(_events2.default.CONTAINER_PLAYBACKSTATE, state);\n };\n\n Container.prototype.playbackDvrStateChanged = function playbackDvrStateChanged(dvrInUse) {\n this.settings = this.playback.settings;\n this.dvrInUse = dvrInUse;\n this.trigger(_events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, dvrInUse);\n };\n\n Container.prototype.updateBitrate = function updateBitrate(newBitrate) {\n this.trigger(_events2.default.CONTAINER_BITRATE, newBitrate);\n };\n\n Container.prototype.statsReport = function statsReport(metrics) {\n this.trigger(_events2.default.CONTAINER_STATS_REPORT, metrics);\n };\n\n Container.prototype.getPlaybackType = function getPlaybackType() {\n return this.playback.getPlaybackType();\n };\n\n /**\n * returns `true` if DVR is enable otherwise `false`.\n * @method isDvrEnabled\n * @return {Boolean}\n */\n\n\n Container.prototype.isDvrEnabled = function isDvrEnabled() {\n return !!this.playback.dvrEnabled;\n };\n\n /**\n * returns `true` if DVR is in use otherwise `false`.\n * @method isDvrInUse\n * @return {Boolean}\n */\n\n\n Container.prototype.isDvrInUse = function isDvrInUse() {\n return !!this.dvrInUse;\n };\n\n /**\n * destroys the container\n * @method destroy\n */\n\n\n Container.prototype.destroy = function destroy() {\n this.trigger(_events2.default.CONTAINER_DESTROYED, this, this.name);\n this.stopListening();\n this.plugins.forEach(function (plugin) {\n return plugin.destroy();\n });\n this.$el.remove();\n };\n\n Container.prototype.setStyle = function setStyle(style) {\n this.$el.css(style);\n };\n\n Container.prototype.animate = function animate(style, duration) {\n return this.$el.animate(style, duration).promise();\n };\n\n Container.prototype.ready = function ready() {\n this.isReady = true;\n this.trigger(_events2.default.CONTAINER_READY, this.name);\n };\n\n Container.prototype.isPlaying = function isPlaying() {\n return this.playback.isPlaying();\n };\n\n Container.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return this.playback.getStartTimeOffset();\n };\n\n Container.prototype.getCurrentTime = function getCurrentTime() {\n return this.currentTime;\n };\n\n Container.prototype.getDuration = function getDuration() {\n return this.playback.getDuration();\n };\n\n Container.prototype.error = function error(_error) {\n if (!this.isReady) this.ready();\n\n this.trigger(_events2.default.CONTAINER_ERROR, _error, this.name);\n };\n\n Container.prototype.loadedMetadata = function loadedMetadata(metadata) {\n this.trigger(_events2.default.CONTAINER_LOADEDMETADATA, metadata);\n };\n\n Container.prototype.timeUpdated = function timeUpdated(timeProgress) {\n this.currentTime = timeProgress.current;\n this.trigger(_events2.default.CONTAINER_TIMEUPDATE, timeProgress, this.name);\n };\n\n Container.prototype.onProgress = function onProgress() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n this.trigger.apply(this, [_events2.default.CONTAINER_PROGRESS].concat(args, [this.name]));\n };\n\n Container.prototype.playing = function playing() {\n this.trigger(_events2.default.CONTAINER_PLAY, this.name);\n };\n\n Container.prototype.paused = function paused() {\n this.trigger(_events2.default.CONTAINER_PAUSE, this.name);\n };\n\n /**\n * plays the playback\n * @method play\n */\n\n\n Container.prototype.play = function play() {\n this.playback.play();\n };\n\n /**\n * stops the playback\n * @method stop\n */\n\n\n Container.prototype.stop = function stop() {\n this.playback.stop();\n this.currentTime = 0;\n };\n\n /**\n * pauses the playback\n * @method pause\n */\n\n\n Container.prototype.pause = function pause() {\n this.playback.pause();\n };\n\n Container.prototype.onEnded = function onEnded() {\n this.trigger(_events2.default.CONTAINER_ENDED, this, this.name);\n this.currentTime = 0;\n };\n\n Container.prototype.stopped = function stopped() {\n this.trigger(_events2.default.CONTAINER_STOP);\n };\n\n Container.prototype.clicked = function clicked() {\n var _this2 = this;\n\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n // The event is delayed because it can be canceled by a double-click event\n // An example of use is to prevent playback from pausing when switching to full screen\n this.clickTimer = setTimeout(function () {\n _this2.clickTimer && _this2.trigger(_events2.default.CONTAINER_CLICK, _this2, _this2.name);\n }, this.clickDelay);\n }\n };\n\n Container.prototype.cancelClicked = function cancelClicked() {\n clearTimeout(this.clickTimer);\n this.clickTimer = null;\n };\n\n Container.prototype.dblClicked = function dblClicked() {\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n this.cancelClicked();\n this.trigger(_events2.default.CONTAINER_DBLCLICK, this, this.name);\n }\n };\n\n Container.prototype.dblTap = function dblTap(evt) {\n var _this3 = this;\n\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n this.dblTapHandler.handle(evt, function () {\n _this3.cancelClicked();\n _this3.trigger(_events2.default.CONTAINER_DBLCLICK, _this3, _this3.name);\n });\n }\n };\n\n Container.prototype.onContextMenu = function onContextMenu(event) {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.trigger(_events2.default.CONTAINER_CONTEXTMENU, event, this.name);\n };\n\n Container.prototype.seek = function seek(time) {\n this.trigger(_events2.default.CONTAINER_SEEK, time, this.name);\n this.playback.seek(time);\n };\n\n Container.prototype.onSeeked = function onSeeked() {\n this.trigger(_events2.default.CONTAINER_SEEKED, this.name);\n };\n\n Container.prototype.seekPercentage = function seekPercentage(percentage) {\n var duration = this.getDuration();\n if (percentage >= 0 && percentage <= 100) {\n var time = duration * (percentage / 100);\n this.seek(time);\n }\n };\n\n Container.prototype.setVolume = function setVolume(value) {\n this.volume = parseFloat(value);\n this.trigger(_events2.default.CONTAINER_VOLUME, this.volume, this.name);\n this.playback.volume(this.volume);\n };\n\n Container.prototype.fullscreen = function fullscreen() {\n this.trigger(_events2.default.CONTAINER_FULLSCREEN, this.name);\n };\n\n Container.prototype.onBuffering = function onBuffering() {\n this.trigger(_events2.default.CONTAINER_STATE_BUFFERING, this.name);\n };\n\n Container.prototype.bufferfull = function bufferfull() {\n this.trigger(_events2.default.CONTAINER_STATE_BUFFERFULL, this.name);\n };\n\n /**\n * adds plugin to the container\n * @method addPlugin\n * @param {Object} plugin\n */\n\n\n Container.prototype.addPlugin = function addPlugin(plugin) {\n this.plugins.push(plugin);\n };\n\n /**\n * checks if a plugin, given its name, exist\n * @method hasPlugin\n * @param {String} name\n * @return {Boolean}\n */\n\n\n Container.prototype.hasPlugin = function hasPlugin(name) {\n return !!this.getPlugin(name);\n };\n\n /**\n * get the plugin given its name\n * @method getPlugin\n * @param {String} name\n */\n\n\n Container.prototype.getPlugin = function getPlugin(name) {\n return this.plugins.filter(function (plugin) {\n return plugin.name === name;\n })[0];\n };\n\n Container.prototype.mouseEnter = function mouseEnter() {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.trigger(_events2.default.CONTAINER_MOUSE_ENTER);\n };\n\n Container.prototype.mouseLeave = function mouseLeave() {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.trigger(_events2.default.CONTAINER_MOUSE_LEAVE);\n };\n\n Container.prototype.settingsUpdate = function settingsUpdate() {\n this.settings = this.playback.settings;\n this.trigger(_events2.default.CONTAINER_SETTINGSUPDATE);\n };\n\n Container.prototype.highDefinitionUpdate = function highDefinitionUpdate(isHD) {\n this.trigger(_events2.default.CONTAINER_HIGHDEFINITIONUPDATE, isHD);\n };\n\n Container.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return this.playback.isHighDefinitionInUse();\n };\n\n Container.prototype.disableMediaControl = function disableMediaControl() {\n if (!this.mediaControlDisabled) {\n this.mediaControlDisabled = true;\n this.trigger(_events2.default.CONTAINER_MEDIACONTROL_DISABLE);\n }\n };\n\n Container.prototype.enableMediaControl = function enableMediaControl() {\n if (this.mediaControlDisabled) {\n this.mediaControlDisabled = false;\n this.trigger(_events2.default.CONTAINER_MEDIACONTROL_ENABLE);\n }\n };\n\n Container.prototype.updateStyle = function updateStyle() {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.$el.removeClass('chromeless');else this.$el.addClass('chromeless');\n };\n\n /**\n * enables to configure the container after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n Container.prototype.configure = function configure(options) {\n this._options = _clapprZepto2.default.extend(this._options, options);\n this.updateStyle();\n this.playback.configure(this.options);\n this.trigger(_events2.default.CONTAINER_OPTIONS_CHANGE);\n };\n\n Container.prototype.render = function render() {\n this.$el.append(this.playback.render().el);\n this.updateStyle();\n return this;\n };\n\n return Container;\n}(_ui_object2.default);\n\nexports.default = Container;\n\n\n(0, _assign2.default)(Container.prototype, _error_mixin2.default);\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container/index.js\":\n/*!*******************************************!*\\\n !*** ./src/components/container/index.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _container = __webpack_require__(/*! ./container */ \"./src/components/container/container.js\");\n\nvar _container2 = _interopRequireDefault(_container);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _container2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container/public/style.scss\":\n/*!****************************************************!*\\\n !*** ./src/components/container/public/style.scss ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/container/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/components/container_factory/container_factory.js\":\n/*!***************************************************************!*\\\n !*** ./src/components/container_factory/container_factory.js ***!\n \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _container = __webpack_require__(/*! ../../components/container */ \"./src/components/container/index.js\");\n\nvar _container2 = _interopRequireDefault(_container);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * The ContainerFactory is responsible for manage playback bootstrap and create containers.\n */\n\nvar ContainerFactory = function (_BaseObject) {\n (0, _inherits3.default)(ContainerFactory, _BaseObject);\n (0, _createClass3.default)(ContainerFactory, [{\n key: 'options',\n get: function get() {\n return this._options;\n },\n set: function set(options) {\n this._options = options;\n }\n }]);\n\n function ContainerFactory(options, loader, i18n, playerError) {\n (0, _classCallCheck3.default)(this, ContainerFactory);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n _this._i18n = i18n;\n _this.loader = loader;\n _this.playerError = playerError;\n return _this;\n }\n\n ContainerFactory.prototype.createContainers = function createContainers() {\n var _this2 = this;\n\n return _clapprZepto2.default.Deferred(function (promise) {\n promise.resolve(_this2.options.sources.map(function (source) {\n return _this2.createContainer(source);\n }));\n });\n };\n\n ContainerFactory.prototype.findPlaybackPlugin = function findPlaybackPlugin(source, mimeType) {\n return this.loader.playbackPlugins.filter(function (p) {\n return p.canPlay(source, mimeType);\n })[0];\n };\n\n ContainerFactory.prototype.createContainer = function createContainer(source) {\n var resolvedSource = null,\n mimeType = this.options.mimeType;\n if ((typeof source === 'undefined' ? 'undefined' : (0, _typeof3.default)(source)) === 'object') {\n resolvedSource = source.source.toString();\n if (source.mimeType) mimeType = source.mimeType;\n } else {\n resolvedSource = source.toString();\n }\n\n if (resolvedSource.match(/^\\/\\//)) resolvedSource = window.location.protocol + resolvedSource;\n\n var options = _clapprZepto2.default.extend({}, this.options, {\n src: resolvedSource,\n mimeType: mimeType\n });\n var playbackPlugin = this.findPlaybackPlugin(resolvedSource, mimeType);\n var playback = new playbackPlugin(options, this._i18n, this.playerError);\n\n options = _clapprZepto2.default.extend({}, options, { playback: playback });\n\n var container = new _container2.default(options, this._i18n, this.playerError);\n var defer = _clapprZepto2.default.Deferred();\n defer.promise(container);\n this.addContainerPlugins(container);\n this.listenToOnce(container, _events2.default.CONTAINER_READY, function () {\n return defer.resolve(container);\n });\n return container;\n };\n\n ContainerFactory.prototype.addContainerPlugins = function addContainerPlugins(container) {\n this.loader.containerPlugins.forEach(function (Plugin) {\n container.addPlugin(new Plugin(container));\n });\n };\n\n return ContainerFactory;\n}(_base_object2.default);\n\nexports.default = ContainerFactory;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container_factory/index.js\":\n/*!***************************************************!*\\\n !*** ./src/components/container_factory/index.js ***!\n \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _container_factory = __webpack_require__(/*! ./container_factory */ \"./src/components/container_factory/container_factory.js\");\n\nvar _container_factory2 = _interopRequireDefault(_container_factory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _container_factory2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core/core.js\":\n/*!*************************************!*\\\n !*** ./src/components/core/core.js ***!\n \\*************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _styler = __webpack_require__(/*! ../../base/styler */ \"./src/base/styler.js\");\n\nvar _styler2 = _interopRequireDefault(_styler);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_object = __webpack_require__(/*! ../../base/ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _container_factory = __webpack_require__(/*! ../../components/container_factory */ \"./src/components/container_factory/index.js\");\n\nvar _container_factory2 = _interopRequireDefault(_container_factory);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _player_info = __webpack_require__(/*! ../../components/player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _error_mixin = __webpack_require__(/*! ../../base/error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/components/core/public/style.scss\");\n\nvar _fonts = __webpack_require__(/*! ./public/fonts.css */ \"./src/components/core/public/fonts.css\");\n\nvar _fonts2 = _interopRequireDefault(_fonts);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar style = void 0;\n\n/**\n * The Core is responsible to manage Containers, the mediator, MediaControl\n * and the player state.\n * @class Core\n * @constructor\n * @extends UIObject\n * @module components\n */\n\nvar Core = function (_UIObject) {\n (0, _inherits3.default)(Core, _UIObject);\n (0, _createClass3.default)(Core, [{\n key: 'events',\n get: function get() {\n return {\n 'webkitfullscreenchange': 'handleFullscreenChange',\n 'mousemove': 'onMouseMove',\n 'mouseleave': 'onMouseLeave'\n };\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-player': '',\n tabindex: 9999\n };\n }\n\n /**\n * checks if the core is ready.\n * @property isReady\n * @type {Boolean} `true` if the core is ready, otherwise `false`\n */\n\n }, {\n key: 'isReady',\n get: function get() {\n return !!this.ready;\n }\n\n /**\n * The internationalization plugin.\n * @property i18n\n * @type {Strings}\n */\n\n }, {\n key: 'i18n',\n get: function get() {\n return this.getPlugin('strings') || { t: function t(key) {\n return key;\n } };\n }\n\n /**\n * @deprecated\n * This property currently exists for retrocompatibility reasons.\n * If you want to access the media control instance, use the method getPlugin('media_control').\n */\n\n }, {\n key: 'mediaControl',\n get: function get() {\n return this.getPlugin('media_control') || this.dummyMediaControl;\n }\n }, {\n key: 'dummyMediaControl',\n get: function get() {\n if (this._dummyMediaControl) return this._dummyMediaControl;\n this._dummyMediaControl = new _ui_core_plugin2.default(this);\n return this._dummyMediaControl;\n }\n\n /**\n * gets the active container reference.\n * @property activeContainer\n * @type {Object}\n */\n\n }, {\n key: 'activeContainer',\n get: function get() {\n return this._activeContainer;\n }\n\n /**\n * sets the active container reference and trigger a event with the new reference.\n * @property activeContainer\n * @type {Object}\n */\n ,\n set: function set(container) {\n this._activeContainer = container;\n this.trigger(_events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this._activeContainer);\n }\n\n /**\n * gets the active playback reference.\n * @property activePlayback\n * @type {Object}\n */\n\n }, {\n key: 'activePlayback',\n get: function get() {\n return this.activeContainer && this.activeContainer.playback;\n }\n }]);\n\n function Core(options) {\n (0, _classCallCheck3.default)(this, Core);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, options));\n\n _this.playerError = new _error2.default(options, _this);\n _this.configureDomRecycler();\n _this.playerInfo = _player_info2.default.getInstance(options.playerId);\n _this.firstResize = true;\n _this.plugins = [];\n _this.containers = [];\n //FIXME fullscreen api sucks\n _this._boundFullscreenHandler = function () {\n return _this.handleFullscreenChange();\n };\n (0, _clapprZepto2.default)(document).bind('fullscreenchange', _this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).bind('MSFullscreenChange', _this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).bind('mozfullscreenchange', _this._boundFullscreenHandler);\n _browser2.default.isMobile && (0, _clapprZepto2.default)(window).bind('resize', function (o) {\n _this.handleWindowResize(o);\n });\n return _this;\n }\n\n Core.prototype.configureDomRecycler = function configureDomRecycler() {\n var recycleVideo = this.options && this.options.playback && this.options.playback.recycleVideo;\n _utils.DomRecycler.configure({ recycleVideo: recycleVideo });\n };\n\n Core.prototype.createContainers = function createContainers(options) {\n this.defer = _clapprZepto2.default.Deferred();\n this.defer.promise(this);\n this.containerFactory = new _container_factory2.default(options, options.loader, this.i18n, this.playerError);\n this.prepareContainers();\n };\n\n Core.prototype.prepareContainers = function prepareContainers() {\n var _this2 = this;\n\n this.containerFactory.createContainers().then(function (containers) {\n return _this2.setupContainers(containers);\n }).then(function (containers) {\n return _this2.resolveOnContainersReady(containers);\n });\n };\n\n Core.prototype.updateSize = function updateSize() {\n this.isFullscreen() ? this.setFullscreen() : this.setPlayerSize();\n };\n\n Core.prototype.setFullscreen = function setFullscreen() {\n if (!_browser2.default.isiOS) {\n this.$el.addClass('fullscreen');\n this.$el.removeAttr('style');\n this.playerInfo.previousSize = { width: this.options.width, height: this.options.height };\n this.playerInfo.currentSize = { width: (0, _clapprZepto2.default)(window).width(), height: (0, _clapprZepto2.default)(window).height() };\n }\n };\n\n Core.prototype.setPlayerSize = function setPlayerSize() {\n this.$el.removeClass('fullscreen');\n this.playerInfo.currentSize = this.playerInfo.previousSize;\n this.playerInfo.previousSize = { width: (0, _clapprZepto2.default)(window).width(), height: (0, _clapprZepto2.default)(window).height() };\n this.resize(this.playerInfo.currentSize);\n };\n\n Core.prototype.resize = function resize(options) {\n if (!(0, _utils.isNumber)(options.height) && !(0, _utils.isNumber)(options.width)) {\n this.el.style.height = '' + options.height;\n this.el.style.width = '' + options.width;\n } else {\n this.el.style.height = options.height + 'px';\n this.el.style.width = options.width + 'px';\n }\n this.playerInfo.previousSize = { width: this.options.width, height: this.options.height };\n this.options.width = options.width;\n this.options.height = options.height;\n this.playerInfo.currentSize = options;\n this.triggerResize(this.playerInfo.currentSize);\n };\n\n Core.prototype.enableResizeObserver = function enableResizeObserver() {\n var _this3 = this;\n\n var checkSizeCallback = function checkSizeCallback() {\n _this3.triggerResize({ width: _this3.el.clientWidth, height: _this3.el.clientHeight });\n };\n this.resizeObserverInterval = setInterval(checkSizeCallback, 500);\n };\n\n Core.prototype.triggerResize = function triggerResize(newSize) {\n var thereWasChange = this.firstResize || this.oldHeight !== newSize.height || this.oldWidth !== newSize.width;\n if (thereWasChange) {\n this.oldHeight = newSize.height;\n this.oldWidth = newSize.width;\n this.playerInfo.computedSize = newSize;\n this.firstResize = false;\n _mediator2.default.trigger(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, newSize);\n this.trigger(_events2.default.CORE_RESIZE, newSize);\n }\n };\n\n Core.prototype.disableResizeObserver = function disableResizeObserver() {\n this.resizeObserverInterval && clearInterval(this.resizeObserverInterval);\n };\n\n Core.prototype.resolveOnContainersReady = function resolveOnContainersReady(containers) {\n var _this4 = this;\n\n _clapprZepto2.default.when.apply(_clapprZepto2.default, containers).done(function () {\n _this4.defer.resolve(_this4);\n _this4.ready = true;\n _this4.trigger(_events2.default.CORE_READY);\n });\n };\n\n Core.prototype.addPlugin = function addPlugin(plugin) {\n this.plugins.push(plugin);\n };\n\n Core.prototype.hasPlugin = function hasPlugin(name) {\n return !!this.getPlugin(name);\n };\n\n Core.prototype.getPlugin = function getPlugin(name) {\n return this.plugins.filter(function (plugin) {\n return plugin.name === name;\n })[0];\n };\n\n Core.prototype.load = function load(sources, mimeType) {\n this.options.mimeType = mimeType;\n sources = sources && sources.constructor === Array ? sources : [sources];\n this.options.sources = sources;\n this.containers.forEach(function (container) {\n return container.destroy();\n });\n this.containerFactory.options = _clapprZepto2.default.extend(this.options, { sources: sources });\n this.prepareContainers();\n };\n\n Core.prototype.destroy = function destroy() {\n this.disableResizeObserver();\n this.containers.forEach(function (container) {\n return container.destroy();\n });\n this.plugins.forEach(function (plugin) {\n return plugin.destroy();\n });\n this.$el.remove();\n (0, _clapprZepto2.default)(document).unbind('fullscreenchange', this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).unbind('MSFullscreenChange', this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).unbind('mozfullscreenchange', this._boundFullscreenHandler);\n this.stopListening();\n };\n\n Core.prototype.handleFullscreenChange = function handleFullscreenChange() {\n this.trigger(_events2.default.CORE_FULLSCREEN, this.isFullscreen());\n this.updateSize();\n };\n\n Core.prototype.handleWindowResize = function handleWindowResize(event) {\n var orientation = window.innerWidth > window.innerHeight ? 'landscape' : 'portrait';\n if (this._screenOrientation === orientation) return;\n this._screenOrientation = orientation;\n this.triggerResize({ width: this.el.clientWidth, height: this.el.clientHeight });\n this.trigger(_events2.default.CORE_SCREEN_ORIENTATION_CHANGED, {\n event: event,\n orientation: this._screenOrientation\n });\n };\n\n Core.prototype.removeContainer = function removeContainer(container) {\n this.stopListening(container);\n this.containers = this.containers.filter(function (c) {\n return c !== container;\n });\n };\n\n Core.prototype.setupContainer = function setupContainer(container) {\n this.listenTo(container, _events2.default.CONTAINER_DESTROYED, this.removeContainer);\n this.containers.push(container);\n };\n\n Core.prototype.setupContainers = function setupContainers(containers) {\n containers.forEach(this.setupContainer.bind(this));\n this.trigger(_events2.default.CORE_CONTAINERS_CREATED);\n this.renderContainers();\n this.activeContainer = containers[0];\n this.render();\n this.appendToParent();\n return this.containers;\n };\n\n Core.prototype.renderContainers = function renderContainers() {\n var _this5 = this;\n\n this.containers.forEach(function (container) {\n return _this5.el.appendChild(container.render().el);\n });\n };\n\n Core.prototype.createContainer = function createContainer(source, options) {\n var container = this.containerFactory.createContainer(source, options);\n this.setupContainer(container);\n this.el.appendChild(container.render().el);\n return container;\n };\n\n /**\n * @deprecated\n * This method currently exists for retrocompatibility reasons.\n * If you want the current container reference, use the activeContainer getter.\n */\n\n\n Core.prototype.getCurrentContainer = function getCurrentContainer() {\n return this.activeContainer;\n };\n\n /**\n * @deprecated\n * This method currently exists for retrocompatibility reasons.\n * If you want the current playback reference, use the activePlayback getter.\n */\n\n\n Core.prototype.getCurrentPlayback = function getCurrentPlayback() {\n return this.activePlayback;\n };\n\n Core.prototype.getPlaybackType = function getPlaybackType() {\n return this.activeContainer && this.activeContainer.getPlaybackType();\n };\n\n Core.prototype.isFullscreen = function isFullscreen() {\n // Ensure current instance is in fullscreen mode by checking fullscreen element\n var el = _browser2.default.isiOS ? this.activeContainer && this.activeContainer.el || this.el : this.el;\n return _utils.Fullscreen.fullscreenElement() === el;\n };\n\n Core.prototype.toggleFullscreen = function toggleFullscreen() {\n if (this.isFullscreen()) {\n _utils.Fullscreen.cancelFullscreen();\n !_browser2.default.isiOS && this.$el.removeClass('fullscreen nocursor');\n } else {\n _utils.Fullscreen.requestFullscreen(_browser2.default.isiOS ? this.activeContainer.el : this.el);\n !_browser2.default.isiOS && this.$el.addClass('fullscreen');\n }\n };\n\n Core.prototype.onMouseMove = function onMouseMove(event) {\n this.trigger(_events2.default.CORE_MOUSE_MOVE, event);\n };\n\n Core.prototype.onMouseLeave = function onMouseLeave(event) {\n this.trigger(_events2.default.CORE_MOUSE_LEAVE, event);\n };\n\n /**\n * enables to configure the container after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n Core.prototype.configure = function configure(options) {\n var _this6 = this;\n\n this._options = _clapprZepto2.default.extend(this._options, options);\n this.configureDomRecycler();\n\n var sources = options.source || options.sources;\n sources && this.load(sources, options.mimeType || this.options.mimeType);\n\n this.trigger(_events2.default.CORE_OPTIONS_CHANGE, options); // Trigger with newly provided options\n this.containers.forEach(function (container) {\n return container.configure(_this6.options);\n });\n };\n\n Core.prototype.appendToParent = function appendToParent() {\n var hasCoreParent = this.$el.parent() && this.$el.parent().length;\n !hasCoreParent && this.$el.appendTo(this.options.parentElement);\n };\n\n Core.prototype.render = function render() {\n if (!style) style = _styler2.default.getStyleFor(_fonts2.default, { baseUrl: this.options.baseUrl });\n\n (0, _clapprZepto2.default)('head').append(style);\n\n this.options.width = this.options.width || this.$el.width();\n this.options.height = this.options.height || this.$el.height();\n var size = { width: this.options.width, height: this.options.height };\n this.playerInfo.previousSize = this.playerInfo.currentSize = this.playerInfo.computedSize = size;\n this.updateSize();\n\n this.previousSize = { width: this.$el.width(), height: this.$el.height() };\n\n this.enableResizeObserver();\n\n return this;\n };\n\n return Core;\n}(_ui_object2.default);\n\nexports.default = Core;\n\n\n(0, _assign2.default)(Core.prototype, _error_mixin2.default);\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core/index.js\":\n/*!**************************************!*\\\n !*** ./src/components/core/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _core = __webpack_require__(/*! ./core */ \"./src/components/core/core.js\");\n\nvar _core2 = _interopRequireDefault(_core);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _core2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core/public/Roboto.ttf\":\n/*!***********************************************!*\\\n !*** ./src/components/core/public/Roboto.ttf ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/38861cba61c66739c1452c3a71e39852.ttf\";\n\n/***/ }),\n\n/***/ \"./src/components/core/public/fonts.css\":\n/*!**********************************************!*\\\n !*** ./src/components/core/public/fonts.css ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar escape = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/url/escape.js */ \"./node_modules/css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"@font-face {\\n font-family: \\\"Roboto\\\";\\n font-style: normal;\\n font-weight: 400;\\n src: local(\\\"Roboto\\\"), local(\\\"Roboto-Regular\\\"), url(\" + escape(__webpack_require__(/*! ./Roboto.ttf */ \"./src/components/core/public/Roboto.ttf\")) + \") format(\\\"truetype\\\");\\n}\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./src/components/core/public/style.scss\":\n/*!***********************************************!*\\\n !*** ./src/components/core/public/style.scss ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/core/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/components/core_factory/core_factory.js\":\n/*!*****************************************************!*\\\n !*** ./src/components/core_factory/core_factory.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _core = __webpack_require__(/*! ../core */ \"./src/components/core/index.js\");\n\nvar _core2 = _interopRequireDefault(_core);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The Core Factory is responsible for instantiate the core and it's plugins.\n * @class CoreFactory\n * @constructor\n * @extends BaseObject\n * @module components\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar CoreFactory = function (_BaseObject) {\n (0, _inherits3.default)(CoreFactory, _BaseObject);\n (0, _createClass3.default)(CoreFactory, [{\n key: 'loader',\n get: function get() {\n return this.player.loader;\n }\n\n /**\n * it builds the core factory\n * @method constructor\n * @param {Player} player the player object\n */\n\n }]);\n\n function CoreFactory(player) {\n (0, _classCallCheck3.default)(this, CoreFactory);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this));\n\n _this.player = player;\n _this._options = player.options;\n return _this;\n }\n\n /**\n * creates a core and its plugins\n * @method create\n * @return {Core} created core\n */\n\n\n CoreFactory.prototype.create = function create() {\n this.options.loader = this.loader;\n this.core = new _core2.default(this.options);\n this.addCorePlugins();\n this.core.createContainers(this.options);\n return this.core;\n };\n\n /**\n * given the core plugins (`loader.corePlugins`) it builds each one\n * @method addCorePlugins\n * @return {Core} the core with all plugins\n */\n\n\n CoreFactory.prototype.addCorePlugins = function addCorePlugins() {\n var _this2 = this;\n\n this.loader.corePlugins.forEach(function (Plugin) {\n var plugin = new Plugin(_this2.core);\n _this2.core.addPlugin(plugin);\n _this2.setupExternalInterface(plugin);\n });\n return this.core;\n };\n\n CoreFactory.prototype.setupExternalInterface = function setupExternalInterface(plugin) {\n var externalFunctions = plugin.getExternalInterface();\n for (var key in externalFunctions) {\n this.player[key] = externalFunctions[key].bind(plugin);\n this.core[key] = externalFunctions[key].bind(plugin);\n }\n };\n\n return CoreFactory;\n}(_base_object2.default);\n\nexports.default = CoreFactory;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core_factory/index.js\":\n/*!**********************************************!*\\\n !*** ./src/components/core_factory/index.js ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _core_factory = __webpack_require__(/*! ./core_factory */ \"./src/components/core_factory/core_factory.js\");\n\nvar _core_factory2 = _interopRequireDefault(_core_factory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _core_factory2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/error/error.js\":\n/*!***************************************!*\\\n !*** ./src/components/error/error.js ***!\n \\***************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _log = __webpack_require__(/*! ../../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The PlayerError is responsible to receive and propagate errors.\n * @class PlayerError\n * @constructor\n * @extends BaseObject\n * @module components\n */\nvar PlayerError = function (_BaseObject) {\n (0, _inherits3.default)(PlayerError, _BaseObject);\n (0, _createClass3.default)(PlayerError, [{\n key: 'name',\n get: function get() {\n return 'error';\n }\n\n /**\n * @property Levels\n * @type {Object} object with error levels\n */\n\n }], [{\n key: 'Levels',\n get: function get() {\n return {\n FATAL: 'FATAL',\n WARN: 'WARN',\n INFO: 'INFO'\n };\n }\n }]);\n\n function PlayerError() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var core = arguments[1];\n (0, _classCallCheck3.default)(this, PlayerError);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n _this.core = core;\n return _this;\n }\n\n /**\n * creates and trigger an error.\n * @method createError\n * @param {Object} err should be an object with code, description, level, origin, scope and raw error.\n */\n\n\n PlayerError.prototype.createError = function createError(err) {\n if (!this.core) {\n _log2.default.warn(this.name, 'Core is not set. Error: ', err);\n return;\n }\n this.core.trigger(_events2.default.ERROR, err);\n };\n\n return PlayerError;\n}(_base_object2.default);\n\nexports.default = PlayerError;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/error/index.js\":\n/*!***************************************!*\\\n !*** ./src/components/error/index.js ***!\n \\***************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _error = __webpack_require__(/*! ./error */ \"./src/components/error/error.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _error2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/loader/index.js\":\n/*!****************************************!*\\\n !*** ./src/components/loader/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _loader = __webpack_require__(/*! ./loader */ \"./src/components/loader/loader.js\");\n\nvar _loader2 = _interopRequireDefault(_loader);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _loader2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/loader/loader.js\":\n/*!*****************************************!*\\\n !*** ./src/components/loader/loader.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _create = __webpack_require__(/*! babel-runtime/core-js/object/create */ \"./node_modules/babel-runtime/core-js/object/create.js\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _player_info = __webpack_require__(/*! ../player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _html5_video = __webpack_require__(/*! ../../playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nvar _flash = __webpack_require__(/*! ../../playbacks/flash */ \"./src/playbacks/flash/index.js\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\nvar _html5_audio = __webpack_require__(/*! ../../playbacks/html5_audio */ \"./src/playbacks/html5_audio/index.js\");\n\nvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\nvar _flashls = __webpack_require__(/*! ../../playbacks/flashls */ \"./src/playbacks/flashls/index.js\");\n\nvar _flashls2 = _interopRequireDefault(_flashls);\n\nvar _hls = __webpack_require__(/*! ../../playbacks/hls */ \"./src/playbacks/hls/index.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nvar _html_img = __webpack_require__(/*! ../../playbacks/html_img */ \"./src/playbacks/html_img/index.js\");\n\nvar _html_img2 = _interopRequireDefault(_html_img);\n\nvar _no_op = __webpack_require__(/*! ../../playbacks/no_op */ \"./src/playbacks/no_op/index.js\");\n\nvar _no_op2 = _interopRequireDefault(_no_op);\n\nvar _spinner_three_bounce = __webpack_require__(/*! ../../plugins/spinner_three_bounce */ \"./src/plugins/spinner_three_bounce/index.js\");\n\nvar _spinner_three_bounce2 = _interopRequireDefault(_spinner_three_bounce);\n\nvar _stats = __webpack_require__(/*! ../../plugins/stats */ \"./src/plugins/stats/index.js\");\n\nvar _stats2 = _interopRequireDefault(_stats);\n\nvar _watermark = __webpack_require__(/*! ../../plugins/watermark */ \"./src/plugins/watermark/index.js\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\nvar _poster = __webpack_require__(/*! ../../plugins/poster */ \"./src/plugins/poster/index.js\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nvar _google_analytics = __webpack_require__(/*! ../../plugins/google_analytics */ \"./src/plugins/google_analytics/index.js\");\n\nvar _google_analytics2 = _interopRequireDefault(_google_analytics);\n\nvar _click_to_pause = __webpack_require__(/*! ../../plugins/click_to_pause */ \"./src/plugins/click_to_pause/index.js\");\n\nvar _click_to_pause2 = _interopRequireDefault(_click_to_pause);\n\nvar _media_control = __webpack_require__(/*! ../../plugins/media_control */ \"./src/plugins/media_control/index.js\");\n\nvar _media_control2 = _interopRequireDefault(_media_control);\n\nvar _dvr_controls = __webpack_require__(/*! ../../plugins/dvr_controls */ \"./src/plugins/dvr_controls/index.js\");\n\nvar _dvr_controls2 = _interopRequireDefault(_dvr_controls);\n\nvar _closed_captions = __webpack_require__(/*! ../../plugins/closed_captions */ \"./src/plugins/closed_captions/index.js\");\n\nvar _closed_captions2 = _interopRequireDefault(_closed_captions);\n\nvar _favicon = __webpack_require__(/*! ../../plugins/favicon */ \"./src/plugins/favicon/index.js\");\n\nvar _favicon2 = _interopRequireDefault(_favicon);\n\nvar _seek_time = __webpack_require__(/*! ../../plugins/seek_time */ \"./src/plugins/seek_time/index.js\");\n\nvar _seek_time2 = _interopRequireDefault(_seek_time);\n\nvar _sources = __webpack_require__(/*! ../../plugins/sources */ \"./src/plugins/sources.js\");\n\nvar _sources2 = _interopRequireDefault(_sources);\n\nvar _end_video = __webpack_require__(/*! ../../plugins/end_video */ \"./src/plugins/end_video.js\");\n\nvar _end_video2 = _interopRequireDefault(_end_video);\n\nvar _strings = __webpack_require__(/*! ../../plugins/strings */ \"./src/plugins/strings.js\");\n\nvar _strings2 = _interopRequireDefault(_strings);\n\nvar _error_screen = __webpack_require__(/*! ../../plugins/error_screen */ \"./src/plugins/error_screen/index.js\");\n\nvar _error_screen2 = _interopRequireDefault(_error_screen);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * It keeps a list of the default plugins (playback, container, core) and it merges external plugins with its internals.\n * @class Loader\n * @constructor\n * @extends BaseObject\n * @module components\n */\n\n\n/* Playback Plugins */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Loader = function (_BaseObject) {\n (0, _inherits3.default)(Loader, _BaseObject);\n\n /**\n * builds the loader\n * @method constructor\n * @param {Object} externalPlugins the external plugins\n * @param {Number} playerId you can embed multiple instances of clappr, therefore this is the unique id of each one.\n */\n function Loader() {\n var externalPlugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var playerId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var useOnlyPlainHtml5Plugins = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n (0, _classCallCheck3.default)(this, Loader);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this));\n\n _this.playerId = playerId;\n _this.playbackPlugins = [];\n\n if (!useOnlyPlainHtml5Plugins) {\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_hls2.default]);\n }\n\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_html5_video2.default, _html5_audio2.default]);\n\n if (!useOnlyPlainHtml5Plugins) {\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_flash2.default, _flashls2.default]);\n }\n\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_html_img2.default, _no_op2.default]);\n\n _this.containerPlugins = [_spinner_three_bounce2.default, _watermark2.default, _poster2.default, _stats2.default, _google_analytics2.default, _click_to_pause2.default];\n _this.corePlugins = [_media_control2.default, _dvr_controls2.default, _closed_captions2.default, _favicon2.default, _seek_time2.default, _sources2.default, _end_video2.default, _error_screen2.default, _strings2.default];\n\n if (!Array.isArray(externalPlugins)) _this.validateExternalPluginsType(externalPlugins);\n\n _this.addExternalPlugins(externalPlugins);\n return _this;\n }\n\n /**\n * groups by type the external plugins that were passed through `options.plugins` it they're on a flat array\n * @method addExternalPlugins\n * @private\n * @param {Object} an config object or an array of plugins\n * @return {Object} plugins the config object with the plugins separated by type\n */\n\n\n Loader.prototype.groupPluginsByType = function groupPluginsByType(plugins) {\n if (Array.isArray(plugins)) {\n plugins = plugins.reduce(function (memo, plugin) {\n memo[plugin.type] || (memo[plugin.type] = []);\n memo[plugin.type].push(plugin);\n return memo;\n }, {});\n }\n return plugins;\n };\n\n Loader.prototype.removeDups = function removeDups(list) {\n var groupUp = function groupUp(plugins, plugin) {\n plugins[plugin.prototype.name] && delete plugins[plugin.prototype.name];\n plugins[plugin.prototype.name] = plugin;\n return plugins;\n };\n var pluginsMap = list.reduceRight(groupUp, (0, _create2.default)(null));\n\n var plugins = [];\n for (var key in pluginsMap) {\n plugins.unshift(pluginsMap[key]);\n }return plugins;\n };\n\n /**\n * adds all the external plugins that were passed through `options.plugins`\n * @method addExternalPlugins\n * @private\n * @param {Object} plugins the config object with all plugins\n */\n\n\n Loader.prototype.addExternalPlugins = function addExternalPlugins(plugins) {\n plugins = this.groupPluginsByType(plugins);\n if (plugins.playback) this.playbackPlugins = this.removeDups(plugins.playback.concat(this.playbackPlugins));\n\n if (plugins.container) this.containerPlugins = this.removeDups(plugins.container.concat(this.containerPlugins));\n\n if (plugins.core) this.corePlugins = this.removeDups(plugins.core.concat(this.corePlugins));\n\n _player_info2.default.getInstance(this.playerId).playbackPlugins = this.playbackPlugins;\n };\n\n /**\n * validate if the external plugins that were passed through `options.plugins` are associated to the correct type\n * @method validateExternalPluginsType\n * @private\n * @param {Object} plugins the config object with all plugins\n */\n\n\n Loader.prototype.validateExternalPluginsType = function validateExternalPluginsType(plugins) {\n var plugintypes = ['playback', 'container', 'core'];\n plugintypes.forEach(function (type) {\n (plugins[type] || []).forEach(function (el) {\n var errorMessage = 'external ' + el.type + ' plugin on ' + type + ' array';\n if (el.type !== type) throw new ReferenceError(errorMessage);\n });\n });\n };\n\n return Loader;\n}(_base_object2.default);\n\n/* Core Plugins */\n\n\n/* Container Plugins */\n\n\nexports.default = Loader;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/mediator.js\":\n/*!************************************!*\\\n !*** ./src/components/mediator.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar events = new _events2.default(); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * The mediator is a singleton for handling global events.\n */\n\nvar Mediator = function Mediator() {\n (0, _classCallCheck3.default)(this, Mediator);\n};\n\nexports.default = Mediator;\n\n\nMediator.on = function (name, callback, context) {\n events.on(name, callback, context);\n return;\n};\n\nMediator.once = function (name, callback, context) {\n events.once(name, callback, context);\n return;\n};\n\nMediator.off = function (name, callback, context) {\n events.off(name, callback, context);\n return;\n};\n\nMediator.trigger = function (name) {\n for (var _len = arguments.length, opts = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n opts[_key - 1] = arguments[_key];\n }\n\n events.trigger.apply(events, [name].concat(opts));\n return;\n};\n\nMediator.stopListening = function (obj, name, callback) {\n events.stopListening(obj, name, callback);\n return;\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/player.js\":\n/*!**********************************!*\\\n !*** ./src/components/player.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../base/utils */ \"./src/base/utils.js\");\n\nvar _base_object = __webpack_require__(/*! ../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _browser = __webpack_require__(/*! ./browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _core_factory = __webpack_require__(/*! ./core_factory */ \"./src/components/core_factory/index.js\");\n\nvar _core_factory2 = _interopRequireDefault(_core_factory);\n\nvar _loader = __webpack_require__(/*! ./loader */ \"./src/components/loader/index.js\");\n\nvar _loader2 = _interopRequireDefault(_loader);\n\nvar _player_info = __webpack_require__(/*! ./player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _error_mixin = __webpack_require__(/*! ../base/error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar baseUrl = (0, _utils.currentScriptUrl)().replace(/\\/[^/]+$/, '');\n\n/**\n * @class Player\n * @constructor\n * @extends BaseObject\n * @module components\n * @example\n * ### Using the Player\n *\n * Add the following script on your HTML:\n * ```html\n * <head>\n * <script type=\"text/javascript\" src=\"http://cdn.clappr.io/latest/clappr.min.js\"></script>\n * </head>\n * ```\n * Now, create the player:\n * ```html\n * <body>\n * <div id=\"player\"></div>\n * <script>\n * var player = new Clappr.Player({source: \"http://your.video/here.mp4\", parentId: \"#player\"});\n * </script>\n * </body>\n * ```\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Player = function (_BaseObject) {\n (0, _inherits3.default)(Player, _BaseObject);\n (0, _createClass3.default)(Player, [{\n key: 'loader',\n set: function set(loader) {\n this._loader = loader;\n },\n get: function get() {\n if (!this._loader) this._loader = new _loader2.default(this.options.plugins || {}, this.options.playerId);\n\n return this._loader;\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this.core.activeContainer.ended;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * (i.e if a live stream is playing smoothly, this will be false)\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return this.core.activeContainer.buffering;\n }\n\n /*\n * determine if the player is ready.\n * @property isReady\n * @type {Boolean} `true` if the player is ready. ie PLAYER_READY event has fired\n */\n\n }, {\n key: 'isReady',\n get: function get() {\n return !!this._ready;\n }\n\n /**\n * An events map that allows the user to add custom callbacks in player's options.\n * @property eventsMapping\n * @type {Object}\n */\n\n }, {\n key: 'eventsMapping',\n get: function get() {\n return {\n onReady: _events2.default.PLAYER_READY,\n onResize: _events2.default.PLAYER_RESIZE,\n onPlay: _events2.default.PLAYER_PLAY,\n onPause: _events2.default.PLAYER_PAUSE,\n onStop: _events2.default.PLAYER_STOP,\n onEnded: _events2.default.PLAYER_ENDED,\n onSeek: _events2.default.PLAYER_SEEK,\n onError: _events2.default.PLAYER_ERROR,\n onTimeUpdate: _events2.default.PLAYER_TIMEUPDATE,\n onVolumeUpdate: _events2.default.PLAYER_VOLUMEUPDATE,\n onSubtitleAvailable: _events2.default.PLAYER_SUBTITLE_AVAILABLE\n };\n }\n\n /**\n * @typedef {Object} PlaybackConfig\n * @prop {boolean} disableContextMenu\n * disables the context menu (right click) on the video element if a HTML5Video playback is used.\n * @prop {boolean} preload\n * video will be preloaded according to `preload` attribute options **default**: `'metadata'`\n * @prop {boolean} controls\n * enabled/disables displaying controls\n * @prop {boolean} crossOrigin\n * enables cross-origin capability for media-resources\n * @prop {boolean} playInline\n * enables in-line video elements\n * @prop {boolean} audioOnly\n * enforce audio-only playback (when possible)\n * @prop {Object} externalTracks\n * pass externaly loaded track to playback\n * @prop {Number} [maxBufferLength]\n * The default behavior for the **HLS playback** is to keep buffering indefinitely, even on VoD.\n * This replicates the behavior for progressive download, which continues buffering when pausing the video, thus making the video available for playback even on slow networks.\n * To change this behavior use `maxBufferLength` where **value is in seconds**.\n * @prop {Number} [maxBackBufferLength]\n * After how much distance of the playhead data should be pruned from the buffer (influences memory consumption\n * of adaptive media-engines like Hls.js or Shaka)\n * @prop {Number} [minBufferLength]\n * After how much data in the buffer at least we attempt to consume it (influences QoS-related behavior\n * of adaptive media-engines like Hls.js or Shaka). If this is too low, and the available bandwidth is varying a lot\n * and too close to the streamed bitrate, we may continuously hit under-runs.\n * @prop {Number} [initialBandwidthEstimate]\n * define an initial bandwidth \"guess\" (or previously stored/established value) for underlying adaptive-bitreate engines\n * of adaptive playback implementations, like Hls.js or Shaka\n * @prop {Number} [maxAdaptiveBitrate]\n * Limits the streamed bitrate (for adaptive media-engines in underlying playback implementations)\n * @prop {Object} [maxAdaptiveVideoDimensions]\n * Limits the video dimensions in adaptive media-engines. Should be a literal object with `height` and `width`.\n * @prop {Boolean}[enableAutomaticABR] **default**: `true`\n * Allows to enable/disable automatic bitrate switching in adaptive media-engines\n * @prop {String} [preferredTextLanguage] **default**: `'pt-BR'`\n * Allows to set a preferred text language, that may be enabled by the media-engine if available.\n * @prop {String} [preferredAudioLanguage] **default**: `'pt-BR'`\n * Allows to set a preferred audio language, that may be enabled by the media-engine if available.\n */\n\n /**\n * ## Player's constructor\n *\n * You might pass the options object to build the player.\n * ```javascript\n * var options = {source: \"http://example.com/video.mp4\", param1: \"val1\"};\n * var player = new Clappr.Player(options);\n * ```\n *\n * @method constructor\n * @param {Object} options Data\n * options to build a player instance\n * @param {Number} [options.width]\n * player's width **default**: `640`\n * @param {Number} [options.height]\n * player's height **default**: `360`\n * @param {String} [options.parentId]\n * the id of the element on the page that the player should be inserted into\n * @param {Object} [options.parent]\n * a reference to a dom element that the player should be inserted into\n * @param {String} [options.source]\n * The media source URL, or {source: <<source URL>>, mimeType: <<source mime type>>}\n * @param {Object} [options.sources]\n * An array of media source URL's, or an array of {source: <<source URL>>, mimeType: <<source mime type>>}\n * @param {Boolean} [options.autoPlay]\n * automatically play after page load **default**: `false`\n * @param {Boolean} [options.loop]\n * automatically replay after it ends **default**: `false`\n * @param {Boolean} [options.chromeless]\n * player acts in chromeless mode **default**: `false`\n * @param {Boolean} [options.allowUserInteraction]\n * whether or not the player should handle click events when in chromeless mode **default**: `false` on desktops browsers, `true` on mobile.\n * @param {Boolean} [options.disableKeyboardShortcuts]\n * disable keyboard shortcuts. **default**: `false`. `true` if `allowUserInteraction` is `false`.\n * @param {Boolean} [options.mute]\n * start the video muted **default**: `false`\n * @param {String} [options.mimeType]\n * add `mimeType: \"application/vnd.apple.mpegurl\"` if you need to use a url without extension.\n * @param {Boolean} [options.actualLiveTime]\n * show duration and seek time relative to actual time.\n * @param {String} [options.actualLiveServerTime]\n * specify server time as a string, format: \"2015/11/26 06:01:03\". This option is meant to be used with actualLiveTime.\n * @param {Boolean} [options.persistConfig]\n * persist player's settings (volume) through the same domain **default**: `true`\n * @param {String} [options.preload] @deprecated\n * video will be preloaded according to `preload` attribute options **default**: `'metadata'`\n * @param {Number} [options.maxBufferLength] @deprecated\n * the default behavior for the **HLS playback** is to keep buffering indefinitely, even on VoD.\n * This replicates the behavior for progressive download, which continues buffering when pausing the video, thus making the video available for playback even on slow networks.\n * To change this behavior use `maxBufferLength` where **value is in seconds**.\n * @param {String} [options.gaAccount]\n * enable Google Analytics events dispatch **(play/pause/stop/buffering/etc)** by adding your `gaAccount`\n * @param {String} [options.gaTrackerName]\n * besides `gaAccount` you can optionally, pass your favorite trackerName as `gaTrackerName`\n * @param {Object} [options.mediacontrol]\n * customize control bar colors, example: `mediacontrol: {seekbar: \"#E113D3\", buttons: \"#66B2FF\"}`\n * @param {Boolean} [options.hideMediaControl]\n * control media control auto hide **default**: `true`\n * @param {Boolean} [options.hideVolumeBar]\n * when embedded with width less than 320, volume bar will hide. You can force this behavior for all sizes by adding `true` **default**: `false`\n * @param {String} [options.watermark]\n * put `watermark: 'http://url/img.png'` on your embed parameters to automatically add watermark on your video.\n * You can customize corner position by defining position parameter. Positions can be `bottom-left`, `bottom-right`, `top-left` and `top-right`.\n * @param {String} [options.watermarkLink]\n * `watermarkLink: 'http://example.net/'` - define URL to open when the watermark is clicked. If not provided watermark will not be clickable.\n * @param {Boolean} [options.disableVideoTagContextMenu] @deprecated\n * disables the context menu (right click) on the video element if a HTML5Video playback is used.\n * @param {Boolean} [options.autoSeekFromUrl]\n * Automatically seek to the seconds provided in the url (e.g example.com?t=100) **default**: `true`\n * @param {Boolean} [options.exitFullscreenOnEnd]\n * Automatically exit full screen when the media finishes. **default**: `true`\n * @param {String} [options.poster]\n * define a poster by adding its address `poster: 'http://url/img.png'`. It will appear after video embed, disappear on play and go back when user stops the video.\n * @param {String} [options.playbackNotSupportedMessage]\n * define a custom message to be displayed when a playback is not supported.\n * @param {Object} [options.events]\n * Specify listeners which will be registered with their corresponding player events.\n * E.g. onReady -> \"PLAYER_READY\", onTimeUpdate -> \"PLAYER_TIMEUPDATE\"\n * @param {PlaybackConfig} [options.playback]\n * Generic `Playback` component related configuration\n * @param {Boolean} [options.disableErrorScreen]\n * disables the error screen plugin.\n * @param {Number} [options.autoPlayTimeout]\n * autoplay check timeout.\n */\n\n }]);\n\n function Player(options) {\n (0, _classCallCheck3.default)(this, Player);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n var playbackDefaultOptions = { recycleVideo: true };\n var defaultOptions = {\n playerId: (0, _utils.uniqueId)(''),\n persistConfig: true,\n width: 640,\n height: 360,\n baseUrl: baseUrl,\n allowUserInteraction: _browser2.default.isMobile,\n playback: playbackDefaultOptions\n };\n _this._options = _clapprZepto2.default.extend(defaultOptions, options);\n _this.options.sources = _this._normalizeSources(options);\n if (!_this.options.chromeless) {\n // \"allowUserInteraction\" cannot be false if not in chromeless mode.\n _this.options.allowUserInteraction = true;\n }\n if (!_this.options.allowUserInteraction) {\n // if user iteraction is not allowed ensure keyboard shortcuts are disabled\n _this.options.disableKeyboardShortcuts = true;\n }\n _this._registerOptionEventListeners(_this.options.events);\n _this._coreFactory = new _core_factory2.default(_this);\n _this.playerInfo = _player_info2.default.getInstance(_this.options.playerId);\n _this.playerInfo.currentSize = { width: options.width, height: options.height };\n _this.playerInfo.options = _this.options;\n if (_this.options.parentId) _this.setParentId(_this.options.parentId);else if (_this.options.parent) _this.attachTo(_this.options.parent);\n\n return _this;\n }\n\n /**\n * Specify a `parentId` to the player.\n * @method setParentId\n * @param {String} parentId the element parent id.\n * @return {Player} itself\n */\n\n\n Player.prototype.setParentId = function setParentId(parentId) {\n var el = document.querySelector(parentId);\n if (el) this.attachTo(el);\n\n return this;\n };\n\n /**\n * You can use this method to attach the player to a given element. You don't need to do this when you specify it during the player instantiation passing the `parentId` param.\n * @method attachTo\n * @param {Object} element a given element.\n * @return {Player} itself\n */\n\n\n Player.prototype.attachTo = function attachTo(element) {\n this.options.parentElement = element;\n this.core = this._coreFactory.create();\n this._addEventListeners();\n return this;\n };\n\n Player.prototype._addEventListeners = function _addEventListeners() {\n if (!this.core.isReady) this.listenToOnce(this.core, _events2.default.CORE_READY, this._onReady);else this._onReady();\n\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this._containerChanged);\n this.listenTo(this.core, _events2.default.CORE_FULLSCREEN, this._onFullscreenChange);\n this.listenTo(this.core, _events2.default.CORE_RESIZE, this._onResize);\n return this;\n };\n\n Player.prototype._addContainerEventListeners = function _addContainerEventListeners() {\n var container = this.core.activeContainer;\n if (container) {\n this.listenTo(container, _events2.default.CONTAINER_PLAY, this._onPlay);\n this.listenTo(container, _events2.default.CONTAINER_PAUSE, this._onPause);\n this.listenTo(container, _events2.default.CONTAINER_STOP, this._onStop);\n this.listenTo(container, _events2.default.CONTAINER_ENDED, this._onEnded);\n this.listenTo(container, _events2.default.CONTAINER_SEEK, this._onSeek);\n this.listenTo(container, _events2.default.CONTAINER_ERROR, this._onError);\n this.listenTo(container, _events2.default.CONTAINER_TIMEUPDATE, this._onTimeUpdate);\n this.listenTo(container, _events2.default.CONTAINER_VOLUME, this._onVolumeUpdate);\n this.listenTo(container, _events2.default.CONTAINER_SUBTITLE_AVAILABLE, this._onSubtitleAvailable);\n }\n return this;\n };\n\n Player.prototype._registerOptionEventListeners = function _registerOptionEventListeners() {\n var _this2 = this;\n\n var newEvents = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var events = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var hasNewEvents = (0, _keys2.default)(newEvents).length > 0;\n hasNewEvents && (0, _keys2.default)(events).forEach(function (userEvent) {\n var eventType = _this2.eventsMapping[userEvent];\n eventType && _this2.off(eventType, events[userEvent]);\n });\n\n (0, _keys2.default)(newEvents).forEach(function (userEvent) {\n var eventType = _this2.eventsMapping[userEvent];\n if (eventType) {\n var eventFunction = newEvents[userEvent];\n eventFunction = typeof eventFunction === 'function' && eventFunction;\n eventFunction && _this2.on(eventType, eventFunction);\n }\n });\n return this;\n };\n\n Player.prototype._containerChanged = function _containerChanged() {\n this.stopListening();\n this._addEventListeners();\n };\n\n Player.prototype._onReady = function _onReady() {\n this._ready = true;\n this._addContainerEventListeners();\n this.trigger(_events2.default.PLAYER_READY);\n };\n\n Player.prototype._onFullscreenChange = function _onFullscreenChange(fullscreen) {\n this.trigger(_events2.default.PLAYER_FULLSCREEN, fullscreen);\n };\n\n Player.prototype._onVolumeUpdate = function _onVolumeUpdate(volume) {\n this.trigger(_events2.default.PLAYER_VOLUMEUPDATE, volume);\n };\n\n Player.prototype._onSubtitleAvailable = function _onSubtitleAvailable() {\n this.trigger(_events2.default.PLAYER_SUBTITLE_AVAILABLE);\n };\n\n Player.prototype._onResize = function _onResize(size) {\n this.trigger(_events2.default.PLAYER_RESIZE, size);\n };\n\n Player.prototype._onPlay = function _onPlay() {\n this.trigger(_events2.default.PLAYER_PLAY);\n };\n\n Player.prototype._onPause = function _onPause() {\n this.trigger(_events2.default.PLAYER_PAUSE);\n };\n\n Player.prototype._onStop = function _onStop() {\n this.trigger(_events2.default.PLAYER_STOP, this.getCurrentTime());\n };\n\n Player.prototype._onEnded = function _onEnded() {\n this.trigger(_events2.default.PLAYER_ENDED);\n };\n\n Player.prototype._onSeek = function _onSeek(time) {\n this.trigger(_events2.default.PLAYER_SEEK, time);\n };\n\n Player.prototype._onTimeUpdate = function _onTimeUpdate(timeProgress) {\n this.trigger(_events2.default.PLAYER_TIMEUPDATE, timeProgress);\n };\n\n Player.prototype._onError = function _onError(error) {\n this.trigger(_events2.default.PLAYER_ERROR, error);\n };\n\n Player.prototype._normalizeSources = function _normalizeSources(options) {\n var sources = options.sources || (options.source !== undefined ? [options.source] : []);\n return sources.length === 0 ? [{ source: '', mimeType: '' }] : sources;\n };\n\n /**\n * resizes the current player canvas.\n * @method resize\n * @param {Object} size should be a literal object with `height` and `width`.\n * @return {Player} itself\n * @example\n * ```javascript\n * player.resize({height: 360, width: 640})\n * ```\n */\n\n\n Player.prototype.resize = function resize(size) {\n this.core.resize(size);\n return this;\n };\n\n /**\n * loads a new source.\n * @method load\n * @param {Array|String} sources source or sources of video.\n * An array item can be a string or {source: <<source URL>>, mimeType: <<source mime type>>}\n * @param {String} mimeType a mime type, example: `'application/vnd.apple.mpegurl'`\n * @param {Boolean} [autoPlay=false] whether playing should be started immediately\n * @return {Player} itself\n */\n\n\n Player.prototype.load = function load(sources, mimeType, autoPlay) {\n if (autoPlay !== undefined) this.configure({ autoPlay: !!autoPlay });\n\n this.core.load(sources, mimeType);\n return this;\n };\n\n /**\n * destroys the current player and removes it from the DOM.\n * @method destroy\n * @return {Player} itself\n */\n\n\n Player.prototype.destroy = function destroy() {\n this.stopListening();\n this.core.destroy();\n return this;\n };\n\n /**\n * Gives user consent to playback. Required by mobile device after a click event before Player.load().\n * @method consent\n * @return {Player} itself\n */\n\n\n Player.prototype.consent = function consent() {\n this.core.getCurrentPlayback().consent();\n return this;\n };\n\n /**\n * plays the current video (`source`).\n * @method play\n * @return {Player} itself\n */\n\n\n Player.prototype.play = function play() {\n this.core.activeContainer.play();\n return this;\n };\n\n /**\n * pauses the current video (`source`).\n * @method pause\n * @return {Player} itself\n */\n\n\n Player.prototype.pause = function pause() {\n this.core.activeContainer.pause();\n return this;\n };\n\n /**\n * stops the current video (`source`).\n * @method stop\n * @return {Player} itself\n */\n\n\n Player.prototype.stop = function stop() {\n this.core.activeContainer.stop();\n return this;\n };\n\n /**\n * seeks the current video (`source`). For example, `player.seek(120)` will seek to second 120 (2minutes) of the current video.\n * @method seek\n * @param {Number} time should be a number between 0 and the video duration.\n * @return {Player} itself\n */\n\n\n Player.prototype.seek = function seek(time) {\n this.core.activeContainer.seek(time);\n return this;\n };\n\n /**\n * seeks the current video (`source`). For example, `player.seek(50)` will seek to the middle of the current video.\n * @method seekPercentage\n * @param {Number} time should be a number between 0 and 100.\n * @return {Player} itself\n */\n\n\n Player.prototype.seekPercentage = function seekPercentage(percentage) {\n this.core.activeContainer.seekPercentage(percentage);\n return this;\n };\n\n /**\n * mutes the current video (`source`).\n * @method mute\n * @return {Player} itself\n */\n\n\n Player.prototype.mute = function mute() {\n this._mutedVolume = this.getVolume();\n this.setVolume(0);\n return this;\n };\n\n /**\n * unmutes the current video (`source`).\n * @method unmute\n * @return {Player} itself\n */\n\n\n Player.prototype.unmute = function unmute() {\n this.setVolume(typeof this._mutedVolume === 'number' ? this._mutedVolume : 100);\n this._mutedVolume = null;\n return this;\n };\n\n /**\n * checks if the player is playing.\n * @method isPlaying\n * @return {Boolean} `true` if the current source is playing, otherwise `false`\n */\n\n\n Player.prototype.isPlaying = function isPlaying() {\n return this.core.activeContainer.isPlaying();\n };\n\n /**\n * returns `true` if DVR is enable otherwise `false`.\n * @method isDvrEnabled\n * @return {Boolean}\n */\n\n\n Player.prototype.isDvrEnabled = function isDvrEnabled() {\n return this.core.activeContainer.isDvrEnabled();\n };\n\n /**\n * returns `true` if DVR is in use otherwise `false`.\n * @method isDvrInUse\n * @return {Boolean}\n */\n\n\n Player.prototype.isDvrInUse = function isDvrInUse() {\n return this.core.activeContainer.isDvrInUse();\n };\n\n /**\n * enables to configure a player after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n * @return {Player} itself\n */\n\n\n Player.prototype.configure = function configure() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this._registerOptionEventListeners(options.events, this.options.events);\n this.core.configure(options);\n return this;\n };\n\n /**\n * get a plugin by its name.\n * @method getPlugin\n * @param {String} name of the plugin.\n * @return {Object} the plugin instance\n * @example\n * ```javascript\n * var poster = player.getPlugin('poster');\n * poster.hidePlayButton();\n * ```\n */\n\n\n Player.prototype.getPlugin = function getPlugin(name) {\n var plugins = this.core.plugins.concat(this.core.activeContainer.plugins);\n return plugins.filter(function (plugin) {\n return plugin.name === name;\n })[0];\n };\n\n /**\n * the current time in seconds.\n * @method getCurrentTime\n * @return {Number} current time (in seconds) of the current source\n */\n\n\n Player.prototype.getCurrentTime = function getCurrentTime() {\n return this.core.activeContainer.getCurrentTime();\n };\n\n /**\n * The time that \"0\" now represents relative to when playback started.\n * For a stream with a sliding window this will increase as content is\n * removed from the beginning.\n * @method getStartTimeOffset\n * @return {Number} time (in seconds) that time \"0\" represents.\n */\n\n\n Player.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return this.core.activeContainer.getStartTimeOffset();\n };\n\n /**\n * the duration time in seconds.\n * @method getDuration\n * @return {Number} duration time (in seconds) of the current source\n */\n\n\n Player.prototype.getDuration = function getDuration() {\n return this.core.activeContainer.getDuration();\n };\n\n return Player;\n}(_base_object2.default);\n\nexports.default = Player;\n\n\n(0, _assign2.default)(Player.prototype, _error_mixin2.default);\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/player_info.js\":\n/*!***************************************!*\\\n !*** ./src/components/player_info.js ***!\n \\***************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar PlayerInfo = function PlayerInfo() {\n (0, _classCallCheck3.default)(this, PlayerInfo);\n\n this.options = {};\n this.playbackPlugins = [];\n this.currentSize = { width: 0, height: 0 };\n};\n\nPlayerInfo._players = {};\n\nPlayerInfo.getInstance = function (playerId) {\n return PlayerInfo._players[playerId] || (PlayerInfo._players[playerId] = new PlayerInfo());\n};\n\nexports.default = PlayerInfo;\nmodule.exports = exports[\"default\"];\n\n/***/ }),\n\n/***/ \"./src/icons/01-play.svg\":\n/*!*******************************!*\\\n !*** ./src/icons/01-play.svg ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M1.425.35L14.575 8l-13.15 7.65V.35z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/02-pause.svg\":\n/*!********************************!*\\\n !*** ./src/icons/02-pause.svg ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M1.712 14.76H6.43V1.24H1.71v13.52zm7.86-13.52v13.52h4.716V1.24H9.573z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/03-stop.svg\":\n/*!*******************************!*\\\n !*** ./src/icons/03-stop.svg ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M1.712 1.24h12.6v13.52h-12.6z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/04-volume.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/04-volume.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M11.5 11h-.002v1.502L7.798 10H4.5V6h3.297l3.7-2.502V4.5h.003V11zM11 4.49L7.953 6.5H5v3h2.953L11 11.51V4.49z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/05-mute.svg\":\n/*!*******************************!*\\\n !*** ./src/icons/05-mute.svg ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M9.75 11.51L6.7 9.5H3.75v-3H6.7L9.75 4.49v.664l.497.498V3.498L6.547 6H3.248v4h3.296l3.7 2.502v-2.154l-.497.5v.662zm3-5.165L12.404 6l-1.655 1.653L9.093 6l-.346.345L10.402 8 8.747 9.654l.346.347 1.655-1.653L12.403 10l.348-.346L11.097 8l1.655-1.655z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/06-expand.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/06-expand.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M7.156 8L4 11.156V8.5H3V13h4.5v-1H4.844L8 8.844 7.156 8zM8.5 3v1h2.657L8 7.157 8.846 8 12 4.844V7.5h1V3H8.5z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/07-shrink.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/07-shrink.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M13.5 3.344l-.844-.844L9.5 5.656V3h-1v4.5H13v-1h-2.656L13.5 3.344zM3 9.5h2.656L2.5 12.656l.844.844L6.5 10.344V13h1V8.5H3v1z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/08-hd.svg\":\n/*!*****************************!*\\\n !*** ./src/icons/08-hd.svg ***!\n \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M5.375 7.062H2.637V4.26H.502v7.488h2.135V8.9h2.738v2.848h2.133V4.26H5.375v2.802zm5.97-2.81h-2.84v7.496h2.798c2.65 0 4.195-1.607 4.195-3.77v-.022c0-2.162-1.523-3.704-4.154-3.704zm2.06 3.758c0 1.21-.81 1.896-2.03 1.896h-.83V6.093h.83c1.22 0 2.03.696 2.03 1.896v.02z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/09-cc.svg\":\n/*!*****************************!*\\\n !*** ./src/icons/09-cc.svg ***!\n \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg version=\\\"1.1\\\" id=\\\"Layer_1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" x=\\\"0px\\\" y=\\\"0px\\\" viewBox=\\\"0 0 49 41.8\\\" style=\\\"enable-background:new 0 0 49 41.8;\\\" xml:space=\\\"preserve\\\"><path d=\\\"M47.1,0H3.2C1.6,0,0,1.2,0,2.8v31.5C0,35.9,1.6,37,3.2,37h11.9l3.2,1.9l4.7,2.7c0.9,0.5,2-0.1,2-1.1V37h22.1 c1.6,0,1.9-1.1,1.9-2.7V2.8C49,1.2,48.7,0,47.1,0z M7.2,18.6c0-4.8,3.5-9.3,9.9-9.3c4.8,0,7.1,2.7,7.1,2.7l-2.5,4 c0,0-1.7-1.7-4.2-1.7c-2.8,0-4.3,2.1-4.3,4.3c0,2.1,1.5,4.4,4.5,4.4c2.5,0,4.9-2.1,4.9-2.1l2.2,4.2c0,0-2.7,2.9-7.6,2.9 C10.8,27.9,7.2,23.5,7.2,18.6z M36.9,27.9c-6.4,0-9.9-4.4-9.9-9.3c0-4.8,3.5-9.3,9.9-9.3C41.7,9.3,44,12,44,12l-2.5,4 c0,0-1.7-1.7-4.2-1.7c-2.8,0-4.3,2.1-4.3,4.3c0,2.1,1.5,4.4,4.5,4.4c2.5,0,4.9-2.1,4.9-2.1l2.2,4.2C44.5,25,41.9,27.9,36.9,27.9z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/10-reload.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/10-reload.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg fill=\\\"#FFFFFF\\\" viewBox=\\\"0 0 24 24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z\\\"></path><path d=\\\"M0 0h24v24H0z\\\" fill=\\\"none\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/main.js\":\n/*!*********************!*\\\n !*** ./src/main.js ***!\n \\*********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _player = __webpack_require__(/*! ./components/player */ \"./src/components/player.js\");\n\nvar _player2 = _interopRequireDefault(_player);\n\nvar _utils = __webpack_require__(/*! ./base/utils */ \"./src/base/utils.js\");\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _events = __webpack_require__(/*! ./base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ./base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _container_plugin = __webpack_require__(/*! ./base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _core_plugin = __webpack_require__(/*! ./base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nvar _ui_core_plugin = __webpack_require__(/*! ./base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _ui_container_plugin = __webpack_require__(/*! ./base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _base_object = __webpack_require__(/*! ./base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _ui_object = __webpack_require__(/*! ./base/ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _browser = __webpack_require__(/*! ./components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _container = __webpack_require__(/*! ./components/container */ \"./src/components/container/index.js\");\n\nvar _container2 = _interopRequireDefault(_container);\n\nvar _core = __webpack_require__(/*! ./components/core */ \"./src/components/core/index.js\");\n\nvar _core2 = _interopRequireDefault(_core);\n\nvar _error = __webpack_require__(/*! ./components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _loader = __webpack_require__(/*! ./components/loader */ \"./src/components/loader/index.js\");\n\nvar _loader2 = _interopRequireDefault(_loader);\n\nvar _mediator = __webpack_require__(/*! ./components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _player_info = __webpack_require__(/*! ./components/player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _base_flash_playback = __webpack_require__(/*! ./playbacks/base_flash_playback */ \"./src/playbacks/base_flash_playback/index.js\");\n\nvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\nvar _flash = __webpack_require__(/*! ./playbacks/flash */ \"./src/playbacks/flash/index.js\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\nvar _flashls = __webpack_require__(/*! ./playbacks/flashls */ \"./src/playbacks/flashls/index.js\");\n\nvar _flashls2 = _interopRequireDefault(_flashls);\n\nvar _hls = __webpack_require__(/*! ./playbacks/hls */ \"./src/playbacks/hls/index.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nvar _html5_audio = __webpack_require__(/*! ./playbacks/html5_audio */ \"./src/playbacks/html5_audio/index.js\");\n\nvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\nvar _html5_video = __webpack_require__(/*! ./playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nvar _html_img = __webpack_require__(/*! ./playbacks/html_img */ \"./src/playbacks/html_img/index.js\");\n\nvar _html_img2 = _interopRequireDefault(_html_img);\n\nvar _no_op = __webpack_require__(/*! ./playbacks/no_op */ \"./src/playbacks/no_op/index.js\");\n\nvar _no_op2 = _interopRequireDefault(_no_op);\n\nvar _media_control = __webpack_require__(/*! ./plugins/media_control */ \"./src/plugins/media_control/index.js\");\n\nvar _media_control2 = _interopRequireDefault(_media_control);\n\nvar _click_to_pause = __webpack_require__(/*! ./plugins/click_to_pause */ \"./src/plugins/click_to_pause/index.js\");\n\nvar _click_to_pause2 = _interopRequireDefault(_click_to_pause);\n\nvar _dvr_controls = __webpack_require__(/*! ./plugins/dvr_controls */ \"./src/plugins/dvr_controls/index.js\");\n\nvar _dvr_controls2 = _interopRequireDefault(_dvr_controls);\n\nvar _favicon = __webpack_require__(/*! ./plugins/favicon */ \"./src/plugins/favicon/index.js\");\n\nvar _favicon2 = _interopRequireDefault(_favicon);\n\nvar _log = __webpack_require__(/*! ./plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _poster = __webpack_require__(/*! ./plugins/poster */ \"./src/plugins/poster/index.js\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nvar _spinner_three_bounce = __webpack_require__(/*! ./plugins/spinner_three_bounce */ \"./src/plugins/spinner_three_bounce/index.js\");\n\nvar _spinner_three_bounce2 = _interopRequireDefault(_spinner_three_bounce);\n\nvar _watermark = __webpack_require__(/*! ./plugins/watermark */ \"./src/plugins/watermark/index.js\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\nvar _styler = __webpack_require__(/*! ./base/styler */ \"./src/base/styler.js\");\n\nvar _styler2 = _interopRequireDefault(_styler);\n\nvar _vendor = __webpack_require__(/*! ./vendor */ \"./src/vendor/index.js\");\n\nvar _vendor2 = _interopRequireDefault(_vendor);\n\nvar _template = __webpack_require__(/*! ./base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar version = \"0.3.12\"; // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = {\n Player: _player2.default,\n Mediator: _mediator2.default,\n Events: _events2.default,\n Browser: _browser2.default,\n PlayerInfo: _player_info2.default,\n MediaControl: _media_control2.default,\n ContainerPlugin: _container_plugin2.default,\n UIContainerPlugin: _ui_container_plugin2.default,\n CorePlugin: _core_plugin2.default,\n UICorePlugin: _ui_core_plugin2.default,\n Playback: _playback2.default,\n Container: _container2.default,\n Core: _core2.default,\n PlayerError: _error2.default,\n Loader: _loader2.default,\n BaseObject: _base_object2.default,\n UIObject: _ui_object2.default,\n Utils: _utils2.default,\n BaseFlashPlayback: _base_flash_playback2.default,\n Flash: _flash2.default,\n FlasHLS: _flashls2.default,\n HLS: _hls2.default,\n HTML5Audio: _html5_audio2.default,\n HTML5Video: _html5_video2.default,\n HTMLImg: _html_img2.default,\n NoOp: _no_op2.default,\n ClickToPausePlugin: _click_to_pause2.default,\n DVRControls: _dvr_controls2.default,\n Favicon: _favicon2.default,\n Log: _log2.default,\n Poster: _poster2.default,\n SpinnerThreeBouncePlugin: _spinner_three_bounce2.default,\n WaterMarkPlugin: _watermark2.default,\n Styler: _styler2.default,\n Vendor: _vendor2.default,\n version: version,\n template: _template2.default,\n $: _clapprZepto2.default\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/base_flash_playback.js\":\n/*!******************************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/base_flash_playback.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _flash = __webpack_require__(/*! ./public/flash.html */ \"./src/playbacks/base_flash_playback/public/flash.html\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\n__webpack_require__(/*! ./public/flash.scss */ \"./src/playbacks/base_flash_playback/public/flash.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar IE_CLASSID = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'; // Copyright 2015 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar BaseFlashPlayback = function (_Playback) {\n (0, _inherits3.default)(BaseFlashPlayback, _Playback);\n\n function BaseFlashPlayback() {\n (0, _classCallCheck3.default)(this, BaseFlashPlayback);\n return (0, _possibleConstructorReturn3.default)(this, _Playback.apply(this, arguments));\n }\n\n BaseFlashPlayback.prototype.setElement = function setElement(element) {\n this.$el = element;\n this.el = element[0];\n };\n\n BaseFlashPlayback.prototype.render = function render() {\n this.$el.attr('data', this.swfPath);\n this.$el.html(this.template({\n cid: this.cid,\n swfPath: this.swfPath,\n baseUrl: this.baseUrl,\n playbackId: this.uniqueId,\n wmode: this.wmode,\n callbackName: 'window.Clappr.flashlsCallbacks.' + this.cid }));\n\n if (_browser2.default.isIE) {\n this.$('embed').remove();\n\n if (_browser2.default.isLegacyIE) this.$el.attr('classid', IE_CLASSID);\n }\n\n this.el.id = this.cid;\n\n return this;\n };\n\n (0, _createClass3.default)(BaseFlashPlayback, [{\n key: 'tagName',\n get: function get() {\n return 'object';\n }\n }, {\n key: 'swfPath',\n get: function get() {\n return '';\n }\n }, {\n key: 'wmode',\n get: function get() {\n return 'transparent';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_flash2.default);\n }\n }, {\n key: 'attributes',\n get: function get() {\n var type = 'application/x-shockwave-flash';\n\n if (_browser2.default.isLegacyIE) type = '';\n\n return {\n class: 'clappr-flash-playback',\n type: type,\n width: '100%',\n height: '100%',\n data: this.swfPath,\n 'data-flash-playback': this.name\n };\n }\n }]);\n return BaseFlashPlayback;\n}(_playback2.default);\n\nexports.default = BaseFlashPlayback;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/index.js\":\n/*!****************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/index.js ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = __webpack_require__(/*! ./base_flash_playback */ \"./src/playbacks/base_flash_playback/base_flash_playback.js\");\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/public/flash.html\":\n/*!*************************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/public/flash.html ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<param name=\\\"movie\\\" value=\\\"<%= swfPath %>\\\">\\n<param name=\\\"quality\\\" value=\\\"autohigh\\\">\\n<param name=\\\"swliveconnect\\\" value=\\\"true\\\">\\n<param name=\\\"allowScriptAccess\\\" value=\\\"always\\\">\\n<param name=\\\"bgcolor\\\" value=\\\"#000000\\\">\\n<param name=\\\"allowFullScreen\\\" value=\\\"false\\\">\\n<param name=\\\"wmode\\\" value=\\\"<%= wmode %>\\\">\\n<param name=\\\"tabindex\\\" value=\\\"1\\\">\\n<param name=\\\"FlashVars\\\" value=\\\"playbackId=<%= playbackId %>&callback=<%= callbackName %>\\\">\\n<embed\\n name=\\\"<%= cid %>\\\"\\n type=\\\"application/x-shockwave-flash\\\"\\n disabled=\\\"disabled\\\"\\n tabindex=\\\"-1\\\"\\n enablecontextmenu=\\\"false\\\"\\n allowScriptAccess=\\\"always\\\"\\n quality=\\\"autohigh\\\"\\n pluginspage=\\\"http://www.macromedia.com/go/getflashplayer\\\"\\n wmode=\\\"<%= wmode %>\\\"\\n swliveconnect=\\\"true\\\"\\n allowfullscreen=\\\"false\\\"\\n bgcolor=\\\"#000000\\\"\\n FlashVars=\\\"playbackId=<%= playbackId %>&callback=<%= callbackName %>\\\"\\n data=\\\"<%= swfPath %>\\\"\\n src=\\\"<%= swfPath %>\\\"\\n width=\\\"100%\\\"\\n height=\\\"100%\\\">\\n</embed>\\n\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/public/flash.scss\":\n/*!*************************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/public/flash.scss ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./flash.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/base_flash_playback/public/flash.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/playbacks/flash/flash.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/flash/flash.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _base_flash_playback = __webpack_require__(/*! ../../playbacks/base_flash_playback */ \"./src/playbacks/base_flash_playback/index.js\");\n\nvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _Player = __webpack_require__(/*! ./public/Player.swf */ \"./src/playbacks/flash/public/Player.swf\");\n\nvar _Player2 = _interopRequireDefault(_Player);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MAX_ATTEMPTS = 60; // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Flash = function (_BaseFlashPlayback) {\n (0, _inherits3.default)(Flash, _BaseFlashPlayback);\n (0, _createClass3.default)(Flash, [{\n key: 'name',\n get: function get() {\n return 'flash';\n }\n }, {\n key: 'swfPath',\n get: function get() {\n return (0, _template2.default)(_Player2.default)({ baseUrl: this._baseUrl });\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this._currentState === 'ENDED';\n }\n\n /**\n * Determine if the playback is buffering.\n * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return !!this._bufferingState && this._currentState !== 'ENDED';\n }\n }]);\n\n function Flash() {\n (0, _classCallCheck3.default)(this, Flash);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseFlashPlayback.call.apply(_BaseFlashPlayback, [this].concat(args)));\n\n _this._src = _this.options.src;\n _this._baseUrl = _this.options.baseUrl;\n _this._autoPlay = _this.options.autoPlay;\n _this.settings = { default: ['seekbar'] };\n _this.settings.left = ['playpause', 'position', 'duration'];\n _this.settings.right = ['fullscreen', 'volume'];\n _this.settings.seekEnabled = true;\n _this._isReadyState = false;\n _this._addListeners();\n return _this;\n }\n\n Flash.prototype._bootstrap = function _bootstrap() {\n var _this2 = this;\n\n if (this.el.playerPlay) {\n this.el.width = '100%';\n this.el.height = '100%';\n if (this._currentState === 'PLAYING') {\n this._firstPlay();\n } else {\n this._currentState = 'IDLE';\n this._autoPlay && this.play();\n }\n (0, _clapprZepto2.default)('<div style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%\" />').insertAfter(this.$el);\n if (this.getDuration() > 0) this._metadataLoaded();else _mediator2.default.once(this.uniqueId + ':timeupdate', this._metadataLoaded, this);\n } else {\n this._attempts = this._attempts || 0;\n if (++this._attempts <= MAX_ATTEMPTS) setTimeout(function () {\n return _this2._bootstrap();\n }, 50);else this.trigger(_events2.default.PLAYBACK_ERROR, { message: 'Max number of attempts reached' }, this.name);\n }\n };\n\n Flash.prototype._metadataLoaded = function _metadataLoaded() {\n this._isReadyState = true;\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE, this.name);\n };\n\n Flash.prototype.getPlaybackType = function getPlaybackType() {\n return _playback2.default.VOD;\n };\n\n Flash.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return false;\n };\n\n Flash.prototype._updateTime = function _updateTime() {\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: this.el.getPosition(), total: this.el.getDuration() }, this.name);\n };\n\n Flash.prototype._addListeners = function _addListeners() {\n _mediator2.default.on(this.uniqueId + ':progress', this._progress, this);\n _mediator2.default.on(this.uniqueId + ':timeupdate', this._updateTime, this);\n _mediator2.default.on(this.uniqueId + ':statechanged', this._checkState, this);\n _mediator2.default.on(this.uniqueId + ':flashready', this._bootstrap, this);\n };\n\n Flash.prototype.stopListening = function stopListening() {\n _BaseFlashPlayback.prototype.stopListening.call(this);\n _mediator2.default.off(this.uniqueId + ':progress');\n _mediator2.default.off(this.uniqueId + ':timeupdate');\n _mediator2.default.off(this.uniqueId + ':statechanged');\n _mediator2.default.off(this.uniqueId + ':flashready');\n };\n\n Flash.prototype._checkState = function _checkState() {\n if (this._isIdle || this._currentState === 'PAUSED') {\n return;\n } else if (this._currentState !== 'PLAYING_BUFFERING' && this.el.getState() === 'PLAYING_BUFFERING') {\n this._bufferingState = true;\n this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);\n this._currentState = 'PLAYING_BUFFERING';\n } else if (this.el.getState() === 'PLAYING') {\n this._bufferingState = false;\n this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n this._currentState = 'PLAYING';\n } else if (this.el.getState() === 'IDLE') {\n this._currentState = 'IDLE';\n } else if (this.el.getState() === 'ENDED') {\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: this.el.getDuration() }, this.name);\n this._currentState = 'ENDED';\n this._isIdle = true;\n }\n };\n\n Flash.prototype._progress = function _progress() {\n if (this._currentState !== 'IDLE' && this._currentState !== 'ENDED') {\n this.trigger(_events2.default.PLAYBACK_PROGRESS, {\n start: 0,\n current: this.el.getBytesLoaded(),\n total: this.el.getBytesTotal()\n });\n }\n };\n\n Flash.prototype._firstPlay = function _firstPlay() {\n var _this3 = this;\n\n if (this.el.playerPlay) {\n this._isIdle = false;\n this.el.playerPlay(this._src);\n this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this3._checkInitialSeek();\n });\n this._currentState = 'PLAYING';\n } else {\n this.listenToOnce(this, _events2.default.PLAYBACK_READY, this._firstPlay);\n }\n };\n\n Flash.prototype._checkInitialSeek = function _checkInitialSeek() {\n var seekTime = (0, _utils.seekStringToSeconds)(window.location.href);\n if (seekTime !== 0) this.seekSeconds(seekTime);\n };\n\n Flash.prototype.play = function play() {\n this.trigger(_events2.default.PLAYBACK_PLAY_INTENT);\n if (this._currentState === 'PAUSED' || this._currentState === 'PLAYING_BUFFERING') {\n this._currentState = 'PLAYING';\n this.el.playerResume();\n this.trigger(_events2.default.PLAYBACK_PLAY, this.name);\n } else if (this._currentState !== 'PLAYING') {\n this._firstPlay();\n this.trigger(_events2.default.PLAYBACK_PLAY, this.name);\n }\n };\n\n Flash.prototype.volume = function volume(value) {\n var _this4 = this;\n\n if (this.isReady) this.el.playerVolume(value);else this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this4.volume(value);\n });\n };\n\n Flash.prototype.pause = function pause() {\n this._currentState = 'PAUSED';\n this.el.playerPause();\n this.trigger(_events2.default.PLAYBACK_PAUSE, this.name);\n };\n\n Flash.prototype.stop = function stop() {\n this.el.playerStop();\n this.trigger(_events2.default.PLAYBACK_STOP);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: 0 }, this.name);\n };\n\n Flash.prototype.isPlaying = function isPlaying() {\n return !!(this.isReady && this._currentState.indexOf('PLAYING') > -1);\n };\n\n Flash.prototype.getDuration = function getDuration() {\n return this.el.getDuration();\n };\n\n Flash.prototype.seekPercentage = function seekPercentage(percentage) {\n var _this5 = this;\n\n if (this.el.getDuration() > 0) {\n var seekSeconds = this.el.getDuration() * (percentage / 100);\n this.seek(seekSeconds);\n } else {\n this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this5.seekPercentage(percentage);\n });\n }\n };\n\n Flash.prototype.seek = function seek(time) {\n var _this6 = this;\n\n if (this.isReady && this.el.playerSeek) {\n this.el.playerSeek(time);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: time, total: this.el.getDuration() }, this.name);\n if (this._currentState === 'PAUSED') this.el.playerPause();\n } else {\n this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this6.seek(time);\n });\n }\n };\n\n Flash.prototype.destroy = function destroy() {\n clearInterval(this.bootstrapId);\n _BaseFlashPlayback.prototype.stopListening.call(this);\n this.$el.remove();\n };\n\n (0, _createClass3.default)(Flash, [{\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }]);\n return Flash;\n}(_base_flash_playback2.default);\n\nexports.default = Flash;\n\n\nFlash.canPlay = function (resource) {\n if (!_browser2.default.hasFlash || !resource || resource.constructor !== String) {\n return false;\n } else {\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n return resourceParts.length > 1 && !_browser2.default.isMobile && resourceParts[1].toLowerCase().match(/^(mp4|mov|f4v|3gpp|3gp)$/);\n }\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flash/index.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/flash/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _flash = __webpack_require__(/*! ./flash */ \"./src/playbacks/flash/flash.js\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _flash2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flash/public/Player.swf\":\n/*!***********************************************!*\\\n !*** ./src/playbacks/flash/public/Player.swf ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/4b76590b32dab62bc95c1b7951efae78.swf\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/flashls.js\":\n/*!******************************************!*\\\n !*** ./src/playbacks/flashls/flashls.js ***!\n \\******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_flash_playback = __webpack_require__(/*! ../../playbacks/base_flash_playback */ \"./src/playbacks/base_flash_playback/index.js\");\n\nvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _flashls_events = __webpack_require__(/*! ./flashls_events */ \"./src/playbacks/flashls/flashls_events.js\");\n\nvar _flashls_events2 = _interopRequireDefault(_flashls_events);\n\nvar _HLSPlayer = __webpack_require__(/*! ./public/HLSPlayer.swf */ \"./src/playbacks/flashls/public/HLSPlayer.swf\");\n\nvar _HLSPlayer2 = _interopRequireDefault(_HLSPlayer);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar MAX_ATTEMPTS = 60;\nvar AUTO = -1;\n\nvar FlasHLS = function (_BaseFlashPlayback) {\n (0, _inherits3.default)(FlasHLS, _BaseFlashPlayback);\n (0, _createClass3.default)(FlasHLS, [{\n key: 'name',\n get: function get() {\n return 'flashls';\n }\n }, {\n key: 'swfPath',\n get: function get() {\n return (0, _template2.default)(_HLSPlayer2.default)({ baseUrl: this._baseUrl });\n }\n }, {\n key: 'levels',\n get: function get() {\n return this._levels || [];\n }\n }, {\n key: 'currentLevel',\n get: function get() {\n if (this._currentLevel === null || this._currentLevel === undefined) return AUTO;else return this._currentLevel; //0 is a valid level ID\n },\n set: function set(id) {\n this._currentLevel = id;\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_START);\n this.el.playerSetCurrentLevel(id);\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this._hasEnded;\n }\n\n /**\n * Determine if the playback is buffering.\n * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return !!this._bufferingState && !this._hasEnded;\n }\n }]);\n\n function FlasHLS() {\n (0, _classCallCheck3.default)(this, FlasHLS);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseFlashPlayback.call.apply(_BaseFlashPlayback, [this].concat(args)));\n\n _this._src = _this.options.src;\n _this._baseUrl = _this.options.baseUrl;\n _this._initHlsParameters(_this.options);\n // TODO can this be private?\n _this.highDefinition = false;\n _this._autoPlay = _this.options.autoPlay;\n _this._loop = _this.options.loop;\n _this._defaultSettings = {\n left: ['playstop'],\n default: ['seekbar'],\n right: ['fullscreen', 'volume', 'hd-indicator'],\n seekEnabled: false\n };\n _this.settings = _clapprZepto2.default.extend({}, _this._defaultSettings);\n _this._playbackType = _playback2.default.LIVE;\n _this._hasEnded = false;\n _this._addListeners();\n return _this;\n }\n\n FlasHLS.prototype._initHlsParameters = function _initHlsParameters(options) {\n this._autoStartLoad = options.autoStartLoad === undefined ? true : options.autoStartLoad;\n this._capLevelToStage = options.capLevelToStage === undefined ? false : options.capLevelToStage;\n this._maxLevelCappingMode = options.maxLevelCappingMode === undefined ? 'downscale' : options.maxLevelCappingMode;\n this._minBufferLength = options.minBufferLength === undefined ? -1 : options.minBufferLength;\n this._minBufferLengthCapping = options.minBufferLengthCapping === undefined ? -1 : options.minBufferLengthCapping;\n this._maxBufferLength = options.maxBufferLength === undefined ? 120 : options.maxBufferLength;\n this._maxBackBufferLength = options.maxBackBufferLength === undefined ? 30 : options.maxBackBufferLength;\n this._lowBufferLength = options.lowBufferLength === undefined ? 3 : options.lowBufferLength;\n this._mediaTimePeriod = options.mediaTimePeriod === undefined ? 100 : options.mediaTimePeriod;\n this._fpsDroppedMonitoringPeriod = options.fpsDroppedMonitoringPeriod === undefined ? 5000 : options.fpsDroppedMonitoringPeriod;\n this._fpsDroppedMonitoringThreshold = options.fpsDroppedMonitoringThreshold === undefined ? 0.2 : options.fpsDroppedMonitoringThreshold;\n this._capLevelonFPSDrop = options.capLevelonFPSDrop === undefined ? false : options.capLevelonFPSDrop;\n this._smoothAutoSwitchonFPSDrop = options.smoothAutoSwitchonFPSDrop === undefined ? this.capLevelonFPSDrop : options.smoothAutoSwitchonFPSDrop;\n this._switchDownOnLevelError = options.switchDownOnLevelError === undefined ? true : options.switchDownOnLevelError;\n this._seekMode = options.seekMode === undefined ? 'ACCURATE' : options.seekMode;\n this._keyLoadMaxRetry = options.keyLoadMaxRetry === undefined ? 3 : options.keyLoadMaxRetry;\n this._keyLoadMaxRetryTimeout = options.keyLoadMaxRetryTimeout === undefined ? 64000 : options.keyLoadMaxRetryTimeout;\n this._fragmentLoadMaxRetry = options.fragmentLoadMaxRetry === undefined ? 3 : options.fragmentLoadMaxRetry;\n this._fragmentLoadMaxRetryTimeout = options.fragmentLoadMaxRetryTimeout === undefined ? 4000 : options.fragmentLoadMaxRetryTimeout;\n this._fragmentLoadSkipAfterMaxRetry = options.fragmentLoadSkipAfterMaxRetry === undefined ? true : options.fragmentLoadSkipAfterMaxRetry;\n this._maxSkippedFragments = options.maxSkippedFragments === undefined ? 5 : options.maxSkippedFragments;\n this._flushLiveURLCache = options.flushLiveURLCache === undefined ? false : options.flushLiveURLCache;\n this._initialLiveManifestSize = options.initialLiveManifestSize === undefined ? 1 : options.initialLiveManifestSize;\n this._manifestLoadMaxRetry = options.manifestLoadMaxRetry === undefined ? 3 : options.manifestLoadMaxRetry;\n this._manifestLoadMaxRetryTimeout = options.manifestLoadMaxRetryTimeout === undefined ? 64000 : options.manifestLoadMaxRetryTimeout;\n this._manifestRedundantLoadmaxRetry = options.manifestRedundantLoadmaxRetry === undefined ? 3 : options.manifestRedundantLoadmaxRetry;\n this._startFromBitrate = options.startFromBitrate === undefined ? -1 : options.startFromBitrate;\n this._startFromLevel = options.startFromLevel === undefined ? -1 : options.startFromLevel;\n this._autoStartMaxDuration = options.autoStartMaxDuration === undefined ? -1 : options.autoStartMaxDuration;\n this._seekFromLevel = options.seekFromLevel === undefined ? -1 : options.seekFromLevel;\n this._useHardwareVideoDecoder = options.useHardwareVideoDecoder === undefined ? false : options.useHardwareVideoDecoder;\n this._hlsLogEnabled = options.hlsLogEnabled === undefined ? true : options.hlsLogEnabled;\n this._logDebug = options.logDebug === undefined ? false : options.logDebug;\n this._logDebug2 = options.logDebug2 === undefined ? false : options.logDebug2;\n this._logWarn = options.logWarn === undefined ? true : options.logWarn;\n this._logError = options.logError === undefined ? true : options.logError;\n this._hlsMinimumDvrSize = options.hlsMinimumDvrSize === undefined ? 60 : options.hlsMinimumDvrSize;\n };\n\n FlasHLS.prototype._addListeners = function _addListeners() {\n var _this2 = this;\n\n _mediator2.default.on(this.cid + ':flashready', function () {\n return _this2._bootstrap();\n });\n _mediator2.default.on(this.cid + ':timeupdate', function (timeMetrics) {\n return _this2._updateTime(timeMetrics);\n });\n _mediator2.default.on(this.cid + ':playbackstate', function (state) {\n return _this2._setPlaybackState(state);\n });\n _mediator2.default.on(this.cid + ':levelchanged', function (level) {\n return _this2._levelChanged(level);\n });\n _mediator2.default.on(this.cid + ':error', function (code, url, message) {\n return _this2._flashPlaybackError(code, url, message);\n });\n _mediator2.default.on(this.cid + ':fragmentloaded', function (loadmetrics) {\n return _this2._onFragmentLoaded(loadmetrics);\n });\n _mediator2.default.on(this.cid + ':levelendlist', function (level) {\n return _this2._onLevelEndlist(level);\n });\n };\n\n FlasHLS.prototype.stopListening = function stopListening() {\n _BaseFlashPlayback.prototype.stopListening.call(this);\n _mediator2.default.off(this.cid + ':flashready');\n _mediator2.default.off(this.cid + ':timeupdate');\n _mediator2.default.off(this.cid + ':playbackstate');\n _mediator2.default.off(this.cid + ':levelchanged');\n _mediator2.default.off(this.cid + ':playbackerror');\n _mediator2.default.off(this.cid + ':fragmentloaded');\n _mediator2.default.off(this.cid + ':manifestloaded');\n _mediator2.default.off(this.cid + ':levelendlist');\n };\n\n FlasHLS.prototype._bootstrap = function _bootstrap() {\n var _this3 = this;\n\n if (this.el.playerLoad) {\n this.el.width = '100%';\n this.el.height = '100%';\n this._isReadyState = true;\n this._srcLoaded = false;\n this._currentState = 'IDLE';\n this._setFlashSettings();\n this._updatePlaybackType();\n if (this._autoPlay || this._shouldPlayOnManifestLoaded) this.play();\n\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n } else {\n this._bootstrapAttempts = this._bootstrapAttempts || 0;\n if (++this._bootstrapAttempts <= MAX_ATTEMPTS) {\n setTimeout(function () {\n return _this3._bootstrap();\n }, 50);\n } else {\n var formattedError = this.createError({\n code: 'playerLoadFail_maxNumberAttemptsReached',\n description: this.name + ' error: Max number of attempts reached',\n level: _error2.default.Levels.FATAL,\n raw: {}\n });\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n }\n }\n };\n\n FlasHLS.prototype._setFlashSettings = function _setFlashSettings() {\n this.el.playerSetAutoStartLoad(this._autoStartLoad);\n this.el.playerSetCapLevelToStage(this._capLevelToStage);\n this.el.playerSetMaxLevelCappingMode(this._maxLevelCappingMode);\n this.el.playerSetMinBufferLength(this._minBufferLength);\n this.el.playerSetMinBufferLengthCapping(this._minBufferLengthCapping);\n this.el.playerSetMaxBufferLength(this._maxBufferLength);\n this.el.playerSetMaxBackBufferLength(this._maxBackBufferLength);\n this.el.playerSetLowBufferLength(this._lowBufferLength);\n this.el.playerSetMediaTimePeriod(this._mediaTimePeriod);\n this.el.playerSetFpsDroppedMonitoringPeriod(this._fpsDroppedMonitoringPeriod);\n this.el.playerSetFpsDroppedMonitoringThreshold(this._fpsDroppedMonitoringThreshold);\n this.el.playerSetCapLevelonFPSDrop(this._capLevelonFPSDrop);\n this.el.playerSetSmoothAutoSwitchonFPSDrop(this._smoothAutoSwitchonFPSDrop);\n this.el.playerSetSwitchDownOnLevelError(this._switchDownOnLevelError);\n this.el.playerSetSeekMode(this._seekMode);\n this.el.playerSetKeyLoadMaxRetry(this._keyLoadMaxRetry);\n this.el.playerSetKeyLoadMaxRetryTimeout(this._keyLoadMaxRetryTimeout);\n this.el.playerSetFragmentLoadMaxRetry(this._fragmentLoadMaxRetry);\n this.el.playerSetFragmentLoadMaxRetryTimeout(this._fragmentLoadMaxRetryTimeout);\n this.el.playerSetFragmentLoadSkipAfterMaxRetry(this._fragmentLoadSkipAfterMaxRetry);\n this.el.playerSetMaxSkippedFragments(this._maxSkippedFragments);\n this.el.playerSetFlushLiveURLCache(this._flushLiveURLCache);\n this.el.playerSetInitialLiveManifestSize(this._initialLiveManifestSize);\n this.el.playerSetManifestLoadMaxRetry(this._manifestLoadMaxRetry);\n this.el.playerSetManifestLoadMaxRetryTimeout(this._manifestLoadMaxRetryTimeout);\n this.el.playerSetManifestRedundantLoadmaxRetry(this._manifestRedundantLoadmaxRetry);\n this.el.playerSetStartFromBitrate(this._startFromBitrate);\n this.el.playerSetStartFromLevel(this._startFromLevel);\n this.el.playerSetAutoStartMaxDuration(this._autoStartMaxDuration);\n this.el.playerSetSeekFromLevel(this._seekFromLevel);\n this.el.playerSetUseHardwareVideoDecoder(this._useHardwareVideoDecoder);\n this.el.playerSetLogInfo(this._hlsLogEnabled);\n this.el.playerSetLogDebug(this._logDebug);\n this.el.playerSetLogDebug2(this._logDebug2);\n this.el.playerSetLogWarn(this._logWarn);\n this.el.playerSetLogError(this._logError);\n };\n\n FlasHLS.prototype.setAutoStartLoad = function setAutoStartLoad(autoStartLoad) {\n this._autoStartLoad = autoStartLoad;\n this.el.playerSetAutoStartLoad(this._autoStartLoad);\n };\n\n FlasHLS.prototype.setCapLevelToStage = function setCapLevelToStage(capLevelToStage) {\n this._capLevelToStage = capLevelToStage;\n this.el.playerSetCapLevelToStage(this._capLevelToStage);\n };\n\n FlasHLS.prototype.setMaxLevelCappingMode = function setMaxLevelCappingMode(maxLevelCappingMode) {\n this._maxLevelCappingMode = maxLevelCappingMode;\n this.el.playerSetMaxLevelCappingMode(this._maxLevelCappingMode);\n };\n\n FlasHLS.prototype.setSetMinBufferLength = function setSetMinBufferLength(minBufferLength) {\n this._minBufferLength = minBufferLength;\n this.el.playerSetMinBufferLength(this._minBufferLength);\n };\n\n FlasHLS.prototype.setMinBufferLengthCapping = function setMinBufferLengthCapping(minBufferLengthCapping) {\n this._minBufferLengthCapping = minBufferLengthCapping;\n this.el.playerSetMinBufferLengthCapping(this._minBufferLengthCapping);\n };\n\n FlasHLS.prototype.setMaxBufferLength = function setMaxBufferLength(maxBufferLength) {\n this._maxBufferLength = maxBufferLength;\n this.el.playerSetMaxBufferLength(this._maxBufferLength);\n };\n\n FlasHLS.prototype.setMaxBackBufferLength = function setMaxBackBufferLength(maxBackBufferLength) {\n this._maxBackBufferLength = maxBackBufferLength;\n this.el.playerSetMaxBackBufferLength(this._maxBackBufferLength);\n };\n\n FlasHLS.prototype.setLowBufferLength = function setLowBufferLength(lowBufferLength) {\n this._lowBufferLength = lowBufferLength;\n this.el.playerSetLowBufferLength(this._lowBufferLength);\n };\n\n FlasHLS.prototype.setMediaTimePeriod = function setMediaTimePeriod(mediaTimePeriod) {\n this._mediaTimePeriod = mediaTimePeriod;\n this.el.playerSetMediaTimePeriod(this._mediaTimePeriod);\n };\n\n FlasHLS.prototype.setFpsDroppedMonitoringPeriod = function setFpsDroppedMonitoringPeriod(fpsDroppedMonitoringPeriod) {\n this._fpsDroppedMonitoringPeriod = fpsDroppedMonitoringPeriod;\n this.el.playerSetFpsDroppedMonitoringPeriod(this._fpsDroppedMonitoringPeriod);\n };\n\n FlasHLS.prototype.setFpsDroppedMonitoringThreshold = function setFpsDroppedMonitoringThreshold(fpsDroppedMonitoringThreshold) {\n this._fpsDroppedMonitoringThreshold = fpsDroppedMonitoringThreshold;\n this.el.playerSetFpsDroppedMonitoringThreshold(this._fpsDroppedMonitoringThreshold);\n };\n\n FlasHLS.prototype.setCapLevelonFPSDrop = function setCapLevelonFPSDrop(capLevelonFPSDrop) {\n this._capLevelonFPSDrop = capLevelonFPSDrop;\n this.el.playerSetCapLevelonFPSDrop(this._capLevelonFPSDrop);\n };\n\n FlasHLS.prototype.setSmoothAutoSwitchonFPSDrop = function setSmoothAutoSwitchonFPSDrop(smoothAutoSwitchonFPSDrop) {\n this._smoothAutoSwitchonFPSDrop = smoothAutoSwitchonFPSDrop;\n this.el.playerSetSmoothAutoSwitchonFPSDrop(this._smoothAutoSwitchonFPSDrop);\n };\n\n FlasHLS.prototype.setSwitchDownOnLevelError = function setSwitchDownOnLevelError(switchDownOnLevelError) {\n this._switchDownOnLevelError = switchDownOnLevelError;\n this.el.playerSetSwitchDownOnLevelError(this._switchDownOnLevelError);\n };\n\n FlasHLS.prototype.setSeekMode = function setSeekMode(seekMode) {\n this._seekMode = seekMode;\n this.el.playerSetSeekMode(this._seekMode);\n };\n\n FlasHLS.prototype.setKeyLoadMaxRetry = function setKeyLoadMaxRetry(keyLoadMaxRetry) {\n this._keyLoadMaxRetry = keyLoadMaxRetry;\n this.el.playerSetKeyLoadMaxRetry(this._keyLoadMaxRetry);\n };\n\n FlasHLS.prototype.setKeyLoadMaxRetryTimeout = function setKeyLoadMaxRetryTimeout(keyLoadMaxRetryTimeout) {\n this._keyLoadMaxRetryTimeout = keyLoadMaxRetryTimeout;\n this.el.playerSetKeyLoadMaxRetryTimeout(this._keyLoadMaxRetryTimeout);\n };\n\n FlasHLS.prototype.setFragmentLoadMaxRetry = function setFragmentLoadMaxRetry(fragmentLoadMaxRetry) {\n this._fragmentLoadMaxRetry = fragmentLoadMaxRetry;\n this.el.playerSetFragmentLoadMaxRetry(this._fragmentLoadMaxRetry);\n };\n\n FlasHLS.prototype.setFragmentLoadMaxRetryTimeout = function setFragmentLoadMaxRetryTimeout(fragmentLoadMaxRetryTimeout) {\n this._fragmentLoadMaxRetryTimeout = fragmentLoadMaxRetryTimeout;\n this.el.playerSetFragmentLoadMaxRetryTimeout(this._fragmentLoadMaxRetryTimeout);\n };\n\n FlasHLS.prototype.setFragmentLoadSkipAfterMaxRetry = function setFragmentLoadSkipAfterMaxRetry(fragmentLoadSkipAfterMaxRetry) {\n this._fragmentLoadSkipAfterMaxRetry = fragmentLoadSkipAfterMaxRetry;\n this.el.playerSetFragmentLoadSkipAfterMaxRetry(this._fragmentLoadSkipAfterMaxRetry);\n };\n\n FlasHLS.prototype.setMaxSkippedFragments = function setMaxSkippedFragments(maxSkippedFragments) {\n this._maxSkippedFragments = maxSkippedFragments;\n this.el.playerSetMaxSkippedFragments(this._maxSkippedFragments);\n };\n\n FlasHLS.prototype.setFlushLiveURLCache = function setFlushLiveURLCache(flushLiveURLCache) {\n this._flushLiveURLCache = flushLiveURLCache;\n this.el.playerSetFlushLiveURLCache(this._flushLiveURLCache);\n };\n\n FlasHLS.prototype.setInitialLiveManifestSize = function setInitialLiveManifestSize(initialLiveManifestSize) {\n this._initialLiveManifestSize = initialLiveManifestSize;\n this.el.playerSetInitialLiveManifestSize(this._initialLiveManifestSize);\n };\n\n FlasHLS.prototype.setManifestLoadMaxRetry = function setManifestLoadMaxRetry(manifestLoadMaxRetry) {\n this._manifestLoadMaxRetry = manifestLoadMaxRetry;\n this.el.playerSetManifestLoadMaxRetry(this._manifestLoadMaxRetry);\n };\n\n FlasHLS.prototype.setManifestLoadMaxRetryTimeout = function setManifestLoadMaxRetryTimeout(manifestLoadMaxRetryTimeout) {\n this._manifestLoadMaxRetryTimeout = manifestLoadMaxRetryTimeout;\n this.el.playerSetManifestLoadMaxRetryTimeout(this._manifestLoadMaxRetryTimeout);\n };\n\n FlasHLS.prototype.setManifestRedundantLoadmaxRetry = function setManifestRedundantLoadmaxRetry(manifestRedundantLoadmaxRetry) {\n this._manifestRedundantLoadmaxRetry = manifestRedundantLoadmaxRetry;\n this.el.playerSetManifestRedundantLoadmaxRetry(this._manifestRedundantLoadmaxRetry);\n };\n\n FlasHLS.prototype.setStartFromBitrate = function setStartFromBitrate(startFromBitrate) {\n this._startFromBitrate = startFromBitrate;\n this.el.playerSetStartFromBitrate(this._startFromBitrate);\n };\n\n FlasHLS.prototype.setStartFromLevel = function setStartFromLevel(startFromLevel) {\n this._startFromLevel = startFromLevel;\n this.el.playerSetStartFromLevel(this._startFromLevel);\n };\n\n FlasHLS.prototype.setAutoStartMaxDuration = function setAutoStartMaxDuration(autoStartMaxDuration) {\n this._autoStartMaxDuration = autoStartMaxDuration;\n this.el.playerSetAutoStartMaxDuration(this._autoStartMaxDuration);\n };\n\n FlasHLS.prototype.setSeekFromLevel = function setSeekFromLevel(seekFromLevel) {\n this._seekFromLevel = seekFromLevel;\n this.el.playerSetSeekFromLevel(this._seekFromLevel);\n };\n\n FlasHLS.prototype.setUseHardwareVideoDecoder = function setUseHardwareVideoDecoder(useHardwareVideoDecoder) {\n this._useHardwareVideoDecoder = useHardwareVideoDecoder;\n this.el.playerSetUseHardwareVideoDecoder(this._useHardwareVideoDecoder);\n };\n\n FlasHLS.prototype.setSetLogInfo = function setSetLogInfo(hlsLogEnabled) {\n this._hlsLogEnabled = hlsLogEnabled;\n this.el.playerSetLogInfo(this._hlsLogEnabled);\n };\n\n FlasHLS.prototype.setLogDebug = function setLogDebug(logDebug) {\n this._logDebug = logDebug;\n this.el.playerSetLogDebug(this._logDebug);\n };\n\n FlasHLS.prototype.setLogDebug2 = function setLogDebug2(logDebug2) {\n this._logDebug2 = logDebug2;\n this.el.playerSetLogDebug2(this._logDebug2);\n };\n\n FlasHLS.prototype.setLogWarn = function setLogWarn(logWarn) {\n this._logWarn = logWarn;\n this.el.playerSetLogWarn(this._logWarn);\n };\n\n FlasHLS.prototype.setLogError = function setLogError(logError) {\n this._logError = logError;\n this.el.playerSetLogError(this._logError);\n };\n\n FlasHLS.prototype._levelChanged = function _levelChanged(level) {\n var currentLevel = this.el.getLevels()[level];\n if (currentLevel) {\n this.highDefinition = currentLevel.height >= 720 || currentLevel.bitrate / 1000 >= 2000;\n this.trigger(_events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n\n if (!this._levels || this._levels.length === 0) this._fillLevels();\n\n this.trigger(_events2.default.PLAYBACK_BITRATE, {\n height: currentLevel.height,\n width: currentLevel.width,\n bandwidth: currentLevel.bitrate,\n bitrate: currentLevel.bitrate,\n level: level\n });\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_END);\n }\n };\n\n FlasHLS.prototype._updateTime = function _updateTime(timeMetrics) {\n if (this._currentState === 'IDLE') return;\n\n var duration = this._normalizeDuration(timeMetrics.duration);\n var position = Math.min(Math.max(timeMetrics.position, 0), duration);\n var previousDVRStatus = this._dvrEnabled;\n var livePlayback = this._playbackType === _playback2.default.LIVE;\n this._dvrEnabled = livePlayback && duration > this._hlsMinimumDvrSize;\n\n if (duration === 100 || livePlayback === undefined) return;\n\n if (this._dvrEnabled !== previousDVRStatus) {\n this._updateSettings();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE, this.name);\n }\n\n if (livePlayback && !this._dvrEnabled) position = duration;\n\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: position, total: duration }, this.name);\n };\n\n FlasHLS.prototype.play = function play() {\n this.trigger(_events2.default.PLAYBACK_PLAY_INTENT);\n if (this._currentState === 'PAUSED') this.el.playerResume();else if (!this._srcLoaded && this._currentState !== 'PLAYING') this._firstPlay();else this.el.playerPlay();\n };\n\n FlasHLS.prototype.getPlaybackType = function getPlaybackType() {\n return this._playbackType ? this._playbackType : null;\n };\n\n FlasHLS.prototype.getCurrentTime = function getCurrentTime() {\n return this.el.getPosition();\n };\n\n FlasHLS.prototype.getCurrentLevelIndex = function getCurrentLevelIndex() {\n return this._currentLevel;\n };\n\n FlasHLS.prototype.getCurrentLevel = function getCurrentLevel() {\n return this.levels[this.currentLevel];\n };\n\n FlasHLS.prototype.getCurrentBitrate = function getCurrentBitrate() {\n return this.levels[this.currentLevel].bitrate;\n };\n\n FlasHLS.prototype.setCurrentLevel = function setCurrentLevel(level) {\n this.currentLevel = level;\n };\n\n FlasHLS.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return this.highDefinition;\n };\n\n FlasHLS.prototype.getLevels = function getLevels() {\n return this.levels;\n };\n\n FlasHLS.prototype._setPlaybackState = function _setPlaybackState(state) {\n if (['PLAYING_BUFFERING', 'PAUSED_BUFFERING'].indexOf(state) >= 0) {\n this._bufferingState = true;\n this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);\n this._updateCurrentState(state);\n } else if (['PLAYING', 'PAUSED'].indexOf(state) >= 0) {\n if (['PLAYING_BUFFERING', 'PAUSED_BUFFERING', 'IDLE'].indexOf(this._currentState) >= 0) {\n this._bufferingState = false;\n this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n }\n this._updateCurrentState(state);\n } else if (state === 'IDLE') {\n this._srcLoaded = false;\n if (this._loop && ['PLAYING_BUFFERING', 'PLAYING'].indexOf(this._currentState) >= 0) {\n this.play();\n this.seek(0);\n } else {\n this._updateCurrentState(state);\n this._hasEnded = true;\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: this.getDuration() }, this.name);\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n }\n }\n };\n\n FlasHLS.prototype._updateCurrentState = function _updateCurrentState(state) {\n this._currentState = state;\n if (state !== 'IDLE') this._hasEnded = false;\n\n this._updatePlaybackType();\n if (state === 'PLAYING') this.trigger(_events2.default.PLAYBACK_PLAY, this.name);else if (state === 'PAUSED') this.trigger(_events2.default.PLAYBACK_PAUSE, this.name);\n };\n\n FlasHLS.prototype._updatePlaybackType = function _updatePlaybackType() {\n this._playbackType = this.el.getType();\n if (this._playbackType) {\n this._playbackType = this._playbackType.toLowerCase();\n if (this._playbackType === _playback2.default.VOD) this._startReportingProgress();else this._stopReportingProgress();\n }\n this.trigger(_events2.default.PLAYBACK_PLAYBACKSTATE, { type: this._playbackType });\n };\n\n FlasHLS.prototype._startReportingProgress = function _startReportingProgress() {\n if (!this._reportingProgress) this._reportingProgress = true;\n };\n\n FlasHLS.prototype._stopReportingProgress = function _stopReportingProgress() {\n this._reportingProgress = false;\n };\n\n FlasHLS.prototype._onFragmentLoaded = function _onFragmentLoaded(loadmetrics) {\n this.trigger(_events2.default.PLAYBACK_FRAGMENT_LOADED, loadmetrics);\n if (this._reportingProgress && this.getCurrentTime()) {\n var buffered = this.getCurrentTime() + this.el.getbufferLength();\n this.trigger(_events2.default.PLAYBACK_PROGRESS, {\n start: this.getCurrentTime(),\n current: buffered,\n total: this.el.getDuration()\n });\n }\n };\n\n FlasHLS.prototype._onLevelEndlist = function _onLevelEndlist() {\n this._updatePlaybackType();\n };\n\n FlasHLS.prototype._firstPlay = function _firstPlay() {\n var _this4 = this;\n\n this._shouldPlayOnManifestLoaded = true;\n if (this.el.playerLoad) {\n _mediator2.default.once(this.cid + ':manifestloaded', function (duration, loadmetrics) {\n return _this4._manifestLoaded(duration, loadmetrics);\n });\n this._setFlashSettings(); //ensure flushLiveURLCache will work (#327)\n this.el.playerLoad(this._src);\n this._srcLoaded = true;\n }\n };\n\n FlasHLS.prototype.volume = function volume(value) {\n var _this5 = this;\n\n if (this.isReady) this.el.playerVolume(value);else this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this5.volume(value);\n });\n };\n\n FlasHLS.prototype.pause = function pause() {\n if (this._playbackType !== _playback2.default.LIVE || this._dvrEnabled) {\n this.el.playerPause();\n if (this._playbackType === _playback2.default.LIVE && this._dvrEnabled) this._updateDvr(true);\n }\n };\n\n FlasHLS.prototype.stop = function stop() {\n this._srcLoaded = false;\n this.el.playerStop();\n this.trigger(_events2.default.PLAYBACK_STOP);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: 0 }, this.name);\n };\n\n FlasHLS.prototype.isPlaying = function isPlaying() {\n if (this._currentState) return !!this._currentState.match(/playing/i);\n\n return false;\n };\n\n FlasHLS.prototype.getDuration = function getDuration() {\n return this._normalizeDuration(this.el.getDuration());\n };\n\n FlasHLS.prototype._normalizeDuration = function _normalizeDuration(duration) {\n if (this._playbackType === _playback2.default.LIVE) {\n // estimate 10 seconds of buffer time for live streams for seek positions\n duration = Math.max(0, duration - 10);\n }\n return duration;\n };\n\n FlasHLS.prototype.seekPercentage = function seekPercentage(percentage) {\n var duration = this.el.getDuration();\n var time = 0;\n if (percentage > 0) time = duration * percentage / 100;\n\n this.seek(time);\n };\n\n FlasHLS.prototype.seek = function seek(time) {\n var duration = this.getDuration();\n if (this._playbackType === _playback2.default.LIVE) {\n // seek operations to a time within 3 seconds from live stream will position playhead back to live\n var dvrInUse = duration - time > 3;\n this._updateDvr(dvrInUse);\n }\n this.el.playerSeek(time);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: time, total: duration }, this.name);\n };\n\n FlasHLS.prototype._updateDvr = function _updateDvr(dvrInUse) {\n var previousDvrInUse = !!this._dvrInUse;\n this._dvrInUse = dvrInUse;\n if (this._dvrInUse !== previousDvrInUse) {\n this._updateSettings();\n this.trigger(_events2.default.PLAYBACK_DVR, this._dvrInUse);\n this.trigger(_events2.default.PLAYBACK_STATS_ADD, { 'dvr': this._dvrInUse });\n }\n };\n\n FlasHLS.prototype._flashPlaybackError = function _flashPlaybackError(code, url, message) {\n var error = {\n code: code,\n description: message,\n level: _error2.default.Levels.FATAL,\n raw: { code: code, url: url, message: message }\n };\n var formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.trigger(_events2.default.PLAYBACK_STOP);\n };\n\n FlasHLS.prototype._manifestLoaded = function _manifestLoaded(duration, loadmetrics) {\n if (this._shouldPlayOnManifestLoaded) {\n this._shouldPlayOnManifestLoaded = false;\n // this method initialises the player (and starts playback)\n // this needs to happen before PLAYBACK_LOADEDMETADATA is fired\n // as the user may call seek() in a LOADEDMETADATA listener.\n /// when playerPlay() is called the player seeks to 0\n this.el.playerPlay();\n }\n\n this._fillLevels();\n this.trigger(_events2.default.PLAYBACK_LOADEDMETADATA, { duration: duration, data: loadmetrics });\n };\n\n FlasHLS.prototype._fillLevels = function _fillLevels() {\n var levels = this.el.getLevels();\n var levelsLength = levels.length;\n this._levels = [];\n\n for (var index = 0; index < levelsLength; index++) {\n this._levels.push({ id: index, label: levels[index].height + 'p', level: levels[index] });\n }this.trigger(_events2.default.PLAYBACK_LEVELS_AVAILABLE, this._levels);\n };\n\n FlasHLS.prototype.destroy = function destroy() {\n this.stopListening();\n this.$el.remove();\n };\n\n FlasHLS.prototype._updateSettings = function _updateSettings() {\n this.settings = _clapprZepto2.default.extend({}, this._defaultSettings);\n if (this._playbackType === _playback2.default.VOD || this._dvrInUse) {\n this.settings.left = ['playpause', 'position', 'duration'];\n this.settings.seekEnabled = true;\n } else if (this._dvrEnabled) {\n this.settings.left = ['playpause'];\n this.settings.seekEnabled = true;\n } else {\n this.settings.seekEnabled = false;\n }\n };\n\n FlasHLS.prototype._createCallbacks = function _createCallbacks() {\n var _this6 = this;\n\n if (!window.Clappr) window.Clappr = {};\n\n if (!window.Clappr.flashlsCallbacks) window.Clappr.flashlsCallbacks = {};\n\n this.flashlsEvents = new _flashls_events2.default(this.cid);\n window.Clappr.flashlsCallbacks[this.cid] = function (eventName, args) {\n _this6.flashlsEvents[eventName].apply(_this6.flashlsEvents, args);\n };\n };\n\n FlasHLS.prototype.render = function render() {\n _BaseFlashPlayback.prototype.render.call(this);\n this._createCallbacks();\n return this;\n };\n\n (0, _createClass3.default)(FlasHLS, [{\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }, {\n key: 'dvrEnabled',\n get: function get() {\n return !!this._dvrEnabled;\n }\n }]);\n return FlasHLS;\n}(_base_flash_playback2.default);\n\nexports.default = FlasHLS;\n\n\nFlasHLS.canPlay = function (resource, mimeType) {\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n return _browser2.default.hasFlash && (resourceParts.length > 1 && resourceParts[1].toLowerCase() === 'm3u8' || mimeType === 'application/x-mpegURL' || mimeType === 'application/vnd.apple.mpegurl');\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/flashls_events.js\":\n/*!*************************************************!*\\\n !*** ./src/playbacks/flashls/flashls_events.js ***!\n \\*************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HLSEvents = function () {\n function HLSEvents(instanceId) {\n (0, _classCallCheck3.default)(this, HLSEvents);\n\n this.instanceId = instanceId;\n }\n\n HLSEvents.prototype.ready = function ready() {\n _mediator2.default.trigger(this.instanceId + ':flashready');\n };\n\n HLSEvents.prototype.videoSize = function videoSize(width, height) {\n _mediator2.default.trigger(this.instanceId + ':videosizechanged', width, height);\n };\n\n HLSEvents.prototype.complete = function complete() {\n _mediator2.default.trigger(this.instanceId + ':complete');\n };\n\n HLSEvents.prototype.error = function error(code, url, message) {\n _mediator2.default.trigger(this.instanceId + ':error', code, url, message);\n };\n\n HLSEvents.prototype.manifest = function manifest(duration, loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':manifestloaded', duration, loadmetrics);\n };\n\n HLSEvents.prototype.audioLevelLoaded = function audioLevelLoaded(loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':audiolevelloaded', loadmetrics);\n };\n\n HLSEvents.prototype.levelLoaded = function levelLoaded(loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':levelloaded', loadmetrics);\n };\n\n HLSEvents.prototype.levelEndlist = function levelEndlist(level) {\n _mediator2.default.trigger(this.instanceId + ':levelendlist', level);\n };\n\n HLSEvents.prototype.fragmentLoaded = function fragmentLoaded(loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':fragmentloaded', loadmetrics);\n };\n\n HLSEvents.prototype.fragmentPlaying = function fragmentPlaying(playmetrics) {\n _mediator2.default.trigger(this.instanceId + ':fragmentplaying', playmetrics);\n };\n\n HLSEvents.prototype.position = function position(timemetrics) {\n _mediator2.default.trigger(this.instanceId + ':timeupdate', timemetrics);\n };\n\n HLSEvents.prototype.state = function state(newState) {\n _mediator2.default.trigger(this.instanceId + ':playbackstate', newState);\n };\n\n HLSEvents.prototype.seekState = function seekState(newState) {\n _mediator2.default.trigger(this.instanceId + ':seekstate', newState);\n };\n\n HLSEvents.prototype.switch = function _switch(newLevel) {\n _mediator2.default.trigger(this.instanceId + ':levelchanged', newLevel);\n };\n\n HLSEvents.prototype.audioTracksListChange = function audioTracksListChange(trackList) {\n _mediator2.default.trigger(this.instanceId + ':audiotracklistchanged', trackList);\n };\n\n HLSEvents.prototype.audioTrackChange = function audioTrackChange(trackId) {\n _mediator2.default.trigger(this.instanceId + ':audiotrackchanged', trackId);\n };\n\n return HLSEvents;\n}();\n\nexports.default = HLSEvents;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/index.js\":\n/*!****************************************!*\\\n !*** ./src/playbacks/flashls/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _flashls = __webpack_require__(/*! ./flashls */ \"./src/playbacks/flashls/flashls.js\");\n\nvar _flashls2 = _interopRequireDefault(_flashls);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _flashls2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/public/HLSPlayer.swf\":\n/*!****************************************************!*\\\n !*** ./src/playbacks/flashls/public/HLSPlayer.swf ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/8fa12a459188502b9f0d39b8a67d9e6c.swf\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/hls/hls.js\":\n/*!**********************************!*\\\n !*** ./src/playbacks/hls/hls.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _stringify = __webpack_require__(/*! babel-runtime/core-js/json/stringify */ \"./node_modules/babel-runtime/core-js/json/stringify.js\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _html5_video = __webpack_require__(/*! ../../playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nvar _hls = __webpack_require__(/*! hls.js */ \"./node_modules/hls.js/dist/hls.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _log = __webpack_require__(/*! ../../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar AUTO = -1; // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar HLS = function (_HTML5VideoPlayback) {\n (0, _inherits3.default)(HLS, _HTML5VideoPlayback);\n (0, _createClass3.default)(HLS, [{\n key: 'name',\n get: function get() {\n return 'hls';\n }\n }, {\n key: 'levels',\n get: function get() {\n return this._levels || [];\n }\n }, {\n key: 'currentLevel',\n get: function get() {\n if (this._currentLevel === null || this._currentLevel === undefined) return AUTO;else return this._currentLevel; //0 is a valid level ID\n },\n set: function set(id) {\n this._currentLevel = id;\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_START);\n if (this.options.playback.hlsUseNextLevel) this._hls.nextLevel = this._currentLevel;else this._hls.currentLevel = this._currentLevel;\n }\n }, {\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }, {\n key: '_startTime',\n get: function get() {\n if (this._playbackType === _playback2.default.LIVE && this._playlistType !== 'EVENT') return this._extrapolatedStartTime;\n\n return this._playableRegionStartTime;\n }\n }, {\n key: '_now',\n get: function get() {\n return (0, _utils.now)();\n }\n\n // the time in the video element which should represent the start of the sliding window\n // extrapolated to increase in real time (instead of jumping as the early segments are removed)\n\n }, {\n key: '_extrapolatedStartTime',\n get: function get() {\n if (!this._localStartTimeCorrelation) return this._playableRegionStartTime;\n\n var corr = this._localStartTimeCorrelation;\n var timePassed = this._now - corr.local;\n var extrapolatedWindowStartTime = (corr.remote + timePassed) / 1000;\n // cap at the end of the extrapolated window duration\n return Math.min(extrapolatedWindowStartTime, this._playableRegionStartTime + this._extrapolatedWindowDuration);\n }\n\n // the time in the video element which should represent the end of the content\n // extrapolated to increase in real time (instead of jumping as segments are added)\n\n }, {\n key: '_extrapolatedEndTime',\n get: function get() {\n var actualEndTime = this._playableRegionStartTime + this._playableRegionDuration;\n if (!this._localEndTimeCorrelation) return actualEndTime;\n\n var corr = this._localEndTimeCorrelation;\n var timePassed = this._now - corr.local;\n var extrapolatedEndTime = (corr.remote + timePassed) / 1000;\n return Math.max(actualEndTime - this._extrapolatedWindowDuration, Math.min(extrapolatedEndTime, actualEndTime));\n }\n }, {\n key: '_duration',\n get: function get() {\n return this._extrapolatedEndTime - this._startTime;\n }\n\n // Returns the duration (seconds) of the window that the extrapolated start time is allowed\n // to move in before being capped.\n // The extrapolated start time should never reach the cap at the end of the window as the\n // window should slide as chunks are removed from the start.\n // This also applies to the extrapolated end time in the same way.\n //\n // If chunks aren't being removed for some reason that the start time will reach and remain fixed at\n // playableRegionStartTime + extrapolatedWindowDuration\n //\n // <-- window duration -->\n // I.e playableRegionStartTime |-----------------------|\n // | --> . . .\n // . --> | --> . .\n // . . --> | --> .\n // . . . --> |\n // . . . .\n // extrapolatedStartTime\n\n }, {\n key: '_extrapolatedWindowDuration',\n get: function get() {\n if (this._segmentTargetDuration === null) return 0;\n\n return this._extrapolatedWindowNumSegments * this._segmentTargetDuration;\n }\n }], [{\n key: 'HLSJS',\n get: function get() {\n return _hls2.default;\n }\n }]);\n\n function HLS() {\n (0, _classCallCheck3.default)(this, HLS);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // backwards compatibility (TODO: remove on 0.3.0)\n var _this = (0, _possibleConstructorReturn3.default)(this, _HTML5VideoPlayback.call.apply(_HTML5VideoPlayback, [this].concat(args)));\n\n _this.options.playback = (0, _extends3.default)({}, _this.options, _this.options.playback);\n _this._minDvrSize = typeof _this.options.hlsMinimumDvrSize === 'undefined' ? 60 : _this.options.hlsMinimumDvrSize;\n // The size of the start time extrapolation window measured as a multiple of segments.\n // Should be 2 or higher, or 0 to disable. Should only need to be increased above 2 if more than one segment is\n // removed from the start of the playlist at a time. E.g if the playlist is cached for 10 seconds and new chunks are\n // added/removed every 5.\n _this._extrapolatedWindowNumSegments = !_this.options.playback || typeof _this.options.playback.extrapolatedWindowNumSegments === 'undefined' ? 2 : _this.options.playback.extrapolatedWindowNumSegments;\n\n _this._playbackType = _playback2.default.VOD;\n _this._lastTimeUpdate = { current: 0, total: 0 };\n _this._lastDuration = null;\n // for hls streams which have dvr with a sliding window,\n // the content at the start of the playlist is removed as new\n // content is appended at the end.\n // this means the actual playable start time will increase as the\n // start content is deleted\n // For streams with dvr where the entire recording is kept from the\n // beginning this should stay as 0\n _this._playableRegionStartTime = 0;\n // {local, remote} remote is the time in the video element that should represent 0\n // local is the system time when the 'remote' measurment took place\n _this._localStartTimeCorrelation = null;\n // {local, remote} remote is the time in the video element that should represents the end\n // local is the system time when the 'remote' measurment took place\n _this._localEndTimeCorrelation = null;\n // if content is removed from the beginning then this empty area should\n // be ignored. \"playableRegionDuration\" excludes the empty area\n _this._playableRegionDuration = 0;\n // #EXT-X-PROGRAM-DATE-TIME\n _this._programDateTime = 0;\n // true when the actual duration is longer than hlsjs's live sync point\n // when this is false playableRegionDuration will be the actual duration\n // when this is true playableRegionDuration will exclude the time after the sync point\n _this._durationExcludesAfterLiveSyncPoint = false;\n // #EXT-X-TARGETDURATION\n _this._segmentTargetDuration = null;\n // #EXT-X-PLAYLIST-TYPE\n _this._playlistType = null;\n _this._recoverAttemptsRemaining = _this.options.hlsRecoverAttempts || 16;\n return _this;\n }\n\n HLS.prototype._setup = function _setup() {\n var _this2 = this;\n\n this._ccIsSetup = false;\n this._ccTracksUpdated = false;\n this._hls = new _hls2.default((0, _utils.assign)({}, this.options.playback.hlsjsConfig));\n this._hls.on(_hls2.default.Events.MEDIA_ATTACHED, function () {\n return _this2._hls.loadSource(_this2.options.src);\n });\n this._hls.on(_hls2.default.Events.LEVEL_LOADED, function (evt, data) {\n return _this2._updatePlaybackType(evt, data);\n });\n this._hls.on(_hls2.default.Events.LEVEL_UPDATED, function (evt, data) {\n return _this2._onLevelUpdated(evt, data);\n });\n this._hls.on(_hls2.default.Events.LEVEL_SWITCHING, function (evt, data) {\n return _this2._onLevelSwitch(evt, data);\n });\n this._hls.on(_hls2.default.Events.FRAG_LOADED, function (evt, data) {\n return _this2._onFragmentLoaded(evt, data);\n });\n this._hls.on(_hls2.default.Events.ERROR, function (evt, data) {\n return _this2._onHLSJSError(evt, data);\n });\n this._hls.on(_hls2.default.Events.SUBTITLE_TRACK_LOADED, function (evt, data) {\n return _this2._onSubtitleLoaded(evt, data);\n });\n this._hls.on(_hls2.default.Events.SUBTITLE_TRACKS_UPDATED, function () {\n return _this2._ccTracksUpdated = true;\n });\n this._hls.attachMedia(this.el);\n };\n\n HLS.prototype.render = function render() {\n this._ready();\n return _HTML5VideoPlayback.prototype.render.call(this);\n };\n\n HLS.prototype._ready = function _ready() {\n this._isReadyState = true;\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n };\n\n HLS.prototype._recover = function _recover(evt, data, error) {\n if (!this._recoveredDecodingError) {\n this._recoveredDecodingError = true;\n this._hls.recoverMediaError();\n } else if (!this._recoveredAudioCodecError) {\n this._recoveredAudioCodecError = true;\n this._hls.swapAudioCodec();\n this._hls.recoverMediaError();\n } else {\n _log2.default.error('hlsjs: failed to recover', { evt: evt, data: data });\n error.level = _error2.default.Levels.FATAL;\n var formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n }\n };\n\n // override\n\n\n HLS.prototype._setupSrc = function _setupSrc(srcUrl) {// eslint-disable-line no-unused-vars\n // this playback manages the src on the video element itself\n };\n\n HLS.prototype._startTimeUpdateTimer = function _startTimeUpdateTimer() {\n var _this3 = this;\n\n if (this._timeUpdateTimer) return;\n\n this._timeUpdateTimer = setInterval(function () {\n _this3._onDurationChange();\n _this3._onTimeUpdate();\n }, 100);\n };\n\n HLS.prototype._stopTimeUpdateTimer = function _stopTimeUpdateTimer() {\n if (!this._timeUpdateTimer) return;\n\n clearInterval(this._timeUpdateTimer);\n this._timeUpdateTimer = null;\n };\n\n HLS.prototype.getProgramDateTime = function getProgramDateTime() {\n return this._programDateTime;\n };\n // the duration on the video element itself should not be used\n // as this does not necesarily represent the duration of the stream\n // https://github.com/clappr/clappr/issues/668#issuecomment-157036678\n\n\n HLS.prototype.getDuration = function getDuration() {\n return this._duration;\n };\n\n HLS.prototype.getCurrentTime = function getCurrentTime() {\n // e.g. can be < 0 if user pauses near the start\n // eventually they will then be kicked to the end by hlsjs if they run out of buffer\n // before the official start time\n return Math.max(0, this.el.currentTime - this._startTime);\n };\n\n // the time that \"0\" now represents relative to when playback started\n // for a stream with a sliding window this will increase as content is\n // removed from the beginning\n\n\n HLS.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return this._startTime;\n };\n\n HLS.prototype.seekPercentage = function seekPercentage(percentage) {\n var seekTo = this._duration;\n if (percentage > 0) seekTo = this._duration * (percentage / 100);\n\n this.seek(seekTo);\n };\n\n HLS.prototype.seek = function seek(time) {\n if (time < 0) {\n _log2.default.warn('Attempt to seek to a negative time. Resetting to live point. Use seekToLivePoint() to seek to the live point.');\n time = this.getDuration();\n }\n // assume live if time within 3 seconds of end of stream\n this.dvrEnabled && this._updateDvr(time < this.getDuration() - 3);\n time += this._startTime;\n _HTML5VideoPlayback.prototype.seek.call(this, time);\n };\n\n HLS.prototype.seekToLivePoint = function seekToLivePoint() {\n this.seek(this.getDuration());\n };\n\n HLS.prototype._updateDvr = function _updateDvr(status) {\n this.trigger(_events2.default.PLAYBACK_DVR, status);\n this.trigger(_events2.default.PLAYBACK_STATS_ADD, { 'dvr': status });\n };\n\n HLS.prototype._updateSettings = function _updateSettings() {\n if (this._playbackType === _playback2.default.VOD) this.settings.left = ['playpause', 'position', 'duration'];else if (this.dvrEnabled) this.settings.left = ['playpause'];else this.settings.left = ['playstop'];\n\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n };\n\n HLS.prototype._onHLSJSError = function _onHLSJSError(evt, data) {\n var error = {\n code: data.type + '_' + data.details,\n description: this.name + ' error: type: ' + data.type + ', details: ' + data.details,\n raw: data\n };\n var formattedError = void 0;\n if (data.response) error.description += ', response: ' + (0, _stringify2.default)(data.response);\n // only report/handle errors if they are fatal\n // hlsjs should automatically handle non fatal errors\n if (data.fatal) {\n if (this._recoverAttemptsRemaining > 0) {\n this._recoverAttemptsRemaining -= 1;\n switch (data.type) {\n case _hls2.default.ErrorTypes.NETWORK_ERROR:\n switch (data.details) {\n // The following network errors cannot be recovered with HLS.startLoad()\n // For more details, see https://github.com/video-dev/hls.js/blob/master/doc/design.md#error-detection-and-handling\n // For \"level load\" fatal errors, see https://github.com/video-dev/hls.js/issues/1138\n case _hls2.default.ErrorDetails.MANIFEST_LOAD_ERROR:\n case _hls2.default.ErrorDetails.MANIFEST_LOAD_TIMEOUT:\n case _hls2.default.ErrorDetails.MANIFEST_PARSING_ERROR:\n case _hls2.default.ErrorDetails.LEVEL_LOAD_ERROR:\n case _hls2.default.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n _log2.default.error('hlsjs: unrecoverable network fatal error.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n break;\n default:\n _log2.default.warn('hlsjs: trying to recover from network error.', { evt: evt, data: data });\n error.level = _error2.default.Levels.WARN;\n this.createError(error);\n this._hls.startLoad();\n break;\n }\n break;\n case _hls2.default.ErrorTypes.MEDIA_ERROR:\n _log2.default.warn('hlsjs: trying to recover from media error.', { evt: evt, data: data });\n error.level = _error2.default.Levels.WARN;\n this.createError(error);\n this._recover(evt, data, error);\n break;\n default:\n _log2.default.error('hlsjs: could not recover from error.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n break;\n }\n } else {\n _log2.default.error('hlsjs: could not recover from error after maximum number of attempts.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n }\n } else {\n // Transforms HLSJS.ErrorDetails.KEY_LOAD_ERROR non-fatal error to\n // playback fatal error if triggerFatalErrorOnResourceDenied playback\n // option is set. HLSJS.ErrorTypes.KEY_SYSTEM_ERROR are fatal errors\n // and therefore already handled.\n if (this.options.playback.triggerFatalErrorOnResourceDenied && this._keyIsDenied(data)) {\n _log2.default.error('hlsjs: could not load decrypt key.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n return;\n }\n\n error.level = _error2.default.Levels.WARN;\n this.createError(error);\n _log2.default.warn('hlsjs: non-fatal error occurred', { evt: evt, data: data });\n }\n };\n\n HLS.prototype._keyIsDenied = function _keyIsDenied(data) {\n return data.type === _hls2.default.ErrorTypes.NETWORK_ERROR && data.details === _hls2.default.ErrorDetails.KEY_LOAD_ERROR && data.response && data.response.code >= 400;\n };\n\n HLS.prototype._onTimeUpdate = function _onTimeUpdate() {\n var update = { current: this.getCurrentTime(), total: this.getDuration(), firstFragDateTime: this.getProgramDateTime() };\n var isSame = this._lastTimeUpdate && update.current === this._lastTimeUpdate.current && update.total === this._lastTimeUpdate.total;\n if (isSame) return;\n\n this._lastTimeUpdate = update;\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, update, this.name);\n };\n\n HLS.prototype._onDurationChange = function _onDurationChange() {\n var duration = this.getDuration();\n if (this._lastDuration === duration) return;\n\n this._lastDuration = duration;\n _HTML5VideoPlayback.prototype._onDurationChange.call(this);\n };\n\n HLS.prototype._onProgress = function _onProgress() {\n if (!this.el.buffered.length) return;\n\n var buffered = [];\n var bufferedPos = 0;\n for (var i = 0; i < this.el.buffered.length; i++) {\n buffered = [].concat((0, _toConsumableArray3.default)(buffered), [{\n // for a stream with sliding window dvr something that is buffered my slide off the start of the timeline\n start: Math.max(0, this.el.buffered.start(i) - this._playableRegionStartTime),\n end: Math.max(0, this.el.buffered.end(i) - this._playableRegionStartTime)\n }]);\n if (this.el.currentTime >= buffered[i].start && this.el.currentTime <= buffered[i].end) bufferedPos = i;\n }\n var progress = {\n start: buffered[bufferedPos].start,\n current: buffered[bufferedPos].end,\n total: this.getDuration()\n };\n this.trigger(_events2.default.PLAYBACK_PROGRESS, progress, buffered);\n };\n\n HLS.prototype.play = function play() {\n if (!this._hls) this._setup();\n\n _HTML5VideoPlayback.prototype.play.call(this);\n this._startTimeUpdateTimer();\n };\n\n HLS.prototype.pause = function pause() {\n if (!this._hls) return;\n\n _HTML5VideoPlayback.prototype.pause.call(this);\n if (this.dvrEnabled) this._updateDvr(true);\n };\n\n HLS.prototype.stop = function stop() {\n this._stopTimeUpdateTimer();\n if (this._hls) {\n _HTML5VideoPlayback.prototype.stop.call(this);\n this._hls.destroy();\n delete this._hls;\n }\n };\n\n HLS.prototype.destroy = function destroy() {\n this._stopTimeUpdateTimer();\n if (this._hls) {\n this._hls.destroy();\n delete this._hls;\n }\n _HTML5VideoPlayback.prototype.destroy.call(this);\n };\n\n HLS.prototype._updatePlaybackType = function _updatePlaybackType(evt, data) {\n this._playbackType = data.details.live ? _playback2.default.LIVE : _playback2.default.VOD;\n this._onLevelUpdated(evt, data);\n\n // Live stream subtitle tracks detection hack (may not immediately available)\n if (this._ccTracksUpdated && this._playbackType === _playback2.default.LIVE && this.hasClosedCaptionsTracks) this._onSubtitleLoaded();\n };\n\n HLS.prototype._fillLevels = function _fillLevels() {\n this._levels = this._hls.levels.map(function (level, index) {\n return { id: index, level: level, label: level.bitrate / 1000 + 'Kbps' };\n });\n this.trigger(_events2.default.PLAYBACK_LEVELS_AVAILABLE, this._levels);\n };\n\n HLS.prototype._onLevelUpdated = function _onLevelUpdated(evt, data) {\n this._segmentTargetDuration = data.details.targetduration;\n this._playlistType = data.details.type || null;\n\n var startTimeChanged = false;\n var durationChanged = false;\n var fragments = data.details.fragments;\n var previousPlayableRegionStartTime = this._playableRegionStartTime;\n var previousPlayableRegionDuration = this._playableRegionDuration;\n\n if (fragments.length === 0) return;\n\n // #EXT-X-PROGRAM-DATE-TIME\n if (fragments[0].rawProgramDateTime) this._programDateTime = fragments[0].rawProgramDateTime;\n\n if (this._playableRegionStartTime !== fragments[0].start) {\n startTimeChanged = true;\n this._playableRegionStartTime = fragments[0].start;\n }\n\n if (startTimeChanged) {\n if (!this._localStartTimeCorrelation) {\n // set the correlation to map to middle of the extrapolation window\n this._localStartTimeCorrelation = {\n local: this._now,\n remote: (fragments[0].start + this._extrapolatedWindowDuration / 2) * 1000\n };\n } else {\n // check if the correlation still works\n var corr = this._localStartTimeCorrelation;\n var timePassed = this._now - corr.local;\n // this should point to a time within the extrapolation window\n var startTime = (corr.remote + timePassed) / 1000;\n if (startTime < fragments[0].start) {\n // our start time is now earlier than the first chunk\n // (maybe the chunk was removed early)\n // reset correlation so that it sits at the beginning of the first available chunk\n this._localStartTimeCorrelation = {\n local: this._now,\n remote: fragments[0].start * 1000\n };\n } else if (startTime > previousPlayableRegionStartTime + this._extrapolatedWindowDuration) {\n // start time was past the end of the old extrapolation window (so would have been capped)\n // see if now that time would be inside the window, and if it would be set the correlation\n // so that it resumes from the time it was at at the end of the old window\n // update the correlation so that the time starts counting again from the value it's on now\n this._localStartTimeCorrelation = {\n local: this._now,\n remote: Math.max(fragments[0].start, previousPlayableRegionStartTime + this._extrapolatedWindowDuration) * 1000\n };\n }\n }\n }\n\n var newDuration = data.details.totalduration;\n // if it's a live stream then shorten the duration to remove access\n // to the area after hlsjs's live sync point\n // seeks to areas after this point sometimes have issues\n if (this._playbackType === _playback2.default.LIVE) {\n var fragmentTargetDuration = data.details.targetduration;\n var hlsjsConfig = this.options.playback.hlsjsConfig || {};\n var liveSyncDurationCount = hlsjsConfig.liveSyncDurationCount || _hls2.default.DefaultConfig.liveSyncDurationCount;\n var hiddenAreaDuration = fragmentTargetDuration * liveSyncDurationCount;\n if (hiddenAreaDuration <= newDuration) {\n newDuration -= hiddenAreaDuration;\n this._durationExcludesAfterLiveSyncPoint = true;\n } else {\n this._durationExcludesAfterLiveSyncPoint = false;\n }\n }\n\n if (newDuration !== this._playableRegionDuration) {\n durationChanged = true;\n this._playableRegionDuration = newDuration;\n }\n\n // Note the end time is not the playableRegionDuration\n // The end time will always increase even if content is removed from the beginning\n var endTime = fragments[0].start + newDuration;\n var previousEndTime = previousPlayableRegionStartTime + previousPlayableRegionDuration;\n var endTimeChanged = endTime !== previousEndTime;\n if (endTimeChanged) {\n if (!this._localEndTimeCorrelation) {\n // set the correlation to map to the end\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: endTime * 1000\n };\n } else {\n // check if the correlation still works\n var _corr = this._localEndTimeCorrelation;\n var _timePassed = this._now - _corr.local;\n // this should point to a time within the extrapolation window from the end\n var extrapolatedEndTime = (_corr.remote + _timePassed) / 1000;\n if (extrapolatedEndTime > endTime) {\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: endTime * 1000\n };\n } else if (extrapolatedEndTime < endTime - this._extrapolatedWindowDuration) {\n // our extrapolated end time is now earlier than the extrapolation window from the actual end time\n // (maybe a chunk became available early)\n // reset correlation so that it sits at the beginning of the extrapolation window from the end time\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: (endTime - this._extrapolatedWindowDuration) * 1000\n };\n } else if (extrapolatedEndTime > previousEndTime) {\n // end time was past the old end time (so would have been capped)\n // set the correlation so that it resumes from the time it was at at the end of the old window\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: previousEndTime * 1000\n };\n }\n }\n }\n\n // now that the values have been updated call any methods that use on them so they get the updated values\n // immediately\n durationChanged && this._onDurationChange();\n startTimeChanged && this._onProgress();\n };\n\n HLS.prototype._onFragmentLoaded = function _onFragmentLoaded(evt, data) {\n this.trigger(_events2.default.PLAYBACK_FRAGMENT_LOADED, data);\n };\n\n HLS.prototype._onSubtitleLoaded = function _onSubtitleLoaded() {\n // This event may be triggered multiple times\n // Setup CC only once (disable CC by default)\n if (!this._ccIsSetup) {\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_AVAILABLE);\n var trackId = this._playbackType === _playback2.default.LIVE ? -1 : this.closedCaptionsTrackId;\n this.closedCaptionsTrackId = trackId;\n this._ccIsSetup = true;\n }\n };\n\n HLS.prototype._onLevelSwitch = function _onLevelSwitch(evt, data) {\n if (!this.levels.length) this._fillLevels();\n\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_END);\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH, data);\n var currentLevel = this._hls.levels[data.level];\n if (currentLevel) {\n // TODO should highDefinition be private and maybe have a read only accessor if it's used somewhere\n this.highDefinition = currentLevel.height >= 720 || currentLevel.bitrate / 1000 >= 2000;\n this.trigger(_events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n this.trigger(_events2.default.PLAYBACK_BITRATE, {\n height: currentLevel.height,\n width: currentLevel.width,\n bandwidth: currentLevel.bitrate,\n bitrate: currentLevel.bitrate,\n level: data.level\n });\n }\n };\n\n HLS.prototype.getPlaybackType = function getPlaybackType() {\n return this._playbackType;\n };\n\n HLS.prototype.isSeekEnabled = function isSeekEnabled() {\n return this._playbackType === _playback2.default.VOD || this.dvrEnabled;\n };\n\n (0, _createClass3.default)(HLS, [{\n key: 'dvrEnabled',\n get: function get() {\n // enabled when:\n // - the duration does not include content after hlsjs's live sync point\n // - the playable region duration is longer than the configured duration to enable dvr after\n // - the playback type is LIVE.\n return this._durationExcludesAfterLiveSyncPoint && this._duration >= this._minDvrSize && this.getPlaybackType() === _playback2.default.LIVE;\n }\n }]);\n return HLS;\n}(_html5_video2.default);\n\nexports.default = HLS;\n\n\nHLS.canPlay = function (resource, mimeType) {\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n var isHls = resourceParts.length > 1 && resourceParts[1].toLowerCase() === 'm3u8' || (0, _utils.listContainsIgnoreCase)(mimeType, ['application/vnd.apple.mpegurl', 'application/x-mpegURL']);\n\n return !!(_hls2.default.isSupported() && isHls);\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/hls/index.js\":\n/*!************************************!*\\\n !*** ./src/playbacks/hls/index.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _hls = __webpack_require__(/*! ./hls */ \"./src/playbacks/hls/hls.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _hls2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_audio/html5_audio.js\":\n/*!**************************************************!*\\\n !*** ./src/playbacks/html5_audio/html5_audio.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _html5_video = __webpack_require__(/*! ../../playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// TODO: remove this playback and change HTML5Video to HTML5Playback (breaking change, only after 0.3.0)\nvar HTML5Audio = function (_HTML5Video) {\n (0, _inherits3.default)(HTML5Audio, _HTML5Video);\n\n function HTML5Audio() {\n (0, _classCallCheck3.default)(this, HTML5Audio);\n return (0, _possibleConstructorReturn3.default)(this, _HTML5Video.apply(this, arguments));\n }\n\n HTML5Audio.prototype.updateSettings = function updateSettings() {\n this.settings.left = ['playpause', 'position', 'duration'];\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n };\n\n HTML5Audio.prototype.getPlaybackType = function getPlaybackType() {\n return _playback2.default.AOD;\n };\n\n (0, _createClass3.default)(HTML5Audio, [{\n key: 'name',\n get: function get() {\n return 'html5_audio';\n }\n }, {\n key: 'tagName',\n get: function get() {\n return 'audio';\n }\n }, {\n key: 'isAudioOnly',\n get: function get() {\n return true;\n }\n }]);\n return HTML5Audio;\n}(_html5_video2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = HTML5Audio;\n\n\nHTML5Audio.canPlay = function (resourceUrl, mimeType) {\n var mimetypes = {\n 'wav': ['audio/wav'],\n 'mp3': ['audio/mp3', 'audio/mpeg;codecs=\"mp3\"'],\n 'aac': ['audio/mp4;codecs=\"mp4a.40.5\"'],\n 'oga': ['audio/ogg']\n };\n return _html5_video2.default._canPlay('audio', mimetypes, resourceUrl, mimeType);\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_audio/index.js\":\n/*!********************************************!*\\\n !*** ./src/playbacks/html5_audio/index.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _html5_audio = __webpack_require__(/*! ./html5_audio */ \"./src/playbacks/html5_audio/html5_audio.js\");\n\nvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _html5_audio2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/html5_video.js\":\n/*!**************************************************!*\\\n !*** ./src/playbacks/html5_video/html5_video.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _from = __webpack_require__(/*! babel-runtime/core-js/array/from */ \"./node_modules/babel-runtime/core-js/array/from.js\");\n\nvar _from2 = _interopRequireDefault(_from);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _log = __webpack_require__(/*! ../../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _tracks = __webpack_require__(/*! ./public/tracks.html */ \"./src/playbacks/html5_video/public/tracks.html\");\n\nvar _tracks2 = _interopRequireDefault(_tracks);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/playbacks/html5_video/public/style.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar MIMETYPES = {\n 'mp4': ['avc1.42E01E', 'avc1.58A01E', 'avc1.4D401E', 'avc1.64001E', 'mp4v.20.8', 'mp4v.20.240', 'mp4a.40.2'].map(function (codec) {\n return 'video/mp4; codecs=\"' + codec + ', mp4a.40.2\"';\n }),\n 'ogg': ['video/ogg; codecs=\"theora, vorbis\"', 'video/ogg; codecs=\"dirac\"', 'video/ogg; codecs=\"theora, speex\"'],\n '3gpp': ['video/3gpp; codecs=\"mp4v.20.8, samr\"'],\n 'webm': ['video/webm; codecs=\"vp8, vorbis\"'],\n 'mkv': ['video/x-matroska; codecs=\"theora, vorbis\"'],\n 'm3u8': ['application/x-mpegurl']\n};\nMIMETYPES['ogv'] = MIMETYPES['ogg'];\nMIMETYPES['3gp'] = MIMETYPES['3gpp'];\n\nvar AUDIO_MIMETYPES = {\n 'wav': ['audio/wav'],\n 'mp3': ['audio/mp3', 'audio/mpeg;codecs=\"mp3\"'],\n 'aac': ['audio/mp4;codecs=\"mp4a.40.5\"'],\n 'oga': ['audio/ogg']\n};\n\nvar KNOWN_AUDIO_MIMETYPES = (0, _keys2.default)(AUDIO_MIMETYPES).reduce(function (acc, k) {\n return [].concat((0, _toConsumableArray3.default)(acc), (0, _toConsumableArray3.default)(AUDIO_MIMETYPES[k]));\n}, []);\n\nvar UNKNOWN_ERROR = { code: 'unknown', message: 'unknown'\n\n // TODO: rename this Playback to HTML5Playback (breaking change, only after 0.3.0)\n};\nvar HTML5Video = function (_Playback) {\n (0, _inherits3.default)(HTML5Video, _Playback);\n (0, _createClass3.default)(HTML5Video, [{\n key: 'name',\n get: function get() {\n return 'html5_video';\n }\n }, {\n key: 'tagName',\n get: function get() {\n return this.isAudioOnly ? 'audio' : 'video';\n }\n }, {\n key: 'isAudioOnly',\n get: function get() {\n var resourceUrl = this.options.src;\n var mimeTypes = HTML5Video._mimeTypesForUrl(resourceUrl, AUDIO_MIMETYPES, this.options.mimeType);\n return this.options.playback && this.options.playback.audioOnly || this.options.audioOnly || KNOWN_AUDIO_MIMETYPES.indexOf(mimeTypes[0]) >= 0;\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-html5-video': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'canplay': '_onCanPlay',\n 'canplaythrough': '_handleBufferingEvents',\n 'durationchange': '_onDurationChange',\n 'ended': '_onEnded',\n 'error': '_onError',\n 'loadeddata': '_onLoadedData',\n 'loadedmetadata': '_onLoadedMetadata',\n 'pause': '_onPause',\n 'playing': '_onPlaying',\n 'progress': '_onProgress',\n 'seeking': '_onSeeking',\n 'seeked': '_onSeeked',\n 'stalled': '_handleBufferingEvents',\n 'timeupdate': '_onTimeUpdate',\n 'waiting': '_onWaiting'\n };\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this.el.ended;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return this._isBuffering;\n }\n }]);\n\n function HTML5Video() {\n (0, _classCallCheck3.default)(this, HTML5Video);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Playback.call.apply(_Playback, [this].concat(args)));\n\n _this._destroyed = false;\n _this._loadStarted = false;\n _this._isBuffering = false;\n _this._playheadMoving = false;\n _this._playheadMovingTimer = null;\n _this._stopped = false;\n _this._ccTrackId = -1;\n _this._setupSrc(_this.options.src);\n // backwards compatibility (TODO: remove on 0.3.0)\n _this.options.playback || (_this.options.playback = _this.options || {});\n _this.options.playback.disableContextMenu = _this.options.playback.disableContextMenu || _this.options.disableVideoTagContextMenu;\n\n var playbackConfig = _this.options.playback;\n var preload = playbackConfig.preload || (_browser2.default.isSafari ? 'auto' : _this.options.preload);\n\n var posterUrl = void 0; // FIXME: poster plugin should always convert poster to object with expected properties ?\n if (_this.options.poster) {\n if (typeof _this.options.poster === 'string') posterUrl = _this.options.poster;else if (typeof _this.options.poster.url === 'string') posterUrl = _this.options.poster.url;\n }\n\n _clapprZepto2.default.extend(_this.el, {\n muted: _this.options.mute,\n defaultMuted: _this.options.mute,\n loop: _this.options.loop,\n poster: posterUrl,\n preload: preload || 'metadata',\n controls: (playbackConfig.controls || _this.options.useVideoTagDefaultControls) && 'controls',\n crossOrigin: playbackConfig.crossOrigin,\n 'x-webkit-playsinline': playbackConfig.playInline\n });\n\n playbackConfig.playInline && _this.$el.attr({ playsinline: 'playsinline' });\n playbackConfig.crossOrigin && _this.$el.attr({ crossorigin: playbackConfig.crossOrigin });\n\n // TODO should settings be private?\n _this.settings = { default: ['seekbar'] };\n _this.settings.left = ['playpause', 'position', 'duration'];\n _this.settings.right = ['fullscreen', 'volume', 'hd-indicator'];\n\n playbackConfig.externalTracks && _this._setupExternalTracks(playbackConfig.externalTracks);\n\n _this.options.autoPlay && _this.attemptAutoPlay();\n return _this;\n }\n\n HTML5Video.prototype.configure = function configure(options) {\n _Playback.prototype.configure.call(this, options);\n this.el.loop = !!options.loop;\n };\n\n // See Playback.attemptAutoPlay()\n\n\n HTML5Video.prototype.attemptAutoPlay = function attemptAutoPlay() {\n var _this2 = this;\n\n this.canAutoPlay(function (result, error) {\n error && _log2.default.warn(_this2.name, 'autoplay error.', { result: result, error: error });\n\n // https://github.com/clappr/clappr/issues/1076\n result && process.nextTick(function () {\n return !_this2._destroyed && _this2.play();\n });\n });\n };\n\n // See Playback.canAutoPlay()\n\n\n HTML5Video.prototype.canAutoPlay = function canAutoPlay(cb) {\n if (this.options.disableCanAutoPlay) cb(true, null);\n\n var opts = {\n timeout: this.options.autoPlayTimeout || 500,\n inline: this.options.playback.playInline || false,\n muted: this.options.mute || false // Known issue: mediacontrols may asynchronously mute video\n\n\n // Use current video element if recycling feature enabled with mobile devices\n };if (_browser2.default.isMobile && _utils.DomRecycler.options.recycleVideo) opts.element = this.el;\n\n // Desktop browser autoplay policy may require user action\n // Mobile browser autoplay require user consent and video recycling feature enabled\n // It may returns a false positive with source-less player consent\n (0, _utils.canAutoPlayMedia)(cb, opts);\n };\n\n HTML5Video.prototype._setupExternalTracks = function _setupExternalTracks(tracks) {\n this._externalTracks = tracks.map(function (track) {\n return {\n kind: track.kind || 'subtitles', // Default is 'subtitles'\n label: track.label,\n lang: track.lang,\n src: track.src\n };\n });\n };\n\n /**\n * Sets the source url on the <video> element, and also the 'src' property.\n * @method setupSrc\n * @private\n * @param {String} srcUrl The source URL.\n */\n\n\n HTML5Video.prototype._setupSrc = function _setupSrc(srcUrl) {\n if (this.el.src === srcUrl) return;\n\n this._ccIsSetup = false;\n this.el.src = srcUrl;\n this._src = this.el.src;\n };\n\n HTML5Video.prototype._onLoadedMetadata = function _onLoadedMetadata(e) {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_LOADEDMETADATA, { duration: e.target.duration, data: e });\n this._updateSettings();\n var autoSeekFromUrl = typeof this._options.autoSeekFromUrl === 'undefined' || this._options.autoSeekFromUrl;\n if (this.getPlaybackType() !== _playback2.default.LIVE && autoSeekFromUrl) this._checkInitialSeek();\n };\n\n HTML5Video.prototype._onDurationChange = function _onDurationChange() {\n this._updateSettings();\n this._onTimeUpdate();\n // onProgress uses the duration\n this._onProgress();\n };\n\n HTML5Video.prototype._updateSettings = function _updateSettings() {\n // we can't figure out if hls resource is VoD or not until it is being loaded or duration has changed.\n // that's why we check it again and update media control accordingly.\n if (this.getPlaybackType() === _playback2.default.VOD || this.getPlaybackType() === _playback2.default.AOD) this.settings.left = ['playpause', 'position', 'duration'];else this.settings.left = ['playstop'];\n\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n };\n\n HTML5Video.prototype.isSeekEnabled = function isSeekEnabled() {\n return isFinite(this.getDuration());\n };\n\n HTML5Video.prototype.getPlaybackType = function getPlaybackType() {\n var onDemandType = this.tagName === 'audio' ? _playback2.default.AOD : _playback2.default.VOD;\n return [0, undefined, Infinity].indexOf(this.el.duration) >= 0 ? _playback2.default.LIVE : onDemandType;\n };\n\n HTML5Video.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return false;\n };\n\n // On mobile device, HTML5 video element \"retains\" user action consent if\n // load() method is called. See Player.consent().\n\n\n HTML5Video.prototype.consent = function consent() {\n if (!this.isPlaying()) {\n _Playback.prototype.consent.call(this);\n this.el.load();\n }\n };\n\n HTML5Video.prototype.play = function play() {\n this.trigger(_events2.default.PLAYBACK_PLAY_INTENT);\n this._stopped = false;\n this._setupSrc(this._src);\n this._handleBufferingEvents();\n var promise = this.el.play();\n // For more details, see https://developers.google.com/web/updates/2016/03/play-returns-promise\n if (promise && promise.catch) promise.catch(function () {});\n };\n\n HTML5Video.prototype.pause = function pause() {\n this.el.pause();\n };\n\n HTML5Video.prototype.stop = function stop() {\n this.pause();\n this._stopped = true;\n // src will be added again in play()\n this.el.removeAttribute('src');\n this.el.load(); // load with no src to stop loading of the previous source and avoid leaks\n this._stopPlayheadMovingChecks();\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_STOP);\n };\n\n HTML5Video.prototype.volume = function volume(value) {\n if (value === 0) {\n this.$el.attr({ muted: 'true' });\n this.el.muted = true;\n } else {\n this.$el.attr({ muted: null });\n this.el.muted = false;\n this.el.volume = value / 100;\n }\n };\n\n /**\n * @deprecated\n * @private\n */\n\n\n HTML5Video.prototype.mute = function mute() {\n this.el.muted = true;\n };\n\n /**\n * @deprecated\n * @private\n */\n\n\n HTML5Video.prototype.unmute = function unmute() {\n this.el.muted = false;\n };\n\n HTML5Video.prototype.isMuted = function isMuted() {\n return this.el.muted === true || this.el.volume === 0;\n };\n\n HTML5Video.prototype.isPlaying = function isPlaying() {\n return !this.el.paused && !this.el.ended;\n };\n\n HTML5Video.prototype._startPlayheadMovingChecks = function _startPlayheadMovingChecks() {\n if (this._playheadMovingTimer !== null) return;\n\n this._playheadMovingTimeOnCheck = null;\n this._determineIfPlayheadMoving();\n this._playheadMovingTimer = setInterval(this._determineIfPlayheadMoving.bind(this), 500);\n };\n\n HTML5Video.prototype._stopPlayheadMovingChecks = function _stopPlayheadMovingChecks() {\n if (this._playheadMovingTimer === null) return;\n\n clearInterval(this._playheadMovingTimer);\n this._playheadMovingTimer = null;\n this._playheadMoving = false;\n };\n\n HTML5Video.prototype._determineIfPlayheadMoving = function _determineIfPlayheadMoving() {\n var before = this._playheadMovingTimeOnCheck;\n var now = this.el.currentTime;\n this._playheadMoving = before !== now;\n this._playheadMovingTimeOnCheck = now;\n this._handleBufferingEvents();\n };\n\n // this seems to happen when the user is having to wait\n // for something to happen AFTER A USER INTERACTION\n // e.g the player might be buffering, but when `play()` is called\n // only at this point will this be called.\n // Or the user may seek somewhere but the new area requires buffering,\n // so it will fire then as well.\n // On devices where playing is blocked until requested with a user action,\n // buffering may start, but never finish until the user initiates a play,\n // but this only happens when play is actually requested\n\n\n HTML5Video.prototype._onWaiting = function _onWaiting() {\n this._loadStarted = true;\n this._handleBufferingEvents();\n };\n\n // called after the first frame has loaded\n // note this doesn't fire on ios before the user has requested play\n // ideally the \"loadstart\" event would be used instead, but this fires\n // before a user has requested play on iOS, and also this is always fired\n // even if the preload setting is \"none\". In both these cases this causes\n // infinite buffering until the user does something which isn't great.\n\n\n HTML5Video.prototype._onLoadedData = function _onLoadedData() {\n this._loadStarted = true;\n this._handleBufferingEvents();\n };\n\n // note this doesn't fire on ios before user has requested play\n\n\n HTML5Video.prototype._onCanPlay = function _onCanPlay() {\n this._handleBufferingEvents();\n };\n\n HTML5Video.prototype._onPlaying = function _onPlaying() {\n this._checkForClosedCaptions();\n this._startPlayheadMovingChecks();\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_PLAY);\n };\n\n HTML5Video.prototype._onPause = function _onPause() {\n this._stopPlayheadMovingChecks();\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_PAUSE);\n };\n\n HTML5Video.prototype._onSeeking = function _onSeeking() {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_SEEK);\n };\n\n HTML5Video.prototype._onSeeked = function _onSeeked() {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_SEEKED);\n };\n\n HTML5Video.prototype._onEnded = function _onEnded() {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n };\n\n // The playback should be classed as buffering if the following are true:\n // - the ready state is less then HAVE_FUTURE_DATA or the playhead isn't moving and it should be\n // - the media hasn't \"ended\",\n // - the media hasn't been stopped\n // - loading has started\n\n\n HTML5Video.prototype._handleBufferingEvents = function _handleBufferingEvents() {\n var playheadShouldBeMoving = !this.el.ended && !this.el.paused;\n var buffering = this._loadStarted && !this.el.ended && !this._stopped && (playheadShouldBeMoving && !this._playheadMoving || this.el.readyState < this.el.HAVE_FUTURE_DATA);\n if (this._isBuffering !== buffering) {\n this._isBuffering = buffering;\n if (buffering) this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);else this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n }\n };\n\n HTML5Video.prototype._onError = function _onError() {\n var _ref = this.el.error || UNKNOWN_ERROR,\n code = _ref.code,\n message = _ref.message;\n\n var isUnknownError = code === UNKNOWN_ERROR.code;\n\n var formattedError = this.createError({\n code: code,\n description: message,\n raw: this.el.error,\n level: isUnknownError ? _error2.default.Levels.WARN : _error2.default.Levels.FATAL\n });\n\n if (isUnknownError) _log2.default.warn(this.name, 'HTML5 unknown error: ', formattedError);else this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n };\n\n HTML5Video.prototype.destroy = function destroy() {\n this._destroyed = true;\n this.handleTextTrackChange && this.el.textTracks.removeEventListener('change', this.handleTextTrackChange);\n _Playback.prototype.destroy.call(this);\n this.el.removeAttribute('src');\n this.el.load(); // load with no src to stop loading of the previous source and avoid leaks\n this._src = null;\n _utils.DomRecycler.garbage(this.$el);\n };\n\n HTML5Video.prototype.seek = function seek(time) {\n this.el.currentTime = time;\n };\n\n HTML5Video.prototype.seekPercentage = function seekPercentage(percentage) {\n var time = this.el.duration * (percentage / 100);\n this.seek(time);\n };\n\n HTML5Video.prototype._checkInitialSeek = function _checkInitialSeek() {\n var seekTime = (0, _utils.seekStringToSeconds)();\n if (seekTime !== 0) this.seek(seekTime);\n };\n\n HTML5Video.prototype.getCurrentTime = function getCurrentTime() {\n return this.el.currentTime;\n };\n\n HTML5Video.prototype.getDuration = function getDuration() {\n return this.el.duration;\n };\n\n HTML5Video.prototype._onTimeUpdate = function _onTimeUpdate() {\n if (this.getPlaybackType() === _playback2.default.LIVE) this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 1, total: 1 }, this.name);else this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: this.el.currentTime, total: this.el.duration }, this.name);\n };\n\n HTML5Video.prototype._onProgress = function _onProgress() {\n if (!this.el.buffered.length) return;\n\n var buffered = [];\n var bufferedPos = 0;\n for (var i = 0; i < this.el.buffered.length; i++) {\n buffered = [].concat((0, _toConsumableArray3.default)(buffered), [{ start: this.el.buffered.start(i), end: this.el.buffered.end(i) }]);\n if (this.el.currentTime >= buffered[i].start && this.el.currentTime <= buffered[i].end) bufferedPos = i;\n }\n var progress = {\n start: buffered[bufferedPos].start,\n current: buffered[bufferedPos].end,\n total: this.el.duration\n };\n this.trigger(_events2.default.PLAYBACK_PROGRESS, progress, buffered);\n };\n\n HTML5Video.prototype._typeFor = function _typeFor(src) {\n var mimeTypes = HTML5Video._mimeTypesForUrl(src, MIMETYPES, this.options.mimeType);\n if (mimeTypes.length === 0) mimeTypes = HTML5Video._mimeTypesForUrl(src, AUDIO_MIMETYPES, this.options.mimeType);\n\n var mimeType = mimeTypes[0] || '';\n return mimeType.split(';')[0];\n };\n\n HTML5Video.prototype._ready = function _ready() {\n if (this._isReadyState) return;\n\n this._isReadyState = true;\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n };\n\n HTML5Video.prototype._checkForClosedCaptions = function _checkForClosedCaptions() {\n // Check if CC available only if current playback is HTML5Video\n if (this.isHTML5Video && !this._ccIsSetup) {\n if (this.hasClosedCaptionsTracks) {\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_AVAILABLE);\n var trackId = this.closedCaptionsTrackId;\n this.closedCaptionsTrackId = trackId;\n this.handleTextTrackChange = this._handleTextTrackChange.bind(this);\n this.el.textTracks.addEventListener('change', this.handleTextTrackChange);\n }\n this._ccIsSetup = true;\n }\n };\n\n HTML5Video.prototype._handleTextTrackChange = function _handleTextTrackChange() {\n var tracks = this.closedCaptionsTracks;\n var track = tracks.find(function (track) {\n return track.track.mode === 'showing';\n }) || { id: -1 };\n\n if (this._ccTrackId !== track.id) {\n this._ccTrackId = track.id;\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_CHANGED, {\n id: track.id\n });\n }\n };\n\n HTML5Video.prototype.render = function render() {\n if (this.options.playback.disableContextMenu) {\n this.$el.on('contextmenu', function () {\n return false;\n });\n }\n\n if (this._externalTracks && this._externalTracks.length > 0) {\n this.$el.html(this.template({\n tracks: this._externalTracks\n }));\n }\n\n this._ready();\n return this;\n };\n\n (0, _createClass3.default)(HTML5Video, [{\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }, {\n key: 'isHTML5Video',\n get: function get() {\n return this.name === HTML5Video.prototype.name;\n }\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n var id = 0;\n var trackId = function trackId() {\n return id++;\n };\n var textTracks = this.el.textTracks ? (0, _from2.default)(this.el.textTracks) : [];\n\n return textTracks.filter(function (track) {\n return track.kind === 'subtitles' || track.kind === 'captions';\n }).map(function (track) {\n return { id: trackId(), name: track.label, track: track };\n });\n }\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return this._ccTrackId;\n },\n set: function set(trackId) {\n if (!(0, _utils.isNumber)(trackId)) return;\n\n var tracks = this.closedCaptionsTracks;\n var showingTrack = void 0;\n\n // Note: -1 is for hide all tracks\n if (trackId !== -1) {\n showingTrack = tracks.find(function (track) {\n return track.id === trackId;\n });\n if (!showingTrack) return; // Track id not found\n\n if (showingTrack.track.mode === 'showing') return; // Track already showing\n }\n\n // Since it is possible to display multiple tracks,\n // ensure that all tracks are hidden.\n tracks.filter(function (track) {\n return track.track.mode !== 'hidden';\n }).forEach(function (track) {\n return track.track.mode = 'hidden';\n });\n\n showingTrack && (showingTrack.track.mode = 'showing');\n\n this._ccTrackId = trackId;\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_CHANGED, {\n id: trackId\n });\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_tracks2.default);\n }\n }]);\n return HTML5Video;\n}(_playback2.default);\n\nexports.default = HTML5Video;\n\n\nHTML5Video._mimeTypesForUrl = function (resourceUrl, mimeTypesByExtension, mimeType) {\n var extension = (resourceUrl.split('?')[0].match(/.*\\.(.*)$/) || [])[1];\n var mimeTypes = mimeType || extension && mimeTypesByExtension[extension.toLowerCase()] || [];\n return mimeTypes.constructor === Array ? mimeTypes : [mimeTypes];\n};\n\nHTML5Video._canPlay = function (type, mimeTypesByExtension, resourceUrl, mimeType) {\n var mimeTypes = HTML5Video._mimeTypesForUrl(resourceUrl, mimeTypesByExtension, mimeType);\n var media = document.createElement(type);\n return !!mimeTypes.filter(function (mediaType) {\n return !!media.canPlayType(mediaType).replace(/no/, '');\n })[0];\n};\n\nHTML5Video.canPlay = function (resourceUrl, mimeType) {\n return HTML5Video._canPlay('audio', AUDIO_MIMETYPES, resourceUrl, mimeType) || HTML5Video._canPlay('video', MIMETYPES, resourceUrl, mimeType);\n};\nmodule.exports = exports['default'];\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/node-libs-browser/node_modules/process/browser.js */ \"./node_modules/node-libs-browser/node_modules/process/browser.js\")))\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/index.js\":\n/*!********************************************!*\\\n !*** ./src/playbacks/html5_video/index.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _html5_video = __webpack_require__(/*! ./html5_video */ \"./src/playbacks/html5_video/html5_video.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _html5_video2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/public/style.scss\":\n/*!*****************************************************!*\\\n !*** ./src/playbacks/html5_video/public/style.scss ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html5_video/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/public/tracks.html\":\n/*!******************************************************!*\\\n !*** ./src/playbacks/html5_video/public/tracks.html ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<% for (var i = 0; i < tracks.length; i++) { %>\\n <track data-html5-video-track=\\\"<%= i %>\\\" kind=\\\"<%= tracks[i].kind %>\\\" label=\\\"<%= tracks[i].label %>\\\" srclang=\\\"<%= tracks[i].lang %>\\\" src=\\\"<%= tracks[i].src %>\\\" />\\n<% }; %>\\n\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/html_img/html_img.js\":\n/*!********************************************!*\\\n !*** ./src/playbacks/html_img/html_img.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/playbacks/html_img/public/style.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HTMLImg = function (_Playback) {\n (0, _inherits3.default)(HTMLImg, _Playback);\n\n HTMLImg.prototype.getPlaybackType = function getPlaybackType() {\n return _playback2.default.NO_OP;\n };\n\n (0, _createClass3.default)(HTMLImg, [{\n key: 'name',\n get: function get() {\n return 'html_img';\n }\n }, {\n key: 'tagName',\n get: function get() {\n return 'img';\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-html-img': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'load': '_onLoad',\n 'abort': '_onError',\n 'error': '_onError'\n };\n }\n }]);\n\n function HTMLImg(params) {\n (0, _classCallCheck3.default)(this, HTMLImg);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Playback.call(this, params));\n\n _this.el.src = params.src;\n return _this;\n }\n\n HTMLImg.prototype.render = function render() {\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n return this;\n };\n\n HTMLImg.prototype._onLoad = function _onLoad() {\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n };\n\n HTMLImg.prototype._onError = function _onError(evt) {\n var m = evt.type === 'error' ? 'load error' : 'loading aborted';\n this.trigger(_events2.default.PLAYBACK_ERROR, { message: m }, this.name);\n };\n\n return HTMLImg;\n}(_playback2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = HTMLImg;\n\n\nHTMLImg.canPlay = function (resource) {\n return (/\\.(png|jpg|jpeg|gif|bmp|tiff|pgm|pnm|webp)(|\\?.*)$/i.test(resource)\n );\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html_img/index.js\":\n/*!*****************************************!*\\\n !*** ./src/playbacks/html_img/index.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _html_img = __webpack_require__(/*! ./html_img */ \"./src/playbacks/html_img/html_img.js\");\n\nvar _html_img2 = _interopRequireDefault(_html_img);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _html_img2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html_img/public/style.scss\":\n/*!**************************************************!*\\\n !*** ./src/playbacks/html_img/public/style.scss ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html_img/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/index.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/no_op/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _no_op = __webpack_require__(/*! ./no_op */ \"./src/playbacks/no_op/no_op.js\");\n\nvar _no_op2 = _interopRequireDefault(_no_op);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _no_op2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/no_op.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/no_op/no_op.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _error = __webpack_require__(/*! ./public/error.html */ \"./src/playbacks/no_op/public/error.html\");\n\nvar _error2 = _interopRequireDefault(_error);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/playbacks/no_op/public/style.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar NoOp = function (_Playback) {\n (0, _inherits3.default)(NoOp, _Playback);\n (0, _createClass3.default)(NoOp, [{\n key: 'name',\n get: function get() {\n return 'no_op';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_error2.default);\n }\n }, {\n key: 'attributes',\n get: function get() {\n return { 'data-no-op': '' };\n }\n }]);\n\n function NoOp() {\n (0, _classCallCheck3.default)(this, NoOp);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Playback.call.apply(_Playback, [this].concat(args)));\n\n _this._noiseFrameNum = -1;\n return _this;\n }\n\n NoOp.prototype.render = function render() {\n var playbackNotSupported = this.options.playbackNotSupportedMessage || this.i18n.t('playback_not_supported');\n this.$el.html(this.template({ message: playbackNotSupported }));\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n var showForNoOp = !!(this.options.poster && this.options.poster.showForNoOp);\n if (this.options.autoPlay || !showForNoOp) this._animate();\n\n return this;\n };\n\n NoOp.prototype._noise = function _noise() {\n this._noiseFrameNum = (this._noiseFrameNum + 1) % 5;\n if (this._noiseFrameNum) {\n // only update noise every 5 frames to save cpu\n return;\n }\n\n var idata = this.context.createImageData(this.context.canvas.width, this.context.canvas.height);\n var buffer32 = void 0;\n try {\n buffer32 = new Uint32Array(idata.data.buffer);\n } catch (err) {\n buffer32 = new Uint32Array(this.context.canvas.width * this.context.canvas.height * 4);\n var data = idata.data;\n for (var i = 0; i < data.length; i++) {\n buffer32[i] = data[i];\n }\n }\n\n var len = buffer32.length,\n m = Math.random() * 6 + 4;\n var run = 0,\n color = 0;\n for (var _i = 0; _i < len;) {\n if (run < 0) {\n run = m * Math.random();\n var p = Math.pow(Math.random(), 0.4);\n color = 255 * p << 24;\n }\n run -= 1;\n buffer32[_i++] = color;\n }\n this.context.putImageData(idata, 0, 0);\n };\n\n NoOp.prototype._loop = function _loop() {\n var _this2 = this;\n\n if (this._stop) return;\n\n this._noise();\n this._animationHandle = (0, _utils.requestAnimationFrame)(function () {\n return _this2._loop();\n });\n };\n\n NoOp.prototype.destroy = function destroy() {\n if (this._animationHandle) {\n (0, _utils.cancelAnimationFrame)(this._animationHandle);\n this._stop = true;\n }\n };\n\n NoOp.prototype._animate = function _animate() {\n this.canvas = this.$el.find('canvas[data-no-op-canvas]')[0];\n this.context = this.canvas.getContext('2d');\n this._loop();\n };\n\n return NoOp;\n}(_playback2.default);\n\nexports.default = NoOp;\n\n\nNoOp.canPlay = function (source) {\n // eslint-disable-line no-unused-vars\n return true;\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/public/error.html\":\n/*!***********************************************!*\\\n !*** ./src/playbacks/no_op/public/error.html ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<canvas data-no-op-canvas></canvas>\\n<p data-no-op-msg><%=message%><p>\\n\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/public/style.scss\":\n/*!***********************************************!*\\\n !*** ./src/playbacks/no_op/public/style.scss ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/no_op/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/click_to_pause/click_to_pause.js\":\n/*!******************************************************!*\\\n !*** ./src/plugins/click_to_pause/click_to_pause.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _container_plugin = __webpack_require__(/*! ../../base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ClickToPausePlugin = function (_ContainerPlugin) {\n (0, _inherits3.default)(ClickToPausePlugin, _ContainerPlugin);\n (0, _createClass3.default)(ClickToPausePlugin, [{\n key: 'name',\n get: function get() {\n return 'click_to_pause';\n }\n }]);\n\n function ClickToPausePlugin(container) {\n (0, _classCallCheck3.default)(this, ClickToPausePlugin);\n return (0, _possibleConstructorReturn3.default)(this, _ContainerPlugin.call(this, container));\n }\n\n ClickToPausePlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container, _events2.default.CONTAINER_CLICK, this.click);\n this.listenTo(this.container, _events2.default.CONTAINER_SETTINGSUPDATE, this.settingsUpdate);\n };\n\n ClickToPausePlugin.prototype.click = function click() {\n if (this.container.getPlaybackType() !== _playback2.default.LIVE || this.container.isDvrEnabled()) {\n if (this.container.isPlaying()) this.container.pause();else this.container.play();\n }\n };\n\n ClickToPausePlugin.prototype.settingsUpdate = function settingsUpdate() {\n var pointerEnabled = this.container.getPlaybackType() !== _playback2.default.LIVE || this.container.isDvrEnabled();\n if (pointerEnabled === this.pointerEnabled) return;\n\n var method = pointerEnabled ? 'addClass' : 'removeClass';\n this.container.$el[method]('pointer-enabled');\n this.pointerEnabled = pointerEnabled;\n };\n\n return ClickToPausePlugin;\n}(_container_plugin2.default); //Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = ClickToPausePlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/click_to_pause/index.js\":\n/*!*********************************************!*\\\n !*** ./src/plugins/click_to_pause/index.js ***!\n \\*********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _click_to_pause = __webpack_require__(/*! ./click_to_pause */ \"./src/plugins/click_to_pause/click_to_pause.js\");\n\nvar _click_to_pause2 = _interopRequireDefault(_click_to_pause);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _click_to_pause2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/closed_captions.js\":\n/*!********************************************************!*\\\n !*** ./src/plugins/closed_captions/closed_captions.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _closed_captions = __webpack_require__(/*! ./public/closed_captions.html */ \"./src/plugins/closed_captions/public/closed_captions.html\");\n\nvar _closed_captions2 = _interopRequireDefault(_closed_captions);\n\n__webpack_require__(/*! ./public/closed_captions.scss */ \"./src/plugins/closed_captions/public/closed_captions.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ClosedCaptions = function (_UICorePlugin) {\n (0, _inherits3.default)(ClosedCaptions, _UICorePlugin);\n (0, _createClass3.default)(ClosedCaptions, [{\n key: 'name',\n get: function get() {\n return 'closed_captions';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_closed_captions2.default);\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click [data-cc-button]': 'toggleContextMenu',\n 'click [data-cc-select]': 'onTrackSelect'\n };\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'cc-controls',\n 'data-cc-controls': ''\n };\n }\n }]);\n\n function ClosedCaptions(core) {\n (0, _classCallCheck3.default)(this, ClosedCaptions);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n var config = core.options.closedCaptionsConfig;\n _this._title = config && config.title ? config.title : null;\n _this._ariaLabel = config && config.ariaLabel ? config.ariaLabel : 'cc-button';\n _this._labelCb = config && config.labelCallback && typeof config.labelCallback === 'function' ? config.labelCallback : function (track) {\n return track.name;\n };\n return _this;\n }\n\n ClosedCaptions.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_RENDERED, this.render);\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_HIDE, this.hideContextMenu);\n this.container = this.core.getCurrentContainer();\n if (this.container) {\n this.listenTo(this.container, _events2.default.CONTAINER_SUBTITLE_AVAILABLE, this.onSubtitleAvailable);\n this.listenTo(this.container, _events2.default.CONTAINER_SUBTITLE_CHANGED, this.onSubtitleChanged);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onContainerStop);\n }\n };\n\n ClosedCaptions.prototype.onContainerStop = function onContainerStop() {\n this.ccAvailable(false);\n };\n\n ClosedCaptions.prototype.containerChanged = function containerChanged() {\n this.ccAvailable(false);\n this.stopListening();\n this.bindEvents();\n };\n\n ClosedCaptions.prototype.onSubtitleAvailable = function onSubtitleAvailable() {\n this.renderCcButton();\n this.ccAvailable(true);\n };\n\n ClosedCaptions.prototype.onSubtitleChanged = function onSubtitleChanged(track) {\n this.setCurrentContextMenuElement(track.id);\n };\n\n ClosedCaptions.prototype.onTrackSelect = function onTrackSelect(event) {\n var trackId = parseInt(event.target.dataset.ccSelect, 10);\n this.container.closedCaptionsTrackId = trackId;\n this.hideContextMenu();\n event.stopPropagation();\n return false;\n };\n\n ClosedCaptions.prototype.ccAvailable = function ccAvailable(hasCC) {\n var method = hasCC ? 'addClass' : 'removeClass';\n this.$el[method]('available');\n };\n\n ClosedCaptions.prototype.toggleContextMenu = function toggleContextMenu() {\n this.$el.find('ul').toggle();\n };\n\n ClosedCaptions.prototype.hideContextMenu = function hideContextMenu() {\n this.$el.find('ul').hide();\n };\n\n ClosedCaptions.prototype.contextMenuElement = function contextMenuElement(id) {\n return this.$el.find('ul a' + (!isNaN(id) ? '[data-cc-select=\"' + id + '\"]' : '')).parent();\n };\n\n ClosedCaptions.prototype.setCurrentContextMenuElement = function setCurrentContextMenuElement(trackId) {\n if (this._trackId !== trackId) {\n this.contextMenuElement().removeClass('current');\n this.contextMenuElement(trackId).addClass('current');\n var method = trackId > -1 ? 'addClass' : 'removeClass';\n this.$ccButton[method]('enabled');\n this._trackId = trackId;\n }\n };\n\n ClosedCaptions.prototype.renderCcButton = function renderCcButton() {\n var tracks = this.container ? this.container.closedCaptionsTracks : [];\n for (var i = 0; i < tracks.length; i++) {\n tracks[i].label = this._labelCb(tracks[i]);\n }this.$el.html(this.template({\n ariaLabel: this._ariaLabel,\n disabledLabel: this.core.i18n.t('disabled'),\n title: this._title,\n tracks: tracks\n }));\n\n this.$ccButton = this.$el.find('button.cc-button[data-cc-button]');\n this.$ccButton.append(_utils.SvgIcons.cc);\n this.$el.append(this.style);\n };\n\n ClosedCaptions.prototype.render = function render() {\n this.renderCcButton();\n\n var $fullscreen = this.core.mediaControl.$el.find('button[data-fullscreen]');\n if ($fullscreen[0]) this.$el.insertAfter($fullscreen);else this.core.mediaControl.$el.find('.media-control-right-panel[data-media-control]').prepend(this.$el);\n\n return this;\n };\n\n return ClosedCaptions;\n}(_ui_core_plugin2.default);\n\nexports.default = ClosedCaptions;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/index.js\":\n/*!**********************************************!*\\\n !*** ./src/plugins/closed_captions/index.js ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _closed_captions = __webpack_require__(/*! ./closed_captions */ \"./src/plugins/closed_captions/closed_captions.js\");\n\nvar _closed_captions2 = _interopRequireDefault(_closed_captions);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _closed_captions2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/public/closed_captions.html\":\n/*!*****************************************************************!*\\\n !*** ./src/plugins/closed_captions/public/closed_captions.html ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<button type=\\\"button\\\" class=\\\"cc-button media-control-button media-control-icon\\\" data-cc-button aria-label=\\\"<%= ariaLabel %>\\\"></button>\\n<ul>\\n <% if (title) { %>\\n <li data-title><%= title %></li>\\n <% }; %>\\n <li><a href=\\\"#\\\" data-cc-select=\\\"-1\\\"><%= disabledLabel %></a></li>\\n <% for (var i = 0; i < tracks.length; i++) { %>\\n <li><a href=\\\"#\\\" data-cc-select=\\\"<%= tracks[i].id %>\\\"><%= tracks[i].label %></a></li>\\n <% }; %>\\n</ul>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/public/closed_captions.scss\":\n/*!*****************************************************************!*\\\n !*** ./src/plugins/closed_captions/public/closed_captions.scss ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./closed_captions.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/closed_captions/public/closed_captions.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/dvr_controls.js\":\n/*!**************************************************!*\\\n !*** ./src/plugins/dvr_controls/dvr_controls.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _index = __webpack_require__(/*! ./public/index.html */ \"./src/plugins/dvr_controls/public/index.html\");\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(/*! ./public/dvr_controls.scss */ \"./src/plugins/dvr_controls/public/dvr_controls.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DVRControls = function (_UICorePlugin) {\n (0, _inherits3.default)(DVRControls, _UICorePlugin);\n (0, _createClass3.default)(DVRControls, [{\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_index2.default);\n }\n }, {\n key: 'name',\n get: function get() {\n return 'dvr_controls';\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click .live-button': 'click'\n };\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'dvr-controls',\n 'data-dvr-controls': ''\n };\n }\n }]);\n\n function DVRControls(core) {\n (0, _classCallCheck3.default)(this, DVRControls);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n _this.settingsUpdate();\n return _this;\n }\n\n DVRControls.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_CONTAINERCHANGED, this.containerChanged);\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_RENDERED, this.settingsUpdate);\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.render);\n if (this.core.getCurrentContainer()) {\n this.listenToOnce(this.core.getCurrentContainer(), _events2.default.CONTAINER_TIMEUPDATE, this.render);\n this.listenTo(this.core.getCurrentContainer(), _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.dvrChanged);\n }\n };\n\n DVRControls.prototype.containerChanged = function containerChanged() {\n this.stopListening();\n this.bindEvents();\n };\n\n DVRControls.prototype.dvrChanged = function dvrChanged(dvrEnabled) {\n if (this.core.getPlaybackType() !== _playback2.default.LIVE) return;\n this.settingsUpdate();\n this.core.mediaControl.$el.addClass('live');\n if (dvrEnabled) {\n this.core.mediaControl.$el.addClass('dvr');\n this.core.mediaControl.$el.find('.media-control-indicator[data-position], .media-control-indicator[data-duration]').hide();\n } else {\n this.core.mediaControl.$el.removeClass('dvr');\n }\n };\n\n DVRControls.prototype.click = function click() {\n var mediaControl = this.core.mediaControl;\n var container = mediaControl.container;\n if (!container.isPlaying()) container.play();\n\n if (mediaControl.$el.hasClass('dvr')) container.seek(container.getDuration());\n };\n\n DVRControls.prototype.settingsUpdate = function settingsUpdate() {\n var _this2 = this;\n\n this.stopListening();\n this.core.mediaControl.$el.removeClass('live');\n if (this.shouldRender()) {\n this.render();\n this.$el.click(function () {\n return _this2.click();\n });\n }\n this.bindEvents();\n };\n\n DVRControls.prototype.shouldRender = function shouldRender() {\n var useDvrControls = this.core.options.useDvrControls === undefined || !!this.core.options.useDvrControls;\n return useDvrControls && this.core.getPlaybackType() === _playback2.default.LIVE;\n };\n\n DVRControls.prototype.render = function render() {\n this.$el.html(this.template({\n live: this.core.i18n.t('live'),\n backToLive: this.core.i18n.t('back_to_live')\n }));\n if (this.shouldRender()) {\n this.core.mediaControl.$el.addClass('live');\n this.core.mediaControl.$('.media-control-left-panel[data-media-control]').append(this.$el);\n }\n return this;\n };\n\n return DVRControls;\n}(_ui_core_plugin2.default);\n\nexports.default = DVRControls;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/index.js\":\n/*!*******************************************!*\\\n !*** ./src/plugins/dvr_controls/index.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _dvr_controls = __webpack_require__(/*! ./dvr_controls */ \"./src/plugins/dvr_controls/dvr_controls.js\");\n\nvar _dvr_controls2 = _interopRequireDefault(_dvr_controls);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _dvr_controls2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/public/dvr_controls.scss\":\n/*!***********************************************************!*\\\n !*** ./src/plugins/dvr_controls/public/dvr_controls.scss ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./dvr_controls.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/dvr_controls/public/dvr_controls.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/public/index.html\":\n/*!****************************************************!*\\\n !*** ./src/plugins/dvr_controls/public/index.html ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"live-info\\\"><%= live %></div>\\n<button type=\\\"button\\\" class=\\\"live-button\\\" aria-label=\\\"<%= backToLive %>\\\"><%= backToLive %></button>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/end_video.js\":\n/*!**********************************!*\\\n !*** ./src/plugins/end_video.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _core_plugin = __webpack_require__(/*! ../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EndVideo = function (_CorePlugin) {\n (0, _inherits3.default)(EndVideo, _CorePlugin);\n\n function EndVideo() {\n (0, _classCallCheck3.default)(this, EndVideo);\n return (0, _possibleConstructorReturn3.default)(this, _CorePlugin.apply(this, arguments));\n }\n\n EndVideo.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);\n var container = this.core.activeContainer;\n if (container) {\n this.listenTo(container, _events2.default.CONTAINER_ENDED, this.ended);\n this.listenTo(container, _events2.default.CONTAINER_STOP, this.ended);\n }\n };\n\n EndVideo.prototype.containerChanged = function containerChanged() {\n this.stopListening();\n this.bindEvents();\n };\n\n EndVideo.prototype.ended = function ended() {\n var exitOnEnd = typeof this.core.options.exitFullscreenOnEnd === 'undefined' || this.core.options.exitFullscreenOnEnd;\n if (exitOnEnd && this.core.isFullscreen()) this.core.toggleFullscreen();\n };\n\n (0, _createClass3.default)(EndVideo, [{\n key: 'name',\n get: function get() {\n return 'end_video';\n }\n }]);\n return EndVideo;\n}(_core_plugin2.default);\n\nexports.default = EndVideo;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/error_screen.js\":\n/*!**************************************************!*\\\n !*** ./src/plugins/error_screen/error_screen.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _error = __webpack_require__(/*! ../../components/error/ */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _error_screen = __webpack_require__(/*! ./public/error_screen.html */ \"./src/plugins/error_screen/public/error_screen.html\");\n\nvar _error_screen2 = _interopRequireDefault(_error_screen);\n\n__webpack_require__(/*! ./public/error_screen.scss */ \"./src/plugins/error_screen/public/error_screen.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ErrorScreen = function (_UICorePlugin) {\n (0, _inherits3.default)(ErrorScreen, _UICorePlugin);\n (0, _createClass3.default)(ErrorScreen, [{\n key: 'name',\n get: function get() {\n return 'error_screen';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_error_screen2.default);\n }\n }, {\n key: 'container',\n get: function get() {\n return this.core.getCurrentContainer();\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'player-error-screen',\n 'data-error-screen': ''\n };\n }\n }]);\n\n function ErrorScreen(core) {\n var _ret;\n\n (0, _classCallCheck3.default)(this, ErrorScreen);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n if (_this.options.disableErrorScreen) return _ret = _this.disable(), (0, _possibleConstructorReturn3.default)(_this, _ret);\n return _this;\n }\n\n ErrorScreen.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.ERROR, this.onError);\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.onContainerChanged);\n };\n\n ErrorScreen.prototype.bindReload = function bindReload() {\n this.reloadButton = this.$el.find('.player-error-screen__reload');\n this.reloadButton && this.reloadButton.on('click', this.reload.bind(this));\n };\n\n ErrorScreen.prototype.reload = function reload() {\n var _this2 = this;\n\n this.listenToOnce(this.core, _events2.default.CORE_READY, function () {\n return _this2.container.play();\n });\n this.core.load(this.options.sources, this.options.mimeType);\n this.unbindReload();\n };\n\n ErrorScreen.prototype.unbindReload = function unbindReload() {\n this.reloadButton && this.reloadButton.off('click');\n };\n\n ErrorScreen.prototype.onContainerChanged = function onContainerChanged() {\n this.err = null;\n this.unbindReload();\n this.hide();\n };\n\n ErrorScreen.prototype.onError = function onError() {\n var err = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n if (err.level === _error2.default.Levels.FATAL) {\n this.err = err;\n this.container.disableMediaControl();\n this.container.stop();\n this.show();\n }\n };\n\n ErrorScreen.prototype.show = function show() {\n this.render();\n this.$el.show();\n };\n\n ErrorScreen.prototype.hide = function hide() {\n this.$el.hide();\n };\n\n ErrorScreen.prototype.render = function render() {\n if (!this.err) return;\n\n this.$el.html(this.template({\n title: this.err.UI.title,\n message: this.err.UI.message,\n code: this.err.code,\n icon: this.err.UI.icon || '',\n reloadIcon: _utils.SvgIcons.reload\n }));\n\n this.core.$el.append(this.el);\n\n this.bindReload();\n\n return this;\n };\n\n return ErrorScreen;\n}(_ui_core_plugin2.default);\n\nexports.default = ErrorScreen;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/index.js\":\n/*!*******************************************!*\\\n !*** ./src/plugins/error_screen/index.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _error_screen = __webpack_require__(/*! ./error_screen */ \"./src/plugins/error_screen/error_screen.js\");\n\nvar _error_screen2 = _interopRequireDefault(_error_screen);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _error_screen2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/public/error_screen.html\":\n/*!***********************************************************!*\\\n !*** ./src/plugins/error_screen/public/error_screen.html ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"player-error-screen__content\\\" data-error-screen>\\n <% if (icon) { %>\\n <div class=\\\"player-error-screen__icon\\\" data-error-screen><%= icon %></div>\\n <% } %>\\n <div class=\\\"player-error-screen__title\\\" data-error-screen><%= title %></div>\\n <div class=\\\"player-error-screen__message\\\" data-error-screen><%= message %></div>\\n <div class=\\\"player-error-screen__code\\\" data-error-screen>Error code: <%= code %></div>\\n <div class=\\\"player-error-screen__reload\\\" data-error-screen><%= reloadIcon %></div>\\n</div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/public/error_screen.scss\":\n/*!***********************************************************!*\\\n !*** ./src/plugins/error_screen/public/error_screen.scss ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./error_screen.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/error_screen/public/error_screen.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/favicon/favicon.js\":\n/*!****************************************!*\\\n !*** ./src/plugins/favicon/favicon.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _core_plugin = __webpack_require__(/*! ../../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar oldIcon = (0, _clapprZepto2.default)('link[rel=\"shortcut icon\"]');\n\nvar Favicon = function (_CorePlugin) {\n (0, _inherits3.default)(Favicon, _CorePlugin);\n (0, _createClass3.default)(Favicon, [{\n key: 'name',\n get: function get() {\n return 'favicon';\n }\n }, {\n key: 'oldIcon',\n get: function get() {\n return oldIcon;\n }\n }]);\n\n function Favicon(core) {\n (0, _classCallCheck3.default)(this, Favicon);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _CorePlugin.call(this, core));\n\n _this._container = null;\n _this.configure();\n return _this;\n }\n\n Favicon.prototype.configure = function configure() {\n if (this.core.options.changeFavicon) {\n if (!this.enabled) {\n this.stopListening(this.core, _events2.default.CORE_OPTIONS_CHANGE);\n this.enable();\n }\n } else if (this.enabled) {\n this.disable();\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.configure);\n }\n };\n\n Favicon.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.configure);\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);\n this.core.activeContainer && this.containerChanged();\n };\n\n Favicon.prototype.containerChanged = function containerChanged() {\n this._container && this.stopListening(this._container);\n this._container = this.core.activeContainer;\n this.listenTo(this._container, _events2.default.CONTAINER_PLAY, this.setPlayIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_PAUSE, this.setPauseIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_STOP, this.resetIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_ENDED, this.resetIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_ERROR, this.resetIcon);\n this.resetIcon();\n };\n\n Favicon.prototype.disable = function disable() {\n _CorePlugin.prototype.disable.call(this);\n this.resetIcon();\n };\n\n Favicon.prototype.destroy = function destroy() {\n _CorePlugin.prototype.destroy.call(this);\n this.resetIcon();\n };\n\n Favicon.prototype.createIcon = function createIcon(svg) {\n var canvas = (0, _clapprZepto2.default)('<canvas/>');\n canvas[0].width = 16;\n canvas[0].height = 16;\n var ctx = canvas[0].getContext('2d');\n ctx.fillStyle = '#000';\n var d = (0, _clapprZepto2.default)(svg).find('path').attr('d');\n var path = new Path2D(d);\n ctx.fill(path);\n var icon = (0, _clapprZepto2.default)('<link rel=\"shortcut icon\" type=\"image/png\"/>');\n icon.attr('href', canvas[0].toDataURL('image/png'));\n return icon;\n };\n\n Favicon.prototype.setPlayIcon = function setPlayIcon() {\n if (!this.playIcon) this.playIcon = this.createIcon(_utils.SvgIcons.play);\n\n this.changeIcon(this.playIcon);\n };\n\n Favicon.prototype.setPauseIcon = function setPauseIcon() {\n if (!this.pauseIcon) this.pauseIcon = this.createIcon(_utils.SvgIcons.pause);\n\n this.changeIcon(this.pauseIcon);\n };\n\n Favicon.prototype.resetIcon = function resetIcon() {\n (0, _clapprZepto2.default)('link[rel=\"shortcut icon\"]').remove();\n (0, _clapprZepto2.default)('head').append(this.oldIcon);\n };\n\n Favicon.prototype.changeIcon = function changeIcon(icon) {\n if (icon) {\n (0, _clapprZepto2.default)('link[rel=\"shortcut icon\"]').remove();\n (0, _clapprZepto2.default)('head').append(icon);\n }\n };\n\n return Favicon;\n}(_core_plugin2.default);\n\nexports.default = Favicon;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/favicon/index.js\":\n/*!**************************************!*\\\n !*** ./src/plugins/favicon/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _favicon = __webpack_require__(/*! ./favicon.js */ \"./src/plugins/favicon/favicon.js\");\n\nvar _favicon2 = _interopRequireDefault(_favicon);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _favicon2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/google_analytics/google_analytics.js\":\n/*!**********************************************************!*\\\n !*** ./src/plugins/google_analytics/google_analytics.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _container_plugin = __webpack_require__(/*! ../../base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar GoogleAnalytics = function (_ContainerPlugin) {\n (0, _inherits3.default)(GoogleAnalytics, _ContainerPlugin);\n (0, _createClass3.default)(GoogleAnalytics, [{\n key: 'name',\n get: function get() {\n return 'google_analytics';\n }\n }]);\n\n function GoogleAnalytics(container) {\n (0, _classCallCheck3.default)(this, GoogleAnalytics);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _ContainerPlugin.call(this, container));\n\n if (_this.container.options.gaAccount) {\n _this.account = _this.container.options.gaAccount;\n _this.trackerName = _this.container.options.gaTrackerName ? _this.container.options.gaTrackerName + '.' : 'Clappr.';\n _this.domainName = _this.container.options.gaDomainName;\n _this.currentHDState = undefined;\n _this.embedScript();\n }\n return _this;\n }\n\n GoogleAnalytics.prototype.embedScript = function embedScript() {\n var _this2 = this;\n\n if (!window._gat) {\n var script = document.createElement('script');\n script.setAttribute('type', 'text/javascript');\n script.setAttribute('async', 'async');\n script.setAttribute('src', '//www.google-analytics.com/ga.js');\n script.onload = function () {\n return _this2.addEventListeners();\n };\n document.body.appendChild(script);\n } else {\n this.addEventListeners();\n }\n };\n\n GoogleAnalytics.prototype.addEventListeners = function addEventListeners() {\n var _this3 = this;\n\n if (this.container) {\n this.listenTo(this.container, _events2.default.CONTAINER_READY, this.onReady);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_PAUSE, this.onPause);\n this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.onEnded);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERING, this.onBuffering);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, this.onBufferFull);\n this.listenTo(this.container, _events2.default.CONTAINER_ERROR, this.onError);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAYBACKSTATE, this.onPlaybackChanged);\n this.listenTo(this.container, _events2.default.CONTAINER_VOLUME, function (event) {\n return _this3.onVolumeChanged(event);\n });\n this.listenTo(this.container, _events2.default.CONTAINER_SEEK, function (event) {\n return _this3.onSeek(event);\n });\n this.listenTo(this.container, _events2.default.CONTAINER_FULL_SCREEN, this.onFullscreen);\n this.listenTo(this.container, _events2.default.CONTAINER_HIGHDEFINITIONUPDATE, this.onHD);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.onDVR);\n }\n _gaq.push([this.trackerName + '_setAccount', this.account]);\n if (this.domainName) _gaq.push([this.trackerName + '_setDomainName', this.domainName]);\n };\n\n GoogleAnalytics.prototype.onReady = function onReady() {\n this.push(['Video', 'Playback', this.container.playback.name]);\n };\n\n GoogleAnalytics.prototype.onPlay = function onPlay() {\n this.push(['Video', 'Play', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onStop = function onStop() {\n this.push(['Video', 'Stop', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onEnded = function onEnded() {\n this.push(['Video', 'Ended', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onBuffering = function onBuffering() {\n this.push(['Video', 'Buffering', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onBufferFull = function onBufferFull() {\n this.push(['Video', 'Bufferfull', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onError = function onError() {\n this.push(['Video', 'Error', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onHD = function onHD(isHD) {\n var status = isHD ? 'ON' : 'OFF';\n if (status !== this.currentHDState) {\n this.currentHDState = status;\n this.push(['Video', 'HD - ' + status, this.container.playback.src]);\n }\n };\n\n GoogleAnalytics.prototype.onPlaybackChanged = function onPlaybackChanged(playbackState) {\n if (playbackState.type !== null) this.push(['Video', 'Playback Type - ' + playbackState.type, this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onDVR = function onDVR(dvrInUse) {\n var status = dvrInUse ? 'ON' : 'OFF';\n this.push(['Interaction', 'DVR - ' + status, this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onPause = function onPause() {\n this.push(['Video', 'Pause', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onSeek = function onSeek() {\n this.push(['Video', 'Seek', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onVolumeChanged = function onVolumeChanged() {\n this.push(['Interaction', 'Volume', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onFullscreen = function onFullscreen() {\n this.push(['Interaction', 'Fullscreen', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.push = function push(array) {\n var res = [this.trackerName + '_trackEvent'].concat(array);\n _gaq.push(res);\n };\n\n return GoogleAnalytics;\n}(_container_plugin2.default);\n\nexports.default = GoogleAnalytics;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/google_analytics/index.js\":\n/*!***********************************************!*\\\n !*** ./src/plugins/google_analytics/index.js ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _google_analytics = __webpack_require__(/*! ./google_analytics */ \"./src/plugins/google_analytics/google_analytics.js\");\n\nvar _google_analytics2 = _interopRequireDefault(_google_analytics);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _google_analytics2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/log/index.js\":\n/*!**********************************!*\\\n !*** ./src/plugins/log/index.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _log = __webpack_require__(/*! ./log */ \"./src/plugins/log/log.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _log2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/log/log.js\":\n/*!********************************!*\\\n !*** ./src/plugins/log/log.js ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _vendor = __webpack_require__(/*! ../../vendor */ \"./src/vendor/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BOLD = 'font-weight: bold; font-size: 13px;';\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar INFO = 'color: #006600;' + BOLD;\nvar DEBUG = 'color: #0000ff;' + BOLD;\nvar WARN = 'color: #ff8000;' + BOLD;\nvar ERROR = 'color: #ff0000;' + BOLD;\n\nvar LEVEL_DEBUG = 0;\nvar LEVEL_INFO = 1;\nvar LEVEL_WARN = 2;\nvar LEVEL_ERROR = 3;\nvar LEVEL_DISABLED = LEVEL_ERROR;\n\nvar COLORS = [DEBUG, INFO, WARN, ERROR, ERROR];\nvar DESCRIPTIONS = ['debug', 'info', 'warn', 'error', 'disabled'];\n\nvar Log = function () {\n function Log() {\n var _this = this;\n\n var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LEVEL_INFO;\n var offLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : LEVEL_DISABLED;\n (0, _classCallCheck3.default)(this, Log);\n\n this.kibo = new _vendor.Kibo();\n this.kibo.down(['ctrl shift d'], function () {\n return _this.onOff();\n });\n this.BLACKLIST = ['timeupdate', 'playback:timeupdate', 'playback:progress', 'container:hover', 'container:timeupdate', 'container:progress'];\n this.level = level;\n this.offLevel = offLevel;\n }\n\n Log.prototype.debug = function debug(klass) {\n this.log(klass, LEVEL_DEBUG, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.info = function info(klass) {\n this.log(klass, LEVEL_INFO, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.warn = function warn(klass) {\n this.log(klass, LEVEL_WARN, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.error = function error(klass) {\n this.log(klass, LEVEL_ERROR, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.onOff = function onOff() {\n if (this.level === this.offLevel) {\n this.level = this.previousLevel;\n } else {\n this.previousLevel = this.level;\n this.level = this.offLevel;\n }\n // handle instances where console.log is unavailable\n if (window.console && window.console.log) window.console.log('%c[Clappr.Log] set log level to ' + DESCRIPTIONS[this.level], WARN);\n };\n\n Log.prototype.level = function level(newLevel) {\n this.level = newLevel;\n };\n\n Log.prototype.log = function log(klass, level, message) {\n if (this.BLACKLIST.indexOf(message[0]) >= 0) return;\n if (level < this.level) return;\n\n if (!message) {\n message = klass;\n klass = null;\n }\n var color = COLORS[level];\n var klassDescription = '';\n if (klass) klassDescription = '[' + klass + ']';\n\n if (window.console && window.console.log) window.console.log.apply(console, ['%c[' + DESCRIPTIONS[level] + ']' + klassDescription, color].concat(message));\n };\n\n return Log;\n}();\n\nexports.default = Log;\n\n\nLog.LEVEL_DEBUG = LEVEL_DEBUG;\nLog.LEVEL_INFO = LEVEL_INFO;\nLog.LEVEL_WARN = LEVEL_WARN;\nLog.LEVEL_ERROR = LEVEL_ERROR;\n\nLog.getInstance = function () {\n if (this._instance === undefined) {\n this._instance = new this();\n this._instance.previousLevel = this._instance.level;\n this._instance.level = this._instance.offLevel;\n }\n return this._instance;\n};\n\nLog.setLevel = function (level) {\n this.getInstance().level = level;\n};\n\nLog.debug = function () {\n this.getInstance().debug.apply(this.getInstance(), arguments);\n};\nLog.info = function () {\n this.getInstance().info.apply(this.getInstance(), arguments);\n};\nLog.warn = function () {\n this.getInstance().warn.apply(this.getInstance(), arguments);\n};\nLog.error = function () {\n this.getInstance().error.apply(this.getInstance(), arguments);\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/index.js\":\n/*!********************************************!*\\\n !*** ./src/plugins/media_control/index.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _media_control = __webpack_require__(/*! ./media_control */ \"./src/plugins/media_control/media_control.js\");\n\nvar _media_control2 = _interopRequireDefault(_media_control);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _media_control2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/media_control.js\":\n/*!****************************************************!*\\\n !*** ./src/plugins/media_control/media_control.js ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stringify = __webpack_require__(/*! babel-runtime/core-js/json/stringify */ \"./node_modules/babel-runtime/core-js/json/stringify.js\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _vendor = __webpack_require__(/*! ../../vendor */ \"./src/vendor/index.js\");\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\n__webpack_require__(/*! ./public/media-control.scss */ \"./src/plugins/media_control/public/media-control.scss\");\n\nvar _mediaControl = __webpack_require__(/*! ./public/media-control.html */ \"./src/plugins/media_control/public/media-control.html\");\n\nvar _mediaControl2 = _interopRequireDefault(_mediaControl);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * The MediaControl is responsible for displaying the Player controls.\n */\n\nvar MediaControl = function (_UICorePlugin) {\n (0, _inherits3.default)(MediaControl, _UICorePlugin);\n (0, _createClass3.default)(MediaControl, [{\n key: 'name',\n get: function get() {\n return 'media_control';\n }\n }, {\n key: 'disabled',\n get: function get() {\n var playbackIsNOOP = this.container && this.container.getPlaybackType() === _playback2.default.NO_OP;\n return this.userDisabled || playbackIsNOOP;\n }\n }, {\n key: 'container',\n get: function get() {\n return this.core && this.core.activeContainer;\n }\n }, {\n key: 'playback',\n get: function get() {\n return this.core && this.core.activePlayback;\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'media-control',\n 'data-media-control': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click [data-play]': 'play',\n 'click [data-pause]': 'pause',\n 'click [data-playpause]': 'togglePlayPause',\n 'click [data-stop]': 'stop',\n 'click [data-playstop]': 'togglePlayStop',\n 'click [data-fullscreen]': 'toggleFullscreen',\n 'click .bar-container[data-seekbar]': 'seek',\n 'click .bar-container[data-volume]': 'onVolumeClick',\n 'click .drawer-icon[data-volume]': 'toggleMute',\n 'mouseenter .drawer-container[data-volume]': 'showVolumeBar',\n 'mouseleave .drawer-container[data-volume]': 'hideVolumeBar',\n 'mousedown .bar-container[data-volume]': 'startVolumeDrag',\n 'mousemove .bar-container[data-volume]': 'mousemoveOnVolumeBar',\n 'mousedown .bar-scrubber[data-seekbar]': 'startSeekDrag',\n 'mousemove .bar-container[data-seekbar]': 'mousemoveOnSeekBar',\n 'mouseleave .bar-container[data-seekbar]': 'mouseleaveOnSeekBar',\n 'mouseenter .media-control-layer[data-controls]': 'setUserKeepVisible',\n 'mouseleave .media-control-layer[data-controls]': 'resetUserKeepVisible'\n };\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_mediaControl2.default);\n }\n }, {\n key: 'volume',\n get: function get() {\n return this.container && this.container.isReady ? this.container.volume : this.intendedVolume;\n }\n }, {\n key: 'muted',\n get: function get() {\n return this.volume === 0;\n }\n }]);\n\n function MediaControl(core) {\n (0, _classCallCheck3.default)(this, MediaControl);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n _this.persistConfig = _this.options.persistConfig;\n _this.currentPositionValue = null;\n _this.currentDurationValue = null;\n _this.keepVisible = false;\n _this.fullScreenOnVideoTagSupported = null; // unknown\n _this.setInitialVolume();\n _this.settings = {\n left: ['play', 'stop', 'pause'],\n right: ['volume'],\n default: ['position', 'seekbar', 'duration']\n };\n _this.kibo = new _vendor.Kibo(_this.options.focusElement);\n _this.bindKeyEvents();\n\n if (_this.container) {\n if (!_clapprZepto2.default.isEmptyObject(_this.container.settings)) _this.settings = _clapprZepto2.default.extend({}, _this.container.settings);\n } else {\n _this.settings = {};\n }\n\n _this.userDisabled = false;\n if (_this.container && _this.container.mediaControlDisabled || _this.options.chromeless) _this.disable();\n\n _this.stopDragHandler = function (event) {\n return _this.stopDrag(event);\n };\n _this.updateDragHandler = function (event) {\n return _this.updateDrag(event);\n };\n (0, _clapprZepto2.default)(document).bind('mouseup', _this.stopDragHandler);\n (0, _clapprZepto2.default)(document).bind('mousemove', _this.updateDragHandler);\n return _this;\n }\n\n MediaControl.prototype.getExternalInterface = function getExternalInterface() {\n var _this2 = this;\n\n return {\n setVolume: this.setVolume,\n getVolume: function getVolume() {\n return _this2.volume;\n }\n };\n };\n\n MediaControl.prototype.bindEvents = function bindEvents() {\n var _this3 = this;\n\n this.stopListening();\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.onActiveContainerChanged);\n this.listenTo(this.core, _events2.default.CORE_MOUSE_MOVE, this.show);\n this.listenTo(this.core, _events2.default.CORE_MOUSE_LEAVE, function () {\n return _this3.hide(_this3.options.hideMediaControlDelay);\n });\n this.listenTo(this.core, _events2.default.CORE_FULLSCREEN, this.show);\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.configure);\n _mediator2.default.on(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerResize, this);\n this.bindContainerEvents();\n };\n\n MediaControl.prototype.bindContainerEvents = function bindContainerEvents() {\n if (!this.container) return;\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.changeTogglePlay);\n this.listenTo(this.container, _events2.default.CONTAINER_PAUSE, this.changeTogglePlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.changeTogglePlay);\n this.listenTo(this.container, _events2.default.CONTAINER_DBLCLICK, this.toggleFullscreen);\n this.listenTo(this.container, _events2.default.CONTAINER_TIMEUPDATE, this.onTimeUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_PROGRESS, this.updateProgressBar);\n this.listenTo(this.container, _events2.default.CONTAINER_SETTINGSUPDATE, this.settingsUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.settingsUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_HIGHDEFINITIONUPDATE, this.highDefinitionUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_MEDIACONTROL_DISABLE, this.disable);\n this.listenTo(this.container, _events2.default.CONTAINER_MEDIACONTROL_ENABLE, this.enable);\n this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.ended);\n this.listenTo(this.container, _events2.default.CONTAINER_VOLUME, this.onVolumeChanged);\n this.listenTo(this.container, _events2.default.CONTAINER_OPTIONS_CHANGE, this.setInitialVolume);\n if (this.container.playback.el.nodeName.toLowerCase() === 'video') {\n // wait until the metadata has loaded and then check if fullscreen on video tag is supported\n this.listenToOnce(this.container, _events2.default.CONTAINER_LOADEDMETADATA, this.onLoadedMetadataOnVideoTag);\n }\n };\n\n MediaControl.prototype.disable = function disable() {\n this.userDisabled = true;\n this.hide();\n this.unbindKeyEvents();\n this.$el.hide();\n };\n\n MediaControl.prototype.enable = function enable() {\n if (this.options.chromeless) return;\n this.userDisabled = false;\n this.bindKeyEvents();\n this.show();\n };\n\n MediaControl.prototype.play = function play() {\n this.container && this.container.play();\n };\n\n MediaControl.prototype.pause = function pause() {\n this.container && this.container.pause();\n };\n\n MediaControl.prototype.stop = function stop() {\n this.container && this.container.stop();\n };\n\n MediaControl.prototype.setInitialVolume = function setInitialVolume() {\n var initialVolume = this.persistConfig ? _utils.Config.restore('volume') : 100;\n var options = this.container && this.container.options || this.options;\n this.setVolume(options.mute ? 0 : initialVolume, true);\n };\n\n MediaControl.prototype.onVolumeChanged = function onVolumeChanged() {\n this.updateVolumeUI();\n };\n\n MediaControl.prototype.onLoadedMetadataOnVideoTag = function onLoadedMetadataOnVideoTag() {\n var video = this.playback && this.playback.el;\n // video.webkitSupportsFullscreen is deprecated but iOS appears to only use this\n // see https://github.com/clappr/clappr/issues/1127\n if (!_utils.Fullscreen.fullscreenEnabled() && video.webkitSupportsFullscreen) {\n this.fullScreenOnVideoTagSupported = true;\n this.settingsUpdate();\n }\n };\n\n MediaControl.prototype.updateVolumeUI = function updateVolumeUI() {\n // this will be called after a render\n if (!this.rendered) return;\n\n // update volume bar scrubber/fill on bar mode\n this.$volumeBarContainer.find('.bar-fill-2').css({});\n var containerWidth = this.$volumeBarContainer.width();\n var barWidth = this.$volumeBarBackground.width();\n var offset = (containerWidth - barWidth) / 2.0;\n var pos = barWidth * this.volume / 100.0 + offset;\n this.$volumeBarFill.css({ width: this.volume + '%' });\n this.$volumeBarScrubber.css({ left: pos });\n\n // update volume bar segments on segmented bar mode\n this.$volumeBarContainer.find('.segmented-bar-element').removeClass('fill');\n var item = Math.ceil(this.volume / 10.0);\n this.$volumeBarContainer.find('.segmented-bar-element').slice(0, item).addClass('fill');\n this.$volumeIcon.html('');\n this.$volumeIcon.removeClass('muted');\n if (!this.muted) {\n this.$volumeIcon.append(_utils.SvgIcons.volume);\n } else {\n this.$volumeIcon.append(_utils.SvgIcons.volumeMute);\n this.$volumeIcon.addClass('muted');\n }\n this.applyButtonStyle(this.$volumeIcon);\n };\n\n MediaControl.prototype.changeTogglePlay = function changeTogglePlay() {\n this.$playPauseToggle.html('');\n this.$playStopToggle.html('');\n if (this.container && this.container.isPlaying()) {\n this.$playPauseToggle.append(_utils.SvgIcons.pause);\n this.$playStopToggle.append(_utils.SvgIcons.stop);\n this.trigger(_events2.default.MEDIACONTROL_PLAYING);\n } else {\n this.$playPauseToggle.append(_utils.SvgIcons.play);\n this.$playStopToggle.append(_utils.SvgIcons.play);\n this.trigger(_events2.default.MEDIACONTROL_NOTPLAYING);\n _browser2.default.isMobile && this.show();\n }\n this.applyButtonStyle(this.$playPauseToggle);\n this.applyButtonStyle(this.$playStopToggle);\n };\n\n MediaControl.prototype.mousemoveOnSeekBar = function mousemoveOnSeekBar(event) {\n if (this.settings.seekEnabled) {\n var offsetX = event.pageX - this.$seekBarContainer.offset().left - this.$seekBarHover.width() / 2;\n this.$seekBarHover.css({ left: offsetX });\n }\n this.trigger(_events2.default.MEDIACONTROL_MOUSEMOVE_SEEKBAR, event);\n };\n\n MediaControl.prototype.mouseleaveOnSeekBar = function mouseleaveOnSeekBar(event) {\n this.trigger(_events2.default.MEDIACONTROL_MOUSELEAVE_SEEKBAR, event);\n };\n\n MediaControl.prototype.onVolumeClick = function onVolumeClick(event) {\n this.setVolume(this.getVolumeFromUIEvent(event));\n };\n\n MediaControl.prototype.mousemoveOnVolumeBar = function mousemoveOnVolumeBar(event) {\n this.draggingVolumeBar && this.setVolume(this.getVolumeFromUIEvent(event));\n };\n\n MediaControl.prototype.playerResize = function playerResize(size) {\n this.$fullscreenToggle.html('');\n var icon = this.core.isFullscreen() ? _utils.SvgIcons.exitFullscreen : _utils.SvgIcons.fullscreen;\n this.$fullscreenToggle.append(icon);\n this.applyButtonStyle(this.$fullscreenToggle);\n this.$el.find('.media-control').length !== 0 && this.$el.removeClass('w320');\n if (size.width <= 320 || this.options.hideVolumeBar) this.$el.addClass('w320');\n };\n\n MediaControl.prototype.togglePlayPause = function togglePlayPause() {\n this.container.isPlaying() ? this.container.pause() : this.container.play();\n return false;\n };\n\n MediaControl.prototype.togglePlayStop = function togglePlayStop() {\n this.container.isPlaying() ? this.container.stop() : this.container.play();\n };\n\n MediaControl.prototype.startSeekDrag = function startSeekDrag(event) {\n if (!this.settings.seekEnabled) return;\n this.draggingSeekBar = true;\n this.$el.addClass('dragging');\n this.$seekBarLoaded.addClass('media-control-notransition');\n this.$seekBarPosition.addClass('media-control-notransition');\n this.$seekBarScrubber.addClass('media-control-notransition');\n event && event.preventDefault();\n };\n\n MediaControl.prototype.startVolumeDrag = function startVolumeDrag(event) {\n this.draggingVolumeBar = true;\n this.$el.addClass('dragging');\n event && event.preventDefault();\n };\n\n MediaControl.prototype.stopDrag = function stopDrag(event) {\n this.draggingSeekBar && this.seek(event);\n this.$el.removeClass('dragging');\n this.$seekBarLoaded.removeClass('media-control-notransition');\n this.$seekBarPosition.removeClass('media-control-notransition');\n this.$seekBarScrubber.removeClass('media-control-notransition dragging');\n this.draggingSeekBar = false;\n this.draggingVolumeBar = false;\n };\n\n MediaControl.prototype.updateDrag = function updateDrag(event) {\n if (this.draggingSeekBar) {\n event.preventDefault();\n var offsetX = event.pageX - this.$seekBarContainer.offset().left;\n var pos = offsetX / this.$seekBarContainer.width() * 100;\n pos = Math.min(100, Math.max(pos, 0));\n this.setSeekPercentage(pos);\n } else if (this.draggingVolumeBar) {\n event.preventDefault();\n this.setVolume(this.getVolumeFromUIEvent(event));\n }\n };\n\n MediaControl.prototype.getVolumeFromUIEvent = function getVolumeFromUIEvent(event) {\n var offsetY = event.pageX - this.$volumeBarContainer.offset().left;\n var volumeFromUI = offsetY / this.$volumeBarContainer.width() * 100;\n return volumeFromUI;\n };\n\n MediaControl.prototype.toggleMute = function toggleMute() {\n if (this.muted) {\n this.setVolume(this._mutedVolume || 100);\n this._mutedVolume = null;\n return;\n }\n\n this._mutedVolume = this.volume;\n this.setVolume(0);\n };\n\n MediaControl.prototype.setVolume = function setVolume(value) {\n var _this4 = this;\n\n var isInitialVolume = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n value = Math.min(100, Math.max(value, 0));\n // this will hold the intended volume\n // it may not actually get set to this straight away\n // if the container is not ready etc\n this.intendedVolume = value;\n this.persistConfig && !isInitialVolume && _utils.Config.persist('volume', value);\n var setWhenContainerReady = function setWhenContainerReady() {\n if (_this4.container && _this4.container.isReady) {\n _this4.container.setVolume(value);\n } else {\n _this4.listenToOnce(_this4.container, _events2.default.CONTAINER_READY, function () {\n _this4.container.setVolume(value);\n });\n }\n };\n\n if (!this.container) this.listenToOnce(this, _events2.default.MEDIACONTROL_CONTAINERCHANGED, function () {\n return setWhenContainerReady();\n });else setWhenContainerReady();\n };\n\n MediaControl.prototype.toggleFullscreen = function toggleFullscreen() {\n this.trigger(_events2.default.MEDIACONTROL_FULLSCREEN, this.name);\n this.container.fullscreen();\n this.core.toggleFullscreen();\n this.resetUserKeepVisible();\n };\n\n MediaControl.prototype.onActiveContainerChanged = function onActiveContainerChanged() {\n this.fullScreenOnVideoTagSupported = null;\n _mediator2.default.off(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerResize, this);\n this.bindEvents();\n // set the new container to match the volume of the last one\n this.setInitialVolume();\n this.changeTogglePlay();\n this.bindContainerEvents();\n this.settingsUpdate();\n this.container && this.container.trigger(_events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.container.isDvrInUse());\n this.container && this.container.mediaControlDisabled && this.disable();\n this.trigger(_events2.default.MEDIACONTROL_CONTAINERCHANGED);\n };\n\n MediaControl.prototype.showVolumeBar = function showVolumeBar() {\n this.hideVolumeId && clearTimeout(this.hideVolumeId);\n this.$volumeBarContainer.removeClass('volume-bar-hide');\n };\n\n MediaControl.prototype.hideVolumeBar = function hideVolumeBar() {\n var _this5 = this;\n\n var timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 400;\n\n if (!this.$volumeBarContainer) return;\n if (this.draggingVolumeBar) {\n this.hideVolumeId = setTimeout(function () {\n return _this5.hideVolumeBar();\n }, timeout);\n } else {\n this.hideVolumeId && clearTimeout(this.hideVolumeId);\n this.hideVolumeId = setTimeout(function () {\n return _this5.$volumeBarContainer.addClass('volume-bar-hide');\n }, timeout);\n }\n };\n\n MediaControl.prototype.ended = function ended() {\n this.changeTogglePlay();\n };\n\n MediaControl.prototype.updateProgressBar = function updateProgressBar(progress) {\n var loadedStart = progress.start / progress.total * 100;\n var loadedEnd = progress.current / progress.total * 100;\n this.$seekBarLoaded.css({ left: loadedStart + '%', width: loadedEnd - loadedStart + '%' });\n };\n\n MediaControl.prototype.onTimeUpdate = function onTimeUpdate(timeProgress) {\n if (this.draggingSeekBar) return;\n // TODO why should current time ever be negative?\n var position = timeProgress.current < 0 ? timeProgress.total : timeProgress.current;\n\n this.currentPositionValue = position;\n this.currentDurationValue = timeProgress.total;\n this.renderSeekBar();\n };\n\n MediaControl.prototype.renderSeekBar = function renderSeekBar() {\n // this will be triggered as soon as these become available\n if (this.currentPositionValue === null || this.currentDurationValue === null) return;\n\n // default to 100%\n this.currentSeekBarPercentage = 100;\n if (this.container && (this.container.getPlaybackType() !== _playback2.default.LIVE || this.container.isDvrInUse())) this.currentSeekBarPercentage = this.currentPositionValue / this.currentDurationValue * 100;\n\n this.setSeekPercentage(this.currentSeekBarPercentage);\n\n var newPosition = (0, _utils.formatTime)(this.currentPositionValue);\n var newDuration = (0, _utils.formatTime)(this.currentDurationValue);\n if (newPosition !== this.displayedPosition) {\n this.$position.text(newPosition);\n this.displayedPosition = newPosition;\n }\n if (newDuration !== this.displayedDuration) {\n this.$duration.text(newDuration);\n this.displayedDuration = newDuration;\n }\n };\n\n MediaControl.prototype.seek = function seek(event) {\n if (!this.settings.seekEnabled) return;\n var offsetX = event.pageX - this.$seekBarContainer.offset().left;\n var pos = offsetX / this.$seekBarContainer.width() * 100;\n pos = Math.min(100, Math.max(pos, 0));\n this.container && this.container.seekPercentage(pos);\n this.setSeekPercentage(pos);\n return false;\n };\n\n MediaControl.prototype.setKeepVisible = function setKeepVisible() {\n this.keepVisible = true;\n };\n\n MediaControl.prototype.resetKeepVisible = function resetKeepVisible() {\n this.keepVisible = false;\n };\n\n MediaControl.prototype.setUserKeepVisible = function setUserKeepVisible() {\n this.userKeepVisible = true;\n };\n\n MediaControl.prototype.resetUserKeepVisible = function resetUserKeepVisible() {\n this.userKeepVisible = false;\n };\n\n MediaControl.prototype.isVisible = function isVisible() {\n return !this.$el.hasClass('media-control-hide');\n };\n\n MediaControl.prototype.show = function show(event) {\n var _this6 = this;\n\n if (this.disabled) return;\n\n var timeout = 2000;\n var mousePointerMoved = event && event.clientX !== this.lastMouseX && event.clientY !== this.lastMouseY;\n if (!event || mousePointerMoved || navigator.userAgent.match(/firefox/i)) {\n clearTimeout(this.hideId);\n this.$el.show();\n this.trigger(_events2.default.MEDIACONTROL_SHOW, this.name);\n this.container && this.container.trigger(_events2.default.CONTAINER_MEDIACONTROL_SHOW, this.name);\n this.$el.removeClass('media-control-hide');\n this.hideId = setTimeout(function () {\n return _this6.hide();\n }, timeout);\n if (event) {\n this.lastMouseX = event.clientX;\n this.lastMouseY = event.clientY;\n }\n }\n var showing = true;\n this.updateCursorStyle(showing);\n };\n\n MediaControl.prototype.hide = function hide() {\n var _this7 = this;\n\n var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n if (!this.isVisible()) return;\n\n var timeout = delay || 2000;\n clearTimeout(this.hideId);\n if (!this.disabled && this.options.hideMediaControl === false) return;\n\n var hasKeepVisibleRequested = this.userKeepVisible || this.keepVisible;\n var hasDraggingAction = this.draggingSeekBar || this.draggingVolumeBar;\n\n if (!this.disabled && (delay || hasKeepVisibleRequested || hasDraggingAction)) {\n this.hideId = setTimeout(function () {\n return _this7.hide();\n }, timeout);\n } else {\n this.trigger(_events2.default.MEDIACONTROL_HIDE, this.name);\n this.container && this.container.trigger(_events2.default.CONTAINER_MEDIACONTROL_HIDE, this.name);\n this.$el.addClass('media-control-hide');\n this.hideVolumeBar(0);\n var showing = false;\n this.updateCursorStyle(showing);\n }\n };\n\n MediaControl.prototype.updateCursorStyle = function updateCursorStyle(showing) {\n if (showing) this.core.$el.removeClass('nocursor');else if (this.core.isFullscreen()) this.core.$el.addClass('nocursor');\n };\n\n MediaControl.prototype.settingsUpdate = function settingsUpdate() {\n var newSettings = this.getSettings();\n if (newSettings && !this.fullScreenOnVideoTagSupported && !_utils.Fullscreen.fullscreenEnabled()) {\n // remove fullscreen from settings if it is present\n newSettings.default && (0, _utils.removeArrayItem)(newSettings.default, 'fullscreen');\n newSettings.left && (0, _utils.removeArrayItem)(newSettings.left, 'fullscreen');\n newSettings.right && (0, _utils.removeArrayItem)(newSettings.right, 'fullscreen');\n }\n var settingsChanged = (0, _stringify2.default)(this.settings) !== (0, _stringify2.default)(newSettings);\n if (settingsChanged) {\n this.settings = newSettings;\n this.render();\n }\n };\n\n MediaControl.prototype.getSettings = function getSettings() {\n return _clapprZepto2.default.extend(true, {}, this.container && this.container.settings);\n };\n\n MediaControl.prototype.highDefinitionUpdate = function highDefinitionUpdate(isHD) {\n this.isHD = isHD;\n var method = isHD ? 'addClass' : 'removeClass';\n this.$hdIndicator[method]('enabled');\n };\n\n MediaControl.prototype.createCachedElements = function createCachedElements() {\n var $layer = this.$el.find('.media-control-layer');\n this.$duration = $layer.find('.media-control-indicator[data-duration]');\n this.$fullscreenToggle = $layer.find('button.media-control-button[data-fullscreen]');\n this.$playPauseToggle = $layer.find('button.media-control-button[data-playpause]');\n this.$playStopToggle = $layer.find('button.media-control-button[data-playstop]');\n this.$position = $layer.find('.media-control-indicator[data-position]');\n this.$seekBarContainer = $layer.find('.bar-container[data-seekbar]');\n this.$seekBarHover = $layer.find('.bar-hover[data-seekbar]');\n this.$seekBarLoaded = $layer.find('.bar-fill-1[data-seekbar]');\n this.$seekBarPosition = $layer.find('.bar-fill-2[data-seekbar]');\n this.$seekBarScrubber = $layer.find('.bar-scrubber[data-seekbar]');\n this.$volumeBarContainer = $layer.find('.bar-container[data-volume]');\n this.$volumeContainer = $layer.find('.drawer-container[data-volume]');\n this.$volumeIcon = $layer.find('.drawer-icon[data-volume]');\n this.$volumeBarBackground = this.$el.find('.bar-background[data-volume]');\n this.$volumeBarFill = this.$el.find('.bar-fill-1[data-volume]');\n this.$volumeBarScrubber = this.$el.find('.bar-scrubber[data-volume]');\n this.$hdIndicator = this.$el.find('button.media-control-button[data-hd-indicator]');\n this.resetIndicators();\n this.initializeIcons();\n };\n\n MediaControl.prototype.resetIndicators = function resetIndicators() {\n this.displayedPosition = this.$position.text();\n this.displayedDuration = this.$duration.text();\n };\n\n MediaControl.prototype.initializeIcons = function initializeIcons() {\n var $layer = this.$el.find('.media-control-layer');\n $layer.find('button.media-control-button[data-play]').append(_utils.SvgIcons.play);\n $layer.find('button.media-control-button[data-pause]').append(_utils.SvgIcons.pause);\n $layer.find('button.media-control-button[data-stop]').append(_utils.SvgIcons.stop);\n this.$playPauseToggle.append(_utils.SvgIcons.play);\n this.$playStopToggle.append(_utils.SvgIcons.play);\n this.$volumeIcon.append(_utils.SvgIcons.volume);\n this.$fullscreenToggle.append(_utils.SvgIcons.fullscreen);\n this.$hdIndicator.append(_utils.SvgIcons.hd);\n };\n\n MediaControl.prototype.setSeekPercentage = function setSeekPercentage(value) {\n value = Math.max(Math.min(value, 100.0), 0);\n // not changed since last update\n if (this.displayedSeekBarPercentage === value) return;\n\n this.displayedSeekBarPercentage = value;\n this.$seekBarPosition.removeClass('media-control-notransition');\n this.$seekBarScrubber.removeClass('media-control-notransition');\n this.$seekBarPosition.css({ width: value + '%' });\n this.$seekBarScrubber.css({ left: value + '%' });\n };\n\n MediaControl.prototype.seekRelative = function seekRelative(delta) {\n if (!this.settings.seekEnabled) return;\n\n var currentTime = this.container.getCurrentTime();\n var duration = this.container.getDuration();\n var position = Math.min(Math.max(currentTime + delta, 0), duration);\n position = Math.min(position * 100 / duration, 100);\n this.container.seekPercentage(position);\n };\n\n MediaControl.prototype.bindKeyAndShow = function bindKeyAndShow(key, callback) {\n var _this8 = this;\n\n this.kibo.down(key, function () {\n _this8.show();\n return callback();\n });\n };\n\n MediaControl.prototype.bindKeyEvents = function bindKeyEvents() {\n var _this9 = this;\n\n if (_browser2.default.isMobile || this.options.disableKeyboardShortcuts) return;\n\n this.unbindKeyEvents();\n this.kibo = new _vendor.Kibo(this.options.focusElement || this.options.parentElement);\n this.bindKeyAndShow('space', function () {\n return _this9.togglePlayPause();\n });\n this.bindKeyAndShow('left', function () {\n return _this9.seekRelative(-5);\n });\n this.bindKeyAndShow('right', function () {\n return _this9.seekRelative(5);\n });\n this.bindKeyAndShow('shift left', function () {\n return _this9.seekRelative(-10);\n });\n this.bindKeyAndShow('shift right', function () {\n return _this9.seekRelative(10);\n });\n this.bindKeyAndShow('shift ctrl left', function () {\n return _this9.seekRelative(-15);\n });\n this.bindKeyAndShow('shift ctrl right', function () {\n return _this9.seekRelative(15);\n });\n var keys = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0'];\n keys.forEach(function (i) {\n _this9.bindKeyAndShow(i, function () {\n _this9.settings.seekEnabled && _this9.container && _this9.container.seekPercentage(i * 10);\n });\n });\n };\n\n MediaControl.prototype.unbindKeyEvents = function unbindKeyEvents() {\n if (this.kibo) {\n this.kibo.off('space');\n this.kibo.off('left');\n this.kibo.off('right');\n this.kibo.off('shift left');\n this.kibo.off('shift right');\n this.kibo.off('shift ctrl left');\n this.kibo.off('shift ctrl right');\n this.kibo.off(['1', '2', '3', '4', '5', '6', '7', '8', '9', '0']);\n }\n };\n\n MediaControl.prototype.parseColors = function parseColors() {\n if (this.options.mediacontrol) {\n this.buttonsColor = this.options.mediacontrol.buttons;\n var seekbarColor = this.options.mediacontrol.seekbar;\n this.$el.find('.bar-fill-2[data-seekbar]').css('background-color', seekbarColor);\n this.$el.find('.media-control-icon svg path').css('fill', this.buttonsColor);\n this.$el.find('.segmented-bar-element[data-volume]').css('boxShadow', 'inset 2px 0 0 ' + this.buttonsColor);\n }\n };\n\n MediaControl.prototype.applyButtonStyle = function applyButtonStyle(element) {\n this.buttonsColor && element && (0, _clapprZepto2.default)(element).find('svg path').css('fill', this.buttonsColor);\n };\n\n MediaControl.prototype.destroy = function destroy() {\n (0, _clapprZepto2.default)(document).unbind('mouseup', this.stopDragHandler);\n (0, _clapprZepto2.default)(document).unbind('mousemove', this.updateDragHandler);\n this.unbindKeyEvents();\n this.stopListening();\n _UICorePlugin.prototype.destroy.call(this);\n };\n\n /**\n * enables to configure the media control after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n MediaControl.prototype.configure = function configure(options) {\n // Check if chromeless mode or if configure is called with new source(s)\n if (this.options.chromeless || options.source || options.sources) this.disable();else this.enable();\n\n this.trigger(_events2.default.MEDIACONTROL_OPTIONS_CHANGE);\n };\n\n MediaControl.prototype.render = function render() {\n var _this10 = this;\n\n var timeout = this.options.hideMediaControlDelay || 2000;\n this.settings && this.$el.html(this.template({ settings: this.settings }));\n this.createCachedElements();\n this.$playPauseToggle.addClass('paused');\n this.$playStopToggle.addClass('stopped');\n\n this.changeTogglePlay();\n\n if (this.container) {\n this.hideId = setTimeout(function () {\n return _this10.hide();\n }, timeout);\n this.disabled && this.hide();\n }\n\n // Video volume cannot be changed with Safari on mobile devices\n // Display mute/unmute icon only if Safari version >= 10\n if (_browser2.default.isSafari && _browser2.default.isMobile) {\n if (_browser2.default.version < 10) this.$volumeContainer.css('display', 'none');else this.$volumeBarContainer.css('display', 'none');\n }\n\n this.$seekBarPosition.addClass('media-control-notransition');\n this.$seekBarScrubber.addClass('media-control-notransition');\n\n var previousSeekPercentage = 0;\n if (this.displayedSeekBarPercentage) previousSeekPercentage = this.displayedSeekBarPercentage;\n\n this.displayedSeekBarPercentage = null;\n this.setSeekPercentage(previousSeekPercentage);\n\n process.nextTick(function () {\n !_this10.settings.seekEnabled && _this10.$seekBarContainer.addClass('seek-disabled');\n !_browser2.default.isMobile && !_this10.options.disableKeyboardShortcuts && _this10.bindKeyEvents();\n _this10.playerResize({ width: _this10.options.width, height: _this10.options.height });\n _this10.hideVolumeBar(0);\n });\n\n this.parseColors();\n this.highDefinitionUpdate(this.isHD);\n\n this.core.$el.append(this.el);\n\n this.rendered = true;\n this.updateVolumeUI();\n this.trigger(_events2.default.MEDIACONTROL_RENDERED);\n return this;\n };\n\n return MediaControl;\n}(_ui_core_plugin2.default);\n\nexports.default = MediaControl;\n\n\nMediaControl.extend = function (properties) {\n return (0, _utils.extend)(MediaControl, properties);\n};\nmodule.exports = exports['default'];\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/node-libs-browser/node_modules/process/browser.js */ \"./node_modules/node-libs-browser/node_modules/process/browser.js\")))\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/public/closed-hand.cur\":\n/*!**********************************************************!*\\\n !*** ./src/plugins/media_control/public/closed-hand.cur ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/a8c874b93b3d848f39a71260c57e3863.cur\";\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/public/media-control.html\":\n/*!*************************************************************!*\\\n !*** ./src/plugins/media_control/public/media-control.html ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"media-control-background\\\" data-background></div>\\n<div class=\\\"media-control-layer\\\" data-controls>\\n <% var renderBar = function(name) { %>\\n <div class=\\\"bar-container\\\" data-<%= name %>>\\n <div class=\\\"bar-background\\\" data-<%= name %>>\\n <div class=\\\"bar-fill-1\\\" data-<%= name %>></div>\\n <div class=\\\"bar-fill-2\\\" data-<%= name %>></div>\\n <div class=\\\"bar-hover\\\" data-<%= name %>></div>\\n </div>\\n <div class=\\\"bar-scrubber\\\" data-<%= name %>>\\n <div class=\\\"bar-scrubber-icon\\\" data-<%= name %>></div>\\n </div>\\n </div>\\n <% }; %>\\n <% var renderSegmentedBar = function(name, segments) {\\n segments = segments || 10; %>\\n <div class=\\\"bar-container\\\" data-<%= name %>>\\n <% for (var i = 0; i < segments; i++) { %>\\n <div class=\\\"segmented-bar-element\\\" data-<%= name %>></div>\\n <% } %>\\n </div>\\n <% }; %>\\n <% var renderDrawer = function(name, renderContent) { %>\\n <div class=\\\"drawer-container\\\" data-<%= name %>>\\n <div class=\\\"drawer-icon-container\\\" data-<%= name %>>\\n <div class=\\\"drawer-icon media-control-icon\\\" data-<%= name %>></div>\\n <span class=\\\"drawer-text\\\" data-<%= name %>></span>\\n </div>\\n <% renderContent(name); %>\\n </div>\\n <% }; %>\\n <% var renderIndicator = function(name) { %>\\n <div class=\\\"media-control-indicator\\\" data-<%= name %>></div>\\n <% }; %>\\n <% var renderButton = function(name) { %>\\n <button type=\\\"button\\\" class=\\\"media-control-button media-control-icon\\\" data-<%= name %> aria-label=\\\"<%= name %>\\\"></button>\\n <% }; %>\\n <% var templates = {\\n bar: renderBar,\\n segmentedBar: renderSegmentedBar,\\n };\\n var render = function(settingsList) {\\n settingsList.forEach(function(setting) {\\n if(setting === \\\"seekbar\\\") {\\n renderBar(setting);\\n } else if (setting === \\\"volume\\\") {\\n renderDrawer(setting, settings.volumeBarTemplate ? templates[settings.volumeBarTemplate] : function(name) { return renderSegmentedBar(name); });\\n } else if (setting === \\\"duration\\\" || setting === \\\"position\\\") {\\n renderIndicator(setting);\\n } else {\\n renderButton(setting);\\n }\\n });\\n }; %>\\n <% if (settings.default && settings.default.length) { %>\\n <div class=\\\"media-control-center-panel\\\" data-media-control>\\n <% render(settings.default); %>\\n </div>\\n <% } %>\\n <% if (settings.left && settings.left.length) { %>\\n <div class=\\\"media-control-left-panel\\\" data-media-control>\\n <% render(settings.left); %>\\n </div>\\n <% } %>\\n <% if (settings.right && settings.right.length) { %>\\n <div class=\\\"media-control-right-panel\\\" data-media-control>\\n <% render(settings.right); %>\\n </div>\\n <% } %>\\n</div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/public/media-control.scss\":\n/*!*************************************************************!*\\\n !*** ./src/plugins/media_control/public/media-control.scss ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./media-control.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/media_control/public/media-control.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/index.js\":\n/*!*************************************!*\\\n !*** ./src/plugins/poster/index.js ***!\n \\*************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _poster = __webpack_require__(/*! ./poster */ \"./src/plugins/poster/poster.js\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _poster2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/poster.js\":\n/*!**************************************!*\\\n !*** ./src/plugins/poster/poster.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_container_plugin = __webpack_require__(/*! ../../base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _error = __webpack_require__(/*! ../../components/error/error */ \"./src/components/error/error.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _poster = __webpack_require__(/*! ./public/poster.html */ \"./src/plugins/poster/public/poster.html\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\n__webpack_require__(/*! ./public/poster.scss */ \"./src/plugins/poster/public/poster.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n//Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar PosterPlugin = function (_UIContainerPlugin) {\n (0, _inherits3.default)(PosterPlugin, _UIContainerPlugin);\n (0, _createClass3.default)(PosterPlugin, [{\n key: 'name',\n get: function get() {\n return 'poster';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_poster2.default);\n }\n }, {\n key: 'shouldRender',\n get: function get() {\n var showForNoOp = !!(this.options.poster && this.options.poster.showForNoOp);\n return this.container.playback.name !== 'html_img' && (this.container.playback.getPlaybackType() !== _playback2.default.NO_OP || showForNoOp);\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'player-poster',\n 'data-poster': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click': 'clicked'\n };\n }\n }, {\n key: 'showOnVideoEnd',\n get: function get() {\n return !this.options.poster || this.options.poster.showOnVideoEnd || this.options.poster.showOnVideoEnd === undefined;\n }\n }]);\n\n function PosterPlugin(container) {\n (0, _classCallCheck3.default)(this, PosterPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIContainerPlugin.call(this, container));\n\n _this.hasStartedPlaying = false;\n _this.playRequested = false;\n _this.render();\n process.nextTick(function () {\n return _this.update();\n });\n return _this;\n }\n\n PosterPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERING, this.update);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, this.update);\n this.listenTo(this.container, _events2.default.CONTAINER_OPTIONS_CHANGE, this.render);\n this.listenTo(this.container, _events2.default.CONTAINER_ERROR, this.onError);\n this.showOnVideoEnd && this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.onStop);\n };\n\n PosterPlugin.prototype.onError = function onError(error) {\n this.hasFatalError = error.level === _error2.default.Levels.FATAL;\n\n if (this.hasFatalError) {\n this.hasStartedPlaying = false;\n this.playRequested = false;\n this.showPlayButton();\n }\n };\n\n PosterPlugin.prototype.onPlay = function onPlay() {\n this.hasStartedPlaying = true;\n this.update();\n };\n\n PosterPlugin.prototype.onStop = function onStop() {\n this.hasStartedPlaying = false;\n this.playRequested = false;\n this.update();\n };\n\n PosterPlugin.prototype.updatePlayButton = function updatePlayButton(show) {\n if (show && (!this.options.chromeless || this.options.allowUserInteraction)) this.showPlayButton();else this.hidePlayButton();\n };\n\n PosterPlugin.prototype.showPlayButton = function showPlayButton() {\n if (this.hasFatalError && !this.options.disableErrorScreen) return;\n\n this.$playButton.show();\n this.$el.addClass('clickable');\n };\n\n PosterPlugin.prototype.hidePlayButton = function hidePlayButton() {\n this.$playButton.hide();\n this.$el.removeClass('clickable');\n };\n\n PosterPlugin.prototype.clicked = function clicked() {\n // Let \"click_to_pause\" plugin handle click event if media has started playing\n if (!this.hasStartedPlaying) {\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n this.playRequested = true;\n this.update();\n this.container.play();\n }\n return false;\n }\n };\n\n PosterPlugin.prototype.shouldHideOnPlay = function shouldHideOnPlay() {\n // Audio broadcasts should keep the poster up; video should hide poster while playing.\n return !this.container.playback.isAudioOnly;\n };\n\n PosterPlugin.prototype.update = function update() {\n if (!this.shouldRender) return;\n\n var showPlayButton = !this.playRequested && !this.hasStartedPlaying && !this.container.buffering;\n this.updatePlayButton(showPlayButton);\n this.updatePoster();\n };\n\n PosterPlugin.prototype.updatePoster = function updatePoster() {\n if (!this.hasStartedPlaying) this.showPoster();else this.hidePoster();\n };\n\n PosterPlugin.prototype.showPoster = function showPoster() {\n this.container.disableMediaControl();\n this.$el.show();\n };\n\n PosterPlugin.prototype.hidePoster = function hidePoster() {\n this.container.enableMediaControl();\n if (this.shouldHideOnPlay()) this.$el.hide();\n };\n\n PosterPlugin.prototype.render = function render() {\n if (!this.shouldRender) return;\n\n this.$el.html(this.template());\n\n var isRegularPoster = this.options.poster && this.options.poster.custom === undefined;\n\n if (isRegularPoster) {\n var posterUrl = this.options.poster.url || this.options.poster;\n this.$el.css({ 'background-image': 'url(' + posterUrl + ')' });\n } else if (this.options.poster) {\n this.$el.css({ 'background': this.options.poster.custom });\n }\n\n this.container.$el.append(this.el);\n this.$playWrapper = this.$el.find('.play-wrapper');\n this.$playWrapper.append(_utils.SvgIcons.play);\n this.$playButton = this.$playWrapper.find('svg');\n this.$playButton.addClass('poster-icon');\n this.$playButton.attr('data-poster', '');\n\n var buttonsColor = this.options.mediacontrol && this.options.mediacontrol.buttons;\n if (buttonsColor) this.$el.find('svg path').css('fill', buttonsColor);\n\n if (this.options.mediacontrol && this.options.mediacontrol.buttons) {\n buttonsColor = this.options.mediacontrol.buttons;\n this.$playButton.css('color', buttonsColor);\n }\n this.update();\n return this;\n };\n\n return PosterPlugin;\n}(_ui_container_plugin2.default);\n\nexports.default = PosterPlugin;\nmodule.exports = exports['default'];\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/node-libs-browser/node_modules/process/browser.js */ \"./node_modules/node-libs-browser/node_modules/process/browser.js\")))\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/public/poster.html\":\n/*!***********************************************!*\\\n !*** ./src/plugins/poster/public/poster.html ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"play-wrapper\\\" data-poster></div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/public/poster.scss\":\n/*!***********************************************!*\\\n !*** ./src/plugins/poster/public/poster.scss ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./poster.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/poster/public/poster.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/index.js\":\n/*!****************************************!*\\\n !*** ./src/plugins/seek_time/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _seek_time = __webpack_require__(/*! ./seek_time */ \"./src/plugins/seek_time/seek_time.js\");\n\nvar _seek_time2 = _interopRequireDefault(_seek_time);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _seek_time2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/public/seek_time.html\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/seek_time/public/seek_time.html ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<span data-seek-time></span>\\n<span data-duration></span>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/public/seek_time.scss\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/seek_time/public/seek_time.scss ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./seek_time.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/seek_time/public/seek_time.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/seek_time.js\":\n/*!********************************************!*\\\n !*** ./src/plugins/seek_time/seek_time.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _seek_time = __webpack_require__(/*! ./public/seek_time.html */ \"./src/plugins/seek_time/public/seek_time.html\");\n\nvar _seek_time2 = _interopRequireDefault(_seek_time);\n\n__webpack_require__(/*! ./public/seek_time.scss */ \"./src/plugins/seek_time/public/seek_time.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SeekTime = function (_UICorePlugin) {\n (0, _inherits3.default)(SeekTime, _UICorePlugin);\n (0, _createClass3.default)(SeekTime, [{\n key: 'name',\n get: function get() {\n return 'seek_time';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_seek_time2.default);\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'seek-time',\n 'data-seek-time': ''\n };\n }\n }, {\n key: 'mediaControl',\n get: function get() {\n return this.core.mediaControl;\n }\n }, {\n key: 'mediaControlContainer',\n get: function get() {\n return this.mediaControl.container;\n }\n }, {\n key: 'isLiveStreamWithDvr',\n get: function get() {\n return this.mediaControlContainer && this.mediaControlContainer.getPlaybackType() === _playback2.default.LIVE && this.mediaControlContainer.isDvrEnabled();\n }\n }, {\n key: 'durationShown',\n get: function get() {\n return this.isLiveStreamWithDvr && !this.actualLiveTime;\n }\n }, {\n key: 'useActualLiveTime',\n get: function get() {\n return this.actualLiveTime && this.isLiveStreamWithDvr;\n }\n }]);\n\n function SeekTime(core) {\n (0, _classCallCheck3.default)(this, SeekTime);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n _this.hoveringOverSeekBar = false;\n _this.hoverPosition = null;\n _this.duration = null;\n _this.firstFragDateTime = null;\n _this.actualLiveTime = !!_this.mediaControl.options.actualLiveTime;\n if (_this.actualLiveTime) {\n if (_this.mediaControl.options.actualLiveServerTime) _this.actualLiveServerTimeDiff = new Date().getTime() - new Date(_this.mediaControl.options.actualLiveServerTime).getTime();else _this.actualLiveServerTimeDiff = 0;\n }\n return _this;\n }\n\n SeekTime.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_RENDERED, this.render);\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_MOUSEMOVE_SEEKBAR, this.showTime);\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_MOUSELEAVE_SEEKBAR, this.hideTime);\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_CONTAINERCHANGED, this.onContainerChanged);\n if (this.mediaControlContainer) {\n this.listenTo(this.mediaControlContainer, _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.update);\n this.listenTo(this.mediaControlContainer, _events2.default.CONTAINER_TIMEUPDATE, this.updateDuration);\n }\n };\n\n SeekTime.prototype.onContainerChanged = function onContainerChanged() {\n this.stopListening();\n this.bindEvents();\n };\n\n SeekTime.prototype.updateDuration = function updateDuration(timeProgress) {\n this.duration = timeProgress.total;\n this.firstFragDateTime = timeProgress.firstFragDateTime;\n this.update();\n };\n\n SeekTime.prototype.showTime = function showTime(event) {\n this.hoveringOverSeekBar = true;\n this.calculateHoverPosition(event);\n this.update();\n };\n\n SeekTime.prototype.hideTime = function hideTime() {\n this.hoveringOverSeekBar = false;\n this.update();\n };\n\n SeekTime.prototype.calculateHoverPosition = function calculateHoverPosition(event) {\n var offset = event.pageX - this.mediaControl.$seekBarContainer.offset().left;\n // proportion into the seek bar that the mouse is hovered over 0-1\n this.hoverPosition = Math.min(1, Math.max(offset / this.mediaControl.$seekBarContainer.width(), 0));\n };\n\n SeekTime.prototype.getSeekTime = function getSeekTime() {\n var seekTime = void 0,\n secondsSinceMidnight = void 0,\n d = void 0,\n e = void 0;\n if (this.useActualLiveTime) {\n if (this.firstFragDateTime) {\n e = new Date(this.firstFragDateTime);\n d = new Date(this.firstFragDateTime);\n d.setHours(0, 0, 0, 0);\n secondsSinceMidnight = (e.getTime() - d.getTime()) / 1000 + this.duration;\n } else {\n d = new Date(new Date().getTime() - this.actualLiveServerTimeDiff);\n e = new Date(d);\n secondsSinceMidnight = (e - d.setHours(0, 0, 0, 0)) / 1000;\n }\n seekTime = secondsSinceMidnight - this.duration + this.hoverPosition * this.duration;\n if (seekTime < 0) seekTime += 86400;\n } else {\n seekTime = this.hoverPosition * this.duration;\n }\n\n return { seekTime: seekTime, secondsSinceMidnight: secondsSinceMidnight };\n };\n\n SeekTime.prototype.update = function update() {\n if (!this.rendered) {\n // update() is always called after a render\n return;\n }\n if (!this.shouldBeVisible()) {\n this.$el.hide();\n this.$el.css('left', '-100%');\n } else {\n var seekTime = this.getSeekTime();\n var currentSeekTime = (0, _utils.formatTime)(seekTime.seekTime, this.useActualLiveTime);\n // only update dom if necessary, ie time actually changed\n if (currentSeekTime !== this.displayedSeekTime) {\n this.$seekTimeEl.text(currentSeekTime);\n this.displayedSeekTime = currentSeekTime;\n }\n\n if (this.durationShown) {\n this.$durationEl.show();\n var currentDuration = (0, _utils.formatTime)(this.actualLiveTime ? seekTime.secondsSinceMidnight : this.duration, this.actualLiveTime);\n if (currentDuration !== this.displayedDuration) {\n this.$durationEl.text(currentDuration);\n this.displayedDuration = currentDuration;\n }\n } else {\n this.$durationEl.hide();\n }\n\n // the element must be unhidden before its width is requested, otherwise it's width will be reported as 0\n this.$el.show();\n var containerWidth = this.mediaControl.$seekBarContainer.width();\n var elWidth = this.$el.width();\n var elLeftPos = this.hoverPosition * containerWidth;\n elLeftPos -= elWidth / 2;\n elLeftPos = Math.max(0, Math.min(elLeftPos, containerWidth - elWidth));\n this.$el.css('left', elLeftPos);\n }\n };\n\n SeekTime.prototype.shouldBeVisible = function shouldBeVisible() {\n return this.mediaControlContainer && this.mediaControlContainer.settings.seekEnabled && this.hoveringOverSeekBar && this.hoverPosition !== null && this.duration !== null;\n };\n\n SeekTime.prototype.render = function render() {\n this.rendered = true;\n this.displayedDuration = null;\n this.displayedSeekTime = null;\n this.$el.html(this.template());\n this.$el.hide();\n this.mediaControl.$el.append(this.el);\n this.$seekTimeEl = this.$el.find('[data-seek-time]');\n this.$durationEl = this.$el.find('[data-duration]');\n this.$durationEl.hide();\n this.update();\n };\n\n return SeekTime;\n}(_ui_core_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = SeekTime;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/sources.js\":\n/*!********************************!*\\\n !*** ./src/plugins/sources.js ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _core_plugin = __webpack_require__(/*! ../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SourcesPlugin = function (_CorePlugin) {\n (0, _inherits3.default)(SourcesPlugin, _CorePlugin);\n\n function SourcesPlugin() {\n (0, _classCallCheck3.default)(this, SourcesPlugin);\n return (0, _possibleConstructorReturn3.default)(this, _CorePlugin.apply(this, arguments));\n }\n\n SourcesPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_CONTAINERS_CREATED, this.onContainersCreated);\n };\n\n SourcesPlugin.prototype.onContainersCreated = function onContainersCreated() {\n var firstValidSource = this.core.containers.filter(function (container) {\n return container.playback.name !== 'no_op';\n })[0] || this.core.containers[0];\n if (firstValidSource) {\n this.core.containers.forEach(function (container) {\n if (container !== firstValidSource) container.destroy();\n });\n }\n };\n\n (0, _createClass3.default)(SourcesPlugin, [{\n key: 'name',\n get: function get() {\n return 'sources';\n }\n }]);\n return SourcesPlugin;\n}(_core_plugin2.default);\n\nexports.default = SourcesPlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/index.js\":\n/*!***************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/index.js ***!\n \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _spinner_three_bounce = __webpack_require__(/*! ./spinner_three_bounce */ \"./src/plugins/spinner_three_bounce/spinner_three_bounce.js\");\n\nvar _spinner_three_bounce2 = _interopRequireDefault(_spinner_three_bounce);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _spinner_three_bounce2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/public/spinner.html\":\n/*!**************************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/public/spinner.html ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div data-bounce1></div><div data-bounce2></div><div data-bounce3></div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/public/spinner.scss\":\n/*!**************************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/public/spinner.scss ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./spinner.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/spinner_three_bounce/public/spinner.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/spinner_three_bounce.js\":\n/*!******************************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/spinner_three_bounce.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_container_plugin = __webpack_require__(/*! ../../base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _spinner = __webpack_require__(/*! ./public/spinner.html */ \"./src/plugins/spinner_three_bounce/public/spinner.html\");\n\nvar _spinner2 = _interopRequireDefault(_spinner);\n\n__webpack_require__(/*! ./public/spinner.scss */ \"./src/plugins/spinner_three_bounce/public/spinner.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SpinnerThreeBouncePlugin = function (_UIContainerPlugin) {\n (0, _inherits3.default)(SpinnerThreeBouncePlugin, _UIContainerPlugin);\n (0, _createClass3.default)(SpinnerThreeBouncePlugin, [{\n key: 'name',\n get: function get() {\n return 'spinner';\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-spinner': '',\n 'class': 'spinner-three-bounce'\n };\n }\n }]);\n\n function SpinnerThreeBouncePlugin(container) {\n (0, _classCallCheck3.default)(this, SpinnerThreeBouncePlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIContainerPlugin.call(this, container));\n\n _this.template = (0, _template2.default)(_spinner2.default);\n _this.showTimeout = null;\n _this.listenTo(_this.container, _events2.default.CONTAINER_STATE_BUFFERING, _this.onBuffering);\n _this.listenTo(_this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, _this.onBufferFull);\n _this.listenTo(_this.container, _events2.default.CONTAINER_STOP, _this.onStop);\n _this.listenTo(_this.container, _events2.default.CONTAINER_ENDED, _this.onStop);\n _this.listenTo(_this.container, _events2.default.CONTAINER_ERROR, _this.onStop);\n _this.render();\n return _this;\n }\n\n SpinnerThreeBouncePlugin.prototype.onBuffering = function onBuffering() {\n this.show();\n };\n\n SpinnerThreeBouncePlugin.prototype.onBufferFull = function onBufferFull() {\n this.hide();\n };\n\n SpinnerThreeBouncePlugin.prototype.onStop = function onStop() {\n this.hide();\n };\n\n SpinnerThreeBouncePlugin.prototype.show = function show() {\n var _this2 = this;\n\n if (this.showTimeout === null) this.showTimeout = setTimeout(function () {\n return _this2.$el.show();\n }, 300);\n };\n\n SpinnerThreeBouncePlugin.prototype.hide = function hide() {\n if (this.showTimeout !== null) {\n clearTimeout(this.showTimeout);\n this.showTimeout = null;\n }\n this.$el.hide();\n };\n\n SpinnerThreeBouncePlugin.prototype.render = function render() {\n this.$el.html(this.template());\n this.container.$el.append(this.$el);\n this.$el.hide();\n if (this.container.buffering) this.onBuffering();\n\n return this;\n };\n\n return SpinnerThreeBouncePlugin;\n}(_ui_container_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = SpinnerThreeBouncePlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/stats/index.js\":\n/*!************************************!*\\\n !*** ./src/plugins/stats/index.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stats = __webpack_require__(/*! ./stats */ \"./src/plugins/stats/stats.js\");\n\nvar _stats2 = _interopRequireDefault(_stats);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _stats2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/stats/stats.js\":\n/*!************************************!*\\\n !*** ./src/plugins/stats/stats.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _container_plugin = __webpack_require__(/*! ../../base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar StatsPlugin = function (_ContainerPlugin) {\n (0, _inherits3.default)(StatsPlugin, _ContainerPlugin);\n (0, _createClass3.default)(StatsPlugin, [{\n key: 'name',\n get: function get() {\n return 'stats';\n }\n }]);\n\n function StatsPlugin(container) {\n (0, _classCallCheck3.default)(this, StatsPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _ContainerPlugin.call(this, container));\n\n _this.setInitialAttrs();\n _this.reportInterval = _this.options.reportInterval || 5000;\n _this.state = 'IDLE';\n return _this;\n }\n\n StatsPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container.playback, _events2.default.PLAYBACK_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_DESTROYED, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERING, this.onBuffering);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, this.onBufferFull);\n this.listenTo(this.container, _events2.default.CONTAINER_STATS_ADD, this.onStatsAdd);\n this.listenTo(this.container, _events2.default.CONTAINER_BITRATE, this.onStatsAdd);\n this.listenTo(this.container.playback, _events2.default.PLAYBACK_STATS_ADD, this.onStatsAdd);\n };\n\n StatsPlugin.prototype.setInitialAttrs = function setInitialAttrs() {\n this.firstPlay = true;\n this.startupTime = 0;\n this.rebufferingTime = 0;\n this.watchingTime = 0;\n this.rebuffers = 0;\n this.externalMetrics = {};\n };\n\n StatsPlugin.prototype.onPlay = function onPlay() {\n this.state = 'PLAYING';\n this.watchingTimeInit = Date.now();\n if (!this.intervalId) this.intervalId = setInterval(this.report.bind(this), this.reportInterval);\n };\n\n StatsPlugin.prototype.onStop = function onStop() {\n clearInterval(this.intervalId);\n this.report();\n this.intervalId = undefined;\n this.state = 'STOPPED';\n };\n\n StatsPlugin.prototype.onBuffering = function onBuffering() {\n if (this.firstPlay) this.startupTimeInit = Date.now();else this.rebufferingTimeInit = Date.now();\n\n this.state = 'BUFFERING';\n this.rebuffers++;\n };\n\n StatsPlugin.prototype.onBufferFull = function onBufferFull() {\n if (this.firstPlay && this.startupTimeInit) {\n this.firstPlay = false;\n this.startupTime = Date.now() - this.startupTimeInit;\n this.watchingTimeInit = Date.now();\n } else if (this.rebufferingTimeInit) {\n this.rebufferingTime += this.getRebufferingTime();\n }\n\n this.rebufferingTimeInit = undefined;\n this.state = 'PLAYING';\n };\n\n StatsPlugin.prototype.getRebufferingTime = function getRebufferingTime() {\n return Date.now() - this.rebufferingTimeInit;\n };\n\n StatsPlugin.prototype.getWatchingTime = function getWatchingTime() {\n var totalTime = Date.now() - this.watchingTimeInit;\n return totalTime - this.rebufferingTime;\n };\n\n StatsPlugin.prototype.isRebuffering = function isRebuffering() {\n return !!this.rebufferingTimeInit;\n };\n\n StatsPlugin.prototype.onStatsAdd = function onStatsAdd(metric) {\n _clapprZepto2.default.extend(this.externalMetrics, metric);\n };\n\n StatsPlugin.prototype.getStats = function getStats() {\n var metrics = {\n startupTime: this.startupTime,\n rebuffers: this.rebuffers,\n rebufferingTime: this.isRebuffering() ? this.rebufferingTime + this.getRebufferingTime() : this.rebufferingTime,\n watchingTime: this.isRebuffering() ? this.getWatchingTime() - this.getRebufferingTime() : this.getWatchingTime()\n };\n _clapprZepto2.default.extend(metrics, this.externalMetrics);\n return metrics;\n };\n\n StatsPlugin.prototype.report = function report() {\n this.container.statsReport(this.getStats());\n };\n\n return StatsPlugin;\n}(_container_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = StatsPlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/strings.js\":\n/*!********************************!*\\\n !*** ./src/plugins/strings.js ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../base/utils */ \"./src/base/utils.js\");\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _core_plugin = __webpack_require__(/*! ../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The internationalization (i18n) plugin\n * @class Strings\n * @constructor\n * @extends CorePlugin\n * @module plugins\n */\nvar Strings = function (_CorePlugin) {\n (0, _inherits3.default)(Strings, _CorePlugin);\n (0, _createClass3.default)(Strings, [{\n key: 'name',\n get: function get() {\n return 'strings';\n }\n }]);\n\n function Strings(core) {\n (0, _classCallCheck3.default)(this, Strings);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _CorePlugin.call(this, core));\n\n _this._initializeMessages();\n return _this;\n }\n /**\n * Gets a translated string for the given key.\n * @method t\n * @param {String} key the key to all messages\n * @return {String} translated label\n */\n\n\n Strings.prototype.t = function t(key) {\n var lang = this._language();\n var fallbackLang = this._messages['en'];\n var i18n = lang && this._messages[lang] || fallbackLang;\n return i18n[key] || fallbackLang[key] || key;\n };\n\n Strings.prototype._language = function _language() {\n return this.core.options.language || (0, _utils.getBrowserLanguage)();\n };\n\n Strings.prototype._initializeMessages = function _initializeMessages() {\n var defaultMessages = {\n 'en': {\n 'live': 'live',\n 'back_to_live': 'back to live',\n 'disabled': 'Disabled',\n 'playback_not_supported': 'Your browser does not support the playback of this video. Please try using a different browser.',\n 'default_error_title': 'Could not play video.',\n 'default_error_message': 'There was a problem trying to load the video.'\n },\n 'pt': {\n 'live': 'ao vivo',\n 'back_to_live': 'voltar para o ao vivo',\n 'disabled': 'Desativado',\n 'playback_not_supported': 'Seu navegador não supporta a reprodução deste video. Por favor, tente usar um navegador diferente.',\n 'default_error_title': 'Não foi possível reproduzir o vídeo.',\n 'default_error_message': 'Ocorreu um problema ao tentar carregar o vídeo.'\n },\n 'es': {\n 'live': 'vivo',\n 'back_to_live': 'volver en vivo',\n 'disabled': 'Discapacitado',\n 'playback_not_supported': 'Su navegador no soporta la reproducción de un video. Por favor, trate de usar un navegador diferente.'\n },\n 'ru': {\n 'live': 'прямой эфир',\n 'back_to_live': 'к прямому эфиру',\n 'disabled': 'Отключено',\n 'playback_not_supported': 'Ваш браузер не поддерживает воспроизведение этого видео. Пожалуйста, попробуйте другой браузер.'\n },\n 'fr': {\n 'live': 'en direct',\n 'back_to_live': 'retour au direct',\n 'disabled': 'Désactivé',\n 'playback_not_supported': 'Votre navigateur ne supporte pas la lecture de cette vidéo. Merci de tenter sur un autre navigateur.',\n 'default_error_title': 'Impossible de lire la vidéo.',\n 'default_error_message': 'Un problème est survenu lors du chargement de la vidéo.'\n },\n 'tr': {\n 'live': 'canlı',\n 'back_to_live': 'canlı yayına dön',\n 'disabled': 'Engelli',\n 'playback_not_supported': 'Tarayıcınız bu videoyu oynatma desteğine sahip değil. Lütfen farklı bir tarayıcı ile deneyin.'\n },\n 'et': {\n 'live': 'Otseülekanne',\n 'back_to_live': 'Tagasi otseülekande juurde',\n 'disabled': 'Keelatud',\n 'playback_not_supported': 'Teie brauser ei toeta selle video taasesitust. Proovige kasutada muud brauserit.'\n },\n 'ar': {\n 'live': 'مباشر',\n 'back_to_live': 'الرجوع إلى المباشر',\n 'disabled': 'معطّل',\n 'playback_not_supported': 'المتصفح الذي تستخدمه لا يدعم تشغيل هذا الفيديو. الرجاء إستخدام متصفح آخر.',\n 'default_error_title': 'غير قادر الى التشغيل.',\n 'default_error_message': 'حدثت مشكلة أثناء تحميل الفيديو.'\n }\n };\n\n this._messages = _clapprZepto2.default.extend(true, defaultMessages, this.core.options.strings || {});\n this._messages['pt-BR'] = this._messages['pt'];\n this._messages['en-US'] = this._messages['en'];\n this._messages['es-419'] = this._messages['es'];\n this._messages['fr-FR'] = this._messages['fr'];\n this._messages['tr-TR'] = this._messages['tr'];\n this._messages['et-EE'] = this._messages['et'];\n this._messages['ar-IQ'] = this._messages['ar'];\n };\n\n return Strings;\n}(_core_plugin2.default);\n\nexports.default = Strings;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/index.js\":\n/*!****************************************!*\\\n !*** ./src/plugins/watermark/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _watermark = __webpack_require__(/*! ./watermark */ \"./src/plugins/watermark/watermark.js\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _watermark2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/public/watermark.html\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/watermark/public/watermark.html ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"clappr-watermark\\\" data-watermark data-watermark-<%=position %>>\\n<% if(typeof imageLink !== 'undefined') { %>\\n<a target=_blank href=\\\"<%= imageLink %>\\\">\\n<% } %>\\n<img src=\\\"<%= imageUrl %>\\\">\\n<% if(typeof imageLink !== 'undefined') { %>\\n</a>\\n<% } %>\\n</div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/public/watermark.scss\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/watermark/public/watermark.scss ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./watermark.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/watermark/public/watermark.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/watermark.js\":\n/*!********************************************!*\\\n !*** ./src/plugins/watermark/watermark.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_container_plugin = __webpack_require__(/*! ../../base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _watermark = __webpack_require__(/*! ./public/watermark.html */ \"./src/plugins/watermark/public/watermark.html\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\n__webpack_require__(/*! ./public/watermark.scss */ \"./src/plugins/watermark/public/watermark.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar WaterMarkPlugin = function (_UIContainerPlugin) {\n (0, _inherits3.default)(WaterMarkPlugin, _UIContainerPlugin);\n (0, _createClass3.default)(WaterMarkPlugin, [{\n key: 'name',\n get: function get() {\n return 'watermark';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_watermark2.default);\n }\n }]);\n\n function WaterMarkPlugin(container) {\n (0, _classCallCheck3.default)(this, WaterMarkPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIContainerPlugin.call(this, container));\n\n _this.configure();\n return _this;\n }\n\n WaterMarkPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_OPTIONS_CHANGE, this.configure);\n };\n\n WaterMarkPlugin.prototype.configure = function configure() {\n this.position = this.options.position || 'bottom-right';\n if (this.options.watermark) {\n this.imageUrl = this.options.watermark;\n this.imageLink = this.options.watermarkLink;\n this.render();\n } else {\n this.$el.remove();\n }\n };\n\n WaterMarkPlugin.prototype.onPlay = function onPlay() {\n if (!this.hidden) this.$el.show();\n };\n\n WaterMarkPlugin.prototype.onStop = function onStop() {\n this.$el.hide();\n };\n\n WaterMarkPlugin.prototype.render = function render() {\n this.$el.hide();\n var templateOptions = { position: this.position, imageUrl: this.imageUrl, imageLink: this.imageLink };\n this.$el.html(this.template(templateOptions));\n this.container.$el.append(this.$el);\n return this;\n };\n\n return WaterMarkPlugin;\n}(_ui_container_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = WaterMarkPlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/vendor/index.js\":\n/*!*****************************!*\\\n !*** ./src/vendor/index.js ***!\n \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _kibo = __webpack_require__(/*! ./kibo */ \"./src/vendor/kibo.js\");\n\nvar _kibo2 = _interopRequireDefault(_kibo);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = { Kibo: _kibo2.default };\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/vendor/kibo.js\":\n/*!****************************!*\\\n !*** ./src/vendor/kibo.js ***!\n \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable */\n// Kibo is released under the MIT License. Copyright (c) 2013 marquete.\n// see https://github.com/marquete/kibo\n\nvar Kibo = function Kibo(element) {\n this.element = element || window.document;\n this.initialize();\n};\n\nKibo.KEY_NAMES_BY_CODE = {\n 8: 'backspace', 9: 'tab', 13: 'enter',\n 16: 'shift', 17: 'ctrl', 18: 'alt',\n 20: 'caps_lock',\n 27: 'esc',\n 32: 'space',\n 37: 'left', 38: 'up', 39: 'right', 40: 'down',\n 48: '0', 49: '1', 50: '2', 51: '3', 52: '4', 53: '5', 54: '6', 55: '7', 56: '8', 57: '9',\n 65: 'a', 66: 'b', 67: 'c', 68: 'd', 69: 'e', 70: 'f', 71: 'g', 72: 'h', 73: 'i', 74: 'j',\n 75: 'k', 76: 'l', 77: 'm', 78: 'n', 79: 'o', 80: 'p', 81: 'q', 82: 'r', 83: 's', 84: 't',\n 85: 'u', 86: 'v', 87: 'w', 88: 'x', 89: 'y', 90: 'z', 112: 'f1', 113: 'f2', 114: 'f3',\n 115: 'f4', 116: 'f5', 117: 'f6', 118: 'f7', 119: 'f8', 120: 'f9', 121: 'f10', 122: 'f11', 123: 'f12'\n};\n\nKibo.KEY_CODES_BY_NAME = {};\n(function () {\n for (var key in Kibo.KEY_NAMES_BY_CODE) {\n if (Object.prototype.hasOwnProperty.call(Kibo.KEY_NAMES_BY_CODE, key)) {\n Kibo.KEY_CODES_BY_NAME[Kibo.KEY_NAMES_BY_CODE[key]] = +key;\n }\n }\n})();\n\nKibo.MODIFIERS = ['shift', 'ctrl', 'alt'];\n\nKibo.registerEvent = function () {\n if (document.addEventListener) {\n return function (element, eventName, func) {\n element.addEventListener(eventName, func, false);\n };\n } else if (document.attachEvent) {\n return function (element, eventName, func) {\n element.attachEvent('on' + eventName, func);\n };\n }\n}();\n\nKibo.unregisterEvent = function () {\n if (document.removeEventListener) {\n return function (element, eventName, func) {\n element.removeEventListener(eventName, func, false);\n };\n } else if (document.detachEvent) {\n return function (element, eventName, func) {\n element.detachEvent('on' + eventName, func);\n };\n }\n}();\n\nKibo.stringContains = function (string, substring) {\n return string.indexOf(substring) !== -1;\n};\n\nKibo.neatString = function (string) {\n return string.replace(/^\\s+|\\s+$/g, '').replace(/\\s+/g, ' ');\n};\n\nKibo.capitalize = function (string) {\n return string.toLowerCase().replace(/^./, function (match) {\n return match.toUpperCase();\n });\n};\n\nKibo.isString = function (what) {\n return Kibo.stringContains(Object.prototype.toString.call(what), 'String');\n};\n\nKibo.arrayIncludes = function () {\n if (Array.prototype.indexOf) {\n return function (haystack, needle) {\n return haystack.indexOf(needle) !== -1;\n };\n } else {\n return function (haystack, needle) {\n for (var i = 0; i < haystack.length; i++) {\n if (haystack[i] === needle) {\n return true;\n }\n }\n return false;\n };\n }\n}();\n\nKibo.extractModifiers = function (keyCombination) {\n var modifiers, i;\n modifiers = [];\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n if (Kibo.stringContains(keyCombination, Kibo.MODIFIERS[i])) {\n modifiers.push(Kibo.MODIFIERS[i]);\n }\n }\n return modifiers;\n};\n\nKibo.extractKey = function (keyCombination) {\n var keys, i;\n keys = Kibo.neatString(keyCombination).split(' ');\n for (i = 0; i < keys.length; i++) {\n if (!Kibo.arrayIncludes(Kibo.MODIFIERS, keys[i])) {\n return keys[i];\n }\n }\n};\n\nKibo.modifiersAndKey = function (keyCombination) {\n var result, key;\n\n if (Kibo.stringContains(keyCombination, 'any')) {\n return Kibo.neatString(keyCombination).split(' ').slice(0, 2).join(' ');\n }\n\n result = Kibo.extractModifiers(keyCombination);\n\n key = Kibo.extractKey(keyCombination);\n if (key && !Kibo.arrayIncludes(Kibo.MODIFIERS, key)) {\n result.push(key);\n }\n\n return result.join(' ');\n};\n\nKibo.keyName = function (keyCode) {\n return Kibo.KEY_NAMES_BY_CODE[keyCode + ''];\n};\n\nKibo.keyCode = function (keyName) {\n return +Kibo.KEY_CODES_BY_NAME[keyName];\n};\n\nKibo.prototype.initialize = function () {\n var i,\n that = this;\n\n this.lastKeyCode = -1;\n this.lastModifiers = {};\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n this.lastModifiers[Kibo.MODIFIERS[i]] = false;\n }\n\n this.keysDown = { any: [] };\n this.keysUp = { any: [] };\n this.downHandler = this.handler('down');\n this.upHandler = this.handler('up');\n\n Kibo.registerEvent(this.element, 'keydown', this.downHandler);\n Kibo.registerEvent(this.element, 'keyup', this.upHandler);\n Kibo.registerEvent(window, 'unload', function unloader() {\n Kibo.unregisterEvent(that.element, 'keydown', that.downHandler);\n Kibo.unregisterEvent(that.element, 'keyup', that.upHandler);\n Kibo.unregisterEvent(window, 'unload', unloader);\n });\n};\n\nKibo.prototype.handler = function (upOrDown) {\n var that = this;\n return function (e) {\n var i, registeredKeys, lastModifiersAndKey;\n\n e = e || window.event;\n\n that.lastKeyCode = e.keyCode;\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n that.lastModifiers[Kibo.MODIFIERS[i]] = e[Kibo.MODIFIERS[i] + 'Key'];\n }\n if (Kibo.arrayIncludes(Kibo.MODIFIERS, Kibo.keyName(that.lastKeyCode))) {\n that.lastModifiers[Kibo.keyName(that.lastKeyCode)] = true;\n }\n\n registeredKeys = that['keys' + Kibo.capitalize(upOrDown)];\n\n for (i = 0; i < registeredKeys.any.length; i++) {\n if (registeredKeys.any[i](e) === false && e.preventDefault) {\n e.preventDefault();\n }\n }\n\n lastModifiersAndKey = that.lastModifiersAndKey();\n if (registeredKeys[lastModifiersAndKey]) {\n for (i = 0; i < registeredKeys[lastModifiersAndKey].length; i++) {\n if (registeredKeys[lastModifiersAndKey][i](e) === false && e.preventDefault) {\n e.preventDefault();\n }\n }\n }\n };\n};\n\nKibo.prototype.registerKeys = function (upOrDown, newKeys, func) {\n var i,\n keys,\n registeredKeys = this['keys' + Kibo.capitalize(upOrDown)];\n\n if (Kibo.isString(newKeys)) {\n newKeys = [newKeys];\n }\n\n for (i = 0; i < newKeys.length; i++) {\n keys = newKeys[i];\n keys = Kibo.modifiersAndKey(keys + '');\n\n if (registeredKeys[keys]) {\n registeredKeys[keys].push(func);\n } else {\n registeredKeys[keys] = [func];\n }\n }\n\n return this;\n};\n\n// jshint maxdepth:5\nKibo.prototype.unregisterKeys = function (upOrDown, newKeys, func) {\n var i,\n j,\n keys,\n registeredKeys = this['keys' + Kibo.capitalize(upOrDown)];\n\n if (Kibo.isString(newKeys)) {\n newKeys = [newKeys];\n }\n\n for (i = 0; i < newKeys.length; i++) {\n keys = newKeys[i];\n keys = Kibo.modifiersAndKey(keys + '');\n\n if (func === null) {\n delete registeredKeys[keys];\n } else {\n if (registeredKeys[keys]) {\n for (j = 0; j < registeredKeys[keys].length; j++) {\n if (String(registeredKeys[keys][j]) === String(func)) {\n registeredKeys[keys].splice(j, 1);\n break;\n }\n }\n }\n }\n }\n\n return this;\n};\n\nKibo.prototype.off = function (keys) {\n return this.unregisterKeys('down', keys, null);\n};\n\nKibo.prototype.delegate = function (upOrDown, keys, func) {\n return func !== null || func !== undefined ? this.registerKeys(upOrDown, keys, func) : this.unregisterKeys(upOrDown, keys, func);\n};\n\nKibo.prototype.down = function (keys, func) {\n return this.delegate('down', keys, func);\n};\n\nKibo.prototype.up = function (keys, func) {\n return this.delegate('up', keys, func);\n};\n\nKibo.prototype.lastKey = function (modifier) {\n if (!modifier) {\n return Kibo.keyName(this.lastKeyCode);\n }\n\n return this.lastModifiers[modifier];\n};\n\nKibo.prototype.lastModifiersAndKey = function () {\n var result, i;\n\n result = [];\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n if (this.lastKey(Kibo.MODIFIERS[i])) {\n result.push(Kibo.MODIFIERS[i]);\n }\n }\n\n if (!Kibo.arrayIncludes(result, this.lastKey())) {\n result.push(this.lastKey());\n }\n\n return result.join(' ');\n};\n\nexports.default = Kibo;\nmodule.exports = exports['default'];\n\n/***/ })\n\n/******/ });\n});\n//# sourceMappingURL=clappr.js.map","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"clappr\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"clappr\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"DashShakaPlayback\"] = factory(require(\"clappr\"));\n\telse\n\t\troot[\"DashShakaPlayback\"] = factory(root[\"Clappr\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE_clappr__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/clappr-dash-shaka-playback.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/shaka-player/dist/shaka-player.compiled.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/shaka-player/dist/shaka-player.compiled.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global, module) {(function(){var innerGlobal=typeof window!=\"undefined\"?window:global;var exportTo={};(function(window,global){var q,ca=\"function\"==typeof Object.defineProperties?Object.defineProperty:function(b,c,d){b!=Array.prototype&&b!=Object.prototype&&(b[c]=d.value)},da=\"undefined\"!=typeof window&&window===this?this:\"undefined\"!=typeof global&&null!=global?global:this;function ea(){ea=function(){};da.Symbol||(da.Symbol=fa)}var fa=function(){var b=0;return function(c){return\"jscomp_symbol_\"+(c||\"\")+b++}}();\nfunction ia(){ea();var b=da.Symbol.iterator;b||(b=da.Symbol.iterator=da.Symbol(\"iterator\"));\"function\"!=typeof Array.prototype[b]&&ca(Array.prototype,b,{configurable:!0,writable:!0,value:function(){return ja(this)}});ia=function(){}}function ja(b){var c=0;return ka(function(){return c<b.length?{done:!1,value:b[c++]}:{done:!0}})}function ka(b){ia();b={next:b};b[da.Symbol.iterator]=function(){return this};return b}function r(b){ia();var c=b[Symbol.iterator];return c?c.call(b):ja(b)}\nfunction la(b,c){if(c){for(var d=da,e=b.split(\".\"),f=0;f<e.length-1;f++){var g=e[f];g in d||(d[g]={});d=d[g]}e=e[e.length-1];f=d[e];g=c(f);g!=f&&null!=g&&ca(d,e,{configurable:!0,writable:!0,value:g})}}\nla(\"Promise\",function(b){function c(b){this.b=0;this.g=void 0;this.a=[];var c=this.c();try{b(c.resolve,c.reject)}catch(l){c.reject(l)}}function d(){this.a=null}function e(b){return b instanceof c?b:new c(function(c){c(b)})}if(b)return b;d.prototype.b=function(b){null==this.a&&(this.a=[],this.f());this.a.push(b)};d.prototype.f=function(){var b=this;this.c(function(){b.h()})};var f=da.setTimeout;d.prototype.c=function(b){f(b,0)};d.prototype.h=function(){for(;this.a&&this.a.length;){var b=this.a;this.a=\n[];for(var c=0;c<b.length;++c){var d=b[c];b[c]=null;try{d()}catch(m){this.g(m)}}}this.a=null};d.prototype.g=function(b){this.c(function(){throw b;})};c.prototype.c=function(){function b(b){return function(e){d||(d=!0,b.call(c,e))}}var c=this,d=!1;return{resolve:b(this.s),reject:b(this.f)}};c.prototype.s=function(b){if(b===this)this.f(new TypeError(\"A Promise cannot resolve to itself\"));else if(b instanceof c)this.u(b);else{a:switch(typeof b){case \"object\":var d=null!=b;break a;case \"function\":d=!0;\nbreak a;default:d=!1}d?this.m(b):this.h(b)}};c.prototype.m=function(b){var c=void 0;try{c=b.then}catch(l){this.f(l);return}\"function\"==typeof c?this.B(c,b):this.h(b)};c.prototype.f=function(b){this.i(2,b)};c.prototype.h=function(b){this.i(1,b)};c.prototype.i=function(b,c){if(0!=this.b)throw Error(\"Cannot settle(\"+b+\", \"+c+\"): Promise already settled in state\"+this.b);this.b=b;this.g=c;this.l()};c.prototype.l=function(){if(null!=this.a){for(var b=0;b<this.a.length;++b)g.b(this.a[b]);this.a=null}};\nvar g=new d;c.prototype.u=function(b){var c=this.c();b.cc(c.resolve,c.reject)};c.prototype.B=function(b,c){var d=this.c();try{b.call(c,d.resolve,d.reject)}catch(m){d.reject(m)}};c.prototype.then=function(b,d){function e(b,c){return\"function\"==typeof b?function(c){try{f(b(c))}catch(y){g(y)}}:c}var f,g,h=new c(function(b,c){f=b;g=c});this.cc(e(b,f),e(d,g));return h};c.prototype[\"catch\"]=function(b){return this.then(void 0,b)};c.prototype.cc=function(b,c){function d(){switch(e.b){case 1:b(e.g);break;\ncase 2:c(e.g);break;default:throw Error(\"Unexpected state: \"+e.b);}}var e=this;null==this.a?g.b(d):this.a.push(d)};c.resolve=e;c.reject=function(b){return new c(function(c,d){d(b)})};c.race=function(b){return new c(function(c,d){for(var f=r(b),g=f.next();!g.done;g=f.next())e(g.value).cc(c,d)})};c.all=function(b){var d=r(b),f=d.next();return f.done?e([]):new c(function(b,c){function g(c){return function(d){h[c]=d;k--;0==k&&b(h)}}var h=[],k=0;do h.push(void 0),k++,e(f.value).cc(g(h.length-1),c),f=d.next();\nwhile(!f.done)})};return c});la(\"Promise.prototype.finally\",function(b){return b?b:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});function ma(b){function c(c){return b.next(c)}function d(c){return b[\"throw\"](c)}return new Promise(function(e,f){function g(b){b.done?e(b.value):Promise.resolve(b.value).then(c,d).then(g,f)}g(b.next())})}function t(b){return ma(b())}\nvar na=\"function\"==typeof Object.create?Object.create:function(b){function c(){}c.prototype=b;return new c},pa;if(\"function\"==typeof Object.setPrototypeOf)pa=Object.setPrototypeOf;else{var qa;a:{var ra={Ae:!0},ta={};try{ta.__proto__=ra;qa=ta.Ae;break a}catch(b){}qa=!1}pa=qa?function(b,c){b.__proto__=c;if(b.__proto__!==c)throw new TypeError(b+\" is not extensible\");return b}:null}var ua=pa;\nfunction va(b,c){b.prototype=na(c.prototype);b.prototype.constructor=b;if(ua)ua(b,c);else for(var d in c)if(\"prototype\"!=d)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(c,d);e&&Object.defineProperty(b,d,e)}else b[d]=c[d];b.tg=c.prototype}function wa(){this.g=!1;this.c=null;this.o=void 0;this.j=1;this.b=this.f=0;this.i=this.a=null}function xa(b){if(b.g)throw new TypeError(\"Generator is already running\");b.g=!0}wa.prototype.h=function(b){this.o=b};\nfunction ya(b,c){b.a={Ld:c,Wd:!0};b.j=b.f||b.b}wa.prototype[\"return\"]=function(b){this.a={\"return\":b};this.j=this.b};function u(b,c,d){b.j=d;return{value:c}}wa.prototype.A=function(b){this.j=b};function w(b){b.j=0}function za(b,c,d){b.f=c;void 0!=d&&(b.b=d)}function Aa(b,c){b.f=0;b.b=c||0}function Ba(b,c){b.j=c;b.f=0}function Ca(b){b.f=0;var c=b.a.Ld;b.a=null;return c}function Fa(b){b.i=[b.a];b.f=0;b.b=0}\nfunction Ga(b,c){var d=b.i.splice(0)[0];(d=b.a=b.a||d)?d.Wd?b.j=b.f||b.b:void 0!=d.A&&b.b<d.A?(b.j=d.A,b.a=null):b.j=b.b:b.j=c}function Ha(b){this.a=new wa;this.b=b}function Ia(b,c){xa(b.a);var d=b.a.c;if(d)return Ja(b,\"return\"in d?d[\"return\"]:function(b){return{value:b,done:!0}},c,b.a[\"return\"]);b.a[\"return\"](c);return Ma(b)}\nfunction Ja(b,c,d,e){try{var f=c.call(b.a.c,d);if(!(f instanceof Object))throw new TypeError(\"Iterator result \"+f+\" is not an object\");if(!f.done)return b.a.g=!1,f;var g=f.value}catch(h){return b.a.c=null,ya(b.a,h),Ma(b)}b.a.c=null;e.call(b.a,g);return Ma(b)}\nfunction Ma(b){for(;b.a.j;)try{var c=b.b(b.a);if(c)return b.a.g=!1,{value:c.value,done:!1}}catch(d){b.a.o=void 0,ya(b.a,d)}b.a.g=!1;if(b.a.a){c=b.a.a;b.a.a=null;if(c.Wd)throw c.Ld;return{value:c[\"return\"],done:!0}}return{value:void 0,done:!0}}\nfunction Na(b){this.next=function(c){xa(b.a);b.a.c?c=Ja(b,b.a.c.next,c,b.a.h):(b.a.h(c),c=Ma(b));return c};this[\"throw\"]=function(c){xa(b.a);b.a.c?c=Ja(b,b.a.c[\"throw\"],c,b.a.h):(ya(b.a,c),c=Ma(b));return c};this[\"return\"]=function(c){return Ia(b,c)};ia();this[Symbol.iterator]=function(){return this}}function z(b,c){Na.prototype=b.prototype;return new Na(new Ha(c))}function Oa(b){for(var c,d=[];!(c=b.next()).done;)d.push(c.value);return d}\nfunction Pa(b,c){return Object.prototype.hasOwnProperty.call(b,c)}\nla(\"WeakMap\",function(b){function c(b){this.a=(g+=Math.random()+1).toString();if(b){ea();ia();b=r(b);for(var c;!(c=b.next()).done;)c=c.value,this.set(c[0],c[1])}}function d(b){Pa(b,f)||ca(b,f,{value:{}})}function e(b){var c=Object[b];c&&(Object[b]=function(b){d(b);return c(b)})}if(function(){if(!b||!Object.seal)return!1;try{var c=Object.seal({}),d=Object.seal({}),e=new b([[c,2],[d,3]]);if(2!=e.get(c)||3!=e.get(d))return!1;e[\"delete\"](c);e.set(d,4);return!e.has(c)&&4==e.get(d)}catch(m){return!1}}())return b;\nvar f=\"$jscomp_hidden_\"+Math.random();e(\"freeze\");e(\"preventExtensions\");e(\"seal\");var g=0;c.prototype.set=function(b,c){d(b);if(!Pa(b,f))throw Error(\"WeakMap key fail: \"+b);b[f][this.a]=c;return this};c.prototype.get=function(b){return Pa(b,f)?b[f][this.a]:void 0};c.prototype.has=function(b){return Pa(b,f)&&Pa(b[f],this.a)};c.prototype[\"delete\"]=function(b){return Pa(b,f)&&Pa(b[f],this.a)?delete b[f][this.a]:!1};return c});\nla(\"Map\",function(b){function c(){var b={};return b.Fa=b.next=b.head=b}function d(b,c){var d=b.a;return ka(function(){if(d){for(;d.head!=b.a;)d=d.Fa;for(;d.next!=d.head;)return d=d.next,{done:!1,value:c(d)};d=null}return{done:!0,value:void 0}})}function e(b,c){var d=c&&typeof c;\"object\"==d||\"function\"==d?g.has(c)?d=g.get(c):(d=\"\"+ ++h,g.set(c,d)):d=\"p_\"+c;var e=b.b[d];if(e&&Pa(b.b,d))for(var f=0;f<e.length;f++){var k=e[f];if(c!==c&&k.key!==k.key||c===k.key)return{id:d,list:e,index:f,X:k}}return{id:d,\nlist:e,index:-1,X:void 0}}function f(b){this.b={};this.a=c();this.size=0;if(b){b=r(b);for(var d;!(d=b.next()).done;)d=d.value,this.set(d[0],d[1])}}if(function(){if(!b||\"function\"!=typeof b||!b.prototype.entries||\"function\"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new b(r([[c,\"s\"]]));if(\"s\"!=d.get(c)||1!=d.size||d.get({x:4})||d.set({x:4},\"t\")!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||\"s\"!=f.value[1])return!1;f=e.next();return f.done||4!=f.value[0].x||\n\"t\"!=f.value[1]||!e.next().done?!1:!0}catch(p){return!1}}())return b;ea();ia();var g=new WeakMap;f.prototype.set=function(b,c){var d=e(this,b);d.list||(d.list=this.b[d.id]=[]);d.X?d.X.value=c:(d.X={next:this.a,Fa:this.a.Fa,head:this.a,key:b,value:c},d.list.push(d.X),this.a.Fa.next=d.X,this.a.Fa=d.X,this.size++);return this};f.prototype[\"delete\"]=function(b){b=e(this,b);return b.X&&b.list?(b.list.splice(b.index,1),b.list.length||delete this.b[b.id],b.X.Fa.next=b.X.next,b.X.next.Fa=b.X.Fa,b.X.head=\nnull,this.size--,!0):!1};f.prototype.clear=function(){this.b={};this.a=this.a.Fa=c();this.size=0};f.prototype.has=function(b){return!!e(this,b).X};f.prototype.get=function(b){return(b=e(this,b).X)&&b.value};f.prototype.entries=function(){return d(this,function(b){return[b.key,b.value]})};f.prototype.keys=function(){return d(this,function(b){return b.key})};f.prototype.values=function(){return d(this,function(b){return b.value})};f.prototype.forEach=function(b,c){for(var d=this.entries(),e;!(e=d.next()).done;)e=\ne.value,b.call(c,e[1],e[0],this)};f.prototype[Symbol.iterator]=f.prototype.entries;var h=0;return f});\nla(\"Set\",function(b){function c(b){this.a=new Map;if(b){b=r(b);for(var c;!(c=b.next()).done;)this.add(c.value)}this.size=this.a.size}if(function(){if(!b||\"function\"!=typeof b||!b.prototype.entries||\"function\"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),e=new b(r([c]));if(!e.has(c)||1!=e.size||e.add(c)!=e||1!=e.size||e.add({x:4})!=e||2!=e.size)return!1;var f=e.entries(),g=f.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=f.next();return g.done||g.value[0]==c||4!=g.value[0].x||\ng.value[1]!=g.value[0]?!1:f.next().done}catch(h){return!1}}())return b;ea();ia();c.prototype.add=function(b){this.a.set(b,b);this.size=this.a.size;return this};c.prototype[\"delete\"]=function(b){b=this.a[\"delete\"](b);this.size=this.a.size;return b};c.prototype.clear=function(){this.a.clear();this.size=0};c.prototype.has=function(b){return this.a.has(b)};c.prototype.entries=function(){return this.a.entries()};c.prototype.values=function(){return this.a.values()};c.prototype.keys=c.prototype.values;\nc.prototype[Symbol.iterator]=c.prototype.values;c.prototype.forEach=function(b,c){var d=this;this.a.forEach(function(e){return b.call(c,e,e,d)})};return c});function Qa(b,c,d){b instanceof String&&(b=String(b));for(var e=b.length,f=0;f<e;f++){var g=b[f];if(c.call(d,g,f,b))return{Td:f,ve:g}}return{Td:-1,ve:void 0}}la(\"Array.prototype.findIndex\",function(b){return b?b:function(b,d){return Qa(this,b,d).Td}});\nfunction Ra(b,c){ia();b instanceof String&&(b+=\"\");var d=0,e={next:function(){if(d<b.length){var f=d++;return{value:c(f,b[f]),done:!1}}e.next=function(){return{done:!0,value:void 0}};return e.next()}};e[Symbol.iterator]=function(){return e};return e}la(\"Array.prototype.keys\",function(b){return b?b:function(){return Ra(this,function(b){return b})}});la(\"Object.is\",function(b){return b?b:function(b,d){return b===d?0!==b||1/b===1/d:b!==b&&d!==d}});\nla(\"Array.prototype.includes\",function(b){return b?b:function(b,d){var c=this;c instanceof String&&(c=String(c));var f=c.length,g=d||0;for(0>g&&(g=Math.max(g+f,0));g<f;g++){var h=c[g];if(h===b||Object.is(h,b))return!0}return!1}});function Sa(b,c,d){if(null==b)throw new TypeError(\"The 'this' value for String.prototype.\"+d+\" must not be null or undefined\");if(c instanceof RegExp)throw new TypeError(\"First argument to String.prototype.\"+d+\" must not be a regular expression\");return b+\"\"}\nla(\"String.prototype.includes\",function(b){return b?b:function(b,d){return-1!==Sa(this,b,\"includes\").indexOf(b,d||0)}});la(\"Array.from\",function(b){return b?b:function(b,d,e){ia();d=null!=d?d:function(b){return b};var c=[],g=b[Symbol.iterator];if(\"function\"==typeof g)for(b=g.call(b);!(g=b.next()).done;)c.push(d.call(e,g.value));else{g=b.length;for(var h=0;h<g;h++)c.push(d.call(e,b[h]))}return c}});\nla(\"String.prototype.startsWith\",function(b){return b?b:function(b,d){for(var c=Sa(this,b,\"startsWith\"),f=c.length,g=b.length,h=Math.max(0,Math.min(d|0,c.length)),k=0;k<g&&h<f;)if(c[h++]!=b[k++])return!1;return k>=g}});la(\"Array.prototype.find\",function(b){return b?b:function(b,d){return Qa(this,b,d).ve}});var Ta=\"function\"==typeof Object.assign?Object.assign:function(b,c){for(var d=1;d<arguments.length;d++){var e=arguments[d];if(e)for(var f in e)Pa(e,f)&&(b[f]=e[f])}return b};\nla(\"Object.assign\",function(b){return b||Ta});var Wa=this;Wa.a=!0;function A(b,c){var d=b.split(\".\"),e=Wa;d[0]in e||!e.execScript||e.execScript(\"var \"+d[0]);for(var f;d.length&&(f=d.shift());)d.length||void 0===c?e[f]?e=e[f]:e=e[f]={}:e[f]=c}function Xa(b,c){function d(){}d.prototype=c.prototype;b.tg=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.Eg=function(b,d,g){return c.prototype[d].apply(b,Array.prototype.slice.call(arguments,2))}};/*\n\n Copyright 2016 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nfunction Ya(b){this.c=Math.exp(Math.log(.5)/b);this.b=this.a=0}function Za(b,c,d){var e=Math.pow(b.c,c);d=d*(1-e)+e*b.a;isNaN(d)||(b.a=d,b.b+=c)}function $a(b){return b.a/(1-Math.pow(b.c,b.b))};function ab(){this.b=new Ya(2);this.c=new Ya(5);this.a=0}ab.prototype.getBandwidthEstimate=function(b){return 128E3>this.a?b:Math.min($a(this.b),$a(this.c))};function bb(){}function cb(){}function db(){}window.console&&window.console.log.bind&&(cb=console.warn.bind(console),bb=console.error.bind(console));var hb=/^(?:([^:/?#.]+):)?(?:\\/\\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$/;function ib(b){var c;b instanceof ib?(jb(this,b.ta),this.bb=b.bb,this.sa=b.sa,kb(this,b.Ab),this.ja=b.ja,lb(this,b.a.clone()),this.Sa=b.Sa):b&&(c=String(b).match(hb))?(jb(this,c[1]||\"\",!0),this.bb=mb(c[2]||\"\"),this.sa=mb(c[3]||\"\",!0),kb(this,c[4]),this.ja=mb(c[5]||\"\",!0),lb(this,c[6]||\"\",!0),this.Sa=mb(c[7]||\"\")):this.a=new nb(null)}q=ib.prototype;q.ta=\"\";q.bb=\"\";q.sa=\"\";q.Ab=null;q.ja=\"\";q.Sa=\"\";\nq.toString=function(){var b=[],c=this.ta;c&&b.push(ob(c,pb,!0),\":\");if(c=this.sa){b.push(\"//\");var d=this.bb;d&&b.push(ob(d,pb,!0),\"@\");b.push(encodeURIComponent(c).replace(/%25([0-9a-fA-F]{2})/g,\"%$1\"));c=this.Ab;null!=c&&b.push(\":\",String(c))}if(c=this.ja)this.sa&&\"/\"!=c.charAt(0)&&b.push(\"/\"),b.push(ob(c,\"/\"==c.charAt(0)?qb:rb,!0));(c=this.a.toString())&&b.push(\"?\",c);(c=this.Sa)&&b.push(\"#\",ob(c,sb));return b.join(\"\")};\nq.resolve=function(b){var c=this.clone();\"data\"===c.ta&&(c=new ib);var d=!!b.ta;d?jb(c,b.ta):d=!!b.bb;d?c.bb=b.bb:d=!!b.sa;d?c.sa=b.sa:d=null!=b.Ab;var e=b.ja;if(d)kb(c,b.Ab);else if(d=!!b.ja){if(\"/\"!=e.charAt(0))if(this.sa&&!this.ja)e=\"/\"+e;else{var f=c.ja.lastIndexOf(\"/\");-1!=f&&(e=c.ja.substr(0,f+1)+e)}if(\"..\"==e||\".\"==e)e=\"\";else if(-1!=e.indexOf(\"./\")||-1!=e.indexOf(\"/.\")){f=0==e.lastIndexOf(\"/\",0);e=e.split(\"/\");for(var g=[],h=0;h<e.length;){var k=e[h++];\".\"==k?f&&h==e.length&&g.push(\"\"):\"..\"==\nk?((1<g.length||1==g.length&&\"\"!=g[0])&&g.pop(),f&&h==e.length&&g.push(\"\")):(g.push(k),f=!0)}e=g.join(\"/\")}}d?c.ja=e:d=\"\"!==b.a.toString();d?lb(c,b.a.clone()):d=!!b.Sa;d&&(c.Sa=b.Sa);return c};q.clone=function(){return new ib(this)};function jb(b,c,d){b.ta=d?mb(c,!0):c;b.ta&&(b.ta=b.ta.replace(/:$/,\"\"))}function kb(b,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error(\"Bad port number \"+c);b.Ab=c}else b.Ab=null}function lb(b,c,d){c instanceof nb?b.a=c:(d||(c=ob(c,tb)),b.a=new nb(c))}\nfunction mb(b,c){return b?c?decodeURI(b):decodeURIComponent(b):\"\"}function ob(b,c,d){return\"string\"==typeof b?(b=encodeURI(b).replace(c,yb),d&&(b=b.replace(/%25([0-9a-fA-F]{2})/g,\"%$1\")),b):null}function yb(b){b=b.charCodeAt(0);return\"%\"+(b>>4&15).toString(16)+(b&15).toString(16)}var pb=/[#\\/\\?@]/g,rb=/[#\\?:]/g,qb=/[#\\?]/g,tb=/[#\\?@]/g,sb=/#/g;function nb(b){this.a=b||null}q=nb.prototype;q.ha=null;q.fc=null;\nq.add=function(b,c){if(!this.ha&&(this.ha={},this.fc=0,this.a))for(var d=this.a.split(\"&\"),e=0;e<d.length;e++){var f=d[e].indexOf(\"=\"),g=null;if(0<=f){var h=d[e].substring(0,f);g=d[e].substring(f+1)}else h=d[e];h=decodeURIComponent(h.replace(/\\+/g,\" \"));g=g||\"\";this.add(h,decodeURIComponent(g.replace(/\\+/g,\" \")))}this.a=null;(d=this.ha.hasOwnProperty(b)&&this.ha[b])||(this.ha[b]=d=[]);d.push(c);this.fc++;return this};\nq.toString=function(){if(this.a)return this.a;if(!this.ha)return\"\";var b=[],c;for(c in this.ha)for(var d=encodeURIComponent(c),e=this.ha[c],f=0;f<e.length;f++){var g=d;\"\"!==e[f]&&(g+=\"=\"+encodeURIComponent(e[f]));b.push(g)}return this.a=b.join(\"&\")};q.clone=function(){var b=new nb;b.a=this.a;if(this.ha){var c={},d;for(d in this.ha)c[d]=this.ha[d].concat();b.ha=c;b.fc=this.fc}return b};function zb(b){this.b=b;this.a=null}zb.prototype.R=function(b){var c=this;this.stop();var d=!0,e=null;this.a=function(){window.clearTimeout(e);d=!1};e=window.setTimeout(function(){d&&c.b()},1E3*b);return this};zb.prototype.stop=function(){this.a&&(this.a(),this.a=null)};function C(b){this.b=b;this.a=null}A(\"shaka.util.Timer\",C);C.prototype.yc=function(){this.stop();this.b();return this};C.prototype.tickNow=C.prototype.yc;C.prototype.R=function(b){var c=this;this.stop();this.a=(new zb(function(){c.b()})).R(b);return this};C.prototype.tickAfter=C.prototype.R;C.prototype.Na=function(b){var c=this;this.stop();this.a=(new zb(function(){c.a.R(b);c.b()})).R(b);return this};C.prototype.tickEvery=C.prototype.Na;C.prototype.stop=function(){this.a&&(this.a.stop(),this.a=null)};\nC.prototype.stop=C.prototype.stop;function Ab(b,c){var d=Bb();this.i=null==b.maxAttempts?d.maxAttempts:b.maxAttempts;this.f=null==b.baseDelay?d.baseDelay:b.baseDelay;this.h=null==b.fuzzFactor?d.fuzzFactor:b.fuzzFactor;this.g=null==b.backoffFactor?d.backoffFactor:b.backoffFactor;this.a=0;this.b=this.f;if(this.c=void 0===c?!1:c)this.a=1}\nfunction Cb(b){return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:if(b.a>=b.i)if(b.c)b.a=1,b.b=b.f;else return d[\"return\"](Promise.reject());e=b.a;b.a++;if(0==e)return d[\"return\"]();f=b.b*(1+(2*Math.random()-1)*b.h);return u(d,new Promise(function(b){(new C(b)).R(f/1E3)}),2);case 2:b.b*=b.g,w(d)}})})}function Bb(){return{maxAttempts:2,baseDelay:1E3,backoffFactor:2,fuzzFactor:.5,timeout:0}};function D(b,c,d,e){for(var f=[],g=3;g<arguments.length;++g)f[g-3]=arguments[g];this.severity=b;this.category=c;this.code=d;this.data=f;this.handled=!1}A(\"shaka.util.Error\",D);D.prototype.toString=function(){return\"shaka.util.Error \"+JSON.stringify(this,null,\" \")};D.Severity={RECOVERABLE:1,CRITICAL:2};D.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9};\nD.Code={UNSUPPORTED_SCHEME:1E3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,UNKNOWN_DATA_URI_ENCODING:1005,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,MALFORMED_TEST_URI:1008,UNEXPECTED_TEST_REQUEST:1009,INVALID_TEXT_HEADER:2E3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_EXTRACT_CUE_START_TIME:2009,BUFFER_READ_OUT_OF_BOUNDS:3E3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,\nEBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,TRANSMUXING_FAILED:3018,\nUNABLE_TO_GUESS_MANIFEST_TYPE:4E3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,UNPLAYABLE_PERIOD:4011,RESTRICTIONS_CANNOT_BE_MET:4012,NO_PERIODS:4014,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,\nHLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_COULD_NOT_GUESS_MIME_TYPE:4021,HLS_MASTER_PLAYLIST_NOT_PROVIDED:4022,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_LIMIT:4028,HLS_COULD_NOT_PARSE_SEGMENT_START_TIME:4030,CONTENT_UNSUPPORTED_BY_BROWSER:4032,CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM:4033,HLS_AES_128_ENCRYPTION_NOT_SUPPORTED:4034,HLS_INTERNAL_SKIP_STREAM:4035,\nINVALID_STREAMS_CHOSEN:5005,NO_RECOGNIZED_KEY_SYSTEMS:6E3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,SERVER_CERTIFICATE_REQUIRED:6015,INIT_DATA_TRANSFORM_ERROR:6016,LOAD_INTERRUPTED:7E3,\nOPERATION_ABORTED:7001,NO_VIDEO_ELEMENT:7002,CAST_API_UNAVAILABLE:8E3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9E3,INDEXED_DB_ERROR:9001,DEPRECATED_OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,STORE_ALREADY_IN_PROGRESS:9006,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,\nNEW_KEY_OPERATION_NOT_SUPPORTED:9011,KEY_NOT_FOUND:9012,MISSING_STORAGE_CELL:9013};function F(){var b,c,d=new Promise(function(d,f){b=d;c=f});d.resolve=b;d.reject=c;return d}F.prototype.resolve=function(){};F.prototype.reject=function(){};function H(b,c){this.promise=b;this.Zd=c;this.a=!1}A(\"shaka.util.AbortableOperation\",H);function Db(b){return new H(Promise.reject(b),function(){return Promise.resolve()})}H.failed=Db;function Eb(){var b=Promise.reject(new D(2,7,7001));b[\"catch\"](function(){});return new H(b,function(){return Promise.resolve()})}H.aborted=Eb;function Hb(b){return new H(Promise.resolve(b),function(){return Promise.resolve()})}H.completed=Hb;\nfunction Ib(b){return new H(b,function(){return b[\"catch\"](function(){})})}H.notAbortable=Ib;H.prototype.abort=function(){this.a=!0;return this.Zd()};H.prototype.abort=H.prototype.abort;function Jb(b){return new H(Promise.all(b.map(function(b){return b.promise})),function(){return Promise.all(b.map(function(b){return b.abort()}))})}H.all=Jb;H.prototype[\"finally\"]=function(b){this.promise.then(function(){return b(!0)},function(){return b(!1)});return this};H.prototype[\"finally\"]=H.prototype[\"finally\"];\nH.prototype.U=function(b,c){function d(){f.reject(new D(2,7,7001));return e.abort()}var e=this,f=new F;this.promise.then(function(c){e.a?f.reject(new D(2,7,7001)):b?d=Kb(b,c,f):f.resolve(c)},function(b){c?d=Kb(c,b,f):f.reject(b)});return new H(f,function(){return d()})};H.prototype.chain=H.prototype.U;\nfunction Kb(b,c,d){try{var e=b(c);if(e&&e.promise&&e.abort)return d.resolve(e.promise),function(){return e.abort()};d.resolve(e);return function(){return Promise.resolve(e).then(function(){})[\"catch\"](function(){})}}catch(f){return d.reject(f),function(){return Promise.resolve()}}};function I(b,c){c=void 0===c?{}:c;for(var d in c)this[d]=c[d];this.defaultPrevented=this.cancelable=this.bubbles=!1;this.timeStamp=window.performance&&window.performance.now?window.performance.now():Date.now();this.type=b;this.isTrusted=!1;this.target=this.currentTarget=null;this.a=!1}I.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)};I.prototype.stopImmediatePropagation=function(){this.a=!0};I.prototype.stopPropagation=function(){};function Lb(){this.a={}}q=Lb.prototype;q.push=function(b,c){this.a.hasOwnProperty(b)?this.a[b].push(c):this.a[b]=[c]};q.get=function(b){return(b=this.a[b])?b.slice():null};q.getAll=function(){var b=[],c;for(c in this.a)b.push.apply(b,this.a[c]);return b};q.remove=function(b,c){var d=this.a[b];if(d)for(var e=0;e<d.length;++e)d[e]==c&&(d.splice(e,1),--e)};q.forEach=function(b){for(var c in this.a)b(c,this.a[c])};function Mb(){this.Jc=new Lb;this.$b=this}Mb.prototype.addEventListener=function(b,c){this.Jc.push(b,c)};Mb.prototype.removeEventListener=function(b,c){this.Jc.remove(b,c)};Mb.prototype.dispatchEvent=function(b){for(var c=this.Jc.get(b.type)||[],d=0;d<c.length;++d){b.target=this.$b;b.currentTarget=this.$b;var e=c[d];try{e.handleEvent?e.handleEvent(b):e.call(this,b)}catch(f){}if(b.a)break}return b.defaultPrevented};function Nb(b){function c(b){switch(typeof b){case \"undefined\":case \"boolean\":case \"number\":case \"string\":case \"symbol\":case \"function\":return b;default:if(!b||b.buffer&&b.buffer.constructor==ArrayBuffer)return b;if(d.has(b))return null;var e=b.constructor==Array;if(b.constructor!=Object&&!e)return null;d.add(b);var g=e?[]:{},h;for(h in b)g[h]=c(b[h]);e&&(g.length=b.length);return g}}var d=new Set;return c(b)};function Ob(b,c){return\"number\"===typeof b&&\"number\"===typeof c&&isNaN(b)&&isNaN(c)?!0:b===c}function Pb(b,c){var d=b.indexOf(c);-1<d&&b.splice(d,1)}function Qb(b,c){var d=0;b.forEach(function(b){d+=c(b)?1:0});return d}\nfunction Rb(b,c,d){d||(d=Ob);if(b.length!=c.length)return!1;c=c.slice();var e={};b=r(b);for(var f=b.next();!f.done;e={item:e.item},f=b.next()){e.item=f.value;f=c.findIndex(function(b){return function(c){return d(b.item,c)}}(e));if(-1==f)return!1;c[f]=c[c.length-1];c.pop()}return 0==c.length};function Sb(){this.a=[]}function Tb(b,c){b.a.push(c[\"finally\"](function(){Pb(b.a,c)}))}Sb.prototype.destroy=function(){var b=[];this.a.forEach(function(c){c.promise[\"catch\"](function(){});b.push(c.abort())});this.a=[];return Promise.all(b)};function J(b){Mb.call(this);this.f=!1;this.g=new Sb;this.a=new Set;this.b=new Set;this.c=b||null}Xa(J,Mb);A(\"shaka.net.NetworkingEngine\",J);J.RequestType={MANIFEST:0,SEGMENT:1,LICENSE:2,APP:3,TIMING:4};J.PluginPriority={FALLBACK:1,PREFERRED:2,APPLICATION:3};var Ub={};function Vb(b,c,d){d=d||3;var e=Ub[b];if(!e||d>=e.priority)Ub[b]={priority:d,Rf:c}}J.registerScheme=Vb;J.unregisterScheme=function(b){delete Ub[b]};J.prototype.Tf=function(b){this.a.add(b)};J.prototype.registerRequestFilter=J.prototype.Tf;\nJ.prototype.vg=function(b){this.a[\"delete\"](b)};J.prototype.unregisterRequestFilter=J.prototype.vg;J.prototype.Ie=function(){this.a.clear()};J.prototype.clearAllRequestFilters=J.prototype.Ie;J.prototype.Uf=function(b){this.b.add(b)};J.prototype.registerResponseFilter=J.prototype.Uf;J.prototype.wg=function(b){this.b[\"delete\"](b)};J.prototype.unregisterResponseFilter=J.prototype.wg;J.prototype.Je=function(){this.b.clear()};J.prototype.clearAllResponseFilters=J.prototype.Je;\nJ.defaultRetryParameters=function(){return Bb()};function Wb(b,c){return{uris:b,method:\"GET\",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:c,licenseRequestType:null,sessionId:null}}J.makeRequest=Wb;J.prototype.destroy=function(){this.f=!0;this.a.clear();this.b.clear();return this.g.destroy()};J.prototype.destroy=J.prototype.destroy;\nJ.prototype.request=function(b,c){var d=this,e=new Xb;if(this.f){var f=Promise.reject(new D(2,7,7001));f[\"catch\"](function(){});return new Yb(f,function(){return Promise.resolve()},e)}c.method=c.method||\"GET\";c.headers=c.headers||{};c.retryParameters=c.retryParameters?Nb(c.retryParameters):Bb();c.uris=Nb(c.uris);f=Zb(this,b,c);var g=f.U(function(){return $b(d,b,c,new Ab(c.retryParameters,!1),0,null,e)}),h=g.U(function(c){return ac(d,b,c)}),k=Date.now(),l=0;f.promise.then(function(){l=Date.now()-k},\nfunction(){});var m=0;g.promise.then(function(){m=Date.now()},function(){});f=h.U(function(c){var e=Date.now()-m,f=c.response;f.timeMs+=l;f.timeMs+=e;c.qf||!d.c||f.fromCache||1!=b||d.c(f.timeMs,f.data.byteLength);return f},function(b){b&&(b.severity=2);throw b;});f=new Yb(f.promise,f.Zd,e);Tb(this.g,f);return f};J.prototype.request=J.prototype.request;\nfunction Zb(b,c,d){var e=Hb(void 0),f={};b=r(b.a);for(var g=b.next();!g.done;f={qd:f.qd},g=b.next())f.qd=g.value,e=e.U(function(b){return function(){return b.qd(c,d)}}(f));return e.U(void 0,function(b){if(b&&7001==b.code)throw b;throw new D(2,1,1006,b);})}\nfunction $b(b,c,d,e,f,g,h){var k=new ib(d.uris[f]),l=k.ta,m=!1;l||(l=location.protocol,l=l.slice(0,-1),jb(k,l),d.uris[f]=k.toString());l=l.toLowerCase();var n=(l=Ub[l])?l.Rf:null;if(!n)return Db(new D(2,1,1E3,k));var p;return Ib(Cb(e)).U(function(){if(b.f)return Eb();p=Date.now();return n(d.uris[f],d,c,function(d,e,f){b.c&&1==c&&(b.c(d,e),m=!0,h.a=f)})}).U(function(b){void 0==b.timeMs&&(b.timeMs=Date.now()-p);return{response:b,qf:m}},function(k){if(k&&7001==k.code)throw k;if(b.f)return Eb();if(k&&\n1==k.severity)return b.dispatchEvent(new I(\"retry\",{error:k instanceof D?k:null})),f=(f+1)%d.uris.length,$b(b,c,d,e,f,k,h);throw k||g;})}function ac(b,c,d){var e=Hb(void 0);b=r(b.b);for(var f=b.next();!f.done;f=b.next())e=e.U(f.value.bind(null,c,d.response));return e.U(function(){return d},function(b){if(b&&7001==b.code)throw b;var c=2;b instanceof D&&(c=b.severity);throw new D(c,1,1007,b);})}function Xb(){this.a=0}J.NumBytesRemainingClass=Xb;function Yb(b,c,d){H.call(this,b,c);this.b=d}va(Yb,H);\nJ.PendingRequest=Yb;Yb.all=Jb;Yb.notAbortable=Ib;Yb.completed=Hb;Yb.aborted=Eb;Yb.failed=Db;function bc(){}A(\"shaka.util.IReleasable\",bc);bc.prototype.release=function(){};function K(){this.a=new Lb}A(\"shaka.util.EventManager\",K);K.prototype.release=function(){this.$a();this.a=null};K.prototype.release=K.prototype.release;K.prototype.w=function(b,c,d,e){this.a&&(b=new cc(b,c,d,e),this.a.push(c,b))};K.prototype.listen=K.prototype.w;K.prototype.da=function(b,c,d,e){function f(e){g.ea(b,c,f);d(e)}var g=this;this.w(b,c,f,e)};K.prototype.listenOnce=K.prototype.da;\nK.prototype.ea=function(b,c,d){if(this.a){var e=this.a.get(c)||[];e=r(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f.target!=b||d!=f.listener&&d||(f.ea(),this.a.remove(c,f))}};K.prototype.unlisten=K.prototype.ea;K.prototype.$a=function(){if(this.a){var b=this.a.getAll();b=r(b);for(var c=b.next();!c.done;c=b.next())c.value.ea();this.a.a={}}};K.prototype.removeAll=K.prototype.$a;\nfunction cc(b,c,d,e){this.target=b;this.type=c;this.listener=d;this.a=dc(b,e);this.target.addEventListener(c,d,this.a)}cc.prototype.ea=function(){this.target.removeEventListener(this.type,this.listener,this.a);this.listener=this.target=null;this.a=!1};cc.prototype.unlisten=cc.prototype.ea;function dc(b,c){if(void 0==c)return!1;if(\"boolean\"==typeof c)return c;var d=new Set([\"passive\",\"capture\"]);Object.keys(c).filter(function(b){return!d.has(b)});return ec(b)?c:c.capture||!1}\nfunction ec(b){var c=fc;if(void 0==c){c=!1;try{var d={},e={get:function(){c=!0;return!1}};Object.defineProperty(d,\"passive\",e);Object.defineProperty(d,\"capture\",e);e=function(){};b.addEventListener(\"test\",e,d);b.removeEventListener(\"test\",e,d)}catch(f){c=!1}fc=c}return c||!1}var fc=void 0;function gc(b){b=new Uint8Array(b);if((new DataView(b.buffer,b.byteOffset,b.byteLength)).getUint32(0,!0)+4!=b.byteLength)throw new RangeError(\"Malformed FairPlay init data\");b=hc(b.subarray(4),!0);return(new ib(b)).sa}A(\"shaka.util.FairPlayUtils.defaultGetContentId\",gc);\nfunction ic(b,c,d){function e(b){(new DataView(g.buffer)).setUint32(h,b.byteLength,!0);h+=4;f(b)}function f(b){g.set(b,h);h+=b.byteLength}if(!d||!d.byteLength)throw new D(2,6,6015);c=\"string\"==typeof c?new Uint8Array(jc(c,!0)):new Uint8Array(c);var g=new Uint8Array(8+b.byteLength+c.byteLength+d.byteLength),h=0;f(new Uint8Array(b));e(c);e(new Uint8Array(d));return g}A(\"shaka.util.FairPlayUtils.initDataTransform\",ic);function kc(b,c){for(var d=[],e=r(b),f=e.next();!f.done;f=e.next())d.push(c(f.value));return d}function lc(b,c){for(var d=r(b),e=d.next();!e.done;e=d.next())if(!c(e.value))return!1;return!0};function mc(b){var c=new Map;Object.keys(b).forEach(function(d){c.set(d,b[d])});return c}function nc(b){var c={};b.forEach(function(b,e){c[e]=b});return c};function oc(b,c){var d=b;c&&(d+='; codecs=\"'+c+'\"');return d}function pc(b){var c=[b.mimeType];qc.forEach(function(d,e){var f=b[e];f&&c.push(d+'=\"'+f+'\"')});return c.join(\";\")}function rc(b){b=b.split(\".\");var c=b[0];b.pop();return[c,b.join(\".\")]}var qc=(new Map).set(\"codecs\",\"codecs\").set(\"frameRate\",\"framerate\").set(\"bandwidth\",\"bitrate\").set(\"width\",\"width\").set(\"height\",\"height\").set(\"channelsCount\",\"channels\");function sc(){return window.MediaSource&&MediaSource.isTypeSupported?!0:!1}function tc(b){return\"\"!=uc().canPlayType(b)}function vc(){return!!navigator.vendor&&navigator.vendor.includes(\"Apple\")&&!wc(\"Tizen\")}function xc(){if(!vc())return null;var b=navigator.userAgent.match(/Version\\/(\\d+)/);return b?parseInt(b[1],10):(b=navigator.userAgent.match(/OS (\\d+)(?:_\\d+)?/))?parseInt(b[1],10):null}function wc(b){return(navigator.userAgent||\"\").includes(b)}\nfunction uc(){if(yc)return yc;zc||(zc=new C(function(){yc=null}));(yc=document.querySelector(\"video\")||document.querySelector(\"audio\"))||(yc=document.createElement(\"video\"));zc.R(1);return yc}var zc=null,yc=null;function Bc(b){if(!b)return\"\";b=new Uint8Array(b);239==b[0]&&187==b[1]&&191==b[2]&&(b=b.subarray(3));b=Cc(b);b=escape(b);try{return decodeURIComponent(b)}catch(c){throw new D(2,2,2004);}}A(\"shaka.util.StringUtils.fromUTF8\",Bc);\nfunction hc(b,c,d){if(!b)return\"\";if(!d&&0!=b.byteLength%2)throw new D(2,2,2004);if(b instanceof ArrayBuffer)var e=b;else d=new Uint8Array(b.byteLength),d.set(new Uint8Array(b)),e=d.buffer;b=Math.floor(b.byteLength/2);d=new Uint16Array(b);e=new DataView(e);for(var f=0;f<b;f++)d[f]=e.getUint16(2*f,c);return Cc(d)}A(\"shaka.util.StringUtils.fromUTF16\",hc);\nfunction Dc(b){var c=new Uint8Array(b);if(239==c[0]&&187==c[1]&&191==c[2])return Bc(c);if(254==c[0]&&255==c[1])return hc(c.subarray(2),!1);if(255==c[0]&&254==c[1])return hc(c.subarray(2),!0);var d=function(b,c){return b.byteLength<=c||32<=b[c]&&126>=b[c]}.bind(null,c);if(0==c[0]&&0==c[2])return hc(b,!1);if(0==c[1]&&0==c[3])return hc(b,!0);if(d(0)&&d(1)&&d(2)&&d(3))return Bc(b);throw new D(2,2,2003);}A(\"shaka.util.StringUtils.fromBytesAutoDetect\",Dc);\nfunction Ec(b){b=encodeURIComponent(b);b=unescape(b);for(var c=new Uint8Array(b.length),d=0;d<b.length;++d)c[d]=b.charCodeAt(d);return c.buffer}A(\"shaka.util.StringUtils.toUTF8\",Ec);function jc(b,c){for(var d=new Uint8Array(2*b.length),e=new DataView(d.buffer),f=0;f<b.length;++f)e.setUint16(2*f,b.charCodeAt(f),c);return d.buffer}A(\"shaka.util.StringUtils.toUTF16\",jc);\nfunction Cc(b){if(!Fc)for(var c=function(b){try{var c=new Uint8Array(b);return 0<String.fromCharCode.apply(null,c).length}catch(g){return!1}},d={size:65536};0<d.size;d={size:d.size},d.size/=2)if(c(d.size)){Fc=function(b){return function(c){for(var d=\"\",e=0;e<c.length;e+=b.size)d+=String.fromCharCode.apply(null,c.subarray(e,e+b.size));return d}}(d);break}return Fc(b)}var Fc=null;A(\"shaka.util.StringUtils.resetFromCharCode\",function(){Fc=null});var L={zc:function(b,c){var d=Cc(b);c=void 0==c?!0:c;d=window.btoa(d).replace(/\\+/g,\"-\").replace(/\\//g,\"_\");return c?d:d.replace(/=*$/,\"\")}};A(\"shaka.util.Uint8ArrayUtils.toBase64\",L.zc);L.Ba=function(b){b=window.atob(b.replace(/-/g,\"+\").replace(/_/g,\"/\"));for(var c=new Uint8Array(b.length),d=0;d<b.length;++d)c[d]=b.charCodeAt(d);return c};A(\"shaka.util.Uint8ArrayUtils.fromBase64\",L.Ba);\nL.Qc=function(b){for(var c=new Uint8Array(b.length/2),d=0;d<b.length;d+=2)c[d/2]=window.parseInt(b.substr(d,2),16);return c};A(\"shaka.util.Uint8ArrayUtils.fromHex\",L.Qc);L.Ac=function(b){for(var c=\"\",d=0;d<b.length;++d){var e=b[d].toString(16);1==e.length&&(e=\"0\"+e);c+=e}return c};A(\"shaka.util.Uint8ArrayUtils.toHex\",L.Ac);L.za=function(b,c){if(!b&&!c)return!0;if(!b||!c||b.length!=c.length)return!1;for(var d=0;d<b.length;++d)if(b[d]!=c[d])return!1;return!0};A(\"shaka.util.Uint8ArrayUtils.equal\",L.za);\nL.concat=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];for(var e=d=0;e<c.length;++e)d+=c[e].length;d=new Uint8Array(d);for(var f=e=0;f<c.length;++f)d.set(c[f],e),e+=c[f].length;return d};A(\"shaka.util.Uint8ArrayUtils.concat\",L.concat);function Gc(b){var c=this;this.B=b;this.u=new Set;this.h=this.l=null;this.S=!1;this.K=0;this.a=null;this.i=new K;this.b=new Map;this.s=[];this.m=new F;this.f=null;this.g=function(d){c.m.reject(d);b.onError(d)};this.pa=new Map;this.W=new Map;this.O=new C(function(){return Hc(c)});this.c=!1;this.na=new F;this.D=!1;this.F=[];this.oa=!1;this.$=(new C(function(){Ic(c)})).Na(1);this.m[\"catch\"](function(){})}q=Gc.prototype;\nq.destroy=function(){var b=this;return t(function d(){return z(d,function(d){switch(d.j){case 1:if(b.c)return u(d,b.na,0);b.c=!0;return u(d,Jc(b),4);case 4:b.na.resolve(),d.A(0)}})})};\nfunction Jc(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:return b.i.release(),b.i=null,b.m.reject(),b.$.stop(),b.$=null,b.O.stop(),b.O=null,u(d,Kc(b),2);case 2:if(!b.h){d.A(3);break}za(d,4);return u(d,b.h.setMediaKeys(null),6);case 6:Ba(d,5);break;case 4:Ca(d);case 5:b.h=null;case 3:b.a=null,b.u.clear(),b.l=null,b.s=[],b.f=null,b.g=null,b.B=null,w(d)}})})}q.configure=function(b){this.f=b};function Lc(b,c,d){b.s=[];b.D=d;return Mc(b,c)}\nfunction Nc(b,c,d){b.s=d;b.D=0<d.length;return Mc(b,c)}function Oc(b,c,d,e,f,g){var h=new Map;h.set(c,{audioCapabilities:f,videoCapabilities:g,distinctiveIdentifier:\"optional\",persistentState:\"required\",sessionTypes:[\"persistent-license\"],label:c,drmInfos:[{keySystem:c,licenseServerUri:d,distinctiveIdentifierRequired:!1,persistentStateRequired:!0,audioRobustness:\"\",videoRobustness:\"\",serverCertificate:e,initData:null,keyIds:null}]});return Pc(b,h)}\nfunction Mc(b,c){var d=Qc(b);if(d)for(var e=r(c),f=e.next();!f.done;f=e.next())f.value.drmInfos=[d];d=c.some(function(b){return 0<b.drmInfos.length});d||(f=mc(b.f.servers),Rc(c,f));e=r(c);for(f=e.next();!f.done;f=e.next()){f=r(f.value.drmInfos);for(var g=f.next();!g.done;g=f.next())Sc(g.value,mc(b.f.servers),mc(b.f.advanced||{}))}f=Tc(b,c);if(!f.size)return b.S=!0,Promise.resolve();f=Pc(b,f);return d?f:f[\"catch\"](function(){})}\nq.Hb=function(b){var c=this;if(!this.l)return this.i.da(b,\"encrypted\",function(){c.g(new D(2,6,6010))}),Promise.resolve();this.h=b;this.i.da(this.h,\"play\",function(){for(var b=0;b<c.F.length;b++)Uc(c,c.F[b]);c.oa=!0;c.F=[]});\"webkitCurrentPlaybackTargetIsWireless\"in this.h&&this.i.w(this.h,\"webkitcurrentplaybacktargetiswirelesschanged\",function(){return Kc(c)});b=this.h.setMediaKeys(this.l);b=b[\"catch\"](function(b){return Promise.reject(new D(2,6,6003,b.message))});var d=Vc(this);return Promise.all([b,\nd]).then(function(){if(c.c)return Promise.reject();Wc(c);c.a.initData.length||c.s.length||c.i.w(c.h,\"encrypted\",function(b){return Xc(c,b.initDataType,new Uint8Array(b.initData))})})[\"catch\"](function(b){if(!c.c)return Promise.reject(b)})};\nfunction Vc(b){return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:if(!(b.l&&b.a&&b.a.serverCertificate&&b.a.serverCertificate.length)){d.A(0);break}za(d,3);return u(d,b.l.setServerCertificate(b.a.serverCertificate),5);case 5:Ba(d,0);break;case 3:return e=Ca(d),d[\"return\"](Promise.reject(new D(2,6,6004,e.message)))}})})}\nfunction Yc(b,c){return t(function e(){var f,g,h;return z(e,function(e){switch(e.j){case 1:return u(e,Zc(b,c),2);case 2:f=e.o;if(!f)return e[\"return\"]();g=[];if(h=b.b.get(f))h.ya=new F,g.push(h.ya);g.push(f.remove());return u(e,Promise.all(g),0)}})})}function Wc(b){var c=b.a?b.a.initData:[];c.forEach(function(c){return $c(b,c.initDataType,c.initData)});b.s.forEach(function(c){return Zc(b,c)});c.length||b.s.length||b.m.resolve();return b.m}\nfunction Xc(b,c,d){var e=b.b.values();e=r(e);for(var f=e.next();!f.done;f=e.next())if(L.za(d,f.value.initData)&&!wc(\"Tizen 2\"))return;$c(b,c,d)}function ad(b){return b?b.keySystem:\"\"}function bd(b,c){return wc(\"Edge/\")?!0:b.u.has(c)}function cd(b){b=b.b.keys();b=kc(b,function(b){return b.sessionId});return Array.from(b)}q.Lb=function(){var b=Infinity,c=this.b.keys();c=r(c);for(var d=c.next();!d.done;d=c.next())d=d.value,isNaN(d.expiration)||(b=Math.min(b,d.expiration));return b};\nfunction Tc(b,c){for(var d=new Set,e=r(c),f=e.next();!f.done;f=e.next()){var g=r(f.value.drmInfos);for(f=g.next();!f.done;f=g.next())d.add(f.value)}e=r(d);for(f=e.next();!f.done;f=e.next())Sc(f.value,mc(b.f.servers),mc(b.f.advanced||{}));g=b.D?\"required\":\"optional\";var h=b.D?[\"persistent-license\"]:[\"temporary\"];e=new Map;d=r(d);for(f=d.next();!f.done;f=d.next())f=f.value,e.set(f.keySystem,{audioCapabilities:[],videoCapabilities:[],distinctiveIdentifier:\"optional\",persistentState:g,sessionTypes:h,\nlabel:f.keySystem,drmInfos:[]});d=r(c);for(f=d.next();!f.done;f=d.next()){f=f.value;g=f.audio;h=f.video;var k=g?oc(g.mimeType,g.codecs):\"\",l=h?oc(h.mimeType,h.codecs):\"\",m=r(f.drmInfos);for(f=m.next();!f.done;f=m.next()){f=f.value;var n=e.get(f.keySystem);n.drmInfos.push(f);f.distinctiveIdentifierRequired&&(n.distinctiveIdentifier=\"required\");f.persistentStateRequired&&(n.persistentState=\"required\");g&&n.audioCapabilities.push({robustness:f.audioRobustness||\"\",contentType:k});h&&n.videoCapabilities.push({robustness:f.videoRobustness||\n\"\",contentType:l})}}return e}\nfunction Pc(b,c){if(1==c.size&&c.has(\"\"))return Promise.reject(new D(2,6,6E3));for(var d=r(c.values()),e=d.next();!e.done;e=d.next())e=e.value,0==e.audioCapabilities.length&&delete e.audioCapabilities,0==e.videoCapabilities.length&&delete e.videoCapabilities;var f=d=new F;[!0,!1].forEach(function(b){var d=this;c.forEach(function(c,e){c.drmInfos.some(function(b){return!!b.licenseServerUri})==b&&(f=f[\"catch\"](function(){if(!this.c)return navigator.requestMediaKeySystemAccess(e,[c])}.bind(d)))})}.bind(b));\nf=f[\"catch\"](function(){return Promise.reject(new D(2,6,6001))});f=f.then(function(b){if(this.c)return Promise.reject();this.u.clear();var d=b.getConfiguration(),e=d.videoCapabilities||[],f=r(d.audioCapabilities||[]);for(d=f.next();!d.done;d=f.next())this.u.add(d.value.contentType);e=r(e);for(d=e.next();!d.done;d=e.next())this.u.add(d.value.contentType);e=b.keySystem;d=c.get(b.keySystem);f=[];var g=[],n=[],p=[];dd(d.drmInfos,f,g,n,p);this.a={keySystem:e,licenseServerUri:f[0],distinctiveIdentifierRequired:\"required\"==\nd.distinctiveIdentifier,persistentStateRequired:\"required\"==d.persistentState,audioRobustness:(d.audioCapabilities?d.audioCapabilities[0].robustness:\"\")||\"\",videoRobustness:(d.videoCapabilities?d.videoCapabilities[0].robustness:\"\")||\"\",serverCertificate:g[0],initData:n,keyIds:p};return this.a.licenseServerUri?b.createMediaKeys():Promise.reject(new D(2,6,6012,this.a.keySystem))}.bind(b)).then(function(b){if(this.c)return Promise.reject();this.l=b;this.S=!0}.bind(b))[\"catch\"](function(b){if(!this.c)return this.a=\nnull,this.u.clear(),b instanceof D?Promise.reject(b):Promise.reject(new D(2,6,6002,b.message))}.bind(b));d.reject();return f}\nfunction Qc(b){b=mc(b.f.clearKeys);if(0==b.size)return null;var c=[],d=[];b.forEach(function(b,e){var f=L.Qc(e),g=L.Qc(b);f={kty:\"oct\",kid:L.zc(f,!1),k:L.zc(g,!1)};c.push(f);d.push(f.kid)});b=JSON.stringify({keys:c});var e=JSON.stringify({kids:d});e=[{initData:new Uint8Array(Ec(e)),initDataType:\"keyids\"}];return{keySystem:\"org.w3.clearkey\",licenseServerUri:\"data:application/json;base64,\"+window.btoa(b),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:\"\",videoRobustness:\"\",\nserverCertificate:null,initData:e,keyIds:[]}}\nfunction Zc(b,c){try{var d=b.l.createSession(\"persistent-license\")}catch(g){var e=new D(2,6,6005,g.message);b.g(e);return Promise.reject(e)}b.i.w(d,\"message\",b.fe.bind(b));b.i.w(d,\"keystatuseschange\",b.de.bind(b));var f={initData:null,loaded:!1,hd:Infinity,ya:null};b.b.set(d,f);return d.load(c).then(function(b){if(this.c)return Promise.reject();if(b)return f.loaded=!0,ed(this)&&this.m.resolve(),d;this.b[\"delete\"](d);this.g(new D(2,6,6013))}.bind(b),function(b){this.c||(this.b[\"delete\"](d),this.g(new D(2,\n6,6005,b.message)))}.bind(b))}\nfunction $c(b,c,d){try{var e=b.D?b.l.createSession(\"persistent-license\"):b.l.createSession()}catch(f){b.g(new D(2,6,6005,f.message));return}b.i.w(e,\"message\",b.fe.bind(b));b.i.w(e,\"keystatuseschange\",b.de.bind(b));b.b.set(e,{initData:d,loaded:!1,hd:Infinity,ya:null});try{d=b.f.initDataTransform(d,b.a)}catch(f){c=f;f instanceof D||(c=new D(2,6,6016,f));b.g(c);return}e.generateRequest(c,d.buffer)[\"catch\"](function(c){if(!b.c){b.b[\"delete\"](e);if(c.errorCode&&c.errorCode.systemCode){var d=c.errorCode.systemCode;\n0>d&&(d+=Math.pow(2,32));d=\"0x\"+d.toString(16)}b.g(new D(2,6,6006,c.message,c,d))}})}function fd(b,c){if(ad(c).startsWith(\"com.apple.fps\")){var d=c.serverCertificate,e=gc(b);b=ic(b,e,d)}return b}q.fe=function(b){this.h&&this.f.delayLicenseRequestUntilPlayed&&this.h.paused&&!this.oa?this.F.push(b):Uc(this,b)};\nfunction Uc(b,c){var d=c.target,e=b.b.get(d),f=b.a.licenseServerUri,g=b.f.advanced[b.a.keySystem];\"individualization-request\"==c.messageType&&g&&g.individualizationServer&&(f=g.individualizationServer);f=Wb([f],b.f.retryParameters);f.body=c.message;f.method=\"POST\";f.licenseRequestType=c.messageType;f.sessionId=d.sessionId;\"com.microsoft.playready\"!=b.a.keySystem&&\"com.chromecast.playready\"!=b.a.keySystem||gd(f);b.a.keySystem.startsWith(\"com.apple.fps\")&&b.f.fairPlayTransform&&hd(f);var h=Date.now();\nb.B.ub.request(2,f).promise.then(function(b){if(this.c)return Promise.reject();this.a.keySystem.startsWith(\"com.apple.fps\")&&this.f.fairPlayTransform&&id(b);this.K+=(Date.now()-h)/1E3;return d.update(b.data).then(function(){var b=this;this.B.onEvent(new I(\"drmsessionupdate\"));e&&(e.ya&&e.ya.resolve(),(new C(function(){e.loaded=!0;ed(b)&&b.m.resolve()})).R(jd))}.bind(this))}.bind(b),function(b){this.c||(b=new D(2,6,6007,b),this.g(b),e&&e.ya&&e.ya.reject(b))}.bind(b))[\"catch\"](function(b){this.c||(b=\nnew D(2,6,6008,b.message),this.g(b),e&&e.ya&&e.ya.reject(b))}.bind(b))}function gd(b){var c=hc(b.body,!0,!0);if(c.includes(\"PlayReadyKeyMessage\")){c=(new DOMParser).parseFromString(c,\"application/xml\");for(var d=c.getElementsByTagName(\"HttpHeader\"),e=0;e<d.length;++e)b.headers[d[e].querySelector(\"name\").textContent]=d[e].querySelector(\"value\").textContent;b.body=L.Ba(c.querySelector(\"Challenge\").textContent).buffer}else b.headers[\"Content-Type\"]=\"text/xml; charset=utf-8\"}\nfunction hd(b){var c=new Uint8Array(b.body);c=\"spc=\"+L.zc(c);b.headers[\"Content-Type\"]=\"application/x-www-form-urlencoded\";b.body=Ec(c)}function id(b){try{var c=Bc(b.data)}catch(d){return}c=c.trim();\"<ckc>\"===c.substr(0,5)&&\"</ckc>\"===c.substr(-6)&&(c=c.slice(5,-6));try{c=JSON.parse(c).ckc}catch(d){}b.data=L.Ba(c).buffer}\nq.de=function(b){b=b.target;var c=this.b.get(b),d=!1;b.keyStatuses.forEach(function(b,e){if(\"string\"==typeof e){var f=e;e=b;b=f}if(\"com.microsoft.playready\"==this.a.keySystem&&16==e.byteLength&&!wc(\"Tizen\")&&!wc(\"VITIS\")){f=new DataView(e);var g=f.getUint32(0,!0),l=f.getUint16(4,!0),m=f.getUint16(6,!0);f.setUint32(0,g,!1);f.setUint16(4,l,!1);f.setUint16(6,m,!1)}\"com.microsoft.playready\"==this.a.keySystem&&\"status-pending\"==b&&(b=\"usable\");\"status-pending\"!=b&&(c.loaded=!0);\"expired\"==b&&(d=!0);f=\nL.Ac(new Uint8Array(e));this.pa.set(f,b)}.bind(this));var e=b.expiration-Date.now();(0>e||d&&1E3>e)&&c&&!c.ya&&(this.b[\"delete\"](b),b.close()[\"catch\"](function(){}));ed(this)&&(this.m.resolve(),this.O.R(kd))};function Hc(b){var c=b.pa,d=b.W;d.clear();c.forEach(function(b,c){return d.set(c,b)});c=Array.from(d.values());c.length&&c.every(function(b){return\"expired\"==b})&&b.g(new D(2,6,6014));b.B.qc(nc(d))}\nfunction ld(){function b(b){return t(function h(){var c,f,m;return z(h,function(h){switch(h.j){case 1:return za(h,2),u(h,navigator.requestMediaKeySystemAccess(b,d),4);case 4:return c=h.o,m=(f=c.getConfiguration().sessionTypes)?f.includes(\"persistent-license\"):!1,wc(\"Tizen 3\")&&(m=!1),e.set(b,{persistentState:m}),u(h,c.createMediaKeys(),5);case 5:Ba(h,0);break;case 2:Ca(h),e.set(b,null),w(h)}})})}var c=[{contentType:'video/mp4; codecs=\"avc1.42E01E\"'},{contentType:'video/webm; codecs=\"vp8\"'}],d=[{videoCapabilities:c,\npersistentState:\"required\",sessionTypes:[\"persistent-license\"]},{videoCapabilities:c}],e=new Map;c=\"org.w3.clearkey com.widevine.alpha com.microsoft.playready com.apple.fps.3_0 com.apple.fps.2_0 com.apple.fps.1_0 com.apple.fps com.adobe.primetime\".split(\" \").map(function(c){return b(c)});return Promise.all(c).then(function(){return nc(e)})}\nfunction md(b,c){var d=c.audio,e=c.video;if(d&&d.encrypted&&!bd(b,oc(d.mimeType,d.codecs))||e&&e.encrypted&&!bd(b,oc(e.mimeType,e.codecs)))return!1;var f=ad(b.a);return 0==c.drmInfos.length||c.drmInfos.some(function(b){return b.keySystem==f})}\nfunction nd(b,c){if(!b.length)return c;if(!c.length)return b;for(var d=[],e=0;e<b.length;e++)for(var f=0;f<c.length;f++)if(b[e].keySystem==c[f].keySystem){var g=b[e];f=c[f];var h=[];h=h.concat(g.initData||[]);h=h.concat(f.initData||[]);var k=[];k=k.concat(g.keyIds);k=k.concat(f.keyIds);d.push({keySystem:g.keySystem,licenseServerUri:g.licenseServerUri||f.licenseServerUri,distinctiveIdentifierRequired:g.distinctiveIdentifierRequired||f.distinctiveIdentifierRequired,persistentStateRequired:g.persistentStateRequired||\nf.persistentStateRequired,videoRobustness:g.videoRobustness||f.videoRobustness,audioRobustness:g.audioRobustness||f.audioRobustness,serverCertificate:g.serverCertificate||f.serverCertificate,initData:h,keyIds:k});break}return d}\nfunction Kc(b){return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:return e=Array.from(b.b.keys()),b.b.clear(),u(d,Promise.all(e.map(function(b){return t(function k(){return z(k,function(d){switch(d.j){case 1:return za(d,2),u(d,Promise.all([b.close(),b.closed]),4);case 4:Ba(d,0);break;case 2:Ca(d),w(d)}})})})),0)}})})}function Ic(b){b.b.forEach(function(c,d){var e=c.hd,f=d.expiration;isNaN(f)&&(f=Infinity);f!=e&&(b.B.onExpirationUpdated(d.sessionId,f),c.hd=f)})}\nfunction ed(b){b=b.b.values();return lc(b,function(b){return b.loaded})}function Rc(b,c){var d=[];c.forEach(function(b,c){d.push({keySystem:c,licenseServerUri:b,distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:\"\",videoRobustness:\"\",serverCertificate:null,initData:[],keyIds:[]})});for(var e=r(b),f=e.next();!f.done;f=e.next())f.value.drmInfos=d}\nfunction dd(b,c,d,e,f){b.forEach(function(b){c.includes(b.licenseServerUri)||c.push(b.licenseServerUri);b.serverCertificate&&(d.some(function(c){return L.za(c,b.serverCertificate)})||d.push(b.serverCertificate));b.initData&&b.initData.forEach(function(b){e.some(function(c){return c.keyId&&c.keyId==b.keyId?!0:c.initDataType==b.initDataType&&L.za(c.initData,b.initData)})||e.push(b)});if(b.keyIds)for(var g=0;g<b.keyIds.length;++g)f.includes(b.keyIds[g])||f.push(b.keyIds[g])})}\nfunction Sc(b,c,d){if(b.keySystem&&(\"org.w3.clearkey\"!=b.keySystem||!b.licenseServerUri)){c.size&&(c=c.get(b.keySystem)||\"\",b.licenseServerUri=c);b.keyIds||(b.keyIds=[]);if(d=d.get(b.keySystem))b.distinctiveIdentifierRequired||(b.distinctiveIdentifierRequired=d.distinctiveIdentifierRequired),b.persistentStateRequired||(b.persistentStateRequired=d.persistentStateRequired),b.videoRobustness||(b.videoRobustness=d.videoRobustness),b.audioRobustness||(b.audioRobustness=d.audioRobustness),b.serverCertificate||\n(b.serverCertificate=d.serverCertificate);window.cast&&window.cast.__platform__&&\"com.microsoft.playready\"==b.keySystem&&(b.keySystem=\"com.chromecast.playready\")}}var jd=5,kd=.5;function od(){this.a=new muxjs.mp4.CaptionParser;this.g=[];this.f={}}od.prototype.init=function(b){var c=muxjs.mp4.probe;b=new Uint8Array(b);this.g=c.videoTrackIds(b);this.f=c.timescale(b);this.a.init()};od.prototype.b=function(b,c){var d=new Uint8Array(b);(d=this.a.parse(d,this.g,this.f))&&d.captions&&c(d.captions);this.a.clearParsedCaptions()};od.prototype.c=function(){this.a.resetCaptionStream()};function pd(){}pd.prototype.init=function(){};pd.prototype.b=function(){};pd.prototype.c=function(){};function qd(b){return!b||1==b.length&&1E-6>b.end(0)-b.start(0)?null:b.length?b.end(b.length-1):null}function rd(b,c,d){d=void 0===d?0:d;return!b||!b.length||1==b.length&&1E-6>b.end(0)-b.start(0)||c>b.end(b.length-1)?!1:c+d>=b.start(0)}function sd(b,c){if(!b||!b.length||1==b.length&&1E-6>b.end(0)-b.start(0))return 0;for(var d=0,e=b.length-1;0<=e&&b.end(e)>c;--e)d+=b.end(e)-Math.max(b.start(e),c);return d}\nfunction td(b){if(!b)return[];for(var c=[],d=0;d<b.length;d++)c.push({start:b.start(d),end:b.end(d)});return c};var ud={Ke:function(b,c){return b.reduce(function(b,c,f){return c[\"catch\"](b.bind(null,f))}.bind(null,c),Promise.reject())},Gc:function(b,c){return b.concat(c)},oc:function(){},Ia:function(b){return null!=b}};function vd(b,c){if(0==c.length)return b;var d=c.map(function(b){return new ib(b)});return b.map(function(b){return new ib(b)}).map(function(b){return d.map(b.resolve.bind(b))}).reduce(ud.Gc,[]).map(function(b){return b.toString()})}function wd(b,c){return{keySystem:b,licenseServerUri:\"\",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:\"\",videoRobustness:\"\",serverCertificate:null,initData:c||[],keyIds:[]}}\nvar xd={Pa:\"video\",Eb:\"audio\",ra:\"text\",Cg:\"image\",Ag:\"application\"},yd=1/15;function Bd(){this.a=new muxjs.mp4.Transmuxer({keepOriginalTimestamps:!0});this.b=null;this.g=[];this.c=[];this.f=!1;this.a.on(\"data\",this.i.bind(this));this.a.on(\"done\",this.h.bind(this))}Bd.prototype.destroy=function(){this.a.dispose();this.a=null;return Promise.resolve()};function Cd(b,c){return window.muxjs&&\"mp2t\"==b.toLowerCase().split(\";\")[0].split(\"/\")[1]?c?MediaSource.isTypeSupported(Dd(c,b)):MediaSource.isTypeSupported(Dd(\"audio\",b))||MediaSource.isTypeSupported(Dd(\"video\",b)):!1}\nfunction Dd(b,c){var d=c.replace(/mp2t/i,\"mp4\");\"audio\"==b&&(d=d.replace(\"video\",\"audio\"));var e=/avc1\\.(66|77|100)\\.(\\d+)/.exec(d);if(e){var f=\"avc1.\",g=e[1],h=Number(e[2]);f=(\"66\"==g?f+\"4200\":\"77\"==g?f+\"4d00\":f+\"6400\")+(h>>4).toString(16);f+=(h&15).toString(16);d=d.replace(e[0],f)}return d}function Ed(b,c){b.f=!0;b.b=new F;b.g=[];b.c=[];var d=new Uint8Array(c);b.a.push(d);b.a.flush();b.f&&b.b.reject(new D(2,3,3018));return b.b}\nBd.prototype.i=function(b){this.c=b.captions;var c=new Uint8Array(b.data.byteLength+b.initSegment.byteLength);c.set(b.initSegment,0);c.set(b.data,b.initSegment.byteLength);this.g.push(c)};Bd.prototype.h=function(){var b={data:L.concat.apply(null,this.g),captions:this.c};this.b.resolve(b);this.f=!1};function Fd(b,c,d){this.startTime=b;this.direction=Gd;this.endTime=c;this.payload=d;this.region=new Hd;this.position=null;this.positionAlign=Id;this.size=100;this.textAlign=Jd;this.writingMode=Kd;this.lineInterpretation=Ld;this.line=null;this.lineHeight=\"\";this.lineAlign=Md;this.displayAlign=Nd;this.fontSize=this.backgroundImage=this.backgroundColor=this.color=\"\";this.fontWeight=Od;this.fontStyle=Pd;this.fontFamily=\"\";this.textDecoration=[];this.wrapLine=!0;this.id=\"\";this.nestedCues=[];this.spacer=\n!1}A(\"shaka.text.Cue\",Fd);var Id=\"auto\";Fd.positionAlign={LEFT:\"line-left\",RIGHT:\"line-right\",CENTER:\"center\",AUTO:Id};var Jd=\"center\",Qd={LEFT:\"left\",RIGHT:\"right\",CENTER:Jd,START:\"start\",END:\"end\"};Fd.textAlign=Qd;var Nd=\"after\",Rd={BEFORE:\"before\",CENTER:\"center\",AFTER:Nd};Fd.displayAlign=Rd;var Gd=\"ltr\";Fd.direction={HORIZONTAL_LEFT_TO_RIGHT:Gd,HORIZONTAL_RIGHT_TO_LEFT:\"rtl\"};var Kd=\"horizontal-tb\";Fd.writingMode={HORIZONTAL_TOP_TO_BOTTOM:Kd,VERTICAL_LEFT_TO_RIGHT:\"vertical-lr\",VERTICAL_RIGHT_TO_LEFT:\"vertical-rl\"};\nvar Ld=0;Fd.lineInterpretation={LINE_NUMBER:Ld,PERCENTAGE:1};var Md=\"start\",Sd={CENTER:\"center\",START:Md,END:\"end\"};Fd.lineAlign=Sd;var Od=400;Fd.fontWeight={NORMAL:Od,BOLD:700};var Pd=\"normal\",Td={NORMAL:Pd,ITALIC:\"italic\",OBLIQUE:\"oblique\"};Fd.fontStyle=Td;Fd.textDecoration={UNDERLINE:\"underline\",LINE_THROUGH:\"lineThrough\",OVERLINE:\"overline\"};\nfunction Hd(){this.id=\"\";this.regionAnchorY=this.regionAnchorX=this.viewportAnchorY=this.viewportAnchorX=0;this.height=this.width=100;this.viewportAnchorUnits=this.widthUnits=this.heightUnits=Ud;this.scroll=Vd}A(\"shaka.text.CueRegion\",Hd);var Ud=1;Hd.units={PX:0,PERCENTAGE:Ud,LINES:2};var Vd=\"\";Hd.scrollMode={NONE:Vd,UP:\"up\"};function Wd(b){this.g=null;this.c=b;this.f=this.m=0;this.h=Infinity;this.b=this.a=null;this.l=\"\";this.i=new Map}var Xd={};A(\"shaka.text.TextEngine.registerParser\",function(b,c){Xd[b]=c});A(\"shaka.text.TextEngine.unregisterParser\",function(b){delete Xd[b]});function Yd(b){return Xd[b]||window.muxjs&&\"application/cea-608\"==b?!0:!1}Wd.prototype.destroy=function(){this.c=this.g=null;this.i.clear();return Promise.resolve()};function Zd(b,c){\"application/cea-608\"!=c&&(b.g=new Xd[c])}\nWd.prototype.kc=function(b){var c={periodStart:0,segmentStart:null,segmentEnd:0};try{return this.g.parseMedia(new Uint8Array(b),c)[0].startTime}catch(d){throw new D(2,2,2009,d);}};\nfunction $d(b,c,d,e){return Promise.resolve().then(function(){if(this.g&&this.c)if(null==d||null==e)this.g.parseInit(new Uint8Array(c));else{var b={periodStart:this.m,segmentStart:d,segmentEnd:e};b=this.g.parseMedia(new Uint8Array(c),b).filter(function(b){return b.startTime>=this.f&&b.startTime<this.h}.bind(this));this.c.append(b);null==this.a&&(this.a=Math.max(d,this.f));this.b=Math.min(e,this.h)}}.bind(b))}\nWd.prototype.remove=function(b,c){return Promise.resolve().then(function(){!this.c||!this.c.remove(b,c)||null==this.a||c<=this.a||b>=this.b||(b<=this.a&&c>=this.b?this.a=this.b=null:b<=this.a&&c<this.b?this.a=c:b>this.a&&c>=this.b&&(this.b=b))}.bind(this))};function ae(b,c,d){b.l=c;if(c=b.i.get(c))for(var e=r(c.keys()),f=e.next();!f.done;f=e.next())(f=c.get(f.value).filter(function(b){return b.endTime<=d}))&&b.c.append(f)}\nfunction be(b,c,d,e,f){var g=d+\" \"+e,h=new Map;c=r(c);for(var k=c.next();!k.done;k=c.next()){var l=k.value;k=l.stream;h.has(k)||h.set(k,new Map);h.get(k).has(g)||h.get(k).set(g,[]);l.startTime+=f;l.endTime+=f;l.startTime>=b.f&&l.startTime<b.h&&(l=new Fd(l.startTime,l.endTime,l.text),h.get(k).get(g).push(l),k==b.l&&b.c.append([l]))}f=r(h.keys());for(g=f.next();!g.done;g=f.next())for(g=g.value,b.i.has(g)||b.i.set(g,new Map),c=r(h.get(g).keys()),k=c.next();!k.done;k=c.next())k=k.value,l=h.get(g).get(k),\nb.i.get(g).set(k,l);b.a=null==b.a?Math.max(d,b.f):Math.min(b.a,Math.max(d,b.f));b.b=Math.max(b.b,Math.min(e,b.h))};function ce(b,c,d){this.f=b;this.g=d;this.b={};this.a=null;this.c={};this.i=new K;this.u=!1;this.l={};this.m=c;b=this.s=new F;c=new MediaSource;this.i.da(c,\"sourceopen\",b.resolve);this.f.src=de(c);this.h=c}var de=window.URL.createObjectURL;function ee(b){var c=oc(b.mimeType,b.codecs),d=pc(b);return Yd(c)||MediaSource.isTypeSupported(d)||Cd(c,b.type)}q=ce.prototype;\nq.destroy=function(){var b=this;this.u=!0;var c=[],d;for(d in this.c){var e=this.c[d],f=e[0];this.c[d]=e.slice(0,1);f&&c.push(f.p[\"catch\"](ud.oc));for(f=1;f<e.length;++f)e[f].p.reject()}this.a&&c.push(this.a.destroy());this.g&&c.push(this.g.destroy());for(var g in this.l)c.push(this.l[g].destroy());return Promise.all(c).then(function(){b.i&&(b.i.release(),b.i=null);b.f&&(b.f.removeAttribute(\"src\"),b.f.load(),b.f=null);b.h=null;b.a=null;b.g=null;b.b={};b.l={};b.m=null;b.c={}})};\nq.init=function(b,c){var d=this;return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return g=xd,u(f,d.s,2);case 2:b.forEach(function(b,f){var h=oc(b.mimeType,b.codecs);f==g.ra?fe(d,h):(!c&&MediaSource.isTypeSupported(h)||!Cd(h,f)||(d.l[f]=new Bd,h=Dd(f,h)),h=d.h.addSourceBuffer(h),d.i.w(h,\"error\",d.lg.bind(d,f)),d.i.w(h,\"updateend\",d.xb.bind(d,f)),d.b[f]=h,d.c[f]=[])}),w(f)}})})};function fe(b,c){b.a||(b.a=new Wd(b.g));Zd(b.a,c)}\nfunction ge(b){return b.h?\"ended\"==b.h.readyState:!0}function he(b,c){if(\"text\"==c)var d=b.a.a;else d=ie(b,c),d=!d||1==d.length&&1E-6>d.end(0)-d.start(0)?null:1==d.length&&0>d.start(0)?0:d.length?d.start(0):null;return d}function je(b,c){return\"text\"==c?b.a.b:qd(ie(b,c))}function ke(b,c,d){if(\"text\"==c)return b=b.a,null==b.b||b.b<d?0:b.b-Math.max(d,b.a);b=ie(b,c);return sd(b,d)}\nq.Sc=function(b){b.total=td(this.f.buffered);b.audio=td(ie(this,\"audio\"));b.video=td(ie(this,\"video\"));b.text=[];if(this.a){var c=this.a.a,d=this.a.b;null!=c&&null!=d&&b.text.push({start:c,end:d})}};function ie(b,c){try{return b.b[c].buffered}catch(d){return null}}\nfunction le(b,c,d,e,f,g){if(\"text\"==c)return $d(b.a,d,e,f);if(b.l[c])return Ed(b.l[c],d).then(function(b){this.a||fe(this,\"text/vtt\");b.captions&&b.captions.length&&be(this.a,b.captions,e,f,this.b.video.timestampOffset);return me(this,c,this.re.bind(this,c,b.data.buffer))}.bind(b));g&&window.muxjs&&(b.a||fe(b,\"text/vtt\"),null==e&&null==f?b.m.init(d):b.m.b(d,function(c){c.length&&be(b.a,c,e,f,b.b.video.timestampOffset)}));return me(b,c,b.re.bind(b,c,d))}\nfunction ne(b,c){var d=je(b,\"video\")||0;ae(b.a,c,d)}q.remove=function(b,c,d){return\"text\"==b?this.a.remove(c,d):me(this,b,this.se.bind(this,b,c,d))};function oe(b,c){if(\"text\"==c){if(!b.a)return Promise.resolve();b.m.c();return b.a.remove(0,Infinity)}return me(b,c,b.se.bind(b,c,0,b.h.duration))}q.flush=function(b){return\"text\"==b?Promise.resolve():me(this,b,this.Pe.bind(this,b))};\nfunction pe(b,c,d,e,f){return\"text\"==c?(b.a.m=d,b=b.a,b.f=e,b.h=f,Promise.resolve()):Promise.all([me(b,c,b.Be.bind(b,c)),me(b,c,b.kg.bind(b,c,d)),me(b,c,b.hg.bind(b,c,e,f))])}q.endOfStream=function(b){return qe(this,function(){ge(this)||(b?this.h.endOfStream(b):this.h.endOfStream())}.bind(this))};q.xa=function(b){return qe(this,function(){this.h.duration=b}.bind(this))};q.Y=function(){return this.h.duration};q.re=function(b,c){this.b[b].appendBuffer(c)};\nq.se=function(b,c,d){d<=c?this.xb(b):this.b[b].remove(c,d)};q.Be=function(b){var c=this.b[b].appendWindowStart,d=this.b[b].appendWindowEnd;this.b[b].abort();this.b[b].appendWindowStart=c;this.b[b].appendWindowEnd=d;this.xb(b)};q.Pe=function(b){this.f.currentTime-=.001;this.xb(b)};q.kg=function(b,c){0>c&&(c+=.001);this.b[b].timestampOffset=c;this.xb(b)};q.hg=function(b,c,d){this.b[b].appendWindowStart=0;this.b[b].appendWindowEnd=d;this.b[b].appendWindowStart=c;this.xb(b)};\nq.lg=function(b){this.c[b][0].p.reject(new D(2,3,3014,this.f.error?this.f.error.code:0))};q.xb=function(b){var c=this.c[b][0];c&&(c.p.resolve(),re(this,b))};function me(b,c,d){if(b.u)return Promise.reject();d={start:d,p:new F};b.c[c].push(d);if(1==b.c[c].length)try{d.start()}catch(e){\"QuotaExceededError\"==e.name?d.p.reject(new D(2,3,3017,c)):d.p.reject(new D(2,3,3015,e)),re(b,c)}return d.p}\nfunction qe(b,c){if(b.u)return Promise.reject();var d=[],e;for(e in b.b){var f=new F,g={start:function(b){b.resolve()}.bind(null,f),p:f};b.c[e].push(g);d.push(f);1==b.c[e].length&&g.start()}return Promise.all(d).then(function(){try{c()}catch(l){var b=Promise.reject(new D(2,3,3015,l))}for(var d in this.b)re(this,d);return b}.bind(b),function(b){throw b;}.bind(b))}function re(b,c){b.c[c].shift();var d=b.c[c][0];if(d)try{d.start()}catch(e){d.p.reject(new D(2,3,3015,e)),re(b,c)}};function se(b,c){b=M(b);c=M(c);return b.split(\"-\")[0]==c.split(\"-\")[0]}function te(b,c){b=M(b);c=M(c);var d=b.split(\"-\"),e=c.split(\"-\");return d[0]==e[0]&&1==d.length&&2==e.length}function M(b){var c=b.split(\"-\");b=c[0]||\"\";c=c[1]||\"\";b=b.toLowerCase();b=ue.get(b)||b;return(c=c.toUpperCase())?b+\"-\"+c:b}function ve(b){return b.language?M(b.language):b.audio&&b.audio.language?M(b.audio.language):b.video&&b.video.language?M(b.video.language):\"und\"}\nfunction we(b,c){for(var d=M(b),e=new Set,f=r(c),g=f.next();!g.done;g=f.next())e.add(M(g.value));f=r(e);for(g=f.next();!g.done;g=f.next())if(g=g.value,g==d)return g;f=r(e);for(g=f.next();!g.done;g=f.next())if(g=g.value,te(g,d))return g;f=r(e);for(g=f.next();!g.done;g=f.next()){var h=g=g.value,k=d;h=M(h);k=M(k);h=h.split(\"-\");k=k.split(\"-\");if(2==h.length&&2==k.length&&h[0]==k[0])return g}e=r(e);for(g=e.next();!g.done;g=e.next())if(f=g.value,te(d,f))return f;return null}\nvar ue=new Map([[\"aar\",\"aa\"],[\"abk\",\"ab\"],[\"afr\",\"af\"],[\"aka\",\"ak\"],[\"alb\",\"sq\"],[\"amh\",\"am\"],[\"ara\",\"ar\"],[\"arg\",\"an\"],[\"arm\",\"hy\"],[\"asm\",\"as\"],[\"ava\",\"av\"],[\"ave\",\"ae\"],[\"aym\",\"ay\"],[\"aze\",\"az\"],[\"bak\",\"ba\"],[\"bam\",\"bm\"],[\"baq\",\"eu\"],[\"bel\",\"be\"],[\"ben\",\"bn\"],[\"bih\",\"bh\"],[\"bis\",\"bi\"],[\"bod\",\"bo\"],[\"bos\",\"bs\"],[\"bre\",\"br\"],[\"bul\",\"bg\"],[\"bur\",\"my\"],[\"cat\",\"ca\"],[\"ces\",\"cs\"],[\"cha\",\"ch\"],[\"che\",\"ce\"],[\"chi\",\"zh\"],[\"chu\",\"cu\"],[\"chv\",\"cv\"],[\"cor\",\"kw\"],[\"cos\",\"co\"],[\"cre\",\"cr\"],[\"cym\",\"cy\"],[\"cze\",\n\"cs\"],[\"dan\",\"da\"],[\"deu\",\"de\"],[\"div\",\"dv\"],[\"dut\",\"nl\"],[\"dzo\",\"dz\"],[\"ell\",\"el\"],[\"eng\",\"en\"],[\"epo\",\"eo\"],[\"est\",\"et\"],[\"eus\",\"eu\"],[\"ewe\",\"ee\"],[\"fao\",\"fo\"],[\"fas\",\"fa\"],[\"fij\",\"fj\"],[\"fin\",\"fi\"],[\"fra\",\"fr\"],[\"fre\",\"fr\"],[\"fry\",\"fy\"],[\"ful\",\"ff\"],[\"geo\",\"ka\"],[\"ger\",\"de\"],[\"gla\",\"gd\"],[\"gle\",\"ga\"],[\"glg\",\"gl\"],[\"glv\",\"gv\"],[\"gre\",\"el\"],[\"grn\",\"gn\"],[\"guj\",\"gu\"],[\"hat\",\"ht\"],[\"hau\",\"ha\"],[\"heb\",\"he\"],[\"her\",\"hz\"],[\"hin\",\"hi\"],[\"hmo\",\"ho\"],[\"hrv\",\"hr\"],[\"hun\",\"hu\"],[\"hye\",\"hy\"],[\"ibo\",\"ig\"],[\"ice\",\n\"is\"],[\"ido\",\"io\"],[\"iii\",\"ii\"],[\"iku\",\"iu\"],[\"ile\",\"ie\"],[\"ina\",\"ia\"],[\"ind\",\"id\"],[\"ipk\",\"ik\"],[\"isl\",\"is\"],[\"ita\",\"it\"],[\"jav\",\"jv\"],[\"jpn\",\"ja\"],[\"kal\",\"kl\"],[\"kan\",\"kn\"],[\"kas\",\"ks\"],[\"kat\",\"ka\"],[\"kau\",\"kr\"],[\"kaz\",\"kk\"],[\"khm\",\"km\"],[\"kik\",\"ki\"],[\"kin\",\"rw\"],[\"kir\",\"ky\"],[\"kom\",\"kv\"],[\"kon\",\"kg\"],[\"kor\",\"ko\"],[\"kua\",\"kj\"],[\"kur\",\"ku\"],[\"lao\",\"lo\"],[\"lat\",\"la\"],[\"lav\",\"lv\"],[\"lim\",\"li\"],[\"lin\",\"ln\"],[\"lit\",\"lt\"],[\"ltz\",\"lb\"],[\"lub\",\"lu\"],[\"lug\",\"lg\"],[\"mac\",\"mk\"],[\"mah\",\"mh\"],[\"mal\",\"ml\"],[\"mao\",\n\"mi\"],[\"mar\",\"mr\"],[\"may\",\"ms\"],[\"mkd\",\"mk\"],[\"mlg\",\"mg\"],[\"mlt\",\"mt\"],[\"mon\",\"mn\"],[\"mri\",\"mi\"],[\"msa\",\"ms\"],[\"mya\",\"my\"],[\"nau\",\"na\"],[\"nav\",\"nv\"],[\"nbl\",\"nr\"],[\"nde\",\"nd\"],[\"ndo\",\"ng\"],[\"nep\",\"ne\"],[\"nld\",\"nl\"],[\"nno\",\"nn\"],[\"nob\",\"nb\"],[\"nor\",\"no\"],[\"nya\",\"ny\"],[\"oci\",\"oc\"],[\"oji\",\"oj\"],[\"ori\",\"or\"],[\"orm\",\"om\"],[\"oss\",\"os\"],[\"pan\",\"pa\"],[\"per\",\"fa\"],[\"pli\",\"pi\"],[\"pol\",\"pl\"],[\"por\",\"pt\"],[\"pus\",\"ps\"],[\"que\",\"qu\"],[\"roh\",\"rm\"],[\"ron\",\"ro\"],[\"rum\",\"ro\"],[\"run\",\"rn\"],[\"rus\",\"ru\"],[\"sag\",\"sg\"],[\"san\",\n\"sa\"],[\"sin\",\"si\"],[\"slk\",\"sk\"],[\"slo\",\"sk\"],[\"slv\",\"sl\"],[\"sme\",\"se\"],[\"smo\",\"sm\"],[\"sna\",\"sn\"],[\"snd\",\"sd\"],[\"som\",\"so\"],[\"sot\",\"st\"],[\"spa\",\"es\"],[\"sqi\",\"sq\"],[\"srd\",\"sc\"],[\"srp\",\"sr\"],[\"ssw\",\"ss\"],[\"sun\",\"su\"],[\"swa\",\"sw\"],[\"swe\",\"sv\"],[\"tah\",\"ty\"],[\"tam\",\"ta\"],[\"tat\",\"tt\"],[\"tel\",\"te\"],[\"tgk\",\"tg\"],[\"tgl\",\"tl\"],[\"tha\",\"th\"],[\"tib\",\"bo\"],[\"tir\",\"ti\"],[\"ton\",\"to\"],[\"tsn\",\"tn\"],[\"tso\",\"ts\"],[\"tuk\",\"tk\"],[\"tur\",\"tr\"],[\"twi\",\"tw\"],[\"uig\",\"ug\"],[\"ukr\",\"uk\"],[\"urd\",\"ur\"],[\"uzb\",\"uz\"],[\"ven\",\"ve\"],[\"vie\",\n\"vi\"],[\"vol\",\"vo\"],[\"wel\",\"cy\"],[\"wln\",\"wa\"],[\"wol\",\"wo\"],[\"xho\",\"xh\"],[\"yid\",\"yi\"],[\"yor\",\"yo\"],[\"zha\",\"za\"],[\"zho\",\"zh\"],[\"zul\",\"zu\"]]);var N={bd:function(b,c,d){function e(b,c,d){return b>=c&&b<=d}var f=b.video;return f&&f.width&&f.height&&(!e(f.width,c.minWidth,Math.min(c.maxWidth,d.width))||!e(f.height,c.minHeight,Math.min(c.maxHeight,d.height))||!e(f.width*f.height,c.minPixels,c.maxPixels))||b&&b.frameRate&&!e(b.frameRate,c.minFrameRate,c.maxFrameRate)||!e(b.bandwidth,c.minBandwidth,c.maxBandwidth)?!1:!0},Gd:function(b,c,d){var e=!1;b.forEach(function(b){var f=b.allowedByApplication;b.allowedByApplication=N.bd(b,c,d);f!=b.allowedByApplication&&\n(e=!0)});return e},filterNewPeriod:function(b,c,d,e){e.variants=e.variants.filter(function(e){if(b&&b.S&&!md(b,e))return!1;var f=e.audio;e=e.video;return f&&!ee(f)||e&&!ee(e)||f&&c&&!N.Hd(f,c)||e&&d&&!N.Hd(e,d)?!1:!0});e.textStreams=e.textStreams.filter(function(b){return Yd(oc(b.mimeType,b.codecs))})},Hd:function(b,c){return b.mimeType!=c.mimeType||b.codecs.split(\".\")[0]!=c.codecs.split(\".\")[0]?!1:!0},Ed:function(b){var c=b.audio,d=b.video,e=c?c.codecs:null,f=d?d.codecs:null,g=[];f&&g.push(f);e&&\ng.push(e);var h=[];d&&h.push(d.mimeType);c&&h.push(c.mimeType);h=h[0]||null;var k=[];c&&k.push(c.kind);d&&k.push(d.kind);k=k[0]||null;var l=new Set;c&&c.roles.forEach(function(b){return l.add(b)});d&&d.roles.forEach(function(b){return l.add(b)});b={id:b.id,active:!1,type:\"variant\",bandwidth:b.bandwidth,language:b.language,label:null,kind:k,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:h,codecs:g.join(\", \"),audioCodec:e,videoCodec:f,primary:b.primary,roles:Array.from(l),audioRoles:null,\nvideoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null};d&&(b.videoId=d.id,b.originalVideoId=d.originalId,b.width=d.width||null,b.height=d.height||null,b.frameRate=d.frameRate||null,b.pixelAspectRatio=d.pixelAspectRatio||null,b.videoBandwidth=d.bandwidth||null);c&&(b.audioId=c.id,b.originalAudioId=c.originalId,b.channelsCount=c.channelsCount,b.audioSamplingRate=c.audioSamplingRate,b.audioBandwidth=\nc.bandwidth||null,b.label=c.label,b.audioRoles=c.roles);return b},xc:function(b){return{id:b.id,active:!1,type:\"text\",bandwidth:0,language:b.language,label:b.label,kind:b.kind||null,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:b.mimeType,codecs:b.codecs||null,audioCodec:null,videoCodec:null,primary:b.primary,roles:b.roles,audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,\noriginalTextId:b.originalId}},Wc:function(b){b.__shaka_id||(b.__shaka_id=N.yf++);return b.__shaka_id},yf:0,sf:function(b){var c=N.Sd(b);c.active=\"disabled\"!=b.mode;c.type=\"text\";c.originalTextId=b.id;\"captions\"==b.kind&&(c.mimeType=\"application/cea-608\");return c},rf:function(b){var c=N.Sd(b);c.active=b.enabled;c.type=\"variant\";c.originalAudioId=b.id;\"main\"==b.kind?(c.primary=!0,c.roles=[\"main\"],c.audioRoles=[\"main\"]):c.audioRoles=[];return c},Sd:function(b){return{id:N.Wc(b),active:!1,type:\"\",bandwidth:0,\nlanguage:M(b.language),label:b.label,kind:b.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null}},rb:function(b){return b.allowedByApplication&&b.allowedByKeySystem},df:function(b){return b.filter(function(b){return N.rb(b)})},\nNd:function(b,c){var d=b.filter(function(b){return b.audio&&b.audio.channelsCount}),e=new Map;d=r(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;var g=f.audio.channelsCount;e.has(g)||e.set(g,[]);e.get(g).push(f)}d=Array.from(e.keys());if(0==d.length)return b;f=d.filter(function(b){return b<=c});return f.length?e.get(Math.max.apply(null,f)):e.get(Math.min.apply(null,d))},Jb:function(b,c,d){var e=b,f=b.filter(function(b){return b.primary});f.length&&(e=f);var g=e.length?e[0].language:\"\";e=e.filter(function(b){return b.language==\ng});if(c){var h=we(M(c),b.map(function(b){return b.language}));h&&(e=b.filter(function(b){return M(b.language)==h}))}if(d){if(b=N.Md(e,d),b.length)return b}else if(b=e.filter(function(b){return 0==b.roles.length}),b.length)return b;b=e.map(function(b){return b.roles}).reduce(ud.Gc,[]);return b.length?N.Md(e,b[0]):e},Md:function(b,c){return b.filter(function(b){return b.roles.includes(c)})},Qd:function(b,c,d){for(var e=0;e<d.length;e++)if(d[e].audio==b&&d[e].video==c)return d[e];return null},tf:function(b){return\"audio\"==\nb.type},wf:function(b){return\"video\"==b.type},nf:function(b){var c=[];b.audio&&c.push(b.audio);b.video&&c.push(b.video);return c},Gg:function(b){return N.tf(b)?\"type=audio codecs=\"+b.codecs+\" bandwidth=\"+b.bandwidth+\" channelsCount=\"+b.channelsCount+\" audioSamplingRate=\"+b.audioSamplingRate:N.wf(b)?\"type=video codecs=\"+b.codecs+\" bandwidth=\"+b.bandwidth+\" frameRate=\"+b.frameRate+\" width=\"+b.width+\" height=\"+b.height:\"unexpected stream type\"}};function O(){this.h=null;this.f=!1;this.b=new ab;this.c=[];this.i=!1;this.a=this.g=null}A(\"shaka.abr.SimpleAbrManager\",O);O.prototype.stop=function(){this.h=null;this.f=!1;this.c=[];this.g=null};O.prototype.stop=O.prototype.stop;O.prototype.init=function(b){this.h=b};O.prototype.init=O.prototype.init;\nO.prototype.chooseVariant=function(){var b=xe(this.a.restrictions,this.c),c=this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate);this.c.length&&!b.length&&(b=xe(null,this.c),b=[b[0]]);for(var d=b[0]||null,e=0;e<b.length;++e){var f=b[e],g=(b[e+1]||{bandwidth:Infinity}).bandwidth/this.a.bandwidthUpgradeTarget;c>=f.bandwidth/this.a.bandwidthDowngradeTarget&&c<=g&&(d=f)}this.g=Date.now();return d};O.prototype.chooseVariant=O.prototype.chooseVariant;O.prototype.enable=function(){this.f=!0};\nO.prototype.enable=O.prototype.enable;O.prototype.disable=function(){this.f=!1};O.prototype.disable=O.prototype.disable;O.prototype.segmentDownloaded=function(b,c){var d=this.b;if(!(16E3>c)){var e=8E3*c/b,f=b/1E3;d.a+=c;Za(d.b,f,e);Za(d.c,f,e)}if(null!=this.g&&this.f)a:{if(!this.i){if(!(128E3<=this.b.a))break a;this.i=!0}else if(Date.now()-this.g<1E3*this.a.switchInterval)break a;d=this.chooseVariant();this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate);this.h(d)}};\nO.prototype.segmentDownloaded=O.prototype.segmentDownloaded;O.prototype.getBandwidthEstimate=function(){return this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate)};O.prototype.getBandwidthEstimate=O.prototype.getBandwidthEstimate;O.prototype.setVariants=function(b){this.c=b};O.prototype.setVariants=O.prototype.setVariants;O.prototype.configure=function(b){this.a=b};O.prototype.configure=O.prototype.configure;\nfunction xe(b,c){b&&(c=c.filter(function(c){return N.bd(c,b,{width:Infinity,height:Infinity})}));return c.sort(function(b,c){return b.bandwidth-c.bandwidth})};function ye(b,c){this.a=b;this.b=c}ye.prototype.toString=function(){return\"v\"+this.a+\".\"+this.b};function ze(b,c){var d=new ye(2,6),e=Ae,f=e.a,g=d.b-f.b;(0<(d.a-f.a||g)?e.c:e.b)(e.a,d,b,c)}function Be(b,c,d,e){cb([d,\"has been deprecated and will be removed in\",c,\". We are currently at version\",b,\". Additional information:\",e].join(\" \"))}function Ce(b,c,d,e){bb([d,\"has been deprecated and has been removed in\",c,\". We are now at version\",b,\". Additional information:\",e].join(\"\"))}var Ae=null;var De=\"ended play playing pause pausing ratechange seeked seeking timeupdate volumechange\".split(\" \"),Ee=\"buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume\".split(\" \"),Fe=[\"loop\",\"playbackRate\"],Ge=[\"pause\",\"play\"],He=\"abrstatuschanged adaptation buffering drmsessionupdate emsg error expirationupdated largegap loading manifestparsed onstatechange onstateidle streaming textchanged texttrackvisibility timelineregionadded timelineregionenter timelineregionexit trackschanged unloading variantchanged\".split(\" \"),\nIe={getAssetUri:2,getAudioLanguages:2,getAudioLanguagesAndRoles:2,getBufferedInfo:2,getConfiguration:2,getExpiration:2,getPlaybackRate:2,getTextLanguages:2,getTextLanguagesAndRoles:2,getTextTracks:2,getStats:5,getVariantTracks:2,isAudioOnly:10,isBuffering:1,isInProgress:1,isLive:10,isTextTrackVisible:1,keySystem:10,seekRange:1,usingEmbeddedTextTrack:2,getLoadMode:10},Je={getPlayheadTimeAsDate:1,getPresentationStartTimeAsDate:20},Ke=[[\"getConfiguration\",\"configure\"]],Le=[[\"isTextTrackVisible\",\"setTextTrackVisibility\"]],\nMe=\"addTextTrack cancelTrickPlay configure resetConfiguration retryStreaming selectAudioLanguage selectEmbeddedTextTrack selectTextLanguage selectTextTrack selectVariantTrack selectVariantsByLabel setTextTrackVisibility trickPlay\".split(\" \"),Ne=[\"attach\",\"detach\",\"load\",\"unload\"];\nfunction Oe(b){return JSON.stringify(b,function(b,d){if(\"function\"!=typeof d){if(d instanceof Event||d instanceof I){var c={},f;for(f in d){var g=d[f];g&&\"object\"==typeof g?\"detail\"==f&&(c[f]=g):f in Event||(c[f]=g)}return c}if(d instanceof TimeRanges)for(c={__type__:\"TimeRanges\",length:d.length,start:[],end:[]},f=0;f<d.length;++f)c.start.push(d.start(f)),c.end.push(d.end(f));else c=d instanceof Uint8Array?{__type__:\"Uint8Array\",entries:Array.from(d)}:\"number\"==typeof d?isNaN(d)?\"NaN\":isFinite(d)?\nd:0>d?\"-Infinity\":\"Infinity\":d;return c}})}function Pe(b){return JSON.parse(b,function(b,d){return\"NaN\"==d?NaN:\"-Infinity\"==d?-Infinity:\"Infinity\"==d?Infinity:d&&\"object\"==typeof d&&\"TimeRanges\"==d.__type__?Qe(d):d&&\"object\"==typeof d&&\"Uint8Array\"==d.__type__?new Uint8Array(d.entries):d})}function Qe(b){return{length:b.length,start:function(c){return b.start[c]},end:function(c){return b.end[c]}}};function Re(b,c,d,e,f,g){this.O=b;this.f=new C(c);this.S=d;this.l=!1;this.F=e;this.K=f;this.B=g;this.b=this.h=!1;this.D=\"\";this.i=null;this.m=this.ce.bind(this);this.s=this.Ff.bind(this);this.a={video:{},player:{}};this.u=0;this.c={};this.g=null;Se.add(this)}var Te=!1,Ue=null;q=Re.prototype;q.destroy=function(){Se[\"delete\"](this);Ve(this);Ue&&We(this);this.f&&(this.f.stop(),this.f=null);this.K=this.F=null;this.b=this.h=!1;this.s=this.m=this.g=this.c=this.a=this.i=null;return Promise.resolve()};\nq.ga=function(){return this.b};q.nd=function(){return this.D};q.init=function(){if(window.chrome&&chrome.cast&&chrome.cast.isAvailable&&this.O.length){this.h=!0;this.f.yc();var b=new chrome.cast.SessionRequest(this.O);b=new chrome.cast.ApiConfig(b,Xe.bind(this),Ye.bind(this),\"origin_scoped\");chrome.cast.initialize(b,function(){},function(){});Te&&this.f.R(.02);(b=Ue)&&b.status!=chrome.cast.SessionStatus.STOPPED?Ze(this,b):Ue=null}};q.ud=function(b){this.i=b;this.b&&$e({type:\"appData\",appData:this.i})};\nq.cast=function(b){if(!this.h)return Promise.reject(new D(1,8,8E3));if(!Te)return Promise.reject(new D(1,8,8001));if(this.b)return Promise.reject(new D(1,8,8002));this.g=new F;chrome.cast.requestSession(this.kd.bind(this,b),this.be.bind(this));return this.g};q.Kb=function(){this.b&&(Ve(this),Ue&&(We(this),Ue.stop(function(){},function(){}),Ue=null))};\nq.get=function(b,c){if(\"video\"==b){if(Ge.includes(c))return this.le.bind(this,b,c)}else if(\"player\"==b){if(Je[c]&&!this.get(\"player\",\"isLive\")())return function(){};if(Me.includes(c))return this.le.bind(this,b,c);if(Ne.includes(c))return this.Wf.bind(this,b,c);if(Ie[c])return this.ie.bind(this,b,c)}return this.ie(b,c)};q.set=function(b,c,d){this.a[b][c]=d;$e({type:\"set\",targetName:b,property:c,value:d})};\nq.kd=function(b,c){Ue=c;c.addUpdateListener(this.m);c.addMessageListener(\"urn:x-cast:com.google.shaka.v2\",this.s);this.ce();$e({type:\"init\",initState:b,appData:this.i});this.g.resolve()};q.be=function(b){var c=8003;switch(b.code){case \"cancel\":c=8004;break;case \"timeout\":c=8005;break;case \"receiver_unavailable\":c=8006}this.g.reject(new D(2,8,c,b))};q.ie=function(b,c){return this.a[b][c]};\nq.le=function(b,c,d){for(var e=[],f=2;f<arguments.length;++f)e[f-2]=arguments[f];$e({type:\"call\",targetName:b,methodName:c,args:e})};q.Wf=function(b,c,d){for(var e=[],f=2;f<arguments.length;++f)e[f-2]=arguments[f];f=new F;var g=this.u.toString();this.u++;this.c[g]=f;$e({type:\"asyncCall\",targetName:b,methodName:c,args:e,id:g});return f};function Xe(b){for(var c=r(Se),d=c.next();!d.done;d=c.next())Ze(d.value,b)}function Ze(b,c){var d=b.B();b.g=new F;b.l=!0;b.kd(d,c)}\nfunction Ye(b){for(var c=r(Se),d=c.next();!d.done;d=c.next())d=d.value,Te=\"available\"==b,d.f.yc()}function We(b){var c=Ue;c.removeUpdateListener(b.m);c.removeMessageListener(\"urn:x-cast:com.google.shaka.v2\",b.s)}q.ce=function(){var b=Ue?\"connected\"==Ue.status:!1;if(this.b&&!b){this.K();for(var c in this.a)this.a[c]={};Ve(this)}this.D=(this.b=b)?Ue.receiver.friendlyName:\"\";this.f.yc()};function Ve(b){for(var c in b.c){var d=b.c[c];delete b.c[c];d.reject(new D(1,7,7E3))}}\nq.Ff=function(b,c){var d=Pe(c);switch(d.type){case \"event\":var e=d.event;this.F(d.targetName,new I(e.type,e));break;case \"update\":e=d.update;for(var f in e){d=this.a[f]||{};for(var g in e[f])d[g]=e[f][g]}this.l&&(this.S(),this.l=!1);break;case \"asyncComplete\":if(f=d.id,d=d.error,g=this.c[f],delete this.c[f],g)if(d){f=new D(d.severity,d.category,d.code);for(e in d)f[e]=d[e];g.reject(f)}else g.resolve()}};function $e(b){b=Oe(b);Ue.sendMessage(\"urn:x-cast:com.google.shaka.v2\",b,function(){},db)}\nvar Se=new Set;window.__onGCastApiAvailable=function(b){if(b){b=r(Se);for(var c=b.next();!c.done;c=b.next())c.value.init()}};function P(b,c,d){var e=this;Mb.call(this);this.c=b;this.b=c;this.i=this.g=this.f=this.l=this.h=null;this.s=d;this.m=new Map;this.a=new Re(d,function(){return af(e)},function(){return bf(e)},function(b,c){return cf(e,b,c)},function(){return df(e)},function(){return ef(e)});ff(this)}Xa(P,Mb);A(\"shaka.cast.CastProxy\",P);\nP.prototype.destroy=function(b){b&&this.a.Kb();this.i&&(this.i.release(),this.i=null);b=[];this.b&&(b.push(this.b.destroy()),this.b=null);this.a&&(b.push(this.a.destroy()),this.a=null);this.l=this.h=this.c=null;return Promise.all(b)};P.prototype.destroy=P.prototype.destroy;P.prototype.pf=function(){return this.h};P.prototype.getVideo=P.prototype.pf;P.prototype.ff=function(){return this.l};P.prototype.getPlayer=P.prototype.ff;P.prototype.Ee=function(){return this.a.h&&Te};P.prototype.canCast=P.prototype.Ee;\nP.prototype.ga=function(){return this.a.ga()};P.prototype.isCasting=P.prototype.ga;P.prototype.nd=function(){return this.a.nd()};P.prototype.receiverName=P.prototype.nd;P.prototype.cast=function(){var b=ef(this);return this.a.cast(b).then(function(){if(this.b)return this.b.Cd()}.bind(this))};P.prototype.cast=P.prototype.cast;P.prototype.ud=function(b){this.a.ud(b)};P.prototype.setAppData=P.prototype.ud;\nP.prototype.sg=function(){var b=this.a;if(b.b){var c=b.B();chrome.cast.requestSession(b.kd.bind(b,c),b.be.bind(b))}};P.prototype.suggestDisconnect=P.prototype.sg;\nP.prototype.He=function(b){var c=this;return t(function e(){return z(e,function(e){switch(e.j){case 1:if(b==c.s)return e[\"return\"]();c.s=b;c.a.Kb();return u(e,c.a.destroy(),2);case 2:c.a=null,c.a=new Re(b,function(){return af(c)},function(){return bf(c)},function(b,e){return cf(c,b,e)},function(){return df(c)},function(){return ef(c)}),c.a.init(),w(e)}})})};P.prototype.changeReceiverId=P.prototype.He;P.prototype.Kb=function(){this.a.Kb()};P.prototype.forceDisconnect=P.prototype.Kb;\nfunction ff(b){b.a.init();b.i=new K;De.forEach(function(b){this.i.w(this.c,b,this.D.bind(this))}.bind(b));He.forEach(function(b){this.i.w(this.b,b,this.u.bind(this))}.bind(b));b.h={};for(var c in b.c)Object.defineProperty(b.h,c,{configurable:!1,enumerable:!0,get:b.B.bind(b,c),set:b.F.bind(b,c)});b.l={};gf(b,function(c){Object.defineProperty(b.l,c,{configurable:!1,enumerable:!0,get:function(){return hf(b,c)}})});jf(b);b.f=new Mb;b.f.$b=b.h;b.g=new Mb;b.g.$b=b.l}\nfunction jf(b){var c=new Map;gf(b,function(d,e){if(c.has(e)){var f=c.get(e);d.length<f.length?b.m.set(d,f):b.m.set(f,d)}else c.set(e,d)})}\nfunction gf(b,c){function d(b){return\"constructor\"==b||\"function\"!=typeof e[b]?!1:!f.has(b)}var e=b.b,f=new Set;for(g in e)d(g)&&(f.add(g),c(g,e[g]));var g=Object.getPrototypeOf(e);for(var h=Object.getPrototypeOf({});g&&g!=h;){for(var k=r(Object.getOwnPropertyNames(g)),l=k.next();!l.done;l=k.next())l=l.value,d(l)&&(f.add(l),c(l,e[l]));g=Object.getPrototypeOf(g)}}\nfunction ef(b){var c={video:{},player:{},playerAfterLoad:{},manifest:b.b.hc(),startTime:null};b.c.pause();Fe.forEach(function(b){c.video[b]=this.c[b]}.bind(b));b.c.ended||(c.startTime=b.c.currentTime);Ke.forEach(function(b){var d=b[1];b=this.b[b[0]]();c.player[d]=b}.bind(b));Le.forEach(function(b){var d=b[1];b=this.b[b[0]]();c.playerAfterLoad[d]=b}.bind(b));return c}function af(b){b.dispatchEvent(new I(\"caststatuschanged\"))}function bf(b){b.f.dispatchEvent(new I(b.h.paused?\"pause\":\"play\"))}\nfunction df(b){Ke.forEach(function(b){var c=b[1];b=this.a.get(\"player\",b[0])();this.b[c](b)}.bind(b));var c=b.a.get(\"player\",\"getAssetUri\")(),d=b.a.get(\"video\",\"ended\"),e=Promise.resolve(),f=b.c.autoplay,g=null;d||(g=b.a.get(\"video\",\"currentTime\"));c&&(b.c.autoplay=!1,e=b.b.load(c,g));var h={};Fe.forEach(function(b){h[b]=this.a.get(\"video\",b)}.bind(b));e.then(function(){b.c&&(Fe.forEach(function(b){this.c[b]=h[b]}.bind(b)),Le.forEach(function(b){var c=b[1];b=this.a.get(\"player\",b[0])();this.b[c](b)}.bind(b)),\nb.c.autoplay=f,c&&b.c.play())},function(c){b.b.dispatchEvent(new I(\"error\",{detail:c}))})}P.prototype.B=function(b){if(\"addEventListener\"==b)return this.f.addEventListener.bind(this.f);if(\"removeEventListener\"==b)return this.f.removeEventListener.bind(this.f);if(this.a.ga()&&0==Object.keys(this.a.a.video).length){var c=this.c[b];if(\"function\"!=typeof c)return c}return this.a.ga()?this.a.get(\"video\",b):(b=this.c[b],\"function\"==typeof b&&(b=b.bind(this.c)),b)};\nP.prototype.F=function(b,c){this.a.ga()?this.a.set(\"video\",b,c):this.c[b]=c};P.prototype.D=function(b){this.a.ga()||this.f.dispatchEvent(new I(b.type,b))};\nfunction hf(b,c){b.m.has(c)&&(c=b.m.get(c));if(\"addEventListener\"==c)return b.g.addEventListener.bind(b.g);if(\"removeEventListener\"==c)return b.g.removeEventListener.bind(b.g);if(\"getMediaElement\"==c)return function(){return this.h}.bind(b);if(\"getSharedConfiguration\"==c)return b.a.get(\"player\",\"getConfiguration\");if(\"getNetworkingEngine\"==c)return b.b.Mb.bind(b.b);if(b.a.ga()){if(\"getManifest\"==c||\"drmInfo\"==c)return function(){cb(c+\"() does not work while casting!\");return null};if(\"getManifestUri\"==\nc)return ze(\"getManifestUri\",'Please use \"getAssetUri\" instead.'),hf(b,\"getAssetUri\");if(\"attach\"==c||\"detach\"==c)return function(){cb(c+\"() does not work while casting!\");return Promise.resolve()}}return b.a.ga()&&0==Object.keys(b.a.a.video).length&&Ie[c]||!b.a.ga()?b.b[c].bind(b.b):b.a.get(\"player\",c)}P.prototype.u=function(b){this.a.ga()||this.g.dispatchEvent(b)};function cf(b,c,d){b.a.ga()&&(\"video\"==c?b.f.dispatchEvent(d):\"player\"==c&&b.g.dispatchEvent(d))};function kf(b,c,d,e){var f=this;Mb.call(this);this.a=b;this.b=c;this.c=new K;this.D={video:b,player:c};this.s=d||function(){};this.F=e||function(b){return b};this.u=!1;this.h=!0;this.g=0;this.m=!1;this.l=!0;this.i=this.f=null;this.B=new C(function(){lf(f)});mf(this)}Xa(kf,Mb);A(\"shaka.cast.CastReceiver\",kf);kf.prototype.isConnected=function(){return this.u};kf.prototype.isConnected=kf.prototype.isConnected;kf.prototype.vf=function(){return this.h};kf.prototype.isIdle=kf.prototype.vf;\nkf.prototype.destroy=function(){var b=this;return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return b.c&&(b.c.release(),b.c=null),e=[],b.b&&(e.push(b.b.destroy()),b.b=null),b.B&&(b.B.stop(),b.B=null),b.a=null,b.D=null,b.s=null,b.u=!1,b.h=!0,b.f=null,b.i=null,u(d,Promise.all(e),2);case 2:f=cast.receiver.CastReceiverManager.getInstance(),f.stop(),w(d)}})})};kf.prototype.destroy=kf.prototype.destroy;\nfunction mf(b){var c=cast.receiver.CastReceiverManager.getInstance();c.onSenderConnected=b.ee.bind(b);c.onSenderDisconnected=b.ee.bind(b);c.onSystemVolumeChanged=b.Oe.bind(b);b.i=c.getCastMessageBus(\"urn:x-cast:com.google.cast.media\");b.i.onMessage=b.Af.bind(b);b.f=c.getCastMessageBus(\"urn:x-cast:com.google.shaka.v2\");b.f.onMessage=b.Kf.bind(b);c.start();De.forEach(function(b){this.c.w(this.a,b,this.je.bind(this,\"video\"))}.bind(b));He.forEach(function(b){this.c.w(this.b,b,this.je.bind(this,\"player\"))}.bind(b));\ncast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs=\"avc1.640028\"; width=3840; height=2160')?b.b.vd(3840,2160):b.b.vd(1920,1080);b.c.w(b.a,\"loadeddata\",function(){this.m=!0}.bind(b));b.c.w(b.b,\"loading\",function(){this.h=!1;nf(this)}.bind(b));b.c.w(b.a,\"playing\",function(){this.h=!1;nf(this)}.bind(b));b.c.w(b.a,\"pause\",function(){nf(this)}.bind(b));b.c.w(b.b,\"unloading\",function(){this.h=!0;nf(this)}.bind(b));b.c.w(b.a,\"ended\",function(){var b=this;(new C(function(){b.a&&b.a.ended&&\n(b.h=!0,nf(b))})).R(5)}.bind(b))}q=kf.prototype;q.ee=function(){this.g=0;this.l=!0;this.u=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length;nf(this)};function nf(b){Promise.resolve().then(function(){this.b&&(this.dispatchEvent(new I(\"caststatuschanged\")),of(this)||pf(this,0))}.bind(b))}\nfunction qf(b,c,d){for(var e in c.player)b.b[e](c.player[e]);b.s(d);d=Promise.resolve();var f=b.a.autoplay;c.manifest&&(b.a.autoplay=!1,d=b.b.load(c.manifest,c.startTime));d.then(function(){if(b.b){for(var d in c.video)b.a[d]=c.video[d];for(var e in c.playerAfterLoad)b.b[e](c.playerAfterLoad[e]);b.a.autoplay=f;c.manifest&&(b.a.play(),pf(b,0))}},function(c){b.b.dispatchEvent(new I(\"error\",{detail:c}))})}q.je=function(b,c){this.b&&(lf(this),rf(this,{type:\"event\",targetName:b,event:c},this.f))};\nfunction lf(b){b.B.R(.5);var c={video:{},player:{}};Ee.forEach(function(b){c.video[b]=this.a[b]}.bind(b));if(b.b.V())for(var d in Je)0==b.g%Je[d]&&(c.player[d]=b.b[d]());for(var e in Ie)0==b.g%Ie[e]&&(c.player[e]=b.b[e]());if(d=cast.receiver.CastReceiverManager.getInstance().getSystemVolume())c.video.volume=d.level,c.video.muted=d.muted;b.m&&(b.g+=1);rf(b,{type:\"update\",update:c},b.f);of(b)}function of(b){return b.l&&(b.a.duration||b.b.V())?(sf(b),b.l=!1,!0):!1}\nfunction sf(b){var c={contentId:b.b.hc(),streamType:b.b.V()?\"LIVE\":\"BUFFERED\",duration:b.a.duration,contentType:\"\"};pf(b,0,c)}q.Oe=function(){var b=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();b&&rf(this,{type:\"update\",update:{video:{volume:b.level,muted:b.muted}}},this.f);rf(this,{type:\"event\",targetName:\"video\",event:{type:\"volumechange\"}},this.f)};\nq.Kf=function(b){var c=Pe(b.data);switch(c.type){case \"init\":this.g=0;this.m=!1;this.l=!0;qf(this,c.initState,c.appData);lf(this);break;case \"appData\":this.s(c.appData);break;case \"set\":var d=c.targetName,e=c.property;c=c.value;if(\"video\"==d){var f=cast.receiver.CastReceiverManager.getInstance();if(\"volume\"==e){f.setSystemVolumeLevel(c);break}else if(\"muted\"==e){f.setSystemVolumeMuted(c);break}}this.D[d][e]=c;break;case \"call\":d=this.D[c.targetName];d[c.methodName].apply(d,c.args);break;case \"asyncCall\":d=\nc.targetName;e=c.methodName;\"player\"==d&&\"load\"==e&&(this.g=0,this.m=!1);f=c.id;b=b.senderId;var g=this.D[d];c=g[e].apply(g,c.args);\"player\"==d&&\"load\"==e&&(c=c.then(function(){this.l=!0}.bind(this)));c.then(this.oe.bind(this,b,f,null),this.oe.bind(this,b,f))}};\nq.Af=function(b){var c=Pe(b.data);switch(c.type){case \"PLAY\":this.a.play();pf(this,0);break;case \"PAUSE\":this.a.pause();pf(this,0);break;case \"SEEK\":b=c.currentTime;var d=c.resumeState;null!=b&&(this.a.currentTime=Number(b));d&&\"PLAYBACK_START\"==d?(this.a.play(),pf(this,0)):d&&\"PLAYBACK_PAUSE\"==d&&(this.a.pause(),pf(this,0));break;case \"STOP\":this.b.Cd().then(function(){this.b&&pf(this,0)}.bind(this));break;case \"GET_STATUS\":pf(this,Number(c.requestId));break;case \"VOLUME\":d=c.volume;b=d.level;d=\nd.muted;var e=this.a.volume,f=this.a.muted;null!=b&&(this.a.volume=Number(b));null!=d&&(this.a.muted=d);e==this.a.volume&&f==this.a.muted||pf(this,0);break;case \"LOAD\":this.g=0;this.l=this.m=!1;b=c.media;d=c.currentTime;e=this.F(b.contentId);f=c.autoplay||!0;this.s(b.customData);f&&(this.a.autoplay=!0);this.b.load(e,d).then(function(){this.b&&sf(this)}.bind(this))[\"catch\"](function(b){var d=\"LOAD_FAILED\";7==b.category&&7E3==b.code&&(d=\"LOAD_CANCELLED\");rf(this,{requestId:Number(c.requestId),type:d},\nthis.i)}.bind(this));break;default:rf(this,{requestId:Number(c.requestId),type:\"INVALID_REQUEST\",reason:\"INVALID_COMMAND\"},this.i)}};q.oe=function(b,c,d){this.b&&rf(this,{type:\"asyncComplete\",id:c,error:d},this.f,b)};function rf(b,c,d,e){b.u&&(b=Oe(c),e?d.getCastChannel(e).send(b):d.broadcast(b))}\nfunction pf(b,c,d){var e=b.a.playbackRate;var f=tf;f=b.h?f.IDLE:b.b.Xc()?f.we:b.a.paused?f.ye:f.ze;e={mediaSessionId:0,playbackRate:e,playerState:f,currentTime:b.a.currentTime,supportedMediaCommands:15,volume:{level:b.a.volume,muted:b.a.muted}};d&&(e.media=d);rf(b,{requestId:c,type:\"MEDIA_STATUS\",status:[e]},b.i)}var tf={IDLE:\"IDLE\",ze:\"PLAYING\",we:\"BUFFERING\",ye:\"PAUSED\"};function Q(b,c){this.J=b;this.b=c==uf;this.a=0}A(\"shaka.util.DataViewReader\",Q);var uf=1;Q.Endianness={Bg:0,Dg:uf};Q.prototype.ua=function(){return this.a<this.J.byteLength};Q.prototype.hasMoreData=Q.prototype.ua;Q.prototype.ca=function(){return this.a};Q.prototype.getPosition=Q.prototype.ca;Q.prototype.Ve=function(){return this.J.byteLength};Q.prototype.getLength=Q.prototype.Ve;Q.prototype.la=function(){try{var b=this.J.getUint8(this.a);this.a+=1;return b}catch(c){vf()}};Q.prototype.readUint8=Q.prototype.la;\nQ.prototype.Tb=function(){try{var b=this.J.getUint16(this.a,this.b);this.a+=2;return b}catch(c){vf()}};Q.prototype.readUint16=Q.prototype.Tb;Q.prototype.G=function(){try{var b=this.J.getUint32(this.a,this.b);this.a+=4;return b}catch(c){vf()}};Q.prototype.readUint32=Q.prototype.G;Q.prototype.ke=function(){try{var b=this.J.getInt32(this.a,this.b);this.a+=4;return b}catch(c){vf()}};Q.prototype.readInt32=Q.prototype.ke;\nQ.prototype.Bb=function(){try{if(this.b){var b=this.J.getUint32(this.a,!0);var c=this.J.getUint32(this.a+4,!0)}else c=this.J.getUint32(this.a,!1),b=this.J.getUint32(this.a+4,!1)}catch(d){vf()}if(2097151<c)throw new D(2,3,3001);this.a+=8;return c*Math.pow(2,32)+b};Q.prototype.readUint64=Q.prototype.Bb;Q.prototype.Za=function(b){this.a+b>this.J.byteLength&&vf();var c=new Uint8Array(this.J.buffer,this.J.byteOffset+this.a,b);this.a+=b;return c};Q.prototype.readBytes=Q.prototype.Za;\nQ.prototype.M=function(b){this.a+b>this.J.byteLength&&vf();this.a+=b};Q.prototype.skip=Q.prototype.M;Q.prototype.me=function(b){this.a<b&&vf();this.a-=b};Q.prototype.rewind=Q.prototype.me;Q.prototype.seek=function(b){(0>b||b>this.J.byteLength)&&vf();this.a=b};Q.prototype.seek=Q.prototype.seek;Q.prototype.md=function(){for(var b=this.a;this.ua()&&0!=this.J.getUint8(this.a);)this.a+=1;b=new Uint8Array(this.J.buffer,this.J.byteOffset+b,this.a-b);this.a+=1;return Bc(b)};\nQ.prototype.readTerminatedString=Q.prototype.md;function vf(){throw new D(2,3,3E3);};function R(){this.c=[];this.b=[];this.a=!1}A(\"shaka.util.Mp4Parser\",R);R.prototype.H=function(b,c){var d=wf(b);this.c[d]=0;this.b[d]=c;return this};R.prototype.box=R.prototype.H;R.prototype.fa=function(b,c){var d=wf(b);this.c[d]=1;this.b[d]=c;return this};R.prototype.fullBox=R.prototype.fa;R.prototype.stop=function(){this.a=!0};R.prototype.stop=R.prototype.stop;\nR.prototype.parse=function(b,c){var d=new Uint8Array(b);d=new Q(new DataView(d.buffer,d.byteOffset,d.byteLength),0);for(this.a=!1;d.ua()&&!this.a;)this.sc(0,d,c)};R.prototype.parse=R.prototype.parse;\nR.prototype.sc=function(b,c,d){var e=c.ca(),f=c.G(),g=c.G();switch(f){case 0:f=c.J.byteLength-e;break;case 1:f=c.Bb()}var h=this.b[g];if(h){var k=null,l=null;1==this.c[g]&&(l=c.G(),k=l>>>24,l&=16777215);g=e+f;d&&g>c.J.byteLength&&(g=c.J.byteLength);g-=c.ca();c=0<g?c.Za(g):new Uint8Array(0);c=new Q(new DataView(c.buffer,c.byteOffset,c.byteLength),0);h({parser:this,partialOkay:d||!1,version:k,flags:l,reader:c,size:f,start:e+b})}else c.M(Math.min(e+f-c.ca(),c.J.byteLength-c.ca()))};\nR.prototype.parseNext=R.prototype.sc;function xf(b){for(var c=null!=b.flags?12:8;b.reader.ua()&&!b.parser.a;)b.parser.sc(b.start+c,b.reader,b.partialOkay)}R.children=xf;function yf(b){for(var c=null!=b.flags?12:8,d=b.reader.G();0<d&&!b.parser.a;--d)b.parser.sc(b.start+c,b.reader,b.partialOkay)}R.sampleDescription=yf;function zf(b){return function(c){b(c.reader.Za(c.reader.J.byteLength-c.reader.ca()))}}R.allData=zf;function wf(b){for(var c=0,d=0;d<b.length;d++)c=c<<8|b.charCodeAt(d);return c}\nfunction Af(b){return String.fromCharCode(b>>24&255,b>>16&255,b>>8&255,b&255)}R.typeToString=Af;function Bf(b){var c=this;this.a=[];this.b=[];this.data=[];(new R).H(\"moov\",xf).fa(\"pssh\",function(b){if(!(1<b.version)){var d=b.reader.J;d=new Uint8Array(d.buffer,d.byteOffset-12,b.size);c.data.push(d);c.a.push(L.Ac(b.reader.Za(16)));if(0<b.version){d=b.reader.G();for(var f=0;f<d;++f){var g=L.Ac(b.reader.Za(16));c.b.push(g)}}}}).parse(b)}\nfunction Cf(b){if(!b)return b;var c=new Bf(b);if(1>=c.data.length)return b;b=[];var d={};c=r(c.data);for(var e=c.next();!e.done;d={lc:d.lc},e=c.next())d.lc=e.value,b.some(function(b){return function(c){return L.za(c,b.lc)}}(d))||b.push(d.lc);return L.concat.apply(L,b instanceof Array?b:Oa(r(b)))};var S={gc:function(b,c){var d=S.P(b,c);return 1!=d.length?null:d[0]},Oc:function(b,c,d){b=S.Od(b,c,d);return 1!=b.length?null:b[0]},P:function(b,c){return Array.prototype.filter.call(b.childNodes,function(b){return b instanceof Element&&b.tagName==c})},Od:function(b,c,d){return Array.prototype.filter.call(b.childNodes,function(b){return b instanceof Element&&b.localName==d&&b.namespaceURI==c})},getAttributeNS:function(b,c,d){return b.hasAttributeNS(c,d)?b.getAttributeNS(c,d):null},ic:function(b){return Array.prototype.every.call(b.childNodes,\nfunction(b){return b.nodeType==Node.TEXT_NODE||b.nodeType==Node.CDATA_SECTION_NODE})?b.textContent.trim():null},I:function(b,c,d,e){e=void 0===e?null:e;var f=null;b=b.getAttribute(c);null!=b&&(f=d(b));return null==f?e:f},Of:function(b){if(!b)return null;/^\\d+-\\d+-\\d+T\\d+:\\d+:\\d+(\\.\\d+)?$/.test(b)&&(b+=\"Z\");b=Date.parse(b);return isNaN(b)?null:Math.floor(b/1E3)},Ea:function(b){if(!b)return null;b=/^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$/.exec(b);\nif(!b)return null;b=31536E3*Number(b[1]||null)+2592E3*Number(b[2]||null)+86400*Number(b[3]||null)+3600*Number(b[4]||null)+60*Number(b[5]||null)+Number(b[6]||null);return isFinite(b)?b:null},uc:function(b){var c=/([0-9]+)-([0-9]+)/.exec(b);if(!c)return null;b=Number(c[1]);if(!isFinite(b))return null;c=Number(c[2]);return isFinite(c)?{start:b,end:c}:null},parseInt:function(b){b=Number(b);return 0===b%1?b:null},tc:function(b){b=Number(b);return 0===b%1&&0<b?b:null},yb:function(b){b=Number(b);return 0===\nb%1&&0<=b?b:null},parseFloat:function(b){b=Number(b);return isNaN(b)?null:b},Me:function(b){var c;b=(c=b.match(/^(\\d+)\\/(\\d+)$/))?Number(c[1])/Number(c[2]):Number(b);return isNaN(b)?null:b},he:function(b,c){var d=new DOMParser;try{var e=d.parseFromString(b,\"text/xml\")}catch(g){}if(e&&e.documentElement.tagName==c)var f=e.documentElement;return f&&0<f.getElementsByTagName(\"parsererror\").length?null:f},ge:function(b,c){try{var d=Bc(b);return S.he(d,c)}catch(e){}}};var Df=(new Map).set(\"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b\",\"org.w3.clearkey\").set(\"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed\",\"com.widevine.alpha\").set(\"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95\",\"com.microsoft.playready\").set(\"urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb\",\"com.adobe.primetime\");\nfunction Ef(b,c,d){var e=Ff(b),f=null;b=[];var g=[],h=new Set(e.map(function(b){return b.keyId}));h[\"delete\"](null);if(1<h.size)throw new D(2,4,4010);d||(g=e.filter(function(b){return\"urn:mpeg:dash:mp4protection:2011\"==b.ne?(f=b.init||f,!1):!0}),g.length&&(b=Gf(f,c,g),0==b.length&&(b=[wd(\"\",f)])));if(e.length&&(d||!g.length))for(b=[],c=r(Df.values()),d=c.next();!d.done;d=c.next())d=d.value,\"org.w3.clearkey\"!=d&&b.push(wd(d,f));if(h=Array.from(h)[0]||null)for(c=r(b),d=c.next();!d.done;d=c.next())for(d=\nr(d.value.initData),e=d.next();!e.done;e=d.next())e.value.keyId=h;return{Kd:h,Fg:f,drmInfos:b,Pd:!0}}function Hf(b,c,d,e){var f=Ef(b,c,e);if(d.Pd){b=1==d.drmInfos.length&&!d.drmInfos[0].keySystem;c=0==f.drmInfos.length;if(0==d.drmInfos.length||b&&!c)d.drmInfos=f.drmInfos;d.Pd=!1}else if(0<f.drmInfos.length&&(d.drmInfos=d.drmInfos.filter(function(b){return f.drmInfos.some(function(c){return c.keySystem==b.keySystem})}),0==d.drmInfos.length))throw new D(2,4,4008);return f.Kd||d.Kd}\nfunction If(b){var c=0,d=(new DataView(b)).getUint32(c,!0);if(d!==b.byteLength)return[];c+=6;d=[];for(var e=new DataView(b);c<b.byteLength-1;){var f=e.getUint16(c,!0);c+=2;var g=e.getUint16(c,!0);c+=2;var h=new Uint8Array(b,c,g);d.push({type:f,value:h});c+=g}return d}function Jf(b){return(b=b.querySelector(\"DATA > LA_URL\"))?b.textContent:\"\"}\nfunction Gf(b,c,d){var e=[];d=r(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;var g=Df.get(f.ne);if(g){var h;if(h=S.Oc(f.node,\"urn:microsoft:playready\",\"pro\")){h=L.Ba(h.textContent);var k=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),l=h.length,m=k.length+16+l,n=new ArrayBuffer(m),p=new Uint8Array(n);n=new DataView(n);var v=0;n.setUint32(v,m);v+=4;n.setUint32(v,1886614376);v+=4;n.setUint32(v,0);v+=4;p.set(k,v);v+=k.length;n.setUint32(v,l);v+=4;p.set(h,v);h=[{initData:p,\ninitDataType:\"cenc\",keyId:f.keyId}]}else h=null;h=wd(g,f.init||b||h);if(g=Kf.get(g))h.licenseServerUri=g(f);e.push(h)}else for(f=c(f.node)||[],f=r(f),g=f.next();!g.done;g=f.next())e.push(g.value)}return e}\nvar Kf=(new Map).set(\"com.widevine.alpha\",function(b){return(b=S.Oc(b.node,\"urn:microsoft\",\"laurl\"))?b.getAttribute(\"licenseUrl\")||\"\":\"\"}).set(\"com.microsoft.playready\",function(b){b=S.Oc(b.node,\"urn:microsoft:playready\",\"pro\");if(!b)return\"\";b=L.Ba(b.textContent);b=If(b.buffer).filter(function(b){return 1===b.type})[0];if(!b)return\"\";b=hc(b.value,!0);return(b=S.he(b,\"WRMHEADER\"))?Jf(b):\"\"});function Ff(b){var c=[];b=r(b);for(var d=b.next();!d.done;d=b.next())(d=Lf(d.value))&&c.push(d);return c}\nfunction Lf(b){var c=b.getAttribute(\"schemeIdUri\"),d=S.getAttributeNS(b,\"urn:mpeg:cenc:2013\",\"default_KID\"),e=S.Od(b,\"urn:mpeg:cenc:2013\",\"pssh\").map(S.ic);if(!c)return null;c=c.toLowerCase();if(d&&(d=d.replace(/-/g,\"\").toLowerCase(),d.includes(\" \")))throw new D(2,4,4009);var f=[];try{f=e.map(function(b){return{initDataType:\"cenc\",initData:L.Ba(b),keyId:null}})}catch(g){throw new D(2,4,4007);}return{node:b,ne:c,keyId:d,init:0<f.length?f:null}};function Mf(b,c,d,e,f){var g={RepresentationID:c,Number:d,Bandwidth:e,Time:f};return b.replace(/\\$(RepresentationID|Number|Bandwidth|Time)?(?:%0([0-9]+)([diouxX]))?\\$/g,function(b,c,d,e){if(\"$$\"==b)return\"$\";var f=g[c];if(null==f)return b;\"RepresentationID\"==c&&d&&(d=void 0);\"Time\"==c&&(f=Math.round(f));switch(e){case void 0:case \"d\":case \"i\":case \"u\":b=f.toString();break;case \"o\":b=f.toString(8);break;case \"x\":b=f.toString(16);break;case \"X\":b=f.toString(16).toUpperCase();break;default:b=f.toString()}d=\nwindow.parseInt(d,10)||1;return Array(Math.max(0,d-b.length)+1).join(\"0\")+b})}\nfunction Nf(b,c){var d=Of(b,c,\"timescale\"),e=1;d&&(e=S.tc(d)||1);d=Of(b,c,\"duration\");(d=S.tc(d||\"\"))&&(d/=e);var f=Of(b,c,\"startNumber\"),g=Number(Of(b,c,\"presentationTimeOffset\"))||0,h=S.yb(f||\"\");if(null==f||null==h)h=1;var k=Pf(b,c,\"SegmentTimeline\");f=null;if(k){f=e;var l=b.T.duration||Infinity;k=S.P(k,\"S\");for(var m=[],n=0,p=0;p<k.length;++p){var v=k[p],x=S.I(v,\"t\",S.yb),B=S.I(v,\"d\",S.yb);v=S.I(v,\"r\",S.parseInt);null!=x&&(x-=g);if(!B)break;x=null!=x?x:n;v=v||0;if(0>v)if(p+1<k.length){v=S.I(k[p+\n1],\"t\",S.yb);if(null==v)break;else if(x>=v)break;v=Math.ceil((v-x)/B)-1}else{if(Infinity==l)break;else if(x/f>=l)break;v=Math.ceil((l*f-x)/B)-1}0<m.length&&x!=n&&(m[m.length-1].end=x/f);for(var y=0;y<=v;++y)n=x+B,m.push({start:x/f,end:n/f,xg:x}),x=n}f=m}return{timescale:e,Z:d,ab:h,ma:g/e||0,Dd:g,N:f}}function Of(b,c,d){return[c(b.C),c(b.aa),c(b.ka)].filter(ud.Ia).map(function(b){return b.getAttribute(d)}).reduce(function(b,c){return b||c})}\nfunction Pf(b,c,d){return[c(b.C),c(b.aa),c(b.ka)].filter(ud.Ia).map(function(b){return S.gc(b,d)}).reduce(function(b,c){return b||c})}\nfunction Qf(b,c,d,e,f,g){for(var h=S.getAttributeNS(b,\"http://www.w3.org/1999/xlink\",\"href\"),k=S.getAttributeNS(b,\"http://www.w3.org/1999/xlink\",\"actuate\")||\"onRequest\",l=0;l<b.attributes.length;l++){var m=b.attributes[l];\"http://www.w3.org/1999/xlink\"==m.namespaceURI&&(b.removeAttributeNS(m.namespaceURI,m.localName),--l)}if(5<=g)return Db(new D(2,4,4028));if(\"onLoad\"!=k)return Db(new D(2,4,4027));var n=vd([e],[h]);return f.request(0,Wb(n,c)).U(function(e){e=S.ge(e.data,b.tagName);if(!e)return Db(new D(2,\n4,4001,h));for(;b.childNodes.length;)b.removeChild(b.childNodes[0]);for(;e.childNodes.length;){var k=e.childNodes[0];e.removeChild(k);b.appendChild(k)}for(k=0;k<e.attributes.length;k++){var l=e.attributes[k].nodeName,m=e.getAttribute(l);b.setAttribute(l,m)}return Rf(b,c,d,n[0],f,g+1)})}\nfunction Rf(b,c,d,e,f,g){g=void 0===g?0:g;if(S.getAttributeNS(b,\"http://www.w3.org/1999/xlink\",\"href\")){var h=Qf(b,c,d,e,f,g);d&&(h=h.U(void 0,function(){return Rf(b,c,d,e,f,g)}));return h}h=[];for(var k=0;k<b.childNodes.length;k++){var l=b.childNodes[k];l instanceof Element&&(\"urn:mpeg:dash:resolve-to-zero:2013\"==S.getAttributeNS(l,\"http://www.w3.org/1999/xlink\",\"href\")?(b.removeChild(l),--k):\"SegmentTimeline\"!=l.tagName&&h.push(Rf(l,c,d,e,f,g)))}return Jb(h).U(function(){return b})};function Sf(b,c,d){this.c=b;this.b=c;this.a=d}A(\"shaka.media.InitSegmentReference\",Sf);Sf.prototype.Ic=function(){return this.c()};Sf.prototype.createUris=Sf.prototype.Ic;Sf.prototype.Uc=function(){return this.b};Sf.prototype.getStartByte=Sf.prototype.Uc;Sf.prototype.Tc=function(){return this.a};Sf.prototype.getEndByte=Sf.prototype.Tc;function T(b,c,d,e,f,g){this.position=b;this.startTime=c;this.endTime=d;this.c=e;this.b=f;this.a=g}A(\"shaka.media.SegmentReference\",T);T.prototype.ca=function(){return this.position};\nT.prototype.getPosition=T.prototype.ca;T.prototype.kc=function(){return this.startTime};T.prototype.getStartTime=T.prototype.kc;T.prototype.Te=function(){return this.endTime};T.prototype.getEndTime=T.prototype.Te;T.prototype.Ic=function(){return this.c()};T.prototype.createUris=T.prototype.Ic;T.prototype.Uc=function(){return this.b};T.prototype.getStartByte=T.prototype.Uc;T.prototype.Tc=function(){return this.a};T.prototype.getEndByte=T.prototype.Tc;function Tf(b,c,d,e){var f,g=(new R).fa(\"sidx\",function(b){f=Uf(c,e,d,b)});b&&g.parse(b);if(f)return f;throw new D(2,3,3004);}\nfunction Uf(b,c,d,e){var f=[];e.reader.M(4);var g=e.reader.G();if(0==g)throw new D(2,3,3005);if(0==e.version){var h=e.reader.G();var k=e.reader.G()}else h=e.reader.Bb(),k=e.reader.Bb();e.reader.M(2);var l=e.reader.Tb();b=b+e.size+k;for(k=0;k<l;k++){var m=e.reader.G(),n=(m&2147483648)>>>31;m&=2147483647;var p=e.reader.G();e.reader.M(4);if(1==n)throw new D(2,3,3006);f.push(new T(f.length,h/g-c,(h+p)/g-c,function(){return d},b,b+m-1));h+=p;b+=m}e.parser.stop();return f};function U(b){this.a=b}A(\"shaka.media.SegmentIndex\",U);U.prototype.destroy=function(){this.a=null;return Promise.resolve()};U.prototype.destroy=U.prototype.destroy;U.prototype.find=function(b){for(var c=this.a.length-1;0<=c;--c){var d=this.a[c];if(b>=d.startTime&&b<d.endTime)return d.position}return this.a.length&&b<this.a[0].startTime?this.a[0].position:null};U.prototype.find=U.prototype.find;\nU.prototype.get=function(b){if(0==this.a.length)return null;b-=this.a[0].position;return 0>b||b>=this.a.length?null:this.a[b]};U.prototype.get=U.prototype.get;U.prototype.offset=function(b){for(var c=0;c<this.a.length;++c)this.a[c].startTime+=b,this.a[c].endTime+=b};U.prototype.offset=U.prototype.offset;\nU.prototype.cd=function(b){for(var c=[],d=0,e=0;d<this.a.length&&e<b.length;){var f=this.a[d],g=b[e];f.startTime<g.startTime?(c.push(f),d++):(f.startTime>g.startTime?0==d&&c.push(g):(.1<Math.abs(f.endTime-g.endTime)?c.push(new T(f.position,g.startTime,g.endTime,g.c,g.b,g.a)):c.push(f),d++),e++)}for(;d<this.a.length;)c.push(this.a[d++]);if(c.length)for(d=c[c.length-1].position+1;e<b.length;)f=b[e++],f=new T(d++,f.startTime,f.endTime,f.c,f.b,f.a),c.push(f);else c=b;this.a=c};U.prototype.merge=U.prototype.cd;\nU.prototype.Lc=function(b){for(var c=0;c<this.a.length;++c)if(this.a[c].endTime>b){this.a.splice(0,c);return}this.a=[]};U.prototype.evict=U.prototype.Lc;function Vf(b,c){for(;b.a.length;)if(b.a[b.a.length-1].startTime>=c)b.a.pop();else break;for(;b.a.length;)if(0>=b.a[0].endTime)b.a.shift();else break;if(0!=b.a.length){var d=b.a[b.a.length-1];b.a[b.a.length-1]=new T(d.position,d.startTime,c,d.c,d.b,d.a)}};function Wf(b){this.b=b;this.a=new Q(b,0);Xf||(Xf=[new Uint8Array([255]),new Uint8Array([127,255]),new Uint8Array([63,255,255]),new Uint8Array([31,255,255,255]),new Uint8Array([15,255,255,255,255]),new Uint8Array([7,255,255,255,255,255]),new Uint8Array([3,255,255,255,255,255,255]),new Uint8Array([1,255,255,255,255,255,255,255])])}var Xf;Wf.prototype.ua=function(){return this.a.ua()};\nfunction Yf(b){var c=Zf(b);if(7<c.length)throw new D(2,3,3002);for(var d=0,e=0;e<c.length;e++)d=256*d+c[e];c=d;d=Zf(b);a:{e=L.za;for(var f=0;f<Xf.length;f++)if(e(d,Xf[f])){e=!0;break a}e=!1}if(e)d=b.b.byteLength-b.a.ca();else{if(8==d.length&&d[1]&224)throw new D(2,3,3001);e=d[0]&(1<<8-d.length)-1;for(f=1;f<d.length;f++)e=256*e+d[f];d=e}d=b.a.ca()+d<=b.b.byteLength?d:b.b.byteLength-b.a.ca();e=new DataView(b.b.buffer,b.b.byteOffset+b.a.ca(),d);b.a.M(d);return new $f(c,e)}\nfunction Zf(b){var c=b.a.la(),d;for(d=1;8>=d&&!(c&1<<8-d);d++);if(8<d)throw new D(2,3,3002);var e=new Uint8Array(d);e[0]=c;for(c=1;c<d;c++)e[c]=b.a.la();return e}function $f(b,c){this.id=b;this.a=c}function ag(b){if(8<b.a.byteLength)throw new D(2,3,3002);if(8==b.a.byteLength&&b.a.getUint8(0)&224)throw new D(2,3,3001);for(var c=0,d=0;d<b.a.byteLength;d++){var e=b.a.getUint8(d);c=256*c+e}return c};function bg(){}\nbg.prototype.parse=function(b,c,d,e){var f;c=new Wf(new DataView(c));if(440786851!=Yf(c).id)throw new D(2,3,3008);var g=Yf(c);if(408125543!=g.id)throw new D(2,3,3009);c=g.a.byteOffset;g=new Wf(g.a);for(f=null;g.ua();){var h=Yf(g);if(357149030==h.id){f=h;break}}if(!f)throw new D(2,3,3010);g=new Wf(f.a);f=1E6;for(h=null;g.ua();){var k=Yf(g);if(2807729==k.id)f=ag(k);else if(17545==k.id)if(h=k,4==h.a.byteLength)h=h.a.getFloat32(0);else if(8==h.a.byteLength)h=h.a.getFloat64(0);else throw new D(2,3,3003);\n}if(null==h)throw new D(2,3,3011);g=f/1E9;f=h*g;b=Yf(new Wf(new DataView(b)));if(475249515!=b.id)throw new D(2,3,3007);return cg(b,c,g,f,d,e)};function cg(b,c,d,e,f,g){function h(){return f}var k=[];b=new Wf(b.a);for(var l=null,m=null;b.ua();){var n=Yf(b);if(187==n.id){var p=dg(n);p&&(n=d*p.yg,p=c+p.Vf,null!=l&&k.push(new T(k.length,l-g,n-g,h,m,p-1)),l=n,m=p)}}null!=l&&k.push(new T(k.length,l-g,e-g,h,m,null));return k}\nfunction dg(b){var c=new Wf(b.a);b=Yf(c);if(179!=b.id)throw new D(2,3,3013);b=ag(b);c=Yf(c);if(183!=c.id)throw new D(2,3,3012);c=new Wf(c.a);for(var d=0;c.ua();){var e=Yf(c);if(241==e.id){d=ag(e);break}}return{yg:b,Vf:d}};function eg(b,c){var d=Pf(b,c,\"Initialization\");if(!d)return null;var e=b.C.qa,f=d.getAttribute(\"sourceURL\");f&&(e=vd(b.C.qa,[f]));f=0;var g=null;if(d=S.I(d,\"range\",S.uc))f=d.start,g=d.end;return new Sf(function(){return e},f,g)}\nfunction fg(b,c){var d=Number(Of(b,gg,\"presentationTimeOffset\"))||0,e=Of(b,gg,\"timescale\"),f=1;e&&(f=S.tc(e)||1);d=d/f||0;e=eg(b,gg);var g=b.C.contentType;f=b.C.mimeType.split(\"/\")[1];if(\"text\"!=g&&\"mp4\"!=f&&\"webm\"!=f)throw new D(2,4,4006);if(\"webm\"==f&&!e)throw new D(2,4,4005);g=Pf(b,gg,\"RepresentationIndex\");var h=Of(b,gg,\"indexRange\"),k=b.C.qa;h=S.uc(h||\"\");if(g){var l=g.getAttribute(\"sourceURL\");l&&(k=vd(b.C.qa,[l]));h=S.I(g,\"range\",S.uc,h)}if(!h)throw new D(2,4,4002);f=hg(b,c,e,k,h.start,h.end,\nf,d);return{createSegmentIndex:f.createSegmentIndex,findSegmentPosition:f.findSegmentPosition,getSegmentReference:f.getSegmentReference,initSegmentReference:e,ma:d}}\nfunction hg(b,c,d,e,f,g,h,k){var l=b.presentationTimeline,m=!b.mb||!b.T.Zc,n=b.T.start,p=b.T.duration,v=c,x=null;return{createSegmentIndex:function(){var b=[v(e,f,g),\"webm\"==h?v(d.c(),d.b,d.a):null];v=null;return Promise.all(b).then(function(b){var c=b[0];b=b[1]||null;c=\"mp4\"==h?Tf(c,f,e,k):(new bg).parse(c,b,e,k);l.vb(c,n);x=new U(c);m&&Vf(x,p)})},findSegmentPosition:function(b){return x.find(b)},getSegmentReference:function(b){return x.get(b)}}}function gg(b){return b.Ub};function ig(b,c){var d=eg(b,jg);var e=kg(b);var f=Nf(b,jg),g=f.ab;0==g&&(g=1);var h=0;f.Z?h=f.Z*(g-1):f.N&&0<f.N.length&&(h=f.N[0].start);e={Z:f.Z,startTime:h,ab:g,ma:f.ma,N:f.N,tb:e};if(!e.Z&&!e.N&&1<e.tb.length)throw new D(2,4,4002);if(!e.Z&&!b.T.duration&&!e.N&&1==e.tb.length)throw new D(2,4,4002);if(e.N&&0==e.N.length)throw new D(2,4,4002);g=f=null;b.ka.id&&b.C.id&&(g=b.ka.id+\",\"+b.C.id,f=c[g]);h=lg(b.T.duration,e.ab,b.C.qa,e);f?(f.cd(h),g=b.presentationTimeline.Ob(),f.Lc(g-b.T.start)):(b.presentationTimeline.vb(h,\nb.T.start),f=new U(h),g&&b.mb&&(c[g]=f));b.mb&&b.T.Zc||Vf(f,b.T.duration);return{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:f.find.bind(f),getSegmentReference:f.get.bind(f),initSegmentReference:d,ma:e.ma}}function jg(b){return b.La}\nfunction lg(b,c,d,e){var f=e.tb.length;e.N&&e.N.length!=e.tb.length&&(f=Math.min(e.N.length,e.tb.length));for(var g=[],h=e.startTime,k=0;k<f;k++){var l=e.tb[k],m=vd(d,[l.xf]),n=void 0;n=null!=e.Z?h+e.Z:e.N?e.N[k].end:h+b;g.push(new T(k+c,h,n,function(b){return b}.bind(null,m),l.start,l.end));h=n}return g}\nfunction kg(b){return[b.C.La,b.aa.La,b.ka.La].filter(ud.Ia).map(function(b){return S.P(b,\"SegmentURL\")}).reduce(function(b,d){return 0<b.length?b:d}).map(function(c){c.getAttribute(\"indexRange\")&&!b.Vd&&(b.Vd=!0);var d=c.getAttribute(\"media\");c=S.I(c,\"mediaRange\",S.uc,{start:0,end:null});return{xf:d,start:c.start,end:c.end}})};function mg(b,c,d,e){var f=ng(b);var g=Nf(b,og);var h=Of(b,og,\"media\"),k=Of(b,og,\"index\");g={Z:g.Z,timescale:g.timescale,ab:g.ab,ma:g.ma,Dd:g.Dd,N:g.N,ad:h,Qb:k};h=g.Qb?1:0;h+=g.N?1:0;h+=g.Z?1:0;if(0==h)throw new D(2,4,4002);1!=h&&(g.Qb&&(g.N=null),g.Z=null);if(!g.Qb&&!g.ad)throw new D(2,4,4002);if(g.Qb){d=b.C.mimeType.split(\"/\")[1];if(\"mp4\"!=d&&\"webm\"!=d)throw new D(2,4,4006);if(\"webm\"==d&&!f)throw new D(2,4,4005);e=Mf(g.Qb,b.C.id,null,b.bandwidth||null,null);e=vd(b.C.qa,[e]);b=hg(b,c,f,e,0,null,\nd,g.ma)}else g.Z?(e||(b.presentationTimeline.ed(g.Z),b.presentationTimeline.fd(b.T.start)),b=pg(b,g)):(h=c=null,b.ka.id&&b.C.id&&(h=b.ka.id+\",\"+b.C.id,c=d[h]),k=qg(b,g),e=!b.mb||!b.T.Zc,c?(e&&Vf(new U(k),b.T.duration),c.cd(k),d=b.presentationTimeline.Ob(),c.Lc(d-b.T.start)):(b.presentationTimeline.vb(k,b.T.start),c=new U(k),h&&b.mb&&(d[h]=c)),e&&Vf(c,b.T.duration),b={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:c.find.bind(c),getSegmentReference:c.get.bind(c)});return{createSegmentIndex:b.createSegmentIndex,\nfindSegmentPosition:b.findSegmentPosition,getSegmentReference:b.getSegmentReference,initSegmentReference:f,ma:g.ma}}function og(b){return b.Wb}\nfunction pg(b,c){var d=b.T.duration,e=c.Z,f=c.ab,g=c.timescale,h=c.ad,k=b.bandwidth||null,l=b.C.id,m=b.C.qa;return{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(b){return 0>b||d&&b>=d?null:Math.floor(b/e)},getSegmentReference:function(b){var c=b*e,n=c+e;d&&(n=Math.min(n,d));return 0>n||d&&c>=d?null:new T(b,c,n,function(){var d=Mf(h,l,b+f,k,c*g);return vd(m,[d])},0,null)}}}\nfunction qg(b,c){for(var d=[],e=0;e<c.N.length;e++){var f=e+c.ab;d.push(new T(f,c.N[e].start,c.N[e].end,function(b,c,d,e,f,n){b=Mf(b,c,f,d,n);return vd(e,[b]).map(function(b){return b.toString()})}.bind(null,c.ad,b.C.id,b.bandwidth||null,b.C.qa,f,c.N[e].xg+c.Dd),0,null))}return d}function ng(b){var c=Of(b,og,\"initialization\");if(!c)return null;var d=b.C.id,e=b.bandwidth||null,f=b.C.qa;return new Sf(function(){var b=Mf(c,d,null,e,null);return vd(f,[b])},0,null)};var V={zb:{},Sb:{},pd:function(b,c){V.Sb[b]=c}};A(\"shaka.media.ManifestParser.registerParserByExtension\",V.pd);V.Cb=function(b,c){V.zb[b]=c};A(\"shaka.media.ManifestParser.registerParserByMime\",V.Cb);\nV.Sf=function(){var b={};if(sc()){for(var c in V.zb)b[c]=!0;for(var d in V.Sb)b[d]=!0}c={mpd:\"application/dash+xml\",m3u8:\"application/x-mpegurl\",ism:\"application/vnd.ms-sstr+xml\"};d=r([\"application/dash+xml\",\"application/x-mpegurl\",\"application/vnd.apple.mpegurl\",\"application/vnd.ms-sstr+xml\"]);for(var e=d.next();!e.done;e=d.next())e=e.value,b[e]=sc()?!!V.zb[e]:tc(e);for(var f in c)b[f]=sc()?!!V.Sb[f]:tc(c[f]);return b};\nV.create=function(b,c,d,e){return t(function g(){var h,k;return z(g,function(g){switch(g.j){case 1:return za(g,2),u(g,V.Ue(b,c,d,e),4);case 4:return h=g.o,g[\"return\"](new h);case 2:throw k=Ca(g),k.severity=2,k;}})})};\nV.Ue=function(b,c,d,e){return t(function g(){var h,k,l,m,n;return z(g,function(g){switch(g.j){case 1:h=V;if(e&&(k=h.zb[e.toLowerCase()]))return g[\"return\"](k);if(l=h.getExtension(b))if(m=h.Sb[l])return g[\"return\"](m);if(e){g.A(2);break}return u(g,h.bf(b,c,d),3);case 3:if(e=g.o)if(n=V.zb[e])return g[\"return\"](n);case 2:throw new D(2,4,4E3,b);}})})};\nV.bf=function(b,c,d){return t(function f(){var g,h,k;return z(f,function(f){switch(f.j){case 1:return g=Wb([b],d),g.method=\"HEAD\",u(f,c.request(0,g).promise,2);case 2:return h=f.o,k=h.headers[\"content-type\"],f[\"return\"](k?k.toLowerCase().split(\";\").shift():\"\")}})})};V.getExtension=function(b){b=(new ib(b)).ja.split(\"/\").pop().split(\".\");return 1==b.length?\"\":b.pop().toLowerCase()};V.isSupported=function(b,c){return sc()?c in V.zb||V.getExtension(b)in V.Sb?!0:!1:!1};function W(b,c,d){this.f=b;this.vc=c;this.h=this.g=Infinity;this.a=1;this.b=this.c=null;this.l=0;this.m=!0;this.i=0;this.s=void 0===d?!0:d}A(\"shaka.media.PresentationTimeline\",W);W.prototype.Y=function(){return this.g};W.prototype.getDuration=W.prototype.Y;W.prototype.$e=function(){return this.a};W.prototype.getMaxSegmentDuration=W.prototype.$e;W.prototype.xa=function(b){this.g=b};W.prototype.setDuration=W.prototype.xa;W.prototype.hf=function(){return this.f};\nW.prototype.getPresentationStartTime=W.prototype.hf;W.prototype.pe=function(b){this.l=b};W.prototype.setClockOffset=W.prototype.pe;W.prototype.Xb=function(b){this.m=b};W.prototype.setStatic=W.prototype.Xb;W.prototype.xd=function(b){this.h=b};W.prototype.setSegmentAvailabilityDuration=W.prototype.xd;W.prototype.ig=function(b){this.vc=b};W.prototype.setDelay=W.prototype.ig;W.prototype.Se=function(){return this.vc};W.prototype.getDelay=W.prototype.Se;\nW.prototype.vb=function(b,c){if(0!=b.length){var d=b[b.length-1].endTime+c;this.fd(b[0].startTime+c);this.a=b.reduce(function(b,c){return Math.max(b,c.endTime-c.startTime)},this.a);this.b=Math.max(this.b,d);null!=this.f&&this.s&&(this.f=(Date.now()+this.l)/1E3-this.b-this.a)}};W.prototype.notifySegments=W.prototype.vb;W.prototype.fd=function(b){this.c=null==this.c?b:Math.min(this.c,b)};W.prototype.notifyMinSegmentStartTime=W.prototype.fd;W.prototype.ed=function(b){this.a=Math.max(this.a,b)};\nW.prototype.notifyMaxSegmentDuration=W.prototype.ed;W.prototype.offset=function(b){null!=this.c&&(this.c+=b);null!=this.b&&(this.b+=b)};W.prototype.offset=W.prototype.offset;W.prototype.V=function(){return Infinity==this.g&&!this.m};W.prototype.isLive=W.prototype.V;W.prototype.Xa=function(){return Infinity!=this.g&&!this.m};W.prototype.isInProgress=W.prototype.Xa;W.prototype.Ob=function(){if(Infinity==this.h)return this.i;var b=this.pb()-this.h;return Math.max(this.i,b)};\nW.prototype.getSegmentAvailabilityStart=W.prototype.Ob;W.prototype.qe=function(b){this.i=b};W.prototype.setUserSeekStart=W.prototype.qe;W.prototype.pb=function(){return this.V()||this.Xa()?Math.min(Math.max(0,(Date.now()+this.l)/1E3-this.a-this.f),this.g):this.g};W.prototype.getSegmentAvailabilityEnd=W.prototype.pb;W.prototype.Nb=function(b){var c=Math.max(this.c,this.i);if(Infinity==this.h)return c;var d=this.pb()-this.h;b=Math.min(d+b,this.Ca());return Math.max(c,b)};\nW.prototype.getSafeSeekRangeStart=W.prototype.Nb;W.prototype.ob=function(){return this.Nb(0)};W.prototype.getSeekRangeStart=W.prototype.ob;W.prototype.Ca=function(){var b=this.V()||this.Xa()?this.vc:0;return Math.max(0,this.pb()-b)};W.prototype.getSeekRangeEnd=W.prototype.Ca;W.prototype.ue=function(){return null==this.f||null!=this.b&&this.s?!1:!0};W.prototype.usingPresentationStartTime=W.prototype.ue;function rg(b,c,d,e){b=Wb(b,e);if(0!=c||null!=d)b.headers.Range=d?\"bytes=\"+c+\"-\"+d:\"bytes=\"+c+\"-\";return b};function sg(){var b=this;this.b=this.a=null;this.f=[];this.c=null;this.l=[];this.h=1;this.m={};this.s=0;this.u=new Ya(5);this.i=new C(function(){tg(b)});this.g=new Sb}A(\"shaka.dash.DashParser\",sg);q=sg.prototype;q.configure=function(b){this.a=b};q.start=function(b,c){var d=this;return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return d.f=[b],d.b=c,u(f,ug(d),2);case 2:g=f.o;d.b&&vg(d,g);if(!d.b)throw new D(2,7,7001);return f[\"return\"](d.c)}})})};\nq.stop=function(){this.a=this.b=null;this.f=[];this.c=null;this.l=[];this.m={};null!=this.i&&(this.i.stop(),this.i=null);return this.g.destroy()};q.update=function(){ug(this)[\"catch\"](function(b){if(this.b)this.b.onError(b)}.bind(this))};q.onExpirationUpdated=function(){};\nfunction ug(b){var c=Date.now(),d=b.b.networkingEngine.request(0,Wb(b.f,b.a.retryParameters));Tb(b.g,d);return d.promise.then(function(c){if(b.b)return c.uri&&!b.f.includes(c.uri)&&b.f.unshift(c.uri),wg(b,c.data,c.uri)}).then(function(){var d=(Date.now()-c)/1E3;Za(b.u,1,d);return d})}function wg(b,c,d){c=S.ge(c,\"MPD\");if(!c)throw new D(2,4,4001,d);c=Rf(c,b.a.retryParameters,b.a.dash.xlinkFailGracefully,d,b.b.networkingEngine);Tb(b.g,c);return c.promise.then(function(c){return xg(b,c,d)})}\nfunction xg(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x,B,y,G,E,aa,sa,ba,ub,Ua,X,oa,ha,Ka,Da,Ea,vb,eb,fb;return z(f,function(f){switch(f.j){case 1:l=ud;m=S;n=[d];p=m.P(c,\"Location\").map(m.ic).filter(l.Ia);0<p.length&&(v=vd(n,p),n=b.f=v);x=m.P(c,\"BaseURL\").map(m.ic);B=vd(n,x);y=b.a.dash.ignoreMinBufferTime;G=0;y||(G=m.I(c,\"minBufferTime\",m.Ea));b.s=m.I(c,\"minimumUpdatePeriod\",m.Ea,-1);E=m.I(c,\"availabilityStartTime\",m.Of);aa=m.I(c,\"timeShiftBufferDepth\",m.Ea);sa=m.I(c,\"maxSegmentDuration\",m.Ea);\nba=c.getAttribute(\"type\")||\"static\";ub=b.a.dash.ignoreSuggestedPresentationDelay;Ua=null;ub||(Ua=m.I(c,\"suggestedPresentationDelay\",m.Ea));b.c?X=b.c.presentationTimeline:(oa=Math.max(b.a.dash.defaultPresentationDelay,1.5*G),ha=null!=Ua?Ua:oa,X=new W(E,ha,b.a.dash.autoCorrectDrift));Ka={mb:\"static\"!=ba,presentationTimeline:X,ka:null,T:null,aa:null,C:null,bandwidth:0,Vd:!1};for(var gb=Ka,zd=B,wb=S.I(c,\"mediaPresentationDuration\",S.Ea),Fb=[],La=0,Ac=S.P(c,\"Period\"),Va=0;Va<Ac.length;Va++){var Gb=Ac[Va];\nLa=S.I(Gb,\"start\",S.Ea,La);var Ad=S.I(Gb,\"duration\",S.Ea),xb=null;if(Va!=Ac.length-1){var Ph=S.I(Ac[Va+1],\"start\",S.Ea);null!=Ph&&(xb=Ph-La)}else null!=wb&&(xb=wb-La);null==xb&&(xb=Ad);Gb=yg(b,gb,zd,{start:La,duration:xb,node:Gb,Zc:null==xb||Va==Ac.length-1});Fb.push(Gb);Ad=gb.ka.id;b.l.includes(Ad)||(b.l.push(Ad),b.c&&(b.b.filterNewPeriod(Gb),b.c.periods.push(Gb)));if(null==xb){La=null;break}La+=xb}null==b.c&&b.b.filterAllPeriods(Fb);null!=wb?(g=Fb,h=wb,k=!1):(g=Fb,h=La,k=!0);Da=h;Ea=g;X.Xb(\"static\"==\nba);\"static\"!=ba&&k||X.xa(Da||Infinity);(vb=X.V())&&!isNaN(b.a.availabilityWindowOverride)&&(aa=b.a.availabilityWindowOverride);null==aa&&(aa=Infinity);X.xd(aa);X.ed(sa||1);if(b.c){f.A(0);break}b.c={presentationTimeline:X,periods:Ea,offlineSessionIds:[],minBufferTime:G||0};if(!X.ue()){f.A(0);break}eb=m.P(c,\"UTCTiming\");return u(f,zg(b,B,eb),4);case 4:fb=f.o;if(!b.b)return f[\"return\"]();X.pe(fb);w(f)}})})}\nfunction yg(b,c,d,e){c.ka=Ag(e.node,null,d);c.T=e;c.ka.id||(c.ka.id=\"__shaka_period_\"+e.start);S.P(e.node,\"EventStream\").forEach(b.Pf.bind(b,e.start,e.duration));d=S.P(e.node,\"AdaptationSet\").map(b.Nf.bind(b,c)).filter(ud.Ia);if(c.mb){c=[];for(var f=r(d),g=f.next();!g.done;g=f.next()){g=r(g.value.Yf);for(var h=g.next();!h.done;h=g.next())c.push(h.value)}if(c.length!=(new Set(c)).size)throw new D(2,4,4018);}var k=d.filter(function(b){return!b.Bd});d.filter(function(b){return b.Bd}).forEach(function(b){var c=\nb.streams[0],d=b.Bd;k.forEach(function(b){b.id==d&&b.streams.forEach(function(b){b.trickModeVideo=c})})});c=Bg(k,\"video\");f=Bg(k,\"audio\");if(!c.length&&!f.length)throw new D(2,4,4004);d=b.a.disableAudio;if(!f.length||d)f=[null];d=b.a.disableVideo;if(!c.length||d)c=[null];d=[];for(g=0;g<f.length;g++)for(h=0;h<c.length;h++)Cg(b,f[g],c[h],d);c=[];if(!b.a.disableText)for(b=Bg(k,\"text\"),f=0;f<b.length;f++)c.push.apply(c,b[f].streams);return{startTime:e.start,textStreams:c,variants:d}}\nfunction Bg(b,c){return b.filter(function(b){return b.contentType==c})}\nfunction Cg(b,c,d,e){if(c||d)if(c&&d){var f=c.drmInfos;var g=d.drmInfos;if(f.length&&g.length?0<nd(f,g).length:1){g=nd(c.drmInfos,d.drmInfos);for(var h=0;h<c.streams.length;h++)for(var k=0;k<d.streams.length;k++)f=(d.streams[k].bandwidth||0)+(c.streams[h].bandwidth||0),f={id:b.h++,language:c.language,primary:c.$c||d.$c,audio:c.streams[h],video:d.streams[k],bandwidth:f,drmInfos:g,allowedByApplication:!0,allowedByKeySystem:!0},e.push(f)}}else for(g=c||d,h=0;h<g.streams.length;h++)f=g.streams[h].bandwidth||\n0,f={id:b.h++,language:g.language||\"und\",primary:g.$c,audio:c?g.streams[h]:null,video:d?g.streams[h]:null,bandwidth:f,drmInfos:g.drmInfos,allowedByApplication:!0,allowedByKeySystem:!0},e.push(f)}\nq.Nf=function(b,c){b.aa=Ag(c,b.ka,null);if(\"image\"==b.aa.contentType)return null;var d=!1,e=S.P(c,\"Role\"),f=e.map(function(b){return b.getAttribute(\"value\")}).filter(ud.Ia),g=void 0,h=\"text\"==b.aa.contentType;h&&(g=\"subtitle\");for(var k=0;k<e.length;k++){var l=e[k].getAttribute(\"schemeIdUri\");if(null==l||\"urn:mpeg:dash:role:2011\"==l)switch(l=e[k].getAttribute(\"value\"),l){case \"main\":d=!0;break;case \"caption\":case \"subtitle\":g=l}}var m=null,n=!1;S.P(c,\"EssentialProperty\").forEach(function(b){\"http://dashif.org/guidelines/trickmode\"==\nb.getAttribute(\"schemeIdUri\")?m=b.getAttribute(\"value\"):n=!0});k=S.P(c,\"Accessibility\");var p=new Map;e={};k=r(k);for(l=k.next();!l.done;e={Ib:e.Ib},l=k.next()){var v=l.value;l=v.getAttribute(\"schemeIdUri\");v=v.getAttribute(\"value\");\"urn:scte:dash:cc:cea-608:2015\"==l||\"urn:scte:dash:cc:cea-708:2015\"==l?(e.Ib=1,null!=v?v.split(\";\").forEach(function(b){return function(c){if(c.includes(\"=\")){c=c.split(\"=\");var d=c[0].startsWith(\"CC\")?c[0]:\"CC\"+c[0];c=c[1].split(\",\")[0].split(\":\").pop()}else d=\"CC\"+b.Ib,\nb.Ib+=2;p.set(d,M(c))}}(e)):p.set(\"CC1\",\"und\")):\"urn:mpeg:dash:role:2011\"==l&&null!=v&&(f.push(v),\"captions\"==v&&(g=\"caption\"))}if(n)return null;e=S.P(c,\"ContentProtection\");var x=Ef(e,this.a.dash.customScheme,this.a.dash.ignoreDrmInfo);e=M(c.getAttribute(\"lang\")||\"und\");k=c.getAttribute(\"label\");(l=S.P(c,\"Label\"))&&l.length&&(l=l[0],l.textContent&&(k=l.textContent));l=S.P(c,\"Representation\");f=l.map(this.Qf.bind(this,b,x,g,e,k,d,f,p)).filter(function(b){return!!b});if(0==f.length){if(this.a.dash.ignoreEmptyAdaptationSet||\nh)return null;throw new D(2,4,4003);}b.aa.contentType&&\"application\"!=b.aa.contentType||(b.aa.contentType=Dg(f[0].mimeType,f[0].codecs),f.forEach(function(c){c.type=b.aa.contentType}));f.forEach(function(b){x.drmInfos.forEach(function(c){b.keyId&&c.keyIds.push(b.keyId)})});h=l.map(function(b){return b.getAttribute(\"id\")}).filter(ud.Ia);return{id:b.aa.id||\"__fake__\"+this.h++,contentType:b.aa.contentType,language:e,$c:d,streams:f,drmInfos:x.drmInfos,Bd:m,Yf:h}};\nq.Qf=function(b,c,d,e,f,g,h,k,l){b.C=Ag(l,b.aa,null);if(!Eg(b.C))return null;b.bandwidth=S.I(l,\"bandwidth\",S.tc)||0;var m=b.C.contentType;m=\"text\"==m||\"application\"==m;try{var n=this.Zf.bind(this);if(b.C.Ub)var p=fg(b,n);else if(b.C.La)p=ig(b,this.m);else if(b.C.Wb)p=mg(b,n,this.m,!!this.c);else{var v=b.C.qa,x=b.T.duration||0;p={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(b){return 0<=b&&b<x?1:null},getSegmentReference:function(b){return 1!=b?null:new T(1,0,x,function(){return v},\n0,null)},initSegmentReference:null,ma:0}}}catch(B){if(m&&4002==B.code)return null;throw B;}l=S.P(l,\"ContentProtection\");l=Hf(l,this.a.dash.customScheme,c,this.a.dash.ignoreDrmInfo);return{id:this.h++,originalId:b.C.id,createSegmentIndex:p.createSegmentIndex,findSegmentPosition:p.findSegmentPosition,getSegmentReference:p.getSegmentReference,initSegmentReference:p.initSegmentReference,presentationTimeOffset:p.ma,mimeType:b.C.mimeType,codecs:b.C.codecs,frameRate:b.C.frameRate,pixelAspectRatio:b.C.pixelAspectRatio,\nbandwidth:b.bandwidth,width:b.C.width,height:b.C.height,kind:d,encrypted:0<c.drmInfos.length,keyId:l,language:e,label:f,type:b.aa.contentType,primary:g,trickModeVideo:null,emsgSchemeIdUris:b.C.emsgSchemeIdUris,roles:h,channelsCount:b.C.gd,audioSamplingRate:b.C.audioSamplingRate,closedCaptions:k}};\nfunction tg(b){t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return e=0,za(d,2),u(d,ug(b),4);case 4:e=d.o;Ba(d,3);break;case 2:f=Ca(d),b.b&&(f.severity=1,b.b.onError(f));case 3:if(!b.b)return d[\"return\"]();vg(b,e);w(d)}})})}function vg(b,c){0>b.s||b.i.R(Math.max(3,b.s-c,$a(b.u)))}\nfunction Ag(b,c,d){c=c||{contentType:\"\",mimeType:\"\",codecs:\"\",emsgSchemeIdUris:[],frameRate:void 0,gd:null,audioSamplingRate:null};d=d||c.qa;var e=S.yb,f=S.Me,g=S.P(b,\"BaseURL\").map(S.ic),h=b.getAttribute(\"contentType\")||c.contentType,k=b.getAttribute(\"mimeType\")||c.mimeType,l=b.getAttribute(\"codecs\")||c.codecs;f=S.I(b,\"frameRate\",f)||c.frameRate;var m=b.getAttribute(\"par\")||c.pixelAspectRatio,n=S.P(b,\"InbandEventStream\"),p=c.emsgSchemeIdUris.slice();n=r(n);for(var v=n.next();!v.done;v=n.next())v=\nv.value.getAttribute(\"schemeIdUri\"),p.includes(v)||p.push(v);n=S.P(b,\"AudioChannelConfiguration\");n=Fg(n)||c.gd;v=S.I(b,\"audioSamplingRate\",e)||c.audioSamplingRate;h||(h=Dg(k,l));return{qa:vd(d,g),Ub:S.gc(b,\"SegmentBase\")||c.Ub,La:S.gc(b,\"SegmentList\")||c.La,Wb:S.gc(b,\"SegmentTemplate\")||c.Wb,width:S.I(b,\"width\",e)||c.width,height:S.I(b,\"height\",e)||c.height,contentType:h,mimeType:k,codecs:l,frameRate:f,pixelAspectRatio:m,emsgSchemeIdUris:p,id:b.getAttribute(\"id\"),gd:n,audioSamplingRate:v}}\nfunction Fg(b){for(var c=0;c<b.length;++c){var d=b[c],e=d.getAttribute(\"schemeIdUri\");if(e&&(d=d.getAttribute(\"value\")))switch(e){case \"urn:mpeg:dash:outputChannelPositionList:2012\":return d.trim().split(/ +/).length;case \"urn:mpeg:dash:23003:3:audio_channel_configuration:2011\":case \"urn:dts:dash:audio_channel_configuration:2012\":e=parseInt(d,10);if(!e)continue;return e;case \"tag:dolby.com,2014:dash:audio_channel_configuration:2011\":case \"urn:dolby:dash:audio_channel_configuration:2011\":if(e=parseInt(d,\n16)){for(b=0;e;)e&1&&++b,e>>=1;return b}}}return null}function Eg(b){var c=b.Ub?1:0;c+=b.La?1:0;c+=b.Wb?1:0;if(0==c)return\"text\"==b.contentType||\"application\"==b.contentType?!0:!1;1!=c&&(b.Ub&&(b.La=null),b.Wb=null);return!0}\nfunction Gg(b,c,d,e){c=vd(c,[d]);c=Wb(c,b.a.retryParameters);c.method=e;c=b.b.networkingEngine.request(4,c);Tb(b.g,c);return c.promise.then(function(b){if(\"HEAD\"==e){if(!b.headers||!b.headers.date)return 0;b=b.headers.date}else b=Bc(b.data);b=Date.parse(b);return isNaN(b)?0:b-Date.now()})}\nfunction zg(b,c,d){d=d.map(function(b){return{scheme:b.getAttribute(\"schemeIdUri\"),value:b.getAttribute(\"value\")}});var e=b.a.dash.clockSyncUri;!d.length&&e&&d.push({scheme:\"urn:mpeg:dash:utc:http-head:2014\",value:e});return ud.Ke(d,function(b){var d=b.scheme;b=b.value;switch(d){case \"urn:mpeg:dash:utc:http-head:2014\":case \"urn:mpeg:dash:utc:http-head:2012\":return Gg(this,c,b,\"HEAD\");case \"urn:mpeg:dash:utc:http-xsdate:2014\":case \"urn:mpeg:dash:utc:http-iso:2014\":case \"urn:mpeg:dash:utc:http-xsdate:2012\":case \"urn:mpeg:dash:utc:http-iso:2012\":return Gg(this,\nc,b,\"GET\");case \"urn:mpeg:dash:utc:direct:2014\":case \"urn:mpeg:dash:utc:direct:2012\":return d=Date.parse(b),isNaN(d)?0:d-Date.now();case \"urn:mpeg:dash:utc:http-ntp:2014\":case \"urn:mpeg:dash:utc:ntp:2014\":case \"urn:mpeg:dash:utc:sntp:2014\":return cb(\"NTP UTCTiming scheme is not supported\"),Promise.reject();default:return cb(\"Unrecognized scheme in UTCTiming element\",d),Promise.reject()}}.bind(b))[\"catch\"](function(){cb(\"A UTCTiming element should always be given in live manifests! This content may not play on clients with bad clocks!\");\nreturn 0})}q.Pf=function(b,c,d){var e=S.yb,f=d.getAttribute(\"schemeIdUri\")||\"\",g=d.getAttribute(\"value\")||\"\",h=S.I(d,\"timescale\",e)||1;S.P(d,\"Event\").forEach(function(d){var k=S.I(d,\"presentationTime\",e)||0,m=S.I(d,\"duration\",e)||0;k=k/h+b;m=k+m/h;null!=c&&(k=Math.min(k,b+c),m=Math.min(m,b+c));d={schemeIdUri:f,value:g,startTime:k,endTime:m,id:d.getAttribute(\"id\")||\"\",eventElement:d};this.b.onTimelineRegionAdded(d)}.bind(this))};\nq.Zf=function(b,c,d){b=rg(b,c,d,this.a.retryParameters);b=this.b.networkingEngine.request(1,b);Tb(this.g,b);return b.promise.then(function(b){return b.data})};function Dg(b,c){return Yd(oc(b,c))?\"text\":b.split(\"/\")[0]}V.pd(\"mpd\",sg);V.Cb(\"application/dash+xml\",sg);V.Cb(\"video/vnd.mpeg.dash.mpd\",sg);function Hg(b,c,d,e){this.b=b;this.type=c;this.a=d;this.segments=e||null}function Ig(b,c,d,e){this.id=b;this.name=c;this.a=d;this.value=void 0===e?null:e}Ig.prototype.toString=function(){function b(b){return b.name+\"=\"+(isNaN(Number(b.value))?'\"'+b.value+'\"':b.value)}var c=\"#\"+this.name,d=this.a?this.a.map(b):[];this.value&&d.unshift(this.value);0<d.length&&(c+=\":\"+d.join(\",\"));return c};function Jg(b,c){this.name=b;this.value=c}\nIg.prototype.getAttribute=function(b){var c=this.a.filter(function(c){return c.name==b});return c.length?c[0]:null};function Kg(b,c,d){return(b=b.getAttribute(c))?b.value:d||null}function Lg(b,c){this.b=c;this.a=b};var Mg={nb:function(b,c){return b.filter(function(b){return b.name==c})},Ta:function(b,c){var d=Mg.nb(b,c);return d.length?d[0]:null},Pc:function(b,c,d){return b.filter(function(b){var e=b.getAttribute(\"TYPE\");b=b.getAttribute(\"GROUP-ID\");return e.value==c&&b.value==d})},Hc:function(b,c){return vd([b],[c])[0]},Yc:function(b){return/^#(?!EXT)/m.test(b)}};function Ng(b){this.b=b;this.a=0}function Og(b){Pg(b,/[ \\t]+/gm)}function Pg(b,c){c.lastIndex=b.a;var d=c.exec(b.b);d=null==d?null:{position:d.index,length:d[0].length,ag:d};if(b.a==b.b.length||null==d||d.position!=b.a)return null;b.a+=d.length;return d.ag}function Qg(b){return b.a==b.b.length?null:(b=Pg(b,/[^ \\t\\n]*/gm))?b[0]:null};function Rg(){this.a=0}\nfunction Sg(b,c,d){c=Bc(c);c=c.replace(/\\r\\n|\\r(?=[^\\n]|$)/gm,\"\\n\").trim();var e=c.split(/\\n+/m);if(!/^#EXTM3U($|[ \\t\\n])/m.test(e[0]))throw new D(2,4,4015);c=0;for(var f=1;f<e.length;f++)if(!Mg.Yc(e[f])){var g=Tg(b,e[f]);--b.a;if(Ug.includes(g.name)){c=1;break}else\"EXT-X-STREAM-INF\"==g.name&&(f+=1)}f=[];for(g=1;g<e.length;)if(Mg.Yc(e[g]))g+=1;else{var h=Tg(b,e[g]);if(Vg.includes(h.name)){if(1!=c)throw new D(2,4,4017);e=e.splice(g,e.length-g);b=Wg(b,d,e,f);return new Hg(d,c,f,b)}f.push(h);g+=1;\"EXT-X-STREAM-INF\"==\nh.name&&(h.a.push(new Jg(\"URI\",e[g])),g+=1)}return new Hg(d,c,f)}function Wg(b,c,d,e){var f=[],g=[];d.forEach(function(d){if(/^(#EXT)/.test(d))d=Tg(b,d),Ug.includes(d.name)?e.push(d):g.push(d);else{if(Mg.Yc(d))return[];d=Mg.Hc(c,d.trim());f.push(new Lg(d,g));g=[]}});return f}\nfunction Tg(b,c){var d=b.a++,e=c.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!e)throw new D(2,4,4016,c);var f=e[1],g=e[2];e=[];var h;if(g){g=new Ng(g);var k;(k=Pg(g,/^([^,=]+)(?:,|$)/g))&&(h=k[1]);for(var l=/([^=]+)=(?:\"([^\"]*)\"|([^\",]*))(?:,|$)/g;k=Pg(g,l);)e.push(new Jg(k[1],k[2]||k[3]))}return new Ig(d,f,e,h)}var Ug=\"EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-MAP EXT-X-I-FRAMES-ONLY EXT-X-ENDLIST\".split(\" \"),Vg=\"EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE\".split(\" \");function Xg(b){try{var c=Xg.parse(b);return Hb({uri:b,ld:b,data:c.data,headers:{\"content-type\":c.contentType}})}catch(d){return Db(d)}}A(\"shaka.net.DataUriPlugin\",Xg);\nXg.parse=function(b){var c=b.split(\":\");if(2>c.length||\"data\"!=c[0])throw new D(2,1,1004,b);c=c.slice(1).join(\":\").split(\",\");if(2>c.length)throw new D(2,1,1004,b);var d=c[0];c=window.decodeURIComponent(c.slice(1).join(\",\"));d=d.split(\";\");var e=null;1<d.length&&(e=d[1]);if(\"base64\"==e)b=L.Ba(c).buffer;else{if(e)throw new D(2,1,1005,b);b=Ec(c)}return{data:b,contentType:d[0]}};Vb(\"data\",Xg);function Yg(){var b=this;this.a=this.f=null;this.$=1;this.D=new Map;this.S=new Set;this.b=new Map;this.c=null;this.u=\"\";this.s=new Rg;this.O=0;this.h=new C(function(){Zg(b)});this.g=$g;this.m=null;this.B=0;this.F=Infinity;this.i=new Sb;this.K=[];this.l=new Map;this.W=!1}A(\"shaka.hls.HlsParser\",Yg);q=Yg.prototype;q.configure=function(b){this.a=b};\nq.start=function(b,c){var d=this;return t(function f(){var g,h;return z(f,function(f){switch(f.j){case 1:return d.f=c,u(f,ah(d,Wb([b],d.a.retryParameters),0),2);case 2:return g=f.o,d.u=g.uri,u(f,bh(d,g.data),3);case 3:return h=d.O,0<h&&d.h.R(h),f[\"return\"](d.m)}})})};q.stop=function(){this.h&&(this.h.stop(),this.h=null);var b=[];this.i&&(b.push(this.i.destroy()),this.i=null);this.a=this.f=null;this.D.clear();this.S.clear();this.b.clear();this.m=null;return Promise.all(b)};\nq.update=function(){if(this.g!=ch.Qa){for(var b=[],c=r(this.b.values()),d=c.next();!d.done;d=c.next())b.push(dh(this,d.value));return Promise.all(b)}};\nfunction dh(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x,B;return z(e,function(e){switch(e.j){case 1:return f=Mg,g=ch,h=c.Ce,u(e,ah(b,Wb([h],b.a.retryParameters),0),2);case 2:k=e.o;l=Sg(b.s,k.data,k.uri);if(1!=l.type)throw new D(2,4,4017);n=(m=f.Ta(l.a,\"EXT-X-MEDIA-SEQUENCE\"))?Number(m.value):0;p=c.stream;return u(e,eh(b,c.Bc,l,n,p.mimeType,p.codecs),3);case 3:v=e.o;c.Vb.a=v;x=v[v.length-1];if(B=f.Ta(l.a,\"EXT-X-ENDLIST\"))fh(b,g.Qa),b.c.xa(x.endTime);w(e)}})})}q.onExpirationUpdated=function(){};\nfunction bh(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x,B;return z(e,function(e){switch(e.j){case 1:f=Sg(b.s,c,b.u);if(0!=f.type)throw new D(2,4,4022);return u(e,gh(b,f),2);case 2:g=e.o;if(!b.f)throw new D(2,7,7001);if(b.W&&0==g.variants.length)throw new D(2,4,4034);b.f.filterAllPeriods([g]);h=Infinity;k=0;l=Infinity;for(var y=r(b.b.values()),E=y.next();!E.done;E=y.next())m=E.value,h=Math.min(h,m.dd),k=Math.max(k,m.dd),\"text\"!=m.stream.type&&(l=Math.min(l,m.duration));b.g!=ch.Qa?(b.c=new W(0,\n3*b.B),b.c.Xb(!1)):(b.c=new W(null,0),b.c.Xb(!0));hh(b);if(b.g!=ch.Qa){b.O=b.F;n=ch;b.g==n.Fd&&(p=b.c.vc,isNaN(b.a.availabilityWindowOverride)||(p=b.a.availabilityWindowOverride),b.c.xd(p));for(v=0;95443.7176888889<=k;)v+=95443.7176888889,k-=95443.7176888889;if(v)for(y=r(b.b.values()),E=y.next();!E.done;E=y.next())x=E.value,95443.7176888889>x.dd&&(x.stream.presentationTimeOffset=-v,x.Vb.offset(v))}else for(b.c.xa(l),b.c.offset(-h),y=r(b.b.values()),E=y.next();!E.done;E=y.next())B=E.value,B.stream.presentationTimeOffset=\nh,B.Vb.offset(-h),Vf(B.Vb,l);b.m={presentationTimeline:b.c,periods:[g],offlineSessionIds:[],minBufferTime:0};w(e)}})})}\nfunction gh(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x,B,y;return z(e,function(e){switch(e.j){case 1:return f=Mg,g=ud,h=c.a,k=f.nb(c.a,\"EXT-X-MEDIA\"),l=k.filter(function(b){return\"SUBTITLES\"==ih(b,\"TYPE\")}.bind(b)),m=l.map(function(b){var c=this;return t(function ba(){var e;return z(ba,function(f){switch(f.j){case 1:if(c.a.disableText)return f[\"return\"](null);za(f,2);return u(f,jh(c,b),4);case 4:return f[\"return\"](f.o);case 2:e=Ca(f);if(c.a.hls.ignoreTextStreamFailures)return f[\"return\"](null);\nthrow e;}})})}.bind(b)),n=k.filter(function(b){return\"CLOSED-CAPTIONS\"==ih(b,\"TYPE\")}),kh(b,n),u(e,Promise.all(m),2);case 2:return p=e.o,v=f.nb(h,\"EXT-X-STREAM-INF\"),x=v.map(function(b){return lh(this,b,c)}.bind(b)),u(e,Promise.all(x),3);case 3:return B=e.o,y=B.reduce(g.Gc,[]),y=y.filter(function(b){return null!=b}),e[\"return\"]({startTime:0,variants:y,textStreams:p.filter(function(b){return null!=b})})}})})}\nfunction lh(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x,B,y,G,E,aa,sa,ba,ub,Ua,X,oa,ha,Ka,Da,Ea,vb,eb,fb;return z(f,function(f){switch(f.j){case 1:g=xd;h=Mg;k=Kg(c,\"CODECS\",\"avc1.42E01E,mp4a.40.2\");l=mh(k.split(/\\s*,\\s*/));m=c.getAttribute(\"RESOLUTION\");p=n=null;v=Kg(c,\"FRAME-RATE\");x=Number(ih(c,\"BANDWIDTH\"));m&&(B=m.value.split(\"x\"),n=B[0],p=B[1]);y=h.nb(d.a,\"EXT-X-MEDIA\");y=y.filter(function(b){return\"CLOSED-CAPTIONS\"!=ih(b,\"TYPE\")});y=y.filter(function(b){var c=Kg(b,\"URI\")||\"\";return\"SUBTITLES\"==\n(Kg(b,\"TYPE\")||\"\")||\"\"!=c});G=Kg(c,\"AUDIO\");E=Kg(c,\"VIDEO\");G?y=h.Pc(y,\"AUDIO\",G):E&&(y=h.Pc(y,\"VIDEO\",E));if(aa=nh(g.ra,l)){if(sa=Kg(c,\"SUBTITLES\"))if(ba=h.Pc(y,\"SUBTITLES\",sa),ba.length&&(ub=b.D.get(ba[0].id)))ub.stream.codecs=aa;Pb(l,aa)}Ua=y.map(function(b){return oh(this,b,l)}.bind(b));X=[];oa=[];return u(f,Promise.all(Ua),2);case 2:Ka=f.o;Ka=Ka.filter(function(b){return null!=b});G?X=Ka:E&&(oa=Ka);Ea=!1;X.length||oa.length?X.length?(eb=ih(c,\"URI\"),fb=X[0].Bc,eb==fb?(Da=g.Eb,Ea=!0):Da=g.Pa):\nDa=g.Eb:1==l.length?(vb=nh(g.Pa,l),Da=m||v||vb?g.Pa:g.Eb):(Da=g.Pa,l=[l.join(\",\")]);if(Ea){f.A(3);break}return u(f,ph(b,c,l,Da),4);case 4:ha=f.o;case 3:if(ha)ha.stream.type==g.Eb?X=[ha]:oa=[ha];else if(null===ha)return f[\"return\"]([]);oa&&qh(oa);X&&qh(X);return f[\"return\"](rh(b,X,oa,x,n,p,v))}})})}function qh(b){b.forEach(function(b){if(b){var c=b.stream.codecs.split(\",\");c=c.filter(function(b){return\"mp4a.40.34\"!=b});b.stream.codecs=c.join(\",\")}})}\nfunction rh(b,c,d,e,f,g,h){d.forEach(function(b){if(b=b.stream)b.width=Number(f)||void 0,b.height=Number(g)||void 0,b.frameRate=Number(h)||void 0}.bind(b));var k=b.a?b.a.disableAudio:!1;if(!c.length||k)c=[null];k=b.a?b.a.disableVideo:!1;if(!d.length||k)d=[null];k=[];c=r(c);for(var l=c.next();!l.done;l=c.next()){l=l.value;for(var m=r(d),n=m.next();!n.done;n=m.next()){var p=n.value;n=l?l.stream:null;var v=p?p.stream:null,x=l?l.drmInfos:null,B=p?p.drmInfos:null;p=(p?p.Bc:\"\")+\" - \"+(l?l.Bc:\"\");var y=\nvoid 0;if(n&&v)if(x.length&&B.length?0<nd(x,B).length:1)y=nd(x,B);else continue;else n?y=x:v&&(y=B);b.S.has(p)||(n=sh(b,n,v,e,y),k.push(n),b.S.add(p))}}return k}function sh(b,c,d,e,f){return{id:b.$++,language:c?c.language:\"und\",primary:!!c&&c.primary||!!d&&d.primary,audio:c,video:d,bandwidth:e,drmInfos:f,allowedByApplication:!0,allowedByKeySystem:!0}}\nfunction jh(b,c){return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return ih(c,\"TYPE\"),u(e,oh(b,c,[]),2);case 2:return f=e.o,e[\"return\"](f.stream)}})})}function kh(b,c){for(var d=r(c),e=d.next();!e.done;e=d.next()){e=e.value;ih(e,\"TYPE\");var f=Kg(e,\"LANGUAGE\")||\"und\";f=M(f);var g=ih(e,\"GROUP-ID\");e=ih(e,\"INSTREAM-ID\");b.l.get(g)||b.l.set(g,new Map);b.l.get(g).set(e,f)}}\nfunction oh(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x,B,y;return z(f,function(f){switch(f.j){case 1:g=ih(c,\"URI\");if(b.b.has(g))return f[\"return\"](b.b.get(g));h=ih(c,\"TYPE\").toLowerCase();k=xd;\"subtitles\"==h&&(h=k.ra);l=M(Kg(c,\"LANGUAGE\",\"und\"));m=Kg(c,\"NAME\");n=c.getAttribute(\"DEFAULT\");p=c.getAttribute(\"AUTOSELECT\");v=Kg(c,\"CHANNELS\");if(\"audio\"==h)if(v){var G=v.split(\"/\")[0];G=parseInt(G,10)}else G=null;else G=null;x=G;B=!!n||!!p;return u(f,th(b,g,d,h,l,B,m,x,null),2);case 2:y=f.o;if(b.b.has(g))return f[\"return\"](b.b.get(g));\nif(null==y)return f[\"return\"](null);b.D.set(c.id,y);b.b.set(g,y);return f[\"return\"](y)}})})}\nfunction ph(b,c,d,e){return t(function g(){var h,k,l,m,n;return z(g,function(g){switch(g.j){case 1:h=xd;k=ih(c,\"URI\");if(b.b.has(k))return g[\"return\"](b.b.get(k));l=Kg(c,\"CLOSED-CAPTIONS\");m=null;e==h.Pa&&l&&\"NONE\"!=l&&(m=b.l.get(l));return u(g,th(b,k,d,e,\"und\",!1,null,null,m),2);case 2:n=g.o;if(null==n)return g[\"return\"](null);if(b.b.has(k))return g[\"return\"](b.b.get(k));b.b.set(k,n);return g[\"return\"](n)}})})}\nfunction th(b,c,d,e,f,g,h,k,l){return t(function n(){var p,v,x,B,y,G,E,aa,sa,ba,ub,Ua,X,oa,ha,Ka,Da,Ea,vb,eb,fb,zd,gb,Oh,wb,Fb;return z(n,function(n){switch(n.j){case 1:return p=Mg,v=p.Hc(b.u,c),u(n,ah(b,Wb([v],b.a.retryParameters),0),2);case 2:x=n.o;v=x.uri;B=Sg(b.s,x.data,v);if(1!=B.type)throw new D(2,4,4017);y=[];B.segments.forEach(function(b){b=p.nb(b.b,\"EXT-X-KEY\");y.push.apply(y,b)});G=!1;E=[];aa=null;for(var La=r(y),Va=La.next();!Va.done;Va=La.next())if(sa=Va.value,ba=ih(sa,\"METHOD\"),\"NONE\"!=\nba){G=!0;if(\"AES-128\"==ba)return b.W=!0,n[\"return\"](null);ub=ih(sa,\"KEYFORMAT\");if(X=(Ua=uh[ub])?Ua(sa):null)X.keyIds.length&&(aa=X.keyIds[0]),E.push(X)}if(G&&!E.length)throw new D(2,4,4026);vh(b,B);oa=wh(e,d);return u(n,xh(b,e,oa,B),3);case 3:return ha=n.o,yh.includes(ha)&&(oa=\"\"),Da=(Ka=p.Ta(B.a,\"EXT-X-MEDIA-SEQUENCE\"))?Number(Ka.value):0,za(n,4),u(n,eh(b,c,B,Da,ha,oa),6);case 6:Ea=n.o;Ba(n,5);break;case 4:vb=Ca(n);if(4035==vb.code)return cb(\"Skipping unsupported HLS stream\",ha,c),n[\"return\"](null);\nthrow vb;case 5:return eb=Ea[0].startTime,fb=Ea[Ea.length-1].endTime,zd=fb-eb,gb=new U(Ea),Oh=zh(B),wb=void 0,\"text\"==e&&(wb=\"subtitle\"),Fb={id:b.$++,originalId:h,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:gb.find.bind(gb),getSegmentReference:gb.get.bind(gb),initSegmentReference:Oh,presentationTimeOffset:0,mimeType:ha,codecs:oa,kind:wb,encrypted:G,keyId:aa,language:f,label:h,type:e,primary:g,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,\nwidth:void 0,height:void 0,bandwidth:void 0,roles:[],channelsCount:k,audioSamplingRate:null,closedCaptions:l},n[\"return\"]({stream:Fb,Vb:gb,drmInfos:E,Bc:c,Ce:v,dd:eb,Hg:fb,duration:zd})}})})}function vh(b,c){var d=ch,e=Mg.Ta(c.a,\"EXT-X-PLAYLIST-TYPE\"),f=Mg.Ta(c.a,\"EXT-X-ENDLIST\");f=e&&\"VOD\"==e.value||f;e=e&&\"EVENT\"==e.value&&!f;e=!f&&!e;f?fh(b,d.Qa):(e?fh(b,d.Fd):fh(b,d.xe),d=Ah(c.a,\"EXT-X-TARGETDURATION\"),d=Number(d.value),b.B=Math.max(d,b.B),b.F=Math.min(d,b.F))}\nfunction zh(b){var c=Mg.nb(b.a,\"EXT-X-MAP\");if(!c.length)return null;if(1<c.length)throw new D(2,4,4020);c=c[0];var d=ih(c,\"URI\"),e=Mg.Hc(b.b,d);b=0;d=null;if(c=Kg(c,\"BYTERANGE\"))b=c.split(\"@\"),c=Number(b[0]),b=Number(b[1]),d=b+c-1;return new Sf(function(){return[e]},b,d)}\nfunction Bh(b,c,d,e){var f=c.b,g=c.a;c=Ah(f,\"EXTINF\").value.split(\",\");c=e+Number(c[0]);var h=0,k=null;if(f=Mg.Ta(f,\"EXT-X-BYTERANGE\"))h=f.value.split(\"@\"),f=Number(h[0]),h=h[1]?Number(h[1]):b.a+1,k=h+f-1;return new T(d,e,c,function(){return[g]},h,k)}function hh(b){b.c&&(b.K.forEach(function(c){b.c.vb(c,0)}),b.K=[])}\nfunction eh(b,c,d,e,f,g){return t(function k(){var l,m,n,p,v,x,B,y,G,E,aa;return z(k,function(k){switch(k.j){case 1:return l=d.segments,m=[],n=l[0].a,p=Bh(null,l[0],e,0),v=zh(d),u(k,Ch(b,c,v,p,f,g),2);case 2:x=k.o;n.split(\"/\").pop();for(var ba=0;ba<l.length;++ba)B=l[ba],y=m[m.length-1],G=0==ba?x:y.endTime,E=e+ba,aa=Bh(y,B,E,G),m.push(aa);b.K.push(m);hh(b);return k[\"return\"](m)}})})}\nfunction Dh(b,c){return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:return f=1,g=rg(c.c(),c.b,c.b+2048-1,b.a.retryParameters),h=rg(c.c(),c.b,c.a,b.a.retryParameters),za(e,2),u(e,ah(b,g,f),4);case 4:return k=e.o,e[\"return\"](k);case 2:l=Ca(e);if(7001==l.code)throw l;cb(\"Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive! Your server should support Range requests and CORS preflights.\",g.uris[0]);return u(e,ah(b,h,f),5);case 5:return m=\ne.o,e[\"return\"](m)}})})}\nfunction Ch(b,c,d,e,f,g){return t(function k(){var l,m,n,p,v,x,B,y,G;return z(k,function(k){switch(k.j){case 1:if(b.m&&(l=b.b.get(c),m=l.Vb,n=m.get(e.position)))return k[\"return\"](n.startTime);f=f.toLowerCase();if(yh.includes(f))throw cb(\"Raw formats are not yet supported. Skipping \"+f),new D(1,4,4035);if(\"video/webm\"==f)throw cb(\"WebM in HLS is not yet supported. Skipping.\"),new D(1,4,4035);if(\"video/mp4\"!=f&&\"audio/mp4\"!=f){k.A(2);break}p=[Dh(b,e)];d&&p.push(Dh(b,d));return u(k,Promise.all(p),\n3);case 3:return v=k.o,x=v[0],B=v[1]||v[0],k[\"return\"](Eh(c,x.uri,x.data,B.data));case 2:if(\"video/mp2t\"!=f){k.A(4);break}return u(k,Dh(b,e),5);case 5:return y=k.o,k[\"return\"](Fh(c,y.uri,y.data));case 4:if(\"application/mp4\"!=f&&!f.startsWith(\"text/\")){k.A(6);break}return u(k,Dh(b,e),7);case 7:return G=k.o,k[\"return\"](Gh(f,g,G.data));case 6:throw new D(2,4,4030,c);}})})}\nfunction Eh(b,c,d,e){var f=0;(new R).H(\"moov\",xf).H(\"trak\",xf).H(\"mdia\",xf).fa(\"mdhd\",function(b){b.reader.M(0==b.version?8:16);f=b.reader.G();b.parser.stop()}).parse(e,!0);if(!f)throw new D(2,4,4030,b,c);var g=0,h=!1;(new R).H(\"moof\",xf).H(\"traf\",xf).fa(\"tfdt\",function(b){g=(0==b.version?b.reader.G():b.reader.Bb())/f;h=!0;b.parser.stop()}).parse(d,!0);if(!h)throw new D(2,4,4030,b,c);return g}\nfunction Fh(b,c,d){function e(){throw new D(2,4,4030,b,c);}d=new Q(new DataView(d),0);for(var f=0,g=0;;)if(f=d.ca(),g=d.la(),71!=g&&e(),d.Tb()&16384||e(),g=(d.la()&48)>>4,0!=g&&2!=g||e(),3==g&&(g=d.la(),d.M(g)),1!=d.G()>>8)d.seek(f+188),g=d.la(),71!=g&&(d.seek(f+192),g=d.la()),71!=g&&(d.seek(f+204),g=d.la()),71!=g&&e(),d.me(1);else return d.M(3),f=d.la()>>6,0!=f&&1!=f||e(),0==d.la()&&e(),f=d.la(),g=d.Tb(),d=d.Tb(),(1073741824*((f&14)>>1)+((g&65534)<<14|(d&65534)>>1))/9E4}\nfunction Gh(b,c,d){b=oc(b,c);if(!Yd(b))return 0;c=new Wd(null);Zd(c,b);return c.kc(d)}function mh(b){var c=new Set,d=[];b=r(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=rc(e)[0];c.has(f)||(d.push(e),c.add(f))}return d}function nh(b,c){for(var d=Hh[b],e=0;e<d.length;e++)for(var f=0;f<c.length;f++)if(d[e].test(c[f].trim()))return c[f].trim();return\"text\"==b?\"\":null}function wh(b,c){if(1==c.length)return c[0];var d=nh(b,c);if(null!=d)return d;throw new D(2,4,4025,c);}\nfunction xh(b,c,d,e){return t(function g(){var h,k,l,m,n,p,v,x,B;return z(g,function(g){switch(g.j){case 1:h=xd;k=e.segments[0].a;l=new ib(k);m=l.ja.split(\".\").pop();n=Ih[c];if(p=n[m])return g[\"return\"](p);if(c==h.ra)return d&&\"vtt\"!=d?g[\"return\"](\"application/mp4\"):g[\"return\"](\"text/vtt\");v=Wb([k],b.a.retryParameters);v.method=\"HEAD\";return u(g,ah(b,v,1),2);case 2:x=g.o;B=x.headers[\"content-type\"];if(!B)throw new D(2,4,4021,m);return g[\"return\"](B.split(\";\")[0])}})})}\nfunction ih(b,c){var d=b.getAttribute(c);if(!d)throw new D(2,4,4023,c);return d.value}function Ah(b,c){var d=Mg.Ta(b,c);if(!d)throw new D(2,4,4024,c);return d}\nvar Hh={audio:[/^vorbis$/,/^opus$/,/^flac$/,/^mp4a/,/^[ae]c-3$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av1$/],text:[/^vtt$/,/^wvtt/,/^stpp/]},yh=[\"audio/aac\",\"audio/ac3\",\"audio/ec3\",\"audio/mpeg\"],Ih={audio:{mp4:\"audio/mp4\",m4s:\"audio/mp4\",m4i:\"audio/mp4\",m4a:\"audio/mp4\",ts:\"video/mp2t\",aac:\"audio/aac\",ac3:\"audio/ac3\",ec3:\"audio/ec3\",mp3:\"audio/mpeg\"},video:{mp4:\"video/mp4\",m4s:\"video/mp4\",m4i:\"video/mp4\",m4v:\"video/mp4\",ts:\"video/mp2t\"},text:{mp4:\"application/mp4\",m4s:\"application/mp4\",m4i:\"application/mp4\",\nvtt:\"text/vtt\",ttml:\"application/ttml+xml\"}};function Zg(b){t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:if(!b.f)return d[\"return\"]();za(d,2);return u(d,b.update(),4);case 4:e=b.O;b.h.R(e);Ba(d,0);break;case 2:f=Ca(d);if(!b.f)return d[\"return\"]();f.severity=1;b.f.onError(f);b.h.R(.1);w(d)}})})}function fh(b,c){b.g=c;b.c&&b.c.Xb(b.g==ch.Qa);b.g!=ch.Qa||b.h.stop()}function ah(b,c,d){if(!b.i)throw new D(2,7,7001);c=b.f.networkingEngine.request(d,c);Tb(b.i,c);return c.promise}\nvar uh={\"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed\":function(b){var c=ih(b,\"METHOD\");ze(\"HLS SAMPLE-AES-CENC\",\"SAMPLE-AES-CENC will no longer be supported, see Issue #1227\");if(![\"SAMPLE-AES\",\"SAMPLE-AES-CTR\",\"SAMPLE-AES-CENC\"].includes(c))return null;c=ih(b,\"URI\");c=Xg.parse(c);c=new Uint8Array(c.data);c=wd(\"com.widevine.alpha\",[{initDataType:\"cenc\",initData:c}]);if(b=Kg(b,\"KEYID\"))c.keyIds=[b.substr(2).toLowerCase()];return c}},$g=\"VOD\",ch={Qa:$g,xe:\"EVENT\",Fd:\"LIVE\"};V.pd(\"m3u8\",Yg);\nV.Cb(\"application/x-mpegurl\",Yg);V.Cb(\"application/vnd.apple.mpegurl\",Yg);function Jh(){this.a=new Map}function Kh(b,c,d){Lh(b,c).text=d}function Lh(b,c){b.a.has(c)||b.a.set(c,new Mh);return b.a.get(c)}function Mh(){this.text=this.variant=null};function Nh(b,c){this.a=b;this.b=new Set([b]);c=c||[];for(var d=r(c),e=d.next();!e.done;e=d.next())this.add(e.value)}Nh.prototype.add=function(b){return Qh(this.a,b)?(this.b.add(b),!0):!1};function Qh(b,c){var d;if(!(d=!!b.audio!=!!c.audio||!!b.video!=!!c.video||b.language!=c.language)&&(d=b.audio&&c.audio)){d=b.audio;var e=c.audio;d=!(d.channelsCount==e.channelsCount&&Rh(d,e)&&Sh(d.roles,e.roles))}!d&&(d=b.video&&c.video)&&(d=b.video,e=c.video,d=!(Rh(d,e)&&Sh(d.roles,e.roles)));return d?!1:!0}\nNh.prototype.values=function(){return this.b.values()};function Rh(b,c){if(b.mimeType!=c.mimeType)return!1;var d=b.codecs.split(\",\").map(function(b){return rc(b)[0]}),e=c.codecs.split(\",\").map(function(b){return rc(b)[0]});if(d.length!=e.length)return!1;d.sort();e.sort();for(var f=0;f<d.length;f++)if(d[f]!=e[f])return!1;return!0}\nfunction Sh(b,c){var d=new Set(b),e=new Set(c);d[\"delete\"](\"main\");e[\"delete\"](\"main\");if(d.size!=e.size)return!1;d=r(d);for(var f=d.next();!f.done;f=d.next())if(!e.has(f.value))return!1;return!0};function Th(b){this.a=b;this.b=new Uh(b.language,\"\",b.audio&&b.audio.channelsCount?b.audio.channelsCount:0,\"\")}Th.prototype.create=function(b){var c=this,d=b.filter(function(b){return Qh(c.a,b)});return d.length?new Nh(d[0],d):this.b.create(b)};function Uh(b,c,d,e,f){this.f=b;this.c=c;this.a=d;this.b=void 0===e?\"\":e;this.g=void 0===f?\"\":f}\nUh.prototype.create=function(b){var c=[];c=Vh(b,this.f);var d=b.filter(function(b){return b.primary});c=c.length?c:d.length?d:b;this.c&&(b=Wh(c,this.c,this.g),b.length&&(c=b));this.a&&(b=N.Nd(c,this.a),b.length&&(c=b));this.b&&(b=Xh(c,this.b),b.length&&(c=b));b=new Nh(c[0]);c=r(c);for(d=c.next();!d.done;d=c.next())d=d.value,Qh(b.a,d)&&b.add(d);return b};function Vh(b,c){var d=M(c),e=we(d,b.map(function(b){return ve(b)}));return e?b.filter(function(b){return e==ve(b)}):[]}\nfunction Wh(b,c,d){return b.filter(function(b){if(d){var e=b[d];return e&&e.roles.includes(c)}e=b.audio;b=b.video;return e&&0<=e.roles.indexOf(c)||b&&0<=b.roles.indexOf(c)})}function Xh(b,c){return b.filter(function(b){return b.audio?b.audio.label.toLowerCase()==c.toLowerCase():!1})};function Yh(){this.a=Zh;this.b=(new Map).set(Zh,2).set($h,1)}function ai(b,c,d){b.b.set(Zh,d).set($h,c)}var $h=0,Zh=1;function bi(b,c){this.g=b;this.h=ci(b);this.a=b.a.currentTime;this.f=Date.now()/1E3;this.b=!1;this.i=c;this.c=function(){}}bi.prototype.release=function(){this.g=null;this.c=function(){}};function di(b,c){b.c=c}function ei(b){this.a=b}function ci(b){if(b.a.paused||0==b.a.playbackRate||null==b.a.buffered)var c=!1;else a:{c=b.a.buffered;b=b.a.currentTime;for(var d=0;d<c.length;d++){var e=c.start(d),f=c.end(d);if(!(b<e||b>f-.5)){c=!0;break a}}c=!1}return c};function fi(b,c,d,e,f){var g=this;this.a=b;this.u=c;this.s=d;this.l=f;this.f=new K;this.i=!1;this.m=b.readyState;this.c=!1;this.b=e;this.h=!1;this.f.w(b,\"waiting\",function(){return gi(g)});this.g=(new C(function(){gi(g)})).Na(.25)}fi.prototype.release=function(){this.f&&(this.f.release(),this.f=null);null!=this.g&&(this.g.stop(),this.g=null);this.b&&(this.b.release(),this.b=null);this.a=this.u=this.l=null};fi.prototype.jd=function(){this.h=!0;gi(this)};\nfunction gi(b){if(0!=b.a.readyState){if(b.a.seeking){if(!b.i)return}else b.i=!1;if(!b.a.paused){b.a.readyState!=b.m&&(b.c=!1,b.m=b.a.readyState);var c=b.s.smallGapLimit,d=b.a.currentTime,e=b.a.buffered;a:{if(e&&e.length&&!(1==e.length&&1E-6>e.end(0)-e.start(0))){var f=wc(\"Edge/\")||wc(\"Trident/\")||wc(\"Tizen\")||wc(\"CrKey\")?.5:.1;for(var g=0;g<e.length;g++)if(e.start(g)>d&&(0==g||e.end(g-1)-d<=f)){f=g;break a}}f=null}if(null==f){if(b.b){b=b.b;e=b.g;d=ci(e);f=e.a.currentTime;g=Date.now()/1E3;if(b.a!=\nf||b.h!=d)b.f=g,b.a=f,b.h=d,b.b=!1;f=g-b.f;f>=b.i&&d&&!b.b&&(b.c(b.a,f),b.b=!0,b.a=e.a.currentTime)}}else if(0!=f||b.h){g=e.start(f);var h=b.u.Ca();if(!(g>=h)){h=g-d;c=h<=c;var k=!1;.001>h||(c||b.c||(b.c=!0,d=new I(\"largegap\",{currentTime:d,gapSize:h}),d.cancelable=!0,b.l(d),b.s.jumpLargeGaps&&!d.defaultPrevented&&(k=!0)),!c&&!k)||(0!=f&&e.end(f-1),b.a.currentTime=g)}}}}};function hi(b){var c=this;this.c=b;this.a=new Set;this.b=(new C(function(){ii(c,!1)})).Na(.25)}hi.prototype.release=function(){this.b.stop();for(var b=r(this.a),c=b.next();!c.done;c=b.next())c.value.release();this.a.clear()};function ii(b,c){for(var d=r(b.a),e=d.next();!e.done;e=d.next())e.value.g(b.c.currentTime,c)};function ji(b){var c=[];b=r(b);for(var d=b.next();!d.done;d=b.next()){d=r(d.value.variants);for(var e=d.next();!e.done;e=d.next())c.push(e.value)}return c}function ki(b,c){for(var d=null,e=r(b),f=e.next();!f.done;f=e.next())f=f.value,c>=f.startTime&&(d=f);return d};function li(b){this.c=b;this.a=null;this.b=function(){}}li.prototype.release=function(){this.a=this.c=null;this.b=function(){}};li.prototype.g=function(b){var c=this.a,d=this.c.periods;b=ki(d,b)||d[0];c!=b&&this.b(b);this.a=b};function mi(b,c){b.b=c};function ni(b){var c=this;this.a=b;this.f=!1;this.c=this.a.jc();this.b=new C(function(){c.a.Yd(.25*c.c)})}ni.prototype.release=function(){this.b&&(this.b.stop(),this.b=null);this.a=null};ni.prototype.set=function(b){this.c=b;oi(this)};function oi(b){b.b.stop();var c=b.f?0:b.c;if(0<=c)try{b.a.jc()!=c&&b.a.wd(c);return}catch(d){}b.b.Na(.25);0!=b.a.jc()&&b.a.wd(0)};function pi(b,c,d){this.a=b;this.f=c;this.g=d;this.h=!1;this.b=new K;this.c=new qi(b);0<b.readyState?ri(this,d):si(this,d)}pi.prototype.release=function(){this.b&&(this.b.release(),this.b=null);null!=this.c&&(this.c.release(),this.c=null);this.f=function(){};this.a=null};function ti(b){return b.h?b.a.currentTime:b.g}function si(b,c){b.g=c;b.b.ea(b.a,\"loadedmetadata\");b.b.da(b.a,\"loadedmetadata\",function(){ri(b,c)})}\nfunction ri(b,c){.001>Math.abs(b.a.currentTime-c)?ui(b):(b.b.da(b.a,\"seeking\",function(){ui(b)}),vi(b.c,0==b.a.currentTime?c:b.a.currentTime))}function ui(b){b.h=!0;b.b.w(b.a,\"seeking\",function(){return b.f()})}function qi(b){var c=this;this.b=b;this.h=10;this.g=this.f=this.c=0;this.a=new C(function(){0>=c.c?c.a.stop():c.b.currentTime!=c.f?c.a.stop():(c.b.currentTime=c.g,c.c--)})}qi.prototype.release=function(){this.a&&(this.a.stop(),this.a=null);this.b=null};\nfunction vi(b,c){b.f=b.b.currentTime;b.g=c;b.c=b.h;b.b.currentTime=c;b.a.Na(.1)};function wi(b){function c(){null==d.c?d.f=!0:(d.b.da(d.a,\"seeking\",function(){d.f=!0}),d.a.currentTime=Math.max(0,d.a.currentTime+d.c))}var d=this;this.a=b;this.f=!1;this.c=null;this.b=new K;0==this.a.readyState?this.b.da(this.a,\"loadeddata\",c):c()}wi.prototype.release=function(){this.b&&(this.b.release(),this.b=null);this.a=null};wi.prototype.m=function(b){this.c=this.f?this.c:b};wi.prototype.h=function(){return(this.f?this.a.currentTime:this.c)||0};wi.prototype.s=function(){};\nfunction xi(b,c,d,e,f,g){var h=this;this.b=b;this.a=c.presentationTimeline;this.B=c.minBufferTime||0;this.g=d;this.u=f;this.l=null;this.f=new fi(b,c.presentationTimeline,d,yi(b,d),g);this.c=new pi(b,function(){a:{var b=h.f;b.i=!0;b.h=!1;b.c=!1;var c=ti(h.c);b=zi(h,c);if(.001<Math.abs(b-c)&&(c=(new Date).getTime()/1E3,!h.l||h.l<c-1)){h.l=c;c=h.c;0<c.a.readyState?vi(c.c,b):si(c,b);b=void 0;break a}h.u();b=void 0}return b},Ai(this,e));this.i=(new C(function(){if(0!=h.b.readyState&&!h.b.paused){var b=\nh.b.currentTime,c=h.a.ob(),d=h.a.Ca();3>d-c&&(c=d-3);b<c&&(b=zi(h,b),h.b.currentTime=b)}})).Na(.25)}xi.prototype.release=function(){this.c&&(this.c.release(),this.c=null);this.f&&(this.f.release(),this.f=null);this.i&&(this.i.stop(),this.i=null);this.b=this.c=this.a=this.g=null;this.u=function(){}};xi.prototype.m=function(b){var c=this.c;0<c.a.readyState?vi(c.c,b):si(c,b)};xi.prototype.h=function(){var b=ti(this.c);return 0<this.b.readyState&&!this.b.paused?Bi(this,b):b};\nfunction Ai(b,c){null==c?c=Infinity>b.a.Y()?b.a.ob():b.a.Ca():0>c&&(c=b.a.Ca()+c);return Ci(b,Bi(b,c))}xi.prototype.s=function(){this.f.jd()};function Ci(b,c){var d=b.a.Y();return c>=d?d-b.g.durationBackoff:c}function zi(b,c){var d=rd.bind(null,b.b.buffered),e=Math.max(b.B,b.g.rebufferingGoal),f=b.g.safeSeekOffset,g=b.a.ob(),h=b.a.Ca(),k=b.a.Y();3>h-g&&(g=h-3);var l=b.a.Nb(e),m=b.a.Nb(f);e=b.a.Nb(e+f);return c>=k?Ci(b,c):c>h?h:c<g?d(m)?m:e:c>=l||d(c)?c:e}\nfunction Bi(b,c){var d=b.a.ob();if(c<d)return d;d=b.a.Ca();return c>d?d:c}function yi(b,c){if(!c.stallEnabled)return null;var d=c.stallSkip,e=new bi(new ei(b),c.stallThreshold);di(e,function(){b.currentTime+=d});return e};function Di(){this.b=function(){};this.a=new Set}Di.prototype.release=function(){this.b=function(){};this.a.clear()};function Ei(b,c){b.b=c};function Fi(b){var c=this;this.h=b;this.f=new Map;this.a=function(){};this.b=function(){};this.c=function(){};this.i=[{eb:null,cb:Gi,Wa:function(b,e){return c.a(b,e)}},{eb:Hi,cb:Gi,Wa:function(b,e){return c.a(b,e)}},{eb:Ii,cb:Gi,Wa:function(b,e){return c.a(b,e)}},{eb:Gi,cb:Hi,Wa:function(b,e){return c.b(b,e)}},{eb:Gi,cb:Ii,Wa:function(b,e){return c.b(b,e)}},{eb:Hi,cb:Ii,Wa:function(b,e){return c.c(b,e)}},{eb:Ii,cb:Hi,Wa:function(b,e){return c.c(b,e)}}]}\nFi.prototype.release=function(){this.h=null;this.f.clear();this.a=function(){};this.b=function(){};this.c=function(){}};Fi.prototype.g=function(b,c){for(var d=r(this.h.a),e=d.next();!e.done;e=d.next()){e=e.value;var f=this.f.get(e),g=b<e.startTime?Hi:b>e.endTime?Ii:Gi;this.f.set(e,g);for(var h=r(this.i),k=h.next();!k.done;k=h.next())k=k.value,k.eb==f&&k.cb==g&&k.Wa(e,c)}};function Ji(b,c,d,e){b.a=c;b.b=d;b.c=e}var Hi=1,Gi=2,Ii=3;function Ki(b,c){this.a=c;this.c=b;this.g=null;this.l=1;this.u=Promise.resolve();this.h=[];this.i=new Map;this.b=new Map;this.s=!1;this.F=null;this.D=this.f=this.m=!1;this.B=0}Ki.prototype.destroy=function(){for(var b=r(this.b.values()),c=b.next();!c.done;c=b.next())Li(c.value);this.b.clear();this.i.clear();this.g=this.h=this.u=this.c=this.a=null;this.f=!0;return Promise.resolve()};\nKi.prototype.configure=function(b){this.g=b;this.F=new Ab({maxAttempts:Math.max(b.retryParameters.maxAttempts,2),baseDelay:b.retryParameters.baseDelay,backoffFactor:b.retryParameters.backoffFactor,fuzzFactor:b.retryParameters.fuzzFactor,timeout:0},!0)};\nKi.prototype.start=function(){var b=this;return t(function d(){var e,f,g;return z(d,function(d){switch(d.j){case 1:return e=b.a.Ua(),f=Mi(b,e),g=b.a.ae(b.c.periods[f]),g.variant||g.text?u(d,Ni(b,g.variant?g.variant.audio:null,g.variant?g.variant.video:null,g.text,e),2):d[\"return\"](new D(2,5,5005));case 2:if(b.f)return d[\"return\"]();b.a&&b.a.Cf&&b.a.Cf();w(d)}})})};function Oi(b){return Pi(b,\"audio\")}function Qi(b){return Pi(b,\"video\")}\nfunction Pi(b,c){var d=b.b.get(c);return d?d.Ka||d.stream:null}\nfunction Ri(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x;return z(e,function(e){switch(e.j){case 1:return f=xd,u(e,oe(b.a.L,f.ra),2);case 2:return b.B++,b.D=!1,g=b.B,h=b.a.L,k=new Map,l=new Set,k.set(f.ra,c),l.add(c),u(e,h.init(k,!1),3);case 3:return b.f?e[\"return\"]():u(e,Si(b,l),4);case 4:if(b.f)return e[\"return\"]();n=(m=b.a.L.g.isTextVisible())||b.g.alwaysStreamText;b.B!=g||b.b.has(f.ra)||b.D||!n||(p=b.a.Ua(),v=Mi(b,p),x=Ti(c,v,0),b.b.set(f.ra,x),Ui(b,x,0));w(e)}})})}\nfunction Vi(b,c){var d=b.b.get(\"video\");if(d){var e=d.stream;if(e)if(c){var f=e.trickModeVideo;f&&!d.Ka&&(Wi(b,f,!1,0,!1),d.Ka=e)}else if(e=d.Ka)d.Ka=null,Wi(b,e,!0,0,!1)}}function Xi(b,c,d,e){var f=!1;if(c.video){var g=Wi(b,c.video,d,e,!1);f=f||g}c.audio&&(b=Wi(b,c.audio,d,e,!1),f=f||b);return f}\nfunction Wi(b,c,d,e,f){var g=b.b.get(c.type);if(!g&&\"text\"==c.type&&b.g.ignoreTextStreamFailures)return Ri(b,c),!0;if(!g)return!1;var h=Yi(b,c),k=Array.from(b.b.values()).every(function(b){return b.ia==g.ia});if(d&&h!=g.ia&&k)return b.b.forEach(function(c){Zi(b,c)}),!0;g.Ka&&(c.trickModeVideo?(g.Ka=c,c=c.trickModeVideo):g.Ka=null);k=b.h[h];if(!k||!k.Db)return!1;k=b.i.get(c.id);if(!k||!k.Db||g.stream==c&&!f)return!1;\"text\"==c.type&&fe(b.a.L,oc(c.mimeType,c.codecs));g.stream=c;g.nc=!0;$i(b,g,h)&&g.Rb.abort();\nd&&(g.Ra?g.Cc=!0:g.Ja?(g.Oa=!0,g.dc=e,g.Cc=!0):(Li(g),aj(b,g,!0,e)[\"catch\"](function(c){if(b.a)b.a.onError(c)})));return!0}function $i(b,c,d){if(!c.Rb)return!1;var e=b.a.Ua(),f=je(b.a.L,c.type),g=bj(b,c,e,f,d);d=g?g.a?g.a-g.b:null:null;g&&!d&&(d=(g.endTime-g.kc())*c.stream.bandwidth/8);if(isNaN(d))return!1;(g=c.stream.initSegmentReference)&&(d+=(g.a?g.a-g.b:null)||0);g=b.a.getBandwidthEstimate();return 8*d/g<f-e-Math.max(b.c.minBufferTime||0,b.g.rebufferingGoal)||c.Rb.b.a>d?!0:!1}\nfunction cj(b){function c(c){var f=b.a.L;\"text\"==c?(c=f.a,c=null==c.a||null==c.b?!1:d>=c.a&&d<c.b):(c=ie(f,c),c=rd(c,d,e));return c}var d=b.a.Ua(),e=b.g.smallGapLimit,f=Mi(b,d);if(lc(b.b.values(),function(b){return b.ia==f}))for(var g=r(b.b.keys()),h=g.next();!h.done;h=g.next())h=h.value,c(h)||Zi(b,b.b.get(h));else lc(b.b.keys(),c)||b.b.forEach(function(c){Zi(b,c)})}\nfunction Zi(b,c){c.Ra||c.Oa||(c.Ja?(c.Oa=!0,c.dc=0):null==he(b.a.L,c.type)?null==c.Ga&&Ui(b,c,0):(Li(c),aj(b,c,!1,0)[\"catch\"](function(c){if(b.a)b.a.onError(c)})))}\nfunction Ni(b,c,d,e,f){return t(function h(){var k,l,m,n,p,v,x;return z(h,function(h){switch(h.j){case 1:return k=b.a.Ua(),l=Mi(b,k),m=xd,n=new Map,p=new Set,c&&(n.set(m.Eb,c),p.add(c)),d&&(n.set(m.Pa,d),p.add(d)),e&&(n.set(m.ra,e),p.add(e)),v=b.a.L,x=b.g.forceTransmuxTS,u(h,v.init(n,x),2);case 2:if(b.f)return h[\"return\"]();dj(b);return u(h,Si(b,p),3);case 3:if(b.f)return h[\"return\"]();n.forEach(function(c,d){if(!b.b.has(d)){var e=Ti(c,l,f);b.b.set(d,e);Ui(b,e,0)}});w(h)}})})}\nfunction Ti(b,c,d){return{stream:b,type:b.type,sb:null,Da:null,Ka:null,nc:!0,ia:c,endOfStream:!1,Ja:!1,Ga:null,Oa:!1,dc:0,Cc:!1,Ra:!1,od:!1,Pb:!1,rd:d||0,Rb:null}}\nfunction ej(b,c){var d=b.h[c];if(d)return d.promise;d={promise:new F,Db:!1};b.h[c]=d;for(var e=new Set,f=r(b.c.periods[c].variants),g=f.next();!g.done;g=f.next())g=g.value,g.video&&e.add(g.video),g.video&&g.video.trickModeVideo&&e.add(g.video.trickModeVideo),g.audio&&e.add(g.audio);f=r(b.c.periods[c].textStreams);for(g=f.next();!g.done;g=f.next())e.add(g.value);b.u=b.u.then(function(){if(!this.f)return Si(this,e)}.bind(b)).then(function(){this.f||(this.h[c].promise.resolve(),this.h[c].Db=!0)}.bind(b))[\"catch\"](function(b){this.f||\n(this.h[c].promise[\"catch\"](function(){}),this.h[c].promise.reject(),delete this.h[c],this.a.onError(b))}.bind(b));return d.promise}\nfunction Si(b,c){return t(function e(){var f,g,h,k,l,m,n;return z(e,function(e){switch(e.j){case 1:f=[];for(var p=r(c),x=p.next();!x.done;x=p.next())g=x.value,(h=b.i.get(g.id))?f.push(h.promise):(b.i.set(g.id,{promise:new F,Db:!1}),f.push(g.createSegmentIndex()));za(e,2);return u(e,Promise.all(f),4);case 4:if(b.f)return e[\"return\"]();Ba(e,3);break;case 2:k=Ca(e);if(b.f)return e[\"return\"]();e=r(c);for(x=e.next();!x.done;x=e.next())l=x.value,b.i.get(l.id).promise[\"catch\"](function(){}),b.i.get(l.id).promise.reject(),\nb.i[\"delete\"](l.id);throw k;case 3:p=r(c);for(x=p.next();!x.done;x=p.next())m=x.value,n=b.i.get(m.id),n.Db||(n.promise.resolve(),n.Db=!0);w(e)}})})}function dj(b){var c=b.c.presentationTimeline.Y();Infinity>c?b.a.L.xa(c):b.a.L.xa(Math.pow(2,32))}\nfunction fj(b,c){if(!b.f&&!c.Ja&&null!=c.Ga&&!c.Ra)if(c.Ga=null,c.Oa)aj(b,c,c.Cc,c.dc);else{try{var d=gj(b,c);null!=d&&(Ui(b,c,d),c.Pb=!1)}catch(e){hj(b,e);return}d=Array.from(b.b.values());ij(b,c);b.s&&d.every(function(b){return b.endOfStream})&&b.a.L.endOfStream().then(function(){if(!this.f){var b=this.a.L.Y();0!=b&&b<this.c.presentationTimeline.Y()&&this.c.presentationTimeline.xa(b)}}.bind(b))}}\nfunction gj(b,c){if(jj(c))return ne(b.a.L,c.stream.originalId||\"\"),null;var d=b.a.Ua(),e=kj(b,c,d),f=Yi(b,c.stream),g=Mi(b,e),h=ke(b.a.L,c.type,d),k=Math.max(b.c.minBufferTime||0,b.g.rebufferingGoal,b.g.bufferingGoal)*b.l;if(e>=b.c.presentationTimeline.Y())return c.endOfStream=!0,\"video\"==c.type&&(e=b.b.get(\"text\"))&&\"application/cea-608\"==e.stream.mimeType&&(e.endOfStream=!0),null;c.endOfStream=!1;c.ia=g;if(g!=f)return null;if(h>=k)return.5;g=je(b.a.L,c.type);g=bj(b,c,d,g,f);if(!g)return 1;var l=\nInfinity;Array.from(b.b.values()).forEach(function(c){jj(c)||(c=kj(b,c,d),l=Math.min(l,c))});if(e>=l+b.c.presentationTimeline.a)return 1;c.rd=0;lj(b,c,d,f,g);return null}function kj(b,c,d){if(!c.sb||!c.Da)return Math.max(d,c.rd);d=Yi(b,c.sb);return b.c.periods[d].startTime+c.Da.endTime}\nfunction bj(b,c,d,e,f){if(c.Da&&c.stream==c.sb)return mj(b,c,f,c.Da.position+1);c.Da?(d=Yi(b,c.sb),d=c.stream.findSegmentPosition(Math.max(0,b.c.periods[d].startTime+c.Da.endTime-b.c.periods[f].startTime))):d=c.stream.findSegmentPosition(Math.max(0,(e||d)-b.c.periods[f].startTime));if(null==d)return null;var g=null;null==e&&(g=mj(b,c,f,Math.max(0,d-1)));return g||mj(b,c,f,d)}\nfunction mj(b,c,d,e){d=b.c.periods[d];c=c.stream.getSegmentReference(e);if(!c)return null;e=b.c.presentationTimeline;b=e.Ob();e=e.pb();return d.startTime+c.endTime<b||d.startTime+c.startTime>e?null:c}\nfunction lj(b,c,d,e,f){var g=b.c.periods[e],h=c.stream,k=b.c.presentationTimeline.Y(),l=b.c.periods[e+1];e=nj(b,c,e,Math.max(0,g.startTime-.1),l?l.startTime+.01:k);c.Ja=!0;c.nc=!1;k=oj(b,c,f);Promise.all([e,k]).then(function(b){if(!this.f&&!this.m)return pj(this,c,d,g,h,f,b[1])}.bind(b)).then(function(){this.f||this.m||(c.Ja=!1,c.od=!1,c.Oa||this.a.jd(),Ui(this,c,0),qj(this,h))}.bind(b))[\"catch\"](function(b){this.f||this.m||(c.Ja=!1,\"text\"==c.type&&this.g.ignoreTextStreamFailures?this.b[\"delete\"](\"text\"):\n7001==b.code?(c.Ja=!1,c.Ga=null,Ui(this,c,0)):3017==b.code?rj(this,c,b):(c.Pb=!0,b.severity=2,hj(this,b)))}.bind(b))}function rj(b,c,d){if(!Array.from(b.b.values()).some(function(b){return b!=c&&b.od})){var e=Math.round(100*b.l);if(20<e)b.l-=.2;else if(4<e)b.l-=.04;else{c.Pb=!0;b.m=!0;b.a.onError(d);return}c.od=!0}Ui(b,c,4)}\nfunction nj(b,c,d,e,f){if(!c.nc)return Promise.resolve();d=pe(b.a.L,c.type,b.c.periods[d].startTime-c.stream.presentationTimeOffset,e,f);if(!c.stream.initSegmentReference)return d;b=oj(b,c,c.stream.initSegmentReference).then(function(b){if(!this.f)return le(this.a.L,c.type,b,null,null,c.stream.closedCaptions&&0<c.stream.closedCaptions.size)}.bind(b))[\"catch\"](function(b){c.nc=!0;return Promise.reject(b)});return Promise.all([d,b])}\nfunction pj(b,c,d,e,f,g,h){var k=f.closedCaptions&&0<f.closedCaptions.size;null!=f.emsgSchemeIdUris&&0<f.emsgSchemeIdUris.length&&(new R).fa(\"emsg\",b.K.bind(b,e,g,f.emsgSchemeIdUris)).parse(h);return sj(b,c,d).then(function(){if(!this.f)return le(this.a.L,c.type,h,g.startTime+e.startTime,g.endTime+e.startTime,k)}.bind(b)).then(function(){if(!this.f)return c.sb=f,c.Da=g,Promise.resolve()}.bind(b))}\nKi.prototype.K=function(b,c,d,e){var f=e.reader.md(),g=e.reader.md(),h=e.reader.G(),k=e.reader.G(),l=e.reader.G(),m=e.reader.G();e=e.reader.Za(e.reader.J.byteLength-e.reader.ca());b=b.startTime+c.startTime+k/h;if(d.includes(f))if(\"urn:mpeg:dash:event:2012\"==f)this.a.Df();else this.a.onEvent(new I(\"emsg\",{detail:{startTime:b,endTime:b+l/h,schemeIdUri:f,value:g,timescale:h,presentationTimeDelta:k,eventDuration:l,id:m,messageData:e}}))};\nfunction sj(b,c,d){var e=Math.max(b.g.bufferBehind,b.c.presentationTimeline.a),f=he(b.a.L,c.type);if(null==f)return Promise.resolve();d=d-f-e;return 0>=d?Promise.resolve():b.a.L.remove(c.type,f,f+d).then(function(){}.bind(b))}\nfunction qj(b,c){if(!b.s){var d=Array.from(b.b.values());if(1!=d.length||\"text\"!=d[0].type)b.s=d.every(function(b){return\"text\"==b.type?!0:!b.Oa&&!b.Ra&&b.Da});if(b.s){d=Yi(b,c);b.h[d]||ej(b,d).then(function(){this.f||this.a.$d()}.bind(b))[\"catch\"](ud.oc);for(d=0;d<b.c.periods.length;++d)ej(b,d)[\"catch\"](ud.oc);b.a.Lf&&b.a.Lf()}}}\nfunction ij(b,c){var d=Yi(b,c.stream);if(c.ia!=d){var e=c.ia,f=Array.from(b.b.values());f.every(function(b){return b.ia==e||jj(b)})&&f.every(tj)&&ej(b,e).then(function(){if(!this.f&&f.every(function(b){var c=tj(b),d=Yi(this,b.stream);return jj(b)?!0:c&&b.ia==e&&d!=e}.bind(this))){var b=this.c.periods[e],c=this.a.ae(b),d=new Map;c.variant&&c.variant.video&&d.set(\"video\",c.variant.video);c.variant&&c.variant.audio&&d.set(\"audio\",c.variant.audio);c.text&&d.set(\"text\",c.text);c=r(this.b.keys());for(var l=\nc.next();!l.done;l=c.next())if(l=l.value,!d.has(l)&&\"text\"!=l){this.a.onError(new D(2,5,5005));return}c=r(Array.from(d.keys()));for(l=c.next();!l.done;l=c.next())if(l=l.value,!this.b.has(l))if(\"text\"==l)Ni(this,null,null,d.get(\"text\"),b.startTime),d[\"delete\"](l);else{this.a.onError(new D(2,5,5005));return}c=r(Array.from(this.b.keys()));for(l=c.next();!l.done;l=c.next()){l=l.value;var m=this.b.get(l),n=d.get(l);if(n){var p=jj(m);p&&(m.ia=e,m.rd=b.startTime);Wi(this,n,!1,0,!1);p&&jj(m)||Ui(this,this.b.get(l),\n0)}else this.b[\"delete\"](l)}this.a.$d()}}.bind(b))[\"catch\"](ud.oc)}}function jj(b){return b&&\"text\"==b.type&&\"application/cea-608\"==b.stream.mimeType}function tj(b){return!b.Ja&&null==b.Ga&&!b.Oa&&!b.Ra}function Mi(b,c){var d=ki(b.c.periods,c+yd);return d?b.c.periods.indexOf(d):0}\nfunction Yi(b,c){for(var d=b.c.periods,e=0;e<d.length;e++){for(var f=d[e],g=new Set,h=r(f.variants),k=h.next();!k.done;k=h.next())k=k.value,k.audio&&g.add(k.audio),k.video&&g.add(k.video),k.video&&k.video.trickModeVideo&&g.add(k.video.trickModeVideo);f=r(f.textStreams);for(h=f.next();!h.done;h=f.next())g.add(h.value);if(g.has(c))return e}return-1}function oj(b,c,d){d=rg(d.c(),d.b,d.a,b.g.retryParameters);b=b.a.ub.request(1,d);c.Rb=b;return b.promise.then(function(b){c.Rb=null;return b.data})}\nfunction aj(b,c,d,e){return t(function g(){var h,k,l;return z(g,function(g){switch(g.j){case 1:return c.Oa=!1,c.Cc=!1,c.dc=0,c.Ra=!0,e?(k=b.a.Ua(),l=b.a.L.Y(),h=b.a.L.remove(c.type,k+e,l)):h=oe(b.a.L,c.type).then(function(){if(!this.f&&d)return this.a.L.flush(c.type)}.bind(b)),u(g,h,2);case 2:if(b.f)return g[\"return\"]();c.sb=null;c.Da=null;c.Ra=!1;c.endOfStream=!1;Ui(b,c,0);w(g)}})})}\nfunction Ui(b,c,d){c.Ga=(new zb(function(){return t(function f(){var d;return z(f,function(f){switch(f.j){case 1:return za(f,2),u(f,fj(b,c),4);case 4:Ba(f,0);break;case 2:d=Ca(f);if(b.a)b.a.onError(d);w(f)}})})})).R(d)}function Li(b){null!=b.Ga&&(b.Ga.stop(),b.Ga=null)}function hj(b,c){Cb(b.F).then(function(){this.f||(this.a.onError(c),c.handled||this.g.failureCallback(c))}.bind(b))};function uj(b,c,d,e,f,g){if(200<=d&&299>=d&&202!=d)return{uri:f||e,ld:e,data:c,headers:b,fromCache:!!b[\"x-shaka-from-cache\"]};f=null;try{f=Dc(c)}catch(h){}throw new D(401==d||403==d?2:1,1,1001,e,d,f,b,g);};function vj(b,c,d,e){var f=new vj.b;mc(c.headers).forEach(function(b,c){f.append(c,b)});var g=new vj.a,h={Id:!1,te:!1};b=vj.l(b,d,{body:c.body||void 0,headers:f,method:c.method,signal:g.signal,credentials:c.allowCrossSiteCredentials?\"include\":void 0},h,e);b=new H(b,function(){h.Id=!0;g.abort();return Promise.resolve()});if(c=c.retryParameters.timeout){var k=new C(function(){h.te=!0;g.abort()});k.R(c/1E3);b[\"finally\"](function(){k.stop()})}return b}A(\"shaka.net.HttpFetchPlugin\",vj);\nvj.l=function(b,c,d,e,f){return t(function h(){var k,l,m,n,p,v,x,B,y,G,E,aa,sa,ba;return z(h,function(h){switch(h.j){case 1:return k=vj.g,l=vj.c,v=p=0,x=Date.now(),za(h,2),u(h,k(b,d),4);case 4:return m=h.o,B=m.clone().body.getReader(),G=(y=m.headers.get(\"Content-Length\"))?parseInt(y,10):0,E=function(b){function c(){return t(function ha(){var d,e;return z(ha,function(h){switch(h.j){case 1:return za(h,2),u(h,B.read(),4);case 4:d=h.o;Ba(h,3);break;case 2:return Ca(h),h[\"return\"]();case 3:d.done||(p+=\nd.value.byteLength);e=Date.now();if(100<e-x||d.done)f(e-x,p-v,G-p),v=p,x=e;d.done?b.close():(b.enqueue(d.value),c());w(h)}})})}c()},new l({start:E}),u(h,m.arrayBuffer(),5);case 5:n=h.o;Ba(h,3);break;case 2:aa=Ca(h);if(e.Id)throw new D(1,1,7001,b,c);if(e.te)throw new D(1,1,1003,b,c);throw new D(1,1,1002,b,aa,c);case 3:return sa={},ba=m.headers,ba.forEach(function(b,c){sa[c.trim()]=b}),h[\"return\"](uj(sa,n,m.status,b,m.url,c))}})})};\nvj.isSupported=function(){if(window.ReadableStream)try{new ReadableStream({})}catch(b){return!1}else return!1;return!(!window.fetch||!window.AbortController)};vj.isSupported=vj.isSupported;vj.g=window.fetch;vj.a=window.AbortController;vj.c=window.ReadableStream;vj.b=window.Headers;vj.isSupported()&&(Vb(\"http\",vj,2),Vb(\"https\",vj,2));function wj(b,c,d,e){var f=new wj.f,g=Date.now(),h=0,k=new Promise(function(k,m){f.open(c.method,b,!0);f.responseType=\"arraybuffer\";f.timeout=c.retryParameters.timeout;f.withCredentials=c.allowCrossSiteCredentials;f.onabort=function(){m(new D(1,1,7001,b,d))};f.onload=function(c){c=c.target;var e=c.getAllResponseHeaders().trim().split(\"\\r\\n\"),f={};e=r(e);for(var g=e.next();!g.done;g=e.next())g=g.value.split(\": \"),f[g[0].toLowerCase()]=g.slice(1).join(\": \");try{var h=uj(f,c.response,c.status,b,c.responseURL,\nd);k(h)}catch(G){m(G)}};f.onerror=function(c){m(new D(1,1,1002,b,c,d))};f.ontimeout=function(){m(new D(1,1,1003,b,d))};f.onprogress=function(b){var c=Date.now();if(100<c-g||b.lengthComputable&&b.loaded==b.total)e(c-g,b.loaded-h,b.total-b.loaded),h=b.loaded,g=c};for(var l in c.headers)f.setRequestHeader(l.toLowerCase(),c.headers[l]);f.send(c.body)});return new H(k,function(){f.abort();return Promise.resolve()})}A(\"shaka.net.HttpXHRPlugin\",wj);wj.f=window.XMLHttpRequest;Vb(\"http\",wj,1);\nVb(\"https\",wj,1);function xj(){this.a=this.f=this.b=0;this.c=new Map;this.g=0}function yj(b,c){b.b+=c;var d=b.g;b.g++;b.c.set(d,c);return d}xj.prototype.close=function(b,c){if(this.c.has(b)){var d=this.c.get(b);this.c[\"delete\"](b);this.f+=d;this.a+=c}};function zj(b,c,d){this.h=b;this.b=new Map;this.c=!1;this.g=c;this.f=d;this.a=new xj}zj.prototype.destroy=function(){this.c=!0;return Promise.all(this.b.values()).then(function(){},function(){})};\nfunction Aj(b,c,d,e,f,g){var h=yj(b.a,e);e=b.b.get(c)||Promise.resolve();b.b.set(c,e.then(function(){return t(function l(){var c,e,p,v,x,B;return z(l,function(l){switch(l.j){case 1:return u(l,Bj(b,d),2);case 2:c=l.o;if(b.c)throw new D(2,9,7001);if(f){e=new Uint8Array(c);p=new Bf(e);for(var m in p.data)v=Number(m),x=p.data[v],B=p.a[v],b.f(x,B)}b.a.close(h,c.byteLength);m=b.a;b.g(0==m.b?0:m.f/m.b,b.a.a);return l[\"return\"](g(c))}})})}))}\nfunction Cj(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:return u(d,Promise.all(b.b.values()),2);case 2:return d[\"return\"](b.a.a)}})})}function Bj(b,c){return t(function e(){var f,g;return z(e,function(e){switch(e.j){case 1:return f=b.h.request(1,c),u(e,f.promise,2);case 2:return g=e.o,e[\"return\"](g.data)}})})};function Dj(b,c){var d=this;this.c=b;this.b=b.objectStore(c);this.a=new F;b.onabort=function(b){b.preventDefault();d.a.reject()};b.onerror=function(b){b.preventDefault();d.a.reject()};b.oncomplete=function(){d.a.resolve()}}Dj.prototype.abort=function(){try{this.c.abort()}catch(b){}return this.a[\"catch\"](function(){})};\nfunction Ej(b,c){return new Promise(function(d,e){var f=b.b.openCursor();f.onerror=e;f.onsuccess=function(b){b=b.target.result;if(!b)return d();c(b.key,b.value,b);b[\"continue\"]()}})}Dj.prototype.store=function(){return this.b};Dj.prototype.promise=function(){return this.a};function Fj(b){this.b=b;this.a=[]}Fj.prototype.destroy=function(){return Promise.all(this.a.map(function(b){return b.abort()}))};function Gj(b,c){return Hj(b,c,\"readwrite\")}function Hj(b,c,d){d=b.b.transaction([c],d);var e=new Dj(d,c);b.a.push(e);e.promise().then(function(){Pb(b.a,e)},function(){Pb(b.a,e)});return e};function Ij(b,c,d){this.b=new Fj(b);this.c=c;this.a=d}q=Ij.prototype;q.destroy=function(){return this.b.destroy()};q.hasFixedKeySpace=function(){return!0};q.addSegments=function(){return Jj(this.c)};q.removeSegments=function(b,c){return Kj(this,this.c,b,c)};q.getSegments=function(b){var c=this;return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return u(e,Lj(c,c.c,b),2);case 2:return f=e.o,e[\"return\"](f.map(function(b){return c.Jd(b)}))}})})};q.addManifests=function(){return Jj(this.a)};\nq.updateManifestExpiration=function(b,c){var d=Gj(this.b,this.a),e=d.store();e.get(b).onsuccess=function(d){if(d=d.target.result)d.expiration=c,e.put(d,b)};return d.promise()};q.removeManifests=function(b,c){return Kj(this,this.a,b,c)};q.getManifests=function(b){var c=this;return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return u(e,Lj(c,c.a,b),2);case 2:return f=e.o,e[\"return\"](f.map(function(b){return c.ec(b)}))}})})};\nq.getAllManifests=function(){var b=this;return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return e=Hj(b.b,b.a,\"readonly\"),f=new Map,u(d,Ej(e,function(d,e){f.set(d,b.ec(e))}),2);case 2:return u(d,e.promise(),3);case 3:return d[\"return\"](f)}})})};q.Jd=function(b){return b};q.ec=function(b){return b};function Jj(b){return Promise.reject(new D(2,9,9011,\"Cannot add new value to \"+b))}\nq.add=function(b,c){var d=this;return t(function f(){var g,h,k,l,m;return z(f,function(f){switch(f.j){case 1:g=Gj(d.b,b);h=g.store();k=[];for(var n=r(c),v=n.next();!v.done;v=n.next())l=v.value,m=h.add(l),m.onsuccess=function(b){k.push(b.target.result)};return u(f,g.promise(),2);case 2:return f[\"return\"](k)}})})};\nfunction Kj(b,c,d,e){b=Gj(b.b,c);c=b.store();var f={};d=r(d);for(var g=d.next();!g.done;f={key:f.key},g=d.next())f.key=g.value,c[\"delete\"](f.key).onsuccess=function(b){return function(){return e(b.key)}}(f);return b.promise()}\nfunction Lj(b,c,d){return t(function f(){var g,h,k,l,m,n,p;return z(f,function(f){switch(f.j){case 1:g=Hj(b.b,c,\"readonly\");h=g.store();k={};l=[];m={};n=r(d);for(p=n.next();!p.done;m={request:m.request,key:m.key},p=n.next())m.key=p.value,m.request=h.get(m.key),m.request.onsuccess=function(b){return function(){void 0==b.request.result&&l.push(b.key);k[b.key]=b.request.result}}(m);return u(f,g.promise(),2);case 2:if(l.length)throw new D(2,9,9012,\"Could not find values for \"+l);return f[\"return\"](d.map(function(b){return k[b]}))}})})}\n;function Mj(b){this.a=new Fj(b)}Mj.prototype.destroy=function(){return this.a.destroy()};Mj.prototype.getAll=function(){var b=this;return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return e=Hj(b.a,\"session-ids\",\"readonly\"),f=[],u(d,Ej(e,function(b,d){f.push(d)}),2);case 2:return u(d,e.promise(),3);case 3:return d[\"return\"](f)}})})};Mj.prototype.add=function(b){var c=Gj(this.a,\"session-ids\"),d=c.store();b=r(b);for(var e=b.next();!e.done;e=b.next())d.add(e.value);return c.promise()};\nMj.prototype.remove=function(b){var c=this;return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return f=Gj(c.a,\"session-ids\"),u(e,Ej(f,function(c,e,f){0<=b.indexOf(e.sessionId)&&f[\"delete\"]()}),2);case 2:return u(e,f.promise(),0)}})})};function Nj(){this.a=new Map}Nj.prototype.destroy=function(){for(var b=[],c=r(this.a.values()),d=c.next();!d.done;d=c.next())b.push(d.value.destroy());this.a.clear();return Promise.all(b)};Nj.prototype.init=function(){var b=this;Oj.forEach(function(c,d){var e=c();e&&b.a.set(d,e)});for(var c=[],d=r(this.a.values()),e=d.next();!e.done;e=d.next())c.push(e.value.init());return Promise.all(c)};\nfunction Pj(b){var c=null;b.a.forEach(function(b,e){b.getCells().forEach(function(b,d){b.hasFixedKeySpace()||c||(c={path:{wa:e,ba:d},ba:b})})});if(c)return c;throw new D(2,9,9013,\"Could not find a cell that supports add-operations\");}function Qj(b,c){b.a.forEach(function(b,e){b.getCells().forEach(function(b,d){c({wa:e,ba:d},b)})})}\nfunction Rj(b,c,d){b=b.a.get(c);if(!b)throw new D(2,9,9013,\"Could not find mechanism with name \"+c);c=b.getCells().get(d);if(!c)throw new D(2,9,9013,\"Could not find cell with name \"+d);return c}function Sj(b,c){b.a.forEach(function(b){c(b.getEmeSessionCell())})}function Tj(b){var c=Array.from(b.a.keys());if(!c.length)throw new D(2,9,9E3,\"No supported storage mechanisms found\");return b.a.get(c[0]).getEmeSessionCell()}\nNj.prototype.erase=function(){var b=this;return t(function d(){var e,f,g;return z(d,function(d){switch(d.j){case 1:return e=Array.from(b.a.values()),f=0<e.length,f||(g=Oj,g.forEach(function(b){(b=b())&&e.push(b)})),u(d,Promise.all(e.map(function(b){return b.erase()})),2);case 2:if(f)d.A(0);else return u(d,Promise.all(e.map(function(b){return b.destroy()})),0)}})})};function Uj(b,c){Oj.set(b,c)}A(\"shaka.offline.StorageMuxer.register\",Uj);A(\"shaka.offline.StorageMuxer.unregister\",function(b){Oj[\"delete\"](b)});\nvar Oj=new Map;function Vj(b){Ij.apply(this,arguments)}va(Vj,Ij);Vj.prototype.updateManifestExpiration=function(b,c){var d=Gj(this.b,this.a),e=d.store(),f=new F;e.get(b).onsuccess=function(d){(d=d.target.result)?(d.expiration=c,e.put(d),f.resolve()):f.reject(new D(2,9,9012,\"Could not find values for \"+b))};return d.promise().then(function(){return f})};\nVj.prototype.ec=function(b){return{originalManifestUri:b.originalManifestUri,duration:b.duration,size:b.size,expiration:null==b.expiration?Infinity:b.expiration,periods:b.periods.map(Wj),sessionIds:b.sessionIds,drmInfo:b.drmInfo,appMetadata:b.appMetadata}};function Wj(b){Xj(b);b.streams.forEach(function(){});return{startTime:b.startTime,streams:b.streams.map(Yj)}}\nfunction Yj(b){var c=b.initSegmentUri?Zj(b.initSegmentUri):null;return{id:b.id,originalId:null,primary:b.primary,presentationTimeOffset:b.presentationTimeOffset,contentType:b.contentType,mimeType:b.mimeType,codecs:b.codecs,frameRate:b.frameRate,pixelAspectRatio:void 0,kind:b.kind,language:b.language,label:b.label,width:b.width,height:b.height,initSegmentKey:c,encrypted:b.encrypted,keyId:b.keyId,segments:b.segments.map(ak),variantIds:b.variantIds}}\nfunction ak(b){var c=Zj(b.uri);return{startTime:b.startTime,endTime:b.endTime,dataKey:c}}Vj.prototype.Jd=function(b){return{data:b.data}};function Zj(b){var c;if((c=/^offline:[0-9]+\\/[0-9]+\\/([0-9]+)$/.exec(b))||(c=/^offline:segment\\/([0-9]+)$/.exec(b)))return Number(c[1]);throw new D(2,9,9004,\"Could not parse uri \"+b);}\nfunction Xj(b){var c=b.streams.filter(function(b){return\"audio\"==b.contentType}),d=b.streams.filter(function(b){return\"video\"==b.contentType});if(!c.every(function(b){return b.variantIds})||!d.every(function(b){return b.variantIds})){c.forEach(function(b){b.variantIds=[]});d.forEach(function(b){b.variantIds=[]});var e=0;if(d.length&&!c.length){var f=e++;d.forEach(function(b){b.variantIds.push(f)})}if(!d.length&&c.length){var g=e++;c.forEach(function(b){b.variantIds.push(g)})}d.length&&c.length&&c.forEach(function(b){d.forEach(function(c){var d=\ne++;b.variantIds.push(d);c.variantIds.push(d)})})}};function bk(b,c,d,e){Ij.call(this,b,c,d);this.f=e}va(bk,Ij);bk.prototype.hasFixedKeySpace=function(){return this.f};bk.prototype.addSegments=function(b){return this.f?Jj(this.c):this.add(this.c,b)};bk.prototype.addManifests=function(b){return this.f?Jj(this.a):this.add(this.a,b)};bk.prototype.ec=function(b){null==b.expiration&&(b.expiration=Infinity);return b};function ck(){this.g=this.c=this.b=this.a=this.f=null}q=ck.prototype;\nq.init=function(){var b=this,c=new F,d=window.indexedDB.open(\"shaka_offline_db\",4);d.onsuccess=function(d){d=d.target.result;b.f=d;var e=d.objectStoreNames;e=e.contains(\"manifest\")&&e.contains(\"segment\")?new Vj(d,\"segment\",\"manifest\"):null;b.a=e;e=d.objectStoreNames;e=e.contains(\"manifest-v2\")&&e.contains(\"segment-v2\")?new bk(d,\"segment-v2\",\"manifest-v2\",!0):null;b.b=e;e=d.objectStoreNames;e=e.contains(\"manifest-v3\")&&e.contains(\"segment-v3\")?new bk(d,\"segment-v3\",\"manifest-v3\",!1):null;b.c=e;d=d.objectStoreNames.contains(\"session-ids\")?\nnew Mj(d):null;b.g=d;c.resolve()};d.onupgradeneeded=function(b){b=b.target.result;for(var c=r([\"segment-v3\",\"manifest-v3\",\"session-ids\"]),d=c.next();!d.done;d=c.next())d=d.value,b.objectStoreNames.contains(d)||b.createObjectStore(d,{autoIncrement:!0})};d.onerror=function(b){c.reject(new D(2,9,9001,d.error));b.preventDefault()};return c};\nq.destroy=function(){var b=this;return t(function d(){return z(d,function(d){switch(d.j){case 1:if(!b.a){d.A(2);break}return u(d,b.a.destroy(),2);case 2:if(!b.b){d.A(4);break}return u(d,b.b.destroy(),4);case 4:if(!b.c){d.A(6);break}return u(d,b.c.destroy(),6);case 6:if(!b.g){d.A(8);break}return u(d,b.g.destroy(),8);case 8:b.f&&b.f.close(),w(d)}})})};q.getCells=function(){var b=new Map;this.a&&b.set(\"v1\",this.a);this.b&&b.set(\"v2\",this.b);this.c&&b.set(\"v3\",this.c);return b};q.getEmeSessionCell=function(){return this.g};\nq.erase=function(){var b=this;return t(function d(){return z(d,function(d){switch(d.j){case 1:if(!b.a){d.A(2);break}return u(d,b.a.destroy(),2);case 2:if(!b.b){d.A(4);break}return u(d,b.b.destroy(),4);case 4:if(!b.c){d.A(6);break}return u(d,b.c.destroy(),6);case 6:return b.f&&b.f.close(),u(d,dk(),8);case 8:return b.f=null,b.a=null,b.b=null,b.c=null,u(d,b.init(),0)}})})};\nfunction dk(){var b=new F,c=window.indexedDB.deleteDatabase(\"shaka_offline_db\");c.onblocked=function(){};c.onsuccess=function(){b.resolve()};c.onerror=function(d){b.reject(new D(2,9,9001,c.error));d.preventDefault()};return b}Uj(\"idb\",function(){return window.indexedDB?new ck:null});function ek(b,c,d,e){this.a=b;this.g=c;this.f=d;this.c=e;this.b=[\"offline:\",b,\"/\",c,\"/\",d,\"/\",e].join(\"\")}ek.prototype.wa=function(){return this.g};ek.prototype.ba=function(){return this.f};ek.prototype.key=function(){return this.c};ek.prototype.toString=function(){return this.b};\nfunction fk(b){b=/^offline:([a-z]+)\\/([^/]+)\\/([^/]+)\\/([0-9]+)$/.exec(b);if(null==b)return null;var c=b[1];if(\"manifest\"!=c&&\"segment\"!=c)return null;var d=b[2];if(!d)return null;var e=b[3];return e&&null!=c?new ek(c,d,e,Number(b[4])):null};function gk(b,c){this.b=b;this.a=c}function hk(b,c){var d=new W(null,0);d.xa(c.duration);var e=c.periods.map(function(c){return ik(b,c,d)}),f=c.drmInfo?[c.drmInfo]:[];c.drmInfo&&e.forEach(function(b){b.variants.forEach(function(b){b.drmInfos=f})});return{presentationTimeline:d,minBufferTime:2,offlineSessionIds:c.sessionIds,periods:e}}\nfunction ik(b,c,d){var e=c.streams.filter(function(b){return\"audio\"==b.contentType}),f=c.streams.filter(function(b){return\"video\"==b.contentType});e=jk(b,e,f);f=c.streams.filter(function(b){return\"text\"==b.contentType}).map(function(c){return kk(b,c)});c.streams.forEach(function(e){e=e.segments.map(function(c,d){return lk(b,d,c)});d.vb(e,c.startTime)});return{startTime:c.startTime,variants:Array.from(e.values()),textStreams:f}}\nfunction jk(b,c,d){for(var e=new Set,f=r(c),g=f.next();!g.done;g=f.next()){var h=r(g.value.variantIds);for(g=h.next();!g.done;g=h.next())e.add(g.value)}f=r(d);for(g=f.next();!g.done;g=f.next())for(h=r(g.value.variantIds),g=h.next();!g.done;g=h.next())e.add(g.value);f=new Map;e=r(e);for(g=e.next();!g.done;g=e.next())g=g.value,f.set(g,{id:g,language:\"\",primary:!1,audio:null,video:null,bandwidth:0,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0});c=r(c);for(e=c.next();!e.done;e=c.next())for(e=\ne.value,g=kk(b,e),h=r(e.variantIds),e=h.next();!e.done;e=h.next())e=f.get(e.value),e.language=g.language,e.primary=e.primary||g.primary,e.audio=g;d=r(d);for(c=d.next();!c.done;c=d.next())for(e=c.value,c=kk(b,e),g=r(e.variantIds),e=g.next();!e.done;e=g.next())e=f.get(e.value),e.primary=e.primary||c.primary,e.video=c;return f}\nfunction kk(b,c){var d=c.segments.map(function(c,d){return lk(b,d,c)}),e=new U(d);d={id:c.id,originalId:c.originalId,createSegmentIndex:function(){return Promise.resolve()},findSegmentPosition:function(b){return e.find(b)},getSegmentReference:function(b){return e.get(b)},initSegmentReference:null,presentationTimeOffset:c.presentationTimeOffset,mimeType:c.mimeType,codecs:c.codecs,width:c.width||void 0,height:c.height||void 0,frameRate:c.frameRate||void 0,pixelAspectRatio:c.pixelAspectRatio||void 0,\nkind:c.kind,encrypted:c.encrypted,keyId:c.keyId,language:c.language,label:c.label||null,type:c.contentType,primary:c.primary,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null};null!=c.initSegmentKey&&(d.initSegmentReference=mk(b,c.initSegmentKey));return d}function lk(b,c,d){var e=new ek(\"segment\",b.b,b.a,d.dataKey);return new T(c,d.startTime,d.endTime,function(){return[e.toString()]},0,null)}\nfunction mk(b,c){var d=new ek(\"segment\",b.b,b.a,c);return new Sf(function(){return[d.toString()]},0,null)};function nk(){this.a=null}q=nk.prototype;q.configure=function(){};\nq.start=function(b){var c=this;return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:f=fk(b);c.a=f;if(null==f||\"manifest\"!=f.a)return e[\"return\"](Promise.reject(new D(2,1,9004,f)));g=new Nj;Aa(e,2);return u(e,g.init(),4);case 4:return u(e,Rj(g,f.wa(),f.ba()),5);case 5:return h=e.o,u(e,h.getManifests([f.key()]),6);case 6:return k=e.o,l=k[0],m=new gk(f.wa(),f.ba()),e[\"return\"](hk(m,l));case 2:return Fa(e),u(e,g.destroy(),7);case 7:Ga(e,0)}})})};q.stop=function(){return Promise.resolve()};\nq.update=function(){};\nq.onExpirationUpdated=function(b,c){var d=this;return t(function f(){var g,h,k,l,m,n,p;return z(f,function(f){switch(f.j){case 1:return g=d.a,h=new Nj,za(f,2,3),u(f,h.init(),5);case 5:return u(f,Rj(h,g.wa(),g.ba()),6);case 6:return k=f.o,u(f,k.getManifests([g.key()]),7);case 7:l=f.o;m=l[0];n=m.sessionIds.includes(b);p=void 0==m.expiration||m.expiration>c;if(!n||!p){f.A(3);break}return u(f,k.updateManifestExpiration(g.key(),c),3);case 3:return Fa(f),u(f,h.destroy(),10);case 10:Ga(f,0);break;case 2:Ca(f),\nf.A(3)}})})};V.Cb(\"application/x-offline-manifest\",nk);function ok(b){var c=fk(b);return c&&\"manifest\"==c.a?ok.h(b):c&&\"segment\"==c.a?ok.i(c.key(),c):Db(new D(2,1,9004,b))}A(\"shaka.offline.OfflineScheme\",ok);ok.h=function(b){b={uri:b,ld:b,data:new ArrayBuffer(0),headers:{\"content-type\":\"application/x-offline-manifest\"}};return Hb(b)};ok.i=function(b,c){var d=new Nj;return Hb(void 0).U(function(){return d.init()}).U(function(){return Rj(d,c.wa(),c.ba())}).U(function(b){return b.getSegments([c.key()])}).U(function(b){return{uri:c,ld:c,data:b[0].data,headers:{}}})[\"finally\"](function(){return d.destroy()})};\nVb(\"offline\",ok);function pk(b,c,d){return t(function f(){var g,h,k,l,m,n;return z(f,function(f){switch(f.j){case 1:g=[];for(var p=[],x=r(d),B=x.next();!B.done;B=x.next()){B=B.value;for(var y=!1,G=r(p),E=G.next();!E.done;E=G.next())if(E=E.value,qk(E.info,B)){E.sessionIds.push(B.sessionId);y=!0;break}y||p.push({info:B,sessionIds:[B.sessionId]})}h=r(p);k=h.next();case 2:if(k.done){f.A(4);break}l=k.value;m=rk(b,c,l);return u(f,m,5);case 5:n=f.o;g=g.concat(n);k=h.next();f.A(2);break;case 4:return f[\"return\"](g)}})})}\nfunction rk(b,c,d){return t(function f(){var g,h;return z(f,function(f){switch(f.j){case 1:return g=new Gc({ub:c,onError:function(){},qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),za(f,2),g.configure(b),u(f,Oc(g,d.info.keySystem,d.info.licenseUri,d.info.serverCertificate,d.info.audioCapabilities,d.info.videoCapabilities),4);case 4:Ba(f,3);break;case 2:return Ca(f),u(f,g.destroy(),5);case 5:return f[\"return\"]([]);case 3:return za(f,6),u(f,Vc(g),8);case 8:Ba(f,7);break;case 6:return Ca(f),\nu(f,g.destroy(),9);case 9:return f[\"return\"]([]);case 7:return h=[],u(f,Promise.all(d.sessionIds.map(function(b){return t(function n(){return z(n,function(c){switch(c.j){case 1:return za(c,2),u(c,Yc(g,b),4);case 4:h.push(b);Ba(c,0);break;case 2:Ca(c),w(c)}})})})),10);case 10:return u(f,g.destroy(),11);case 11:return f[\"return\"](h)}})})}\nfunction qk(b,c){function d(b,c){return b.robustness==c.robustness&&b.contentType==c.contentType}return b.keySystem==c.keySystem&&b.licenseUri==c.licenseUri&&Rb(b.audioCapabilities,c.audioCapabilities,d)&&Rb(b.videoCapabilities,c.videoCapabilities,d)};function sk(b,c){var d=tk(),e=this;this.g=c;this.c=b;this.i=d;this.h=null;this.f=[];this.b=this.a=null;this.l=!0;this.m=Promise.resolve().then(function(){return uk(e)})}sk.prototype.destroy=function(){var b=this;return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:return b.l=!1,b.b&&b.b.abort(),vk(b),u(d,b.m,2);case 2:b.a&&b.a.va.Ya();for(var f=r(b.f),h=f.next();!h.done;h=f.next())e=h.value,e.va.Ya();b.a=null;b.f=[];b.g=null;w(d)}})})};\nfunction wk(b,c){var d={wb:function(){},pc:function(){},Ya:function(){},onError:function(){},rc:function(){},Jg:function(){}};b.f.push({create:c,va:d});b.b&&b.b.abort();vk(b);return d}\nfunction uk(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:if(b.l){if(0==b.f.length||b.a&&!b.a.Va)var e=!1;else{b.a&&(b.a.va.Ya(),b.a=null);e=b.f.shift();var g=e.create(b.i);g?(e.va.wb(),b.a={node:g.node,payload:g.payload,Va:g.Va,va:e.va}):e.va.rc();e=!0}e?e=Promise.resolve():b.a?e=xk(b):(b.g.Bf(b.c),b.h=new F,e=b.h);return u(d,e,1)}d.A(0)}})})}\nfunction xk(b){return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return b.c=b.g.cf(b.c,b.i,b.a.node,b.a.payload),za(d,2),b.b=b.g.Le(b.c,b.i,b.a.payload),u(d,b.b.promise,4);case 4:b.b=null;b.c==b.a.node&&(b.a.va.pc(),b.a=null);Ba(d,0);break;case 2:e=Ca(d);if(7001==e.code)b.a.va.Ya();else b.a.va.onError(e);b.a=null;b.b=null;f=b;return u(d,b.g.handleError(b.i,e),5);case 5:f.c=d.o,w(d)}})})}function vk(b){b.h&&(b.h.resolve(),b.h=null)};function yk(b){this.a=null;for(var c=0;c<b.textTracks.length;++c){var d=b.textTracks[c];d.mode=\"disabled\";\"Shaka Player TextTrack\"==d.label&&(this.a=d)}this.a||(this.a=b.addTextTrack(\"subtitles\",\"Shaka Player TextTrack\"));this.a.mode=\"hidden\"}A(\"shaka.text.SimpleTextDisplayer\",yk);yk.prototype.remove=function(b,c){if(!this.a)return!1;zk(this.a,function(d){return d.startTime<c&&d.endTime>b});return!0};yk.prototype.remove=yk.prototype.remove;\nyk.prototype.append=function(b){for(var c=Ak,d=[],e=0;e<b.length;e++){var f=c(b[e]);f&&d.push(f)}d.slice().sort(function(b,c){return b.startTime!=c.startTime?b.startTime-c.startTime:b.endTime!=c.endTime?b.endTime-c.startTime:d.indexOf(c)-d.indexOf(b)}).forEach(function(b){this.a.addCue(b)}.bind(this))};yk.prototype.append=yk.prototype.append;yk.prototype.destroy=function(){this.a&&zk(this.a,function(){return!0});this.a=null;return Promise.resolve()};yk.prototype.destroy=yk.prototype.destroy;\nyk.prototype.isTextVisible=function(){return\"showing\"==this.a.mode};yk.prototype.isTextVisible=yk.prototype.isTextVisible;yk.prototype.setTextVisibility=function(b){this.a.mode=b?\"showing\":\"hidden\"};yk.prototype.setTextVisibility=yk.prototype.setTextVisibility;\nfunction Ak(b){if(b.startTime>=b.endTime)return null;var c=new VTTCue(b.startTime,b.endTime,b.payload);c.lineAlign=b.lineAlign;c.positionAlign=b.positionAlign;c.size=b.size;try{c.align=b.textAlign}catch(d){}\"center\"==b.textAlign&&\"center\"!=c.align&&(c.align=\"middle\");\"vertical-lr\"==b.writingMode?c.vertical=\"lr\":\"vertical-rl\"==b.writingMode&&(c.vertical=\"rl\");1==b.lineInterpretation&&(c.snapToLines=!1);null!=b.line&&(c.line=b.line);null!=b.position&&(c.position=b.position);return c}\nfunction zk(b,c){var d=b.mode;b.mode=\"showing\"==d?\"showing\":\"hidden\";for(var e=b.cues,f=e.length-1;0<=f;f--){var g=e[f];g&&c(g)&&b.removeCue(g)}b.mode=d};function Bk(b,c,d,e,f){var g=f in e,h=!0,k;for(k in c){var l=f+\".\"+k,m=g?e[f]:d[k];g||k in d?void 0===c[k]?void 0===m||g?delete b[k]:b[k]=Nb(m):m.constructor==Object&&c[k]&&c[k].constructor==Object?(b[k]||(b[k]=Nb(m)),l=Bk(b[k],c[k],m,e,l),h=h&&l):typeof c[k]!=typeof m||null==c[k]||\"function\"!=typeof c[k]&&c[k].constructor!=m.constructor?(bb(\"Invalid config, wrong type for \"+l),h=!1):(\"function\"==typeof d[k]&&d[k].length!=c[k].length&&cb(\"Unexpected number of arguments for \"+l),b[k]=c[k]):(bb(\"Invalid config, unrecognized key \"+\nl),h=!1)}return h}A(\"shaka.util.ConfigUtils.mergeConfigObjects\",Bk);function Ck(b,c){for(var d={},e=d,f=0,g=0;;){f=b.indexOf(\".\",f);if(0>f)break;if(0==f||\"\\\\\"!=b[f-1])g=b.substring(g,f).replace(/\\\\\\./g,\".\"),e[g]={},e=e[g],g=f+1;f+=1}e[b.substring(g).replace(/\\\\\\./g,\".\")]=c;return d}A(\"shaka.util.ConfigUtils.convertToConfigObject\",Ck);function Dk(){}A(\"shaka.util.PlayerConfiguration\",Dk);\nfunction Ek(){var b=5E5,c=Infinity;navigator.connection&&(b=1E6*navigator.connection.downlink,navigator.connection.saveData&&(c=360));var d={retryParameters:Bb(),servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1,initDataTransform:fd,fairPlayTransform:!0},e={retryParameters:Bb(),availabilityWindowOverride:NaN,disableAudio:!1,disableVideo:!1,disableText:!1,dash:{customScheme:function(b){if(b)return null},clockSyncUri:\"\",ignoreDrmInfo:!1,xlinkFailGracefully:!1,defaultPresentationDelay:10,\nignoreMinBufferTime:!1,autoCorrectDrift:!0,ignoreSuggestedPresentationDelay:!1,ignoreEmptyAdaptationSet:!1},hls:{ignoreTextStreamFailures:!1}},f={retryParameters:Bb(),failureCallback:function(b){return[b]},rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,alwaysStreamText:!1,startAtSegmentBoundary:!1,smallGapLimit:.5,jumpLargeGaps:!1,durationBackoff:1,forceTransmuxTS:!1,safeSeekOffset:5,stallEnabled:!0,stallThreshold:1,stallSkip:.1,useNativeHlsOnSafari:!0};wc(\"Web0S\")&&\n(f.stallEnabled=!1);var g={trackSelectionCallback:function(b){return t(function m(){return z(m,function(c){switch(c.j){case 1:return c[\"return\"](b)}})})},progressCallback:function(b,c){return[b,c]},usePersistentLicense:!0},h={drm:d,manifest:e,streaming:f,offline:g,abrFactory:O,abr:{enabled:!0,defaultBandwidthEstimate:b,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:c,minPixels:0,maxPixels:Infinity,minFrameRate:0,\nmaxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity}},preferredAudioLanguage:\"\",preferredTextLanguage:\"\",preferredVariantRole:\"\",preferredTextRole:\"\",preferredAudioChannelCount:2,restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:Infinity,minPixels:0,maxPixels:Infinity,minFrameRate:0,maxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity},playRangeStart:0,playRangeEnd:Infinity,textDisplayFactory:function(){return null}};g.trackSelectionCallback=function(b){return t(function m(){return z(m,\nfunction(c){switch(c.j){case 1:return c[\"return\"](Fk(b,h.preferredAudioLanguage))}})})};return h}function Gk(b,c,d){var e={\".drm.servers\":\"\",\".drm.clearKeys\":\"\",\".drm.advanced\":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:\"\",audioRobustness:\"\",serverCertificate:new Uint8Array(0),individualizationServer:\"\"}};return Bk(b,c,d||Ek(),e,\"\")}Dk.mergeConfigObjects=Gk;\nfunction Fk(b,c){var d=b.filter(function(b){return\"variant\"==b.type}),e=[],f=we(c,d.map(function(b){return b.language}));f&&(e=d.filter(function(b){return M(b.language)==f}));0==e.length&&(e=d.filter(function(b){return b.primary}));0==e.length&&(d.map(function(b){return b.language}),e=d);var g=e.filter(function(b){return b.height&&480>=b.height});g.length&&(g.sort(function(b,c){return c.height-b.height}),e=g.filter(function(b){return b.height==g[0].height}));d=[];if(e.length){var h=Math.floor(e.length/\n2);e.sort(function(b,c){return b.bandwidth-c.bandwidth});d.push(e[h])}e=r(b);for(h=e.next();!h.done;h=e.next())h=h.value,\"text\"==h.type&&d.push(h);return d};function Hk(){this.a=null;this.b=[]}function Ik(b,c){if(null==b.a)b.a={timestamp:Date.now()/1E3,state:c,duration:0};else{var d=Date.now()/1E3;b.a.duration=d-b.a.timestamp;b.a.state!=c&&(b.b.push(b.a),b.a={timestamp:d,state:c,duration:0})}}function Jk(b,c){var d=0;b.a&&b.a.state==c&&(d+=b.a.duration);for(var e=r(b.b),f=e.next();!f.done;f=e.next())f=f.value,d+=f.state==c?f.duration:0;return d}\nfunction Kk(b){function c(b){return{timestamp:b.timestamp,state:b.state,duration:b.duration}}for(var d=[],e=r(b.b),f=e.next();!f.done;f=e.next())d.push(c(f.value));b.a&&d.push(c(b.a));return d};function Lk(){this.b=this.c=null;this.a=[]};function Mk(){this.f=this.s=this.h=this.b=this.i=this.l=this.m=this.g=this.u=NaN;this.a=new Hk;this.c=new Lk};function Y(b,c){var d=this;Mb.call(this);this.i=Nk;this.a=null;this.gb=!1;this.g=new K;this.Dc=this.l=this.Fb=this.b=this.s=this.f=this.Yb=this.B=this.Zb=this.W=this.ib=this.m=this.D=this.h=this.K=null;this.Xd=1E9;this.ac=new Set;this.kb=!0;this.pa=null;this.Ud=!1;this.Rd=0;this.oa=null;this.$=new Jh;this.c=Ok(this);this.bc={width:Infinity,height:Infinity};this.u=null;this.Gb=new Uh(this.c.preferredAudioLanguage,this.c.preferredVariantRole,this.c.preferredAudioChannelCount);this.na=this.c.preferredTextLanguage;\nthis.fb=this.c.preferredTextRole;c&&c(this);this.K=Pk(this);this.g.w(window,\"online\",function(){d.sd()});this.F={name:\"detach\"};this.O={name:\"attach\"};this.Ha={name:\"unload\"};this.Mc={name:\"manifest-parser\"};this.Kc={name:\"manifest\"};this.hb={name:\"media-source\"};this.Ec={name:\"drm-engine\"};this.S={name:\"load\"};this.Rc={name:\"src-equals-drm-engine\"};this.jb={name:\"src-equals\"};var e=new Map;e.set(this.O,function(b,c){return Ib(Qk(d,b,c))});e.set(this.F,function(b){b.v&&(d.g.ea(b.v,\"error\"),b.v=null);\nd.a=null;b=Promise.resolve();return Ib(b)});e.set(this.Ha,function(b){return Ib(Rk(d,b))});e.set(this.hb,function(b){b=Sk(d,b);return Ib(b)});e.set(this.Mc,function(b,c){var e=Tk(d,b,c);return Ib(e)});e.set(this.Kc,function(b){return Uk(d,b)});e.set(this.Ec,function(){var b=Vk(d);return Ib(b)});e.set(this.S,function(b,c){return Ib(Wk(d,b,c))});e.set(this.Rc,function(b){b=Xk(d,b);return Ib(b)});e.set(this.jb,function(b,c){return Yk(d,b,c)});this.lb=new sk(this.F,{cf:function(b,c,e,k){var f=null;b==\nd.F&&(f=e==d.F?d.F:d.O);b==d.O&&(f=e==d.F||c.v!=k.v?d.F:e==d.O?d.O:e==d.hb||e==d.S?d.hb:e==d.jb?d.Rc:null);b==d.hb&&(f=e==d.S&&c.v==k.v?d.Mc:d.Ha);b==d.Mc&&(f=Zk(d.S,d.Kc,d.Ha,e,c,k));b==d.Kc&&(f=Zk(d.S,d.Ec,d.Ha,e,c,k));b==d.Ec&&(f=Zk(d.S,d.S,d.Ha,e,c,k));b==d.Rc&&(f=e==d.jb&&c.v==k.v?d.jb:d.Ha);if(b==d.S||b==d.jb)f=d.Ha;b==d.Ha&&(f=k.v&&c.v==k.v?d.O:d.F);return f},Le:function(b,c,h){d.dispatchEvent(new I(\"onstatechange\",{state:b.name}));return e.get(b)(c,h)},handleError:function(b){return t(function h(){return z(h,\nfunction(c){switch(c.j){case 1:return u(c,Rk(d,b),2);case 2:return c[\"return\"](b.v?d.O:d.F)}})})},Bf:function(b){d.dispatchEvent(new I(\"onstateidle\",{state:b.name}))}});b&&this.Hb(b,!0)}Xa(Y,Mb);A(\"shaka.Player\",Y);\nY.prototype.destroy=function(){var b=this;return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:if(b.i==$k)return d[\"return\"]();b.i=$k;e=wk(b.lb,function(){return{node:b.F,payload:tk(),Va:!1}});return u(d,new Promise(function(d){e.wb=function(){};e.pc=function(){d();b.dispatchEvent(new I(\"loaded\"))};e.Ya=function(){d()};e.onError=function(){d()};e.rc=function(){d()}}),2);case 2:return u(d,b.lb.destroy(),3);case 3:b.g&&(b.g.release(),b.g=null);b.Dc=null;b.l=null;b.c=null;if(!b.K){d.A(0);\nbreak}return u(d,b.K.destroy(),5);case 5:b.K=null,w(d)}})})};Y.prototype.destroy=Y.prototype.destroy;Y.version=\"v2.5.10\";var al=[\"2\",\"5\"];Ae=new function(b){this.a=b;this.c=Be;this.b=Ce}(new ye(Number(al[0]),Number(al[1])));var bl=[\"output-restricted\",\"internal-error\"],cl={};Y.registerSupportPlugin=function(b,c){cl[b]=c};\nY.isBrowserSupported=function(){if(!(window.Promise&&window.Uint8Array&&Array.prototype.forEach))return!1;var b=xc();return b&&12>b||!(window.MediaKeys&&window.navigator&&window.navigator.requestMediaKeySystemAccess&&window.MediaKeySystemAccess&&window.MediaKeySystemAccess.prototype.getConfiguration)?!1:sc()?!0:tc(\"application/x-mpegurl\")};\nY.probeSupport=function(){return ld().then(function(b){for(var c=V.Sf(),d={},e=r('video/mp4; codecs=\"avc1.42E01E\",video/mp4; codecs=\"avc3.42E01E\",video/mp4; codecs=\"hev1.1.6.L93.90\",video/mp4; codecs=\"hvc1.1.6.L93.90\",video/mp4; codecs=\"hev1.2.4.L153.B0\"; eotf=\"smpte2084\",video/mp4; codecs=\"hvc1.2.4.L153.B0\"; eotf=\"smpte2084\",video/mp4; codecs=\"vp9\",video/mp4; codecs=\"vp09.00.10.08\",video/mp4; codecs=\"av01.0.01M.08\",audio/mp4; codecs=\"mp4a.40.2\",audio/mp4; codecs=\"ac-3\",audio/mp4; codecs=\"ec-3\",audio/mp4; codecs=\"opus\",audio/mp4; codecs=\"flac\",video/webm; codecs=\"vp8\",video/webm; codecs=\"vp9\",video/webm; codecs=\"vp09.00.10.08\",audio/webm; codecs=\"vorbis\",audio/webm; codecs=\"opus\",video/mp2t; codecs=\"avc1.42E01E\",video/mp2t; codecs=\"avc3.42E01E\",video/mp2t; codecs=\"hvc1.1.6.L93.90\",video/mp2t; codecs=\"mp4a.40.2\",video/mp2t; codecs=\"ac-3\",video/mp2t; codecs=\"ec-3\",text/vtt,application/mp4; codecs=\"wvtt\",application/ttml+xml,application/mp4; codecs=\"stpp\"'.split(\",\")),f=\ne.next();!f.done;f=e.next()){f=f.value;d[f]=sc()?Yd(f)?!0:MediaSource.isTypeSupported(f)||Cd(f):tc(f);var g=f.split(\";\")[0];d[g]=d[g]||d[f]}b={manifest:c,media:d,drm:b};for(var h in cl)b[h]=cl[h]();return b})};Y.prototype.Hb=function(b,c){c=void 0===c?!0:c;if(this.i==$k)return Promise.reject(dl());var d=tk();d.v=b;sc()||(c=!1);var e=c?this.hb:this.O,f=wk(this.lb,function(){return{node:e,payload:d,Va:!1}});f.wb=function(){};return el(f)};Y.prototype.attach=Y.prototype.Hb;\nY.prototype.detach=function(){var b=this;if(this.i==$k)return Promise.reject(dl());var c=wk(this.lb,function(){return{node:b.F,payload:tk(),Va:!1}});c.wb=function(){};return el(c)};Y.prototype.detach=Y.prototype.detach;Y.prototype.Cd=function(b){var c=this;b=void 0===b?!0:b;if(this.i==$k)return Promise.reject(dl());sc()||(b=!1);var d=tk(),e=wk(this.lb,function(e){var f=e.v&&b?c.hb:e.v?c.O:c.F;d.v=e.v;return{node:f,payload:d,Va:!1}});e.wb=function(){};return el(e)};Y.prototype.unload=Y.prototype.Cd;\nY.prototype.load=function(b,c,d){if(this.i==$k)return Promise.reject(dl());this.dispatchEvent(new I(\"loading\"));var e=tk();e.uri=b;e.zd=Date.now()/1E3;d&&\"string\"!=typeof d&&(ze(\"Loading with a manifest parser factory\",\"Please register a manifest parser and for the mime-type.\"),e.Aa=function(){return new d});d&&\"string\"==typeof d&&(e.mimeType=d);void 0!==c&&(e.startTime=c);var f=fl(this,e)?this.jb:this.S,g=wk(this.lb,function(b){if(null==b.v)return null;e.v=b.v;return{node:f,payload:e,Va:!0}});g.wb=\nfunction(){};return new Promise(function(b,c){g.rc=function(){return c(new D(2,7,7002))};g.pc=function(){return b()};g.Ya=function(){return c(dl())};g.onError=function(b){return c(b)}})};Y.prototype.load=Y.prototype.load;\nfunction fl(b,c){if(c.Aa)return!1;if(!sc())return!0;var d=c.mimeType,e=c.uri||\"\";d||(d={mp4:\"video/mp4\",m4v:\"video/mp4\",m4a:\"audio/mp4\",webm:\"video/webm\",weba:\"audio/webm\",mkv:\"video/webm\",ts:\"video/mp2t\",ogv:\"video/ogg\",ogg:\"audio/ogg\",mpg:\"video/mpeg\",mpeg:\"video/mpeg\",m3u8:\"application/x-mpegurl\",mp3:\"audio/mpeg\",aac:\"audio/aac\",flac:\"audio/flac\",wav:\"audio/wav\"}[V.getExtension(e)]);return d?\"\"==(c.v||uc()).canPlayType(d)?!1:V.isSupported(e,d)?vc()&&b.c.streaming.useNativeHlsOnSafari:!0:!1}\nfunction Qk(b,c,d){null==c.v&&(c.v=d.v,b.g.w(c.v,\"error\",function(){var c=gl(b);c&&b.Ma(c)}));b.a=c.v;return Promise.resolve()}\nfunction Rk(b,c){return t(function e(){return z(e,function(e){switch(e.j){case 1:b.i!=$k&&(b.i=Nk);b.dispatchEvent(new I(\"unloading\"));c.Aa=null;c.mimeType=null;c.startTime=null;c.uri=null;c.v&&(b.g.ea(c.v,\"loadeddata\"),b.g.ea(c.v,\"playing\"),b.g.ea(c.v,\"pause\"),b.g.ea(c.v,\"ended\"),b.g.ea(c.v,\"ratechange\"));b.ib&&(b.ib.release(),b.ib=null);b.Zb&&(b.Zb.stop(),b.Zb=null);if(!b.s){e.A(2);break}return u(e,b.s.stop(),3);case 3:b.s=null;case 2:if(!b.l){e.A(4);break}return u(e,b.l.stop(),4);case 4:if(!b.f){e.A(6);\nbreak}return u(e,b.f.destroy(),7);case 7:b.f=null;case 6:b.m&&(b.m.release(),b.m=null);if(!b.D){e.A(8);break}return u(e,b.D.destroy(),9);case 9:b.D=null;case 8:if(!c.v||!c.v.src){e.A(10);break}return u(e,new Promise(function(b){return(new C(b)).R(.1)}),11);case 11:c.v.removeAttribute(\"src\"),c.v.load();case 10:if(!b.h){e.A(12);break}return u(e,b.h.destroy(),13);case 13:b.h=null;case 12:b.$.a.clear(),b.Fb=null,b.B=null,b.ac.clear(),b.b=null,b.u=null,b.Fc=null,b.kb=!0,hl(b),w(e)}})})}\nfunction Sk(b,c){return t(function e(){var f,g,h,k;return z(e,function(e){switch(e.j){case 1:return f=window.muxjs?new od:new pd,g=b.c.textDisplayFactory,h=new g,b.Fc=g,k=new ce(c.v,f,h),u(e,k.s,2);case 2:b.D=k,w(e)}})})}\nfunction Tk(b,c,d){return t(function f(){var g,h,k,l;return z(f,function(f){switch(f.j){case 1:c.Aa=d.Aa;c.mimeType=d.mimeType;c.uri=d.uri;g=c.uri;h=b.K;b.Fb=g;if(c.Aa){b.s=c.Aa();f.A(2);break}k=b;return u(f,V.create(g,h,b.c.manifest.retryParameters,c.mimeType),3);case 3:k.s=f.o;case 2:l=Nb(b.c.manifest),d.v&&\"AUDIO\"===d.v.nodeName&&(l.disableVideo=!0),b.s.configure(l),w(f)}})})}\nfunction Uk(b,c){var d=c.uri,e=b.K;b.Yb=new Di;Ei(b.Yb,function(c){il(b,\"timelineregionadded\",c)});var f={networkingEngine:e,filterNewPeriod:function(c){return b.Nc(c)},filterAllPeriods:function(c){return jl(b,c)},onTimelineRegionAdded:function(c){var d=b.Yb;a:{var e=r(d.a);for(var f=e.next();!f.done;f=e.next())if(f=f.value,f.schemeIdUri==c.schemeIdUri&&f.id==c.id&&f.startTime==c.startTime&&f.endTime==c.endTime){e=f;break a}e=null}null==e&&(d.a.add(c),d.b(c))},onEvent:function(c){return b.dispatchEvent(c)},\nonError:function(c){return b.Ma(c)}};return new H(Promise.resolve().then(function(){return t(function h(){var c;return z(h,function(e){switch(e.j){case 1:return c=b,u(e,b.s.start(d,f),2);case 2:c.b=e.o;b.dispatchEvent(new I(\"manifestparsed\"));if(0==b.b.periods.length)throw new D(2,4,4014);kl(b.b.periods);w(e)}})})}),function(){return b.s.stop()})}\nfunction Vk(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:return b.h=new Gc({ub:b.K,onError:function(d){b.Ma(d)},qc:function(d){ll(b,d)},onExpirationUpdated:function(d,e){ml(b,d,e)},onEvent:function(d){b.dispatchEvent(d)}}),b.h.configure(b.c.drm),u(d,Nc(b.h,ji(b.b.periods),b.b.offlineSessionIds),2);case 2:jl(b,b.b.periods),w(d)}})})}\nfunction Wk(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x;return z(f,function(f){switch(f.j){case 1:return c.startTime=d.startTime,g=c.v,h=c.uri,b.Fb=h,b.u=new Mk,k=function(){return nl(b)},l=function(){var c=b.a.playbackRate;0!=c&&b.W.set(c)},b.g.w(g,\"playing\",k),b.g.w(g,\"pause\",k),b.g.w(g,\"ended\",k),b.g.w(g,\"ratechange\",l),m=b.c.abrFactory,b.l&&b.Dc==m||(b.Dc=m,b.l=new m,b.l.configure(b.c.abr)),ol(b,b.b.periods),b.Gb=new Uh(b.c.preferredAudioLanguage,b.c.preferredVariantRole,b.c.preferredAudioChannelCount),\nb.na=b.c.preferredTextLanguage,pl(b.b.presentationTimeline,b.c.playRangeStart,b.c.playRangeEnd),u(f,b.h.Hb(g),2);case 2:return b.l.init(function(c,d,f){d=void 0===d?!1:d;f=void 0===f?0:f;a:{var g=r(b.b.periods);for(var h=g.next();!h.done;h=g.next())if(h=h.value,h.variants.includes(c)){g=h;break a}g=null}ql(b,g,c,!0);b.f&&Xi(b.f,c,d,f)&&rl(b)}),b.m=sl(b,c.startTime),b.ib=tl(b),b.W=new ni({jc:function(){return c.v.playbackRate},wd:function(b){c.v.playbackRate=b},Yd:function(b){c.v.currentTime+=b}}),\nn=Math.max(b.b.minBufferTime,b.c.streaming.rebufferingGoal),ul(b,n),b.f=vl(b),b.f.configure(b.c.streaming),wl(b),b.i=xl,b.dispatchEvent(new I(\"streaming\")),u(f,b.f.start(),3);case 3:b.c.streaming.startAtSegmentBoundary&&(p=b.m.h(),v=yl(b,p),b.m.m(v)),b.b.periods.forEach(b.Nc.bind(b)),zl(b),rl(b),x=Al(b)||b.b.periods[0],x.variants.some(function(b){return b.primary}),Bl(b,x.variants),b.g.da(g,\"loadeddata\",function(){b.u.b=Date.now()/1E3-d.zd}),w(f)}})})}\nfunction Xk(b,c){return t(function e(){var f,g;return z(e,function(e){switch(e.j){case 1:return f=xd,b.h=new Gc({ub:b.K,onError:function(c){b.Ma(c)},qc:function(c){ll(b,c)},onExpirationUpdated:function(c,e){ml(b,c,e)},onEvent:function(c){b.dispatchEvent(c)}}),b.h.configure(b.c.drm),g={id:0,language:\"und\",primary:!1,audio:null,video:{id:0,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,\npresentationTimeOffset:0,mimeType:\"video/mp4\",codecs:\"\",encrypted:!0,keyId:null,language:\"und\",label:null,type:f.Pa,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},bandwidth:100,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0},u(e,Nc(b.h,[g],[]),2);case 2:return u(e,b.h.Hb(c.v),0)}})})}\nfunction Yk(b,c,d){function e(){return nl(b)}c.uri=d.uri;c.startTime=d.startTime;b.Fb=c.uri;b.u=new Mk;b.m=new wi(c.v);null!=c.startTime&&b.m.m(c.startTime);b.W=new ni({jc:function(){return c.v.playbackRate},wd:function(b){c.v.playbackRate=b},Yd:function(b){c.v.currentTime+=b}});ul(b,b.c.streaming.rebufferingGoal);b.g.w(c.v,\"playing\",e);b.g.w(c.v,\"pause\",e);b.g.w(c.v,\"ended\",e);b.g.da(c.v,\"loadeddata\",function(){b.u.b=Date.now()/1E3-d.zd});b.a.audioTracks&&(b.g.w(b.a.audioTracks,\"addtrack\",function(){return zl(b)}),\nb.g.w(b.a.audioTracks,\"removetrack\",function(){return zl(b)}),b.g.w(b.a.audioTracks,\"change\",function(){return zl(b)}));if(b.a.textTracks){var f=b.a.textTracks;b.g.w(f,\"addtrack\",function(){return zl(b)});b.g.w(f,\"removetrack\",function(){return zl(b)});b.g.w(f,\"change\",function(){return zl(b)})}c.v.src=c.uri;b.i=Cl;b.dispatchEvent(new I(\"streaming\"));var g=new F;b.a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?g.resolve():b.a.error?g.reject(gl(b)):(b.g.da(b.a,\"loadeddata\",function(){g.resolve()}),\nb.g.da(b.a,\"error\",function(){g.reject(gl(b))}));return new H(g,function(){g.reject(new D(2,7,7001));return Promise.resolve()})}function kl(b){function c(b){return b.video&&b.audio||b.video&&b.video.codecs.includes(\",\")}b.some(function(b){return b.variants.some(c)})&&b.forEach(function(b){b.variants=b.variants.filter(c)})}\nfunction wl(b){function c(b){var c=\"\";b.video&&(c=rc(b.video.codecs)[0]);var d=\"\";b.audio&&(d=rc(b.audio.codecs)[0]);return c+\"-\"+d}var d=b.b.periods.reduce(function(b,c){return b.concat(c.variants)},[]);d=N.Nd(d,b.c.preferredAudioChannelCount);var e=new Lb;d.forEach(function(b){var d=c(b);e.push(d,b)});var f=null,g=Infinity;e.forEach(function(b,c){var d=0,e=0;c.forEach(function(b){d+=b.bandwidth||0;++e});var h=d/e;h<g&&(f=b,g=h)});b.b.periods.forEach(function(b){b.variants=b.variants.filter(function(b){return c(b)==\nf?!0:!1})})}function Pk(b){return new J(function(c,d){b.l&&b.l.segmentDownloaded(c,d)})}function sl(b,c){return new xi(b.a,b.b,b.c.streaming,c,function(){b.ib&&ii(b.ib,!0);b.f&&cj(b.f);b.B&&Dl(b)},function(c){return b.dispatchEvent(c)})}\nfunction tl(b){var c=new li(b.b);mi(c,function(){zl(b)});var d=new Fi(b.Yb);Ji(d,function(c){il(b,\"timelineregionenter\",c)},function(c){il(b,\"timelineregionexit\",c)},function(c,d){d||(il(b,\"timelineregionenter\",c),il(b,\"timelineregionexit\",c))});var e=new hi(b.a);e.a.add(c);e.a.add(d);return e}function ul(b,c){b.B=new Yh;b.B.a=$h;ai(b.B,c,Math.min(.5,c/2));hl(b);b.Zb=(new C(function(){Dl(b)})).Na(.25)}\nfunction Dl(b){switch(b.i){case Cl:var c=b.a.ended?!0:qd(b.a.buffered)>=b.a.duration-1;break;case xl:a:if(b.a.ended||ge(b.D))c=!0;else{if(b.b.presentationTimeline.V()){var d=b.b.presentationTimeline.pb();if(qd(b.a.buffered)>=d){c=!0;break a}}c=!1}break;default:c=!1}var e=sd(b.a.buffered,b.a.currentTime);d=b.B;var f=c,g=d.b.get(d.a);c=d.a;e=f||e>=g?Zh:$h;d.a=e;c!=e&&hl(b)}\nfunction vl(b){return new Ki(b.b,{Ua:function(){return b.m.h()},getBandwidthEstimate:function(){return b.l.getBandwidthEstimate()},L:b.D,ub:b.K,ae:b.zf.bind(b),$d:b.Fe.bind(b),onError:b.Ma.bind(b),onEvent:function(c){return b.dispatchEvent(c)},Df:b.Ef.bind(b),jd:b.Jf.bind(b)})}Y.prototype.configure=function(b,c){2==arguments.length&&\"string\"==typeof b&&(b=Ck(b,c));var d=Gk(this.c,b,Ok(this));El(this);return d};Y.prototype.configure=Y.prototype.configure;\nfunction El(b){if(b.s){var c=Nb(b.c.manifest);b.a&&\"AUDIO\"===b.a.nodeName&&(c.disableVideo=!0);b.s.configure(c)}b.h&&b.h.configure(b.c.drm);if(b.f){b.f.configure(b.c.streaming);try{b.b.periods.forEach(b.Nc.bind(b))}catch(g){b.Ma(g)}var d=Oi(b.f),e=Qi(b.f);c=Al(b);d=N.Qd(d,e,c.variants);b.l&&d&&d.allowedByApplication&&d.allowedByKeySystem?Bl(b,c.variants):Fl(b,c)}if(b.D&&(c=b.c.textDisplayFactory,b.Fc!=c)){d=new c;e=b.D;var f=e.g;e.g=d;f&&(d.setTextVisibility(f.isTextVisible()),f.destroy());e.a&&(e.a.c=\nd);b.Fc=c;b.f&&(c=b.f,(d=c.b.get(\"text\"))&&Wi(c,d.stream,!0,0,!0))}b.l&&(b.l.configure(b.c.abr),b.c.abr.enabled&&!b.kb?b.l.enable():b.l.disable(),Gl(b));b.B&&(c=b.c.streaming.rebufferingGoal,b.b&&(c=Math.max(c,b.b.minBufferTime)),ai(b.B,c,Math.min(.5,c/2)))}Y.prototype.getConfiguration=function(){var b=Ok(this);Gk(b,this.c,Ok(this));return b};Y.prototype.getConfiguration=Y.prototype.getConfiguration;Y.prototype.$f=function(){for(var b in this.c)delete this.c[b];Gk(this.c,Ok(this),Ok(this));El(this)};\nY.prototype.resetConfiguration=Y.prototype.$f;Y.prototype.We=function(){return this.i};Y.prototype.getLoadMode=Y.prototype.We;Y.prototype.af=function(){return this.a};Y.prototype.getMediaElement=Y.prototype.af;Y.prototype.Mb=function(){return this.K};Y.prototype.getNetworkingEngine=Y.prototype.Mb;Y.prototype.hc=function(){return this.Fb};Y.prototype.getAssetUri=Y.prototype.hc;Y.prototype.Ze=function(){ze(\"getManifestUri\",'Please use \"getAssetUri\" instead.');return this.hc()};\nY.prototype.getManifestUri=Y.prototype.Ze;Y.prototype.V=function(){return this.b?this.b.presentationTimeline.V():this.a&&this.a.src?Infinity==this.a.duration:!1};Y.prototype.isLive=Y.prototype.V;Y.prototype.Xa=function(){return this.b?this.b.presentationTimeline.Xa():!1};Y.prototype.isInProgress=Y.prototype.Xa;\nY.prototype.uf=function(){if(this.b){if(!this.b.periods.length)return!1;var b=this.b.periods[0].variants;return b.length?!b[0].video:!1}return this.a&&this.a.src?this.a.videoTracks?0==this.a.videoTracks.length:0==this.a.videoHeight:!1};Y.prototype.isAudioOnly=Y.prototype.uf;Y.prototype.bg=function(){if(this.b){var b=this.b.presentationTimeline;return{start:b.ob(),end:b.Ca()}}return this.a&&this.a.src&&(b=this.a.seekable,b.length)?{start:b.start(0),end:b.end(b.length-1)}:{start:0,end:0}};\nY.prototype.seekRange=Y.prototype.bg;Y.prototype.keySystem=function(){return ad(this.drmInfo())};Y.prototype.keySystem=Y.prototype.keySystem;Y.prototype.drmInfo=function(){return this.h?this.h.a:null};Y.prototype.drmInfo=Y.prototype.drmInfo;Y.prototype.Lb=function(){return this.h?this.h.Lb():Infinity};Y.prototype.getExpiration=Y.prototype.Lb;Y.prototype.Xc=function(){return this.B?this.B.a==$h:!1};Y.prototype.isBuffering=Y.prototype.Xc;\nY.prototype.ef=function(){if(this.W){var b=this.W;b=b.f?0:b.c}else b=0;return b};Y.prototype.getPlaybackRate=Y.prototype.ef;Y.prototype.ug=function(b){0==b?cb(\"A trick play rate of 0 is unsupported!\"):(this.a.paused&&this.a.play(),this.W.set(b),this.i==xl&&Vi(this.f,1<Math.abs(b)))};Y.prototype.trickPlay=Y.prototype.ug;Y.prototype.Ge=function(){this.i==Cl&&this.W.set(1);this.i==xl&&(this.W.set(1),Vi(this.f,!1))};Y.prototype.cancelTrickPlay=Y.prototype.Ge;\nY.prototype.Vc=function(){if(this.b&&this.m){for(var b=Hl(this),c=[],d=r(Il(this)),e=d.next();!e.done;e=d.next()){e=e.value;var f=N.Ed(e);f.active=e==b;c.push(f)}return c}return this.a&&this.a.audioTracks?Array.from(this.a.audioTracks).map(function(b){return N.rf(b)}):[]};Y.prototype.getVariantTracks=Y.prototype.Vc;\nY.prototype.qb=function(){if(this.b&&this.m){for(var b=Jl(this),c=[],d=r(Kl(this)),e=d.next();!e.done;e=d.next()){e=e.value;var f=N.xc(e);f.active=e==b;c.push(f)}return c}return this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).map(function(b){return N.sf(b)}):[]};Y.prototype.getTextTracks=Y.prototype.qb;\nY.prototype.td=function(b){if(this.b&&this.f){var c=Al(this),d=c.textStreams.find(function(c){return c.id==b.id});d&&(Ll(this,c,d,!1),Ml(this,d),this.na=d.language)}else if(this.a&&this.a.src&&this.a.textTracks){c=Array.from(this.a.textTracks);c=r(c);for(d=c.next();!d.done;d=c.next())d=d.value,N.Wc(d)==b.id?d.mode=this.gb?\"showing\":\"hidden\":d.mode=\"disabled\";Nl(this)}};Y.prototype.selectTextTrack=Y.prototype.td;\nY.prototype.dg=function(){ze(\"selectEmbeddedTextTrack\",\"If closed captions are signaled in the manifest, a text stream will be created to represent them. Please use SelectTextTrack.\");var b=this.qb().filter(function(b){return\"application/cea-608\"==b.mimeType});0<b.length&&this.td(b[0])};Y.prototype.selectEmbeddedTextTrack=Y.prototype.dg;\nY.prototype.zg=function(){ze(\"usingEmbeddedTextTrack\",\"If closed captions are signaled in the manifest, a text stream will be created to represent them. There should be no reason to know if the player is playing embedded text.\");var b=this.qb().filter(function(b){return b.active})[0];return b?\"application/cea-608\"==b.mimeType:!1};Y.prototype.usingEmbeddedTextTrack=Y.prototype.zg;\nY.prototype.fg=function(b,c,d){d=void 0===d?0:d;if(this.b&&this.f){var e=Al(this);this.c.abr.enabled&&cb(\"Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().\");var f=e.variants.find(function(c){return c.id==b.id});f&&N.rb(f)&&(ql(this,e,f,!1),Ol(this,f,c,d),this.Gb=new Th(f),Bl(this,e.variants))}else if(this.a&&this.a.audioTracks){c=Array.from(this.a.audioTracks);c=r(c);for(d=c.next();!d.done;d=\nc.next())d=d.value,N.Wc(d)==b.id&&(d.enabled=!0);Pl(this)}};Y.prototype.selectVariantTrack=Y.prototype.fg;Y.prototype.Re=function(){return Ql(this.Vc())};Y.prototype.getAudioLanguagesAndRoles=Y.prototype.Re;Y.prototype.mf=function(){return Ql(this.qb())};Y.prototype.getTextLanguagesAndRoles=Y.prototype.mf;Y.prototype.Qe=function(){return Array.from(Rl(this.Vc()))};Y.prototype.getAudioLanguages=Y.prototype.Qe;Y.prototype.lf=function(){return Array.from(Rl(this.qb()))};\nY.prototype.getTextLanguages=Y.prototype.lf;Y.prototype.cg=function(b,c){if(this.b&&this.m){var d=Al(this);this.Gb=new Uh(b,c||\"\",0,\"\",\"audio\");Sl(this,d)}else if(this.a&&this.a.audioTracks){d=Array.from(this.a.audioTracks);d=r(d);for(var e=d.next();!e.done;e=d.next())e=e.value,e.language==b&&(e.enabled=!0);Pl(this)}};Y.prototype.selectAudioLanguage=Y.prototype.cg;\nY.prototype.eg=function(b,c){if(this.b&&this.m){var d=Al(this);this.na=b;this.fb=c||\"\";var e=N.Jb(d.textStreams,this.na,this.fb)[0]||null;e&&(Ll(this,d,e,!1),(this.c.streaming.alwaysStreamText||this.mc())&&Ml(this,e))}else(d=this.qb().filter(function(c){return c.language==b})[0])&&this.td(d)};Y.prototype.selectTextLanguage=Y.prototype.eg;\nY.prototype.gg=function(b){if(this.b&&this.m){for(var c=Al(this),d=null,e=r(Il(this)),f=e.next();!f.done;f=e.next())if(f=f.value,f.audio.label==b){d=f;break}null!=d&&(this.Gb=new Uh(d.language,\"\",0,b),Sl(this,c))}};Y.prototype.selectVariantsByLabel=Y.prototype.gg;Y.prototype.mc=function(){var b=this.gb;return this.D?this.D.g.isTextVisible():this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).some(function(b){return\"showing\"==b.mode}):b};Y.prototype.isTextTrackVisible=Y.prototype.mc;\nY.prototype.jg=function(b){var c=this;return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:f=c.gb;g=!!b;if(f==g)return e[\"return\"]();c.gb=g;if(c.i!=xl){if(c.a&&c.a.src&&c.a.textTracks){h=Array.from(c.a.textTracks);for(var n=r(h),v=n.next();!v.done;v=n.next())k=v.value,\"disabled\"!=k.mode&&(k.mode=g?\"showing\":\"hidden\")}e.A(2);break}c.D.g.setTextVisibility(g);if(c.c.streaming.alwaysStreamText){e.A(2);break}if(!g){n=c.f;n.D=!0;if(v=n.b.get(\"text\"))Li(v),n.b[\"delete\"](\"text\");\ne.A(2);break}l=Al(c);m=N.Jb(l.textStreams,c.na,c.fb);if(!(0<m.length)){e.A(2);break}return u(e,Ri(c.f,m[0]),2);case 2:Tl(c),w(e)}})})};Y.prototype.setTextTrackVisibility=Y.prototype.jg;Y.prototype.gf=function(){if(!this.V())return null;if(this.b)return new Date(1E3*(this.b.presentationTimeline.f+this.a.currentTime));if(this.a&&this.a.getStartDate){var b=this.a.getStartDate();return isNaN(b.getTime())?null:new Date(b.getTime()+1E3*this.a.currentTime)}return null};\nY.prototype.getPlayheadTimeAsDate=Y.prototype.gf;Y.prototype.jf=function(){if(!this.V())return null;if(this.b)return new Date(1E3*this.b.presentationTimeline.f);if(this.a&&this.a.getStartDate){var b=this.a.getStartDate();return isNaN(b.getTime())?null:b}return null};Y.prototype.getPresentationStartTimeAsDate=Y.prototype.jf;Y.prototype.Sc=function(){var b={total:[],audio:[],video:[],text:[]};this.i==Cl&&(b.total=td(this.a.buffered));this.i==xl&&this.D.Sc(b);return b};Y.prototype.getBufferedInfo=Y.prototype.Sc;\nY.prototype.getStats=function(){if(this.i!=xl&&this.i!=Cl)return{width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,corruptedFrames:NaN,estimatedBandwidth:NaN,loadLatency:NaN,playTime:NaN,pauseTime:NaN,bufferingTime:NaN,licenseTime:NaN,switchHistory:[],stateHistory:[]};nl(this);var b=this.a;if(b.getVideoPlaybackQuality){b=b.getVideoPlaybackQuality();var c=this.u,d=Number(b.totalVideoFrames);c.m=Number(b.droppedVideoFrames);c.l=d;this.u.i=Number(b.corruptedVideoFrames)}this.h?\n(b=this.h,b=b.K?b.K:NaN):b=NaN;this.u.h=b;if(this.i==xl){if(b=Hl(this))this.u.s=b.bandwidth;b&&b.video&&(c=this.u,d=b.video.height||NaN,c.u=b.video.width||NaN,c.g=d);b=this.l.getBandwidthEstimate();this.u.f=b}var e=this.u;b=e.u;c=e.g;d=e.s;var f=e.l,g=e.m,h=e.i,k=e.f,l=e.b,m=Jk(e.a,\"playing\"),n=Jk(e.a,\"paused\"),p=Jk(e.a,\"buffering\"),v=e.h,x=Kk(e.a),B=[];e=r(e.c.a);for(var y=e.next();!y.done;y=e.next())y=y.value,B.push({timestamp:y.timestamp,id:y.id,type:y.type,fromAdaptation:y.fromAdaptation,bandwidth:y.bandwidth});\nreturn{width:b,height:c,streamBandwidth:d,decodedFrames:f,droppedFrames:g,corruptedFrames:h,estimatedBandwidth:k,loadLatency:l,playTime:m,pauseTime:n,bufferingTime:p,licenseTime:v,stateHistory:x,switchHistory:B}};Y.prototype.getStats=Y.prototype.getStats;\nY.prototype.addTextTrack=function(b,c,d,e,f,g){var h=this;return t(function l(){var m,n,p,v,x,B,y,G,E;return z(l,function(l){switch(l.j){case 1:if(h.i==Cl)throw Error(\"State error!\");if(h.i!=xl)throw Error(\"State error!\");m=Al(h);n=xd;p=h.b.periods.indexOf(m);v=p+1;x=v>=h.b.periods.length?h.b.presentationTimeline.Y():h.b.periods[v].startTime;B=x-m.startTime;if(Infinity==B)throw new D(1,4,4033);y=new T(1,0,B,function(){return[b]},0,null);G={id:h.Xd++,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),\nfindSegmentPosition:function(){return 1},getSegmentReference:function(b){return 1==b?y:null},initSegmentReference:null,presentationTimeOffset:0,mimeType:e,codecs:f||\"\",kind:d,encrypted:!1,keyId:null,language:c,label:g||null,type:n.ra,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null};h.ac.add(G);m.textStreams.push(G);return u(l,Ri(h.f,G),2);case 2:return(E=Pi(h.f,\"text\"))&&Kh(h.$,m,E),\nh.ac[\"delete\"](G),Fl(h,m),zl(h),l[\"return\"](N.xc(G))}})})};Y.prototype.addTextTrack=Y.prototype.addTextTrack;Y.prototype.vd=function(b,c){this.bc.width=b;this.bc.height=c};Y.prototype.setMaxHardwareResolution=Y.prototype.vd;Y.prototype.sd=function(){if(this.i==xl){var b=this.f;if(b.f)b=!1;else if(b.m)b=!1;else{for(var c=r(b.b.values()),d=c.next();!d.done;d=c.next())d=d.value,d.Pb&&(d.Pb=!1,Ui(b,d,.1));b=!0}}else b=!1;return b};Y.prototype.retryStreaming=Y.prototype.sd;Y.prototype.Xe=function(){return this.b};\nY.prototype.getManifest=Y.prototype.Xe;Y.prototype.Ye=function(){return this.s?this.s.constructor:null};Y.prototype.getManifestParserFactory=Y.prototype.Ye;function ql(b,c,d,e){Lh(b.$,c).variant=d;b=b.u.c;b.c!=d&&(b.c=d,b.a.push({timestamp:Date.now()/1E3,id:d.id,type:\"variant\",fromAdaptation:e,bandwidth:d.bandwidth}))}function Ll(b,c,d,e){Kh(b.$,c,d);b=b.u.c;b.b!=d&&(b.b=d,b.a.push({timestamp:Date.now()/1E3,id:d.id,type:\"text\",fromAdaptation:e,bandwidth:null}))}\nfunction Ok(b){var c=Ek();c.streaming.failureCallback=function(c){var d=[1001,1002,1003];b.V()&&d.includes(c.code)&&(c.severity=1,b.sd())};c.textDisplayFactory=function(){return new yk(b.a)};return c}\nfunction ol(b,c){for(var d=0;d<c.length;d++){for(var e=c[d],f=new Map,g=r(e.variants),h=g.next();!h.done;h=g.next())if(h=h.value,h.video&&h.video.closedCaptions){h=h.video;for(var k=r(h.closedCaptions.keys()),l=k.next();!l.done;l=k.next())if(l=l.value,!f.has(l)){var m={id:b.Xd++,originalId:l,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,presentationTimeOffset:0,mimeType:\"application/cea-608\",\ncodecs:\"\",kind:\"caption\",encrypted:!1,keyId:null,language:h.closedCaptions.get(l),label:null,type:\"text\",primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:h.roles,channelsCount:null,audioSamplingRate:null,closedCaptions:null};f.set(l,m)}}f=r(f.values());for(g=f.next();!g.done;g=f.next())e.textStreams.push(g.value)}}\nfunction jl(b,c){var d=b.f?Oi(b.f):null,e=b.f?Qi(b.f):null;c.forEach(N.filterNewPeriod.bind(null,b.h,d,e));d=Qb(c,function(b){return b.variants.some(N.rb)});if(0==d)throw new D(2,4,4032);if(d<c.length)throw new D(2,4,4011);c.forEach(function(b){N.Gd(b.variants,this.c.restrictions,this.bc)&&this.f&&Al(this)==b&&zl(this);Ul(this,b.variants)}.bind(b))}q=Y.prototype;\nq.Nc=function(b){var c=this.f?Oi(this.f):null,d=this.f?Qi(this.f):null;N.filterNewPeriod(this.h,c,d,b);c=b.variants;if(!c.some(N.rb))throw new D(2,4,4011);Ul(this,b.variants);N.Gd(c,this.c.restrictions,this.bc)&&this.f&&Al(this)==b&&zl(this);if(b=this.h?this.h.a:null)for(c=r(c),d=c.next();!d.done;d=c.next()){d=r(d.value.drmInfos);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.keySystem==b.keySystem){e=r(e.initData||[]);for(var f=e.next();!f.done;f=e.next())f=f.value,Xc(this.h,f.initDataType,\nf.initData)}}};function Ol(b,c,d,e){d=void 0===d?!1:d;e=void 0===e?0:e;if(b.kb)return b.pa=c,b.Ud=d,b.Rd=e,!0;(c=Xi(b.f,c,d,e))&&Pl(b);return c}function Ml(b,c){if(b.kb)return b.oa=c,!0;var d=Wi(b.f,c,!0,0,!1);d&&Nl(b);return d}\nfunction yl(b,c){function d(b,c){if(!b)return null;var d=b.findSegmentPosition(c-g.startTime);return null==d?null:(d=b.getSegmentReference(d))?d.startTime+g.startTime:null}var e=Oi(b.f),f=Qi(b.f),g=Al(b);e=d(e,c);f=d(f,c);return null!=f&&null!=e?Math.max(f,e):null!=f?f:null!=e?e:c}function hl(b){var c=b.Xc();if(b.u&&b.B&&b.m){var d=b.W;d.f=c;oi(d);nl(b)}b.dispatchEvent(new I(\"buffering\",{buffering:c}))}\nfunction nl(b){if(b.u&&b.B){var c=b.u.a;b.B.a==$h?Ik(c,\"buffering\"):b.a.paused?Ik(c,\"paused\"):b.a.ended?Ik(c,\"ended\"):Ik(c,\"playing\")}}function Bl(b,c){try{Ul(b,c)}catch(e){return b.Ma(e),null}var d=c.filter(function(b){return N.rb(b)});d=b.Gb.create(d);b.l.setVariants(Array.from(d.values()));return b.l.chooseVariant()}function Fl(b,c){var d=Sl(b,c,!1),e=N.Jb(c.textStreams,b.na,b.fb)[0]||null,f=!1;e&&(b.c.streaming.alwaysStreamText||b.mc())&&(Ll(b,c,e,!0),f=Ml(b,e));(d||f)&&rl(b)}\nfunction Sl(b,c,d){d=void 0===d?!0:d;var e=Bl(b,c.variants),f=!1;e&&(ql(b,c,e,!0),f=Ol(b,e,!0));d&&f&&rl(b);return f}\nq.zf=function(b){try{this.kb=!0;this.l.disable();Gl(this);var c=Bl(this,b.variants),d=N.Jb(b.textStreams,this.na,this.fb)[0]||null;this.pa&&(b.variants.includes(this.pa)&&(c=this.pa),this.pa=null);this.oa&&(b.textStreams.includes(this.oa)&&(d=this.oa),this.oa=null);c&&ql(this,b,c,!0);d&&Ll(this,b,d,!0);var e=this.f,f=e.b.get(\"video\");if(f)var g=e.c.periods[f.ia];else{var h=e.b.get(\"audio\");g=h?e.c.periods[h.ia]:null}var k=c?c.audio:null;if(!g&&d){var l;if(l=k){b=d;var m=M(this.c.preferredTextLanguage),\nn=M(k.language),p=M(b.language);l=se(p,m)&&!se(n,p)}l&&(this.gb=!0);this.gb&&this.D.g.setTextVisibility(!0);Tl(this)}return this.c.streaming.alwaysStreamText||this.mc()?{variant:c,text:d}:{variant:c,text:null}}catch(v){return this.Ma(v),{variant:null,text:null}}};q.Fe=function(){this.kb=!1;this.c.abr.enabled&&(this.l.enable(),Gl(this));this.pa&&(Xi(this.f,this.pa,this.Ud,this.Rd),Pl(this),this.pa=null);this.oa&&(Wi(this.f,this.oa,!0,0,!1),Nl(this),this.oa=null)};\nq.Ef=function(){this.s&&this.s.update&&this.s.update()};q.Jf=function(){this.m&&this.m.s()};function rl(b){Vl(b,new I(\"adaptation\"))}function zl(b){Vl(b,new I(\"trackschanged\"))}function Pl(b){Vl(b,new I(\"variantchanged\"))}function Nl(b){Vl(b,new I(\"textchanged\"))}function Tl(b){Vl(b,new I(\"texttrackvisibility\"))}function Gl(b){Vl(b,new I(\"abrstatuschanged\",{Ig:b.c.abr.enabled}))}q.Ma=function(b){if(this.i!=$k){var c=new I(\"error\",{detail:b});this.dispatchEvent(c);c.defaultPrevented&&(b.handled=!0)}};\nfunction il(b,c,d){b.dispatchEvent(new I(c,{detail:{schemeIdUri:d.schemeIdUri,value:d.value,startTime:d.startTime,endTime:d.endTime,id:d.id,eventElement:d.eventElement}}))}function gl(b){if(!b.a.error)return null;var c=b.a.error.code;if(1==c)return null;var d=b.a.error.msExtendedCode;d&&(0>d&&(d+=Math.pow(2,32)),d=d.toString(16));return new D(2,3,3016,c,d,b.a.error.message)}\nfunction ll(b,c){if(b.f){var d=Al(b),e=!1,f=Object.keys(c),g=1==f.length&&\"00\"==f[0];f.length&&b.b.periods.forEach(function(b){b.variants.forEach(function(b){N.nf(b).forEach(function(d){var f=b.allowedByKeySystem;d.keyId&&(d=c[g?\"00\":d.keyId],b.allowedByKeySystem=!!d&&!bl.includes(d));f!=b.allowedByKeySystem&&(e=!0)})})});f=Oi(b.f);var h=Qi(b.f);(f=N.Qd(f,h,d.variants))&&!f.allowedByKeySystem&&Sl(b,d);e&&(zl(b),Bl(b,d.variants))}}\nfunction ml(b,c,d){if(b.s&&b.s.onExpirationUpdated)b.s.onExpirationUpdated(c,d);b.dispatchEvent(new I(\"expirationupdated\"))}function pl(b,c,d){0<c&&(b.V()||b.qe(c));d<b.Y()&&(b.V()||b.xa(d))}\nfunction Ul(b,c){var d=b.h?nc(b.h.W):{},e=Object.keys(d);e=e.length&&\"00\"==e[0];for(var f=!1,g=!1,h=[],k=[],l=r(c),m=l.next();!m.done;m=l.next()){m=m.value;var n=[];m.audio&&n.push(m.audio);m.video&&n.push(m.video);n=r(n);for(var p=n.next();!p.done;p=n.next())if(p=p.value,p.keyId){var v=d[e?\"00\":p.keyId];v?bl.includes(v)&&(k.includes(v)||k.push(v)):h.includes(p.keyId)||h.push(p.keyId)}m.allowedByApplication?m.allowedByKeySystem&&(f=!0):g=!0}if(!f)throw new D(2,4,4012,{hasAppRestrictions:g,missingKeys:h,\nrestrictedKeyStatuses:k});}function Vl(b,c){t(function e(){return z(e,function(e){switch(e.j){case 1:return u(e,Promise.resolve(),2);case 2:b.i!=$k&&b.dispatchEvent(c),w(e)}})})}function Rl(b){var c=new Set;b=r(b);for(var d=b.next();!d.done;d=b.next())d=d.value,d.language?c.add(M(d.language)):c.add(\"und\");return c}\nfunction Ql(b){var c=new Map;b=r(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=\"und\";var f=[];e.language&&(d=M(e.language));\"variant\"==e.type?f=e.audioRoles:f=e.roles;f&&f.length||(f=[\"\"]);c.has(d)||c.set(d,new Set);e=r(f);for(f=e.next();!f.done;f=e.next())f=f.value,c.get(d).add(f)}var g=[];c.forEach(function(b,c){for(var d=r(b),e=d.next();!e.done;e=d.next())g.push({language:c,role:e.value})});return g}\nfunction Il(b){b=Al(b);return null==b?[]:b.variants.filter(function(b){return N.rb(b)})}function Kl(b){var c=Al(b);return null==c?[]:c.textStreams.filter(function(c){return!b.ac.has(c)})}function Al(b){var c=b.m.h(),d=null;b=r(b.b.periods);for(var e=b.next();!e.done;e=b.next())e=e.value,e.startTime<=c&&(d=e);return d}function Hl(b){var c=Al(b);return Lh(b.$,c).variant}\nfunction Jl(b){var c=Al(b);if(null==c)return null;if(!Lh(b.$,c).text){var d=N.Jb(c.textStreams,b.na,b.fb);d.length&&Kh(b.$,c,d[0])}return Lh(b.$,c).text}function dl(){return new D(2,7,7E3)}function Zk(b,c,d,e,f,g){return e==b&&f.v==g.v&&f.uri==g.uri&&f.mimeType==g.mimeType&&f.Aa==g.Aa?c:d}function tk(){return{Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null}}\nfunction el(b){return new Promise(function(c,d){b.Ya=function(){return d(dl())};b.pc=function(){return c()};b.onError=function(b){return d(b)};b.rc=function(){return d(dl())}})}var $k=0,Nk=1,xl=2,Cl=3;Y.LoadMode={DESTROYED:$k,NOT_LOADED:Nk,MEDIA_SOURCE:xl,SRC_EQUALS:Cl};function Wl(b,c,d){var e=void 0==c.expiration?Infinity:c.expiration,f=c.presentationTimeline.Y();c=Xl(c.periods[0]);return{offlineUri:null,originalManifestUri:b,duration:f,size:0,expiration:e,tracks:c,appMetadata:d}}function Yl(b,c){var d=ik(new gk(b.wa(),b.ba()),c.periods[0],new W(null,0)),e=c.appMetadata||{};d=Xl(d);return{offlineUri:b.toString(),originalManifestUri:c.originalManifestUri,duration:c.duration,size:c.size,expiration:c.expiration,tracks:d,appMetadata:e}}\nfunction Xl(b){var c=[],d=N.df(b.variants);d=r(d);for(var e=d.next();!e.done;e=d.next())c.push(N.Ed(e.value));b=r(b.textStreams);for(d=b.next();!d.done;d=b.next())c.push(N.xc(d.value));return c};function Zl(){this.a={}}function $l(b,c){var d=c.audio,e=c.video;d&&!e&&(b.a[d.id]=d.bandwidth||c.bandwidth);!d&&e&&(b.a[e.id]=e.bandwidth||c.bandwidth);if(d&&e){var f=d.bandwidth||393216,g=e.bandwidth||c.bandwidth-f;0>=g&&(g=c.bandwidth);b.a[d.id]=f;b.a[e.id]=g}}function am(b,c,d){d=d.endTime-d.startTime;return bm(b,c)*d}function bm(b,c){var d=b.a[c];null==d&&(d=0);return d};function cm(b){this.a=!1;this.b=new F;this.c=b}cm.prototype.destroy=function(){var b=this;if(this.a)return this.b;this.a=!0;return this.c().then(function(){b.b.resolve()},function(){b.b.resolve()})};function dm(b,c,d){b=r(b.periods);for(var e=b.next();!e.done;e=b.next())e=e.value,e.variants=e.variants.filter(function(b){return N.bd(b,c,d)})}function em(b){b=r(b.periods);for(var c=b.next();!c.done;c=b.next())c=c.value,c.variants=c.variants.filter(function(b){var c=!0;b.audio&&(c=c&&ee(b.audio));b.video&&(c=c&&ee(b.video));return c})}function fm(b,c){for(var d=r(b.periods),e=d.next();!e.done;e=d.next())e=e.value,e.variants=e.variants.filter(function(b){return md(c,b)})}\nfunction gm(b){var c=new hm;b.periods.forEach(function(b,d){var e=im(b.variants);if(0==d){e=r(e.a);for(var f=e.next();!f.done;f=e.next())c.add(f.value)}else jm(c,e)});b=r(b.periods);for(var d=b.next();!d.done;d=b.next())d=d.value,d.variants=d.variants.filter(function(b){return km(c,new lm(b))})}\nfunction mm(b,c){return t(function e(){var f,g,h,k;return z(e,function(e){switch(e.j){case 1:f=null,g=r(b.periods),h=g.next();case 2:if(h.done){e.A(0);break}k=h.value;f&&(k.variants=k.variants.filter(function(b){return km(f,new lm(b))}));return u(e,c(k),5);case 5:f=im(k.variants),h=g.next(),e.A(2)}})})}function lm(b){var c=b.audio;b=b.video;this.b=c?c.mimeType:null;this.a=c?c.codecs.split(\".\")[0]:null;this.f=b?b.mimeType:null;this.c=b?b.codecs.split(\".\")[0]:null}function hm(){this.a=[]}\nhm.prototype.add=function(b){km(this,b)||this.a.push(b)};function jm(b,c){b.a=b.a.filter(function(b){return km(c,b)})}function km(b,c){return b.a.some(function(b){return c.b==b.b&&c.a==b.a&&c.f==b.f&&c.c==b.c})}function im(b){var c=new hm;b=r(b);for(var d=b.next();!d.done;d=b.next())c.add(new lm(d.value));return c};function Z(b){var c=this;if(b&&b.constructor!=Y)throw new D(2,9,9008);this.b=this.a=null;b?(this.a=b.c,this.b=b.Mb()):(this.a=Ek(),this.b=new J);this.f=!1;this.c=[];this.g=[];var d=!b;this.h=new cm(function(){return t(function f(){var b;return z(f,function(f){switch(f.j){case 1:return b=function(){},u(f,Promise.all(c.g.map(function(c){return c.then(b,b)})),2);case 2:if(!d){f.A(3);break}return u(f,c.b.destroy(),3);case 3:c.a=null,c.b=null,w(f)}})})})}A(\"shaka.offline.Storage\",Z);\nfunction nm(){if(sc())a:{var b=r(Oj.values());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c=c()){c.destroy();b=!0;break a}b=!1}else b=!1;return b}Z.support=nm;Z.prototype.destroy=function(){return this.h.destroy()};Z.prototype.destroy=Z.prototype.destroy;\nZ.prototype.configure=function(b,c){2==arguments.length&&\"string\"==typeof b&&(b=Ck(b,c));var d=b,e=!1;null!=d.trackSelectionCallback&&(e=!0,d.offline=d.offline||{},d.offline.trackSelectionCallback=d.trackSelectionCallback,delete d.trackSelectionCallback);null!=d.progressCallback&&(e=!0,d.offline=d.offline||{},d.offline.progressCallback=d.progressCallback,delete d.progressCallback);null!=d.usePersistentLicense&&(e=!0,d.offline=d.offline||{},d.offline.usePersistentLicense=d.usePersistentLicense,delete d.usePersistentLicense);\ne&&ze(\"Storage.configure with OfflineConfig\",\"Please configure storage with a player configuration.\");return Gk(this.a,b)};Z.prototype.configure=Z.prototype.configure;Z.prototype.getConfiguration=function(){var b=Ek();Gk(b,this.a,Ek());return b};Z.prototype.getConfiguration=Z.prototype.getConfiguration;Z.prototype.Mb=function(){return this.b};Z.prototype.getNetworkingEngine=Z.prototype.Mb;\nZ.prototype.store=function(b,c,d){var e=this;return om(this,pm(this,b,c||{},function(){return t(function g(){var c,k;return z(g,function(g){switch(g.j){case 1:return d&&\"string\"!=typeof d?(ze(\"Storing with a manifest parser factory\",\"Please register a manifest parser and for the mime-type.\"),c=d,g[\"return\"](new c)):u(g,V.create(b,e.b,e.a.manifest.retryParameters,d),2);case 2:return k=g.o,g[\"return\"](k)}})})}))};Z.prototype.store=Z.prototype.store;Z.prototype.kf=function(){return this.f};\nZ.prototype.getStoreInProgress=Z.prototype.kf;\nfunction pm(b,c,d,e){return t(function g(){var h,k,l,m,n,p,v,x,B,y;return z(g,function(g){switch(g.j){case 1:qm();if(b.f)return g[\"return\"](Promise.reject(new D(2,9,9006)));b.f=!0;return u(g,rm(b,c,e),2);case 2:h=g.o;sm(b);k=!h.presentationTimeline.V()&&!h.presentationTimeline.Xa();if(!k)throw new D(2,9,9005,c);l=null;m=new Nj;p=n=null;za(g,3,4);return u(g,tm(b,h,function(b){p=p||b}),6);case 6:l=g.o;sm(b);if(p)throw p;return u(g,um(b,h,l),7);case 7:return u(g,m.init(),8);case 8:return sm(b),u(g,Pj(m),\n9);case 9:return n=g.o,sm(b),u(g,vm(b,n.ba,l,h,c,d),10);case 10:v=g.o;sm(b);if(p)throw p;return u(g,n.ba.addManifests([v]),11);case 11:return x=g.o,sm(b),B=new ek(\"manifest\",n.path.wa,n.path.ba,x[0]),g[\"return\"](Yl(B,v));case 4:return Fa(g),b.f=!1,b.c=[],u(g,m.destroy(),12);case 12:if(!l){g.A(13);break}return u(g,l.destroy(),13);case 13:Ga(g,0);break;case 3:y=Ca(g);if(!n){g.A(15);break}return u(g,n.ba.removeSegments(b.c,function(){}),15);case 15:throw p||y;}})})}\nfunction um(b,c,d){return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return g={width:Infinity,height:Infinity},dm(c,b.a.restrictions,g),em(c),fm(c,d),gm(c),u(f,mm(c,function(c){return t(function m(){var d,f,g,h,k,y,G,E;return z(m,function(m){switch(m.j){case 1:d=N;f=[];for(var n=r(c.variants),p=n.next();!p.done;p=n.next())g=p.value,f.push(d.Ed(g));n=r(c.textStreams);for(p=n.next();!p.done;p=n.next())h=p.value,f.push(d.xc(h));return u(m,b.a.offline.trackSelectionCallback(f),2);\ncase 2:k=m.o;y=new Set;G=new Set;n=r(k);for(p=n.next();!p.done;p=n.next())E=p.value,\"variant\"==E.type&&y.add(E.id),\"text\"==E.type&&G.add(E.id);c.variants=c.variants.filter(function(b){return y.has(b.id)});c.textStreams=c.textStreams.filter(function(b){return G.has(b.id)});w(m)}})})}),2);case 2:wm(c),w(f)}})})}\nfunction vm(b,c,d,e,f,g){return t(function k(){var l,m,n,p,v,x,B,y,G,E;return z(k,function(k){switch(k.j){case 1:return l=Wl(f,e,g),m=e.periods.some(function(b){return b.variants.some(function(b){return b.drmInfos&&b.drmInfos.length})}),n=e.periods.some(function(b){return b.variants.some(function(b){return b.drmInfos.some(function(b){return b.initData&&b.initData.length})})}),p=m&&!n,v=null,p&&(x=d.a,v=xm.get(x.keySystem)),B=new zj(b.b,function(c,d){l.size=d;b.a.offline.progressCallback(l,c)},function(c,\ne){p&&b.a.offline.usePersistentLicense&&v==e&&Xc(d,\"cenc\",c)}),Aa(k,2),G=y=ym(b,B,c,d,e,f,g),u(k,Cj(B),4);case 4:G.size=k.o;y.expiration=d.Lb();E=cd(d);y.sessionIds=b.a.offline.usePersistentLicense?E:[];if(m&&b.a.offline.usePersistentLicense&&!E.length)throw new D(2,9,9007);return k[\"return\"](y);case 2:return Fa(k),u(k,B.destroy(),5);case 5:Ga(k,0)}})})}Z.prototype.remove=function(b){return om(this,zm(this,b))};Z.prototype.remove=Z.prototype.remove;\nfunction zm(b,c){return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:qm();f=fk(c);if(null==f||\"manifest\"!=f.a)return e[\"return\"](Promise.reject(new D(2,9,9004,c)));g=f;h=new Nj;Aa(e,2);return u(e,h.init(),4);case 4:return u(e,Rj(h,g.wa(),g.ba()),5);case 5:return k=e.o,u(e,k.getManifests([g.key()]),6);case 6:return l=e.o,m=l[0],u(e,Promise.all([Am(b,m,h),Bm(b,k,g,m)]),2);case 2:return Fa(e),u(e,h.destroy(),8);case 8:Ga(e,0)}})})}\nfunction Cm(b,c){for(var d=[],e=r(b.periods),f=e.next();!f.done;f=e.next()){f=r(f.value.streams);for(var g=f.next();!g.done;g=f.next())g=g.value,c&&\"video\"==g.contentType?d.push({contentType:oc(g.mimeType,g.codecs),robustness:b.drmInfo.videoRobustness}):c||\"audio\"!=g.contentType||d.push({contentType:oc(g.mimeType,g.codecs),robustness:b.drmInfo.audioRobustness})}return d}function Am(b,c,d){return t(function f(){return z(f,function(f){switch(f.j){case 1:return u(f,Dm(b.b,b.a.drm,d,c),0)}})})}\nfunction Bm(b,c,d,e){function f(){k+=1;b.a.offline.progressCallback(l,k/h)}var g=Em(e),h=g.length+1,k=0,l=Yl(d,e);return Promise.all([c.removeSegments(g,f),c.removeManifests([d.key()],f)])}Z.prototype.Xf=function(){return om(this,Fm(this))};Z.prototype.removeEmeSessions=Z.prototype.Xf;\nfunction Fm(b){return t(function d(){var e,f,g,h,k,l,m,n,p;return z(d,function(d){switch(d.j){case 1:return qm(),e=b.b,f=b.a.drm,g=new Nj,h=!1,Aa(d,2),u(d,g.init(),4);case 4:k=[];Sj(g,function(b){return k.push(b)});l=Promise.resolve();m={};n=r(k);for(p=n.next();!p.done;m={wc:m.wc},p=n.next())m.wc=p.value,l=l.then(function(b){return function(){return t(function y(){var d,g;return z(y,function(k){switch(k.j){case 1:return u(k,b.wc.getAll(),2);case 2:return d=k.o,u(k,pk(f,e,d),3);case 3:return g=k.o,\nu(k,b.wc.remove(g),4);case 4:g.length!=d.length&&(h=!0),w(k)}})})}}(m));return u(d,l,2);case 2:return Fa(d),u(d,g.destroy(),6);case 6:Ga(d,3);break;case 3:return d[\"return\"](!h)}})})}Z.prototype.list=function(){return om(this,Gm())};Z.prototype.list=Z.prototype.list;\nfunction Gm(){return t(function c(){var d,e,f;return z(c,function(c){switch(c.j){case 1:return qm(),d=[],e=new Nj,Aa(c,2),u(c,e.init(),4);case 4:return f=Promise.resolve(),Qj(e,function(c,e){f=f.then(function(){return t(function m(){var f;return z(m,function(g){switch(g.j){case 1:return u(g,e.getAllManifests(),2);case 2:f=g.o,f.forEach(function(e,f){var g=Yl(new ek(\"manifest\",c.wa,c.ba,f),e);d.push(g)}),w(g)}})})})}),u(c,f,2);case 2:return Fa(c),u(c,e.destroy(),6);case 6:Ga(c,3);break;case 3:return c[\"return\"](d)}})})}\nfunction rm(b,c,d){return t(function f(){var g,h,k,l,m,n;return z(f,function(f){switch(f.j){case 1:return g=null,h=b.b,k={networkingEngine:h,filterAllPeriods:function(){},filterNewPeriod:function(){},onTimelineRegionAdded:function(){},onEvent:function(){},onError:function(b){g=b}},u(f,d(),2);case 2:return l=f.o,l.configure(b.a.manifest),sm(b),Aa(f,3),u(f,l.start(c,k),5);case 5:return m=f.o,sm(b),n=Hm(m),u(f,Promise.all(kc(n,function(b){return b.createSegmentIndex()})),6);case 6:sm(b);if(g)throw g;\nreturn f[\"return\"](m);case 3:return Fa(f),u(f,l.stop(),7);case 7:Ga(f,0)}})})}function tm(b,c,d){return t(function f(){var g,h,k;return z(f,function(f){switch(f.j){case 1:return g=new Gc({ub:b.b,onError:d,qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),h=ji(c.periods),k=b.a,g.configure(k.drm),u(f,Lc(g,h,k.offline.usePersistentLicense),2);case 2:return u(f,Vc(g),3);case 3:return u(f,Wc(g),4);case 4:return f[\"return\"](g)}})})}\nfunction ym(b,c,d,e,f,g,h){var k=new Zl,l=f.periods.map(function(e){return Im(b,c,d,k,f,e)}),m=e.a,n=b.a.offline.usePersistentLicense;m&&n&&(m.initData=[]);return{originalManifestUri:g,duration:f.presentationTimeline.Y(),size:0,expiration:e.Lb(),periods:l,sessionIds:n?cd(e):[],drmInfo:m,appMetadata:h}}\nfunction Im(b,c,d,e,f,g){for(var h=r(g.variants),k=h.next();!k.done;k=h.next())$l(e,k.value);h=r(g.textStreams);for(k=h.next();!k.done;k=h.next())e.a[k.value.id]=52;h=Jm(g);var l=new Map;h=r(h);for(k=h.next();!k.done;k=h.next()){k=k.value;var m=Km(b,c,d,e,f,k);l.set(k.id,m)}g.variants.forEach(function(b){b.audio&&l.get(b.audio.id).variantIds.push(b.id);b.video&&l.get(b.video.id).variantIds.push(b.id)});return{startTime:g.startTime,streams:Array.from(l.values())}}\nfunction Km(b,c,d,e,f,g){var h={id:g.id,originalId:g.originalId,primary:g.primary,presentationTimeOffset:g.presentationTimeOffset||0,contentType:g.type,mimeType:g.mimeType,codecs:g.codecs,frameRate:g.frameRate,pixelAspectRatio:g.pixelAspectRatio,kind:g.kind,language:g.language,label:g.label,width:g.width||null,height:g.height||null,initSegmentKey:null,encrypted:g.encrypted,keyId:g.keyId,segments:[],variantIds:[]};f=f.presentationTimeline.Ob();var k=g.id,l=g.initSegmentReference;l&&(l=rg(l.c(),l.b,\nl.a,b.a.streaming.retryParameters),Aj(c,k,l,.5*bm(e,g.id),!0,function(c){return t(function p(){var e;return z(p,function(f){switch(f.j){case 1:return u(f,d.addSegments([{data:c}]),2);case 2:e=f.o,b.c.push(e[0]),h.initSegmentKey=e[0],w(f)}})})}));Lm(g,f,function(f){var l=rg(f.c(),f.b,f.a,b.a.streaming.retryParameters);Aj(c,k,l,am(e,g.id,f),!1,function(c){return t(function x(){var e;return z(x,function(g){switch(g.j){case 1:return u(g,d.addSegments([{data:c}]),2);case 2:e=g.o,b.c.push(e[0]),h.segments.push({startTime:f.startTime,\nendTime:f.endTime,dataKey:e[0]}),w(g)}})})})});return h}function Lm(b,c,d){c=b.findSegmentPosition(c);for(var e=null==c?null:b.getSegmentReference(c);e;)d(e),e=b.getSegmentReference(++c)}function sm(b){if(b.h.a)throw new D(2,9,7001);}function qm(){if(!nm())throw new D(2,9,9E3);}function om(b,c){return t(function e(){return z(e,function(e){switch(e.j){case 1:return b.g.push(c),Aa(e,2),u(e,c,4);case 4:return e[\"return\"](e.o);case 2:Fa(e),Pb(b.g,c),Ga(e,0)}})})}\nfunction Em(b){var c=[];b.periods.forEach(function(b){b.streams.forEach(function(b){null!=b.initSegmentKey&&c.push(b.initSegmentKey);b.segments.forEach(function(b){c.push(b.dataKey)})})});return c}Z.deleteAll=function(){return t(function c(){var d;return z(c,function(c){switch(c.j){case 1:return d=new Nj,Aa(c,2),u(c,d.erase(),2);case 2:return Fa(c),u(c,d.destroy(),5);case 5:Ga(c,0)}})})};\nfunction Dm(b,c,d,e){return t(function g(){var h,k,l;return z(g,function(g){switch(g.j){case 1:if(!e.drmInfo)return g[\"return\"]();h=Tj(d);k=e.sessionIds.map(function(b){return{sessionId:b,keySystem:e.drmInfo.keySystem,licenseUri:e.drmInfo.licenseServerUri,serverCertificate:e.drmInfo.serverCertificate,audioCapabilities:Cm(e,!1),videoCapabilities:Cm(e,!0)}});return u(g,pk(c,b,k),2);case 2:return l=g.o,u(g,h.remove(l),3);case 3:return u(g,h.add(k.filter(function(b){return-1==l.indexOf(b.sessionId)})),\n0)}})})}function Hm(b){var c=new Set;b=r(b.periods);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=r(d.textStreams),f=e.next();!f.done;f=e.next())c.add(f.value);d=r(d.variants);for(e=d.next();!e.done;e=d.next())e=e.value,e.audio&&c.add(e.audio),e.video&&c.add(e.video)}return c}\nfunction Jm(b){for(var c=new Set,d=r(b.textStreams),e=d.next();!e.done;e=d.next())c.add(e.value);b=r(b.variants);for(d=b.next();!d.done;d=b.next())d=d.value,d.audio&&c.add(d.audio),d.video&&c.add(d.video);return c}function wm(b){if(0==b.periods.length)throw new D(2,4,4014);b=r(b.periods);for(var c=b.next();!c.done;c=b.next())Mm(c.value)}\nfunction Mm(b){b.variants.map(function(b){return b.video});var c=new Set(b.variants.map(function(b){return b.audio}));b=b.textStreams;for(var d=r(c),e=d.next();!e.done;e=d.next()){e=r(c);for(var f=e.next();!f.done;f=e.next());}c=r(b);for(d=c.next();!d.done;d=c.next())for(d=r(b),e=d.next();!e.done;e=d.next());}\nvar xm=(new Map).set(\"org.w3.clearkey\",\"1077efecc0b24d02ace33c1e52e2fb4b\").set(\"com.widevine.alpha\",\"edef8ba979d64acea3c827dcd51d21ed\").set(\"com.microsoft.playready\",\"9a04f07998404286ab92e65be0885f95\").set(\"com.adobe.primetime\",\"f239e769efa348509c16a903c6932efb\");cl.offline=nm;A(\"shaka.polyfill.installAll\",function(){for(var b=0;b<Nm.length;++b)try{Nm[b].De()}catch(c){cb(\"Error installing polyfill!\",c)}});var Nm=[];function Om(b,c){c=c||0;for(var d={priority:c,De:b},e=0;e<Nm.length;e++)if(Nm[e].priority<c){Nm.splice(e,0,d);return}Nm.push(d)}A(\"shaka.polyfill.register\",Om);Om(function(){Pm()},-1);function Qm(b){var c=b.type.replace(/^(webkit|moz|MS)/,\"\").toLowerCase();if(\"function\"===typeof Event)var d=new Event(c,b);else d=document.createEvent(\"Event\"),d.initEvent(c,b.bubbles,b.cancelable);b.target.dispatchEvent(d)}\nOm(function(){if(window.Document){var b=Element.prototype;b.requestFullscreen=b.requestFullscreen||b.mozRequestFullScreen||b.msRequestFullscreen||b.webkitRequestFullscreen;b=Document.prototype;b.exitFullscreen=b.exitFullscreen||b.mozCancelFullScreen||b.msExitFullscreen||b.webkitExitFullscreen;\"fullscreenElement\"in document||(Object.defineProperty(document,\"fullscreenElement\",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement}}),Object.defineProperty(document,\n\"fullscreenEnabled\",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}}));document.addEventListener(\"webkitfullscreenchange\",Qm);document.addEventListener(\"webkitfullscreenerror\",Qm);document.addEventListener(\"mozfullscreenchange\",Qm);document.addEventListener(\"mozfullscreenerror\",Qm);document.addEventListener(\"MSFullscreenChange\",Qm);document.addEventListener(\"MSFullscreenError\",Qm)}});Om(function(){var b=!1;if(wc(\"CrKey\"))b=!0;else try{window.indexedDB&&(b=!1)}catch(c){b=!0}b&&delete window.indexedDB});function Rm(b,c,d){if(\"input\"==b)switch(this.type){case \"range\":b=\"change\"}HTMLInputElement.prototype.originalAddEventListener.call(this,b,c,d)}Om(function(){wc(\"Trident/\")&&!HTMLInputElement.prototype.originalAddEventListener&&(HTMLInputElement.prototype.originalAddEventListener=HTMLInputElement.prototype.addEventListener,HTMLInputElement.prototype.addEventListener=Rm)});Om(function(){navigator.languages||Object.defineProperty(navigator,\"languages\",{get:function(){return navigator.language?[navigator.language]:[\"en\"]}})});Om(function(){});function Sm(){var b=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(c){for(var d=[],e=0;e<arguments.length;++e)d[e]=arguments[e];d=b.apply(this,d);d.abort=function(){};return d}}function Tm(){var b=SourceBuffer.prototype.remove;SourceBuffer.prototype.remove=function(c,d){return b.call(this,c,d-.001)}}function Um(){var b=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(c){return\"mp2t\"==c.split(/ *; */)[0].split(\"/\")[1].toLowerCase()?!1:b(c)}}\nfunction Vm(){var b=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(c){return\"opus\"!=rc(c)[0]&&b(c)}}\nfunction Wm(){var b=MediaSource.isTypeSupported,c=/^dv(?:h[e1]|a[v1])\\./;MediaSource.isTypeSupported=function(d){for(var e=d.split(/ *; */),f=e[0],g={},h=1;h<e.length;++h){var k=e[h].split(\"=\"),l=k[0];k=k[1].replace(/\"(.*)\"/,\"$1\");g[l]=k}e=g.codecs;if(!e)return b(d);var m=!1,n=!1;d=e.split(\",\").filter(function(b){c.test(b)&&(n=!0);/^(hev|hvc)1\\.2/.test(b)&&(m=!0);return!0});n&&(m=!1);g.codecs=d.join(\",\");m&&(g.eotf=\"smpte2084\");for(var p in g)f+=\"; \"+p+'=\"'+g[p]+'\"';return cast.__platform__.canDisplayType(f)}}\nOm(function(){var b=xc();window.MediaSource&&(window.cast&&cast.__platform__&&cast.__platform__.canDisplayType?Wm():b?(Um(),12>=b?(Sm(),Tm()):Sm()):wc(\"Tizen\")&&Vm())});function Xm(b,c){try{var d=new Ym(b,c);return Promise.resolve(d)}catch(e){return Promise.reject(e)}}\nfunction Ym(b,c){this.keySystem=b;if(b.startsWith(\"com.apple.fps\"))for(var d=r(c),e=d.next();!e.done;e=d.next()){var f=e.value;if(\"required\"==f.persistentState)e=null;else{e={audioCapabilities:[],videoCapabilities:[],persistentState:\"optional\",distinctiveIdentifier:\"optional\",initDataTypes:f.initDataTypes,sessionTypes:[\"temporary\"],label:f.label};var g=!1,h=!1;if(f.audioCapabilities)for(var k=r(f.audioCapabilities),l=k.next();!l.done;l=k.next())if(l=l.value,l.contentType){g=!0;var m=l.contentType.split(\";\")[0];\nWebKitMediaKeys.isTypeSupported(this.keySystem,m)&&(e.audioCapabilities.push(l),h=!0)}if(f.videoCapabilities)for(f=r(f.videoCapabilities),l=f.next();!l.done;l=f.next())k=l.value,k.contentType&&(g=!0,l=k.contentType.split(\";\")[0],WebKitMediaKeys.isTypeSupported(this.keySystem,l)&&(e.videoCapabilities.push(k),h=!0));g||(h=WebKitMediaKeys.isTypeSupported(this.keySystem,\"video/mp4\"));e=h?e:null}if(e){this.a=e;return}}d=Error(\"Unsupported keySystem\");d.name=\"NotSupportedError\";d.code=DOMException.NOT_SUPPORTED_ERR;\nthrow d;}Ym.prototype.createMediaKeys=function(){var b=new Zm(this.keySystem);return Promise.resolve(b)};Ym.prototype.getConfiguration=function(){return this.a};function $m(b){var c=this.mediaKeys;c&&c!=b&&an(c,null);delete this.mediaKeys;return(this.mediaKeys=b)?an(b,this):Promise.resolve()}function Zm(b){this.b=new WebKitMediaKeys(b);this.a=new K}\nZm.prototype.createSession=function(b){b=b||\"temporary\";if(\"temporary\"!=b)throw new TypeError(\"Session type \"+b+\" is unsupported on this platform.\");return new bn(this.b,b)};Zm.prototype.setServerCertificate=function(b){b&&new Uint8Array(b);return Promise.resolve(!0)};\nfunction an(b,c){b.a.$a();if(!c)return Promise.resolve();b.a.w(c,\"webkitneedkey\",cn);try{return 1<=c.readyState?c.webkitSetMediaKeys(b.b):b.a.da(c,\"loadedmetadata\",function(){c.webkitSetMediaKeys(b.b)}),Promise.resolve()}catch(d){return Promise.reject(d)}}function bn(b){Mb.call(this);this.b=null;this.g=b;this.c=this.a=null;this.f=new K;this.sessionId=\"\";this.expiration=NaN;this.closed=new F;this.keyStatuses=new dn}Xa(bn,Mb);q=bn.prototype;\nq.generateRequest=function(b,c){this.a=new F;try{this.b=this.g.createSession(\"video/mp4\",new Uint8Array(c)),this.sessionId=this.b.sessionId||\"\",this.f.w(this.b,\"webkitkeymessage\",this.og.bind(this)),this.f.w(this.b,\"webkitkeyadded\",this.mg.bind(this)),this.f.w(this.b,\"webkitkeyerror\",this.ng.bind(this)),en(this,\"status-pending\")}catch(d){this.a.reject(d)}return this.a};q.load=function(){return Promise.reject(Error(\"MediaKeySession.load not yet supported\"))};q.update=function(b){this.c=new F;try{this.b.update(new Uint8Array(b))}catch(c){this.c.reject(c)}return this.c};\nq.close=function(){try{this.b.close(),this.closed.resolve(),this.f.$a()}catch(b){this.closed.reject(b)}return this.closed};q.remove=function(){return Promise.reject(Error(\"MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform\"))};function cn(b){var c=new Event(\"encrypted\");c.initDataType=\"cenc\";c.initData=b.initData;this.dispatchEvent(c)}\nq.og=function(b){this.a&&(this.a.resolve(),this.a=null);this.dispatchEvent(new I(\"message\",{messageType:void 0==this.keyStatuses.a?\"license-request\":\"license-renewal\",message:b.message.buffer}))};q.mg=function(){this.c&&(en(this,\"usable\"),this.c.resolve(),this.c=null)};\nq.ng=function(){var b=Error(\"EME PatchedMediaKeysApple key error\");b.errorCode=this.b.error;if(null!=this.a)this.a.reject(b),this.a=null;else if(null!=this.c)this.c.reject(b),this.c=null;else switch(this.b.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:en(this,\"output-not-allowed\");break;default:en(this,\"internal-error\")}};function en(b,c){var d=b.keyStatuses;d.size=void 0==c?0:1;d.a=c;b.dispatchEvent(new I(\"keystatuseschange\"))}\nfunction dn(){this.size=0;this.a=void 0}var fn;q=dn.prototype;q.forEach=function(b){this.a&&b(this.a,fn)};q.get=function(b){if(this.has(b))return this.a};q.has=function(b){var c=fn;return this.a&&L.za(new Uint8Array(b),new Uint8Array(c))?!0:!1};q.entries=function(){};q.keys=function(){};q.values=function(){};\nOm(function(){window.HTMLVideoElement&&window.WebKitMediaKeys&&(fn=(new Uint8Array([0])).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=$m,window.MediaKeys=Zm,window.MediaKeySystemAccess=Ym,navigator.requestMediaKeySystemAccess=Xm)});function gn(b,c){try{var d=new hn(b,c);return Promise.resolve(d)}catch(e){return Promise.reject(e)}}\nfunction hn(b,c){this.keySystem=b;for(var d=!1,e=0;e<c.length;++e){var f=c[e],g={audioCapabilities:[],videoCapabilities:[],persistentState:\"optional\",distinctiveIdentifier:\"optional\",initDataTypes:f.initDataTypes,sessionTypes:[\"temporary\"],label:f.label},h=!1;if(f.audioCapabilities)for(var k=0;k<f.audioCapabilities.length;++k){var l=f.audioCapabilities[k];if(l.contentType){h=!0;var m=l.contentType.split(\";\")[0];MSMediaKeys.isTypeSupported(this.keySystem,m)&&(g.audioCapabilities.push(l),d=!0)}}if(f.videoCapabilities)for(k=\n0;k<f.videoCapabilities.length;++k)l=f.videoCapabilities[k],l.contentType&&(h=!0,m=l.contentType.split(\";\")[0],MSMediaKeys.isTypeSupported(this.keySystem,m)&&(g.videoCapabilities.push(l),d=!0));h||(d=MSMediaKeys.isTypeSupported(this.keySystem,\"video/mp4\"));\"required\"==f.persistentState&&(d=!1);if(d){this.a=g;return}}d=Error(\"Unsupported keySystem\");d.name=\"NotSupportedError\";d.code=DOMException.NOT_SUPPORTED_ERR;throw d;}hn.prototype.createMediaKeys=function(){var b=new jn(this.keySystem);return Promise.resolve(b)};\nhn.prototype.getConfiguration=function(){return this.a};function kn(b){var c=this.mediaKeys;c&&c!=b&&ln(c,null);delete this.mediaKeys;return(this.mediaKeys=b)?ln(b,this):Promise.resolve()}function jn(b){this.a=new MSMediaKeys(b);this.b=new K}jn.prototype.createSession=function(b){b=b||\"temporary\";if(\"temporary\"!=b)throw new TypeError(\"Session type \"+b+\" is unsupported on this platform.\");return new mn(this.a,b)};jn.prototype.setServerCertificate=function(){return Promise.resolve(!1)};\nfunction ln(b,c){function d(){c.msSetMediaKeys(e.a);c.removeEventListener(\"loadedmetadata\",d)}b.b.$a();if(!c)return Promise.resolve();b.b.w(c,\"msneedkey\",nn);var e=b;try{return 1<=c.readyState?c.msSetMediaKeys(b.a):c.addEventListener(\"loadedmetadata\",d),Promise.resolve()}catch(f){return Promise.reject(f)}}function mn(b){Mb.call(this);this.c=null;this.g=b;this.b=this.a=null;this.f=new K;this.sessionId=\"\";this.expiration=NaN;this.closed=new F;this.keyStatuses=new on}Xa(mn,Mb);q=mn.prototype;\nq.generateRequest=function(b,c){this.a=new F;try{this.c=this.g.createSession(\"video/mp4\",new Uint8Array(c),null),this.f.w(this.c,\"mskeymessage\",this.If.bind(this)),this.f.w(this.c,\"mskeyadded\",this.Gf.bind(this)),this.f.w(this.c,\"mskeyerror\",this.Hf.bind(this)),pn(this,\"status-pending\")}catch(d){this.a.reject(d)}return this.a};q.load=function(){return Promise.reject(Error(\"MediaKeySession.load not yet supported\"))};q.update=function(b){this.b=new F;try{this.c.update(new Uint8Array(b))}catch(c){this.b.reject(c)}return this.b};\nq.close=function(){try{this.c.close(),this.closed.resolve(),this.f.$a()}catch(b){this.closed.reject(b)}return this.closed};q.remove=function(){return Promise.reject(Error(\"MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform\"))};function nn(b){if(b.initData){var c=document.createEvent(\"CustomEvent\");c.initCustomEvent(\"encrypted\",!1,!1,null);c.initDataType=\"cenc\";c.initData=Cf(b.initData);this.dispatchEvent(c)}}\nq.If=function(b){this.a&&(this.a.resolve(),this.a=null);this.dispatchEvent(new I(\"message\",{messageType:void 0==this.keyStatuses.a?\"license-request\":\"license-renewal\",message:b.message.buffer}))};q.Gf=function(){this.a?(pn(this,\"usable\"),this.a.resolve(),this.a=null):this.b&&(pn(this,\"usable\"),this.b.resolve(),this.b=null)};\nq.Hf=function(){var b=Error(\"EME PatchedMediaKeysMs key error\");b.errorCode=this.c.error;if(null!=this.a)this.a.reject(b),this.a=null;else if(null!=this.b)this.b.reject(b),this.b=null;else switch(this.c.error.code){case MSMediaKeyError.MS_MEDIA_KEYERR_OUTPUT:case MSMediaKeyError.MS_MEDIA_KEYERR_HARDWARECHANGE:pn(this,\"output-not-allowed\");break;default:pn(this,\"internal-error\")}};function pn(b,c){var d=b.keyStatuses;d.size=void 0==c?0:1;d.a=c;b.dispatchEvent(new I(\"keystatuseschange\"))}\nfunction on(){this.size=0;this.a=void 0}var qn;q=on.prototype;q.forEach=function(b){this.a&&b(this.a,qn)};q.get=function(b){if(this.has(b))return this.a};q.has=function(b){var c=qn;return this.a&&L.za(new Uint8Array(b),new Uint8Array(c))?!0:!1};q.entries=function(){};q.keys=function(){};q.values=function(){};\nOm(function(){!window.HTMLVideoElement||!window.MSMediaKeys||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(qn=(new Uint8Array([0])).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=kn,window.MediaKeys=jn,window.MediaKeySystemAccess=hn,navigator.requestMediaKeySystemAccess=gn)});function rn(){return Promise.reject(Error(\"The key system specified is not supported.\"))}function sn(b){return null==b?Promise.resolve():Promise.reject(Error(\"MediaKeys not supported.\"))}function tn(){throw new TypeError(\"Illegal constructor.\");}tn.prototype.createSession=function(){};tn.prototype.setServerCertificate=function(){};function un(){throw new TypeError(\"Illegal constructor.\");}un.prototype.getConfiguration=function(){};un.prototype.createMediaKeys=function(){};\nOm(function(){!window.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(navigator.requestMediaKeySystemAccess=rn,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=sn,window.MediaKeys=tn,window.MediaKeySystemAccess=un)},-10);var vn=\"\";function wn(b){var c=vn;return c?c+b.charAt(0).toUpperCase()+b.slice(1):b}function xn(b,c){try{var d=new yn(b,c);return Promise.resolve(d)}catch(e){return Promise.reject(e)}}function zn(b){var c=this.mediaKeys;c&&c!=b&&An(c,null);delete this.mediaKeys;(this.mediaKeys=b)&&An(b,this);return Promise.resolve()}\nfunction yn(b,c){this.a=this.keySystem=b;var d=!1;\"org.w3.clearkey\"==b&&(this.a=\"webkit-org.w3.clearkey\",d=!1);var e=!1;var f=document.getElementsByTagName(\"video\");f=f.length?f[0]:document.createElement(\"video\");for(var g=0;g<c.length;++g){var h=c[g],k={audioCapabilities:[],videoCapabilities:[],persistentState:\"optional\",distinctiveIdentifier:\"optional\",initDataTypes:h.initDataTypes,sessionTypes:[\"temporary\"],label:h.label},l=!1;if(h.audioCapabilities)for(var m=0;m<h.audioCapabilities.length;++m){var n=\nh.audioCapabilities[m];if(n.contentType){l=!0;var p=n.contentType.split(\";\")[0];f.canPlayType(p,this.a)&&(k.audioCapabilities.push(n),e=!0)}}if(h.videoCapabilities)for(m=0;m<h.videoCapabilities.length;++m)n=h.videoCapabilities[m],n.contentType&&(l=!0,f.canPlayType(n.contentType,this.a)&&(k.videoCapabilities.push(n),e=!0));l||(e=f.canPlayType(\"video/mp4\",this.a)||f.canPlayType(\"video/webm\",this.a));\"required\"==h.persistentState&&(d?(k.persistentState=\"required\",k.sessionTypes=[\"persistent-license\"]):\ne=!1);if(e){this.b=k;return}}d=\"Unsupported keySystem\";if(\"org.w3.clearkey\"==b||\"com.widevine.alpha\"==b)d=\"None of the requested configurations were supported.\";d=Error(d);d.name=\"NotSupportedError\";d.code=DOMException.NOT_SUPPORTED_ERR;throw d;}yn.prototype.createMediaKeys=function(){var b=new Bn(this.a);return Promise.resolve(b)};yn.prototype.getConfiguration=function(){return this.b};function Bn(b){this.g=b;this.b=null;this.a=new K;this.c=[];this.f={}}\nfunction An(b,c){b.b=c;b.a.$a();var d=vn;c&&(b.a.w(c,d+\"needkey\",b.Mf.bind(b)),b.a.w(c,d+\"keymessage\",b.rg.bind(b)),b.a.w(c,d+\"keyadded\",b.pg.bind(b)),b.a.w(c,d+\"keyerror\",b.qg.bind(b)))}q=Bn.prototype;q.createSession=function(b){b=b||\"temporary\";if(\"temporary\"!=b&&\"persistent-license\"!=b)throw new TypeError(\"Session type \"+b+\" is unsupported on this platform.\");var c=this.b||document.createElement(\"video\");c.src||(c.src=\"about:blank\");b=new Cn(c,this.g,b);this.c.push(b);return b};\nq.setServerCertificate=function(){return Promise.resolve(!1)};q.Mf=function(b){var c=document.createEvent(\"CustomEvent\");c.initCustomEvent(\"encrypted\",!1,!1,null);c.initDataType=\"webm\";c.initData=b.initData;this.b.dispatchEvent(c)};q.rg=function(b){var c=Dn(this,b.sessionId);c&&(b=new I(\"message\",{messageType:void 0==c.keyStatuses.a?\"licenserequest\":\"licenserenewal\",message:b.message}),c.b&&(c.b.resolve(),c.b=null),c.dispatchEvent(b))};\nq.pg=function(b){if(b=Dn(this,b.sessionId))En(b,\"usable\"),b.a&&b.a.resolve(),b.a=null};q.qg=function(b){var c=Dn(this,b.sessionId);c&&c.handleError(b)};function Dn(b,c){var d=b.f[c];return d?d:(d=b.c.shift())?(d.sessionId=c,b.f[c]=d):null}function Cn(b,c,d){Mb.call(this);this.f=b;this.h=!1;this.a=this.b=null;this.c=c;this.g=d;this.sessionId=\"\";this.expiration=NaN;this.closed=new F;this.keyStatuses=new Fn}Xa(Cn,Mb);q=Cn.prototype;\nq.handleError=function(b){var c=Error(\"EME v0.1b key error\");c.errorCode=b.errorCode;c.errorCode.systemCode=b.systemCode;!b.sessionId&&this.b?(c.method=\"generateRequest\",45==b.systemCode&&(c.message=\"Unsupported session type.\"),this.b.reject(c),this.b=null):b.sessionId&&this.a?(c.method=\"update\",this.a.reject(c),this.a=null):(c=b.systemCode,b.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?En(this,\"output-restricted\"):1==c?En(this,\"expired\"):En(this,\"internal-error\"))};\nfunction Gn(b,c,d){if(b.h)return Promise.reject(Error(\"The session is already initialized.\"));b.h=!0;try{if(\"persistent-license\"==b.g)if(d)var e=new Uint8Array(Ec(\"LOAD_SESSION|\"+d));else{var f=Ec(\"PERSISTENT|\"),g=new Uint8Array(f.byteLength+c.byteLength);g.set(new Uint8Array(f),0);g.set(new Uint8Array(c),f.byteLength);e=g}else e=new Uint8Array(c)}catch(k){return Promise.reject(k)}b.b=new F;var h=wn(\"generateKeyRequest\");try{b.f[h](b.c,e)}catch(k){if(\"InvalidStateError\"!=k.name)return b.b=null,Promise.reject(k);\n(new C(function(){try{b.f[h](b.c,e)}catch(l){b.b.reject(l),b.b=null}})).R(.01)}return b.b}\nq.yd=function(b,c){if(this.a)this.a.then(this.yd.bind(this,b,c))[\"catch\"](this.yd.bind(this,b,c));else{this.a=b;if(\"webkit-org.w3.clearkey\"==this.c){var d=Bc(c);var e=JSON.parse(d);\"oct\"!=e.keys[0].kty&&(this.a.reject(Error(\"Response is not a valid JSON Web Key Set.\")),this.a=null);d=L.Ba(e.keys[0].k);e=L.Ba(e.keys[0].kid)}else d=new Uint8Array(c),e=null;var f=wn(\"addKey\");try{this.f[f](this.c,d,e,this.sessionId)}catch(g){this.a.reject(g),this.a=null}}};\nfunction En(b,c){var d=b.keyStatuses;d.size=void 0==c?0:1;d.a=c;b.dispatchEvent(new I(\"keystatuseschange\"))}q.generateRequest=function(b,c){return Gn(this,c,null)};q.load=function(b){return\"persistent-license\"==this.g?Gn(this,null,b):Promise.reject(Error(\"Not a persistent session.\"))};q.update=function(b){var c=new F;this.yd(c,b);return c};\nq.close=function(){if(\"persistent-license\"!=this.g){if(!this.sessionId)return this.closed.reject(Error(\"The session is not callable.\")),this.closed;var b=wn(\"cancelKeyRequest\");try{this.f[b](this.c,this.sessionId)}catch(c){}}this.closed.resolve();return this.closed};q.remove=function(){return\"persistent-license\"!=this.g?Promise.reject(Error(\"Not a persistent session.\")):this.close()};function Fn(){this.size=0;this.a=void 0}var Hn;q=Fn.prototype;q.forEach=function(b){this.a&&b(this.a,Hn)};q.get=function(b){if(this.has(b))return this.a};\nq.has=function(b){var c=Hn;return this.a&&L.za(new Uint8Array(b),new Uint8Array(c))?!0:!1};q.entries=function(){};q.keys=function(){};q.values=function(){};\nOm(function(){if(!(!window.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration)){if(HTMLMediaElement.prototype.webkitGenerateKeyRequest)vn=\"webkit\";else if(!HTMLMediaElement.prototype.generateKeyRequest)return;Hn=(new Uint8Array([0])).buffer;navigator.requestMediaKeySystemAccess=xn;delete HTMLMediaElement.prototype.mediaKeys;HTMLMediaElement.prototype.mediaKeys=null;HTMLMediaElement.prototype.setMediaKeys=zn;window.MediaKeys=Bn;window.MediaKeySystemAccess=\nyn}});function In(b){b=b.target;if(\"picture-in-picture\"==b.webkitPresentationMode){document.pictureInPictureElement=b;var c=new Event(\"enterpictureinpicture\");b.dispatchEvent(c)}else document.pictureInPictureElement==b&&(document.pictureInPictureElement=null),c=new Event(\"leavepictureinpicture\"),b.dispatchEvent(c)}\nfunction Jn(){return this.webkitSupportsPresentationMode(\"picture-in-picture\")?(this.webkitSetPresentationMode(\"picture-in-picture\"),document.pictureInPictureElement=this,Promise.resolve()):Promise.reject(Error(\"PiP not allowed by video element\"))}function Kn(){var b=document.pictureInPictureElement;return b?(b.webkitSetPresentationMode(\"inline\"),document.pictureInPictureElement=null,Promise.resolve()):Promise.reject(Error(\"No picture in picture element found\"))}\nfunction Ln(){return this.hasAttribute(\"disablePictureInPicture\")?!0:!this.webkitSupportsPresentationMode(\"picture-in-picture\")}function Mn(b){b?this.setAttribute(\"disablePictureInPicture\",\"\"):this.removeAttribute(\"disablePictureInPicture\")}\nOm(function(){if(window.HTMLVideoElement){var b=HTMLVideoElement.prototype;b.requestPictureInPicture&&document.exitPictureInPicture||!b.webkitSupportsPresentationMode||(document.pictureInPictureEnabled=!0,document.pictureInPictureElement=null,b.requestPictureInPicture=Jn,Object.defineProperty(b,\"disablePictureInPicture\",{get:Ln,set:Mn,enumerable:!0,configurable:!0}),document.exitPictureInPicture=Kn,document.addEventListener(\"webkitpresentationmodechanged\",In,!0))}});Om(function(){if(window.HTMLMediaElement){var b=HTMLMediaElement.prototype.play;HTMLMediaElement.prototype.play=function(){var c=b.apply(this);c&&c[\"catch\"](function(){});return c}}});function Nn(){return{droppedVideoFrames:this.webkitDroppedFrameCount,totalVideoFrames:this.webkitDecodedFrameCount,corruptedVideoFrames:0,creationTime:NaN,totalFrameDelay:0}}Om(function(){if(window.HTMLVideoElement){var b=HTMLVideoElement.prototype;!b.getVideoPlaybackQuality&&\"webkitDroppedFrameCount\"in b&&(b.getVideoPlaybackQuality=Nn)}});function On(b,c,d){return new window.TextTrackCue(b,c,d)}function Pn(b,c,d){return new window.TextTrackCue(b+\"-\"+c+\"-\"+d,b,c,d)}Om(function(){if(!window.VTTCue&&window.TextTrackCue){var b=TextTrackCue.length;if(3==b)window.VTTCue=On;else if(6==b)window.VTTCue=Pn;else{try{var c=!!On(1,2,\"\")}catch(d){c=!1}c&&(window.VTTCue=On)}}});function Qn(){}A(\"shaka.text.TtmlTextParser\",Qn);Qn.prototype.parseInit=function(){};Qn.prototype.parseInit=Qn.prototype.parseInit;\nQn.prototype.parseMedia=function(b,c){var d=Bc(b),e=[],f=new DOMParser,g=null;if(\"\"==d)return e;try{g=f.parseFromString(d,\"text/xml\")}catch(sa){throw new D(2,2,2005,\"Failed to parse TTML.\");}if(g){if(d=g.getElementsByTagName(\"parsererror\")[0])throw new D(2,2,2005,d.textContent);if(f=g.getElementsByTagName(\"tt\")[0]){var h=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\"frameRate\");var k=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\"subFrameRate\");var l=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\n\"frameRateMultiplier\");var m=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\"tickRate\");g=f.getAttribute(\"xml:space\")||\"default\";d=f.getAttribute(\"tts:extent\")}else throw new D(2,2,2005,\"TTML does not contain <tt> tag.\");if(\"default\"!=g&&\"preserve\"!=g)throw new D(2,2,2005,\"Invalid xml:space value: \"+g);g=\"default\"==g;h=new Rn(h,k,l,m);k=Sn(f.getElementsByTagName(\"metadata\")[0]);l=Sn(f.getElementsByTagName(\"styling\")[0]);m=Sn(f.getElementsByTagName(\"layout\")[0]);for(var n=[],p=0;p<m.length;p++){var v=\nm[p],x=l,B=d;var y=new Hd;var G=v.getAttribute(\"xml:id\");if(G){y.id=G;G=null;B&&(G=Tn.exec(B)||Un.exec(B));B=G?Number(G[1]):null;G=G?Number(G[2]):null;var E,aa;if(E=Vn(v,x,\"extent\"))E=(aa=Tn.exec(E))||Un.exec(E),null!=E&&(y.width=null!=B?100*Number(E[1])/B:Number(E[1]),y.height=null!=G?100*Number(E[2])/G:Number(E[2]),y.widthUnits=aa||null!=B?Ud:0,y.heightUnits=aa||null!=G?Ud:0);if(v=Vn(v,x,\"origin\"))E=(aa=Tn.exec(v))||Un.exec(v),null!=E&&(y.viewportAnchorX=null!=G?100*Number(E[1])/G:Number(E[1]),\ny.viewportAnchorY=null!=B?100*Number(E[2])/B:Number(E[2]),y.viewportAnchorUnits=aa||null!=B?Ud:0)}else y=null;y&&n.push(y)}d=(d=f.getElementsByTagName(\"body\")[0])?Array.from(d.querySelectorAll(\"[begin]\")):[];d=r(d);for(f=d.next();!f.done;f=d.next())(f=Wn(f.value,c.periodStart,h,k,l,m,n,g,!1))&&e.push(f)}return e};Qn.prototype.parseMedia=Qn.prototype.parseMedia;\nvar Tn=/^(\\d{1,2}(?:\\.\\d+)?|100)% (\\d{1,2}(?:\\.\\d+)?|100)%$/,Xn=/^(\\d+px|\\d+em)$/,Un=/^(\\d+)px (\\d+)px$/,Yn=/^(\\d{2,}):(\\d{2}):(\\d{2}):(\\d{2})\\.?(\\d+)?$/,Zn=/^(?:(\\d{2,}):)?(\\d{2}):(\\d{2})$/,$n=/^(?:(\\d{2,}):)?(\\d{2}):(\\d{2}\\.\\d{2,})$/,ao=/^(\\d*(?:\\.\\d*)?)f$/,bo=/^(\\d*(?:\\.\\d*)?)t$/,co=/^(?:(\\d*(?:\\.\\d*)?)h)?(?:(\\d*(?:\\.\\d*)?)m)?(?:(\\d*(?:\\.\\d*)?)s)?(?:(\\d*(?:\\.\\d*)?)ms)?$/,eo={left:Md,center:\"center\",right:\"end\",start:Md,end:\"end\"},fo={left:\"line-left\",center:\"center\",right:\"line-right\"};\nfunction Sn(b){var c=[];if(!b)return c;for(var d=r(b.childNodes),e=d.next();!e.done;e=d.next())e=e.value,e.nodeType==Node.ELEMENT_NODE&&\"br\"!==e.nodeName&&(e=Sn(e),c=c.concat(e));c.length||c.push(b);return c}function go(b,c){for(var d=\"\",e=r(b.childNodes),f=e.next();!f.done;f=e.next())f=f.value,\"br\"==f.nodeName&&b.childNodes[0]!==f?d+=\"\\n\":f.childNodes&&0<f.childNodes.length?d+=go(f,c):c?(f=f.textContent.trim(),f=f.replace(/\\s+/g,\" \"),d+=f):d+=f.textContent;return d}\nfunction Wn(b,c,d,e,f,g,h,k,l){if(l&&\"br\"==b.nodeName)return b=new Fd(0,0,\"\"),b.spacer=!0,b;var m=/^[\\s\\n]*$/.test(b.textContent),n=b.nodeType==Node.ELEMENT_NODE&&!b.hasAttribute(\"begin\")&&!b.hasAttribute(\"end\");if(b.nodeType!=Node.ELEMENT_NODE||n&&m||n&&!l)return null;m=ho(b.getAttribute(\"begin\"),d);n=ho(b.getAttribute(\"end\"),d);var p=ho(b.getAttribute(\"dur\"),d);null==n&&null!=p&&(n=m+p);if(!l&&(null==m||null==n))throw new D(2,2,2001);m+=c;n+=c;p=\"\";l=[];if(Array.from(b.childNodes).find(function(b){return b.nodeType===\nNode.TEXT_NODE&&/\\w+/.test(b.textContent)}))p=go(b,k);else for(var v=r(b.childNodes),x=v.next();!x.done;x=v.next())(x=Wn(x.value,c,d,e,f,g,h,k,!0))&&l.push(x);c=new Fd(m,n,p);c.nestedCues=l;if((g=io(b,\"region\",g,\"\")[0])&&g.getAttribute(\"xml:id\")){var B=g.getAttribute(\"xml:id\");c.region=h.filter(function(b){return b.id==B})[0]}e=io(b,\"smpte:backgroundImage\",e,\"#\")[0];jo(c,b,g,e,f);return c}\nfunction jo(b,c,d,e,f){\"rtl\"==ko(c,d,f,\"direction\")&&(b.direction=\"rtl\");var g=ko(c,d,f,\"writingMode\");\"tb\"==g||\"tblr\"==g?b.writingMode=\"vertical-lr\":\"tbrl\"==g?b.writingMode=\"vertical-rl\":\"rltb\"==g||\"rl\"==g?b.direction=\"rtl\":g&&(b.direction=Gd);(g=ko(c,d,f,\"textAlign\"))?(b.positionAlign=fo[g],b.lineAlign=eo[g],b.textAlign=Qd[g.toUpperCase()]):b.textAlign=\"start\";if(g=ko(c,d,f,\"displayAlign\"))b.displayAlign=Rd[g.toUpperCase()];if(g=ko(c,d,f,\"color\"))b.color=g;if(g=ko(c,d,f,\"backgroundColor\"))b.backgroundColor=\ng;if(g=ko(c,d,f,\"fontFamily\"))b.fontFamily=g;(g=ko(c,d,f,\"fontWeight\"))&&\"bold\"==g&&(b.fontWeight=700);(g=ko(c,d,f,\"wrapOption\"))&&\"noWrap\"==g&&(b.wrapLine=!1);(g=ko(c,d,f,\"lineHeight\"))&&g.match(Xn)&&(b.lineHeight=g);(g=ko(c,d,f,\"fontSize\"))&&g.match(Xn)&&(b.fontSize=g);if(g=ko(c,d,f,\"fontStyle\"))b.fontStyle=Td[g.toUpperCase()];if(e){g=e.getAttribute(\"imagetype\");var h=e.getAttribute(\"encoding\");e=e.textContent.trim();\"PNG\"==g&&\"Base64\"==h&&e&&(b.backgroundImage=\"data:image/png;base64,\"+e)}(d=Vn(d,\nf,\"textDecoration\"))&&lo(b,d);(c=mo(c,f,\"textDecoration\"))&&lo(b,c)}\nfunction lo(b,c){for(var d=c.split(\" \"),e=0;e<d.length;e++)switch(d[e]){case \"underline\":b.textDecoration.includes(\"underline\")||b.textDecoration.push(\"underline\");break;case \"noUnderline\":b.textDecoration.includes(\"underline\")&&Pb(b.textDecoration,\"underline\");break;case \"lineThrough\":b.textDecoration.includes(\"lineThrough\")||b.textDecoration.push(\"lineThrough\");break;case \"noLineThrough\":b.textDecoration.includes(\"lineThrough\")&&Pb(b.textDecoration,\"lineThrough\");break;case \"overline\":b.textDecoration.includes(\"overline\")||\nb.textDecoration.push(\"overline\");break;case \"noOverline\":b.textDecoration.includes(\"overline\")&&Pb(b.textDecoration,\"overline\")}}function ko(b,c,d,e){return(b=mo(b,d,e))?b:Vn(c,d,e)}function Vn(b,c,d){for(var e=Sn(b),f=0;f<e.length;f++){var g=S.getAttributeNS(e[f],\"http://www.w3.org/ns/ttml#styling\",d);if(g)return g}return(b=io(b,\"style\",c,\"\")[0])?S.getAttributeNS(b,\"http://www.w3.org/ns/ttml#styling\",d):null}\nfunction mo(b,c,d){var e=S.getAttributeNS(b,\"http://www.w3.org/ns/ttml#styling\",d);if(e)return e;b=io(b,\"style\",c,\"\");c=null;for(e=0;e<b.length;e++){var f=S.getAttributeNS(b[e],\"http://www.w3.org/ns/ttml#styling\",d);f&&(c=f)}return c}\nfunction io(b,c,d,e){var f=[];if(!b||1>d.length)return f;var g=b;for(b=null;g&&!(b=g.getAttribute(c))&&(g=g.parentNode,g instanceof Element););if(c=b)for(c=c.split(\" \"),c=r(c),b=c.next();!b.done;b=c.next()){b=b.value;g=r(d);for(var h=g.next();!h.done;h=g.next())if(h=h.value,e+h.getAttribute(\"xml:id\")==b){f.push(h);break}}return f}\nfunction ho(b,c){var d=null;if(Yn.test(b)){d=Yn.exec(b);var e=Number(d[1]),f=Number(d[2]),g=Number(d[3]),h=Number(d[4]);h+=(Number(d[5])||0)/c.b;g+=h/c.frameRate;d=g+60*f+3600*e}else Zn.test(b)?d=no(Zn,b):$n.test(b)?d=no($n,b):ao.test(b)?(d=ao.exec(b),d=Number(d[1])/c.frameRate):bo.test(b)?(d=bo.exec(b),d=Number(d[1])/c.a):co.test(b)&&(d=no(co,b));return d}\nfunction no(b,c){var d=b.exec(c);return null==d||\"\"==d[0]?null:(Number(d[4])||0)/1E3+(Number(d[3])||0)+60*(Number(d[2])||0)+3600*(Number(d[1])||0)}function Rn(b,c,d,e){this.frameRate=Number(b)||30;this.b=Number(c)||1;this.a=Number(e);0==this.a&&(this.a=b?this.frameRate*this.b:1);d&&(b=/^(\\d+) (\\d+)$/g.exec(d))&&(this.frameRate*=Number(b[1])/Number(b[2]))}Xd[\"application/ttml+xml\"]=Qn;function oo(){this.a=new Qn}A(\"shaka.text.Mp4TtmlParser\",oo);oo.prototype.parseInit=function(b){var c=!1;(new R).H(\"moov\",xf).H(\"trak\",xf).H(\"mdia\",xf).H(\"minf\",xf).H(\"stbl\",xf).fa(\"stsd\",yf).H(\"stpp\",function(b){c=!0;b.parser.stop()}).parse(b);if(!c)throw new D(2,2,2007);};oo.prototype.parseInit=oo.prototype.parseInit;oo.prototype.parseMedia=function(b,c){var d=!1,e=[];(new R).H(\"mdat\",zf(function(b){d=!0;e=e.concat(this.a.parseMedia(b,c))}.bind(this))).parse(b);if(!d)throw new D(2,2,2007);return e};\noo.prototype.parseMedia=oo.prototype.parseMedia;Xd['application/mp4; codecs=\"stpp\"']=oo;Xd['application/mp4; codecs=\"stpp.ttml.im1t\"']=oo;Xd['application/mp4; codecs=\"stpp.TTML.im1t\"']=oo;function po(){}A(\"shaka.text.VttTextParser\",po);po.prototype.parseInit=function(){};po.prototype.parseInit=po.prototype.parseInit;\npo.prototype.parseMedia=function(b,c){var d=Bc(b);d=d.replace(/\\r\\n|\\r(?=[^\\n]|$)/gm,\"\\n\");d=d.split(/\\n{2,}/m);if(!/^WEBVTT($|[ \\t\\n])/m.test(d[0]))throw new D(2,2,2E3);var e=c.segmentStart;if(null==e&&(e=0,d[0].includes(\"X-TIMESTAMP-MAP\"))){var f=d[0].match(/LOCAL:((?:(\\d{1,}):)?(\\d{2}):(\\d{2})\\.(\\d{3}))/m),g=d[0].match(/MPEGTS:(\\d+)/m);if(f&&g){e=qo(new Ng(f[1]));if(null==e)throw new D(2,2,2E3);e=c.periodStart+(Number(g[1])/9E4-e)}}g=[];var h=d[0].split(\"\\n\");for(f=1;f<h.length;f++)if(/^Region:/.test(h[f])){var k=\nnew Ng(h[f]),l=new Hd;Qg(k);Og(k);for(var m=Qg(k);m;){var n=l,p=m;(m=/^id=(.*)$/.exec(p))?n.id=m[1]:(m=/^width=(\\d{1,2}|100)%$/.exec(p))?n.width=Number(m[1]):(m=/^lines=(\\d+)$/.exec(p))?(n.height=Number(m[1]),n.heightUnits=2):(m=/^regionanchor=(\\d{1,2}|100)%,(\\d{1,2}|100)%$/.exec(p))?(n.regionAnchorX=Number(m[1]),n.regionAnchorY=Number(m[2])):(m=/^viewportanchor=(\\d{1,2}|100)%,(\\d{1,2}|100)%$/.exec(p))?(n.viewportAnchorX=Number(m[1]),n.viewportAnchorY=Number(m[2])):/^scroll=up$/.exec(p)&&(n.scroll=\n\"up\");Og(k);m=Qg(k)}g.push(l)}f=[];for(k=1;k<d.length;k++){h=d[k].split(\"\\n\");m=h;p=e;h=g;if(1==m.length&&!m[0]||/^NOTE($|[ \\t])/.test(m[0])||\"STYLE\"==m[0])h=null;else{l=null;m[0].includes(\"--\\x3e\")||(l=m[0],m.splice(0,1));n=new Ng(m[0]);var v=qo(n),x=Pg(n,/[ \\t]+--\\x3e[ \\t]+/g),B=qo(n);if(null==v||null==x||null==B)throw new D(2,2,2001);m=new Fd(v+p,B+p,m.slice(1).join(\"\\n\").trim());Og(n);for(p=Qg(n);p;)ro(m,p,h),Og(n),p=Qg(n);null!=l&&(m.id=l);h=m}h&&f.push(h)}return f};po.prototype.parseMedia=po.prototype.parseMedia;\nfunction ro(b,c,d){var e;if(e=/^align:(start|middle|center|end|left|right)$/.exec(c))c=e[1],\"middle\"==c?b.textAlign=Jd:b.textAlign=Qd[c.toUpperCase()];else if(e=/^vertical:(lr|rl)$/.exec(c))b.writingMode=\"lr\"==e[1]?\"vertical-lr\":\"vertical-rl\";else if(e=/^size:([\\d.]+)%$/.exec(c))b.size=Number(e[1]);else if(e=/^position:([\\d.]+)%(?:,(line-left|line-right|center|start|end))?$/.exec(c))b.position=Number(e[1]),e[2]&&(c=e[2],b.positionAlign=\"line-left\"==c||\"start\"==c?\"line-left\":\"line-right\"==c||\"end\"==\nc?\"line-right\":\"center\");else if(e=/^region:(.*)$/.exec(c)){if(c=so(d,e[1]))b.region=c}else if(d=/^line:([\\d.]+)%(?:,(start|end|center))?$/.exec(c))b.lineInterpretation=1,b.line=Number(d[1]),d[2]&&(b.lineAlign=Sd[d[2].toUpperCase()]);else if(d=/^line:(-?\\d+)(?:,(start|end|center))?$/.exec(c))b.lineInterpretation=Ld,b.line=Number(d[1]),d[2]&&(b.lineAlign=Sd[d[2].toUpperCase()])}function so(b,c){var d=b.filter(function(b){return b.id==c});return d.length?d[0]:null}\nfunction qo(b){b=Pg(b,/(?:(\\d{1,}):)?(\\d{2}):(\\d{2})\\.(\\d{3})/g);if(null==b)return null;var c=Number(b[2]),d=Number(b[3]);return 59<c||59<d?null:Number(b[4])/1E3+d+60*c+3600*(Number(b[1])||0)}Xd[\"text/vtt\"]=po;Xd['text/vtt; codecs=\"vtt\"']=po;function to(){this.a=null}A(\"shaka.text.Mp4VttParser\",to);to.prototype.parseInit=function(b){var c=!1;(new R).H(\"moov\",xf).H(\"trak\",xf).H(\"mdia\",xf).fa(\"mdhd\",function(b){0==b.version?(b.reader.M(4),b.reader.M(4),this.a=b.reader.G(),b.reader.M(4)):(b.reader.M(8),b.reader.M(8),this.a=b.reader.G(),b.reader.M(8));b.reader.M(4)}.bind(this)).H(\"minf\",xf).H(\"stbl\",xf).fa(\"stsd\",yf).H(\"wvtt\",function(){c=!0}).parse(b);if(!this.a)throw new D(2,2,2008);if(!c)throw new D(2,2,2008);};\nto.prototype.parseInit=to.prototype.parseInit;\nto.prototype.parseMedia=function(b,c){var d=this;if(!this.a)throw new D(2,2,2008);var e=0,f=[],g,h=[],k=!1,l=!1,m=!1,n=null;(new R).H(\"moof\",xf).H(\"traf\",xf).fa(\"tfdt\",function(b){k=!0;e=0==b.version?b.reader.G():b.reader.Bb()}).fa(\"tfhd\",function(b){var c=b.flags;b=b.reader;b.M(4);c&1&&b.M(8);c&2&&b.M(4);n=c&8?b.G():null}).fa(\"trun\",function(b){l=!0;var c=b.version,d=b.flags;b=b.reader;var e=b.G();d&1&&b.M(4);d&4&&b.M(4);for(var g=[],h=0;h<e;h++){var k={duration:null,sampleSize:null,Ad:null};d&256&&\n(k.duration=b.G());d&512&&(k.sampleSize=b.G());d&1024&&b.M(4);d&2048&&(k.Ad=0==c?b.G():b.ke());g.push(k)}f=g}).H(\"mdat\",zf(function(b){m=!0;g=b})).parse(b);if(!m&&!k&&!l)throw new D(2,2,2008);var p=e,v=new DataView(g.buffer,g.byteOffset,g.byteLength),x=new Q(v,0);f.forEach(function(b){var f=b.duration||n,g=b.Ad?e+b.Ad:p;p=g+(f||0);var k=0;do{var l=x.G();k+=l;var m=x.G(),v=null;\"vttc\"==Af(m)?8<l&&(v=x.Za(l-8)):x.M(l-8);f&&v&&h.push(uo(v,c.periodStart+g/d.a,c.periodStart+p/d.a))}while(b.sampleSize&&\nk<b.sampleSize)});return h.filter(ud.Ia)};to.prototype.parseMedia=to.prototype.parseMedia;function uo(b,c,d){var e,f,g;(new R).H(\"payl\",zf(function(b){e=Bc(b)})).H(\"iden\",zf(function(b){f=Bc(b)})).H(\"sttg\",zf(function(b){g=Bc(b)})).parse(b);return e?vo(e,f,g,c,d):null}function vo(b,c,d,e,f){b=new Fd(e,f,b);c&&(b.id=c);if(d)for(c=new Ng(d),d=Qg(c);d;)ro(b,d,[]),Og(c),d=Qg(c);return b}Xd['application/mp4; codecs=\"wvtt\"']=to;A(\"shaka.util.Dom.createHTMLElement\",function(b){return document.createElement(b)});A(\"shaka.util.Dom.createVideoElement\",function(){var b=document.createElement(\"video\");b.muted=!0;b.width=600;b.height=400;return b});A(\"shaka.util.Dom.asHTMLElement\",function(b){return b});A(\"shaka.util.Dom.asHTMLMediaElement\",function(b){return b});A(\"shaka.util.Dom.removeAllChildren\",function(b){for(;b.firstChild;)b.removeChild(b.firstChild)});/*\n @license\n EME Encryption Scheme Polyfill\n Copyright 2019 Google LLC\n SPDX-License-Identifier: Apache-2.0\n*/\nfunction wo(){}var xo;A(\"EmeEncryptionSchemePolyfill\",wo);function yo(){xo?console.debug(\"EmeEncryptionSchemePolyfill: Already installed.\"):navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration?(xo=navigator.requestMediaKeySystemAccess,console.debug(\"EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.\"),navigator.requestMediaKeySystemAccess=zo):console.debug(\"EmeEncryptionSchemePolyfill: EME not found\")}wo.install=yo;\nfunction zo(b,c){var d=this;return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return console.assert(d==navigator,'bad \"this\" for requestMediaKeySystemAccess'),u(f,xo.call(d,b,c),2);case 2:g=f.o;if(Ao(g))return console.debug(\"EmeEncryptionSchemePolyfill: Native encryptionScheme support found.\"),navigator.requestMediaKeySystemAccess=xo,f[\"return\"](g);console.debug(\"EmeEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support.\");navigator.requestMediaKeySystemAccess=\nBo;return f[\"return\"](Bo.call(d,b,c))}})})}\nfunction Bo(b,c){var d=this;return t(function f(){var g,h,k,l,m,n,p,v;return z(f,function(f){switch(f.j){case 1:console.assert(d==navigator,'bad \"this\" for requestMediaKeySystemAccess');g=Co(b);h=[];for(var x=r(c),y=x.next();!y.done;y=x.next())k=y.value,l=Do(k.videoCapabilities,g),m=Do(k.audioCapabilities,g),k.videoCapabilities&&k.videoCapabilities.length&&!l.length||k.audioCapabilities&&k.audioCapabilities.length&&!m.length||(n=Object.assign({},k),n.videoCapabilities=l,n.audioCapabilities=m,h.push(n));\nif(!h.length)throw p=Error(\"Unsupported keySystem or supportedConfigurations.\"),p.name=\"NotSupportedError\",p.code=DOMException.NOT_SUPPORTED_ERR,p;return u(f,xo.call(d,b,h),2);case 2:return v=f.o,f[\"return\"](new Eo(v,g))}})})}function Do(b,c){return b?b.filter(function(b){return!b.encryptionScheme||b.encryptionScheme==c}):b}function Fo(){}var Go;A(\"McEncryptionSchemePolyfill\",Fo);\nfunction Ho(){navigator.mediaCapabilities?(Go=navigator.mediaCapabilities.decodingInfo,console.debug(\"McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.\"),navigator.mediaCapabilities.decodingInfo=Io):console.debug(\"McEncryptionSchemePolyfill: MediaCapabilities not found\")}Fo.install=Ho;\nfunction Io(b){var c=this;return t(function e(){var f,g;return z(e,function(e){switch(e.j){case 1:return console.assert(c==navigator.mediaCapabilities,'bad \"this\" for decodingInfo'),u(e,Go.call(c,b),2);case 2:f=e.o;if(!b.keySystemConfiguration)return e[\"return\"](f);g=f.keySystemAccess;if(Ao(g))return console.debug(\"McEncryptionSchemePolyfill: Native encryptionScheme support found.\"),navigator.mediaCapabilities.decodingInfo=Go,e[\"return\"](f);console.debug(\"McEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support.\");\nnavigator.mediaCapabilities.decodingInfo=Jo;return e[\"return\"](Jo.call(c,b))}})})}\nfunction Jo(b){var c=this;return t(function e(){var f,g,h,k,l,m,n;return z(e,function(e){switch(e.j){case 1:return console.assert(c==navigator.mediaCapabilities,'bad \"this\" for decodingInfo'),f=null,b.keySystemConfiguration&&(g=b.keySystemConfiguration,h=g.keySystem,k=g.audio&&g.audio.encryptionScheme,l=g.video&&g.video.encryptionScheme,f=Co(h),m={powerEfficient:!1,smooth:!1,supported:!1,keySystemAccess:null,configuration:b},k&&k!=f||l&&l!=f)?e[\"return\"](m):u(e,Go.call(c,b),2);case 2:return n=e.o,\nn.keySystemAccess&&(n.keySystemAccess=new Eo(n.keySystemAccess,f)),e[\"return\"](n)}})})}function Eo(b,c){this.b=b;this.a=c;this.keySystem=b.keySystem}Eo.prototype.getConfiguration=function(){var b=this.b.getConfiguration();if(b.videoCapabilities)for(var c=r(b.videoCapabilities),d=c.next();!d.done;d=c.next())d.value.encryptionScheme=this.a;if(b.audioCapabilities)for(c=r(b.audioCapabilities),d=c.next();!d.done;d=c.next())d.value.encryptionScheme=this.a;return b};Eo.prototype.createMediaKeys=function(){return this.b.createMediaKeys()};\nfunction Co(b){if(b.startsWith(\"com.widevine\")||b.startsWith(\"com.microsoft\")||b.startsWith(\"com.adobe\")||b.startsWith(\"org.w3\"))return\"cenc\";if(b.startsWith(\"com.apple\"))return\"cbcs-1-9\";console.warn(\"EmeEncryptionSchemePolyfill: Unknown key system:\",b,\"Please contribute!\");return null}function Ao(b){b=b.getConfiguration();var c=b.audioCapabilities&&b.audioCapabilities[0];return(b=b.videoCapabilities&&b.videoCapabilities[0]||c)&&void 0!==b.encryptionScheme?!0:!1}function Ko(){}\nA(\"EncryptionSchemePolyfills\",Ko);function Pm(){yo();Ho()}Ko.install=Pm; true&&module.Ne&&(module.Ne=Ko);}).call(exportTo,innerGlobal,innerGlobal);if(true)for(var k in exportTo.shaka)exports[k]=exportTo.shaka[k];else {}})();\n\n//# sourceMappingURL=shaka-player.compiled.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n/***/ }),\n\n/***/ \"./node_modules/webpack/buildin/global.js\":\n/*!***********************************!*\\\n !*** (webpack)/buildin/global.js ***!\n \\***********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n/***/ }),\n\n/***/ \"./node_modules/webpack/buildin/module.js\":\n/*!***********************************!*\\\n !*** (webpack)/buildin/module.js ***!\n \\***********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n\n\n/***/ }),\n\n/***/ \"./src/clappr-dash-shaka-playback.js\":\n/*!*******************************************!*\\\n !*** ./src/clappr-dash-shaka-playback.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _clappr = __webpack_require__(/*! clappr */ \"clappr\");\n\nvar _shakaPlayer = __webpack_require__(/*! shaka-player */ \"./node_modules/shaka-player/dist/shaka-player.compiled.js\");\n\nvar _shakaPlayer2 = _interopRequireDefault(_shakaPlayer);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SEND_STATS_INTERVAL_MS = 30 * 1e3;\nvar DEFAULT_LEVEL_AUTO = -1;\n\nvar DashShakaPlayback = function (_HTML5Video) {\n _inherits(DashShakaPlayback, _HTML5Video);\n\n _createClass(DashShakaPlayback, [{\n key: 'getDuration',\n value: function getDuration() {\n return this._duration;\n }\n }, {\n key: 'getCurrentTime',\n value: function getCurrentTime() {\n return this.shakaPlayerInstance.getMediaElement().currentTime - this.seekRange.start;\n }\n }, {\n key: 'name',\n get: function get() {\n return 'dash_shaka_playback';\n }\n }, {\n key: 'shakaVersion',\n get: function get() {\n return _shakaPlayer2.default.player.Player.version;\n }\n }, {\n key: 'shakaPlayerInstance',\n get: function get() {\n return this._player;\n }\n }, {\n key: 'levels',\n get: function get() {\n return this._levels;\n }\n }, {\n key: 'seekRange',\n get: function get() {\n return this.shakaPlayerInstance.seekRange();\n }\n }, {\n key: 'currentLevel',\n set: function set(id) {\n var _this2 = this;\n\n this._currentLevelId = id;\n var isAuto = this._currentLevelId === DEFAULT_LEVEL_AUTO;\n\n this.trigger(_clappr.Events.PLAYBACK_LEVEL_SWITCH_START);\n if (!isAuto) {\n this._player.configure({ abr: { enabled: false } });\n this._pendingAdaptationEvent = true;\n this.selectTrack(this.videoTracks.filter(function (t) {\n return t.id === _this2._currentLevelId;\n })[0]);\n } else {\n this._player.configure({ abr: { enabled: true } });\n this.trigger(_clappr.Events.PLAYBACK_LEVEL_SWITCH_END);\n }\n },\n get: function get() {\n return this._currentLevelId || DEFAULT_LEVEL_AUTO;\n }\n }, {\n key: 'dvrEnabled',\n get: function get() {\n return this._duration >= this._minDvrSize && this.getPlaybackType() === 'live';\n }\n }, {\n key: '_duration',\n get: function get() {\n if (!this.shakaPlayerInstance) return 0;\n\n return this.seekRange.end - this.seekRange.start;\n }\n }, {\n key: '_startTime',\n get: function get() {\n return this.seekRange.start;\n }\n }, {\n key: 'presentationTimeline',\n get: function get() {\n var manifest = this.shakaPlayerInstance.getManifest();\n return manifest ? manifest.presentationTimeline : null;\n }\n }, {\n key: 'bandwidthEstimate',\n get: function get() {\n if (!this.shakaPlayerInstance) return;\n return this.shakaPlayerInstance.getStats().estimatedBandwidth;\n }\n }], [{\n key: 'canPlay',\n value: function canPlay(resource) {\n var mimeType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n _shakaPlayer2.default.polyfill.installAll();\n var browserSupported = _shakaPlayer2.default.Player.isBrowserSupported();\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n return browserSupported && (resourceParts[1] === 'mpd' || mimeType.indexOf('application/dash+xml') > -1);\n }\n }, {\n key: 'Events',\n get: function get() {\n return {\n SHAKA_READY: 'shaka:ready'\n };\n }\n }]);\n\n function DashShakaPlayback() {\n var _ref;\n\n _classCallCheck(this, DashShakaPlayback);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = _possibleConstructorReturn(this, (_ref = DashShakaPlayback.__proto__ || Object.getPrototypeOf(DashShakaPlayback)).call.apply(_ref, [this].concat(args)));\n\n _this._levels = [];\n _this._pendingAdaptationEvent = false;\n _this._isShakaReadyState = false;\n\n _this._minDvrSize = typeof _this.options.shakaMinimumDvrSize === 'undefined' ? 60 : _this.options.shakaMinimumDvrSize;\n return _this;\n }\n\n _createClass(DashShakaPlayback, [{\n key: 'getProgramDateTime',\n value: function getProgramDateTime() {\n var presentationTimeline = this.presentationTimeline;\n if (!presentationTimeline) return null;\n return new Date((presentationTimeline.getPresentationStartTime() + this.seekRange.start) * 1000);\n }\n }, {\n key: '_updateDvr',\n value: function _updateDvr(status) {\n this.trigger(_clappr.Events.PLAYBACK_DVR, status);\n this.trigger(_clappr.Events.PLAYBACK_STATS_ADD, { 'dvr': status });\n }\n }, {\n key: 'seek',\n value: function seek(time) {\n if (time < 0) {\n _clappr.Log.warn('Attempt to seek to a negative time. Resetting to live point. Use seekToLivePoint() to seek to the live point.');\n time = this._duration;\n }\n // assume live if time within 3 seconds of end of stream\n this.dvrEnabled && this._updateDvr(time < this._duration - 3);\n time += this._startTime;\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'seek', this).call(this, time);\n }\n }, {\n key: 'pause',\n value: function pause() {\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'pause', this).call(this);\n\n if (this.dvrEnabled) this._updateDvr(true);\n }\n }, {\n key: 'play',\n value: function play() {\n if (!this._player) {\n this._setup();\n }\n\n if (!this.isReady) {\n this.once(DashShakaPlayback.Events.SHAKA_READY, this.play);\n return;\n }\n\n this._stopped = false;\n this._src = this.el.src;\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'play', this).call(this);\n this._startTimeUpdateTimer();\n }\n }, {\n key: '_startTimeUpdateTimer',\n value: function _startTimeUpdateTimer() {\n var _this3 = this;\n\n this._stopTimeUpdateTimer();\n this._timeUpdateTimer = setInterval(function () {\n _this3._onTimeUpdate();\n }, 100);\n }\n }, {\n key: '_stopTimeUpdateTimer',\n value: function _stopTimeUpdateTimer() {\n this._timeUpdateTimer && clearInterval(this._timeUpdateTimer);\n }\n\n // skipping HTML5Video `_setupSrc` (on tag video)\n\n }, {\n key: '_setupSrc',\n value: function _setupSrc() {}\n\n // skipping ready event on video tag in favor of ready on shaka\n\n }, {\n key: '_ready',\n value: function _ready() {\n // override with no-op\n }\n }, {\n key: '_onShakaReady',\n value: function _onShakaReady() {\n this._isShakaReadyState = true;\n this.trigger(DashShakaPlayback.Events.SHAKA_READY);\n this.trigger(_clappr.Events.PLAYBACK_READY, this.name);\n }\n }, {\n key: 'error',\n\n\n // skipping error handling on video tag in favor of error on shaka\n value: function error(event) {\n _clappr.Log.error('an error was raised by the video tag', event, this.el.error);\n }\n }, {\n key: 'isHighDefinitionInUse',\n value: function isHighDefinitionInUse() {\n return false;\n }\n }, {\n key: 'stop',\n value: function stop() {\n var _this4 = this;\n\n this._stopTimeUpdateTimer();\n clearInterval(this.sendStatsId);\n this._stopped = true;\n\n if (this._player) {\n this._sendStats();\n\n this._player.unload().then(function () {\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'stop', _this4).call(_this4);\n _this4._player = null;\n _this4._isShakaReadyState = false;\n }).catch(function () {\n _clappr.Log.error('shaka could not be unloaded');\n });\n } else {\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'stop', this).call(this);\n }\n }\n }, {\n key: 'getPlaybackType',\n value: function getPlaybackType() {\n return (this.isReady && this._player.isLive() ? 'live' : 'vod') || '';\n }\n }, {\n key: 'selectAudioLanguage',\n value: function selectAudioLanguage(language) {\n var role = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n this._player.selectAudioLanguage(language, role);\n }\n }, {\n key: 'selectTrack',\n value: function selectTrack(track) {\n if (track.type === 'text') {\n this._player.selectTextTrack(track);\n } else if (track.type === 'variant') {\n this._player.selectVariantTrack(track);\n if (track.mimeType.startsWith('video/')) {\n // we trigger the adaptation event here\n // because Shaka doesn't trigger its event on \"manual\" selection.\n this._onAdaptation();\n }\n } else {\n throw new Error('Unhandled track type:', track.type);\n }\n }\n\n /**\n * @override\n */\n\n }, {\n key: '_enableShakaTextTrack',\n value: function _enableShakaTextTrack(isEnable) {\n // Shaka player use only one TextTrack object with video element to handle all text tracks\n // It must be enabled or disabled in addition to call selectTextTrack()\n if (!this.el.textTracks) {\n return;\n }\n\n this._shakaTTVisible = isEnable;\n\n Array.from(this.el.textTracks).filter(function (track) {\n return track.kind === 'subtitles';\n }).forEach(function (track) {\n return track.mode = isEnable === true ? 'showing' : 'hidden';\n });\n }\n }, {\n key: '_checkForClosedCaptions',\n value: function _checkForClosedCaptions() {\n if (this._ccIsSetup) {\n return;\n }\n\n if (this.hasClosedCaptionsTracks) {\n this.trigger(_clappr.Events.PLAYBACK_SUBTITLE_AVAILABLE);\n var trackId = this.closedCaptionsTrackId;\n this.closedCaptionsTrackId = trackId;\n }\n this._ccIsSetup = true;\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n var _this5 = this;\n\n this._stopTimeUpdateTimer();\n clearInterval(this.sendStatsId);\n\n if (this._player) {\n this._player.destroy().then(function () {\n return _this5._destroy();\n }).catch(function () {\n _this5._destroy();\n _clappr.Log.error('shaka could not be destroyed');\n });\n } else {\n this._destroy();\n }\n\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'destroy', this).call(this);\n }\n }, {\n key: '_setup',\n value: function _setup() {\n var _this6 = this;\n\n this._isShakaReadyState = false;\n this._ccIsSetup = false;\n this._player = this._createPlayer();\n this._options.shakaConfiguration && this._player.configure(this._options.shakaConfiguration);\n this._options.shakaOnBeforeLoad && this._options.shakaOnBeforeLoad(this._player);\n\n var playerLoaded = this._player.load(this._options.src);\n playerLoaded.then(function () {\n return _this6._loaded();\n }).catch(function (e) {\n return _this6._setupError(e);\n });\n }\n }, {\n key: '_createPlayer',\n value: function _createPlayer() {\n var player = new _shakaPlayer2.default.Player(this.el);\n player.addEventListener('error', this._onError.bind(this));\n player.addEventListener('adaptation', this._onAdaptation.bind(this));\n player.addEventListener('buffering', this._onBuffering.bind(this));\n return player;\n }\n }, {\n key: '_onTimeUpdate',\n value: function _onTimeUpdate() {\n if (!this.shakaPlayerInstance) return;\n\n var fragDateTime = this.getProgramDateTime();\n if (!fragDateTime) return;\n var update = {\n current: this.getCurrentTime(),\n total: this.getDuration(),\n firstFragDateTime: fragDateTime\n };\n var isSame = this._lastTimeUpdate && update.current === this._lastTimeUpdate.current && update.total === this._lastTimeUpdate.total;\n if (isSame) return;\n\n this._lastTimeUpdate = update;\n this.trigger(_clappr.Events.PLAYBACK_TIMEUPDATE, update, this.name);\n }\n }, {\n key: '_onBuffering',\n value: function _onBuffering(e) {\n if (this._stopped) return;\n var event = e.buffering ? _clappr.Events.PLAYBACK_BUFFERING : _clappr.Events.PLAYBACK_BUFFERFULL;\n this.trigger(event);\n }\n }, {\n key: '_loaded',\n value: function _loaded() {\n this._onShakaReady();\n this._startToSendStats();\n this._fillLevels();\n this._checkForClosedCaptions();\n }\n }, {\n key: '_fillLevels',\n value: function _fillLevels() {\n if (this._levels.length === 0) {\n this._levels = this.videoTracks.slice(0).reverse();\n this.trigger(_clappr.Events.PLAYBACK_LEVELS_AVAILABLE, this.levels);\n }\n }\n }, {\n key: '_startToSendStats',\n value: function _startToSendStats() {\n var _this7 = this;\n\n var intervalMs = this._options.shakaSendStatsInterval || SEND_STATS_INTERVAL_MS;\n this.sendStatsId = setInterval(function () {\n return _this7._sendStats();\n }, intervalMs);\n }\n }, {\n key: '_sendStats',\n value: function _sendStats() {\n this.trigger(_clappr.Events.PLAYBACK_STATS_ADD, this._player.getStats());\n }\n }, {\n key: '_setupError',\n value: function _setupError(err) {\n this._onError(err);\n }\n }, {\n key: '_onError',\n value: function _onError(err) {\n var error = {\n shakaError: err,\n videoError: this.el.error\n };\n\n var _ref2 = error.shakaError.detail || error.shakaError,\n category = _ref2.category,\n code = _ref2.code,\n severity = _ref2.severity;\n\n if (error.videoError || !code && !category) return _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), '_onError', this).call(this);\n\n var isCritical = severity === _shakaPlayer2.default.util.Error.Severity.CRITICAL;\n var errorData = {\n code: category + '_' + code,\n description: 'Category: ' + category + ', code: ' + code + ', severity: ' + severity,\n level: isCritical ? _clappr.PlayerError.Levels.FATAL : _clappr.PlayerError.Levels.WARN,\n raw: err\n };\n var formattedError = this.createError(errorData);\n _clappr.Log.error('Shaka error event:', formattedError);\n this.trigger(_clappr.Events.PLAYBACK_ERROR, formattedError);\n }\n }, {\n key: '_onAdaptation',\n value: function _onAdaptation() {\n var activeVideo = this.videoTracks.filter(function (t) {\n return t.active === true;\n })[0];\n\n this._fillLevels();\n\n // update stats that may have changed before we trigger event\n // so that user can rely on stats data when handling event\n this._sendStats();\n\n if (this._pendingAdaptationEvent) {\n this.trigger(_clappr.Events.PLAYBACK_LEVEL_SWITCH_END);\n this._pendingAdaptationEvent = false;\n }\n\n _clappr.Log.debug('an adaptation has happened:', activeVideo);\n this.highDefinition = activeVideo.height >= 720;\n this.trigger(_clappr.Events.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n this.trigger(_clappr.Events.PLAYBACK_BITRATE, {\n bandwidth: activeVideo.bandwidth,\n width: activeVideo.width,\n height: activeVideo.height,\n language: activeVideo.language,\n level: activeVideo.id,\n bitrate: activeVideo.videoBandwidth\n });\n }\n }, {\n key: '_updateSettings',\n value: function _updateSettings() {\n if (this.getPlaybackType() === 'vod') this.settings.left = ['playpause', 'position', 'duration'];else if (this.dvrEnabled) this.settings.left = ['playpause'];else this.settings.left = ['playstop'];\n\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_clappr.Events.PLAYBACK_SETTINGSUPDATE);\n }\n }, {\n key: '_destroy',\n value: function _destroy() {\n this._isShakaReadyState = false;\n _clappr.Log.debug('shaka was destroyed');\n }\n }, {\n key: 'isReady',\n get: function get() {\n return this._isShakaReadyState;\n }\n }, {\n key: 'textTracks',\n get: function get() {\n return this.isReady && this._player.getTextTracks();\n }\n }, {\n key: 'audioLanguages',\n get: function get() {\n return this.isReady && this._player.getAudioLanguages();\n }\n }, {\n key: 'audioTracks',\n get: function get() {\n return this.isReady && this._player.getVariantTracks().filter(function (t) {\n return t.mimeType.startsWith('audio/');\n });\n }\n }, {\n key: 'videoTracks',\n get: function get() {\n return this.isReady && this._player.getVariantTracks().filter(function (t) {\n return t.mimeType.startsWith('video/');\n });\n }\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n var id = 0;\n var trackId = function trackId() {\n return id++;\n };\n var tracks = this.textTracks || [];\n\n return tracks.filter(function (track) {\n return track.kind === 'subtitle';\n }).map(function (track) {\n return { id: trackId(), name: track.label || track.language, track: track };\n });\n }\n\n /**\n * @override\n */\n\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'closedCaptionsTrackId', this);\n }\n\n /**\n * @override\n */\n ,\n set: function set(trackId) {\n if (!this._player) {\n return;\n }\n\n var tracks = this.closedCaptionsTracks;\n var showingTrack = void 0;\n\n // Note: -1 is for hide all tracks\n if (trackId !== -1) {\n showingTrack = tracks.find(function (track) {\n return track.id === trackId;\n });\n if (!showingTrack) {\n _clappr.Log.warn('Track id \"' + trackId + '\" not found');\n return;\n }\n if (this._shakaTTVisible && showingTrack.track.active === true) {\n _clappr.Log.info('Track id \"' + trackId + '\" already showing');\n return;\n }\n }\n\n if (showingTrack) {\n this._player.selectTextTrack(showingTrack.track);\n this._player.setTextTrackVisibility(true);\n this._enableShakaTextTrack(true);\n } else {\n this._player.setTextTrackVisibility(false);\n this._enableShakaTextTrack(false);\n }\n\n this._ccTrackId = trackId;\n this.trigger(_clappr.Events.PLAYBACK_SUBTITLE_CHANGED, {\n id: trackId\n });\n }\n }]);\n\n return DashShakaPlayback;\n}(_clappr.HTML5Video);\n\nexports.default = DashShakaPlayback;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"clappr\":\n/*!******************************************************************************************!*\\\n !*** external {\"amd\":\"clappr\",\"commonjs\":\"clappr\",\"commonjs2\":\"clappr\",\"root\":\"Clappr\"} ***!\n \\******************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_clappr__;\n\n/***/ })\n\n/******/ });\n});\n//# sourceMappingURL=dash-shaka-playback.js.map","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"clappr\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"clappr\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"LevelSelector\"] = factory(require(\"clappr\"));\n\telse\n\t\troot[\"LevelSelector\"] = factory(root[\"Clappr\"]);\n})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_84__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"<%=baseUrl%>/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 40);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nvar core = module.exports = { version: '2.6.11' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(10);\nvar IE8_DOM_DEFINE = __webpack_require__(29);\nvar toPrimitive = __webpack_require__(15);\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(3) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(11)(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(2);\nvar createDesc = __webpack_require__(12);\nmodule.exports = __webpack_require__(3) ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(56);\nvar defined = __webpack_require__(17);\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar store = __webpack_require__(22)('wks');\nvar uid = __webpack_require__(14);\nvar Symbol = __webpack_require__(0).Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(0);\nvar core = __webpack_require__(1);\nvar ctx = __webpack_require__(28);\nvar hide = __webpack_require__(5);\nvar has = __webpack_require__(4);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(6);\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports) {\n\nmodule.exports = true;\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports) {\n\nvar id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(6);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports) {\n\n// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports) {\n\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(10);\nvar dPs = __webpack_require__(55);\nvar enumBugKeys = __webpack_require__(23);\nvar IE_PROTO = __webpack_require__(21)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(30)('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(60).appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(34);\nvar enumBugKeys = __webpack_require__(23);\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(22)('keys');\nvar uid = __webpack_require__(14);\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar core = __webpack_require__(1);\nvar global = __webpack_require__(0);\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: __webpack_require__(13) ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports) {\n\n// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar def = __webpack_require__(2).f;\nvar has = __webpack_require__(4);\nvar TAG = __webpack_require__(8)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports.f = __webpack_require__(8);\n\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(0);\nvar core = __webpack_require__(1);\nvar LIBRARY = __webpack_require__(13);\nvar wksExt = __webpack_require__(25);\nvar defineProperty = __webpack_require__(2).f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports) {\n\nexports.f = {}.propertyIsEnumerable;\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// optional / simple context binding\nvar aFunction = __webpack_require__(48);\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = !__webpack_require__(3) && !__webpack_require__(11)(function () {\n return Object.defineProperty(__webpack_require__(30)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(6);\nvar document = __webpack_require__(0).document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _iterator = __webpack_require__(50);\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = __webpack_require__(66);\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar LIBRARY = __webpack_require__(13);\nvar $export = __webpack_require__(9);\nvar redefine = __webpack_require__(33);\nvar hide = __webpack_require__(5);\nvar Iterators = __webpack_require__(18);\nvar $iterCreate = __webpack_require__(54);\nvar setToStringTag = __webpack_require__(24);\nvar getPrototypeOf = __webpack_require__(61);\nvar ITERATOR = __webpack_require__(8)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(5);\n\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(4);\nvar toIObject = __webpack_require__(7);\nvar arrayIndexOf = __webpack_require__(57)(false);\nvar IE_PROTO = __webpack_require__(21)('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(17);\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports) {\n\nexports.f = Object.getOwnPropertySymbols;\n\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = __webpack_require__(34);\nvar hiddenKeys = __webpack_require__(23).concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar pIE = __webpack_require__(27);\nvar createDesc = __webpack_require__(12);\nvar toIObject = __webpack_require__(7);\nvar toPrimitive = __webpack_require__(15);\nvar has = __webpack_require__(4);\nvar IE8_DOM_DEFINE = __webpack_require__(29);\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = __webpack_require__(3) ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(exports,\"__esModule\",{value:true});var _main=__webpack_require__(41);var _main2=_interopRequireDefault(_main);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_main2.default;module.exports=exports['default'];\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {Object.defineProperty(exports,\"__esModule\",{value:true});var _classCallCheck2=__webpack_require__(43);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(44);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(49);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(76);var _inherits3=_interopRequireDefault(_inherits2);var _clappr=__webpack_require__(84);var _levelSelector=__webpack_require__(85);var _levelSelector2=_interopRequireDefault(_levelSelector);var _style=__webpack_require__(86);var _style2=_interopRequireDefault(_style);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var AUTO=-1;var LevelSelector=function(_UICorePlugin){(0,_inherits3.default)(LevelSelector,_UICorePlugin);function LevelSelector(){(0,_classCallCheck3.default)(this,LevelSelector);return(0,_possibleConstructorReturn3.default)(this,_UICorePlugin.apply(this,arguments));}LevelSelector.prototype.bindEvents=function bindEvents(){this.listenTo(this.core,_clappr.Events.CORE_READY,this.bindPlaybackEvents);if(_clappr.Events.CORE_ACTIVE_CONTAINER_CHANGED)this.listenTo(this.core,_clappr.Events.CORE_ACTIVE_CONTAINER_CHANGED,this.reload);else this.listenTo(this.core.mediaControl,_clappr.Events.MEDIACONTROL_CONTAINERCHANGED,this.reload);this.listenTo(this.core.mediaControl,_clappr.Events.MEDIACONTROL_RENDERED,this.render);this.listenTo(this.core.mediaControl,_clappr.Events.MEDIACONTROL_HIDE,this.hideSelectLevelMenu);};LevelSelector.prototype.bindPlaybackEvents=function bindPlaybackEvents(){if(!this.playback)return;this.listenTo(this.playback,_clappr.Events.PLAYBACK_LEVELS_AVAILABLE,this.fillLevels);this.listenTo(this.playback,_clappr.Events.PLAYBACK_LEVEL_SWITCH_START,this.startLevelSwitch);this.listenTo(this.playback,_clappr.Events.PLAYBACK_LEVEL_SWITCH_END,this.stopLevelSwitch);this.listenTo(this.playback,_clappr.Events.PLAYBACK_BITRATE,this.updateCurrentLevel);var playbackLevelsAvailableWasTriggered=this.playback.levels&&this.playback.levels.length>0;playbackLevelsAvailableWasTriggered&&this.fillLevels(this.playback.levels);};LevelSelector.prototype.reload=function reload(){var _this2=this;this.stopListening();// Ensure it stop listening before rebind events (avoid duplicate events)\nprocess.nextTick(function(){_this2.bindEvents();_this2.bindPlaybackEvents();});};LevelSelector.prototype.shouldRender=function shouldRender(){if(!this.container||!this.playback)return false;var respondsToCurrentLevel=this.playback.currentLevel!==undefined;// Only care if we have at least 2 to choose from\nvar hasLevels=!!(this.levels&&this.levels.length>1);return respondsToCurrentLevel&&hasLevels;};LevelSelector.prototype.render=function render(){if(this.shouldRender()){var style=_clappr.Styler.getStyleFor(_style2.default,{baseUrl:this.core.options.baseUrl});this.$el.html(this.template({'levels':this.levels,'title':this.getTitle()}));this.$el.append(style);this.core.mediaControl.$('.media-control-right-panel').append(this.el);this.$('.level_selector ul').css('max-height',this.core.el.offsetHeight*0.8);this.highlightCurrentLevel();}return this;};LevelSelector.prototype.fillLevels=function fillLevels(levels){var initialLevel=arguments.length>1&&arguments[1]!==undefined?arguments[1]:AUTO;if(this.selectedLevelId===undefined)this.selectedLevelId=initialLevel;var onLevelsAvailable=this.core.options&&this.core.options.levelSelectorConfig&&this.core.options.levelSelectorConfig.onLevelsAvailable;if(onLevelsAvailable){if(typeof onLevelsAvailable==='function')levels=onLevelsAvailable(levels.slice());else throw new TypeError('onLevelsAvailable must be a function');}this.levels=levels;this.configureLevelsLabels();this.render();};LevelSelector.prototype.configureLevelsLabels=function configureLevelsLabels(){if(this.core.options.levelSelectorConfig===undefined)return;var labelCallback=this.core.options.levelSelectorConfig.labelCallback;if(labelCallback&&typeof labelCallback!=='function')throw new TypeError('labelCallback must be a function');var hasLabels=this.core.options.levelSelectorConfig.labels;var labels=hasLabels?this.core.options.levelSelectorConfig.labels:{};if(labelCallback||hasLabels){var level=void 0;var label=void 0;for(var levelId in this.levels){level=this.levels[levelId];label=labels[level.id];if(labelCallback)level.label=labelCallback(level,label);else if(label)level.label=label;}}};LevelSelector.prototype.findLevelBy=function findLevelBy(id){var foundLevel=void 0;this.levels.forEach(function(level){if(level.id===id)foundLevel=level;});return foundLevel;};LevelSelector.prototype.onLevelSelect=function onLevelSelect(event){this.selectedLevelId=parseInt(event.target.dataset.levelSelectorSelect,10);if(this.playback.currentLevel==this.selectedLevelId)return false;this.playback.currentLevel=this.selectedLevelId;this.toggleContextMenu();event.stopPropagation();return false;};LevelSelector.prototype.onShowLevelSelectMenu=function onShowLevelSelectMenu(){this.toggleContextMenu();};LevelSelector.prototype.hideSelectLevelMenu=function hideSelectLevelMenu(){this.$('.level_selector ul').hide();};LevelSelector.prototype.toggleContextMenu=function toggleContextMenu(){this.$('.level_selector ul').toggle();};LevelSelector.prototype.buttonElement=function buttonElement(){return this.$('.level_selector button');};LevelSelector.prototype.levelElement=function levelElement(id){return this.$('.level_selector ul a'+(!isNaN(id)?'[data-level-selector-select=\"'+id+'\"]':'')).parent();};LevelSelector.prototype.getTitle=function getTitle(){return(this.core.options.levelSelectorConfig||{}).title;};LevelSelector.prototype.startLevelSwitch=function startLevelSwitch(){this.buttonElement().addClass('changing');};LevelSelector.prototype.stopLevelSwitch=function stopLevelSwitch(){this.buttonElement().removeClass('changing');};LevelSelector.prototype.updateText=function updateText(level){if(level===AUTO)this.buttonElement().text(this.currentLevel?'AUTO ('+this.currentLevel.label+')':'AUTO');else this.buttonElement().text(this.findLevelBy(level).label);};LevelSelector.prototype.updateCurrentLevel=function updateCurrentLevel(info){var level=this.findLevelBy(info.level);this.currentLevel=level?level:null;this.highlightCurrentLevel();};LevelSelector.prototype.highlightCurrentLevel=function highlightCurrentLevel(){var _this3=this;this.levelElement().removeClass('current');this.currentLevel&&this.levelElement(this.currentLevel.id).addClass('current');this.updateText(this.selectedLevelId);// hide levels with other languages\nvar currentLanguage=this.currentLevel&&this.currentLevel.language;if(currentLanguage){this.levelElement().removeClass('hidden');this.levels.forEach(function(level){if(level.language!=currentLanguage)_this3.levelElement(level.id).addClass('hidden');});}};(0,_createClass3.default)(LevelSelector,[{key:'name',get:function get(){return'level_selector';}},{key:'template',get:function get(){return(0,_clappr.template)(_levelSelector2.default);}},{key:'attributes',get:function get(){return{'class':this.name,'data-level-selector':''};}},{key:'events',get:function get(){return{'click [data-level-selector-select]':'onLevelSelect','click [data-level-selector-button]':'onShowLevelSelectMenu'};}},{key:'container',get:function get(){return this.core.activeContainer?this.core.activeContainer:this.core.mediaControl.container;}},{key:'playback',get:function get(){return this.core.activePlayback?this.core.activePlayback:this.core.getCurrentPlayback();}}],[{key:'version',get:function get(){return VERSION;}}]);return LevelSelector;}(_clappr.UICorePlugin);exports.default=LevelSelector;module.exports=exports['default'];\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(42)))\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports) {\n\n// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _defineProperty = __webpack_require__(45);\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(46), __esModule: true };\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(47);\nvar $Object = __webpack_require__(1).Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(9);\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !__webpack_require__(3), 'Object', { defineProperty: __webpack_require__(2).f });\n\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _typeof2 = __webpack_require__(31);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(51), __esModule: true };\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(52);\n__webpack_require__(62);\nmodule.exports = __webpack_require__(25).f('iterator');\n\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $at = __webpack_require__(53)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n__webpack_require__(32)(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(16);\nvar defined = __webpack_require__(17);\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n\n/***/ }),\n/* 54 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar create = __webpack_require__(19);\nvar descriptor = __webpack_require__(12);\nvar setToStringTag = __webpack_require__(24);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(5)(IteratorPrototype, __webpack_require__(8)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n/***/ }),\n/* 55 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(2);\nvar anObject = __webpack_require__(10);\nvar getKeys = __webpack_require__(20);\n\nmodule.exports = __webpack_require__(3) ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n/***/ }),\n/* 56 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = __webpack_require__(35);\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n/***/ }),\n/* 57 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = __webpack_require__(7);\nvar toLength = __webpack_require__(58);\nvar toAbsoluteIndex = __webpack_require__(59);\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n/***/ }),\n/* 58 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.15 ToLength\nvar toInteger = __webpack_require__(16);\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n/***/ }),\n/* 59 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(16);\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n/***/ }),\n/* 60 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar document = __webpack_require__(0).document;\nmodule.exports = document && document.documentElement;\n\n\n/***/ }),\n/* 61 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(4);\nvar toObject = __webpack_require__(36);\nvar IE_PROTO = __webpack_require__(21)('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n/***/ }),\n/* 62 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(63);\nvar global = __webpack_require__(0);\nvar hide = __webpack_require__(5);\nvar Iterators = __webpack_require__(18);\nvar TO_STRING_TAG = __webpack_require__(8)('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n\n\n/***/ }),\n/* 63 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar addToUnscopables = __webpack_require__(64);\nvar step = __webpack_require__(65);\nvar Iterators = __webpack_require__(18);\nvar toIObject = __webpack_require__(7);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = __webpack_require__(32)(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n/***/ }),\n/* 64 */\n/***/ (function(module, exports) {\n\nmodule.exports = function () { /* empty */ };\n\n\n/***/ }),\n/* 65 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n\n\n/***/ }),\n/* 66 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(67), __esModule: true };\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(68);\n__webpack_require__(73);\n__webpack_require__(74);\n__webpack_require__(75);\nmodule.exports = __webpack_require__(1).Symbol;\n\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n// ECMAScript 6 symbols shim\nvar global = __webpack_require__(0);\nvar has = __webpack_require__(4);\nvar DESCRIPTORS = __webpack_require__(3);\nvar $export = __webpack_require__(9);\nvar redefine = __webpack_require__(33);\nvar META = __webpack_require__(69).KEY;\nvar $fails = __webpack_require__(11);\nvar shared = __webpack_require__(22);\nvar setToStringTag = __webpack_require__(24);\nvar uid = __webpack_require__(14);\nvar wks = __webpack_require__(8);\nvar wksExt = __webpack_require__(25);\nvar wksDefine = __webpack_require__(26);\nvar enumKeys = __webpack_require__(70);\nvar isArray = __webpack_require__(71);\nvar anObject = __webpack_require__(10);\nvar isObject = __webpack_require__(6);\nvar toObject = __webpack_require__(36);\nvar toIObject = __webpack_require__(7);\nvar toPrimitive = __webpack_require__(15);\nvar createDesc = __webpack_require__(12);\nvar _create = __webpack_require__(19);\nvar gOPNExt = __webpack_require__(72);\nvar $GOPD = __webpack_require__(39);\nvar $GOPS = __webpack_require__(37);\nvar $DP = __webpack_require__(2);\nvar $keys = __webpack_require__(20);\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n __webpack_require__(38).f = gOPNExt.f = $getOwnPropertyNames;\n __webpack_require__(27).f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !__webpack_require__(13)) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(5)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar META = __webpack_require__(14)('meta');\nvar isObject = __webpack_require__(6);\nvar has = __webpack_require__(4);\nvar setDesc = __webpack_require__(2).f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !__webpack_require__(11)(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// all enumerable object keys, includes symbols\nvar getKeys = __webpack_require__(20);\nvar gOPS = __webpack_require__(37);\nvar pIE = __webpack_require__(27);\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(35);\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n/***/ }),\n/* 72 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = __webpack_require__(7);\nvar gOPN = __webpack_require__(38).f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n/***/ }),\n/* 73 */\n/***/ (function(module, exports) {\n\n\n\n/***/ }),\n/* 74 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(26)('asyncIterator');\n\n\n/***/ }),\n/* 75 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(26)('observable');\n\n\n/***/ }),\n/* 76 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = __webpack_require__(77);\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = __webpack_require__(81);\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = __webpack_require__(31);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\n/***/ }),\n/* 77 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(78), __esModule: true };\n\n/***/ }),\n/* 78 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(79);\nmodule.exports = __webpack_require__(1).Object.setPrototypeOf;\n\n\n/***/ }),\n/* 79 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = __webpack_require__(9);\n$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(80).set });\n\n\n/***/ }),\n/* 80 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = __webpack_require__(6);\nvar anObject = __webpack_require__(10);\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = __webpack_require__(28)(Function.call, __webpack_require__(39).f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n/***/ }),\n/* 81 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(82), __esModule: true };\n\n/***/ }),\n/* 82 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(83);\nvar $Object = __webpack_require__(1).Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n\n\n/***/ }),\n/* 83 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(9);\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: __webpack_require__(19) });\n\n\n/***/ }),\n/* 84 */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_84__;\n\n/***/ }),\n/* 85 */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<button data-level-selector-button>\\n Auto\\n</button>\\n<ul>\\n <% if (title) { %>\\n <li data-title><%= title %></li>\\n <% }; %>\\n <li><a href=\\\"#\\\" data-level-selector-select=\\\"-1\\\">AUTO</a></li>\\n <% for (var i = 0; i < levels.length; i++) { %>\\n <li><a href=\\\"#\\\" data-level-selector-select=\\\"<%= levels[i].id %>\\\"><%= levels[i].label %></a></li>\\n <% }; %>\\n</ul>\\n\";\n\n/***/ }),\n/* 86 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(87);\nif(typeof content === 'string') content = [[module.i, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(89)(content, {\"singleton\":true});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js!../../node_modules/postcss-loader/lib/index.js!../../node_modules/sass-loader/lib/loader.js?includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/compass-mixins/lib&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/clappr/src/base/scss&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/src/base/scss!./style.scss\", function() {\n\t\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js!../../node_modules/postcss-loader/lib/index.js!../../node_modules/sass-loader/lib/loader.js?includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/compass-mixins/lib&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/clappr/src/base/scss&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/src/base/scss!./style.scss\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n/***/ }),\n/* 87 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(88)(false);\n// imports\n\n\n// module\nexports.push([module.i, \".level_selector[data-level-selector] {\\n float: right;\\n position: relative;\\n height: 100%; }\\n .level_selector[data-level-selector] button {\\n background-color: transparent;\\n color: #fff;\\n font-family: Roboto,\\\"Open Sans\\\",Arial,sans-serif;\\n -webkit-font-smoothing: antialiased;\\n border: none;\\n font-size: 12px;\\n height: 100%; }\\n .level_selector[data-level-selector] button:hover {\\n color: #c9c9c9; }\\n .level_selector[data-level-selector] button.changing {\\n -webkit-animation: pulse 0.5s infinite alternate; }\\n .level_selector[data-level-selector] > ul {\\n overflow-x: hidden;\\n overflow-y: auto;\\n list-style-type: none;\\n position: absolute;\\n bottom: 100%;\\n display: none;\\n background-color: rgba(28, 28, 28, 0.9);\\n white-space: nowrap; }\\n .level_selector[data-level-selector] li {\\n font-size: 12px;\\n color: #eee; }\\n .level_selector[data-level-selector] li[data-title] {\\n background-color: #333;\\n padding: 8px 25px; }\\n .level_selector[data-level-selector] li a {\\n color: #eee;\\n padding: 5px 18px;\\n display: block;\\n text-decoration: none; }\\n .level_selector[data-level-selector] li a:hover {\\n background-color: rgba(255, 255, 255, 0.1);\\n color: #fff; }\\n .level_selector[data-level-selector] li a:hover a {\\n color: #fff;\\n text-decoration: none; }\\n .level_selector[data-level-selector] li.current a {\\n color: #2ecc71; }\\n .level_selector[data-level-selector] li.hidden {\\n display: none; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 88 */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n/***/ }),\n/* 89 */\n/***/ (function(module, exports) {\n\n/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\nvar stylesInDom = {},\r\n\tmemoize = function(fn) {\r\n\t\tvar memo;\r\n\t\treturn function () {\r\n\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\treturn memo;\r\n\t\t};\r\n\t},\r\n\tisOldIE = memoize(function() {\r\n\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t}),\r\n\tgetHeadElement = memoize(function () {\r\n\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t}),\r\n\tsingletonElement = null,\r\n\tsingletonCounter = 0;\r\n\r\nmodule.exports = function(list, options) {\r\n\tif(typeof DEBUG !== \"undefined\" && DEBUG) {\r\n\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t}\r\n\r\n\toptions = options || {};\r\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t// tags it will allow on a page\r\n\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\r\n\tvar styles = listToStyles(list);\r\n\taddStylesToDom(styles, options);\r\n\r\n\treturn function update(newList) {\r\n\t\tvar mayRemove = [];\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tdomStyle.refs--;\r\n\t\t\tmayRemove.push(domStyle);\r\n\t\t}\r\n\t\tif(newList) {\r\n\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\taddStylesToDom(newStyles, options);\r\n\t\t}\r\n\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction addStylesToDom(styles, options) {\r\n\tfor(var i = 0; i < styles.length; i++) {\r\n\t\tvar item = styles[i];\r\n\t\tvar domStyle = stylesInDom[item.id];\r\n\t\tif(domStyle) {\r\n\t\t\tdomStyle.refs++;\r\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t}\r\n\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvar parts = [];\r\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction listToStyles(list) {\r\n\tvar styles = [];\r\n\tvar newStyles = {};\r\n\tfor(var i = 0; i < list.length; i++) {\r\n\t\tvar item = list[i];\r\n\t\tvar id = item[0];\r\n\t\tvar css = item[1];\r\n\t\tvar media = item[2];\r\n\t\tvar sourceMap = item[3];\r\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\tif(!newStyles[id])\r\n\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\telse\r\n\t\t\tnewStyles[id].parts.push(part);\r\n\t}\r\n\treturn styles;\r\n}\r\n\r\nfunction createStyleElement() {\r\n\tvar styleElement = document.createElement(\"style\");\r\n\tvar head = getHeadElement();\r\n\tstyleElement.type = \"text/css\";\r\n\thead.appendChild(styleElement);\r\n\treturn styleElement;\r\n}\r\n\r\nfunction createLinkElement() {\r\n\tvar linkElement = document.createElement(\"link\");\r\n\tvar head = getHeadElement();\r\n\tlinkElement.rel = \"stylesheet\";\r\n\thead.appendChild(linkElement);\r\n\treturn linkElement;\r\n}\r\n\r\nfunction addStyle(obj, options) {\r\n\tvar styleElement, update, remove;\r\n\r\n\tif (options.singleton) {\r\n\t\tvar styleIndex = singletonCounter++;\r\n\t\tstyleElement = singletonElement || (singletonElement = createStyleElement());\r\n\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n\t} else if(obj.sourceMap &&\r\n\t\ttypeof URL === \"function\" &&\r\n\t\ttypeof URL.createObjectURL === \"function\" &&\r\n\t\ttypeof URL.revokeObjectURL === \"function\" &&\r\n\t\ttypeof Blob === \"function\" &&\r\n\t\ttypeof btoa === \"function\") {\r\n\t\tstyleElement = createLinkElement();\r\n\t\tupdate = updateLink.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tstyleElement.parentNode.removeChild(styleElement);\r\n\t\t\tif(styleElement.href)\r\n\t\t\t\tURL.revokeObjectURL(styleElement.href);\r\n\t\t};\r\n\t} else {\r\n\t\tstyleElement = createStyleElement();\r\n\t\tupdate = applyToTag.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tstyleElement.parentNode.removeChild(styleElement);\r\n\t\t};\r\n\t}\r\n\r\n\tupdate(obj);\r\n\r\n\treturn function updateStyle(newObj) {\r\n\t\tif(newObj) {\r\n\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n\t\t\t\treturn;\r\n\t\t\tupdate(obj = newObj);\r\n\t\t} else {\r\n\t\t\tremove();\r\n\t\t}\r\n\t};\r\n}\r\n\r\nvar replaceText = (function () {\r\n\tvar textStore = [];\r\n\r\n\treturn function (index, replacement) {\r\n\t\ttextStore[index] = replacement;\r\n\t\treturn textStore.filter(Boolean).join('\\n');\r\n\t};\r\n})();\r\n\r\nfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n\tvar css = remove ? \"\" : obj.css;\r\n\r\n\tif (styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\r\n\t} else {\r\n\t\tvar cssNode = document.createTextNode(css);\r\n\t\tvar childNodes = styleElement.childNodes;\r\n\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n\t\tif (childNodes.length) {\r\n\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\r\n\t\t} else {\r\n\t\t\tstyleElement.appendChild(cssNode);\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction applyToTag(styleElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar media = obj.media;\r\n\tvar sourceMap = obj.sourceMap;\r\n\r\n\tif(media) {\r\n\t\tstyleElement.setAttribute(\"media\", media)\r\n\t}\r\n\r\n\tif(styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = css;\r\n\t} else {\r\n\t\twhile(styleElement.firstChild) {\r\n\t\t\tstyleElement.removeChild(styleElement.firstChild);\r\n\t\t}\r\n\t\tstyleElement.appendChild(document.createTextNode(css));\r\n\t}\r\n}\r\n\r\nfunction updateLink(linkElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar media = obj.media;\r\n\tvar sourceMap = obj.sourceMap;\r\n\r\n\tif(sourceMap) {\r\n\t\t// http://stackoverflow.com/a/26603875\r\n\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\r\n\t}\r\n\r\n\tvar blob = new Blob([css], { type: \"text/css\" });\r\n\r\n\tvar oldSrc = linkElement.href;\r\n\r\n\tlinkElement.href = URL.createObjectURL(blob);\r\n\r\n\tif(oldSrc)\r\n\t\tURL.revokeObjectURL(oldSrc);\r\n}\r\n\n\n/***/ })\n/******/ ]);\n});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"clappr\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"clappr\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"AudioTrackSelector\"] = factory(require(\"clappr\"));\n\telse\n\t\troot[\"AudioTrackSelector\"] = factory(root[\"Clappr\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE_clappr__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/main.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/css-loader/dist/runtime/api.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/css-loader/dist/runtime/api.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"/*\\n MIT License http://www.opensource.org/licenses/mit-license.php\\n Author Tobias Koppers @sokra\\n*/ // css base code, injected by the css-loader\\n// eslint-disable-next-line func-names\\nmodule.exports=function(useSourceMap){var list=[];// return the list of modules as css string\\nlist.toString=function toString(){return this.map(function(item){var content=cssWithMappingToString(item,useSourceMap);if(item[2]){return\\\"@media \\\".concat(item[2],\\\" {\\\").concat(content,\\\"}\\\");}return content;}).join('');};// import a list of modules into the list\\n// eslint-disable-next-line func-names\\nlist.i=function(modules,mediaQuery,dedupe){if(typeof modules==='string'){// eslint-disable-next-line no-param-reassign\\nmodules=[[null,modules,'']];}var alreadyImportedModules={};if(dedupe){for(var i=0;i<this.length;i++){// eslint-disable-next-line prefer-destructuring\\nvar id=this[i][0];if(id!=null){alreadyImportedModules[id]=true;}}}for(var _i=0;_i<modules.length;_i++){var item=[].concat(modules[_i]);if(dedupe&&alreadyImportedModules[item[0]]){// eslint-disable-next-line no-continue\\ncontinue;}if(mediaQuery){if(!item[2]){item[2]=mediaQuery;}else{item[2]=\\\"\\\".concat(mediaQuery,\\\" and \\\").concat(item[2]);}}list.push(item);}};return list;};function cssWithMappingToString(item,useSourceMap){var content=item[1]||'';// eslint-disable-next-line prefer-destructuring\\nvar cssMapping=item[3];if(!cssMapping){return content;}if(useSourceMap&&typeof btoa==='function'){var sourceMapping=toComment(cssMapping);var sourceURLs=cssMapping.sources.map(function(source){return\\\"/*# sourceURL=\\\".concat(cssMapping.sourceRoot||'').concat(source,\\\" */\\\");});return[content].concat(sourceURLs).concat([sourceMapping]).join('\\\\n');}return[content].join('\\\\n');}// Adapted from convert-source-map (MIT)\\nfunction toComment(sourceMap){// eslint-disable-next-line no-undef\\nvar base64=btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));var data=\\\"sourceMappingURL=data:application/json;charset=utf-8;base64,\\\".concat(base64);return\\\"/*# \\\".concat(data,\\\" */\\\");}\\n\\n//# sourceURL=webpack://AudioTrackSelector/./node_modules/css-loader/dist/runtime/api.js?\");\n\n/***/ }),\n\n/***/ \"./src/main.js\":\n/*!*********************!*\\\n !*** ./src/main.js ***!\n \\*********************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\"default\\\", function() { return AudioTrackSelector; });\\n/* harmony import */ var clappr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! clappr */ \\\"clappr\\\");\\n/* harmony import */ var clappr__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(clappr__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./public/audio-track-selector.html */ \\\"./src/public/audio-track-selector.html\\\");\\n/* harmony import */ var _public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1__);\\n/* harmony import */ var _public_style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./public/style.scss */ \\\"./src/public/style.scss\\\");\\n/* harmony import */ var _public_style_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_public_style_scss__WEBPACK_IMPORTED_MODULE_2__);\\nclass AudioTrackSelector extends clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"UICorePlugin\\\"]{static get version(){return VERSION;}get name(){return'audio_track_selector';}get template(){return Object(clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"template\\\"])(_public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1___default.a);}get attributes(){return{'class':this.name,'data-audio-track-selector':''};}get events(){return{'click [data-audio-track-selector-lang]':'handleLanguageSelect','click [data-audio-track-selector-button]':'handleAudioTrackSelectorClick'};}get container(){return this.core.activeContainer?this.core.activeContainer:this.core.mediaControl.container;}get playback(){return this.core.activePlayback?this.core.activePlayback:this.core.getCurrentPlayback();}bindEvents(){if(clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].CORE_ACTIVE_CONTAINER_CHANGED)this.listenTo(this.core,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].CORE_ACTIVE_CONTAINER_CHANGED,this.reload);else this.listenTo(this.core.mediaControl,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].MEDIACONTROL_CONTAINERCHANGED,this.reload);this.listenTo(this.core,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].CORE_READY,this.bindPlaybackEvents);this.listenTo(this.core.mediaControl,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].MEDIACONTROL_RENDERED,this.render);this.listenTo(this.core.mediaControl,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].MEDIACONTROL_HIDE,this._hideContextMenu);}bindPlaybackEvents(){this.listenTo(this.playback,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].PLAYBACK_LEVELS_AVAILABLE,this._handleLevels);this.listenTo(this.playback,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].PLAYBACK_BITRATE,this._handleAdaptation);this.listenTo(this.playback,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].PLAYBACK_PLAY,this._handlePlay);}reload(){this.stopListening();this.bindEvents();this.bindPlaybackEvents();}shouldRender(){if(!this.container)return false;if(!this.playback)return false;// Only care if we have at least 2 languages to choose from\\nvar hasChoice=!!(this.languages&&this.languages.size>1);return hasChoice;}render(){if(this.shouldRender()){var style=clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Styler\\\"].getStyleFor(_public_style_scss__WEBPACK_IMPORTED_MODULE_2___default.a,{baseUrl:this.core.options.baseUrl});this.$el.html(this.template({'title':this._getTitle(),'languages':this.languages}));this.$el.append(style);this.core.mediaControl.$('.media-control-right-panel').append(this.el);this._highlightCurrentElement();}return this;}_setLanguage(language){console.log(\\\"setLanguage\\\",language);// custom voc dash-shaka-playback\\nif(this.playback.selectAudioLanguage){this.nextLanguage=language;this._startTrackSwitch();this.playback.selectAudioLanguage(language);// hlsjs playback\\n}else if(this.playback._hls){// hlsjs may have multiple audiotracks with the same language\\n// this will just switch to the first one\\nconst track=this.playback._hls.audioTracks.find(track=>track.lang==language);if(!track)return;this.playback._hls.audioTrack=track.id;this.activeLanguage=language;this._highlightCurrentElement();}}_fillLanguages(){// custom voc dash-shaka-playback\\nif(this.playback.audioLanguages){this.languages=new Set(this.playback.audioLanguages);// hlsjs playback\\n}else if(this.playback._hls){const audioTracks=this.playback._hls.audioTracks;const trackId=this.playback._hls.audioTrack;const current=audioTracks.find(track=>track.id==trackId);this.languages=new Set(audioTracks.map(track=>track.lang));if(current){this.activeLanguage=current.lang;}}this.render();}handleLanguageSelect(event){event.preventDefault();event.stopPropagation();const selected=event.target.dataset.audioTrackSelectorLang;if(this.activeLanguage==selected)return false;this._setLanguage(selected);this._toggleContextMenu();return false;}// Handles adaptation event, currently only from shaka-playback\\n_handleAdaptation(variant){if(variant.language){this.activeLanguage=variant.language;this._highlightCurrentElement();if(variant.language==this.nextLanguage){this._stopTrackSwitch();}}}// shaka-playback knows languages on level event\\n_handleLevels(){this._fillLanguages();}// hlsjs-playback only knows languages on play\\n_handlePlay(){if(this.playback._hls){this._fillLanguages();}}handleAudioTrackSelectorClick(event){this._toggleContextMenu();}_toggleContextMenu(){this.$('.audio_track_selector ul').toggle();}_hideContextMenu(){this.$('.audio_track_selector ul').hide();}_getLanguageElement(language=null){if(language)return this.$('.audio_track_selector a[data-audio-track-selector-lang=\\\"'+language+'\\\"]').parent();else return this.$('.audio_track_selector a').parent();}_getButtonElement(){return this.$('.audio_track_selector button');}_getTitle(){return(this.core.options.audioTrackSelectorConfig||{}).title;}_startTrackSwitch(){this._getButtonElement().addClass('changing');}_stopTrackSwitch(){this._getButtonElement().removeClass('changing');}_highlightCurrentElement(){if(!this.activeLanguage)return;this._getLanguageElement().removeClass('current');this._getLanguageElement(this.activeLanguage).addClass('current');this._getButtonElement().text(this.activeLanguage);}}\\n\\n//# sourceURL=webpack://AudioTrackSelector/./src/main.js?\");\n\n/***/ }),\n\n/***/ \"./src/public/audio-track-selector.html\":\n/*!**********************************************!*\\\n !*** ./src/public/audio-track-selector.html ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\neval(\"// Module\\nvar code = \\\"<button data-audio-track-selector-button>\\\\n Language\\\\n</button>\\\\n<ul>\\\\n <% if (title) { %>\\\\n <li data-title><%= title %></li>\\\\n <% }; %>\\\\n <% languages.forEach((language) => { %>\\\\n <li><a href=\\\\\\\"#\\\\\\\" data-audio-track-selector-lang=\\\\\\\"<%= language %>\\\\\\\"><%= language %></a></li>\\\\n <% }); %>\\\\n</ul>\\\\n\\\";\\n// Exports\\nmodule.exports = code;\\n\\n//# sourceURL=webpack://AudioTrackSelector/./src/public/audio-track-selector.html?\");\n\n/***/ }),\n\n/***/ \"./src/public/style.scss\":\n/*!*******************************!*\\\n !*** ./src/public/style.scss ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\neval(\"// Imports\\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \\\"./node_modules/css-loader/dist/runtime/api.js\\\");\\nexports = ___CSS_LOADER_API_IMPORT___(false);\\n// Module\\nexports.push([module.i, \\\".audio_track_selector[data-audio-track-selector] {\\\\n float: right;\\\\n height: 100%;\\\\n position: relative; }\\\\n .audio_track_selector[data-audio-track-selector] button {\\\\n background-color: transparent;\\\\n color: #fff;\\\\n font-family: Roboto,\\\\\\\"Open Sans\\\\\\\",Arial,sans-serif;\\\\n -webkit-font-smoothing: antialiased;\\\\n border: none;\\\\n font-size: 12px;\\\\n height: 100%; }\\\\n .audio_track_selector[data-audio-track-selector] button:hover {\\\\n color: #c9c9c9; }\\\\n .audio_track_selector[data-audio-track-selector] button.changing {\\\\n -webkit-animation: pulse 0.5s infinite alternate; }\\\\n .audio_track_selector[data-audio-track-selector] > ul {\\\\n overflow-x: hidden;\\\\n overflow-y: auto;\\\\n list-style-type: none;\\\\n position: absolute;\\\\n bottom: 100%;\\\\n display: none;\\\\n background-color: rgba(28, 28, 28, 0.9);\\\\n white-space: nowrap; }\\\\n .audio_track_selector[data-audio-track-selector] li {\\\\n font-size: 12px;\\\\n color: #eee; }\\\\n .audio_track_selector[data-audio-track-selector] li[data-title] {\\\\n background-color: #333;\\\\n padding: 8px 25px; }\\\\n .audio_track_selector[data-audio-track-selector] li a {\\\\n color: #eee;\\\\n padding: 5px 18px;\\\\n display: block;\\\\n text-decoration: none; }\\\\n .audio_track_selector[data-audio-track-selector] li a:hover {\\\\n background-color: rgba(255, 255, 255, 0.1);\\\\n color: #fff; }\\\\n .audio_track_selector[data-audio-track-selector] li a:hover a {\\\\n color: #fff;\\\\n text-decoration: none; }\\\\n .audio_track_selector[data-audio-track-selector] li.current a {\\\\n color: #2ecc71; }\\\\n\\\\n@-webkit-keyframes pulse {\\\\n 0% {\\\\n color: #fff; }\\\\n 50% {\\\\n color: #ff0101; }\\\\n 100% {\\\\n color: #B80000; } }\\\\n\\\", \\\"\\\"]);\\n// Exports\\nmodule.exports = exports;\\n\\n\\n//# sourceURL=webpack://AudioTrackSelector/./src/public/style.scss?\");\n\n/***/ }),\n\n/***/ \"clappr\":\n/*!******************************************************************************************!*\\\n !*** external {\"amd\":\"clappr\",\"commonjs\":\"clappr\",\"commonjs2\":\"clappr\",\"root\":\"Clappr\"} ***!\n \\******************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\neval(\"module.exports = __WEBPACK_EXTERNAL_MODULE_clappr__;\\n\\n//# sourceURL=webpack://AudioTrackSelector/external_%7B%22amd%22:%22clappr%22,%22commonjs%22:%22clappr%22,%22commonjs2%22:%22clappr%22,%22root%22:%22Clappr%22%7D?\");\n\n/***/ })\n\n/******/ })[\"default\"];\n});","var api = require(\"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./style.scss\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\nvar exported = content.locals ? content.locals : {};\n\n\n\nmodule.exports = exported;","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && btoa) {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n // tags it will allow on a page\n\n if (!options.singleton && typeof options.singleton !== 'boolean') {\n options.singleton = isOldIE();\n }\n\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n if (Object.prototype.toString.call(newList) !== '[object Array]') {\n return;\n }\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDom[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDom[_index].references === 0) {\n stylesInDom[_index].updater();\n\n stylesInDom.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"button.media-control-button[data-hd-indicator]{display:none !important}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","import Clappr from \"clappr\";\n\nexport default class ErrorPlugin extends Clappr.ContainerPlugin {\n get name() { return 'error_plugin' }\n get background() {\n return 'data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%22%20height%3D%22100%22%20viewBox%3D%220%200%2026.458318%2026.458333%22%3E%3Cpath%20d%3D%22M13.23.302C6.07.302.264%206.107.264%2013.267a12.965%2012.965%200%200%200%20.847%204.595c.19-.497.408-.982.682-1.438.14-.232.294-.457.396-.707.103-.25.15-.533.072-.792a1.362%201.362%200%200%200-.22-.404c-.092-.123-.192-.24-.275-.37a1.662%201.662%200%200%201-.255-1.12%201.5%201.5%200%200%201%20.58-.987c.28-.208.635-.3.985-.288a1.757%201.757%200%200%201%20.346.048c.452.11.852.393%201.148.75.368.447.584%201.01.637%201.586a3.574%203.574%200%200%201-.275%201.693c-.4.955-1.15%201.725-1.565%202.673-.338.775-.435%201.638-.39%202.483.007.077.018.155.025.234a12.965%2012.965%200%200%200%203.62%203.18%2017.63%2017.63%200%200%201-.13-2.11c.002-.56.03-1.12.085-1.675-.34-.236-.65-.51-.87-.86-.392-.62-.466-1.408-.305-2.124.16-.717.54-1.37.997-1.945a7.833%207.833%200%200%201%202.835-2.223%2010.305%2010.305%200%200%201-.09-.126%204.854%204.854%200%200%201-.702-2.176c-.06-.777.064-1.554.115-2.33.037-.543.04-1.085.07-1.627.038-.627.114-1.255.29-1.858a2.36%202.36%200%200%201%20.266-.63%201.4%201.4%200%200%201%20.594-.514c.274-.108.51-.132.776-.087.22.046.425.156.604.294.18.138.335.304.48.477a7.298%207.298%200%200%201%201.04%201.617%203.57%203.57%200%200%201%201.09%200%207.287%207.287%200%200%201%201.04-1.616%203.21%203.21%200%200%201%20.48-.476c.18-.14.383-.248.604-.295a1.268%201.268%200%200%201%20.78.086%201.402%201.402%200%200%201%20.595.517c.124.19.202.408.266.626.175.602.252%201.23.29%201.856.03.543.033%201.087.07%201.628.05.777.175%201.554.116%202.33a4.855%204.855%200%200%201-.705%202.178c-.03.05-.07.096-.103.145.247.278.598.513.898.614a1.956%201.956%200%200%200%201.05.044%201.65%201.65%200%200%200%20.533-.226%201.253%201.253%200%200%200%20.397-.418c.118-.21.166-.45.192-.687.067-.61%200-1.224-.05-1.835-.034-.396-.062-.8.027-1.187.06-.26.177-.518.373-.7a1.106%201.106%200%200%201%20.465-.255%201.312%201.312%200%200%201%20.53-.03c.38.057.736.274.948.594.12.18.194.39.238.604.044.213.06.43.072.648.04.76.04%201.522.018%202.284-.018.665-.055%201.348-.32%201.957-.343.782-1.032%201.366-1.775%201.786a7.052%207.052%200%200%201-1.588.647c.482%201.54.733%203.24.733%204.968a17.6%2017.6%200%200%201-.135%202.125%2012.964%2012.964%200%200%200%206.384-11.152c0-7.16-5.806-12.965-12.965-12.965zM9.602%2016.284v1.483a1.88%201.88%200%200%201%201.083.362%201.738%201.738%200%200%201%20.556.68c.122.27.166.576.116.868a1.493%201.493%200%200%201-.332.708%201.647%201.647%200%200%201-.635.458%201.738%201.738%200%200%201-.787.122v3.73l7.762-4.208-7.762-4.204z%22%20fill%3D%22%23999%22%2F%3E%3C%2Fsvg%3E';\n }\n\n constructor(...options) {\n super(...options);\n this.timeout = 1;\n this.max_timeout = 10;\n }\n\n bindEvents() {\n this.listenTo(this.container, Clappr.Events.CONTAINER_ERROR, this.onError)\n }\n\n hide() {\n this._err && this._err.remove()\n }\n\n show() {\n const $ = Clappr.$\n this.hide();\n\n let txt = 'A fatal error occured.';\n if (this.options.errorPlugin && this.options.errorPlugin.text)\n txt = this.options.errorPlugin.text;\n\n this._err = $('<div>')\n .css({\n 'position': 'absolute',\n 'z-index': '999',\n 'width': '100%',\n 'height': '100%',\n 'background-image': 'url(' + this.background + ')',\n 'background-size': '18%',\n 'background-repeat': 'no-repeat',\n 'background-color': 'black',\n 'background-position': 'center',\n 'text-align': 'center',\n 'font-weight': 'bold',\n 'color': '#eee'\n })\n const wrap = $('<div>').css({\n 'position': 'absolute',\n 'width': '100%',\n 'padding-bottom': '5%',\n 'bottom': 0\n })\n .append($('<h2>')\n .text(txt)\n .css({\n 'font-size': '200%',\n }))\n .append($('<p>').text('We will be right back')\n .css({\n 'font-size': '120%',\n 'margin': '15px',\n }));\n this._err.append(wrap);\n this.container && this.container.$el.prepend(this._err);\n }\n\n onError(err) {\n if (!this.container) return;\n\n const hideOverlay = () => {\n this.hide();\n this.container.getPlugin('click_to_pause').enable();\n };\n\n // Only show overlay if callback returns true\n const callback = this.options.errorPlugin.onError;\n if (callback && typeof(callback) === \"function\") {\n if (!callback(err, hideOverlay)) {\n console.log(\"skipping overlay\");\n return;\n }\n }\n\n this.show();\n this.container.getPlugin('click_to_pause').disable();\n }\n};","import \"public/style.scss\";\nimport {Player, Events, BaseObject} from \"clappr\";\nimport DashShakaPlayback from \"@c3voc/dash-shaka-playback\";\nimport LevelSelector from \"@c3voc/clappr-level-selector\";\nimport AudioTrackSelector from \"@c3voc/clappr-audio-track-selector\";\n\nimport ErrorPlugin from \"lib/error\";\nimport {checkMedia} from \"lib/util\";\n\nconst selectSource = (stream, audioOnly) => {\n const hasMSE = \"MediaSource\" in window;\n\n console.log(\n \"vp9/vorbis\", hasMSE && MediaSource.isTypeSupported('video/webm; codecs=\"vp9,vorbis\"'),\n \"vp9/opus\", hasMSE && MediaSource.isTypeSupported('video/webm; codecs=\"vp9,opus\"')\n );\n\n // VP9 dash player (preferred in any case)\n if (hasMSE && MediaSource.isTypeSupported('video/webm; codecs=\"vp9,opus\"')) {\n return {\n source: `//cdn.c3voc.de/dash/${stream}/manifest.mpd`\n }\n }\n\n // HLS playlist (doesn't work for audio only)\n if (!audioOnly &&\n (hasMSE || document.createElement('video').canPlayType('application/vnd.apple.mpegURL') != \"\")) {\n return {\n source: `//cdn.c3voc.de/hls/${stream}_native_hd.m3u8`,\n mimeType: \"application/vnd.apple.mpegURL\"\n };\n }\n\n // MP3 Audio fallback\n if (audioOnly) {\n return {\n source: `//cdn.c3voc.de/${stream}_native.mp3`,\n mimeType: \"audio/mp3\"\n }\n\n // WebM fallback\n } else {\n return {\n source: `//cdn.c3voc.de/${stream}_native_hd.webm`,\n mimeType: \"video/webm\"\n };\n }\n}\n\nconst DEFAULT_TIMEOUT = 5;\nconst MAX_TIMEOUT = 15;\n\n/**\n * Shaka-Player wrapper\n */\nexport default class VOCPlayer extends BaseObject {\n constructor(options) {\n super();\n this.timeout = DEFAULT_TIMEOUT;\n this.maxTimeout = MAX_TIMEOUT;\n const config = this._options = this._buildConfig(options);\n const player = this._player = new Player(config);\n\n this.attachTo = player.attachTo.bind(player);\n\n if (player.core && player.core.isReady) {\n this._addEventListeners();\n } else {\n this.listenToOnce(player, Events.PLAYER_READY, this._addEventListeners.bind(this));\n }\n }\n\n /**\n * Create config for the shaka-player\n * @param {*} options User defined custom options\n */\n _buildConfig(options) {\n\n // Allow custom plugins\n let plugins = [AudioTrackSelector, LevelSelector, DashShakaPlayback, ErrorPlugin];\n if (options.plugins && options.plugins.length) {\n plugins = plugins.concat(options.plugins);\n console.log(\"loading plugins\")\n plugins.forEach((plugin) => console.log(plugin.name, plugin.type))\n }\n\n let source;\n if (options.vocStream) {\n source = selectSource(options.vocStream, options.audioOnly);\n delete options.vocStream;\n }\n\n return Object.assign({\n source: source,\n width: \"100%\",\n height: \"100%\",\n disableErrorScreen: true,\n shakaConfiguration: {\n abr: {\n defaultBandwidthEstimate: 1000000,\n },\n streaming: {\n jumpLargeGaps: true,\n },\n manifest: {\n // TODO: investigate why this is necessary to enable fast start of playback\n // The presentationdelay in our manifest is set to the same value\n // which suggests that shaka parses the value incorrectly\n dash: {\n defaultPresentationDelay: 3,\n ignoreSuggestedPresentationDelay: true,\n }\n }\n },\n audioTrackSelectorConfig: {\n title: \"Language\",\n },\n levelSelectorConfig: {\n labelCallback: function(playbackLevel, customLabel) {\n // playbackLevel.videoBandwidth is set for DASH\n // playbackLevel.level.bitrate is set for HLS\n var bw = playbackLevel.videoBandwidth || playbackLevel.level.bitrate;\n\n if (bw <= 100000) {\n return \"Slides\";\n }\n else if(bw <= 800000) {\n return \"SD\";\n }\n else {\n return \"HD\";\n }\n },\n title: \"Quality\"\n },\n errorPlugin: {\n text: \"Stream offline\",\n onError: this._handleError.bind(this)\n },\n }, options, {\n plugins: plugins\n });\n }\n\n\n /**\n * Redo event handlers when the player container changes\n */\n _containerChanged() {\n this.stopListening()\n this._addEventListeners()\n }\n\n /**\n * Setup event handlers depending on the player\n */\n _addEventListeners() {\n const core = this._player.core;\n this._container = core.activeContainer\n\n this.listenTo(this._player, Events.PLAYER_PLAY, this._handlePlay);\n this.listenTo(this._player, Events.PLAYER_STOP, this._handleStop);\n this.listenTo(core, Events.CORE_ACTIVE_CONTAINER_CHANGED, this._containerChanged);\n this.listenTo(this._container, Events.CONTAINER_STATE_BUFFERFULL, this._handleBufferFull)\n this.listenTo(this._container, Events.CONTAINER_OPTIONS_CHANGE, () => {console.log(\"options changed\")})\n }\n\n // Partially random delay\n _getTimeout() {\n const timeout = 0.6 * this.timeout + 0.4 * this.timeout * Math.random();\n // Increase timeout for next fail\n this.timeout = Math.min(this.timeout*2, this.maxTimeout);\n return timeout;\n }\n\n // Resets timeout to default\n _resetTimeout() {\n this.timeout = DEFAULT_TIMEOUT;\n }\n\n /**\n * Player error handler\n * @param {*} err Player error\n * @param {*} clearOverlay Function to remove error overlay after recovery\n */\n _handleError(error, clearOverlay) {\n if (this._recovery) {\n clearTimeout(this._recovery.timeout);\n } else {\n this._player.stop();\n }\n\n const timeout = this._getTimeout();\n console.log(\"got error\", error.code, `retrying in ${Math.round(timeout)}s`);\n this._recovery = {\n clearOverlay,\n state: \"restarting\",\n timeout: setTimeout(this._waitForMedia.bind(this), timeout * 1000),\n }\n return true;\n }\n\n /**\n * Handles play events, if we are playing the stream must be working\n */\n _handlePlay() {\n if (this._recovery) {\n console.log(\"soft recovery: play\")\n this._recovery.clearOverlay();\n clearTimeout(this._recovery.timeout);\n this._recovery = null;\n }\n\n this._resetTimeout();\n }\n\n /**\n * Handles stop events, if recovering we want to play again after stop\n */\n _handleStop(time) {\n if (this._recovery && this._container) {\n console.log(\"soft recovery: stop\")\n this._container.playback.play.call(this._container.playback);\n }\n }\n\n /**\n * Skips to the live-edge after recovery\n */\n _handleBufferFull() {\n // TODO: avoid for non-live content\n if (this._recovery) {\n console.log(\"seeking to end for recovery\");\n const seekTo = Math.max(this._player.getDuration() - 6, 0);\n this._player.seek(seekTo);\n }\n }\n\n /**\n * Handles media check result, starts playback if check was successful\n * @param {boolean} success\n */\n _handleMediaCheck(success) {\n if (success) {\n console.log(\"try playing again, media should be available\");\n this._player.play();\n } else {\n const timeout = this._getTimeout();\n console.log(`test for media failed, retrying in ~${Math.round(timeout)}s`);\n setTimeout(this._waitForMedia.bind(this), timeout * 1000);\n }\n }\n\n /**\n * Try to check\n */\n _waitForMedia() {\n let source = this._player.options.source;\n if (source && source.source) {\n source = source.source;\n }\n if (typeof(source) == \"string\") {\n checkMedia(source, this._handleMediaCheck.bind(this))\n } else {\n this.reset();\n }\n }\n\n /**\n * Tries to bring the player to a functioning state\n * This is the last resort if soft recovery doesn't work\n */\n reset() {\n console.log(\"performing hard reset\")\n this._recovery = null;\n\n const isMuted = this._player.getVolume() == 0;\n if (!isMuted)\n this._player.mute();\n\n this._player.configure({\n source: this._player.options.source,\n autoPlay: true,\n });\n\n if (!isMuted)\n this._player.unmute();\n }\n}","\n/**\n * Checks status of http media file\n * @param {*} url\n * @param {*} callback \n */\nexport const checkMedia = (url, callback) => {\n if (!callback || typeof(callback) !== \"function\") {\n throw new Error(`Excepted function, got '${callback}'`)\n }\n const xhr = new XMLHttpRequest();\n xhr.onreadystatechange = function() {\n if (this.readyState === XMLHttpRequest.HEADERS_RECEIVED) {\n if (this.status === 200) {\n callback(true);\n } else {\n callback(false);\n }\n xhr.abort();\n }\n }\n xhr.open(\"GET\", url, true);\n xhr.send(null);\n};"],"sourceRoot":""} \ No newline at end of file
+{"version":3,"sources":["webpack://VOCPlayer/webpack/universalModuleDefinition","webpack://VOCPlayer/webpack/bootstrap","webpack://VOCPlayer/./node_modules/clappr/dist/clappr.js","webpack://VOCPlayer/./node_modules/@c3voc/dash-shaka-playback/dist/dash-shaka-playback.js","webpack://VOCPlayer/./node_modules/@c3voc/clappr-level-selector/dist/level-selector.js","webpack://VOCPlayer/./node_modules/@c3voc/clappr-audio-track-selector/dist/audio-track-selector.js","webpack://VOCPlayer/./src/public/style.scss?b6a1","webpack://VOCPlayer/./node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://VOCPlayer/./src/public/style.scss","webpack://VOCPlayer/./node_modules/css-loader/dist/runtime/api.js","webpack://VOCPlayer/./src/lib/error.js","webpack://VOCPlayer/./src/lib/util.js","webpack://VOCPlayer/./src/lib/player.js","webpack://VOCPlayer/./src/lib/sources.js","webpack://VOCPlayer/./src/public/watermark.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","default","instance","Constructor","TypeError","obj","_defineProperty","_defineProperty2","defineProperties","target","props","length","descriptor","configurable","writable","protoProps","staticProps","_assign","_assign2","arguments","source","_setPrototypeOf2","_interopRequireDefault","_create2","_typeof3","subClass","superClass","constructor","__proto__","_typeof2","self","ReferenceError","_from","_from2","arr","Array","isArray","arr2","_iterator2","_symbol2","_typeof","$","Zepto","classList","camelize","uniq","emptyArray","concat","filter","slice","document","elementDisplay","classCache","cssNumber","fragmentRE","singleTagRE","tagExpanderRE","rootNodeRE","capitalRE","methodAttributes","table","createElement","tableRow","containers","readyRE","simpleSelectorRE","class2type","toString","zepto","tempParent","propMap","type","String","isFunction","isWindow","isDocument","nodeType","DOCUMENT_NODE","isObject","isPlainObject","getPrototypeOf","likeArray","dasherize","str","replace","toLowerCase","classRE","RegExp","maybeAddPx","children","element","map","childNodes","node","Z","dom","selector","len","this","extend","deep","undefined","filtered","nodes","funcArg","context","arg","idx","payload","setAttribute","removeAttribute","className","klass","svg","baseVal","deserializeValue","test","parseJSON","e","traverseNode","fun","matches","matchesSelector","webkitMatchesSelector","mozMatchesSelector","oMatchesSelector","match","parent","parentNode","temp","appendChild","qsa","indexOf","removeChild","chr","toUpperCase","array","item","fragment","html","properties","container","$1","innerHTML","each","attr","isZ","init","trim","find","ready","args","shift","forEach","found","maybeID","maybeClass","nameOnly","isSimple","getElementById","getElementsByClassName","getElementsByTagName","querySelectorAll","contains","documentElement","isEmptyObject","isNumeric","val","num","Number","isNaN","isFinite","inArray","elem","camelCase","uuid","support","expr","noop","elements","callback","values","push","fn","apply","grep","JSON","parse","split","reduce","sort","splice","toArray","el","readyState","body","addEventListener","size","remove","every","not","add","is","excludes","has","eq","first","last","$this","some","closest","collection","_","parents","ancestors","pluck","contents","contentDocument","siblings","child","empty","show","nodeName","display","style","getComputedStyle","getPropertyValue","replaceWith","newContent","before","wrap","structure","func","clone","index","wrapAll","cloneNode","append","wrapInner","unwrap","hide","css","toggle","setting","prev","next","originHtml","text","newText","textContent","join","result","getAttribute","removeAttr","attribute","prop","removeProp","data","attrName","multiple","selected","offset","coordinates","coords","parentOffset","offsetParent","top","left","getBoundingClientRect","pageXOffset","pageYOffset","width","Math","round","height","computedStyle","removeProperty","cssText","hasClass","addClass","cls","removeClass","toggleClass","when","scrollTop","hasScrollTop","scrollTo","scrollX","scrollLeft","hasScrollLeft","scrollY","position","parseFloat","detach","dimension","dimensionProperty","operator","operatorIndex","inside","argType","copyByClone","nextSibling","firstChild","parentInDocument","insertBefore","src","ownerDocument","defaultView","jsonpID","Date","rscript","scriptTypeRE","xmlTypeRE","blankRE","originAnchor","triggerGlobal","settings","eventName","global","event","Event","trigger","isDefaultPrevented","triggerAndReturn","ajaxBeforeSend","xhr","beforeSend","ajaxSuccess","deferred","success","resolveWith","ajaxComplete","ajaxError","error","rejectWith","status","complete","active","ajaxStop","appendQuery","url","query","parseArguments","dataType","href","location","ajaxJSONP","options","ajax","responseData","abortTimeout","_callbackName","jsonpCallback","callbackName","script","originalCallback","abort","errorType","triggerHandler","promise","on","clearTimeout","off","head","timeout","setTimeout","ajaxSettings","XMLHttpRequest","accepts","json","xml","crossDomain","processData","cache","dataFilter","urlAnchor","hashIndex","Deferred","ajaxStart","protocol","host","param","traditional","serializeData","hasPlaceholder","now","jsonp","mime","headers","setHeader","nativeSetHeader","setRequestHeader","mimeType","overrideMimeType","contentType","onreadystatechange","mimeToDataType","getResponseHeader","responseType","response","responseText","ajaxDataFilter","eval","responseXML","statusText","async","open","username","password","xhrFields","send","post","getJSON","load","parts","escape","encodeURIComponent","params","serialize","scope","hash","Callbacks","memory","fired","firing","firingStart","firingLength","firingIndex","list","stack","once","fire","stopOnFalse","disable","start","unique","disabled","lock","locked","fireWith","tuples","state","always","done","fail","then","fns","defer","tuple","returned","resolve","reject","progress","notify","stateString","sub","progressValues","progressContexts","resolveContexts","resolveValues","remain","updateFn","ctx","notifyWith","_zid","isString","handlers","specialEvents","focusinSupported","focus","blur","hover","mouseenter","mouseleave","zid","findHandlers","matcher","handler","sel","eventCapture","captureSetting","del","realEvent","events","delegator","capture","id","set","related","relatedTarget","proxy","compatible","isImmediatePropagationStopped","_args","preventDefault","stopPropagation","removeEventListener","click","mousedown","mouseup","mousemove","proxyFn","unshift","unbind","one","returnTrue","returnFalse","ignoreProperties","eventMethods","stopImmediatePropagation","predicate","sourceMethod","timeStamp","defaultPrevented","returnValue","getPreventDefault","createProxy","originalEvent","delegate","undelegate","live","die","autoRemove","evt","currentTarget","liveFired","dispatchEvent","createEvent","bubbles","initEvent","nativeGetComputedStyle","pseudoElement","oldQsa","oldMatches","visible","filters","hidden","checked","filterRe","childRe","classTag","process","exec","taggedParent","console","from","core","$JSON","stringify","it","assign","$Object","P","D","desc","getOwnPropertyDescriptor","keys","setPrototypeOf","f","toIObject","toLength","toIndex","IS_INCLUDES","fromIndex","O","cof","TAG","ARG","T","B","tryGet","callee","version","__e","$defineProperty","createDesc","aFunction","that","a","b","getKeys","gOPS","pIE","getSymbols","symbols","isEnum","$export","own","out","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","S","IS_PROTO","IS_BIND","IS_WRAP","W","expProto","C","Function","virtual","R","U","__g","dP","propertyIsEnumerable","Iterators","ITERATOR","ArrayProto","anObject","iterator","entries","ret","setToStringTag","IteratorPrototype","NAME","LIBRARY","redefine","$iterCreate","BUGGY","returnThis","Base","DEFAULT","IS_SET","FORCED","methods","getMethod","kind","proto","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","SAFE_CLOSING","riter","skipClosing","safe","iter","META","setDesc","isExtensible","FREEZE","preventExtensions","setMeta","w","meta","KEY","NEED","fastKey","getWeak","onFreeze","toObject","IObject","$assign","A","K","k","aLen","j","dPs","enumBugKeys","IE_PROTO","Empty","createDict","iframeDocument","iframe","contentWindow","write","lt","close","Properties","IE8_DOM_DEFINE","toPrimitive","Attributes","gOPD","gOPN","windowNames","getOwnPropertyNames","getWindowNames","$keys","hiddenKeys","getOwnPropertySymbols","ObjectProto","arrayIndexOf","names","fails","exp","bitmap","check","buggy","def","tag","stat","shared","uid","store","toInteger","defined","TO_STRING","pos","charCodeAt","charAt","max","min","ceil","floor","valueOf","px","random","wksExt","$Symbol","USE_SYMBOL","classof","getIteratorMethod","getIterator","iterFn","isArrayIter","createProperty","getIterFn","arrayLike","step","mapfn","mapping","addToUnscopables","iterated","_t","_i","_k","Arguments","$getOwnPropertyDescriptor","$at","point","DESCRIPTORS","$fails","wks","wksDefine","keyOf","enumKeys","_create","gOPNExt","$GOPD","$DP","_stringify","HIDDEN","TO_PRIMITIVE","SymbolRegistry","AllSymbols","OPSymbols","USE_NATIVE","QObject","setter","findChild","setSymbolDesc","protoDesc","sym","isSymbol","$defineProperties","$propertyIsEnumerable","E","$getOwnPropertyNames","$getOwnPropertySymbols","IS_OP","$set","keyFor","useSetter","useSimple","replacer","$replacer","TO_STRING_TAG","collections","Collection","useSourceMap","content","sourceMap","cssMapping","btoa","sourceMapping","unescape","sourceURLs","sources","sourceRoot","cssWithMappingToString","mediaQuery","alreadyImportedModules","prefix","Events","EE","addListener","emitter","listener","_events","_eventsCount","clearEvent","EventEmitter","eventNames","listeners","ee","listenerCount","emit","a1","a2","a3","a4","a5","removeListener","removeAllListeners","prefixed","_maxListeners","isUndefined","defaultMaxListeners","setMaxListeners","er","Error","err","newListener","warned","trace","g","evlistener","URL_REGEX","FIRST_SEGMENT_REGEX","SLASH_DOT_REGEX","SLASH_DOT_DOT_REGEX","URLToolkit","buildAbsoluteURL","baseURL","relativeURL","opts","alwaysNormalize","basePartsForNormalise","parseURL","path","normalizePath","buildURLFromParts","relativeParts","scheme","baseParts","netLoc","pathParts","builtParts","baseURLPath","newPath","substring","lastIndexOf","reverse","webpackBootstrapFunc","oe","ENTRY_MODULE","quoteRegExp","getModuleDependencies","queueName","retval","fnString","wrapperSignature","webpackRequireName","re","hasValuesInQueues","queues","hasValues","main","requiredModules","all","modulesQueue","seenModules","moduleToCheck","pop","newModules","newModulesKeys","getRequiredModules","entryModule","blob","Blob","bare","workerUrl","URL","webkitURL","mozURL","msURL","createObjectURL","worker","Worker","objectURL","abr_controller_1","buffer_controller_1","cap_level_controller_1","fps_controller_1","xhr_loader_1","audio_track_controller_1","audio_stream_controller_1","Cues","timeline_controller_1","subtitle_track_controller_1","subtitle_stream_controller_1","eme_controller_1","mediakeys_helper_1","hlsDefaultConfig","autoStartLoad","startPosition","defaultAudioCodec","debug","capLevelOnFPSDrop","capLevelToPlayerSize","initialLiveManifestSize","maxBufferLength","maxBufferSize","maxBufferHole","lowBufferWatchdogPeriod","highBufferWatchdogPeriod","nudgeOffset","nudgeMaxRetry","maxFragLookUpTolerance","liveSyncDurationCount","liveMaxLatencyDurationCount","Infinity","liveSyncDuration","liveMaxLatencyDuration","liveDurationInfinity","liveBackBufferLength","maxMaxBufferLength","enableWorker","enableSoftwareAES","manifestLoadingTimeOut","manifestLoadingMaxRetry","manifestLoadingRetryDelay","manifestLoadingMaxRetryTimeout","startLevel","levelLoadingTimeOut","levelLoadingMaxRetry","levelLoadingRetryDelay","levelLoadingMaxRetryTimeout","fragLoadingTimeOut","fragLoadingMaxRetry","fragLoadingRetryDelay","fragLoadingMaxRetryTimeout","startFragPrefetch","fpsDroppedMonitoringPeriod","fpsDroppedMonitoringThreshold","appendErrorMaxRetry","loader","fLoader","pLoader","xhrSetup","licenseXhrSetup","abrController","bufferController","capLevelController","fpsController","stretchShortVideoTrack","maxAudioFramesDrift","forceKeyFrameOnDiscontinuity","abrEwmaFastLive","abrEwmaSlowLive","abrEwmaFastVoD","abrEwmaSlowVoD","abrEwmaDefaultEstimate","abrBandWidthFactor","abrBandWidthUpFactor","abrMaxWithRealBitrate","maxStarvationDelay","maxLoadingDelay","minAutoBitrate","emeEnabled","widevineLicenseUrl","requestMediaKeySystemAccessFunc","requestMediaKeySystemAccess","subtitleStreamController","SubtitleStreamController","subtitleTrackController","timelineController","cueHandler","enableCEA708Captions","enableWebVTT","captionsTextTrack1Label","captionsTextTrack1LanguageCode","captionsTextTrack2Label","captionsTextTrack2LanguageCode","audioStreamController","audioTrackController","emeController","extendStatics","__extends","__","events_1","event_handler_1","buffer_helper_1","errors_1","logger_1","ewma_bandwidth_estimator_1","performance","AbrController","_super","hls","_this","FRAG_LOADING","FRAG_LOADED","FRAG_BUFFERED","ERROR","lastLoadedFragLevel","_nextAutoLevel","timer","_bwEstimator","onCheck","_abandonRulesCheck","destroy","clearTimer","onFragLoading","frag","fragCurrent","setInterval","hls_1","config","level","ewmaFast","ewmaSlow","levels","details","video","media","minAutoLevel","stats","aborted","logger","warn","paused","playbackRate","autoLevel","requestDelay","trequest","abs","duration","loadRate","bw","loaded","levelBitrate","realBitrate","bitrate","expectedLen","total","currentTime","fragLoadedDelay","bufferStarvationDelay","BufferHelper","bufferInfo","end","fragLevelNextLoadedDelay","nextLoadLevel","levelNextBitrate","toFixed","sample","FRAG_LOAD_EMERGENCY_ABORTED","onFragLoaded","sn","loadedBytes","bytes","loadedDuration","bitrateTest","tparsed","tbuffered","tload","onFragBuffered","fragLoadingProcessingMs","log","tfirst","bwEstimate","getEstimate","bitrateTestDelay","onError","ErrorDetails","FRAG_LOAD_ERROR","FRAG_LOAD_TIMEOUT","clearInterval","forcedAutoLevel","bwEstimator","canEstimate","nextABRAutoLevel","_nextABRAutoLevel","nextLevel","maxAutoLevel","currentLevel","currentFragDuration","avgbw","bestLevel","_findBestLevel","bwFactor","bwUpFactor","currentBw","maxFetchDuration","levelInfo","levelDetails","avgDuration","totalduration","fragments","adjustedbw","fetchDuration","binary_search_1","demuxer_1","LevelHelper","time_ranges_1","discontinuities_1","fragment_tracker_1","fragment_1","base_stream_controller_1","AudioStreamController","fragmentTracker","MEDIA_ATTACHED","MEDIA_DETACHING","AUDIO_TRACKS_UPDATED","AUDIO_TRACK_SWITCHING","AUDIO_TRACK_LOADED","KEY_LOADED","FRAG_PARSING_INIT_SEGMENT","FRAG_PARSING_DATA","FRAG_PARSED","BUFFER_RESET","BUFFER_CREATED","BUFFER_APPENDED","BUFFER_FLUSHED","INIT_PTS_FOUND","audioCodecSwap","_state","State","STOPPED","initPTS","waitingFragment","videoTrackCC","onHandlerDestroying","stopLoad","onHandlerDestroyed","onInitPtsFound","demuxerId","cc","WAITING_INIT_PTS","tick","startLoad","tracks","lastCurrentTime","fragLoadError","IDLE","STARTING","nextLoadPosition","removeFragment","fragPrevious","demuxer","nextState","previousState","doTick","track","trackDetails","PAUSED","BUFFER_FLUSHING","WAITING_TRACK","loadedmetadata","startFragRequested","mediaBuffer","videoBuffer","mainBufferInfo","bufferLen","bufferEnd_1","maxConfigBuffer","maxBufLen","audioSwitch","trackId","_streamEnded","BUFFER_EOS","ENDED","fragLen","PTSKnown","nextStart","initSegment","findFragWithCC","loadIdx","fragLoadIdx","nextBuffered","foundFrag","maxFragLookUpTolerance_1","fragNext","fragmentWithinToleranceTest","candidate","candidateLookupTolerance","search","endSN","startSN","encrypted","KEY_LOADING","getState","FragmentState","NOT_LOADED","FRAG_LOADING_WAITING_RETRY","retryDate","isSeeking","seeking","waitingFrag","waitingFragCC","PARSING","PARSED","onMediaAttached","onvseeking","onMediaSeeking","onvended","onMediaEnded","onMediaDetaching","ended","onvseeked","onAudioTracksUpdated","audioTracks","onAudioTrackSwitching","altAudio","onAudioTrackLoaded","newDetails","sliding","curDetails","mergeDetails","startTimeOffset","onKeyLoaded","fragLoaded","audioCodec","appended","initSegmentData","pendingBuffering","onFragParsingInitSegment","fragNew","audio","levelCodec","codec","BUFFER_CODECS","appendObj","pendingData","BUFFER_APPENDING","onFragParsingData","endPTS","startPTS","endDTS","startDTS","addElementaryStream","ElementaryStreamTypes","AUDIO","nb","updateFragPTSDTS","appendOnBufferFlush","startOffset","endOffset","POSITIVE_INFINITY","AUDIO_TRACK_SWITCHED","pendingData_1","ErrorTypes","MEDIA_ERROR","fatal","data1","data2","buffer","onFragParsed","_checkAppendedParsed","onBufferReset","onBufferCreated","audioTrack","onBufferAppended","pending","hls_2","buffered","frag_1","loadError","delay","pow","AUDIO_TRACK_LOAD_ERROR","AUDIO_TRACK_LOAD_TIMEOUT","KEY_LOAD_ERROR","KEY_LOAD_TIMEOUT","BUFFER_FULL_ERROR","isBuffered","onBufferFlushed","task_loop_1","AudioTrackController","MANIFEST_LOADING","MANIFEST_PARSED","LEVEL_LOADED","_trackId","_selectDefaultTrack","trackIdBlacklist","audioGroupId","onManifestLoading","onManifestParsed","hasInterval","updatePeriodMs","targetduration","onAudioTrackSwitched","groupId","onLevelLoaded","audioGroupIds","urlId","_selectInitialAudioTrack","NETWORK_ERROR","_handleLoadError","newId","_setAudioTrack","_loadTrackDetailsIfNeeded","_updateTrack","currentAudioTrack","defaultTracks","trackFound","traverseTracks","_needsTrackLoading","AUDIO_TRACK_LOADING","previousId","_a","language","WAITING_LEVEL","BaseStreamController","backtracked","fragState","PARTIAL","OK","tolerance","fragStartOffset","fragEndOffset","MediaSource","getMediaSource","BufferController","MEDIA_ATTACHING","LEVEL_PTS_UPDATED","LEVEL_UPDATED","_msDuration","_levelDuration","_levelTargetDuration","_live","_objectUrl","bufferCodecEventsExpected","onsbue","onSBUpdateEnd","onsbe","onSBUpdateError","pendingTracks","onLevelPtsUpdated","audioBuffer","sourceBuffer","timestampOffset","updating","audioTimestampOffset","onMediaAttaching","ms","mediaSource","onmso","onMediaSourceOpen","onmse","onMediaSourceEnded","onmsc","onMediaSourceClose","endOfStream","message","revokeObjectURL","flushRange","segments","MEDIA_DETACHED","checkPendingTracks","pendingTracksCount","createSourceBuffers","doAppending","_needsFlush","doFlush","_needsEos","checkEos","appending","counter","segment","timeRanges","streamType","updateMediaElementDuration","flushLiveBackBuffer","BUFFER_APPENDING_ERROR","sb","removeSourceBuffer","onBufferCodecs","trackName","addSourceBuffer","BUFFER_ADD_CODEC_ERROR","onBufferAppending","onBufferAppendFail","onBufferEos","sbobj","onBufferFlushing","flushBufferCounter","bufferTypes","targetBackBufferPosition","bufferType","removeBufferRange","onLevelUpdated","averagetargetduration","range","flushBuffer","appendBuffer","appendError","event_1","code","BUFFER_APPEND_ERROR","typeIn","bufStart","bufEnd","removeStart","removeEnd","CapLevelController","FPS_DROP_LEVEL_CAPPING","autoLevelCapping","firstLevel","restrictedLevels","_stopCapping","onFpsDropLevelCapping","isLevelAllowed","droppedLevel","HTMLVideoElement","_startCapping","onLevelsUpdated","detectPlayerSize","levelsLength","getMaxLevel","streamController","nextLevelSwitch","capLevelIndex","validLevels","getMaxLevelByMediaSize","mediaWidth","mediaHeight","clientWidth","offsetWidth","contentScaleFactor","clientHeight","offsetHeight","pixelRatio","devicePixelRatio","curLevel","maxLevelIndex","KeySystems","EMEController","_widevineLicenseUrl","_licenseXhrSetup","_emeEnabled","_requestMediaKeySystemAccess","_mediaKeysList","_media","_hasSetMediaKeys","_isMediaEncrypted","_requestLicenseFailureCount","getLicenseServerUrl","keySystem","KEY_SYSTEM_ERROR","KEY_SYSTEM_LICENSE_REQUEST_FAILED","_attemptKeySystemAccess","audioCodecs","videoCodecs","mediaKeySystemConfigs","drmSystemOptions","baseConfig","videoCapabilities","createWidevineMediaKeySystemConfigurations","getSupportedMediaKeySystemConfigurations","mediaKeySystemAccess","_onMediaKeySystemAccessObtained","catch","mediaKeysListItem","mediaKeys","mediaKeysSession","mediaKeysSessionInitialized","mediaKeySystemDomain","createMediaKeys","_onMediaKeysCreated","createSession","_onNewMediaKeySession","keySession","sessionId","_onKeySessionMessage","_requestLicense","update","_onMediaEncrypted","initDataType","initData","_mediaEncryptionInitDataType","_mediaEncryptionInitData","_attemptSetMediaKeys","_generateRequestWithPreferredKeySession","keysListItem","KEY_SYSTEM_NO_KEYS","setMediaKeys","KEY_SYSTEM_NO_ACCESS","KEY_SYSTEM_NO_SESSION","generateRequest","_createLicenseXhr","keyMessage","_onLicenseRequestReadyStageChange","attemptsLeft","_generateLicenseRequestChallenge","challenge","videoCodec","FPSController","isVideoPlaybackQualityAvailable","getVideoPlaybackQuality","checkFPSInterval","checkFPS","decodedFrames","droppedFrames","lastTime","currentPeriod","currentDropped","lastDroppedFrames","currentDecoded","lastDecodedFrames","droppedFPS","FPS_DROP","totalDroppedFrames","videoPlaybackQuality","totalVideoFrames","droppedVideoFrames","webkitDecodedFrameCount","webkitDroppedFrameCount","bufferEnd","deltaPTS","pdtWithinToleranceTest","pdtBufferEnd","endProgramDateTime","findFragmentByPDT","PDTValue","programDateTime","seg","findFragmentByPTS","APPENDING","FragmentTracker","bufferPadding","getBufferedFrag","levelType","bufferedFrags","fragmentEntity","bufferedFragKey","detectEvictedFragments","elementaryStream","timeRange","fragmentTimes","time","esData","isTimeBuffered","detectPartialFragments","fragKey","getFragmentKey","hasElementaryStream","getBufferedTimes","startTime","endTime","fragmentPartial","partial","getPartialFragment","timePadding","bestFragment","bestOverlap","isPartial","hasFragment","removeAllFragments","GapController","stallReported","poll","tnow","stalled","nudgeRetry","stalledDuration","_reportStall","_tryFixBufferStall","_trySkipBufferHole","_tryNudgeBuffer","BUFFER_STALLED_ERROR","lastEndTime","BUFFER_SEEK_OVER_HOLE","reason","targetTime","BUFFER_NUDGE_ON_STALL","id3_1","texttrack_utils_1","ID3TrackController","FRAG_PARSING_METADATA","id3Track","clearCurrentCues","getID3Track","textTracks","textTrack","label","sendAddTrackEvent","addTextTrack","onFragParsingMetadata","samples","Cue","WebKitDataCue","VTTCue","TextTrackCue","frames_1","getID3Frames","pts","frame","isTimeStampFrame","cue","addCue","chromeOrFirefox","codecs_1","level_helper_1","LevelController","MANIFEST_LOADED","canload","currentLevelIndex","manualLevelIndex","navigator","userAgent","_levels","levelRetryCount","loadLevel","onManifestLoaded","bitrateStart","levelSet","levelFromSet","videoCodecFound","audioCodecFound","attributes","attrs","fragmentError","addGroupId","SUBTITLES","isCodecSupportedInMp4","_firstLevel","MANIFEST_INCOMPATIBLE_CODECS_ERROR","newLevel","setLevelInternal","levelProperties","LEVEL_SWITCHING","LEVEL_LOADING","OTHER_ERROR","LEVEL_SWITCH_ERROR","_startLevel","configStartLevel","levelIndex","levelError","LEVEL_LOAD_ERROR","LEVEL_LOAD_TIMEOUT","REMUX_ALLOC_ERROR","recoverLevel","errorEvent","redundantLevels","errorDetails","levelRetry","nextAutoLevel","levelId","targetdurationMs","reloadInterval","findIndex","levelObject","updatePTS","fromIdx","toIdx","fragFrom","fragTo","fragToPTS","maxStartPTS","drift","fragIdx","textGroupIds","oldDetails","PTSFrag","delta","oldfragments","newfragments","ccOffset","oldFrag","newFrag","dropped","playlist_loader_1","fragment_finders_1","gap_controller_1","StreamController","gapController","forceStartLoad","_doTickIdle","_checkBuffer","_checkFragmentChanged","levelLastLoaded","_fetchPayloadOrEos","_ensureFragmentAtLivePoint","_findFragment","_loadKey","_loadFragment","maxLatency","liveSyncPosition","computeLivePosition","hasProgramDateTime","targetSN","lookupTolerance","curSNIdx","sameLevel","prevFrag","nextFrag","autoLevelEnabled","_reduceMaxBufferLength","STREAM_STATE_TRANSITION","LevelType","MAIN","followingBufferedFrag","nextBufferedFrag","fragPlayingCurrent","fragPlaying","FRAG_CHANGED","fragPlayingLevel","LEVEL_SWITCHED","immediateLevelSwitch","immediateSwitch","previouslyPaused","pause","flushMainBuffer","immediateLevelSwitchEnd","play","fetchdelay","nextLevelId","fragLastKbps","flushScope","onMediaSeeked","aac","heaac","audioCodecSwitch","newLevelId","lastLevel","alignStream","accurateTimeOffset","_getAudioCodec","ua","metadata","channelCount","hasAudio","hasVideo","VIDEO","hls_3","mediaTrack","alternate","mediaBuffered","minLength","_seekToStartPos","onFragLoadEmergencyAborted","swapAudioCodec","targetLatency","_liveSyncPosition","decrypter_1","SubtitleStreamControllerState","SUBTITLE_TRACKS_UPDATED","SUBTITLE_TRACK_SWITCH","SUBTITLE_TRACK_LOADED","SUBTITLE_FRAG_PROCESSED","tracksBuffered","currentTrackId","decrypter","onSubtitleFragProcessed","onSubtitleTracksUpdated","subtitleTracks","onSubtitleTrackSwitch","currentTrack","onSubtitleTrackLoaded","decryptData","decryptdata","byteLength","method","startTime_1","decrypt","iv","decryptedData","FRAG_DECRYPTED","tstart","tdecrypt","bufferedInfo","_getBuffered","filterSubtitleTracks","textTrackList","SubtitleTrackController","subtitleDisplay","_onTextTracksChanged","subtitleTrack","queuedDefaultTrack","trackChangeListener","useTextTrackPolling","subtitlePollingInterval","subtitles","onTick","SUBTITLE_TRACK_LOADING","_stopTimer","subtitleTrackId","_toggleTrackModes","setSubtitleTrackInternal","oldTrack","nextTrack","cea_608_parser_1","output_filter_1","webvtt_parser_1","TimelineController","FRAG_PARSING_USERDATA","enabled","unparsedVttFrags","cueRanges","captionsTracks","captionsProperties","textTrack1","languageCode","textTrack2","channel1","channel2","cea608Parser","addCues","screen","x1","x2","y1","y2","ranges","merged","cueRange","overlap","newCue","getExistingTrack","createCaptionsTrack","existingTrack","createTextTrack","lang","_cleanTracks","lastSn","prevCC","vttCCs","presentationOffset","0","new","inUseTracks_1","inUseTrack","manifestTrack","canReuseVttTextTrack","onLevelSwitching","closedCaptions","reset","_parseVTTs","cues","getCueById","textTrackCue","onFragDecrypted","onFragParsingUserdata","ccdatas","extractCea608Data","addData","byteArray","tmpByte","ccbyte1","ccbyte2","count","actualCCBytes","AESCrypto","subtle","aesIV","removePadding","outputBytes","paddingBytes","DataView","getUint8","AESDecryptor","rcon","subMix","Uint32Array","invSubMix","sBox","invSBox","initTable","uint8ArrayToUint32Array_","arrayBuffer","view","newArray","getUint32","subMix0","subMix1","subMix2","subMix3","invSubMix0","invSubMix1","invSubMix2","invSubMix3","x","xi","sx","x4","x8","expandKey","keyBuffer","sameKey","keySize","ksRow","invKsRow","ksRows","keySchedule","invKeySchedule","sbox","networkToHostOrderSwap","word","inputArrayBuffer","removePKCS7Padding","t0","t1","t2","t3","s0","s1","s2","s3","inputWords0","inputWords1","inputWords2","inputWords3","nRounds","invSBOX","initVector","initVector0","initVector1","initVector2","initVector3","inputInt32","Int32Array","outputInt32","swapWord","aes_crypto_1","fast_aes_key_1","aes_decryptor_1","getSelfScope","Decrypter","observer","_b","logEnabled","browserCrypto","crypto","webkitSubtle","disableWebCrypto","isSync","decryptor","subtle_1","fastAesKey","aesKey","onWebCryptoError","FRAG_DECRYPT_ERROR","FastAESKey","importKey","ADTS","AACDemuxer","remuxer","resetInitSegment","_audioTrack","sequenceNumber","isAAC","manifestCodec","inputTimeScale","resetTimeStamp","probe","getID3Data","length_1","timeOffset","contiguous","id3Data","timestamp","getTimeStamp","frameIndex","stamp","id3Samples","dts","isHeader","initTrackConfig","appendFrame","remux","getAudioConfig","adtsObjectType","adtsSampleingIndex","adtsExtensionSampleingIndex","adtsChanelConfig","adtsSampleingRates","samplerate","FRAG_PARSING_ERROR","isHeaderPattern","getHeaderLength","getFullFrameLength","getFrameDuration","parseFrameHeader","frameDuration","headerLength","frameLength","newOffset","header","aacSample","unit","subarray","aacdemuxer_1","mp4demuxer_1","tsdemuxer_1","mp3demuxer_1","mp4_remuxer_1","passthrough_remuxer_1","get_self_scope_1","DemuxerInline","typeSupported","vendor","discontinuity","trackSwitch","defaultInitPTS","pushDecrypted","Uint8Array","muxConfig","demux","mux","remuxer_1","setDecryptData","demuxer_inline_1","events_2","forwardMessage","ev","postMessage","cmd","enableLogs","transferable","work","mediasource_helper_1","observer_1","Demuxer","Observer","mp4","isTypeSupported","mpeg","mp3","onwmsg","onWorkerMessage","onerror","INTERNAL_EXCEPTION","filename","lineno","terminate","lastFrag","nextSN","ArrayBuffer","ExpGolomb","bytesAvailable","bitsAvailable","loadWord","workingBytes","availableBytes","skipBits","skipBytes","readBits","bits","valu","skipLZ","leadingZeroCount","skipUEG","skipEG","readUEG","clz","readEG","readBoolean","readUByte","readUShort","readUInt","skipScalingList","lastScale","nextScale","readSPS","profileIdc","numRefFramesInPicOrderCntCycle","picWidthInMbsMinus1","picHeightInMapUnitsMinus1","frameMbsOnlyFlag","scalingListCount","frameCropLeftOffset","frameCropRightOffset","frameCropTopOffset","frameCropBottomOffset","chromaFormatIdc","picOrderCntType","readSliceType","ID3","isFooter","front","_readSize","frames","_readTimeStamp","info","_getFrameData","fromCharCode","frameData","_decodeFrame","_decodePrivFrame","_decodeTextFrame","_decodeURLFrame","timeStampFrame","pts33Bit","owner","_utf8ArrayToStr","privateData","description","exitOnNull","char2","char3","utf8ArrayToStr","mpegaudio_1","MP3Demuxer","UINT32_MAX","MP4Demuxer","parseInitSegment","audiovideo","findBox","bin2str","readUint16","readUint32","writeUint32","subresults","endbox","results","parseSegmentIndex","references","moov","moovEndOffset","sidx","timescale","startByte","referencesCount","referenceIndex","referenceInfo","referenceSize","subsegmentDuration","earliestPresentationTime","trak","tkhd","mdhd","hdlr","codecBox","codecType","getStartDTS","trafs","baseTimes","traf","tfhd","scale","tfdt","offsetStartDTS","baseMediaDecodeTime","upper","lower","startDTS_1","MpegAudio","BitratesMap","SamplingRateMap","SamplesCoefficients","BytesInSlot","parseHeader","samplesPerFrame","sampleRate","headerB","headerC","headerE","headerF","headerG","columnInBitrates","bitRate","columnInSampleRates","sampleCoefficient","bytesInSlot","parseInt","SampleAesDecrypter","discardEPB","decryptBuffer","encryptedData","decryptAacSample","sampleIndex","sync","curUnit","encryptedBuffer","byteOffset","localthis","decryptAacSamples","getAvcEncryptedData","decodedData","encryptedDataLen","Int8Array","outputPos","inputPos","getAvcDecryptedUnit","decryptAvcSample","unitIndex","decryptAvcSamples","curUnits","units","exp_golomb_1","sample_aes_1","RemuxerTrackIdConfig","id3","TSDemuxer","sampleAes","syncOffset","_syncOffset","scanwindow","createTrack","pid","pmtParsed","_pmtId","_avcTrack","_id3Track","_txtTrack","aacOverFlow","aacLastPTS","avcSample","_duration","stt","pes","unknownPIDs","avcTrack","avcId","audioId","id3Id","pmtId","avcData","pesData","audioData","parsePAT","_parsePAT","parsePMT","_parsePMT","parsePES","_parsePES","parseAVCPES","_parseAVCPES","parseAACPES","_parseAACPES","parseMPEGPES","_parseMPEGPES","parseID3PES","_parseID3PES","parsedPIDs","avc","decryptAndRemux","videoTrack","localthis_1","decryptAndRemuxAvc","localthis_2","_initPTS","_initDTS","mpegSupported","isSampleAes","tableEnd","stream","pesFlags","pesLen","pesHdrLen","pesPts","pesDts","payloadStartOffset","newData","dataLen","pushAccesUnit","nbSamples","sps","expGolombDecoder","_parseAVCNALu","spsfound","createAVCSample","audFound","sliceType","payloadType","payloadSize","endOfCaptions","firstByte","totalCCs","_insertSampleInOrder","codecarray","codecstring","h","pps","_getLastNalUnit","lastUnit","overflow","lastUnitType","naluState","lastState","lastUnitStart","tmp","newLength","EPBPositions","sourceIndex","newPTS","MUX_ERROR","MANIFEST_LOAD_ERROR","MANIFEST_LOAD_TIMEOUT","MANIFEST_PARSING_ERROR","FORBIDDEN_EVENT_NAMES","EventHandler","onEvent","handledEvents","useGenericHandler","registerListeners","unregisterListeners","isEventHandler","onEventGeneric","funcName","FRAG_LOAD_PROGRESS","DESTROYING","fragment_loader_1","key_loader_1","stream_controller_1","level_controller_1","id3_track_controller_1","is_supported_1","config_1","Hls","defaultConfig","DefaultConfig","_autoLevelCapping","playListLoader","fragmentLoader","keyLoader","id3TrackController","levelController","networkControllers","Controller","coreComponents","isSupported","detachMedia","component","attachMedia","loadSource","controller","recoverMediaError","manualLevel","audioTrackId","SourceBuffer","WebKitSourceBuffer","sourceBufferValidAPI","FragmentLoader","loaders","loaderName","FragmentILoader","DefaultILoader","loaderContext","loaderConfig","loaderCallbacks","progressData","byteRangeStartOffset","byteRangeEndOffset","rangeStart","rangeEnd","maxRetry","retryDelay","maxRetryDelay","onSuccess","loadsuccess","loaderror","onTimeout","loadtimeout","onProgress","loadprogress","networkDetails","level_key_1","Fragment","_url","_byteRange","_decryptdata","tagList","rawProgramDateTime","_elementaryStreams","relurl","baseurl","rawByteRange","byteRange","lastByteRangeEndOffset","fragmentDecryptdataFromLevelkey","levelkey","uri","createInitializationVector","segmentNumber","uint8View","baseuri","reluri","KeyLoader","decryptkey","decrypturl","onKeyLoading","LevelKey","_uri","Level","baseUrl","endCC","needSidxRanges","startCC","level_1","attr_list_1","MASTER_PLAYLIST_REGEX","MASTER_PLAYLIST_MEDIA_REGEX","LEVEL_PLAYLIST_REGEX_FAST","LEVEL_PLAYLIST_REGEX_SLOW","MP4_REGEX_SUFFIX","M3U8Parser","findGroup","groups","mediaGroupId","matchingGroup","group","convertAVC1ToAVCOTI","avcdata","substr","parseMasterPlaylist","string","setCodecs","codecs","isCodecType","preferred","unknownCodecs","lastIndex","resolution","decimalResolution","decimalInteger","CODECS","parseMasterPlaylistMedia","audioGroups","medias","TYPE","autoselect","AUTOSELECT","forced","URI","LANGUAGE","groupCodec","parseLevelPlaylist","levelUrlId","currentSN","firstPdtIndex","title","assignProgramDateTime","value1","value2","decryptparams","keyAttrs","decryptmethod","enumeratedString","decrypturi","decryptiv","hexadecimalInteger","startParams","decimalFloatingPoint","mapAttrs","BYTERANGE","startIndex","fragPrev","backfillProgramDateTimes","m3u8_parser_1","ContextType","MANIFEST","LEVEL","AUDIO_TRACK","SUBTITLE_TRACK","SUBTITLE","PlaylistLoader","canHaveQualityLevels","mapContextToLevelType","getResponseUrl","createInternalLoader","PLoader","Loader","getInternalLoader","resetInternalLoader","contextType","destroyInternalLoaders","onLevelLoading","onAudioTrackLoading","onSubtitleTrackLoading","isSidxRequest","_handleSidxRequest","_handlePlaylistLoaded","_handleTrackOrLevelPlaylist","_handleMasterPlaylist","_handleManifestParsingError","_handleNetworkError","embeddedAudioFound_1","singleLevel","sidxUrl","sidxInfo","sidxReferences","segmentRef","segRefInfo","errorData","AAC","getSilentFrame","MP4","types","avc1","avcC","btrt","dinf","dref","esds","ftyp","mdat","mdia","mfhd","minf","moof","mp4a","mvex","mvhd","pasp","sdtp","stbl","stco","stsc","stsd","stsz","stts","trun","trex","vmhd","smhd","videoHdlr","audioHdlr","HDLR_TYPES","STTS","STSC","STCO","STSZ","VMHD","SMHD","STSD","majorBrand","avc1Brand","minorVersion","FTYP","box","DINF","upperWordDuration","lowerWordDuration","boxes","flags","dependsOn","isDependedOn","avcc","hSpacing","vSpacing","configlen","sampleDependencyTable","upperWordBaseMediaDecodeTime","lowerWordBaseMediaDecodeTime","cts","arraylen","isLeading","hasRedundancy","paddingValue","isNonSync","degradPrio","movie","aac_helper_1","mp4_generator_1","MP4Remuxer","isSafari","ISGenerated","defaultTimeStamp","generateIS","nbAudioSamples","nbVideoSamples","audioTimeOffset","videoTimeOffset","audiovideoDeltaDts","remuxAudio","audioTrackLength","remuxVideo","videoData","remuxEmptyAudio","remuxID3","remuxText","initDTS","audioSamples","videoSamples","computePTSDTS","mp4SampleDuration","firstPTS","firstDTS","lastPTS","lastDTS","timeScale","inputSamples","outputSamples","ptsNormalize","_PTSNormalize","nextAvcDts","deltadts","deltapts","PTSDTSshift","curr","nbNalu","naluLen","sample_1","nbUnits","sampleLen","mdatSize","setUint32","avcSampleUnits","mp4SampleLength","compositionTimeOffset","unitData","unitDataLen","lastFrameDuration","gapTolerance","deltaToFrameEnd","nextAudioPts","mp4Sample","fillFrame","mp4timeScale","scaleFactor","inputSampleDuration","rawMPEG","nextPts","missing","newStamp","nbSamples_1","audioSample","delta_1","numMissingFrames","unitLen","lastSampleDuration","silentFrame","reference","PassThroughRemuxer","rawData","TaskLoop","_tickInterval","_tickTimer","_tickCallCount","_boundTick","clearNextTick","hasNextTick","millis","DECIMAL_RESOLUTION_REGEX","ATTR_LIST_REGEX","AttrList","parseAttrList","intValue","MAX_SAFE_INTEGER","stringValue","hexadecimalIntegerAsNumber","res","input","comparisonFunction","minIndex","maxIndex","currentIndex","currentElement","comparisonResult","maxHoleDuration","vbuffered","bufferStart","bufferStartNext","buffered2","diff","buf2len","buf2end","specialCea608CharsCodes","getCharForByte","byte","charCode","rowsLowCh1","rowsHighCh1","rowsLowCh2","rowsHighCh2","backgroundColors","verboseFilter","verboseLevel","setTime","newTime","severity","msg","numArrayToHexArray","numArray","hexArray","PenState","foreground","underline","italics","background","flash","setStyles","styles","attribs","isDefault","equals","other","copy","newPenState","StyledUnicodeChar","uchar","penState","setChar","setPenState","newChar","isEmpty","Row","chars","currPenState","equal","setCursor","absPos","moveCursor","relPos","newPos","backSpace","insertChar","char","clearFromPos","startPos","clear","clearToEndOfRow","getTextString","setPenStyles","CaptionScreen","rows","currRow","NR_ROWS","nrRollUpRows","setPen","setPAC","pacData","newRow","row","topRowIndex","lastOutputScreen","prevLineTime","cueStartTime","indent","prevPos","color","setBkgData","bkgData","setRollUpRows","nrRows","rollUp","getDisplayText","topRow","asOneRow","displayText","rowNr","rowText","getTextAndFormat","Cea608Channel","channelNumber","outputFilter","chNr","verbose","displayedMemory","nonDisplayedMemory","currRollUpRow","writeScreen","lastCueEndTime","getHandler","setHandler","newHandler","setMode","newMode","insertChars","outputDataUpdate","ccRCL","ccBS","ccAOF","ccAON","ccDER","ccRU","ccFON","ccRDC","ccTR","ccRTD","ccEDM","ccCR","ccENM","ccEOC","ccTO","nrCols","ccMIDROW","secondByte","colorIndex","dispatch","dispatchCue","cueSplitAtTime","Cea608Parser","field","out1","out2","outputs","channels","currChNr","lastCmdA","lastCmdB","bufferedData","dataCounters","byteList","cmdFound","charsFound","parseCmd","parseMidrow","parsePAC","parseBackgroundAttributes","parseChars","padding","channel","interpretPAC","pacIndex","channelNr","charCodes","charCode1","oneCode","hexCodes","sampleEntryCodesISO","typeCodes","vttparser_1","captionScreen","indenting","fixLineBreaks","line","align","findFirstFragWithCC","firstFrag","currentFrag","shouldAlignOnDiscontinuities","shouldAlign","findDiscontinuousReferenceFrag","prevDetails","prevFrags","curFrags","prevStartFrag","adjustPts","alignDiscontinuities","referenceFrag","alignPDT","lastDetails","lastPDT","CC","ewma_1","EwmaBandWidthEstimator","slow","fast","defaultEstimate","defaultEstimate_","minWeight_","minDelayMs_","slow_","fast_","durationMs","numBytes","bandwidth","weight","getTotalWeight","EWMA","halfLife","alpha_","estimate_","totalWeight_","adjAlpha","zeroFactor","fakeLogger","exportedLogger","formatMsg","consolePrintFn","debugConfig","functions","exportLoggerFunctions","WebKitMediaSource","OutputFilter","videoEl","removeCue","directionSetting","lr","rl","alignSetting","middle","right","findAlignSetting","cobj","isIE8","baseObj","hasBeenReset","_id","_pauseOnExit","_startTime","_endTime","_text","_region","_vertical","_snapToLines","_line","_lineAlign","_position","_positionAlign","_size","_align","findDirectionSetting","SyntaxError","displayState","getCueAsHTML","WebVTT","convertCueToDOMTree","vttcue_1","StringDecoder","decode","decodeURIComponent","VTTParser","decoder","regionList","Settings","parseOptions","keyValueDelim","groupDelim","kv","v","dflt","defaultKey","alt","integer","percent","defaults","center","parseCue","oInput","consumeTimeStamp","ts","computeSeconds","parseTimeStamp","skipWhitespace","region","vals","vals0","vertical","lineAlign","snapToLines","consumeCueSettings","collectNextLine","alreadyCollectedLine","hasSubstring","oncue","flush","onflush","startsWith","inputString","searchString","WebVTTParser","vttByteArray","syncPTS","callBack","errorCallBack","parsingError","vttLines","cueTime","mpegTs","localTime","presentationTime","inHeader","parser","currCC","cueOffset","calculateOffset","onparsingerror","timeString","secs","mins","hours","XhrLoader","requestTimeout","retryTimeout","callbacks","retry","loadInternal","readystatechange","onprogress","status_1","responseURL","lengthComputable","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","run","marker","runClearTimeout","Item","nextTick","browser","env","argv","versions","binding","cwd","chdir","dir","umask","memo","stylesInDom","isOldIE","atob","getTarget","querySelector","getElement","styleTarget","HTMLIFrameElement","singleton","singletonCounter","stylesInsertedAtTop","fixUrls","addStylesToDom","domStyle","refs","addStyle","listToStyles","newStyles","base","part","insertStyleElement","insertInto","lastStyleElementInsertedAtTop","insertAt","removeStyleElement","createStyleElement","addAttrs","transform","styleIndex","applyToSingletonTag","link","rel","createLinkElement","updateLink","applyToTag","newObj","DEBUG","newList","mayRemove","textStore","replaceText","replacement","Boolean","styleSheet","cssNode","createTextNode","autoFixUrls","convertToAbsoluteUrls","oldSrc","currentDir","pathname","fullMatch","origUrl","newUrl","unquotedOrigUrl","_classCallCheck3","_possibleConstructorReturn3","_createClass3","_inherits3","_utils","BaseObject","_Events","_options","uniqueId","_base_object2","_error_mixin2","ContainerPlugin","_BaseObject","bindEvents","playerError","enable","stopListening","CorePlugin","getExternalInterface","_log2","_error2","ErrorMixin","createError","useCodePrefix","origin","i18n","prefixedCode","defaultError","Levels","FATAL","raw","UI","defaultUI","_keys2","eventSplitter","eventsApi","action","rest","triggerEvents","exception","_once","retain","_callback","allEvents","listeningTo","_listeningTo","_listenId","register","Custom","listAvailableCustomEvents","listenMethods","listenTo","listenToOnce","PLAYER_READY","PLAYER_RESIZE","PLAYER_FULLSCREEN","PLAYER_PLAY","PLAYER_PAUSE","PLAYER_STOP","PLAYER_ENDED","PLAYER_SEEK","PLAYER_ERROR","PLAYER_TIMEUPDATE","PLAYER_VOLUMEUPDATE","PLAYER_SUBTITLE_AVAILABLE","PLAYBACK_PROGRESS","PLAYBACK_TIMEUPDATE","PLAYBACK_READY","PLAYBACK_BUFFERING","PLAYBACK_BUFFERFULL","PLAYBACK_SETTINGSUPDATE","PLAYBACK_LOADEDMETADATA","PLAYBACK_HIGHDEFINITIONUPDATE","PLAYBACK_BITRATE","PLAYBACK_LEVELS_AVAILABLE","PLAYBACK_LEVEL_SWITCH_START","PLAYBACK_LEVEL_SWITCH_END","PLAYBACK_PLAYBACKSTATE","PLAYBACK_DVR","PLAYBACK_MEDIACONTROL_DISABLE","PLAYBACK_MEDIACONTROL_ENABLE","PLAYBACK_ENDED","PLAYBACK_PLAY_INTENT","PLAYBACK_PLAY","PLAYBACK_PAUSE","PLAYBACK_SEEK","PLAYBACK_SEEKED","PLAYBACK_STOP","PLAYBACK_ERROR","PLAYBACK_STATS_ADD","PLAYBACK_FRAGMENT_LOADED","PLAYBACK_LEVEL_SWITCH","PLAYBACK_SUBTITLE_AVAILABLE","PLAYBACK_SUBTITLE_CHANGED","CORE_CONTAINERS_CREATED","CORE_ACTIVE_CONTAINER_CHANGED","CORE_OPTIONS_CHANGE","CORE_READY","CORE_FULLSCREEN","CORE_RESIZE","CORE_SCREEN_ORIENTATION_CHANGED","CORE_MOUSE_MOVE","CORE_MOUSE_LEAVE","CONTAINER_PLAYBACKSTATE","CONTAINER_PLAYBACKDVRSTATECHANGED","CONTAINER_BITRATE","CONTAINER_STATS_REPORT","CONTAINER_DESTROYED","CONTAINER_READY","CONTAINER_ERROR","CONTAINER_LOADEDMETADATA","CONTAINER_SUBTITLE_AVAILABLE","CONTAINER_SUBTITLE_CHANGED","CONTAINER_TIMEUPDATE","CONTAINER_PROGRESS","CONTAINER_PLAY","CONTAINER_STOP","CONTAINER_PAUSE","CONTAINER_ENDED","CONTAINER_CLICK","CONTAINER_DBLCLICK","CONTAINER_CONTEXTMENU","CONTAINER_MOUSE_ENTER","CONTAINER_MOUSE_LEAVE","CONTAINER_SEEK","CONTAINER_SEEKED","CONTAINER_VOLUME","CONTAINER_FULLSCREEN","CONTAINER_STATE_BUFFERING","CONTAINER_STATE_BUFFERFULL","CONTAINER_SETTINGSUPDATE","CONTAINER_HIGHDEFINITIONUPDATE","CONTAINER_MEDIACONTROL_SHOW","CONTAINER_MEDIACONTROL_HIDE","CONTAINER_MEDIACONTROL_DISABLE","CONTAINER_MEDIACONTROL_ENABLE","CONTAINER_STATS_ADD","CONTAINER_OPTIONS_CHANGE","MEDIACONTROL_RENDERED","MEDIACONTROL_FULLSCREEN","MEDIACONTROL_SHOW","MEDIACONTROL_HIDE","MEDIACONTROL_MOUSEMOVE_SEEKBAR","MEDIACONTROL_MOUSELEAVE_SEEKBAR","MEDIACONTROL_PLAYING","MEDIACONTROL_NOTPLAYING","MEDIACONTROL_CONTAINERCHANGED","MEDIACONTROL_OPTIONS_CHANGE","_ui_object2","_clapprZepto2","Playback","_UIObject","_i18n","_consented","consent","stop","seek","seekPercentage","percentage","getStartTimeOffset","getDuration","isPlaying","getPlaybackType","NO_OP","isHighDefinitionInUse","volume","configure","attemptAutoPlay","_this2","canAutoPlay","cb","closedCaptionsTracks","canPlay","VOD","AOD","LIVE","thisArg","kValue","_template2","Styler","getStyleFor","volumeMute","reload","hd","fullscreen","exitFullscreen","_play2","_pause2","_stop2","_volume2","_mute2","_expand2","_shrink2","_hd2","_cc2","_reload2","evaluate","interpolate","noMatch","escapes","'","escaper","htmlEntities","entityRe","escapeExpr","tmpl","render","variable","template","UIContainerPlugin","$el","UICorePlugin","delegateEventSplitter","UIObject","cid","_ensureElement","delegateEvents","undelegateEvents","setElement","DomRecycler","tagName","SvgIcons","DoubleEventHandler","cancelAnimationFrame","requestAnimationFrame","QueryString","Config","Fullscreen","_getOwnPropertyDescriptor2","formatTime","seekStringToSeconds","isNumber","currentScriptUrl","getBrowserLanguage","removeArrayItem","listContainsIgnoreCase","items","itemEach","canAutoPlayMedia","_browser2","_media2","_svg_icons2","propDescriptor","Surrogate","_parent","_len","_key","initialize","paddedHours","seconds","minutes","days","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen","webkitEnterFullScreen","cancelFullscreen","webkitCancelFullScreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","_defaultConfig","_defaultValueFor","_createKeyspace","domain","restore","hasLocalstorage","localStorage","persist","paramsString","pl","_urlParams","_hashParams","paramName","seekString","hashParams","factor","suffix","idsCounter","scripts","mozRequestAnimationFrame","webkitRequestAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","inline","muted","timeoutId","setResult","videoStack","recycleVideo","garbage","handle","prevented","getTime","diffTime","Media","getDevice","getViewportSize","getOsData","getBrowserData","getBrowserInfo","_getIterator3","_browser_data2","_os_data2","Browser","extra","appName","appVersion","browserObject","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_step","_iterator","browserRegExpResult","identifier","versionIdentifier","versionRegExpResult","setBrowserVersion","return","splitVersion","fullVersion","majorVersion","osObject","_iteratorNormalCompletion2","_didIteratorError2","_iteratorError2","_step2","os","osRegExpResult","setOsVersion","versionSeparator","separator","finalSeparator","viewportObject","browserInfo","isEdge","isChrome","isFirefox","isLegacyIE","ActiveXObject","isIE","isIE11","isChromecast","isMobile","isiOS","isAndroid","isWindowsPhone","isWin8App","isWiiU","isPS4","setItem","removeItem","hasFlash","mimeTypes","enabledPlugin","viewport","device","orientation","setViewportOrientation","_browser","_events2","Container","playback","isReady","mediaControlDisabled","plugins","dblTapHandler","clickTimer","clickDelay","class","buffering","hasClosedCaptionsTracks","closedCaptionsTrackId","timeUpdated","onBuffering","bufferfull","settingsUpdate","loadedMetadata","highDefinitionUpdate","updateBitrate","playbackStateChanged","playbackDvrStateChanged","disableMediaControl","enableMediaControl","onSeeked","onEnded","playing","stopped","subtitleAvailable","subtitleChanged","dvrInUse","newBitrate","statsReport","metrics","isDvrEnabled","dvrEnabled","isDvrInUse","plugin","setStyle","animate","getCurrentTime","_error","timeProgress","current","clicked","chromeless","allowUserInteraction","cancelClicked","dblClicked","dblTap","_this3","onContextMenu","setVolume","addPlugin","hasPlugin","getPlugin","mouseEnter","mouseLeave","isHD","updateStyle","_container","_container2","locals","ContainerFactory","createContainers","createContainer","findPlaybackPlugin","playbackPlugins","resolvedSource","addContainerPlugins","containerPlugins","Plugin","_container_factory","_container_factory2","_styler2","_ui_core_plugin2","_mediator2","_player_info2","_fonts2","Core","configureDomRecycler","playerInfo","getInstance","playerId","firstResize","_boundFullscreenHandler","handleFullscreenChange","handleWindowResize","tabindex","dummyMediaControl","_dummyMediaControl","_activeContainer","activeContainer","containerFactory","prepareContainers","setupContainers","resolveOnContainersReady","updateSize","isFullscreen","setFullscreen","setPlayerSize","previousSize","currentSize","resize","triggerResize","enableResizeObserver","resizeObserverInterval","newSize","oldHeight","oldWidth","computedSize","disableResizeObserver","_this4","innerWidth","innerHeight","_screenOrientation","removeContainer","setupContainer","renderContainers","appendToParent","_this5","getCurrentContainer","getCurrentPlayback","activePlayback","toggleFullscreen","onMouseMove","onMouseLeave","_this6","appendTo","parentElement","_core","_core2","CoreFactory","player","addCorePlugins","corePlugins","setupExternalInterface","externalFunctions","_core_factory","_core_factory2","PlayerError","WARN","INFO","_loader","_loader2","_toConsumableArray3","_html5_video2","_flash2","_html5_audio2","_flashls2","_hls2","_html_img2","_no_op2","_spinner_three_bounce2","_stats2","_watermark2","_poster2","_google_analytics2","_click_to_pause2","_media_control2","_dvr_controls2","_closed_captions2","_favicon2","_seek_time2","_sources2","_end_video2","_strings2","_error_screen2","externalPlugins","useOnlyPlainHtml5Plugins","validateExternalPluginsType","addExternalPlugins","groupPluginsByType","removeDups","pluginsMap","reduceRight","errorMessage","Mediator","Player","defaultOptions","persistConfig","_normalizeSources","disableKeyboardShortcuts","_registerOptionEventListeners","_coreFactory","parentId","setParentId","attachTo","_ready","onReady","onResize","onPlay","onPause","onStop","onSeek","onTimeUpdate","onVolumeUpdate","onSubtitleAvailable","_addEventListeners","_onReady","_containerChanged","_onFullscreenChange","_onResize","_addContainerEventListeners","_onPlay","_onPause","_onStop","_onEnded","_onSeek","_onError","_onTimeUpdate","_onVolumeUpdate","_onSubtitleAvailable","newEvents","hasNewEvents","userEvent","eventType","eventsMapping","eventFunction","autoPlay","mute","_mutedVolume","getVolume","unmute","_classCallCheck2","PlayerInfo","_players","_player2","_utils2","_playback2","_container_plugin2","_core_plugin2","_ui_container_plugin2","_base_flash_playback2","_vendor2","MediaControl","Utils","BaseFlashPlayback","Flash","FlasHLS","HLS","HTML5Audio","HTML5Video","HTMLImg","NoOp","ClickToPausePlugin","DVRControls","Favicon","Log","Poster","SpinnerThreeBouncePlugin","WaterMarkPlugin","Vendor","_Playback","swfPath","playbackId","wmode","_Player2","_BaseFlashPlayback","_src","_baseUrl","_autoPlay","seekEnabled","_isReadyState","_addListeners","_currentState","_bufferingState","_bootstrap","playerPlay","_firstPlay","insertAfter","_metadataLoaded","_attempts","_updateTime","getPosition","_progress","_checkState","_isIdle","getBytesLoaded","getBytesTotal","_checkInitialSeek","seekTime","seekSeconds","playerResume","playerVolume","playerPause","playerStop","playerSeek","bootstrapId","resource","resourceParts","_flash","_flashls_events2","_HLSPlayer2","_initHlsParameters","highDefinition","_loop","loop","_defaultSettings","_playbackType","_hasEnded","_currentLevel","playerSetCurrentLevel","_autoStartLoad","_capLevelToStage","capLevelToStage","_maxLevelCappingMode","maxLevelCappingMode","_minBufferLength","minBufferLength","_minBufferLengthCapping","minBufferLengthCapping","_maxBufferLength","_maxBackBufferLength","maxBackBufferLength","_lowBufferLength","lowBufferLength","_mediaTimePeriod","mediaTimePeriod","_fpsDroppedMonitoringPeriod","_fpsDroppedMonitoringThreshold","_capLevelonFPSDrop","capLevelonFPSDrop","_smoothAutoSwitchonFPSDrop","smoothAutoSwitchonFPSDrop","_switchDownOnLevelError","switchDownOnLevelError","_seekMode","seekMode","_keyLoadMaxRetry","keyLoadMaxRetry","_keyLoadMaxRetryTimeout","keyLoadMaxRetryTimeout","_fragmentLoadMaxRetry","fragmentLoadMaxRetry","_fragmentLoadMaxRetryTimeout","fragmentLoadMaxRetryTimeout","_fragmentLoadSkipAfterMaxRetry","fragmentLoadSkipAfterMaxRetry","_maxSkippedFragments","maxSkippedFragments","_flushLiveURLCache","flushLiveURLCache","_initialLiveManifestSize","_manifestLoadMaxRetry","manifestLoadMaxRetry","_manifestLoadMaxRetryTimeout","manifestLoadMaxRetryTimeout","_manifestRedundantLoadmaxRetry","manifestRedundantLoadmaxRetry","_startFromBitrate","startFromBitrate","_startFromLevel","startFromLevel","_autoStartMaxDuration","autoStartMaxDuration","_seekFromLevel","seekFromLevel","_useHardwareVideoDecoder","useHardwareVideoDecoder","_hlsLogEnabled","hlsLogEnabled","_logDebug","logDebug","_logDebug2","logDebug2","_logWarn","logWarn","_logError","logError","_hlsMinimumDvrSize","hlsMinimumDvrSize","timeMetrics","_setPlaybackState","_levelChanged","_flashPlaybackError","loadmetrics","_onFragmentLoaded","_onLevelEndlist","playerLoad","_srcLoaded","_setFlashSettings","_updatePlaybackType","_shouldPlayOnManifestLoaded","_bootstrapAttempts","formattedError","playerSetAutoStartLoad","playerSetCapLevelToStage","playerSetMaxLevelCappingMode","playerSetMinBufferLength","playerSetMinBufferLengthCapping","playerSetMaxBufferLength","playerSetMaxBackBufferLength","playerSetLowBufferLength","playerSetMediaTimePeriod","playerSetFpsDroppedMonitoringPeriod","playerSetFpsDroppedMonitoringThreshold","playerSetCapLevelonFPSDrop","playerSetSmoothAutoSwitchonFPSDrop","playerSetSwitchDownOnLevelError","playerSetSeekMode","playerSetKeyLoadMaxRetry","playerSetKeyLoadMaxRetryTimeout","playerSetFragmentLoadMaxRetry","playerSetFragmentLoadMaxRetryTimeout","playerSetFragmentLoadSkipAfterMaxRetry","playerSetMaxSkippedFragments","playerSetFlushLiveURLCache","playerSetInitialLiveManifestSize","playerSetManifestLoadMaxRetry","playerSetManifestLoadMaxRetryTimeout","playerSetManifestRedundantLoadmaxRetry","playerSetStartFromBitrate","playerSetStartFromLevel","playerSetAutoStartMaxDuration","playerSetSeekFromLevel","playerSetUseHardwareVideoDecoder","playerSetLogInfo","playerSetLogDebug","playerSetLogDebug2","playerSetLogWarn","playerSetLogError","setAutoStartLoad","setCapLevelToStage","setMaxLevelCappingMode","setSetMinBufferLength","setMinBufferLengthCapping","setMaxBufferLength","setMaxBackBufferLength","setLowBufferLength","setMediaTimePeriod","setFpsDroppedMonitoringPeriod","setFpsDroppedMonitoringThreshold","setCapLevelonFPSDrop","setSmoothAutoSwitchonFPSDrop","setSwitchDownOnLevelError","setSeekMode","setKeyLoadMaxRetry","setKeyLoadMaxRetryTimeout","setFragmentLoadMaxRetry","setFragmentLoadMaxRetryTimeout","setFragmentLoadSkipAfterMaxRetry","setMaxSkippedFragments","setFlushLiveURLCache","setInitialLiveManifestSize","setManifestLoadMaxRetry","setManifestLoadMaxRetryTimeout","setManifestRedundantLoadmaxRetry","setStartFromBitrate","setStartFromLevel","setAutoStartMaxDuration","setSeekFromLevel","setUseHardwareVideoDecoder","setSetLogInfo","setLogDebug","setLogDebug2","setLogWarn","setLogError","getLevels","_fillLevels","_normalizeDuration","previousDVRStatus","_dvrEnabled","livePlayback","_updateSettings","getCurrentLevelIndex","getCurrentLevel","getCurrentBitrate","setCurrentLevel","_updateCurrentState","getType","_startReportingProgress","_stopReportingProgress","_reportingProgress","getbufferLength","_manifestLoaded","_updateDvr","previousDvrInUse","_dvrInUse","_createCallbacks","Clappr","flashlsCallbacks","flashlsEvents","HLSEvents","instanceId","videoSize","manifest","audioLevelLoaded","levelLoaded","levelEndlist","fragmentLoaded","fragmentPlaying","playmetrics","timemetrics","newState","seekState","switch","audioTracksListChange","trackList","audioTrackChange","_flashls","_stringify2","_extends3","_HTML5VideoPlayback","_minDvrSize","_extrapolatedWindowNumSegments","extrapolatedWindowNumSegments","_lastTimeUpdate","_lastDuration","_playableRegionStartTime","_localStartTimeCorrelation","_localEndTimeCorrelation","_playableRegionDuration","_programDateTime","_durationExcludesAfterLiveSyncPoint","_segmentTargetDuration","_playlistType","_recoverAttemptsRemaining","hlsRecoverAttempts","hlsUseNextLevel","_hls","_extrapolatedStartTime","corr","timePassed","_now","local","extrapolatedWindowStartTime","remote","_extrapolatedWindowDuration","actualEndTime","extrapolatedEndTime","_extrapolatedEndTime","_setup","_ccIsSetup","_ccTracksUpdated","hlsjsConfig","_onLevelUpdated","_onLevelSwitch","_onHLSJSError","_onSubtitleLoaded","_recover","_recoveredDecodingError","_recoveredAudioCodecError","_setupSrc","srcUrl","_startTimeUpdateTimer","_timeUpdateTimer","_onDurationChange","_stopTimeUpdateTimer","getProgramDateTime","seekTo","seekToLivePoint","isSeekEnabled","triggerFatalErrorOnResourceDenied","_keyIsDenied","firstFragDateTime","_onProgress","bufferedPos","startTimeChanged","durationChanged","previousPlayableRegionStartTime","previousPlayableRegionDuration","newDuration","hiddenAreaDuration","previousEndTime","_corr","_timePassed","isHls","_HTML5Video","updateSettings","resourceUrl","_canPlay","_html5_audio","_tracks2","MIMETYPES","AUDIO_MIMETYPES","KNOWN_AUDIO_MIMETYPES","acc","UNKNOWN_ERROR","_destroyed","_loadStarted","_isBuffering","_playheadMoving","_playheadMovingTimer","_stopped","_ccTrackId","disableContextMenu","disableVideoTagContextMenu","playbackConfig","preload","posterUrl","poster","defaultMuted","controls","useVideoTagDefaultControls","crossOrigin","playInline","playsinline","crossorigin","externalTracks","_setupExternalTracks","isAudioOnly","_mimeTypesForUrl","audioOnly","disableCanAutoPlay","autoPlayTimeout","_externalTracks","_onLoadedMetadata","_handleBufferingEvents","autoSeekFromUrl","onDemandType","_stopPlayheadMovingChecks","isMuted","_startPlayheadMovingChecks","_playheadMovingTimeOnCheck","_determineIfPlayheadMoving","_onWaiting","_onLoadedData","_onCanPlay","_onPlaying","_checkForClosedCaptions","_onSeeking","_onSeeked","playheadShouldBeMoving","HAVE_FUTURE_DATA","_ref","isUnknownError","handleTextTrackChange","_typeFor","isHTML5Video","_handleTextTrackChange","showingTrack","mimeTypesByExtension","extension","mediaType","canPlayType","_html5_video","_onLoad","_html_img","_no_op","_noiseFrameNum","playbackNotSupported","playbackNotSupportedMessage","showForNoOp","_animate","_noise","idata","createImageData","canvas","buffer32","putImageData","_stop","_animationHandle","getContext","_ContainerPlugin","pointerEnabled","_click_to_pause","ClosedCaptions","_UICorePlugin","closedCaptionsConfig","_title","_ariaLabel","ariaLabel","_labelCb","labelCallback","containerChanged","mediaControl","hideContextMenu","onSubtitleChanged","onContainerStop","ccAvailable","renderCcButton","setCurrentContextMenuElement","onTrackSelect","dataset","ccSelect","hasCC","toggleContextMenu","contextMenuElement","$ccButton","disabledLabel","$fullscreen","prepend","_closed_captions","_index2","dvrChanged","shouldRender","useDvrControls","backToLive","_dvr_controls","EndVideo","_CorePlugin","exitFullscreenOnEnd","ErrorScreen","_ret","disableErrorScreen","onContainerChanged","bindReload","reloadButton","unbindReload","icon","reloadIcon","_error_screen","oldIcon","changeFavicon","setPlayIcon","setPauseIcon","resetIcon","createIcon","fillStyle","Path2D","fill","toDataURL","playIcon","changeIcon","pauseIcon","_favicon","GoogleAnalytics","gaAccount","account","trackerName","gaTrackerName","domainName","gaDomainName","currentHDState","embedScript","_gat","addEventListeners","onload","onBufferFull","onPlaybackChanged","onVolumeChanged","CONTAINER_FULL_SCREEN","onFullscreen","onHD","onDVR","_gaq","playbackState","_google_analytics","_log","_vendor","BOLD","COLORS","DESCRIPTIONS","offLevel","kibo","Kibo","down","onOff","BLACKLIST","previousLevel","klassDescription","LEVEL_DEBUG","LEVEL_INFO","LEVEL_WARN","LEVEL_ERROR","_instance","setLevel","_media_control","_mediaControl2","currentPositionValue","currentDurationValue","keepVisible","fullScreenOnVideoTagSupported","setInitialVolume","focusElement","bindKeyEvents","userDisabled","stopDragHandler","stopDrag","updateDragHandler","updateDrag","playbackIsNOOP","intendedVolume","onActiveContainerChanged","hideMediaControlDelay","playerResize","bindContainerEvents","changeTogglePlay","updateProgressBar","onLoadedMetadataOnVideoTag","unbindKeyEvents","initialVolume","updateVolumeUI","webkitSupportsFullscreen","rendered","$volumeBarContainer","containerWidth","barWidth","$volumeBarBackground","$volumeBarFill","$volumeBarScrubber","$volumeIcon","applyButtonStyle","$playPauseToggle","$playStopToggle","mousemoveOnSeekBar","offsetX","pageX","$seekBarContainer","$seekBarHover","mouseleaveOnSeekBar","onVolumeClick","getVolumeFromUIEvent","mousemoveOnVolumeBar","draggingVolumeBar","$fullscreenToggle","hideVolumeBar","togglePlayPause","togglePlayStop","startSeekDrag","draggingSeekBar","$seekBarLoaded","$seekBarPosition","$seekBarScrubber","startVolumeDrag","setSeekPercentage","toggleMute","isInitialVolume","setWhenContainerReady","resetUserKeepVisible","showVolumeBar","hideVolumeId","loadedStart","loadedEnd","renderSeekBar","currentSeekBarPercentage","newPosition","displayedPosition","$position","displayedDuration","$duration","setKeepVisible","resetKeepVisible","setUserKeepVisible","userKeepVisible","isVisible","mousePointerMoved","clientX","lastMouseX","clientY","lastMouseY","hideId","updateCursorStyle","_this7","hideMediaControl","hasKeepVisibleRequested","hasDraggingAction","showing","newSettings","getSettings","$hdIndicator","createCachedElements","$layer","$volumeContainer","resetIndicators","initializeIcons","displayedSeekBarPercentage","seekRelative","bindKeyAndShow","_this8","_this9","parseColors","mediacontrol","buttonsColor","buttons","seekbarColor","seekbar","_this10","previousSeekPercentage","_poster","PosterPlugin","_UIContainerPlugin","hasStartedPlaying","playRequested","showOnVideoEnd","hasFatalError","showPlayButton","updatePlayButton","hidePlayButton","$playButton","shouldHideOnPlay","updatePoster","hidePoster","showPoster","custom","$playWrapper","_seek_time","SeekTime","hoveringOverSeekBar","hoverPosition","actualLiveTime","actualLiveServerTime","actualLiveServerTimeDiff","mediaControlContainer","isLiveStreamWithDvr","showTime","hideTime","updateDuration","calculateHoverPosition","getSeekTime","secondsSinceMidnight","useActualLiveTime","setHours","shouldBeVisible","currentSeekTime","displayedSeekTime","$seekTimeEl","durationShown","$durationEl","currentDuration","elWidth","elLeftPos","SourcesPlugin","onContainersCreated","firstValidSource","_spinner_three_bounce","_spinner2","showTimeout","_stats","StatsPlugin","setInitialAttrs","reportInterval","onStatsAdd","firstPlay","startupTime","rebufferingTime","watchingTime","rebuffers","externalMetrics","watchingTimeInit","intervalId","report","startupTimeInit","rebufferingTimeInit","getRebufferingTime","getWatchingTime","isRebuffering","metric","getStats","Strings","_initializeMessages","_language","fallbackLang","_messages","strings","_watermark","watermark","imageUrl","imageLink","watermarkLink","templateOptions","_kibo","_kibo2","KEY_NAMES_BY_CODE","8","9","13","16","17","18","20","27","32","37","38","39","40","48","49","50","51","52","53","54","55","56","57","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","112","113","114","115","116","117","118","119","120","121","122","123","KEY_CODES_BY_NAME","MODIFIERS","registerEvent","attachEvent","unregisterEvent","detachEvent","stringContains","neatString","capitalize","what","arrayIncludes","haystack","needle","extractModifiers","keyCombination","modifiers","extractKey","modifiersAndKey","keyName","keyCode","lastKeyCode","lastModifiers","keysDown","any","keysUp","downHandler","upHandler","unloader","upOrDown","registeredKeys","lastModifiersAndKey","registerKeys","newKeys","unregisterKeys","up","lastKey","modifier","__WEBPACK_EXTERNAL_MODULE_clappr__","innerGlobal","exportTo","q","ca","da","ea","fa","ia","ja","ka","la","Promise","ma","u","y","race","pa","na","qa","ta","Ae","va","tg","wa","xa","ya","Ld","Wd","za","Aa","Ba","Ca","Fa","Ga","Ha","Ja","Ma","Na","Ia","z","Pa","Qa","Td","ve","Sa","seal","X","WeakMap","Map","Ra","Ta","Wa","execScript","Xa","Eg","Ya","Za","$a","ab","bb","db","getBandwidthEstimate","hb","ib","jb","sa","kb","Ab","lb","mb","ob","tb","decodeURI","encodeURI","yb","pb","qb","rb","zb","maxAttempts","baseDelay","backoffFactor","fuzzFactor","Cb","category","handled","H","Zd","Db","Eb","Hb","Ib","Jb","Kb","I","cancelable","isTrusted","Lb","Mb","Jc","$b","Nb","Set","Ob","Pb","Rb","Sb","Tb","J","ha","fc","yc","tickNow","tickAfter","tickEvery","Severity","RECOVERABLE","CRITICAL","Category","NETWORK","TEXT","MEDIA","STREAMING","DRM","PLAYER","CAST","STORAGE","Code","UNSUPPORTED_SCHEME","BAD_HTTP_STATUS","HTTP_ERROR","TIMEOUT","MALFORMED_DATA_URI","UNKNOWN_DATA_URI_ENCODING","REQUEST_FILTER_ERROR","RESPONSE_FILTER_ERROR","MALFORMED_TEST_URI","UNEXPECTED_TEST_REQUEST","INVALID_TEXT_HEADER","INVALID_TEXT_CUE","UNABLE_TO_DETECT_ENCODING","BAD_ENCODING","INVALID_XML","INVALID_MP4_TTML","INVALID_MP4_VTT","UNABLE_TO_EXTRACT_CUE_START_TIME","BUFFER_READ_OUT_OF_BOUNDS","JS_INTEGER_OVERFLOW","EBML_OVERFLOW","EBML_BAD_FLOATING_POINT_SIZE","MP4_SIDX_WRONG_BOX_TYPE","MP4_SIDX_INVALID_TIMESCALE","MP4_SIDX_TYPE_NOT_SUPPORTED","WEBM_CUES_ELEMENT_MISSING","WEBM_EBML_HEADER_ELEMENT_MISSING","WEBM_SEGMENT_ELEMENT_MISSING","WEBM_INFO_ELEMENT_MISSING","WEBM_DURATION_ELEMENT_MISSING","WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING","WEBM_CUE_TIME_ELEMENT_MISSING","MEDIA_SOURCE_OPERATION_FAILED","MEDIA_SOURCE_OPERATION_THREW","VIDEO_ERROR","QUOTA_EXCEEDED_ERROR","TRANSMUXING_FAILED","UNABLE_TO_GUESS_MANIFEST_TYPE","DASH_INVALID_XML","DASH_NO_SEGMENT_INFO","DASH_EMPTY_ADAPTATION_SET","DASH_EMPTY_PERIOD","DASH_WEBM_MISSING_INIT","DASH_UNSUPPORTED_CONTAINER","DASH_PSSH_BAD_ENCODING","DASH_NO_COMMON_KEY_SYSTEM","DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED","DASH_CONFLICTING_KEY_IDS","UNPLAYABLE_PERIOD","RESTRICTIONS_CANNOT_BE_MET","NO_PERIODS","HLS_PLAYLIST_HEADER_MISSING","INVALID_HLS_TAG","HLS_INVALID_PLAYLIST_HIERARCHY","DASH_DUPLICATE_REPRESENTATION_ID","HLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND","HLS_COULD_NOT_GUESS_MIME_TYPE","HLS_MASTER_PLAYLIST_NOT_PROVIDED","HLS_REQUIRED_ATTRIBUTE_MISSING","HLS_REQUIRED_TAG_MISSING","HLS_COULD_NOT_GUESS_CODECS","HLS_KEYFORMATS_NOT_SUPPORTED","DASH_UNSUPPORTED_XLINK_ACTUATE","DASH_XLINK_DEPTH_LIMIT","HLS_COULD_NOT_PARSE_SEGMENT_START_TIME","CONTENT_UNSUPPORTED_BY_BROWSER","CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM","HLS_AES_128_ENCRYPTION_NOT_SUPPORTED","HLS_INTERNAL_SKIP_STREAM","INVALID_STREAMS_CHOSEN","NO_RECOGNIZED_KEY_SYSTEMS","REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE","FAILED_TO_CREATE_CDM","FAILED_TO_ATTACH_TO_VIDEO","INVALID_SERVER_CERTIFICATE","FAILED_TO_CREATE_SESSION","FAILED_TO_GENERATE_LICENSE_REQUEST","LICENSE_REQUEST_FAILED","LICENSE_RESPONSE_REJECTED","ENCRYPTED_CONTENT_WITHOUT_DRM_INFO","NO_LICENSE_SERVER_GIVEN","OFFLINE_SESSION_REMOVED","EXPIRED","SERVER_CERTIFICATE_REQUIRED","INIT_DATA_TRANSFORM_ERROR","LOAD_INTERRUPTED","OPERATION_ABORTED","NO_VIDEO_ELEMENT","CAST_API_UNAVAILABLE","NO_CAST_RECEIVERS","ALREADY_CASTING","UNEXPECTED_CAST_ERROR","CAST_CANCELED_BY_USER","CAST_CONNECTION_TIMED_OUT","CAST_RECEIVER_APP_UNAVAILABLE","STORAGE_NOT_SUPPORTED","INDEXED_DB_ERROR","DEPRECATED_OPERATION_ABORTED","REQUESTED_ITEM_NOT_FOUND","MALFORMED_OFFLINE_URI","CANNOT_STORE_LIVE_OFFLINE","STORE_ALREADY_IN_PROGRESS","NO_INIT_DATA_FOR_OFFLINE","LOCAL_PLAYER_INSTANCE_REQUIRED","NEW_KEY_OPERATION_NOT_SUPPORTED","KEY_NOT_FOUND","MISSING_STORAGE_CELL","failed","completed","notAbortable","chain","getAll","handleEvent","RequestType","SEGMENT","LICENSE","APP","TIMING","PluginPriority","FALLBACK","PREFERRED","APPLICATION","Ub","Vb","priority","Rf","Wb","uris","allowCrossSiteCredentials","retryParameters","licenseRequestType","Xb","Yb","bc","ec","dc","registerScheme","unregisterScheme","Tf","registerRequestFilter","vg","unregisterRequestFilter","Ie","clearAllRequestFilters","Uf","registerResponseFilter","wg","unregisterResponseFilter","Je","clearAllResponseFilters","defaultRetryParameters","makeRequest","request","qd","Zb","timeMs","qf","ac","fromCache","NumBytesRemainingClass","PendingRequest","release","listen","listenOnce","unlisten","removeAll","gc","RangeError","hc","ic","jc","kc","lc","mc","nc","oc","rc","qc","sc","tc","uc","vc","includes","wc","xc","zc","Bc","Cc","Uint16Array","getUint16","Dc","Ec","setUint16","Fc","L","Gc","Hc","oa","expiration","onExpirationUpdated","Ic","Nc","Mc","clearKeys","Qc","kty","kid","kids","licenseServerUri","distinctiveIdentifierRequired","persistentStateRequired","audioRobustness","videoRobustness","serverCertificate","keyIds","drmInfos","Rc","servers","Sc","advanced","audioCapabilities","distinctiveIdentifier","persistentState","sessionTypes","robustness","Tc","Pc","Vc","setServerCertificate","Wc","$c","Zc","Xc","ad","bd","cd","getConfiguration","keyId","dd","fe","de","ed","initDataTransform","errorCode","systemCode","fd","Uc","messageType","individualizationServer","DOMParser","parseFromString","gd","fairPlayTransform","ub","ckc","jd","ld","md","nd","Kc","closed","cast","__platform__","Ac","delayLicenseRequestUntilPlayed","keyStatuses","kd","od","muxjs","CaptionParser","pd","rd","sd","td","videoTrackIds","captions","clearParsedCaptions","resetCaptionStream","ud","Ke","vd","wd","xd","ra","Cg","Ag","Bd","Transmuxer","keepOriginalTimestamps","Cd","Dd","Fd","direction","Gd","Hd","positionAlign","Id","textAlign","Jd","writingMode","Kd","lineInterpretation","lineHeight","Md","displayAlign","Nd","fontSize","backgroundImage","backgroundColor","fontWeight","Od","fontStyle","Pd","fontFamily","textDecoration","wrapLine","nestedCues","spacer","dispose","LEFT","RIGHT","CENTER","AUTO","Qd","START","END","Rd","BEFORE","AFTER","HORIZONTAL_LEFT_TO_RIGHT","HORIZONTAL_RIGHT_TO_LEFT","HORIZONTAL_TOP_TO_BOTTOM","VERTICAL_LEFT_TO_RIGHT","VERTICAL_RIGHT_TO_LEFT","LINE_NUMBER","PERCENTAGE","Sd","NORMAL","ITALIC","OBLIQUE","regionAnchorY","regionAnchorX","viewportAnchorY","viewportAnchorX","viewportAnchorUnits","widthUnits","heightUnits","Ud","scroll","Vd","UNDERLINE","LINE_THROUGH","OVERLINE","PX","LINES","scrollMode","NONE","UP","Xd","Yd","be","ce","parseMedia","periodStart","segmentStart","segmentEnd","pc","ge","he","ie","je","le","parseInit","$d","Ed","me","ne","ae","se","qe","M","te","ue","we","lg","xb","Pe","Y","Be","appendWindowStart","appendWindowEnd","kg","hg","N","minWidth","maxWidth","minHeight","maxHeight","minPixels","maxPixels","frameRate","minFrameRate","maxFrameRate","minBandwidth","maxBandwidth","allowedByApplication","filterNewPeriod","variants","textStreams","roles","pixelAspectRatio","primary","audioRoles","videoId","channelsCount","audioSamplingRate","audioBandwidth","videoBandwidth","originalVideoId","originalAudioId","originalTextId","originalId","__shaka_id","yf","sf","rf","allowedByKeySystem","df","tf","wf","nf","Gg","xe","ye","ze","Ce","chooseVariant","restrictions","defaultBandwidthEstimate","bandwidthUpgradeTarget","bandwidthDowngradeTarget","segmentDownloaded","switchInterval","setVariants","De","Ee","Fe","Ge","He","getAssetUri","getAudioLanguages","getAudioLanguagesAndRoles","getBufferedInfo","getExpiration","getPlaybackRate","getTextLanguages","getTextLanguagesAndRoles","getTextTracks","getVariantTracks","isBuffering","isInProgress","isLive","isTextTrackVisible","seekRange","usingEmbeddedTextTrack","getLoadMode","getPlayheadTimeAsDate","getPresentationStartTimeAsDate","Le","Me","Ne","Oe","TimeRanges","__type__","NaN","Qe","Re","Ff","Se","Te","Ue","Xe","Ze","Ye","We","removeUpdateListener","removeMessageListener","Ve","$e","sendMessage","ga","chrome","isAvailable","SessionRequest","ApiConfig","SessionStatus","appData","requestSession","Wf","targetName","addUpdateListener","addMessageListener","initState","methodName","receiver","friendlyName","af","bf","cf","ef","gf","hf","jf","ff","playerAfterLoad","autoplay","detail","kf","lf","CastReceiverManager","onSenderConnected","onSenderDisconnected","onSystemVolumeChanged","getCastMessageBus","onMessage","Af","Kf","canDisplayType","mf","of","pf","V","getSystemVolume","contentId","getCastChannel","broadcast","mediaSessionId","playerState","supportedMediaCommands","requestId","__onGCastApiAvailable","getVideo","getPlayer","canCast","isCasting","receiverName","setAppData","sg","suggestDisconnect","changeReceiverId","forceDisconnect","isConnected","vf","isIdle","getSenders","setSystemVolumeLevel","setSystemVolumeMuted","senderId","resumeState","customData","Q","uf","xf","reader","partialOkay","zf","Bf","Endianness","Bg","Dg","hasMoreData","getLength","readUint8","ke","getInt32","readInt32","Bb","readUint64","readBytes","skip","rewind","readTerminatedString","fullBox","parseNext","sampleDescription","allData","typeToString","Oc","Element","localName","namespaceURI","getAttributeNS","hasAttributeNS","Node","TEXT_NODE","CDATA_SECTION_NODE","Of","Ea","Df","Ef","Lf","Gf","Fg","Xf","If","Jf","Mf","RepresentationID","Bandwidth","Time","Nf","Pf","xg","aa","removeAttributeNS","Qf","Sf","Vf","Yf","Zf","$f","ag","bg","dg","yg","eg","presentationTimeline","createSegmentIndex","vb","findSegmentPosition","getSegmentReference","gg","ig","jg","La","Lc","initSegmentReference","mg","og","ng","Qb","pg","qg","createUris","getStartByte","getEndByte","getStartTime","getEndTime","merge","evict","getFloat32","getFloat64","cg","rg","Range","ug","networkingEngine","dash","xlinkFailGracefully","ba","Ua","Da","eb","fb","ignoreMinBufferTime","ignoreSuggestedPresentationDelay","defaultPresentationDelay","autoCorrectDrift","gb","zd","wb","Fb","Va","Gb","Ad","Ph","periods","filterAllPeriods","availabilityWindowOverride","offlineSessionIds","minBufferTime","clockSyncUri","zg","pe","streams","trickModeVideo","disableAudio","disableVideo","disableText","emsgSchemeIdUris","date","Hg","Ig","Jg","Kg","Lg","mpd","m3u8","ism","getExtension","getMaxSegmentDuration","setDuration","getPresentationStartTime","setClockOffset","setStatic","setSegmentAvailabilityDuration","setDelay","getDelay","notifySegments","notifyMinSegmentStartTime","notifyMaxSegmentDuration","getSegmentAvailabilityStart","setUserSeekStart","getSegmentAvailabilityEnd","getSafeSeekRangeStart","getSeekRangeStart","getSeekRangeEnd","usingPresentationStartTime","customScheme","ignoreDrmInfo","ignoreEmptyAdaptationSet","fg","Hf","presentationTimeOffset","schemeIdUri","eventElement","onTimelineRegionAdded","Mg","Yc","Ng","Og","Pg","Qg","Rg","Sg","Tg","Ug","Vg","Wg","Xg","Yg","Zg","$g","dh","ch","ah","eh","fh","qh","sh","oh","ih","th","Ka","Oh","uh","Ah","vh","nh","wh","Ih","xh","yh","zh","Bh","hh","Dh","Eh","Fh","Gh","Ch","Hh","jh","ignoreTextStreamFailures","kh","mh","ph","rh","lh","gh","bh","m4s","m4i","m4a","ac3","ec3","m4v","vtt","ttml","Jh","Kh","Lh","Mh","variant","Nh","Qh","Rh","Sh","Th","Uh","Yh","Zh","$h","ai","Vh","Wh","Xh","bi","ci","ei","fi","gi","smallGapLimit","gapSize","jumpLargeGaps","hi","ii","ji","ki","li","ni","oi","pi","qi","ri","si","ti","ui","vi","wi","stallEnabled","stallSkip","stallThreshold","di","yi","zi","Ci","Bi","Ai","durationBackoff","rebufferingGoal","safeSeekOffset","Di","Fi","Gi","Hi","Ii","Ki","Oi","Pi","Qi","Ri","Si","isTextVisible","alwaysStreamText","Mi","Ti","Ui","Vi","Wi","Xi","Yi","Zi","bj","$i","Oa","Li","aj","Ni","forceTransmuxTS","dj","ej","fj","jj","kj","bufferingGoal","oj","nj","bufferBehind","sj","pj","qj","rj","hj","lj","gj","tj","ij","mj","failureCallback","uj","vj","signal","credentials","wj","withCredentials","onabort","getAllResponseHeaders","ontimeout","xj","zj","Aj","yj","Bj","Dj","objectStore","oncomplete","Ej","openCursor","onsuccess","Fj","Gj","Hj","transaction","Ij","Jj","Kj","Lj","Mj","Nj","Rj","getCells","Uj","Oj","Cf","presentationTimeDelta","eventDuration","messageData","getReader","read","enqueue","ReadableStream","fetch","AbortController","Headers","hasFixedKeySpace","addSegments","removeSegments","getSegments","addManifests","updateManifestExpiration","put","removeManifests","getManifests","getAllManifests","erase","Vj","Wj","variantIds","Xj","Yj","initSegmentUri","Zj","initSegmentKey","ak","dataKey","bk","ck","ek","fk","gk","ik","kk","jk","lk","mk","nk","ok","pk","qk","sessionIds","licenseUri","rk","sk","handleError","xk","uk","wk","vk","yk","Ak","zk","Bk","Ck","Dk","Ek","connection","downlink","saveData","startAtSegmentBoundary","useNativeHlsOnSafari","trackSelectionCallback","progressCallback","usePersistentLicense","drm","streaming","offline","abrFactory","abr","preferredAudioLanguage","preferredTextLanguage","preferredVariantRole","preferredTextRole","preferredAudioChannelCount","playRangeStart","playRangeEnd","textDisplayFactory","Fk","Gk","Hk","Ik","Jk","Lk","Mk","Nk","Ok","Pk","gl","Qk","Rk","Sk","Tk","Ei","il","jl","kl","Uk","ll","ml","Vk","nl","ol","ql","cj","Dl","sl","mi","zl","Ji","tl","ul","vl","wl","xl","Al","yl","Bl","Wk","Xk","Cl","HTMLMediaElement","HAVE_CURRENT_DATA","Yk","Zk","originalManifestUri","drmInfo","appMetadata","indexedDB","objectStoreNames","onupgradeneeded","createObjectStore","autoIncrement","getEmeSessionCell","deleteDatabase","onblocked","dk","hk","setTextVisibility","mergeConfigObjects","$k","al","bl","cl","hl","El","Fl","Gl","fromAdaptation","Ll","Ul","Ol","Pl","Ml","Nl","Sl","Vl","Tl","msExtendedCode","hasAppRestrictions","missingKeys","restrictedKeyStatuses","Rl","Ql","role","Il","Hl","dl","registerSupportPlugin","isBrowserSupported","MediaKeys","MediaKeySystemAccess","probeSupport","attach","unload","webm","weba","mkv","ogv","ogg","mpg","flac","wav","fl","resetConfiguration","getMediaElement","getNetworkingEngine","getManifestUri","videoTracks","videoHeight","seekable","trickPlay","cancelTrickPlay","Jl","Kl","selectTextTrack","selectEmbeddedTextTrack","selectVariantTrack","selectAudioLanguage","selectTextLanguage","selectVariantsByLabel","setTextTrackVisibility","getStartDate","streamBandwidth","corruptedFrames","estimatedBandwidth","loadLatency","playTime","pauseTime","bufferingTime","licenseTime","switchHistory","stateHistory","corruptedVideoFrames","Kk","setMaxHardwareResolution","retryStreaming","getManifest","getManifestParserFactory","Yl","Xl","offlineUri","Zl","$l","bm","cm","gm","hm","im","km","jm","lm","nm","Cm","Am","Tj","Dm","Bm","Em","Km","Lm","am","sm","qm","om","Mm","LoadMode","DESTROYED","MEDIA_SOURCE","SRC_EQUALS","Hm","rm","tm","dm","em","fm","mm","wm","um","Pj","Wl","xm","Jm","Im","ym","Cj","vm","pm","getStoreInProgress","zm","Sj","Fm","removeEmeSessions","Qj","deleteAll","Nm","qn","Om","Qm","Rm","HTMLInputElement","originalAddEventListener","Sm","Xm","Ym","initDataTypes","WebKitMediaKeys","DOMException","NOT_SUPPORTED_ERR","$m","an","Zm","cn","webkitSetMediaKeys","bn","dn","en","gn","hn","MSMediaKeys","kn","ln","jn","nn","msSetMediaKeys","mn","initCustomEvent","pn","rn","tn","un","Pm","Document","languages","eotf","Wm","Um","Tm","Vm","WebKitMediaKeyError","MEDIA_KEYERR_OUTPUT","MEDIA_KEYERR_HARDWARECHANGE","MSMediaKeyError","MS_MEDIA_KEYERR_OUTPUT","MS_MEDIA_KEYERR_HARDWARECHANGE","Hn","vn","wn","xn","yn","zn","An","Bn","Dn","Cn","Fn","Gn","En","In","webkitPresentationMode","pictureInPictureElement","Jn","webkitSupportsPresentationMode","webkitSetPresentationMode","Kn","Ln","hasAttribute","Mn","Nn","creationTime","totalFrameDelay","On","Pn","Qn","MediaKeyError","yd","webkitGenerateKeyRequest","generateKeyRequest","requestPictureInPicture","exitPictureInPicture","pictureInPictureEnabled","Rn","Sn","Tn","Un","Vn","Wn","xo","Go","Xn","Yn","Zn","$n","ao","bo","co","eo","fo","ELEMENT_NODE","ho","go","io","ko","lo","mo","jo","no","oo","po","ro","so","qo","to","uo","vo","wo","yo","zo","assert","Ao","Bo","Co","Do","Eo","encryptionScheme","Fo","Ho","mediaCapabilities","decodingInfo","Io","keySystemConfiguration","keySystemAccess","Jo","powerEfficient","smooth","supported","configuration","Ko","sampleSize","install","shaka","webpackPolyfill","deprecate","paths","_get","_createClass","_clappr","_shakaPlayer","_shakaPlayer2","_classCallCheck","_possibleConstructorReturn","DashShakaPlayback","_pendingAdaptationEvent","_isShakaReadyState","shakaMinimumDvrSize","_inherits","shakaPlayerInstance","_player","_currentLevelId","isAuto","selectTrack","polyfill","installAll","browserSupported","SHAKA_READY","sendStatsId","_sendStats","_onAdaptation","isEnable","_shakaTTVisible","_destroy","_createPlayer","shakaConfiguration","shakaOnBeforeLoad","_loaded","_setupError","_onBuffering","fragDateTime","_onShakaReady","_startToSendStats","intervalMs","shakaSendStatsInterval","shakaError","videoError","_ref2","util","activeVideo","_enableShakaTextTrack","__WEBPACK_EXTERNAL_MODULE_84__","copyright","_main","_main2","_levelSelector2","_style2","LevelSelector","bindPlaybackEvents","hideSelectLevelMenu","fillLevels","startLevelSwitch","stopLevelSwitch","updateCurrentLevel","respondsToCurrentLevel","hasLevels","getTitle","highlightCurrentLevel","initialLevel","selectedLevelId","onLevelsAvailable","levelSelectorConfig","configureLevelsLabels","hasLabels","labels","findLevelBy","foundLevel","onLevelSelect","levelSelectorSelect","onShowLevelSelectMenu","buttonElement","levelElement","updateText","currentLanguage","VERSION","prependListener","prependOnceListener","toAbsoluteIndex","DOMIterables","$GOPS","es6Symbols","wellKnownSymbols","FAILS_ON_PRIMITIVES","memoize","getHeadElement","singletonElement","styleElement","linkElement","__webpack_exports__","api","exported","getIndexByIdentifier","modulesToDom","idCountMap","identifiers","updater","nonce","insert","lastIdentifiers","newLastIdentifiers","_index","___CSS_LOADER_API_IMPORT___","base64","dedupe","ErrorPlugin","max_timeout","_err","txt","errorPlugin","getMediaLectureSources","slug","operationName","variables","TextDecoder","queryGraph","lectureBySlug","videos","VOCPlayer","maxTimeout","_playerPromise","_getConfig","AudioTrackSelector","configPromise","vocStream","errorHandler","hasMSE","playbackLevel","getStreamConfig","_handleError","vocLecture","customLabel","sourceConfig","audioTrackSelectorConfig","_handlePlay","_handleStop","_handleBufferFull","_handleMediaControlHide","_handleMediaControlShow","clearOverlay","_recovery","_getTimeout","_waitForMedia","_resetTimeout","HEADERS_RECEIVED","checkMedia","_handleMediaCheck"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,iBAAZC,SAA0C,iBAAXC,OACxCA,OAAOD,QAAUD,IACQ,mBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,iBAAZC,QACdA,QAAmB,UAAID,IAEvBD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BACNu3E,MAAO,UACPm9B,WAAY,iBACZtvF,QAAS,OACR,CACDplB,KAAM,YACNu3E,MAAO,UACPm9B,WAAY,iBACZtvF,QAAS,OACR,CACDplB,KAAM,YACNu3E,MAAO,UACPm9B,WAAY,iBACZtvF,QAAS,OACR,CACDplB,KAAM,cACNu3E,MAAO,UACPm9B,WAAY,iBACZtvF,QAAS,OACR,CACDplB,KAAM,aACNu3E,MAAO,UACPm9B,WAAY,kBACZtvF,QAAS,QACR,CACDplB,KAAM,gBACNu3E,MAAO,gBACPm9B,WAAY,2BACX,CACD10G,KAAM,gBACNu3E,MAAO,gBACPm9B,WAAY,8BACX,CACD10G,KAAM,UACNu3E,MAAO,UACPm9B,WAAY,WACX,CACD10G,KAAM,YACNu3E,MAAO,YACPm9B,WAAY,QACX,CACD10G,KAAM,UACNu3E,MAAO,UACPm9B,WAAY,UACZC,kBAAmB,4BAClB,CACD30G,KAAM,OACNu3E,MAAO,MACPm9B,WAAY,OACZC,kBAAmB,eACnBe,iBAAkB,SACjB,CACD11G,KAAM,OACNu3E,MAAO,MACPm9B,WAAY,OACZC,kBAAmB,eACnBe,iBAAkB,SACjB,CACD11G,KAAM,SACNu3E,MAAO,MACPm9B,WAAY,YACZC,kBAAmB,eACnBe,iBAAkB,SACjB,CACD11G,KAAM,uBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,kBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,sBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,oBACNu3E,MAAO,SACPm9B,WAAY,mCACZgB,iBAAkB,SACjB,CACD11G,KAAM,qBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,yBACNu3E,MAAO,SACPm9B,WAAY,kCACZgB,iBAAkB,SACjB,CACD11G,KAAM,gBACNu3E,MAAO,SACPm9B,WAAY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,KAAKkvL,QAAQhsF,UAAU,CACrBhoG,OAAQ8E,KAAKkvL,QAAQz/K,QAAQvU,OAC7BuiH,UAAU,IAGPyY,GACHl2H,KAAKkvL,QAAQrxE,c,8BAtOoB5kB","file":"player.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"VOCPlayer\"] = factory();\n\telse\n\t\troot[\"VOCPlayer\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 8);\n","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Clappr\"] = factory();\n\telse\n\t\troot[\"Clappr\"] = factory();\n})(window, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/main.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/babel-runtime/core-js/array/from.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/array/from.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/array/from */ \"./node_modules/core-js/library/fn/array/from.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/get-iterator.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/get-iterator.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/get-iterator */ \"./node_modules/core-js/library/fn/get-iterator.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/json/stringify.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/json/stringify.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/json/stringify */ \"./node_modules/core-js/library/fn/json/stringify.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/assign.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/assign.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/assign */ \"./node_modules/core-js/library/fn/object/assign.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/create.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/create.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/create */ \"./node_modules/core-js/library/fn/object/create.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/define-property.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/define-property.js ***!\n \\**********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/define-property */ \"./node_modules/core-js/library/fn/object/define-property.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js\":\n/*!**********************************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js ***!\n \\**********************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/get-own-property-descriptor */ \"./node_modules/core-js/library/fn/object/get-own-property-descriptor.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/keys.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/keys.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/keys */ \"./node_modules/core-js/library/fn/object/keys.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/object/set-prototype-of.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/object/set-prototype-of.js ***!\n \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/object/set-prototype-of */ \"./node_modules/core-js/library/fn/object/set-prototype-of.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/symbol.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/symbol.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/symbol */ \"./node_modules/core-js/library/fn/symbol/index.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/core-js/symbol/iterator.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/babel-runtime/core-js/symbol/iterator.js ***!\n \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(/*! core-js/library/fn/symbol/iterator */ \"./node_modules/core-js/library/fn/symbol/iterator.js\"), __esModule: true };\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/classCallCheck.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/classCallCheck.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/createClass.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/createClass.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _defineProperty = __webpack_require__(/*! ../core-js/object/define-property */ \"./node_modules/babel-runtime/core-js/object/define-property.js\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/extends.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/extends.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _assign = __webpack_require__(/*! ../core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _assign2.default || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/inherits.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/inherits.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = __webpack_require__(/*! ../core-js/object/set-prototype-of */ \"./node_modules/babel-runtime/core-js/object/set-prototype-of.js\");\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = __webpack_require__(/*! ../core-js/object/create */ \"./node_modules/babel-runtime/core-js/object/create.js\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = __webpack_require__(/*! ../helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\":\n/*!*************************************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/possibleConstructorReturn.js ***!\n \\*************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _typeof2 = __webpack_require__(/*! ../helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/toConsumableArray.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _from = __webpack_require__(/*! ../core-js/array/from */ \"./node_modules/babel-runtime/core-js/array/from.js\");\n\nvar _from2 = _interopRequireDefault(_from);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return (0, _from2.default)(arr);\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/babel-runtime/helpers/typeof.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/babel-runtime/helpers/typeof.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _iterator = __webpack_require__(/*! ../core-js/symbol/iterator */ \"./node_modules/babel-runtime/core-js/symbol/iterator.js\");\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = __webpack_require__(/*! ../core-js/symbol */ \"./node_modules/babel-runtime/core-js/symbol.js\");\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/clappr-zepto/zepto.js\":\n/*!********************************************!*\\\n !*** ./node_modules/clappr-zepto/zepto.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n/* Zepto v1.2.0 - zepto ajax callbacks deferred event ie selector - zeptojs.com/license */\n\n\nvar Zepto = (function() {\n var undefined, key, $, classList, emptyArray = [], concat = emptyArray.concat, filter = emptyArray.filter, slice = emptyArray.slice,\n document = window.document,\n elementDisplay = {}, classCache = {},\n cssNumber = { 'column-count': 1, 'columns': 1, 'font-weight': 1, 'line-height': 1,'opacity': 1, 'z-index': 1, 'zoom': 1 },\n fragmentRE = /^\\s*<(\\w+|!)[^>]*>/,\n singleTagRE = /^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,\n tagExpanderRE = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/ig,\n rootNodeRE = /^(?:body|html)$/i,\n capitalRE = /([A-Z])/g,\n\n // special attributes that should be get/set via method calls\n methodAttributes = ['val', 'css', 'html', 'text', 'data', 'width', 'height', 'offset'],\n\n adjacencyOperators = [ 'after', 'prepend', 'before', 'append' ],\n table = document.createElement('table'),\n tableRow = document.createElement('tr'),\n containers = {\n 'tr': document.createElement('tbody'),\n 'tbody': table, 'thead': table, 'tfoot': table,\n 'td': tableRow, 'th': tableRow,\n '*': document.createElement('div')\n },\n readyRE = /complete|loaded|interactive/,\n simpleSelectorRE = /^[\\w-]*$/,\n class2type = {},\n toString = class2type.toString,\n zepto = {},\n camelize, uniq,\n tempParent = document.createElement('div'),\n propMap = {\n 'tabindex': 'tabIndex',\n 'readonly': 'readOnly',\n 'for': 'htmlFor',\n 'class': 'className',\n 'maxlength': 'maxLength',\n 'cellspacing': 'cellSpacing',\n 'cellpadding': 'cellPadding',\n 'rowspan': 'rowSpan',\n 'colspan': 'colSpan',\n 'usemap': 'useMap',\n 'frameborder': 'frameBorder',\n 'contenteditable': 'contentEditable'\n },\n isArray = Array.isArray ||\n function(object){ return object instanceof Array }\n\n zepto.matches = function(element, selector) {\n if (!selector || !element || element.nodeType !== 1) return false\n var matchesSelector = element.matches || element.webkitMatchesSelector ||\n element.mozMatchesSelector || element.oMatchesSelector ||\n element.matchesSelector\n if (matchesSelector) return matchesSelector.call(element, selector)\n // fall back to performing a selector:\n var match, parent = element.parentNode, temp = !parent\n if (temp) (parent = tempParent).appendChild(element)\n match = ~zepto.qsa(parent, selector).indexOf(element)\n temp && tempParent.removeChild(element)\n return match\n }\n\n function type(obj) {\n return obj == null ? String(obj) :\n class2type[toString.call(obj)] || \"object\"\n }\n\n function isFunction(value) { return type(value) == \"function\" }\n function isWindow(obj) { return obj != null && obj == obj.window }\n function isDocument(obj) { return obj != null && obj.nodeType == obj.DOCUMENT_NODE }\n function isObject(obj) { return type(obj) == \"object\" }\n function isPlainObject(obj) {\n return isObject(obj) && !isWindow(obj) && Object.getPrototypeOf(obj) == Object.prototype\n }\n\n function likeArray(obj) {\n var length = !!obj && 'length' in obj && obj.length,\n type = $.type(obj)\n\n return 'function' != type && !isWindow(obj) && (\n 'array' == type || length === 0 ||\n (typeof length == 'number' && length > 0 && (length - 1) in obj)\n )\n }\n\n function compact(array) { return filter.call(array, function(item){ return item != null }) }\n function flatten(array) { return array.length > 0 ? $.fn.concat.apply([], array) : array }\n camelize = function(str){ return str.replace(/-+(.)?/g, function(match, chr){ return chr ? chr.toUpperCase() : '' }) }\n function dasherize(str) {\n return str.replace(/::/g, '/')\n .replace(/([A-Z]+)([A-Z][a-z])/g, '$1_$2')\n .replace(/([a-z\\d])([A-Z])/g, '$1_$2')\n .replace(/_/g, '-')\n .toLowerCase()\n }\n uniq = function(array){ return filter.call(array, function(item, idx){ return array.indexOf(item) == idx }) }\n\n function classRE(name) {\n return name in classCache ?\n classCache[name] : (classCache[name] = new RegExp('(^|\\\\s)' + name + '(\\\\s|$)'))\n }\n\n function maybeAddPx(name, value) {\n return (typeof value == \"number\" && !cssNumber[dasherize(name)]) ? value + \"px\" : value\n }\n\n function defaultDisplay(nodeName) {\n var element, display\n if (!elementDisplay[nodeName]) {\n element = document.createElement(nodeName)\n document.body.appendChild(element)\n display = getComputedStyle(element, '').getPropertyValue(\"display\")\n element.parentNode.removeChild(element)\n display == \"none\" && (display = \"block\")\n elementDisplay[nodeName] = display\n }\n return elementDisplay[nodeName]\n }\n\n function children(element) {\n return 'children' in element ?\n slice.call(element.children) :\n $.map(element.childNodes, function(node){ if (node.nodeType == 1) return node })\n }\n\n function Z(dom, selector) {\n var i, len = dom ? dom.length : 0\n for (i = 0; i < len; i++) this[i] = dom[i]\n this.length = len\n this.selector = selector || ''\n }\n\n // `$.zepto.fragment` takes a html string and an optional tag name\n // to generate DOM nodes from the given html string.\n // The generated DOM nodes are returned as an array.\n // This function can be overridden in plugins for example to make\n // it compatible with browsers that don't support the DOM fully.\n zepto.fragment = function(html, name, properties) {\n var dom, nodes, container\n\n // A special case optimization for a single tag\n if (singleTagRE.test(html)) dom = $(document.createElement(RegExp.$1))\n\n if (!dom) {\n if (html.replace) html = html.replace(tagExpanderRE, \"<$1></$2>\")\n if (name === undefined) name = fragmentRE.test(html) && RegExp.$1\n if (!(name in containers)) name = '*'\n\n container = containers[name]\n container.innerHTML = '' + html\n dom = $.each(slice.call(container.childNodes), function(){\n container.removeChild(this)\n })\n }\n\n if (isPlainObject(properties)) {\n nodes = $(dom)\n $.each(properties, function(key, value) {\n if (methodAttributes.indexOf(key) > -1) nodes[key](value)\n else nodes.attr(key, value)\n })\n }\n\n return dom\n }\n\n // `$.zepto.Z` swaps out the prototype of the given `dom` array\n // of nodes with `$.fn` and thus supplying all the Zepto functions\n // to the array. This method can be overridden in plugins.\n zepto.Z = function(dom, selector) {\n return new Z(dom, selector)\n }\n\n // `$.zepto.isZ` should return `true` if the given object is a Zepto\n // collection. This method can be overridden in plugins.\n zepto.isZ = function(object) {\n return object instanceof zepto.Z\n }\n\n // `$.zepto.init` is Zepto's counterpart to jQuery's `$.fn.init` and\n // takes a CSS selector and an optional context (and handles various\n // special cases).\n // This method can be overridden in plugins.\n zepto.init = function(selector, context) {\n var dom\n // If nothing given, return an empty Zepto collection\n if (!selector) return zepto.Z()\n // Optimize for string selectors\n else if (typeof selector == 'string') {\n selector = selector.trim()\n // If it's a html fragment, create nodes from it\n // Note: In both Chrome 21 and Firefox 15, DOM error 12\n // is thrown if the fragment doesn't begin with <\n if (selector[0] == '<' && fragmentRE.test(selector))\n dom = zepto.fragment(selector, RegExp.$1, context), selector = null\n // If there's a context, create a collection on that context first, and select\n // nodes from there\n else if (context !== undefined) return $(context).find(selector)\n // If it's a CSS selector, use it to select nodes.\n else dom = zepto.qsa(document, selector)\n }\n // If a function is given, call it when the DOM is ready\n else if (isFunction(selector)) return $(document).ready(selector)\n // If a Zepto collection is given, just return it\n else if (zepto.isZ(selector)) return selector\n else {\n // normalize array if an array of nodes is given\n if (isArray(selector)) dom = compact(selector)\n // Wrap DOM nodes.\n else if (isObject(selector))\n dom = [selector], selector = null\n // If it's a html fragment, create nodes from it\n else if (fragmentRE.test(selector))\n dom = zepto.fragment(selector.trim(), RegExp.$1, context), selector = null\n // If there's a context, create a collection on that context first, and select\n // nodes from there\n else if (context !== undefined) return $(context).find(selector)\n // And last but no least, if it's a CSS selector, use it to select nodes.\n else dom = zepto.qsa(document, selector)\n }\n // create a new Zepto collection from the nodes found\n return zepto.Z(dom, selector)\n }\n\n // `$` will be the base `Zepto` object. When calling this\n // function just call `$.zepto.init, which makes the implementation\n // details of selecting nodes and creating Zepto collections\n // patchable in plugins.\n $ = function(selector, context){\n return zepto.init(selector, context)\n }\n\n function extend(target, source, deep) {\n for (key in source)\n if (deep && (isPlainObject(source[key]) || isArray(source[key]))) {\n if (isPlainObject(source[key]) && !isPlainObject(target[key]))\n target[key] = {}\n if (isArray(source[key]) && !isArray(target[key]))\n target[key] = []\n extend(target[key], source[key], deep)\n }\n else if (source[key] !== undefined) target[key] = source[key]\n }\n\n // Copy all but undefined properties from one or more\n // objects to the `target` object.\n $.extend = function(target){\n var deep, args = slice.call(arguments, 1)\n if (typeof target == 'boolean') {\n deep = target\n target = args.shift()\n }\n args.forEach(function(arg){ extend(target, arg, deep) })\n return target\n }\n\n // `$.zepto.qsa` is Zepto's CSS selector implementation which\n // uses `document.querySelectorAll` and optimizes for some special cases, like `#id`.\n // This method can be overridden in plugins.\n zepto.qsa = function(element, selector){\n var found,\n maybeID = selector[0] == '#',\n maybeClass = !maybeID && selector[0] == '.',\n nameOnly = maybeID || maybeClass ? selector.slice(1) : selector, // Ensure that a 1 char tag name still gets checked\n isSimple = simpleSelectorRE.test(nameOnly)\n return (element.getElementById && isSimple && maybeID) ? // Safari DocumentFragment doesn't have getElementById\n ( (found = element.getElementById(nameOnly)) ? [found] : [] ) :\n (element.nodeType !== 1 && element.nodeType !== 9 && element.nodeType !== 11) ? [] :\n slice.call(\n isSimple && !maybeID && element.getElementsByClassName ? // DocumentFragment doesn't have getElementsByClassName/TagName\n maybeClass ? element.getElementsByClassName(nameOnly) : // If it's simple, it could be a class\n element.getElementsByTagName(selector) : // Or a tag\n element.querySelectorAll(selector) // Or it's not simple, and we need to query all\n )\n }\n\n function filtered(nodes, selector) {\n return selector == null ? $(nodes) : $(nodes).filter(selector)\n }\n\n $.contains = document.documentElement.contains ?\n function(parent, node) {\n return parent !== node && parent.contains(node)\n } :\n function(parent, node) {\n while (node && (node = node.parentNode))\n if (node === parent) return true\n return false\n }\n\n function funcArg(context, arg, idx, payload) {\n return isFunction(arg) ? arg.call(context, idx, payload) : arg\n }\n\n function setAttribute(node, name, value) {\n value == null ? node.removeAttribute(name) : node.setAttribute(name, value)\n }\n\n // access className property while respecting SVGAnimatedString\n function className(node, value){\n var klass = node.className || '',\n svg = klass && klass.baseVal !== undefined\n\n if (value === undefined) return svg ? klass.baseVal : klass\n svg ? (klass.baseVal = value) : (node.className = value)\n }\n\n // \"true\" => true\n // \"false\" => false\n // \"null\" => null\n // \"42\" => 42\n // \"42.5\" => 42.5\n // \"08\" => \"08\"\n // JSON => parse if valid\n // String => self\n function deserializeValue(value) {\n try {\n return value ?\n value == \"true\" ||\n ( value == \"false\" ? false :\n value == \"null\" ? null :\n +value + \"\" == value ? +value :\n /^[\\[\\{]/.test(value) ? $.parseJSON(value) :\n value )\n : value\n } catch(e) {\n return value\n }\n }\n\n $.type = type\n $.isFunction = isFunction\n $.isWindow = isWindow\n $.isArray = isArray\n $.isPlainObject = isPlainObject\n\n $.isEmptyObject = function(obj) {\n var name\n for (name in obj) return false\n return true\n }\n\n $.isNumeric = function(val) {\n var num = Number(val), type = typeof val\n return val != null && type != 'boolean' &&\n (type != 'string' || val.length) &&\n !isNaN(num) && isFinite(num) || false\n }\n\n $.inArray = function(elem, array, i){\n return emptyArray.indexOf.call(array, elem, i)\n }\n\n $.camelCase = camelize\n $.trim = function(str) {\n return str == null ? \"\" : String.prototype.trim.call(str)\n }\n\n // plugin compatibility\n $.uuid = 0\n $.support = { }\n $.expr = { }\n $.noop = function() {}\n\n $.map = function(elements, callback){\n var value, values = [], i, key\n if (likeArray(elements))\n for (i = 0; i < elements.length; i++) {\n value = callback(elements[i], i)\n if (value != null) values.push(value)\n }\n else\n for (key in elements) {\n value = callback(elements[key], key)\n if (value != null) values.push(value)\n }\n return flatten(values)\n }\n\n $.each = function(elements, callback){\n var i, key\n if (likeArray(elements)) {\n for (i = 0; i < elements.length; i++)\n if (callback.call(elements[i], i, elements[i]) === false) return elements\n } else {\n for (key in elements)\n if (callback.call(elements[key], key, elements[key]) === false) return elements\n }\n\n return elements\n }\n\n $.grep = function(elements, callback){\n return filter.call(elements, callback)\n }\n\n if (window.JSON) $.parseJSON = JSON.parse\n\n // Populate the class2type map\n $.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"), function(i, name) {\n class2type[ \"[object \" + name + \"]\" ] = name.toLowerCase()\n })\n\n // Define methods that will be available on all\n // Zepto collections\n $.fn = {\n constructor: zepto.Z,\n length: 0,\n\n // Because a collection acts like an array\n // copy over these useful array functions.\n forEach: emptyArray.forEach,\n reduce: emptyArray.reduce,\n push: emptyArray.push,\n sort: emptyArray.sort,\n splice: emptyArray.splice,\n indexOf: emptyArray.indexOf,\n concat: function(){\n var i, value, args = []\n for (i = 0; i < arguments.length; i++) {\n value = arguments[i]\n args[i] = zepto.isZ(value) ? value.toArray() : value\n }\n return concat.apply(zepto.isZ(this) ? this.toArray() : this, args)\n },\n\n // `map` and `slice` in the jQuery API work differently\n // from their array counterparts\n map: function(fn){\n return $($.map(this, function(el, i){ return fn.call(el, i, el) }))\n },\n slice: function(){\n return $(slice.apply(this, arguments))\n },\n\n ready: function(callback){\n // need to check if document.body exists for IE as that browser reports\n // document ready when it hasn't yet created the body element\n if (readyRE.test(document.readyState) && document.body) callback($)\n else document.addEventListener('DOMContentLoaded', function(){ callback($) }, false)\n return this\n },\n get: function(idx){\n return idx === undefined ? slice.call(this) : this[idx >= 0 ? idx : idx + this.length]\n },\n toArray: function(){ return this.get() },\n size: function(){\n return this.length\n },\n remove: function(){\n return this.each(function(){\n if (this.parentNode != null)\n this.parentNode.removeChild(this)\n })\n },\n each: function(callback){\n emptyArray.every.call(this, function(el, idx){\n return callback.call(el, idx, el) !== false\n })\n return this\n },\n filter: function(selector){\n if (isFunction(selector)) return this.not(this.not(selector))\n return $(filter.call(this, function(element){\n return zepto.matches(element, selector)\n }))\n },\n add: function(selector,context){\n return $(uniq(this.concat($(selector,context))))\n },\n is: function(selector){\n return this.length > 0 && zepto.matches(this[0], selector)\n },\n not: function(selector){\n var nodes=[]\n if (isFunction(selector) && selector.call !== undefined)\n this.each(function(idx){\n if (!selector.call(this,idx)) nodes.push(this)\n })\n else {\n var excludes = typeof selector == 'string' ? this.filter(selector) :\n (likeArray(selector) && isFunction(selector.item)) ? slice.call(selector) : $(selector)\n this.forEach(function(el){\n if (excludes.indexOf(el) < 0) nodes.push(el)\n })\n }\n return $(nodes)\n },\n has: function(selector){\n return this.filter(function(){\n return isObject(selector) ?\n $.contains(this, selector) :\n $(this).find(selector).size()\n })\n },\n eq: function(idx){\n return idx === -1 ? this.slice(idx) : this.slice(idx, + idx + 1)\n },\n first: function(){\n var el = this[0]\n return el && !isObject(el) ? el : $(el)\n },\n last: function(){\n var el = this[this.length - 1]\n return el && !isObject(el) ? el : $(el)\n },\n find: function(selector){\n var result, $this = this\n if (!selector) result = $()\n else if (typeof selector == 'object')\n result = $(selector).filter(function(){\n var node = this\n return emptyArray.some.call($this, function(parent){\n return $.contains(parent, node)\n })\n })\n else if (this.length == 1) result = $(zepto.qsa(this[0], selector))\n else result = this.map(function(){ return zepto.qsa(this, selector) })\n return result\n },\n closest: function(selector, context){\n var nodes = [], collection = typeof selector == 'object' && $(selector)\n this.each(function(_, node){\n while (node && !(collection ? collection.indexOf(node) >= 0 : zepto.matches(node, selector)))\n node = node !== context && !isDocument(node) && node.parentNode\n if (node && nodes.indexOf(node) < 0) nodes.push(node)\n })\n return $(nodes)\n },\n parents: function(selector){\n var ancestors = [], nodes = this\n while (nodes.length > 0)\n nodes = $.map(nodes, function(node){\n if ((node = node.parentNode) && !isDocument(node) && ancestors.indexOf(node) < 0) {\n ancestors.push(node)\n return node\n }\n })\n return filtered(ancestors, selector)\n },\n parent: function(selector){\n return filtered(uniq(this.pluck('parentNode')), selector)\n },\n children: function(selector){\n return filtered(this.map(function(){ return children(this) }), selector)\n },\n contents: function() {\n return this.map(function() { return this.contentDocument || slice.call(this.childNodes) })\n },\n siblings: function(selector){\n return filtered(this.map(function(i, el){\n return filter.call(children(el.parentNode), function(child){ return child!==el })\n }), selector)\n },\n empty: function(){\n return this.each(function(){ this.innerHTML = '' })\n },\n // `pluck` is borrowed from Prototype.js\n pluck: function(property){\n return $.map(this, function(el){ return el[property] })\n },\n show: function(){\n return this.each(function(){\n this.style.display == \"none\" && (this.style.display = '')\n if (getComputedStyle(this, '').getPropertyValue(\"display\") == \"none\")\n this.style.display = defaultDisplay(this.nodeName)\n })\n },\n replaceWith: function(newContent){\n return this.before(newContent).remove()\n },\n wrap: function(structure){\n var func = isFunction(structure)\n if (this[0] && !func)\n var dom = $(structure).get(0),\n clone = dom.parentNode || this.length > 1\n\n return this.each(function(index){\n $(this).wrapAll(\n func ? structure.call(this, index) :\n clone ? dom.cloneNode(true) : dom\n )\n })\n },\n wrapAll: function(structure){\n if (this[0]) {\n $(this[0]).before(structure = $(structure))\n var children\n // drill down to the inmost element\n while ((children = structure.children()).length) structure = children.first()\n $(structure).append(this)\n }\n return this\n },\n wrapInner: function(structure){\n var func = isFunction(structure)\n return this.each(function(index){\n var self = $(this), contents = self.contents(),\n dom = func ? structure.call(this, index) : structure\n contents.length ? contents.wrapAll(dom) : self.append(dom)\n })\n },\n unwrap: function(){\n this.parent().each(function(){\n $(this).replaceWith($(this).children())\n })\n return this\n },\n clone: function(){\n return this.map(function(){ return this.cloneNode(true) })\n },\n hide: function(){\n return this.css(\"display\", \"none\")\n },\n toggle: function(setting){\n return this.each(function(){\n var el = $(this)\n ;(setting === undefined ? el.css(\"display\") == \"none\" : setting) ? el.show() : el.hide()\n })\n },\n prev: function(selector){ return $(this.pluck('previousElementSibling')).filter(selector || '*') },\n next: function(selector){ return $(this.pluck('nextElementSibling')).filter(selector || '*') },\n html: function(html){\n return 0 in arguments ?\n this.each(function(idx){\n var originHtml = this.innerHTML\n $(this).empty().append( funcArg(this, html, idx, originHtml) )\n }) :\n (0 in this ? this[0].innerHTML : null)\n },\n text: function(text){\n return 0 in arguments ?\n this.each(function(idx){\n var newText = funcArg(this, text, idx, this.textContent)\n this.textContent = newText == null ? '' : ''+newText\n }) :\n (0 in this ? this.pluck('textContent').join(\"\") : null)\n },\n attr: function(name, value){\n var result\n return (typeof name == 'string' && !(1 in arguments)) ?\n (0 in this && this[0].nodeType == 1 && (result = this[0].getAttribute(name)) != null ? result : undefined) :\n this.each(function(idx){\n if (this.nodeType !== 1) return\n if (isObject(name)) for (key in name) setAttribute(this, key, name[key])\n else setAttribute(this, name, funcArg(this, value, idx, this.getAttribute(name)))\n })\n },\n removeAttr: function(name){\n return this.each(function(){ this.nodeType === 1 && name.split(' ').forEach(function(attribute){\n setAttribute(this, attribute)\n }, this)})\n },\n prop: function(name, value){\n name = propMap[name] || name\n return (1 in arguments) ?\n this.each(function(idx){\n this[name] = funcArg(this, value, idx, this[name])\n }) :\n (this[0] && this[0][name])\n },\n removeProp: function(name){\n name = propMap[name] || name\n return this.each(function(){ delete this[name] })\n },\n data: function(name, value){\n var attrName = 'data-' + name.replace(capitalRE, '-$1').toLowerCase()\n\n var data = (1 in arguments) ?\n this.attr(attrName, value) :\n this.attr(attrName)\n\n return data !== null ? deserializeValue(data) : undefined\n },\n val: function(value){\n if (0 in arguments) {\n if (value == null) value = \"\"\n return this.each(function(idx){\n this.value = funcArg(this, value, idx, this.value)\n })\n } else {\n return this[0] && (this[0].multiple ?\n $(this[0]).find('option').filter(function(){ return this.selected }).pluck('value') :\n this[0].value)\n }\n },\n offset: function(coordinates){\n if (coordinates) return this.each(function(index){\n var $this = $(this),\n coords = funcArg(this, coordinates, index, $this.offset()),\n parentOffset = $this.offsetParent().offset(),\n props = {\n top: coords.top - parentOffset.top,\n left: coords.left - parentOffset.left\n }\n\n if ($this.css('position') == 'static') props['position'] = 'relative'\n $this.css(props)\n })\n if (!this.length) return null\n if (document.documentElement !== this[0] && !$.contains(document.documentElement, this[0]))\n return {top: 0, left: 0}\n var obj = this[0].getBoundingClientRect()\n return {\n left: obj.left + window.pageXOffset,\n top: obj.top + window.pageYOffset,\n width: Math.round(obj.width),\n height: Math.round(obj.height)\n }\n },\n css: function(property, value){\n if (arguments.length < 2) {\n var element = this[0]\n if (typeof property == 'string') {\n if (!element) return\n return element.style[camelize(property)] || getComputedStyle(element, '').getPropertyValue(property)\n } else if (isArray(property)) {\n if (!element) return\n var props = {}\n var computedStyle = getComputedStyle(element, '')\n $.each(property, function(_, prop){\n props[prop] = (element.style[camelize(prop)] || computedStyle.getPropertyValue(prop))\n })\n return props\n }\n }\n\n var css = ''\n if (type(property) == 'string') {\n if (!value && value !== 0)\n this.each(function(){ this.style.removeProperty(dasherize(property)) })\n else\n css = dasherize(property) + \":\" + maybeAddPx(property, value)\n } else {\n for (key in property)\n if (!property[key] && property[key] !== 0)\n this.each(function(){ this.style.removeProperty(dasherize(key)) })\n else\n css += dasherize(key) + ':' + maybeAddPx(key, property[key]) + ';'\n }\n\n return this.each(function(){ this.style.cssText += ';' + css })\n },\n index: function(element){\n return element ? this.indexOf($(element)[0]) : this.parent().children().indexOf(this[0])\n },\n hasClass: function(name){\n if (!name) return false\n return emptyArray.some.call(this, function(el){\n return this.test(className(el))\n }, classRE(name))\n },\n addClass: function(name){\n if (!name) return this\n return this.each(function(idx){\n if (!('className' in this)) return\n classList = []\n var cls = className(this), newName = funcArg(this, name, idx, cls)\n newName.split(/\\s+/g).forEach(function(klass){\n if (!$(this).hasClass(klass)) classList.push(klass)\n }, this)\n classList.length && className(this, cls + (cls ? \" \" : \"\") + classList.join(\" \"))\n })\n },\n removeClass: function(name){\n return this.each(function(idx){\n if (!('className' in this)) return\n if (name === undefined) return className(this, '')\n classList = className(this)\n funcArg(this, name, idx, classList).split(/\\s+/g).forEach(function(klass){\n classList = classList.replace(classRE(klass), \" \")\n })\n className(this, classList.trim())\n })\n },\n toggleClass: function(name, when){\n if (!name) return this\n return this.each(function(idx){\n var $this = $(this), names = funcArg(this, name, idx, className(this))\n names.split(/\\s+/g).forEach(function(klass){\n (when === undefined ? !$this.hasClass(klass) : when) ?\n $this.addClass(klass) : $this.removeClass(klass)\n })\n })\n },\n scrollTop: function(value){\n if (!this.length) return\n var hasScrollTop = 'scrollTop' in this[0]\n if (value === undefined) return hasScrollTop ? this[0].scrollTop : this[0].pageYOffset\n return this.each(hasScrollTop ?\n function(){ this.scrollTop = value } :\n function(){ this.scrollTo(this.scrollX, value) })\n },\n scrollLeft: function(value){\n if (!this.length) return\n var hasScrollLeft = 'scrollLeft' in this[0]\n if (value === undefined) return hasScrollLeft ? this[0].scrollLeft : this[0].pageXOffset\n return this.each(hasScrollLeft ?\n function(){ this.scrollLeft = value } :\n function(){ this.scrollTo(value, this.scrollY) })\n },\n position: function() {\n if (!this.length) return\n\n var elem = this[0],\n // Get *real* offsetParent\n offsetParent = this.offsetParent(),\n // Get correct offsets\n offset = this.offset(),\n parentOffset = rootNodeRE.test(offsetParent[0].nodeName) ? { top: 0, left: 0 } : offsetParent.offset()\n\n // Subtract element margins\n // note: when an element has margin: auto the offsetLeft and marginLeft\n // are the same in Safari causing offset.left to incorrectly be 0\n offset.top -= parseFloat( $(elem).css('margin-top') ) || 0\n offset.left -= parseFloat( $(elem).css('margin-left') ) || 0\n\n // Add offsetParent borders\n parentOffset.top += parseFloat( $(offsetParent[0]).css('border-top-width') ) || 0\n parentOffset.left += parseFloat( $(offsetParent[0]).css('border-left-width') ) || 0\n\n // Subtract the two offsets\n return {\n top: offset.top - parentOffset.top,\n left: offset.left - parentOffset.left\n }\n },\n offsetParent: function() {\n return this.map(function(){\n var parent = this.offsetParent || document.body\n while (parent && !rootNodeRE.test(parent.nodeName) && $(parent).css(\"position\") == \"static\")\n parent = parent.offsetParent\n return parent\n })\n }\n }\n\n // for now\n $.fn.detach = $.fn.remove\n\n // Generate the `width` and `height` functions\n ;['width', 'height'].forEach(function(dimension){\n var dimensionProperty =\n dimension.replace(/./, function(m){ return m[0].toUpperCase() })\n\n $.fn[dimension] = function(value){\n var offset, el = this[0]\n if (value === undefined) return isWindow(el) ? el['inner' + dimensionProperty] :\n isDocument(el) ? el.documentElement['scroll' + dimensionProperty] :\n (offset = this.offset()) && offset[dimension]\n else return this.each(function(idx){\n el = $(this)\n el.css(dimension, funcArg(this, value, idx, el[dimension]()))\n })\n }\n })\n\n function traverseNode(node, fun) {\n fun(node)\n for (var i = 0, len = node.childNodes.length; i < len; i++)\n traverseNode(node.childNodes[i], fun)\n }\n\n // Generate the `after`, `prepend`, `before`, `append`,\n // `insertAfter`, `insertBefore`, `appendTo`, and `prependTo` methods.\n adjacencyOperators.forEach(function(operator, operatorIndex) {\n var inside = operatorIndex % 2 //=> prepend, append\n\n $.fn[operator] = function(){\n // arguments can be nodes, arrays of nodes, Zepto objects and HTML strings\n var argType, nodes = $.map(arguments, function(arg) {\n var arr = []\n argType = type(arg)\n if (argType == \"array\") {\n arg.forEach(function(el) {\n if (el.nodeType !== undefined) return arr.push(el)\n else if ($.zepto.isZ(el)) return arr = arr.concat(el.get())\n arr = arr.concat(zepto.fragment(el))\n })\n return arr\n }\n return argType == \"object\" || arg == null ?\n arg : zepto.fragment(arg)\n }),\n parent, copyByClone = this.length > 1\n if (nodes.length < 1) return this\n\n return this.each(function(_, target){\n parent = inside ? target : target.parentNode\n\n // convert all methods to a \"before\" operation\n target = operatorIndex == 0 ? target.nextSibling :\n operatorIndex == 1 ? target.firstChild :\n operatorIndex == 2 ? target :\n null\n\n var parentInDocument = $.contains(document.documentElement, parent)\n\n nodes.forEach(function(node){\n if (copyByClone) node = node.cloneNode(true)\n else if (!parent) return $(node).remove()\n\n parent.insertBefore(node, target)\n if (parentInDocument) traverseNode(node, function(el){\n if (el.nodeName != null && el.nodeName.toUpperCase() === 'SCRIPT' &&\n (!el.type || el.type === 'text/javascript') && !el.src){\n var target = el.ownerDocument ? el.ownerDocument.defaultView : window\n target['eval'].call(target, el.innerHTML)\n }\n })\n })\n })\n }\n\n // after => insertAfter\n // prepend => prependTo\n // before => insertBefore\n // append => appendTo\n $.fn[inside ? operator+'To' : 'insert'+(operatorIndex ? 'Before' : 'After')] = function(html){\n $(html)[operator](this)\n return this\n }\n })\n\n zepto.Z.prototype = Z.prototype = $.fn\n\n // Export internal API functions in the `$.zepto` namespace\n zepto.uniq = uniq\n zepto.deserializeValue = deserializeValue\n $.zepto = zepto\n\n return $\n})()\n\nwindow.Zepto = Zepto\nwindow.$ === undefined && (window.$ = Zepto)\n\n;(function($){\n var jsonpID = +new Date(),\n document = window.document,\n key,\n name,\n rscript = /<script\\b[^<]*(?:(?!<\\/script>)<[^<]*)*<\\/script>/gi,\n scriptTypeRE = /^(?:text|application)\\/javascript/i,\n xmlTypeRE = /^(?:text|application)\\/xml/i,\n jsonType = 'application/json',\n htmlType = 'text/html',\n blankRE = /^\\s*$/,\n originAnchor = document.createElement('a')\n\n originAnchor.href = window.location.href\n\n // trigger a custom event and return false if it was cancelled\n function triggerAndReturn(context, eventName, data) {\n var event = $.Event(eventName)\n $(context).trigger(event, data)\n return !event.isDefaultPrevented()\n }\n\n // trigger an Ajax \"global\" event\n function triggerGlobal(settings, context, eventName, data) {\n if (settings.global) return triggerAndReturn(context || document, eventName, data)\n }\n\n // Number of active Ajax requests\n $.active = 0\n\n function ajaxStart(settings) {\n if (settings.global && $.active++ === 0) triggerGlobal(settings, null, 'ajaxStart')\n }\n function ajaxStop(settings) {\n if (settings.global && !(--$.active)) triggerGlobal(settings, null, 'ajaxStop')\n }\n\n // triggers an extra global event \"ajaxBeforeSend\" that's like \"ajaxSend\" but cancelable\n function ajaxBeforeSend(xhr, settings) {\n var context = settings.context\n if (settings.beforeSend.call(context, xhr, settings) === false ||\n triggerGlobal(settings, context, 'ajaxBeforeSend', [xhr, settings]) === false)\n return false\n\n triggerGlobal(settings, context, 'ajaxSend', [xhr, settings])\n }\n function ajaxSuccess(data, xhr, settings, deferred) {\n var context = settings.context, status = 'success'\n settings.success.call(context, data, status, xhr)\n if (deferred) deferred.resolveWith(context, [data, status, xhr])\n triggerGlobal(settings, context, 'ajaxSuccess', [xhr, settings, data])\n ajaxComplete(status, xhr, settings)\n }\n // type: \"timeout\", \"error\", \"abort\", \"parsererror\"\n function ajaxError(error, type, xhr, settings, deferred) {\n var context = settings.context\n settings.error.call(context, xhr, type, error)\n if (deferred) deferred.rejectWith(context, [xhr, type, error])\n triggerGlobal(settings, context, 'ajaxError', [xhr, settings, error || type])\n ajaxComplete(type, xhr, settings)\n }\n // status: \"success\", \"notmodified\", \"error\", \"timeout\", \"abort\", \"parsererror\"\n function ajaxComplete(status, xhr, settings) {\n var context = settings.context\n settings.complete.call(context, xhr, status)\n triggerGlobal(settings, context, 'ajaxComplete', [xhr, settings])\n ajaxStop(settings)\n }\n\n function ajaxDataFilter(data, type, settings) {\n if (settings.dataFilter == empty) return data\n var context = settings.context\n return settings.dataFilter.call(context, data, type)\n }\n\n // Empty function, used as default callback\n function empty() {}\n\n $.ajaxJSONP = function(options, deferred){\n if (!('type' in options)) return $.ajax(options)\n\n var _callbackName = options.jsonpCallback,\n callbackName = ($.isFunction(_callbackName) ?\n _callbackName() : _callbackName) || ('Zepto' + (jsonpID++)),\n script = document.createElement('script'),\n originalCallback = window[callbackName],\n responseData,\n abort = function(errorType) {\n $(script).triggerHandler('error', errorType || 'abort')\n },\n xhr = { abort: abort }, abortTimeout\n\n if (deferred) deferred.promise(xhr)\n\n $(script).on('load error', function(e, errorType){\n clearTimeout(abortTimeout)\n $(script).off().remove()\n\n if (e.type == 'error' || !responseData) {\n ajaxError(null, errorType || 'error', xhr, options, deferred)\n } else {\n ajaxSuccess(responseData[0], xhr, options, deferred)\n }\n\n window[callbackName] = originalCallback\n if (responseData && $.isFunction(originalCallback))\n originalCallback(responseData[0])\n\n originalCallback = responseData = undefined\n })\n\n if (ajaxBeforeSend(xhr, options) === false) {\n abort('abort')\n return xhr\n }\n\n window[callbackName] = function(){\n responseData = arguments\n }\n\n script.src = options.url.replace(/\\?(.+)=\\?/, '?$1=' + callbackName)\n document.head.appendChild(script)\n\n if (options.timeout > 0) abortTimeout = setTimeout(function(){\n abort('timeout')\n }, options.timeout)\n\n return xhr\n }\n\n $.ajaxSettings = {\n // Default type of request\n type: 'GET',\n // Callback that is executed before request\n beforeSend: empty,\n // Callback that is executed if the request succeeds\n success: empty,\n // Callback that is executed the the server drops error\n error: empty,\n // Callback that is executed on request complete (both: error and success)\n complete: empty,\n // The context for the callbacks\n context: null,\n // Whether to trigger \"global\" Ajax events\n global: true,\n // Transport\n xhr: function () {\n return new window.XMLHttpRequest()\n },\n // MIME types mapping\n // IIS returns Javascript as \"application/x-javascript\"\n accepts: {\n script: 'text/javascript, application/javascript, application/x-javascript',\n json: jsonType,\n xml: 'application/xml, text/xml',\n html: htmlType,\n text: 'text/plain'\n },\n // Whether the request is to another domain\n crossDomain: false,\n // Default timeout\n timeout: 0,\n // Whether data should be serialized to string\n processData: true,\n // Whether the browser should be allowed to cache GET responses\n cache: true,\n //Used to handle the raw response data of XMLHttpRequest.\n //This is a pre-filtering function to sanitize the response.\n //The sanitized response should be returned\n dataFilter: empty\n }\n\n function mimeToDataType(mime) {\n if (mime) mime = mime.split(';', 2)[0]\n return mime && ( mime == htmlType ? 'html' :\n mime == jsonType ? 'json' :\n scriptTypeRE.test(mime) ? 'script' :\n xmlTypeRE.test(mime) && 'xml' ) || 'text'\n }\n\n function appendQuery(url, query) {\n if (query == '') return url\n return (url + '&' + query).replace(/[&?]{1,2}/, '?')\n }\n\n // serialize payload and append it to the URL for GET requests\n function serializeData(options) {\n if (options.processData && options.data && $.type(options.data) != \"string\")\n options.data = $.param(options.data, options.traditional)\n if (options.data && (!options.type || options.type.toUpperCase() == 'GET' || 'jsonp' == options.dataType))\n options.url = appendQuery(options.url, options.data), options.data = undefined\n }\n\n $.ajax = function(options){\n var settings = $.extend({}, options || {}),\n deferred = $.Deferred && $.Deferred(),\n urlAnchor, hashIndex\n for (key in $.ajaxSettings) if (settings[key] === undefined) settings[key] = $.ajaxSettings[key]\n\n ajaxStart(settings)\n\n if (!settings.crossDomain) {\n urlAnchor = document.createElement('a')\n urlAnchor.href = settings.url\n // cleans up URL for .href (IE only), see https://github.com/madrobby/zepto/pull/1049\n urlAnchor.href = urlAnchor.href\n settings.crossDomain = (originAnchor.protocol + '//' + originAnchor.host) !== (urlAnchor.protocol + '//' + urlAnchor.host)\n }\n\n if (!settings.url) settings.url = window.location.toString()\n if ((hashIndex = settings.url.indexOf('#')) > -1) settings.url = settings.url.slice(0, hashIndex)\n serializeData(settings)\n\n var dataType = settings.dataType, hasPlaceholder = /\\?.+=\\?/.test(settings.url)\n if (hasPlaceholder) dataType = 'jsonp'\n\n if (settings.cache === false || (\n (!options || options.cache !== true) &&\n ('script' == dataType || 'jsonp' == dataType)\n ))\n settings.url = appendQuery(settings.url, '_=' + Date.now())\n\n if ('jsonp' == dataType) {\n if (!hasPlaceholder)\n settings.url = appendQuery(settings.url,\n settings.jsonp ? (settings.jsonp + '=?') : settings.jsonp === false ? '' : 'callback=?')\n return $.ajaxJSONP(settings, deferred)\n }\n\n var mime = settings.accepts[dataType],\n headers = { },\n setHeader = function(name, value) { headers[name.toLowerCase()] = [name, value] },\n protocol = /^([\\w-]+:)\\/\\//.test(settings.url) ? RegExp.$1 : window.location.protocol,\n xhr = settings.xhr(),\n nativeSetHeader = xhr.setRequestHeader,\n abortTimeout\n\n if (deferred) deferred.promise(xhr)\n\n if (!settings.crossDomain) setHeader('X-Requested-With', 'XMLHttpRequest')\n setHeader('Accept', mime || '*/*')\n if (mime = settings.mimeType || mime) {\n if (mime.indexOf(',') > -1) mime = mime.split(',', 2)[0]\n xhr.overrideMimeType && xhr.overrideMimeType(mime)\n }\n if (settings.contentType || (settings.contentType !== false && settings.data && settings.type.toUpperCase() != 'GET'))\n setHeader('Content-Type', settings.contentType || 'application/x-www-form-urlencoded')\n\n if (settings.headers) for (name in settings.headers) setHeader(name, settings.headers[name])\n xhr.setRequestHeader = setHeader\n\n xhr.onreadystatechange = function(){\n if (xhr.readyState == 4) {\n xhr.onreadystatechange = empty\n clearTimeout(abortTimeout)\n var result, error = false\n if ((xhr.status >= 200 && xhr.status < 300) || xhr.status == 304 || (xhr.status == 0 && protocol == 'file:')) {\n dataType = dataType || mimeToDataType(settings.mimeType || xhr.getResponseHeader('content-type'))\n\n if (xhr.responseType == 'arraybuffer' || xhr.responseType == 'blob')\n result = xhr.response\n else {\n result = xhr.responseText\n\n try {\n // http://perfectionkills.com/global-eval-what-are-the-options/\n // sanitize response accordingly if data filter callback provided\n result = ajaxDataFilter(result, dataType, settings)\n if (dataType == 'script') (1,eval)(result)\n else if (dataType == 'xml') result = xhr.responseXML\n else if (dataType == 'json') result = blankRE.test(result) ? null : $.parseJSON(result)\n } catch (e) { error = e }\n\n if (error) return ajaxError(error, 'parsererror', xhr, settings, deferred)\n }\n\n ajaxSuccess(result, xhr, settings, deferred)\n } else {\n ajaxError(xhr.statusText || null, xhr.status ? 'error' : 'abort', xhr, settings, deferred)\n }\n }\n }\n\n if (ajaxBeforeSend(xhr, settings) === false) {\n xhr.abort()\n ajaxError(null, 'abort', xhr, settings, deferred)\n return xhr\n }\n\n var async = 'async' in settings ? settings.async : true\n xhr.open(settings.type, settings.url, async, settings.username, settings.password)\n\n if (settings.xhrFields) for (name in settings.xhrFields) xhr[name] = settings.xhrFields[name]\n\n for (name in headers) nativeSetHeader.apply(xhr, headers[name])\n\n if (settings.timeout > 0) abortTimeout = setTimeout(function(){\n xhr.onreadystatechange = empty\n xhr.abort()\n ajaxError(null, 'timeout', xhr, settings, deferred)\n }, settings.timeout)\n\n // avoid sending empty string (#319)\n xhr.send(settings.data ? settings.data : null)\n return xhr\n }\n\n // handle optional data/success arguments\n function parseArguments(url, data, success, dataType) {\n if ($.isFunction(data)) dataType = success, success = data, data = undefined\n if (!$.isFunction(success)) dataType = success, success = undefined\n return {\n url: url\n , data: data\n , success: success\n , dataType: dataType\n }\n }\n\n $.get = function(/* url, data, success, dataType */){\n return $.ajax(parseArguments.apply(null, arguments))\n }\n\n $.post = function(/* url, data, success, dataType */){\n var options = parseArguments.apply(null, arguments)\n options.type = 'POST'\n return $.ajax(options)\n }\n\n $.getJSON = function(/* url, data, success */){\n var options = parseArguments.apply(null, arguments)\n options.dataType = 'json'\n return $.ajax(options)\n }\n\n $.fn.load = function(url, data, success){\n if (!this.length) return this\n var self = this, parts = url.split(/\\s/), selector,\n options = parseArguments(url, data, success),\n callback = options.success\n if (parts.length > 1) options.url = parts[0], selector = parts[1]\n options.success = function(response){\n self.html(selector ?\n $('<div>').html(response.replace(rscript, \"\")).find(selector)\n : response)\n callback && callback.apply(self, arguments)\n }\n $.ajax(options)\n return this\n }\n\n var escape = encodeURIComponent\n\n function serialize(params, obj, traditional, scope){\n var type, array = $.isArray(obj), hash = $.isPlainObject(obj)\n $.each(obj, function(key, value) {\n type = $.type(value)\n if (scope) key = traditional ? scope :\n scope + '[' + (hash || type == 'object' || type == 'array' ? key : '') + ']'\n // handle data in serializeArray() format\n if (!scope && array) params.add(value.name, value.value)\n // recurse into nested objects\n else if (type == \"array\" || (!traditional && type == \"object\"))\n serialize(params, value, traditional, key)\n else params.add(key, value)\n })\n }\n\n $.param = function(obj, traditional){\n var params = []\n params.add = function(key, value) {\n if ($.isFunction(value)) value = value()\n if (value == null) value = \"\"\n this.push(escape(key) + '=' + escape(value))\n }\n serialize(params, obj, traditional)\n return params.join('&').replace(/%20/g, '+')\n }\n})(Zepto)\n\n;(function($){\n // Create a collection of callbacks to be fired in a sequence, with configurable behaviour\n // Option flags:\n // - once: Callbacks fired at most one time.\n // - memory: Remember the most recent context and arguments\n // - stopOnFalse: Cease iterating over callback list\n // - unique: Permit adding at most one instance of the same callback\n $.Callbacks = function(options) {\n options = $.extend({}, options)\n\n var memory, // Last fire value (for non-forgettable lists)\n fired, // Flag to know if list was already fired\n firing, // Flag to know if list is currently firing\n firingStart, // First callback to fire (used internally by add and fireWith)\n firingLength, // End of the loop when firing\n firingIndex, // Index of currently firing callback (modified by remove if needed)\n list = [], // Actual callback list\n stack = !options.once && [], // Stack of fire calls for repeatable lists\n fire = function(data) {\n memory = options.memory && data\n fired = true\n firingIndex = firingStart || 0\n firingStart = 0\n firingLength = list.length\n firing = true\n for ( ; list && firingIndex < firingLength ; ++firingIndex ) {\n if (list[firingIndex].apply(data[0], data[1]) === false && options.stopOnFalse) {\n memory = false\n break\n }\n }\n firing = false\n if (list) {\n if (stack) stack.length && fire(stack.shift())\n else if (memory) list.length = 0\n else Callbacks.disable()\n }\n },\n\n Callbacks = {\n add: function() {\n if (list) {\n var start = list.length,\n add = function(args) {\n $.each(args, function(_, arg){\n if (typeof arg === \"function\") {\n if (!options.unique || !Callbacks.has(arg)) list.push(arg)\n }\n else if (arg && arg.length && typeof arg !== 'string') add(arg)\n })\n }\n add(arguments)\n if (firing) firingLength = list.length\n else if (memory) {\n firingStart = start\n fire(memory)\n }\n }\n return this\n },\n remove: function() {\n if (list) {\n $.each(arguments, function(_, arg){\n var index\n while ((index = $.inArray(arg, list, index)) > -1) {\n list.splice(index, 1)\n // Handle firing indexes\n if (firing) {\n if (index <= firingLength) --firingLength\n if (index <= firingIndex) --firingIndex\n }\n }\n })\n }\n return this\n },\n has: function(fn) {\n return !!(list && (fn ? $.inArray(fn, list) > -1 : list.length))\n },\n empty: function() {\n firingLength = list.length = 0\n return this\n },\n disable: function() {\n list = stack = memory = undefined\n return this\n },\n disabled: function() {\n return !list\n },\n lock: function() {\n stack = undefined\n if (!memory) Callbacks.disable()\n return this\n },\n locked: function() {\n return !stack\n },\n fireWith: function(context, args) {\n if (list && (!fired || stack)) {\n args = args || []\n args = [context, args.slice ? args.slice() : args]\n if (firing) stack.push(args)\n else fire(args)\n }\n return this\n },\n fire: function() {\n return Callbacks.fireWith(this, arguments)\n },\n fired: function() {\n return !!fired\n }\n }\n\n return Callbacks\n }\n})(Zepto)\n\n;(function($){\n var slice = Array.prototype.slice\n\n function Deferred(func) {\n var tuples = [\n // action, add listener, listener list, final state\n [ \"resolve\", \"done\", $.Callbacks({once:1, memory:1}), \"resolved\" ],\n [ \"reject\", \"fail\", $.Callbacks({once:1, memory:1}), \"rejected\" ],\n [ \"notify\", \"progress\", $.Callbacks({memory:1}) ]\n ],\n state = \"pending\",\n promise = {\n state: function() {\n return state\n },\n always: function() {\n deferred.done(arguments).fail(arguments)\n return this\n },\n then: function(/* fnDone [, fnFailed [, fnProgress]] */) {\n var fns = arguments\n return Deferred(function(defer){\n $.each(tuples, function(i, tuple){\n var fn = $.isFunction(fns[i]) && fns[i]\n deferred[tuple[1]](function(){\n var returned = fn && fn.apply(this, arguments)\n if (returned && $.isFunction(returned.promise)) {\n returned.promise()\n .done(defer.resolve)\n .fail(defer.reject)\n .progress(defer.notify)\n } else {\n var context = this === promise ? defer.promise() : this,\n values = fn ? [returned] : arguments\n defer[tuple[0] + \"With\"](context, values)\n }\n })\n })\n fns = null\n }).promise()\n },\n\n promise: function(obj) {\n return obj != null ? $.extend( obj, promise ) : promise\n }\n },\n deferred = {}\n\n $.each(tuples, function(i, tuple){\n var list = tuple[2],\n stateString = tuple[3]\n\n promise[tuple[1]] = list.add\n\n if (stateString) {\n list.add(function(){\n state = stateString\n }, tuples[i^1][2].disable, tuples[2][2].lock)\n }\n\n deferred[tuple[0]] = function(){\n deferred[tuple[0] + \"With\"](this === deferred ? promise : this, arguments)\n return this\n }\n deferred[tuple[0] + \"With\"] = list.fireWith\n })\n\n promise.promise(deferred)\n if (func) func.call(deferred, deferred)\n return deferred\n }\n\n $.when = function(sub) {\n var resolveValues = slice.call(arguments),\n len = resolveValues.length,\n i = 0,\n remain = len !== 1 || (sub && $.isFunction(sub.promise)) ? len : 0,\n deferred = remain === 1 ? sub : Deferred(),\n progressValues, progressContexts, resolveContexts,\n updateFn = function(i, ctx, val){\n return function(value){\n ctx[i] = this\n val[i] = arguments.length > 1 ? slice.call(arguments) : value\n if (val === progressValues) {\n deferred.notifyWith(ctx, val)\n } else if (!(--remain)) {\n deferred.resolveWith(ctx, val)\n }\n }\n }\n\n if (len > 1) {\n progressValues = new Array(len)\n progressContexts = new Array(len)\n resolveContexts = new Array(len)\n for ( ; i < len; ++i ) {\n if (resolveValues[i] && $.isFunction(resolveValues[i].promise)) {\n resolveValues[i].promise()\n .done(updateFn(i, resolveContexts, resolveValues))\n .fail(deferred.reject)\n .progress(updateFn(i, progressContexts, progressValues))\n } else {\n --remain\n }\n }\n }\n if (!remain) deferred.resolveWith(resolveContexts, resolveValues)\n return deferred.promise()\n }\n\n $.Deferred = Deferred\n})(Zepto)\n\n;(function($){\n var _zid = 1, undefined,\n slice = Array.prototype.slice,\n isFunction = $.isFunction,\n isString = function(obj){ return typeof obj == 'string' },\n handlers = {},\n specialEvents={},\n focusinSupported = 'onfocusin' in window,\n focus = { focus: 'focusin', blur: 'focusout' },\n hover = { mouseenter: 'mouseover', mouseleave: 'mouseout' }\n\n specialEvents.click = specialEvents.mousedown = specialEvents.mouseup = specialEvents.mousemove = 'MouseEvents'\n\n function zid(element) {\n return element._zid || (element._zid = _zid++)\n }\n function findHandlers(element, event, fn, selector) {\n event = parse(event)\n if (event.ns) var matcher = matcherFor(event.ns)\n return (handlers[zid(element)] || []).filter(function(handler) {\n return handler\n && (!event.e || handler.e == event.e)\n && (!event.ns || matcher.test(handler.ns))\n && (!fn || zid(handler.fn) === zid(fn))\n && (!selector || handler.sel == selector)\n })\n }\n function parse(event) {\n var parts = ('' + event).split('.')\n return {e: parts[0], ns: parts.slice(1).sort().join(' ')}\n }\n function matcherFor(ns) {\n return new RegExp('(?:^| )' + ns.replace(' ', ' .* ?') + '(?: |$)')\n }\n\n function eventCapture(handler, captureSetting) {\n return handler.del &&\n (!focusinSupported && (handler.e in focus)) ||\n !!captureSetting\n }\n\n function realEvent(type) {\n return hover[type] || (focusinSupported && focus[type]) || type\n }\n\n function add(element, events, fn, data, selector, delegator, capture){\n var id = zid(element), set = (handlers[id] || (handlers[id] = []))\n events.split(/\\s/).forEach(function(event){\n if (event == 'ready') return $(document).ready(fn)\n var handler = parse(event)\n handler.fn = fn\n handler.sel = selector\n // emulate mouseenter, mouseleave\n if (handler.e in hover) fn = function(e){\n var related = e.relatedTarget\n if (!related || (related !== this && !$.contains(this, related)))\n return handler.fn.apply(this, arguments)\n }\n handler.del = delegator\n var callback = delegator || fn\n handler.proxy = function(e){\n e = compatible(e)\n if (e.isImmediatePropagationStopped()) return\n e.data = data\n var result = callback.apply(element, e._args == undefined ? [e] : [e].concat(e._args))\n if (result === false) e.preventDefault(), e.stopPropagation()\n return result\n }\n handler.i = set.length\n set.push(handler)\n if ('addEventListener' in element)\n element.addEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture))\n })\n }\n function remove(element, events, fn, selector, capture){\n var id = zid(element)\n ;(events || '').split(/\\s/).forEach(function(event){\n findHandlers(element, event, fn, selector).forEach(function(handler){\n delete handlers[id][handler.i]\n if ('removeEventListener' in element)\n element.removeEventListener(realEvent(handler.e), handler.proxy, eventCapture(handler, capture))\n })\n })\n }\n\n $.event = { add: add, remove: remove }\n\n $.proxy = function(fn, context) {\n var args = (2 in arguments) && slice.call(arguments, 2)\n if (isFunction(fn)) {\n var proxyFn = function(){ return fn.apply(context, args ? args.concat(slice.call(arguments)) : arguments) }\n proxyFn._zid = zid(fn)\n return proxyFn\n } else if (isString(context)) {\n if (args) {\n args.unshift(fn[context], fn)\n return $.proxy.apply(null, args)\n } else {\n return $.proxy(fn[context], fn)\n }\n } else {\n throw new TypeError(\"expected function\")\n }\n }\n\n $.fn.bind = function(event, data, callback){\n return this.on(event, data, callback)\n }\n $.fn.unbind = function(event, callback){\n return this.off(event, callback)\n }\n $.fn.one = function(event, selector, data, callback){\n return this.on(event, selector, data, callback, 1)\n }\n\n var returnTrue = function(){return true},\n returnFalse = function(){return false},\n ignoreProperties = /^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,\n eventMethods = {\n preventDefault: 'isDefaultPrevented',\n stopImmediatePropagation: 'isImmediatePropagationStopped',\n stopPropagation: 'isPropagationStopped'\n }\n\n function compatible(event, source) {\n if (source || !event.isDefaultPrevented) {\n source || (source = event)\n\n $.each(eventMethods, function(name, predicate) {\n var sourceMethod = source[name]\n event[name] = function(){\n this[predicate] = returnTrue\n return sourceMethod && sourceMethod.apply(source, arguments)\n }\n event[predicate] = returnFalse\n })\n\n event.timeStamp || (event.timeStamp = Date.now())\n\n if (source.defaultPrevented !== undefined ? source.defaultPrevented :\n 'returnValue' in source ? source.returnValue === false :\n source.getPreventDefault && source.getPreventDefault())\n event.isDefaultPrevented = returnTrue\n }\n return event\n }\n\n function createProxy(event) {\n var key, proxy = { originalEvent: event }\n for (key in event)\n if (!ignoreProperties.test(key) && event[key] !== undefined) proxy[key] = event[key]\n\n return compatible(proxy, event)\n }\n\n $.fn.delegate = function(selector, event, callback){\n return this.on(event, selector, callback)\n }\n $.fn.undelegate = function(selector, event, callback){\n return this.off(event, selector, callback)\n }\n\n $.fn.live = function(event, callback){\n $(document.body).delegate(this.selector, event, callback)\n return this\n }\n $.fn.die = function(event, callback){\n $(document.body).undelegate(this.selector, event, callback)\n return this\n }\n\n $.fn.on = function(event, selector, data, callback, one){\n var autoRemove, delegator, $this = this\n if (event && !isString(event)) {\n $.each(event, function(type, fn){\n $this.on(type, selector, data, fn, one)\n })\n return $this\n }\n\n if (!isString(selector) && !isFunction(callback) && callback !== false)\n callback = data, data = selector, selector = undefined\n if (callback === undefined || data === false)\n callback = data, data = undefined\n\n if (callback === false) callback = returnFalse\n\n return $this.each(function(_, element){\n if (one) autoRemove = function(e){\n remove(element, e.type, callback)\n return callback.apply(this, arguments)\n }\n\n if (selector) delegator = function(e){\n var evt, match = $(e.target).closest(selector, element).get(0)\n if (match && match !== element) {\n evt = $.extend(createProxy(e), {currentTarget: match, liveFired: element})\n return (autoRemove || callback).apply(match, [evt].concat(slice.call(arguments, 1)))\n }\n }\n\n add(element, event, callback, data, selector, delegator || autoRemove)\n })\n }\n $.fn.off = function(event, selector, callback){\n var $this = this\n if (event && !isString(event)) {\n $.each(event, function(type, fn){\n $this.off(type, selector, fn)\n })\n return $this\n }\n\n if (!isString(selector) && !isFunction(callback) && callback !== false)\n callback = selector, selector = undefined\n\n if (callback === false) callback = returnFalse\n\n return $this.each(function(){\n remove(this, event, callback, selector)\n })\n }\n\n $.fn.trigger = function(event, args){\n event = (isString(event) || $.isPlainObject(event)) ? $.Event(event) : compatible(event)\n event._args = args\n return this.each(function(){\n // handle focus(), blur() by calling them directly\n if (event.type in focus && typeof this[event.type] == \"function\") this[event.type]()\n // items in the collection might not be DOM elements\n else if ('dispatchEvent' in this) this.dispatchEvent(event)\n else $(this).triggerHandler(event, args)\n })\n }\n\n // triggers event handlers on current element just as if an event occurred,\n // doesn't trigger an actual event, doesn't bubble\n $.fn.triggerHandler = function(event, args){\n var e, result\n this.each(function(i, element){\n e = createProxy(isString(event) ? $.Event(event) : event)\n e._args = args\n e.target = element\n $.each(findHandlers(element, event.type || event), function(i, handler){\n result = handler.proxy(e)\n if (e.isImmediatePropagationStopped()) return false\n })\n })\n return result\n }\n\n // shortcut methods for `.bind(event, fn)` for each event type\n ;('focusin focusout focus blur load resize scroll unload click dblclick '+\n 'mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave '+\n 'change select keydown keypress keyup error').split(' ').forEach(function(event) {\n $.fn[event] = function(callback) {\n return (0 in arguments) ?\n this.bind(event, callback) :\n this.trigger(event)\n }\n })\n\n $.Event = function(type, props) {\n if (!isString(type)) props = type, type = props.type\n var event = document.createEvent(specialEvents[type] || 'Events'), bubbles = true\n if (props) for (var name in props) (name == 'bubbles') ? (bubbles = !!props[name]) : (event[name] = props[name])\n event.initEvent(type, bubbles, true)\n return compatible(event)\n }\n\n})(Zepto)\n\n;(function(){\n // getComputedStyle shouldn't freak out when called\n // without a valid element as argument\n try {\n getComputedStyle(undefined)\n } catch(e) {\n var nativeGetComputedStyle = getComputedStyle\n window.getComputedStyle = function(element, pseudoElement){\n try {\n return nativeGetComputedStyle(element, pseudoElement)\n } catch(e) {\n return null\n }\n }\n }\n})()\n\n;(function($){\n var zepto = $.zepto, oldQsa = zepto.qsa, oldMatches = zepto.matches\n\n function visible(elem){\n elem = $(elem)\n return !!(elem.width() || elem.height()) && elem.css(\"display\") !== \"none\"\n }\n\n // Implements a subset from:\n // http://api.jquery.com/category/selectors/jquery-selector-extensions/\n //\n // Each filter function receives the current index, all nodes in the\n // considered set, and a value if there were parentheses. The value\n // of `this` is the node currently being considered. The function returns the\n // resulting node(s), null, or undefined.\n //\n // Complex selectors are not supported:\n // li:has(label:contains(\"foo\")) + li:has(label:contains(\"bar\"))\n // ul.inner:first > li\n var filters = $.expr[':'] = {\n visible: function(){ if (visible(this)) return this },\n hidden: function(){ if (!visible(this)) return this },\n selected: function(){ if (this.selected) return this },\n checked: function(){ if (this.checked) return this },\n parent: function(){ return this.parentNode },\n first: function(idx){ if (idx === 0) return this },\n last: function(idx, nodes){ if (idx === nodes.length - 1) return this },\n eq: function(idx, _, value){ if (idx === value) return this },\n contains: function(idx, _, text){ if ($(this).text().indexOf(text) > -1) return this },\n has: function(idx, _, sel){ if (zepto.qsa(this, sel).length) return this }\n }\n\n var filterRe = new RegExp('(.*):(\\\\w+)(?:\\\\(([^)]+)\\\\))?$\\\\s*'),\n childRe = /^\\s*>/,\n classTag = 'Zepto' + (+new Date())\n\n function process(sel, fn) {\n // quote the hash in `a[href^=#]` expression\n sel = sel.replace(/=#\\]/g, '=\"#\"]')\n var filter, arg, match = filterRe.exec(sel)\n if (match && match[2] in filters) {\n filter = filters[match[2]], arg = match[3]\n sel = match[1]\n if (arg) {\n var num = Number(arg)\n if (isNaN(num)) arg = arg.replace(/^[\"']|[\"']$/g, '')\n else arg = num\n }\n }\n return fn(sel, filter, arg)\n }\n\n zepto.qsa = function(node, selector) {\n return process(selector, function(sel, filter, arg){\n try {\n var taggedParent\n if (!sel && filter) sel = '*'\n else if (childRe.test(sel))\n // support \"> *\" child queries by tagging the parent node with a\n // unique class and prepending that classname onto the selector\n taggedParent = $(node).addClass(classTag), sel = '.'+classTag+' '+sel\n\n var nodes = oldQsa(node, sel)\n } catch(e) {\n console.error('error performing selector: %o', selector)\n throw e\n } finally {\n if (taggedParent) taggedParent.removeClass(classTag)\n }\n return !filter ? nodes :\n zepto.uniq($.map(nodes, function(n, i){ return filter.call(n, i, nodes, arg) }))\n })\n }\n\n zepto.matches = function(node, selector){\n return process(selector, function(sel, filter, arg){\n return (!sel || oldMatches(node, sel)) &&\n (!filter || filter.call(node, null, arg) === node)\n })\n }\n})(Zepto)\nmodule.exports = Zepto\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/array/from.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/fn/array/from.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.string.iterator */ \"./node_modules/core-js/library/modules/es6.string.iterator.js\");\n__webpack_require__(/*! ../../modules/es6.array.from */ \"./node_modules/core-js/library/modules/es6.array.from.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Array.from;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/get-iterator.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/get-iterator.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../modules/web.dom.iterable */ \"./node_modules/core-js/library/modules/web.dom.iterable.js\");\n__webpack_require__(/*! ../modules/es6.string.iterator */ \"./node_modules/core-js/library/modules/es6.string.iterator.js\");\nmodule.exports = __webpack_require__(/*! ../modules/core.get-iterator */ \"./node_modules/core-js/library/modules/core.get-iterator.js\");\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/json/stringify.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/json/stringify.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar core = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , $JSON = core.JSON || (core.JSON = {stringify: JSON.stringify});\nmodule.exports = function stringify(it){ // eslint-disable-line no-unused-vars\n return $JSON.stringify.apply($JSON, arguments);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/assign.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/assign.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.assign */ \"./node_modules/core-js/library/modules/es6.object.assign.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object.assign;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/create.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/create.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.create */ \"./node_modules/core-js/library/modules/es6.object.create.js\");\nvar $Object = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object;\nmodule.exports = function create(P, D){\n return $Object.create(P, D);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/define-property.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/define-property.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.define-property */ \"./node_modules/core-js/library/modules/es6.object.define-property.js\");\nvar $Object = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object;\nmodule.exports = function defineProperty(it, key, desc){\n return $Object.defineProperty(it, key, desc);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/get-own-property-descriptor.js\":\n/*!*******************************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/get-own-property-descriptor.js ***!\n \\*******************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.get-own-property-descriptor */ \"./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js\");\nvar $Object = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object;\nmodule.exports = function getOwnPropertyDescriptor(it, key){\n return $Object.getOwnPropertyDescriptor(it, key);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/keys.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/keys.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.keys */ \"./node_modules/core-js/library/modules/es6.object.keys.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object.keys;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/object/set-prototype-of.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/object/set-prototype-of.js ***!\n \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.object.set-prototype-of */ \"./node_modules/core-js/library/modules/es6.object.set-prototype-of.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Object.setPrototypeOf;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/symbol/index.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/fn/symbol/index.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.symbol */ \"./node_modules/core-js/library/modules/es6.symbol.js\");\n__webpack_require__(/*! ../../modules/es6.object.to-string */ \"./node_modules/core-js/library/modules/es6.object.to-string.js\");\n__webpack_require__(/*! ../../modules/es7.symbol.async-iterator */ \"./node_modules/core-js/library/modules/es7.symbol.async-iterator.js\");\n__webpack_require__(/*! ../../modules/es7.symbol.observable */ \"./node_modules/core-js/library/modules/es7.symbol.observable.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_core */ \"./node_modules/core-js/library/modules/_core.js\").Symbol;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/fn/symbol/iterator.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/fn/symbol/iterator.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ../../modules/es6.string.iterator */ \"./node_modules/core-js/library/modules/es6.string.iterator.js\");\n__webpack_require__(/*! ../../modules/web.dom.iterable */ \"./node_modules/core-js/library/modules/web.dom.iterable.js\");\nmodule.exports = __webpack_require__(/*! ../../modules/_wks-ext */ \"./node_modules/core-js/library/modules/_wks-ext.js\").f('iterator');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_a-function.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_a-function.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_add-to-unscopables.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_add-to-unscopables.js ***!\n \\*********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(){ /* empty */ };\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_an-object.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_an-object.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\");\nmodule.exports = function(it){\n if(!isObject(it))throw TypeError(it + ' is not an object!');\n return it;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_array-includes.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_array-includes.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/library/modules/_to-length.js\")\n , toIndex = __webpack_require__(/*! ./_to-index */ \"./node_modules/core-js/library/modules/_to-index.js\");\nmodule.exports = function(IS_INCLUDES){\n return function($this, el, fromIndex){\n var O = toIObject($this)\n , length = toLength(O.length)\n , index = toIndex(fromIndex, length)\n , value;\n // Array#includes uses SameValueZero equality algorithm\n if(IS_INCLUDES && el != el)while(length > index){\n value = O[index++];\n if(value != value)return true;\n // Array#toIndex ignores holes, Array#includes - not\n } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n if(O[index] === el)return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_classof.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_classof.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/library/modules/_cof.js\")\n , TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('toStringTag')\n // ES3 wrong here\n , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function(it, key){\n try {\n return it[key];\n } catch(e){ /* empty */ }\n};\n\nmodule.exports = function(it){\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_cof.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_cof.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_core.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_core.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar core = module.exports = {version: '2.4.0'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_create-property.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_create-property.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $defineProperty = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\");\n\nmodule.exports = function(object, index, value){\n if(index in object)$defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_ctx.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_ctx.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// optional / simple context binding\nvar aFunction = __webpack_require__(/*! ./_a-function */ \"./node_modules/core-js/library/modules/_a-function.js\");\nmodule.exports = function(fn, that, length){\n aFunction(fn);\n if(that === undefined)return fn;\n switch(length){\n case 1: return function(a){\n return fn.call(that, a);\n };\n case 2: return function(a, b){\n return fn.call(that, a, b);\n };\n case 3: return function(a, b, c){\n return fn.call(that, a, b, c);\n };\n }\n return function(/* ...args */){\n return fn.apply(that, arguments);\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_defined.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_defined.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_descriptors.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_descriptors.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_dom-create.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_dom-create.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\")\n , document = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\").document\n // in old IE typeof document.createElement is 'object'\n , is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it){\n return is ? document.createElement(it) : {};\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_enum-bug-keys.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_enum-keys.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_enum-keys.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// all enumerable object keys, includes symbols\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , gOPS = __webpack_require__(/*! ./_object-gops */ \"./node_modules/core-js/library/modules/_object-gops.js\")\n , pIE = __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\");\nmodule.exports = function(it){\n var result = getKeys(it)\n , getSymbols = gOPS.f;\n if(getSymbols){\n var symbols = getSymbols(it)\n , isEnum = pIE.f\n , i = 0\n , key;\n while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);\n } return result;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_export.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_export.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/library/modules/_ctx.js\")\n , hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")\n , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n var IS_FORCED = type & $export.F\n , IS_GLOBAL = type & $export.G\n , IS_STATIC = type & $export.S\n , IS_PROTO = type & $export.P\n , IS_BIND = type & $export.B\n , IS_WRAP = type & $export.W\n , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n , expProto = exports[PROTOTYPE]\n , target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]\n , key, own, out;\n if(IS_GLOBAL)source = name;\n for(key in source){\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if(own && key in exports)continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function(C){\n var F = function(a, b, c){\n if(this instanceof C){\n switch(arguments.length){\n case 0: return new C;\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if(IS_PROTO){\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if(type & $export.R && expProto && !expProto[key])hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library` \nmodule.exports = $export;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_fails.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_fails.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_global.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_global.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_has.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_has.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_hide.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_hide.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\");\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? function(object, key, value){\n return dP.f(object, key, createDesc(1, value));\n} : function(object, key, value){\n object[key] = value;\n return object;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_html.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_html.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\").document && document.documentElement;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_ie8-dom-define.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_ie8-dom-define.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") && !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n return Object.defineProperty(__webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/library/modules/_dom-create.js\")('div'), 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iobject.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iobject.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/library/modules/_cof.js\");\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_is-array-iter.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_is-array-iter.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// check on default Array iterator\nvar Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , ArrayProto = Array.prototype;\n\nmodule.exports = function(it){\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_is-array.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_is-array.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(/*! ./_cof */ \"./node_modules/core-js/library/modules/_cof.js\");\nmodule.exports = Array.isArray || function isArray(arg){\n return cof(arg) == 'Array';\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_is-object.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_is-object.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-call.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-call.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// call something on iterator step with safe closing on error\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\");\nmodule.exports = function(iterator, fn, value, entries){\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch(e){\n var ret = iterator['return'];\n if(ret !== undefined)anObject(ret.call(iterator));\n throw e;\n }\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-create.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-create.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar create = __webpack_require__(/*! ./_object-create */ \"./node_modules/core-js/library/modules/_object-create.js\")\n , descriptor = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\")\n , setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\")\n , IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")(IteratorPrototype, __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator'), function(){ return this; });\n\nmodule.exports = function(Constructor, NAME, next){\n Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-define.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-define.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar LIBRARY = __webpack_require__(/*! ./_library */ \"./node_modules/core-js/library/modules/_library.js\")\n , $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/library/modules/_redefine.js\")\n , hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , $iterCreate = __webpack_require__(/*! ./_iter-create */ \"./node_modules/core-js/library/modules/_iter-create.js\")\n , setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\")\n , getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ \"./node_modules/core-js/library/modules/_object-gpo.js\")\n , ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n , FF_ITERATOR = '@@iterator'\n , KEYS = 'keys'\n , VALUES = 'values';\n\nvar returnThis = function(){ return this; };\n\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind){\n if(!BUGGY && kind in proto)return proto[kind];\n switch(kind){\n case KEYS: return function keys(){ return new Constructor(this, kind); };\n case VALUES: return function values(){ return new Constructor(this, kind); };\n } return function entries(){ return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator'\n , DEF_VALUES = DEFAULT == VALUES\n , VALUES_BUG = false\n , proto = Base.prototype\n , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n , $default = $native || getMethod(DEFAULT)\n , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n , methods, key, IteratorPrototype;\n // Fix native\n if($anyNative){\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n if(IteratorPrototype !== Object.prototype){\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if(DEF_VALUES && $native && $native.name !== VALUES){\n VALUES_BUG = true;\n $default = function values(){ return $native.call(this); };\n }\n // Define iterator\n if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if(DEFAULT){\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if(FORCED)for(key in methods){\n if(!(key in proto))redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-detect.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-detect.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function(){ SAFE_CLOSING = true; };\n Array.from(riter, function(){ throw 2; });\n} catch(e){ /* empty */ }\n\nmodule.exports = function(exec, skipClosing){\n if(!skipClosing && !SAFE_CLOSING)return false;\n var safe = false;\n try {\n var arr = [7]\n , iter = arr[ITERATOR]();\n iter.next = function(){ return {done: safe = true}; };\n arr[ITERATOR] = function(){ return iter; };\n exec(arr);\n } catch(e){ /* empty */ }\n return safe;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iter-step.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iter-step.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(done, value){\n return {value: value, done: !!done};\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_iterators.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_iterators.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_keyof.js\":\n/*!********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_keyof.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\");\nmodule.exports = function(object, el){\n var O = toIObject(object)\n , keys = getKeys(O)\n , length = keys.length\n , index = 0\n , key;\n while(length > index)if(O[key = keys[index++]] === el)return key;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_library.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_library.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = true;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_meta.js\":\n/*!*******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_meta.js ***!\n \\*******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar META = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\")('meta')\n , isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , setDesc = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f\n , id = 0;\nvar isExtensible = Object.isExtensible || function(){\n return true;\n};\nvar FREEZE = !__webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function(it){\n setDesc(it, META, {value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n }});\n};\nvar fastKey = function(it, create){\n // return primitive with prefix\n if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return 'F';\n // not necessary to add metadata\n if(!create)return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function(it, create){\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return true;\n // not necessary to add metadata\n if(!create)return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function(it){\n if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-assign.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-assign.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , gOPS = __webpack_require__(/*! ./_object-gops */ \"./node_modules/core-js/library/modules/_object-gops.js\")\n , pIE = __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\")\n , toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , IObject = __webpack_require__(/*! ./_iobject */ \"./node_modules/core-js/library/modules/_iobject.js\")\n , $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || __webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")(function(){\n var A = {}\n , B = {}\n , S = Symbol()\n , K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k){ B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n var T = toObject(target)\n , aLen = arguments.length\n , index = 1\n , getSymbols = gOPS.f\n , isEnum = pIE.f;\n while(aLen > index){\n var S = IObject(arguments[index++])\n , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n , length = keys.length\n , j = 0\n , key;\n while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n } return T;\n} : $assign;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-create.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-create.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , dPs = __webpack_require__(/*! ./_object-dps */ \"./node_modules/core-js/library/modules/_object-dps.js\")\n , enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\")\n , IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/library/modules/_shared-key.js\")('IE_PROTO')\n , Empty = function(){ /* empty */ }\n , PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function(){\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(/*! ./_dom-create */ \"./node_modules/core-js/library/modules/_dom-create.js\")('iframe')\n , i = enumBugKeys.length\n , lt = '<'\n , gt = '>'\n , iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(/*! ./_html */ \"./node_modules/core-js/library/modules/_html.js\").appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties){\n var result;\n if(O !== null){\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty;\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-dp.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-dp.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/library/modules/_ie8-dom-define.js\")\n , toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/library/modules/_to-primitive.js\")\n , dP = Object.defineProperty;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? Object.defineProperty : function defineProperty(O, P, Attributes){\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if(IE8_DOM_DEFINE)try {\n return dP(O, P, Attributes);\n } catch(e){ /* empty */ }\n if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n if('value' in Attributes)O[P] = Attributes.value;\n return O;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-dps.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-dps.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , getKeys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\");\n\nmodule.exports = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? Object.defineProperties : function defineProperties(O, Properties){\n anObject(O);\n var keys = getKeys(Properties)\n , length = keys.length\n , i = 0\n , P;\n while(length > i)dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gopd.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gopd.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar pIE = __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/library/modules/_to-primitive.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ \"./node_modules/core-js/library/modules/_ie8-dom-define.js\")\n , gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\") ? gOPD : function getOwnPropertyDescriptor(O, P){\n O = toIObject(O);\n P = toPrimitive(P, true);\n if(IE8_DOM_DEFINE)try {\n return gOPD(O, P);\n } catch(e){ /* empty */ }\n if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gopn-ext.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gopn-ext.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , gOPN = __webpack_require__(/*! ./_object-gopn */ \"./node_modules/core-js/library/modules/_object-gopn.js\").f\n , toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function(it){\n try {\n return gOPN(it);\n } catch(e){\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it){\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gopn.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gopn.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = __webpack_require__(/*! ./_object-keys-internal */ \"./node_modules/core-js/library/modules/_object-keys-internal.js\")\n , hiddenKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\").concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){\n return $keys(O, hiddenKeys);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gops.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gops.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nexports.f = Object.getOwnPropertySymbols;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-gpo.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-gpo.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/library/modules/_shared-key.js\")('IE_PROTO')\n , ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function(O){\n O = toObject(O);\n if(has(O, IE_PROTO))return O[IE_PROTO];\n if(typeof O.constructor == 'function' && O instanceof O.constructor){\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-keys-internal.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-keys-internal.js ***!\n \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , arrayIndexOf = __webpack_require__(/*! ./_array-includes */ \"./node_modules/core-js/library/modules/_array-includes.js\")(false)\n , IE_PROTO = __webpack_require__(/*! ./_shared-key */ \"./node_modules/core-js/library/modules/_shared-key.js\")('IE_PROTO');\n\nmodule.exports = function(object, names){\n var O = toIObject(object)\n , i = 0\n , result = []\n , key;\n for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while(names.length > i)if(has(O, key = names[i++])){\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-keys.js\":\n/*!**************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-keys.js ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(/*! ./_object-keys-internal */ \"./node_modules/core-js/library/modules/_object-keys-internal.js\")\n , enumBugKeys = __webpack_require__(/*! ./_enum-bug-keys */ \"./node_modules/core-js/library/modules/_enum-bug-keys.js\");\n\nmodule.exports = Object.keys || function keys(O){\n return $keys(O, enumBugKeys);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-pie.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-pie.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nexports.f = {}.propertyIsEnumerable;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_object-sap.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_object-sap.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// most Object methods by ES6 should accept primitives\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , fails = __webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\");\nmodule.exports = function(KEY, exec){\n var fn = (core.Object || {})[KEY] || Object[KEY]\n , exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_property-desc.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_property-desc.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_redefine.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_redefine.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\");\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_set-proto.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_set-proto.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\")\n , anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\");\nvar check = function(O, proto){\n anObject(O);\n if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function(test, buggy, set){\n try {\n set = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/library/modules/_ctx.js\")(Function.call, __webpack_require__(/*! ./_object-gopd */ \"./node_modules/core-js/library/modules/_object-gopd.js\").f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch(e){ buggy = true; }\n return function setPrototypeOf(O, proto){\n check(O, proto);\n if(buggy)O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_set-to-string-tag.js ***!\n \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar def = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('toStringTag');\n\nmodule.exports = function(it, tag, stat){\n if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_shared-key.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_shared-key.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/library/modules/_shared.js\")('keys')\n , uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\");\nmodule.exports = function(key){\n return shared[key] || (shared[key] = uid(key));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_shared.js\":\n/*!*********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_shared.js ***!\n \\*********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , SHARED = '__core-js_shared__'\n , store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key){\n return store[key] || (store[key] = {});\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_string-at.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_string-at.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/library/modules/_to-integer.js\")\n , defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/library/modules/_defined.js\");\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function(TO_STRING){\n return function(that, pos){\n var s = String(defined(that))\n , i = toInteger(pos)\n , l = s.length\n , a, b;\n if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-index.js\":\n/*!***********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-index.js ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/library/modules/_to-integer.js\")\n , max = Math.max\n , min = Math.min;\nmodule.exports = function(index, length){\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-integer.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-integer.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-iobject.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-iobject.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(/*! ./_iobject */ \"./node_modules/core-js/library/modules/_iobject.js\")\n , defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/library/modules/_defined.js\");\nmodule.exports = function(it){\n return IObject(defined(it));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-length.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-length.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.15 ToLength\nvar toInteger = __webpack_require__(/*! ./_to-integer */ \"./node_modules/core-js/library/modules/_to-integer.js\")\n , min = Math.min;\nmodule.exports = function(it){\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-object.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-object.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(/*! ./_defined */ \"./node_modules/core-js/library/modules/_defined.js\");\nmodule.exports = function(it){\n return Object(defined(it));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_to-primitive.js\":\n/*!***************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_to-primitive.js ***!\n \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(/*! ./_is-object */ \"./node_modules/core-js/library/modules/_is-object.js\");\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function(it, S){\n if(!isObject(it))return it;\n var fn, val;\n if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_uid.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_uid.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar id = 0\n , px = Math.random();\nmodule.exports = function(key){\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_wks-define.js\":\n/*!*************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_wks-define.js ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , core = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\")\n , LIBRARY = __webpack_require__(/*! ./_library */ \"./node_modules/core-js/library/modules/_library.js\")\n , wksExt = __webpack_require__(/*! ./_wks-ext */ \"./node_modules/core-js/library/modules/_wks-ext.js\")\n , defineProperty = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f;\nmodule.exports = function(name){\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_wks-ext.js\":\n/*!**********************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_wks-ext.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports.f = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\");\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/_wks.js\":\n/*!******************************************************!*\\\n !*** ./node_modules/core-js/library/modules/_wks.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar store = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/library/modules/_shared.js\")('wks')\n , uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\")\n , Symbol = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\").Symbol\n , USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function(name){\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/core.get-iterator-method.js\":\n/*!**************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/core.get-iterator-method.js ***!\n \\**************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar classof = __webpack_require__(/*! ./_classof */ \"./node_modules/core-js/library/modules/_classof.js\")\n , ITERATOR = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('iterator')\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\");\nmodule.exports = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\").getIteratorMethod = function(it){\n if(it != undefined)return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/core.get-iterator.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/core.get-iterator.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , get = __webpack_require__(/*! ./core.get-iterator-method */ \"./node_modules/core-js/library/modules/core.get-iterator-method.js\");\nmodule.exports = __webpack_require__(/*! ./_core */ \"./node_modules/core-js/library/modules/_core.js\").getIterator = function(it){\n var iterFn = get(it);\n if(typeof iterFn != 'function')throw TypeError(it + ' is not iterable!');\n return anObject(iterFn.call(it));\n};\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.array.from.js\":\n/*!****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.array.from.js ***!\n \\****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar ctx = __webpack_require__(/*! ./_ctx */ \"./node_modules/core-js/library/modules/_ctx.js\")\n , $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , call = __webpack_require__(/*! ./_iter-call */ \"./node_modules/core-js/library/modules/_iter-call.js\")\n , isArrayIter = __webpack_require__(/*! ./_is-array-iter */ \"./node_modules/core-js/library/modules/_is-array-iter.js\")\n , toLength = __webpack_require__(/*! ./_to-length */ \"./node_modules/core-js/library/modules/_to-length.js\")\n , createProperty = __webpack_require__(/*! ./_create-property */ \"./node_modules/core-js/library/modules/_create-property.js\")\n , getIterFn = __webpack_require__(/*! ./core.get-iterator-method */ \"./node_modules/core-js/library/modules/core.get-iterator-method.js\");\n\n$export($export.S + $export.F * !__webpack_require__(/*! ./_iter-detect */ \"./node_modules/core-js/library/modules/_iter-detect.js\")(function(iter){ Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n var O = toObject(arrayLike)\n , C = typeof this == 'function' ? this : Array\n , aLen = arguments.length\n , mapfn = aLen > 1 ? arguments[1] : undefined\n , mapping = mapfn !== undefined\n , index = 0\n , iterFn = getIterFn(O)\n , length, result, step, iterator;\n if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for(result = new C(length); length > index; index++){\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.array.iterator.js\":\n/*!********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.array.iterator.js ***!\n \\********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar addToUnscopables = __webpack_require__(/*! ./_add-to-unscopables */ \"./node_modules/core-js/library/modules/_add-to-unscopables.js\")\n , step = __webpack_require__(/*! ./_iter-step */ \"./node_modules/core-js/library/modules/_iter-step.js\")\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\");\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = __webpack_require__(/*! ./_iter-define */ \"./node_modules/core-js/library/modules/_iter-define.js\")(Array, 'Array', function(iterated, kind){\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , kind = this._k\n , index = this._i++;\n if(!O || index >= O.length){\n this._t = undefined;\n return step(1);\n }\n if(kind == 'keys' )return step(0, index);\n if(kind == 'values')return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.assign.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.assign.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.3.1 Object.assign(target, source)\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\");\n\n$export($export.S + $export.F, 'Object', {assign: __webpack_require__(/*! ./_object-assign */ \"./node_modules/core-js/library/modules/_object-assign.js\")});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.create.js\":\n/*!*******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.create.js ***!\n \\*******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', {create: __webpack_require__(/*! ./_object-create */ \"./node_modules/core-js/library/modules/_object-create.js\")});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.define-property.js\":\n/*!****************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.define-property.js ***!\n \\****************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\");\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !__webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\"), 'Object', {defineProperty: __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\").f});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js\":\n/*!****************************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.get-own-property-descriptor.js ***!\n \\****************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , $getOwnPropertyDescriptor = __webpack_require__(/*! ./_object-gopd */ \"./node_modules/core-js/library/modules/_object-gopd.js\").f;\n\n__webpack_require__(/*! ./_object-sap */ \"./node_modules/core-js/library/modules/_object-sap.js\")('getOwnPropertyDescriptor', function(){\n return function getOwnPropertyDescriptor(it, key){\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.keys.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.keys.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.14 Object.keys(O)\nvar toObject = __webpack_require__(/*! ./_to-object */ \"./node_modules/core-js/library/modules/_to-object.js\")\n , $keys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\");\n\n__webpack_require__(/*! ./_object-sap */ \"./node_modules/core-js/library/modules/_object-sap.js\")('keys', function(){\n return function keys(it){\n return $keys(toObject(it));\n };\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.set-prototype-of.js\":\n/*!*****************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.set-prototype-of.js ***!\n \\*****************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\");\n$export($export.S, 'Object', {setPrototypeOf: __webpack_require__(/*! ./_set-proto */ \"./node_modules/core-js/library/modules/_set-proto.js\").set});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.object.to-string.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.object.to-string.js ***!\n \\**********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.string.iterator.js\":\n/*!*********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.string.iterator.js ***!\n \\*********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $at = __webpack_require__(/*! ./_string-at */ \"./node_modules/core-js/library/modules/_string-at.js\")(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n__webpack_require__(/*! ./_iter-define */ \"./node_modules/core-js/library/modules/_iter-define.js\")(String, 'String', function(iterated){\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , index = this._i\n , point;\n if(index >= O.length)return {value: undefined, done: true};\n point = $at(O, index);\n this._i += point.length;\n return {value: point, done: false};\n});\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es6.symbol.js\":\n/*!************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es6.symbol.js ***!\n \\************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n// ECMAScript 6 symbols shim\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , has = __webpack_require__(/*! ./_has */ \"./node_modules/core-js/library/modules/_has.js\")\n , DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ \"./node_modules/core-js/library/modules/_descriptors.js\")\n , $export = __webpack_require__(/*! ./_export */ \"./node_modules/core-js/library/modules/_export.js\")\n , redefine = __webpack_require__(/*! ./_redefine */ \"./node_modules/core-js/library/modules/_redefine.js\")\n , META = __webpack_require__(/*! ./_meta */ \"./node_modules/core-js/library/modules/_meta.js\").KEY\n , $fails = __webpack_require__(/*! ./_fails */ \"./node_modules/core-js/library/modules/_fails.js\")\n , shared = __webpack_require__(/*! ./_shared */ \"./node_modules/core-js/library/modules/_shared.js\")\n , setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ \"./node_modules/core-js/library/modules/_set-to-string-tag.js\")\n , uid = __webpack_require__(/*! ./_uid */ \"./node_modules/core-js/library/modules/_uid.js\")\n , wks = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")\n , wksExt = __webpack_require__(/*! ./_wks-ext */ \"./node_modules/core-js/library/modules/_wks-ext.js\")\n , wksDefine = __webpack_require__(/*! ./_wks-define */ \"./node_modules/core-js/library/modules/_wks-define.js\")\n , keyOf = __webpack_require__(/*! ./_keyof */ \"./node_modules/core-js/library/modules/_keyof.js\")\n , enumKeys = __webpack_require__(/*! ./_enum-keys */ \"./node_modules/core-js/library/modules/_enum-keys.js\")\n , isArray = __webpack_require__(/*! ./_is-array */ \"./node_modules/core-js/library/modules/_is-array.js\")\n , anObject = __webpack_require__(/*! ./_an-object */ \"./node_modules/core-js/library/modules/_an-object.js\")\n , toIObject = __webpack_require__(/*! ./_to-iobject */ \"./node_modules/core-js/library/modules/_to-iobject.js\")\n , toPrimitive = __webpack_require__(/*! ./_to-primitive */ \"./node_modules/core-js/library/modules/_to-primitive.js\")\n , createDesc = __webpack_require__(/*! ./_property-desc */ \"./node_modules/core-js/library/modules/_property-desc.js\")\n , _create = __webpack_require__(/*! ./_object-create */ \"./node_modules/core-js/library/modules/_object-create.js\")\n , gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ \"./node_modules/core-js/library/modules/_object-gopn-ext.js\")\n , $GOPD = __webpack_require__(/*! ./_object-gopd */ \"./node_modules/core-js/library/modules/_object-gopd.js\")\n , $DP = __webpack_require__(/*! ./_object-dp */ \"./node_modules/core-js/library/modules/_object-dp.js\")\n , $keys = __webpack_require__(/*! ./_object-keys */ \"./node_modules/core-js/library/modules/_object-keys.js\")\n , gOPD = $GOPD.f\n , dP = $DP.f\n , gOPN = gOPNExt.f\n , $Symbol = global.Symbol\n , $JSON = global.JSON\n , _stringify = $JSON && $JSON.stringify\n , PROTOTYPE = 'prototype'\n , HIDDEN = wks('_hidden')\n , TO_PRIMITIVE = wks('toPrimitive')\n , isEnum = {}.propertyIsEnumerable\n , SymbolRegistry = shared('symbol-registry')\n , AllSymbols = shared('symbols')\n , OPSymbols = shared('op-symbols')\n , ObjectProto = Object[PROTOTYPE]\n , USE_NATIVE = typeof $Symbol == 'function'\n , QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n return _create(dP({}, 'a', {\n get: function(){ return dP(this, 'a', {value: 7}).a; }\n })).a != 7;\n}) ? function(it, key, D){\n var protoDesc = gOPD(ObjectProto, key);\n if(protoDesc)delete ObjectProto[key];\n dP(it, key, D);\n if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function(tag){\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){\n return typeof it == 'symbol';\n} : function(it){\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D){\n if(it === ObjectProto)$defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if(has(AllSymbols, key)){\n if(!D.enumerable){\n if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n D = _create(D, {enumerable: createDesc(0, false)});\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P){\n anObject(it);\n var keys = enumKeys(P = toIObject(P))\n , i = 0\n , l = keys.length\n , key;\n while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P){\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n it = toIObject(it);\n key = toPrimitive(key, true);\n if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;\n var D = gOPD(it, key);\n if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n var names = gOPN(toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n var IS_OP = it === ObjectProto\n , names = gOPN(IS_OP ? OPSymbols : toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif(!USE_NATIVE){\n $Symbol = function Symbol(){\n if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function(value){\n if(this === ObjectProto)$set.call(OPSymbols, value);\n if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString(){\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n __webpack_require__(/*! ./_object-gopn */ \"./node_modules/core-js/library/modules/_object-gopn.js\").f = gOPNExt.f = $getOwnPropertyNames;\n __webpack_require__(/*! ./_object-pie */ \"./node_modules/core-js/library/modules/_object-pie.js\").f = $propertyIsEnumerable;\n __webpack_require__(/*! ./_object-gops */ \"./node_modules/core-js/library/modules/_object-gops.js\").f = $getOwnPropertySymbols;\n\n if(DESCRIPTORS && !__webpack_require__(/*! ./_library */ \"./node_modules/core-js/library/modules/_library.js\")){\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function(name){\n return wrap(wks(name));\n }\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});\n\nfor(var symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);\n\nfor(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function(key){\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(key){\n if(isSymbol(key))return keyOf(SymbolRegistry, key);\n throw TypeError(key + ' is not a symbol!');\n },\n useSetter: function(){ setter = true; },\n useSimple: function(){ setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it){\n if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n var args = [it]\n , i = 1\n , replacer, $replacer;\n while(arguments.length > i)args.push(arguments[i++]);\n replacer = args[1];\n if(typeof replacer == 'function')$replacer = replacer;\n if($replacer || !isArray(replacer))replacer = function(key, value){\n if($replacer)value = $replacer.call(this, key, value);\n if(!isSymbol(value))return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es7.symbol.async-iterator.js\":\n/*!***************************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es7.symbol.async-iterator.js ***!\n \\***************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ./_wks-define */ \"./node_modules/core-js/library/modules/_wks-define.js\")('asyncIterator');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/es7.symbol.observable.js\":\n/*!***********************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/es7.symbol.observable.js ***!\n \\***********************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ./_wks-define */ \"./node_modules/core-js/library/modules/_wks-define.js\")('observable');\n\n/***/ }),\n\n/***/ \"./node_modules/core-js/library/modules/web.dom.iterable.js\":\n/*!******************************************************************!*\\\n !*** ./node_modules/core-js/library/modules/web.dom.iterable.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(/*! ./es6.array.iterator */ \"./node_modules/core-js/library/modules/es6.array.iterator.js\");\nvar global = __webpack_require__(/*! ./_global */ \"./node_modules/core-js/library/modules/_global.js\")\n , hide = __webpack_require__(/*! ./_hide */ \"./node_modules/core-js/library/modules/_hide.js\")\n , Iterators = __webpack_require__(/*! ./_iterators */ \"./node_modules/core-js/library/modules/_iterators.js\")\n , TO_STRING_TAG = __webpack_require__(/*! ./_wks */ \"./node_modules/core-js/library/modules/_wks.js\")('toStringTag');\n\nfor(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){\n var NAME = collections[i]\n , Collection = global[NAME]\n , proto = Collection && Collection.prototype;\n if(proto && !proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/container/public/style.scss\":\n/*!***************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/container/public/style.scss ***!\n \\***************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".container[data-container] {\\n position: absolute;\\n background-color: black;\\n height: 100%;\\n width: 100%;\\n max-width: 100%; }\\n .container[data-container] .chromeless {\\n cursor: default; }\\n\\n[data-player]:not(.nocursor) .container[data-container]:not(.chromeless).pointer-enabled {\\n cursor: pointer; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/core/public/style.scss\":\n/*!**********************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/core/public/style.scss ***!\n \\**********************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-player] {\\n -webkit-touch-callout: none;\\n -webkit-user-select: none;\\n -moz-user-select: none;\\n -ms-user-select: none;\\n -o-user-select: none;\\n user-select: none;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n -webkit-transform: translate3d(0, 0, 0);\\n transform: translate3d(0, 0, 0);\\n position: relative;\\n margin: 0;\\n padding: 0;\\n border: 0;\\n font-style: normal;\\n font-weight: normal;\\n text-align: center;\\n overflow: hidden;\\n font-size: 100%;\\n font-family: \\\"Roboto\\\", \\\"Open Sans\\\", Arial, sans-serif;\\n text-shadow: 0 0 0;\\n box-sizing: border-box; }\\n [data-player] div, [data-player] span, [data-player] applet, [data-player] object, [data-player] iframe,\\n [data-player] h1, [data-player] h2, [data-player] h3, [data-player] h4, [data-player] h5, [data-player] h6, [data-player] p, [data-player] blockquote, [data-player] pre,\\n [data-player] a, [data-player] abbr, [data-player] acronym, [data-player] address, [data-player] big, [data-player] cite, [data-player] code,\\n [data-player] del, [data-player] dfn, [data-player] em, [data-player] img, [data-player] ins, [data-player] kbd, [data-player] q, [data-player] s, [data-player] samp,\\n [data-player] small, [data-player] strike, [data-player] strong, [data-player] sub, [data-player] sup, [data-player] tt, [data-player] var,\\n [data-player] b, [data-player] u, [data-player] i, [data-player] center,\\n [data-player] dl, [data-player] dt, [data-player] dd, [data-player] ol, [data-player] ul, [data-player] li,\\n [data-player] fieldset, [data-player] form, [data-player] label, [data-player] legend,\\n [data-player] table, [data-player] caption, [data-player] tbody, [data-player] tfoot, [data-player] thead, [data-player] tr, [data-player] th, [data-player] td,\\n [data-player] article, [data-player] aside, [data-player] canvas, [data-player] details, [data-player] embed,\\n [data-player] figure, [data-player] figcaption, [data-player] footer, [data-player] header, [data-player] hgroup,\\n [data-player] menu, [data-player] nav, [data-player] output, [data-player] ruby, [data-player] section, [data-player] summary,\\n [data-player] time, [data-player] mark, [data-player] audio, [data-player] video {\\n margin: 0;\\n padding: 0;\\n border: 0;\\n font: inherit;\\n font-size: 100%;\\n vertical-align: baseline; }\\n [data-player] table {\\n border-collapse: collapse;\\n border-spacing: 0; }\\n [data-player] caption, [data-player] th, [data-player] td {\\n text-align: left;\\n font-weight: normal;\\n vertical-align: middle; }\\n [data-player] q, [data-player] blockquote {\\n quotes: none; }\\n [data-player] q:before, [data-player] q:after, [data-player] blockquote:before, [data-player] blockquote:after {\\n content: \\\"\\\";\\n content: none; }\\n [data-player] a img {\\n border: none; }\\n [data-player]:focus {\\n outline: 0; }\\n [data-player] * {\\n max-width: none;\\n box-sizing: inherit;\\n float: none; }\\n [data-player] div {\\n display: block; }\\n [data-player].fullscreen {\\n width: 100% !important;\\n height: 100% !important;\\n top: 0;\\n left: 0; }\\n [data-player].nocursor {\\n cursor: none; }\\n\\n.clappr-style {\\n display: none !important; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/base_flash_playback/public/flash.scss\":\n/*!************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/base_flash_playback/public/flash.scss ***!\n \\************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".clappr-flash-playback[data-flash-playback] {\\n display: block;\\n position: absolute;\\n top: 0;\\n left: 0;\\n height: 100%;\\n width: 100%;\\n pointer-events: none; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html5_video/public/style.scss\":\n/*!****************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html5_video/public/style.scss ***!\n \\****************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-html5-video] {\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n display: block; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html_img/public/style.scss\":\n/*!*************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html_img/public/style.scss ***!\n \\*************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-html-img] {\\n max-width: 100%;\\n max-height: 100%; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/no_op/public/style.scss\":\n/*!**********************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/no_op/public/style.scss ***!\n \\**********************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"[data-no-op] {\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n text-align: center; }\\n\\n[data-no-op] p[data-no-op-msg] {\\n position: absolute;\\n text-align: center;\\n font-size: 25px;\\n left: 0;\\n right: 0;\\n color: white;\\n padding: 10px;\\n /* center vertically */\\n top: 50%;\\n -webkit-transform: translateY(-50%);\\n transform: translateY(-50%);\\n max-height: 100%;\\n overflow: auto; }\\n\\n[data-no-op] canvas[data-no-op-canvas] {\\n background-color: #777;\\n height: 100%;\\n width: 100%; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/closed_captions/public/closed_captions.scss\":\n/*!****************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/closed_captions/public/closed_captions.scss ***!\n \\****************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".cc-controls[data-cc-controls] {\\n float: right;\\n position: relative;\\n display: none; }\\n .cc-controls[data-cc-controls].available {\\n display: block; }\\n .cc-controls[data-cc-controls] .cc-button {\\n padding: 6px !important; }\\n .cc-controls[data-cc-controls] .cc-button.enabled {\\n display: block;\\n opacity: 1.0; }\\n .cc-controls[data-cc-controls] .cc-button.enabled:hover {\\n opacity: 1.0;\\n text-shadow: none; }\\n .cc-controls[data-cc-controls] > ul {\\n list-style-type: none;\\n position: absolute;\\n bottom: 25px;\\n border: 1px solid black;\\n display: none;\\n background-color: #e6e6e6; }\\n .cc-controls[data-cc-controls] li {\\n font-size: 10px; }\\n .cc-controls[data-cc-controls] li[data-title] {\\n background-color: #c3c2c2;\\n padding: 5px; }\\n .cc-controls[data-cc-controls] li a {\\n color: #444;\\n padding: 2px 10px;\\n display: block;\\n text-decoration: none; }\\n .cc-controls[data-cc-controls] li a:hover {\\n background-color: #555;\\n color: white; }\\n .cc-controls[data-cc-controls] li a:hover a {\\n color: white;\\n text-decoration: none; }\\n .cc-controls[data-cc-controls] li.current a {\\n color: #f00; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/dvr_controls/public/dvr_controls.scss\":\n/*!**********************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/dvr_controls/public/dvr_controls.scss ***!\n \\**********************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".dvr-controls[data-dvr-controls] {\\n display: inline-block;\\n float: left;\\n color: #fff;\\n line-height: 32px;\\n font-size: 10px;\\n font-weight: bold;\\n margin-left: 6px; }\\n .dvr-controls[data-dvr-controls] .live-info {\\n cursor: default;\\n font-family: \\\"Roboto\\\", \\\"Open Sans\\\", Arial, sans-serif;\\n text-transform: uppercase; }\\n .dvr-controls[data-dvr-controls] .live-info:before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n width: 7px;\\n height: 7px;\\n border-radius: 3.5px;\\n margin-right: 3.5px;\\n background-color: #ff0101; }\\n .dvr-controls[data-dvr-controls] .live-info.disabled {\\n opacity: 0.3; }\\n .dvr-controls[data-dvr-controls] .live-info.disabled:before {\\n background-color: #fff; }\\n .dvr-controls[data-dvr-controls] .live-button {\\n cursor: pointer;\\n outline: none;\\n display: none;\\n border: 0;\\n color: #fff;\\n background-color: transparent;\\n height: 32px;\\n padding: 0;\\n opacity: 0.7;\\n font-family: \\\"Roboto\\\", \\\"Open Sans\\\", Arial, sans-serif;\\n text-transform: uppercase;\\n transition: all 0.1s ease; }\\n .dvr-controls[data-dvr-controls] .live-button:before {\\n content: \\\"\\\";\\n display: inline-block;\\n position: relative;\\n width: 7px;\\n height: 7px;\\n border-radius: 3.5px;\\n margin-right: 3.5px;\\n background-color: #fff; }\\n .dvr-controls[data-dvr-controls] .live-button:hover {\\n opacity: 1;\\n text-shadow: rgba(255, 255, 255, 0.75) 0 0 5px; }\\n\\n.dvr .dvr-controls[data-dvr-controls] .live-info {\\n display: none; }\\n\\n.dvr .dvr-controls[data-dvr-controls] .live-button {\\n display: block; }\\n\\n.dvr.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {\\n background-color: #005aff; }\\n\\n.media-control.live[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {\\n background-color: #ff0101; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/error_screen/public/error_screen.scss\":\n/*!**********************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/error_screen/public/error_screen.scss ***!\n \\**********************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"div.player-error-screen {\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n color: #CCCACA;\\n position: absolute;\\n top: 0;\\n height: 100%;\\n width: 100%;\\n background-color: rgba(0, 0, 0, 0.7);\\n z-index: 2000;\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-orient: vertical;\\n -webkit-box-direction: normal;\\n -ms-flex-direction: column;\\n flex-direction: column;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center; }\\n div.player-error-screen__content[data-error-screen] {\\n font-size: 14px;\\n color: #CCCACA;\\n margin-top: 45px; }\\n div.player-error-screen__title[data-error-screen] {\\n font-weight: bold;\\n line-height: 30px;\\n font-size: 18px; }\\n div.player-error-screen__message[data-error-screen] {\\n width: 90%;\\n margin: 0 auto; }\\n div.player-error-screen__code[data-error-screen] {\\n font-size: 13px;\\n margin-top: 15px; }\\n div.player-error-screen__reload {\\n cursor: pointer;\\n width: 30px;\\n margin: 15px auto 0; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/media_control/public/media-control.scss\":\n/*!************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/media_control/public/media-control.scss ***!\n \\************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar escape = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/url/escape.js */ \"./node_modules/css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".media-control-notransition {\\n transition: none !important; }\\n\\n.media-control[data-media-control] {\\n position: absolute;\\n width: 100%;\\n height: 100%;\\n z-index: 9999;\\n pointer-events: none; }\\n .media-control[data-media-control].dragging {\\n pointer-events: auto;\\n cursor: -webkit-grabbing !important;\\n cursor: grabbing !important;\\n cursor: url(\" + escape(__webpack_require__(/*! ./closed-hand.cur */ \"./src/plugins/media_control/public/closed-hand.cur\")) + \"), move; }\\n .media-control[data-media-control].dragging * {\\n cursor: -webkit-grabbing !important;\\n cursor: grabbing !important;\\n cursor: url(\" + escape(__webpack_require__(/*! ./closed-hand.cur */ \"./src/plugins/media_control/public/closed-hand.cur\")) + \"), move; }\\n .media-control[data-media-control] .media-control-background[data-background] {\\n position: absolute;\\n height: 40%;\\n width: 100%;\\n bottom: 0;\\n background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));\\n transition: opacity 0.6s ease-out; }\\n .media-control[data-media-control] .media-control-icon {\\n line-height: 0;\\n letter-spacing: 0;\\n speak: none;\\n color: #fff;\\n opacity: 0.5;\\n vertical-align: middle;\\n text-align: left;\\n transition: all 0.1s ease; }\\n .media-control[data-media-control] .media-control-icon:hover {\\n color: white;\\n opacity: 0.75;\\n text-shadow: rgba(255, 255, 255, 0.8) 0 0 5px; }\\n .media-control[data-media-control].media-control-hide .media-control-background[data-background] {\\n opacity: 0; }\\n .media-control[data-media-control].media-control-hide .media-control-layer[data-controls] {\\n bottom: -50px; }\\n .media-control[data-media-control].media-control-hide .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar] {\\n opacity: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] {\\n position: absolute;\\n bottom: 7px;\\n width: 100%;\\n height: 32px;\\n font-size: 0;\\n vertical-align: middle;\\n pointer-events: auto;\\n transition: bottom 0.4s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-left-panel[data-media-control] {\\n position: absolute;\\n top: 0;\\n left: 4px;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-center-panel[data-media-control] {\\n height: 100%;\\n text-align: center;\\n line-height: 32px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-right-panel[data-media-control] {\\n position: absolute;\\n top: 0;\\n right: 4px;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button {\\n background-color: transparent;\\n border: 0;\\n margin: 0 6px;\\n padding: 0;\\n cursor: pointer;\\n display: inline-block;\\n width: 32px;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button svg {\\n width: 100%;\\n height: 22px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button svg path {\\n fill: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button:focus {\\n outline: none; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-play] {\\n float: left;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-pause] {\\n float: left;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-stop] {\\n float: left;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-fullscreen] {\\n float: right;\\n background-color: transparent;\\n border: 0;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator] {\\n background-color: transparent;\\n border: 0;\\n cursor: default;\\n display: none;\\n float: right;\\n height: 100%; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator].enabled {\\n display: block;\\n opacity: 1.0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-hd-indicator].enabled:hover {\\n opacity: 1.0;\\n text-shadow: none; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playpause] {\\n float: left; }\\n .media-control[data-media-control] .media-control-layer[data-controls] button.media-control-button[data-playstop] {\\n float: left; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-position], .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration] {\\n display: inline-block;\\n font-size: 10px;\\n color: white;\\n cursor: default;\\n line-height: 32px;\\n position: relative; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-position] {\\n margin: 0 6px 0 7px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration] {\\n color: rgba(255, 255, 255, 0.5);\\n margin-right: 6px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .media-control-indicator[data-duration]:before {\\n content: \\\"|\\\";\\n margin-right: 7px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] {\\n position: absolute;\\n top: -20px;\\n left: 0;\\n display: inline-block;\\n vertical-align: middle;\\n width: 100%;\\n height: 25px;\\n cursor: pointer; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] {\\n width: 100%;\\n height: 1px;\\n position: relative;\\n top: 12px;\\n background-color: #666666; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-1[data-seekbar] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #c2c2c2;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-fill-2[data-seekbar] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #005aff;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar] .bar-hover[data-seekbar] {\\n opacity: 0;\\n position: absolute;\\n top: -3px;\\n width: 5px;\\n height: 7px;\\n background-color: rgba(255, 255, 255, 0.5);\\n transition: opacity 0.1s ease; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar]:hover .bar-background[data-seekbar] .bar-hover[data-seekbar] {\\n opacity: 1; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar].seek-disabled {\\n cursor: default; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar].seek-disabled:hover .bar-background[data-seekbar] .bar-hover[data-seekbar] {\\n opacity: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar] {\\n position: absolute;\\n -webkit-transform: translateX(-50%);\\n transform: translateX(-50%);\\n top: 2px;\\n left: 0;\\n width: 20px;\\n height: 20px;\\n opacity: 1;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-scrubber[data-seekbar] .bar-scrubber-icon[data-seekbar] {\\n position: absolute;\\n left: 6px;\\n top: 6px;\\n width: 8px;\\n height: 8px;\\n border-radius: 10px;\\n box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);\\n background-color: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] {\\n float: right;\\n display: inline-block;\\n height: 32px;\\n cursor: pointer;\\n margin: 0 6px;\\n box-sizing: border-box; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] {\\n float: left;\\n bottom: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume] {\\n background-color: transparent;\\n border: 0;\\n box-sizing: content-box;\\n width: 32px;\\n height: 32px;\\n opacity: 0.5; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume]:hover {\\n opacity: 0.75; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume] svg {\\n height: 24px;\\n position: relative;\\n top: 3px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume] svg path {\\n fill: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .drawer-icon-container[data-volume] .drawer-icon[data-volume].muted svg {\\n margin-left: 2px; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] {\\n float: left;\\n position: relative;\\n overflow: hidden;\\n top: 6px;\\n width: 42px;\\n height: 18px;\\n padding: 3px 0;\\n transition: width .2s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] {\\n height: 1px;\\n position: relative;\\n top: 7px;\\n margin: 0 3px;\\n background-color: #666666; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] .bar-fill-1[data-volume] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #c2c2c2;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] .bar-fill-2[data-volume] {\\n position: absolute;\\n top: 0;\\n left: 0;\\n width: 0;\\n height: 100%;\\n background-color: #005aff;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-background[data-volume] .bar-hover[data-volume] {\\n opacity: 0;\\n position: absolute;\\n top: -3px;\\n width: 5px;\\n height: 7px;\\n background-color: rgba(255, 255, 255, 0.5);\\n transition: opacity 0.1s ease; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-scrubber[data-volume] {\\n position: absolute;\\n -webkit-transform: translateX(-50%);\\n transform: translateX(-50%);\\n top: 0px;\\n left: 0;\\n width: 20px;\\n height: 20px;\\n opacity: 1;\\n transition: all 0.1s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .bar-scrubber[data-volume] .bar-scrubber-icon[data-volume] {\\n position: absolute;\\n left: 6px;\\n top: 6px;\\n width: 8px;\\n height: 8px;\\n border-radius: 10px;\\n box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.2);\\n background-color: white; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume] {\\n float: left;\\n width: 4px;\\n padding-left: 2px;\\n height: 12px;\\n opacity: 0.5;\\n box-shadow: inset 2px 0 0 white;\\n transition: -webkit-transform .2s ease-out;\\n transition: transform .2s ease-out;\\n transition: transform .2s ease-out, -webkit-transform .2s ease-out; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume].fill {\\n box-shadow: inset 2px 0 0 #fff;\\n opacity: 1; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:nth-of-type(1) {\\n padding-left: 0; }\\n .media-control[data-media-control] .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume] .segmented-bar-element[data-volume]:hover {\\n -webkit-transform: scaleY(1.5);\\n transform: scaleY(1.5); }\\n .media-control[data-media-control].w320 .media-control-layer[data-controls] .drawer-container[data-volume] .bar-container[data-volume].volume-bar-hide {\\n width: 0;\\n height: 12px;\\n top: 9px;\\n padding: 0; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/poster/public/poster.scss\":\n/*!**********************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/poster/public/poster.scss ***!\n \\**********************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".player-poster[data-poster] {\\n display: -webkit-box;\\n display: -ms-flexbox;\\n display: flex;\\n -webkit-box-pack: center;\\n -ms-flex-pack: center;\\n justify-content: center;\\n -webkit-box-align: center;\\n -ms-flex-align: center;\\n align-items: center;\\n position: absolute;\\n height: 100%;\\n width: 100%;\\n z-index: 998;\\n top: 0;\\n left: 0;\\n background-color: #000;\\n background-size: cover;\\n background-repeat: no-repeat;\\n background-position: 50% 50%; }\\n .player-poster[data-poster].clickable {\\n cursor: pointer; }\\n .player-poster[data-poster]:hover .play-wrapper[data-poster] {\\n opacity: 1; }\\n .player-poster[data-poster] .play-wrapper[data-poster] {\\n width: 100%;\\n height: 25%;\\n margin: 0 auto;\\n opacity: 0.75;\\n transition: opacity 0.1s ease; }\\n .player-poster[data-poster] .play-wrapper[data-poster] svg {\\n height: 100%; }\\n .player-poster[data-poster] .play-wrapper[data-poster] svg path {\\n fill: #fff; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/seek_time/public/seek_time.scss\":\n/*!****************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/seek_time/public/seek_time.scss ***!\n \\****************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".seek-time[data-seek-time] {\\n position: absolute;\\n white-space: nowrap;\\n height: 20px;\\n line-height: 20px;\\n font-size: 0;\\n left: -100%;\\n bottom: 55px;\\n background-color: rgba(2, 2, 2, 0.5);\\n z-index: 9999;\\n transition: opacity 0.1s ease; }\\n .seek-time[data-seek-time].hidden[data-seek-time] {\\n opacity: 0; }\\n .seek-time[data-seek-time] [data-seek-time] {\\n display: inline-block;\\n color: white;\\n font-size: 10px;\\n padding-left: 7px;\\n padding-right: 7px;\\n vertical-align: top; }\\n .seek-time[data-seek-time] [data-duration] {\\n display: inline-block;\\n color: rgba(255, 255, 255, 0.5);\\n font-size: 10px;\\n padding-right: 7px;\\n vertical-align: top; }\\n .seek-time[data-seek-time] [data-duration]:before {\\n content: \\\"|\\\";\\n margin-right: 7px; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/spinner_three_bounce/public/spinner.scss\":\n/*!*************************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/spinner_three_bounce/public/spinner.scss ***!\n \\*************************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".spinner-three-bounce[data-spinner] {\\n position: absolute;\\n margin: 0 auto;\\n width: 70px;\\n text-align: center;\\n z-index: 999;\\n left: 0;\\n right: 0;\\n margin-left: auto;\\n margin-right: auto;\\n /* center vertically */\\n top: 50%;\\n -webkit-transform: translateY(-50%);\\n transform: translateY(-50%); }\\n .spinner-three-bounce[data-spinner] > div {\\n width: 18px;\\n height: 18px;\\n background-color: #FFFFFF;\\n border-radius: 100%;\\n display: inline-block;\\n -webkit-animation: bouncedelay 1.4s infinite ease-in-out;\\n animation: bouncedelay 1.4s infinite ease-in-out;\\n /* Prevent first frame from flickering when animation starts */\\n -webkit-animation-fill-mode: both;\\n animation-fill-mode: both; }\\n .spinner-three-bounce[data-spinner] [data-bounce1] {\\n -webkit-animation-delay: -0.32s;\\n animation-delay: -0.32s; }\\n .spinner-three-bounce[data-spinner] [data-bounce2] {\\n -webkit-animation-delay: -0.16s;\\n animation-delay: -0.16s; }\\n\\n@-webkit-keyframes bouncedelay {\\n 0%, 80%, 100% {\\n -webkit-transform: scale(0);\\n transform: scale(0); }\\n 40% {\\n -webkit-transform: scale(1);\\n transform: scale(1); } }\\n\\n@keyframes bouncedelay {\\n 0%, 80%, 100% {\\n -webkit-transform: scale(0);\\n transform: scale(0); }\\n 40% {\\n -webkit-transform: scale(1);\\n transform: scale(1); } }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/watermark/public/watermark.scss\":\n/*!****************************************************************************************************************************************************************************************************************************!*\\\n !*** ./node_modules/css-loader!./node_modules/postcss-loader/lib!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/watermark/public/watermark.scss ***!\n \\****************************************************************************************************************************************************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \".clappr-watermark[data-watermark] {\\n position: absolute;\\n min-width: 70px;\\n max-width: 200px;\\n width: 12%;\\n text-align: center;\\n z-index: 10; }\\n\\n.clappr-watermark[data-watermark] a {\\n outline: none;\\n cursor: pointer; }\\n\\n.clappr-watermark[data-watermark] img {\\n max-width: 100%; }\\n\\n.clappr-watermark[data-watermark-bottom-left] {\\n bottom: 10px;\\n left: 10px; }\\n\\n.clappr-watermark[data-watermark-bottom-right] {\\n bottom: 10px;\\n right: 42px; }\\n\\n.clappr-watermark[data-watermark-top-left] {\\n top: 10px;\\n left: 10px; }\\n\\n.clappr-watermark[data-watermark-top-right] {\\n top: 10px;\\n right: 37px; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/lib/css-base.js\":\n/*!*************************************************!*\\\n !*** ./node_modules/css-loader/lib/css-base.js ***!\n \\*************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/css-loader/lib/url/escape.js\":\n/*!***************************************************!*\\\n !*** ./node_modules/css-loader/lib/url/escape.js ***!\n \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function escape(url) {\n if (typeof url !== 'string') {\n return url\n }\n // If url is already wrapped in quotes, remove them\n if (/^['\"].*['\"]$/.test(url)) {\n url = url.slice(1, -1);\n }\n // Should url be wrapped?\n // See https://drafts.csswg.org/css-values-3/#urls\n if (/[\"'() \\t\\n]/.test(url)) {\n return '\"' + url.replace(/\"/g, '\\\\\"').replace(/\\n/g, '\\\\n') + '\"'\n }\n\n return url\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/hls.js/dist/hls.js\":\n/*!*****************************************!*\\\n !*** ./node_modules/hls.js/dist/hls.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\ntypeof window !== \"undefined\" &&\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(true)\n\t\tmodule.exports = factory();\n\telse {}\n})(this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/hls.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/eventemitter3/index.js\":\n/*!*********************************************!*\\\n !*** ./node_modules/eventemitter3/index.js ***!\n \\*********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar has = Object.prototype.hasOwnProperty\n , prefix = '~';\n\n/**\n * Constructor to create a storage for our `EE` objects.\n * An `Events` instance is a plain object whose properties are event names.\n *\n * @constructor\n * @private\n */\nfunction Events() {}\n\n//\n// We try to not inherit from `Object.prototype`. In some engines creating an\n// instance in this way is faster than calling `Object.create(null)` directly.\n// If `Object.create(null)` is not supported we prefix the event names with a\n// character to make sure that the built-in object properties are not\n// overridden or used as an attack vector.\n//\nif (Object.create) {\n Events.prototype = Object.create(null);\n\n //\n // This hack is needed because the `__proto__` property is still inherited in\n // some old browsers like Android 4, iPhone 5.1, Opera 11 and Safari 5.\n //\n if (!new Events().__proto__) prefix = false;\n}\n\n/**\n * Representation of a single event listener.\n *\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} [once=false] Specify if the listener is a one-time listener.\n * @constructor\n * @private\n */\nfunction EE(fn, context, once) {\n this.fn = fn;\n this.context = context;\n this.once = once || false;\n}\n\n/**\n * Add a listener for a given event.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} context The context to invoke the listener with.\n * @param {Boolean} once Specify if the listener is a one-time listener.\n * @returns {EventEmitter}\n * @private\n */\nfunction addListener(emitter, event, fn, context, once) {\n if (typeof fn !== 'function') {\n throw new TypeError('The listener must be a function');\n }\n\n var listener = new EE(fn, context || emitter, once)\n , evt = prefix ? prefix + event : event;\n\n if (!emitter._events[evt]) emitter._events[evt] = listener, emitter._eventsCount++;\n else if (!emitter._events[evt].fn) emitter._events[evt].push(listener);\n else emitter._events[evt] = [emitter._events[evt], listener];\n\n return emitter;\n}\n\n/**\n * Clear event by name.\n *\n * @param {EventEmitter} emitter Reference to the `EventEmitter` instance.\n * @param {(String|Symbol)} evt The Event name.\n * @private\n */\nfunction clearEvent(emitter, evt) {\n if (--emitter._eventsCount === 0) emitter._events = new Events();\n else delete emitter._events[evt];\n}\n\n/**\n * Minimal `EventEmitter` interface that is molded against the Node.js\n * `EventEmitter` interface.\n *\n * @constructor\n * @public\n */\nfunction EventEmitter() {\n this._events = new Events();\n this._eventsCount = 0;\n}\n\n/**\n * Return an array listing the events for which the emitter has registered\n * listeners.\n *\n * @returns {Array}\n * @public\n */\nEventEmitter.prototype.eventNames = function eventNames() {\n var names = []\n , events\n , name;\n\n if (this._eventsCount === 0) return names;\n\n for (name in (events = this._events)) {\n if (has.call(events, name)) names.push(prefix ? name.slice(1) : name);\n }\n\n if (Object.getOwnPropertySymbols) {\n return names.concat(Object.getOwnPropertySymbols(events));\n }\n\n return names;\n};\n\n/**\n * Return the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Array} The registered listeners.\n * @public\n */\nEventEmitter.prototype.listeners = function listeners(event) {\n var evt = prefix ? prefix + event : event\n , handlers = this._events[evt];\n\n if (!handlers) return [];\n if (handlers.fn) return [handlers.fn];\n\n for (var i = 0, l = handlers.length, ee = new Array(l); i < l; i++) {\n ee[i] = handlers[i].fn;\n }\n\n return ee;\n};\n\n/**\n * Return the number of listeners listening to a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Number} The number of listeners.\n * @public\n */\nEventEmitter.prototype.listenerCount = function listenerCount(event) {\n var evt = prefix ? prefix + event : event\n , listeners = this._events[evt];\n\n if (!listeners) return 0;\n if (listeners.fn) return 1;\n return listeners.length;\n};\n\n/**\n * Calls each of the listeners registered for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @returns {Boolean} `true` if the event had listeners, else `false`.\n * @public\n */\nEventEmitter.prototype.emit = function emit(event, a1, a2, a3, a4, a5) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return false;\n\n var listeners = this._events[evt]\n , len = arguments.length\n , args\n , i;\n\n if (listeners.fn) {\n if (listeners.once) this.removeListener(event, listeners.fn, undefined, true);\n\n switch (len) {\n case 1: return listeners.fn.call(listeners.context), true;\n case 2: return listeners.fn.call(listeners.context, a1), true;\n case 3: return listeners.fn.call(listeners.context, a1, a2), true;\n case 4: return listeners.fn.call(listeners.context, a1, a2, a3), true;\n case 5: return listeners.fn.call(listeners.context, a1, a2, a3, a4), true;\n case 6: return listeners.fn.call(listeners.context, a1, a2, a3, a4, a5), true;\n }\n\n for (i = 1, args = new Array(len -1); i < len; i++) {\n args[i - 1] = arguments[i];\n }\n\n listeners.fn.apply(listeners.context, args);\n } else {\n var length = listeners.length\n , j;\n\n for (i = 0; i < length; i++) {\n if (listeners[i].once) this.removeListener(event, listeners[i].fn, undefined, true);\n\n switch (len) {\n case 1: listeners[i].fn.call(listeners[i].context); break;\n case 2: listeners[i].fn.call(listeners[i].context, a1); break;\n case 3: listeners[i].fn.call(listeners[i].context, a1, a2); break;\n case 4: listeners[i].fn.call(listeners[i].context, a1, a2, a3); break;\n default:\n if (!args) for (j = 1, args = new Array(len -1); j < len; j++) {\n args[j - 1] = arguments[j];\n }\n\n listeners[i].fn.apply(listeners[i].context, args);\n }\n }\n }\n\n return true;\n};\n\n/**\n * Add a listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.on = function on(event, fn, context) {\n return addListener(this, event, fn, context, false);\n};\n\n/**\n * Add a one-time listener for a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn The listener function.\n * @param {*} [context=this] The context to invoke the listener with.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.once = function once(event, fn, context) {\n return addListener(this, event, fn, context, true);\n};\n\n/**\n * Remove the listeners of a given event.\n *\n * @param {(String|Symbol)} event The event name.\n * @param {Function} fn Only remove the listeners that match this function.\n * @param {*} context Only remove the listeners that have this context.\n * @param {Boolean} once Only remove one-time listeners.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeListener = function removeListener(event, fn, context, once) {\n var evt = prefix ? prefix + event : event;\n\n if (!this._events[evt]) return this;\n if (!fn) {\n clearEvent(this, evt);\n return this;\n }\n\n var listeners = this._events[evt];\n\n if (listeners.fn) {\n if (\n listeners.fn === fn &&\n (!once || listeners.once) &&\n (!context || listeners.context === context)\n ) {\n clearEvent(this, evt);\n }\n } else {\n for (var i = 0, events = [], length = listeners.length; i < length; i++) {\n if (\n listeners[i].fn !== fn ||\n (once && !listeners[i].once) ||\n (context && listeners[i].context !== context)\n ) {\n events.push(listeners[i]);\n }\n }\n\n //\n // Reset the array, or remove it completely if we have no more listeners.\n //\n if (events.length) this._events[evt] = events.length === 1 ? events[0] : events;\n else clearEvent(this, evt);\n }\n\n return this;\n};\n\n/**\n * Remove all listeners, or those of the specified event.\n *\n * @param {(String|Symbol)} [event] The event name.\n * @returns {EventEmitter} `this`.\n * @public\n */\nEventEmitter.prototype.removeAllListeners = function removeAllListeners(event) {\n var evt;\n\n if (event) {\n evt = prefix ? prefix + event : event;\n if (this._events[evt]) clearEvent(this, evt);\n } else {\n this._events = new Events();\n this._eventsCount = 0;\n }\n\n return this;\n};\n\n//\n// Alias methods names because people roll like that.\n//\nEventEmitter.prototype.off = EventEmitter.prototype.removeListener;\nEventEmitter.prototype.addListener = EventEmitter.prototype.on;\n\n//\n// Expose the prefix.\n//\nEventEmitter.prefixed = prefix;\n\n//\n// Allow `EventEmitter` to be imported as module namespace.\n//\nEventEmitter.EventEmitter = EventEmitter;\n\n//\n// Expose the module.\n//\nif (true) {\n module.exports = EventEmitter;\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/node-libs-browser/node_modules/events/events.js\":\n/*!**********************************************************************!*\\\n !*** ./node_modules/node-libs-browser/node_modules/events/events.js ***!\n \\**********************************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports) {\n\n// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n } else {\n // At least give some kind of context to the user\n var err = new Error('Uncaught, unspecified \"error\" event. (' + er + ')');\n err.context = er;\n throw err;\n }\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n args = Array.prototype.slice.call(arguments, 1);\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n args = Array.prototype.slice.call(arguments, 1);\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else if (listeners) {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.prototype.listenerCount = function(type) {\n if (this._events) {\n var evlistener = this._events[type];\n\n if (isFunction(evlistener))\n return 1;\n else if (evlistener)\n return evlistener.length;\n }\n return 0;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n return emitter.listenerCount(type);\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/url-toolkit/src/url-toolkit.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/url-toolkit/src/url-toolkit.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n// see https://tools.ietf.org/html/rfc1808\n\n/* jshint ignore:start */\n(function(root) { \n/* jshint ignore:end */\n\n var URL_REGEX = /^((?:[a-zA-Z0-9+\\-.]+:)?)(\\/\\/[^\\/?#]*)?((?:[^\\/\\?#]*\\/)*.*?)??(;.*?)?(\\?.*?)?(#.*?)?$/;\n var FIRST_SEGMENT_REGEX = /^([^\\/?#]*)(.*)$/;\n var SLASH_DOT_REGEX = /(?:\\/|^)\\.(?=\\/)/g;\n var SLASH_DOT_DOT_REGEX = /(?:\\/|^)\\.\\.\\/(?!\\.\\.\\/).*?(?=\\/)/g;\n\n var URLToolkit = { // jshint ignore:line\n // If opts.alwaysNormalize is true then the path will always be normalized even when it starts with / or //\n // E.g\n // With opts.alwaysNormalize = false (default, spec compliant)\n // http://a.com/b/cd + /e/f/../g => http://a.com/e/f/../g\n // With opts.alwaysNormalize = true (not spec compliant)\n // http://a.com/b/cd + /e/f/../g => http://a.com/e/g\n buildAbsoluteURL: function(baseURL, relativeURL, opts) {\n opts = opts || {};\n // remove any remaining space and CRLF\n baseURL = baseURL.trim();\n relativeURL = relativeURL.trim();\n if (!relativeURL) {\n // 2a) If the embedded URL is entirely empty, it inherits the\n // entire base URL (i.e., is set equal to the base URL)\n // and we are done.\n if (!opts.alwaysNormalize) {\n return baseURL;\n }\n var basePartsForNormalise = URLToolkit.parseURL(baseURL);\n if (!basePartsForNormalise) {\n throw new Error('Error trying to parse base URL.');\n }\n basePartsForNormalise.path = URLToolkit.normalizePath(basePartsForNormalise.path);\n return URLToolkit.buildURLFromParts(basePartsForNormalise);\n }\n var relativeParts = URLToolkit.parseURL(relativeURL);\n if (!relativeParts) {\n throw new Error('Error trying to parse relative URL.');\n }\n if (relativeParts.scheme) {\n // 2b) If the embedded URL starts with a scheme name, it is\n // interpreted as an absolute URL and we are done.\n if (!opts.alwaysNormalize) {\n return relativeURL;\n }\n relativeParts.path = URLToolkit.normalizePath(relativeParts.path);\n return URLToolkit.buildURLFromParts(relativeParts);\n }\n var baseParts = URLToolkit.parseURL(baseURL);\n if (!baseParts) {\n throw new Error('Error trying to parse base URL.');\n }\n if (!baseParts.netLoc && baseParts.path && baseParts.path[0] !== '/') {\n // If netLoc missing and path doesn't start with '/', assume everthing before the first '/' is the netLoc\n // This causes 'example.com/a' to be handled as '//example.com/a' instead of '/example.com/a'\n var pathParts = FIRST_SEGMENT_REGEX.exec(baseParts.path);\n baseParts.netLoc = pathParts[1];\n baseParts.path = pathParts[2];\n }\n if (baseParts.netLoc && !baseParts.path) {\n baseParts.path = '/';\n }\n var builtParts = {\n // 2c) Otherwise, the embedded URL inherits the scheme of\n // the base URL.\n scheme: baseParts.scheme,\n netLoc: relativeParts.netLoc,\n path: null,\n params: relativeParts.params,\n query: relativeParts.query,\n fragment: relativeParts.fragment\n };\n if (!relativeParts.netLoc) {\n // 3) If the embedded URL's <net_loc> is non-empty, we skip to\n // Step 7. Otherwise, the embedded URL inherits the <net_loc>\n // (if any) of the base URL.\n builtParts.netLoc = baseParts.netLoc;\n // 4) If the embedded URL path is preceded by a slash \"/\", the\n // path is not relative and we skip to Step 7.\n if (relativeParts.path[0] !== '/') {\n if (!relativeParts.path) {\n // 5) If the embedded URL path is empty (and not preceded by a\n // slash), then the embedded URL inherits the base URL path\n builtParts.path = baseParts.path;\n // 5a) if the embedded URL's <params> is non-empty, we skip to\n // step 7; otherwise, it inherits the <params> of the base\n // URL (if any) and\n if (!relativeParts.params) {\n builtParts.params = baseParts.params;\n // 5b) if the embedded URL's <query> is non-empty, we skip to\n // step 7; otherwise, it inherits the <query> of the base\n // URL (if any) and we skip to step 7.\n if (!relativeParts.query) {\n builtParts.query = baseParts.query;\n }\n }\n } else {\n // 6) The last segment of the base URL's path (anything\n // following the rightmost slash \"/\", or the entire path if no\n // slash is present) is removed and the embedded URL's path is\n // appended in its place.\n var baseURLPath = baseParts.path;\n var newPath = baseURLPath.substring(0, baseURLPath.lastIndexOf('/') + 1) + relativeParts.path;\n builtParts.path = URLToolkit.normalizePath(newPath);\n }\n }\n }\n if (builtParts.path === null) {\n builtParts.path = opts.alwaysNormalize ? URLToolkit.normalizePath(relativeParts.path) : relativeParts.path;\n }\n return URLToolkit.buildURLFromParts(builtParts);\n },\n parseURL: function(url) {\n var parts = URL_REGEX.exec(url);\n if (!parts) {\n return null;\n }\n return {\n scheme: parts[1] || '',\n netLoc: parts[2] || '',\n path: parts[3] || '',\n params: parts[4] || '',\n query: parts[5] || '',\n fragment: parts[6] || ''\n };\n },\n normalizePath: function(path) {\n // The following operations are\n // then applied, in order, to the new path:\n // 6a) All occurrences of \"./\", where \".\" is a complete path\n // segment, are removed.\n // 6b) If the path ends with \".\" as a complete path segment,\n // that \".\" is removed.\n path = path.split('').reverse().join('').replace(SLASH_DOT_REGEX, '');\n // 6c) All occurrences of \"<segment>/../\", where <segment> is a\n // complete path segment not equal to \"..\", are removed.\n // Removal of these path segments is performed iteratively,\n // removing the leftmost matching pattern on each iteration,\n // until no matching pattern remains.\n // 6d) If the path ends with \"<segment>/..\", where <segment> is a\n // complete path segment not equal to \"..\", that\n // \"<segment>/..\" is removed.\n while (path.length !== (path = path.replace(SLASH_DOT_DOT_REGEX, '')).length) {} // jshint ignore:line\n return path.split('').reverse().join('');\n },\n buildURLFromParts: function(parts) {\n return parts.scheme + parts.netLoc + parts.path + parts.params + parts.query + parts.fragment;\n }\n };\n\n/* jshint ignore:start */\n if(true)\n module.exports = URLToolkit;\n else {}\n})(this);\n/* jshint ignore:end */\n\n\n/***/ }),\n\n/***/ \"./node_modules/webworkify-webpack/index.js\":\n/*!**************************************************!*\\\n !*** ./node_modules/webworkify-webpack/index.js ***!\n \\**************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction webpackBootstrapFunc (modules) {\n/******/ // The module cache\n/******/ var installedModules = {};\n\n/******/ // The require function\n/******/ function __webpack_require__(moduleId) {\n\n/******/ // Check if module is in cache\n/******/ if(installedModules[moduleId])\n/******/ return installedModules[moduleId].exports;\n\n/******/ // Create a new module (and put it into the cache)\n/******/ var module = installedModules[moduleId] = {\n/******/ i: moduleId,\n/******/ l: false,\n/******/ exports: {}\n/******/ };\n\n/******/ // Execute the module function\n/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ // Flag the module as loaded\n/******/ module.l = true;\n\n/******/ // Return the exports of the module\n/******/ return module.exports;\n/******/ }\n\n/******/ // expose the modules object (__webpack_modules__)\n/******/ __webpack_require__.m = modules;\n\n/******/ // expose the module cache\n/******/ __webpack_require__.c = installedModules;\n\n/******/ // identity function for calling harmony imports with the correct context\n/******/ __webpack_require__.i = function(value) { return value; };\n\n/******/ // define getter function for harmony exports\n/******/ __webpack_require__.d = function(exports, name, getter) {\n/******/ if(!__webpack_require__.o(exports, name)) {\n/******/ Object.defineProperty(exports, name, {\n/******/ configurable: false,\n/******/ enumerable: true,\n/******/ get: getter\n/******/ });\n/******/ }\n/******/ };\n\n/******/ // define __esModule on exports\n/******/ __webpack_require__.r = function(exports) {\n/******/ Object.defineProperty(exports, '__esModule', { value: true });\n/******/ };\n\n/******/ // getDefaultExport function for compatibility with non-harmony modules\n/******/ __webpack_require__.n = function(module) {\n/******/ var getter = module && module.__esModule ?\n/******/ function getDefault() { return module['default']; } :\n/******/ function getModuleExports() { return module; };\n/******/ __webpack_require__.d(getter, 'a', getter);\n/******/ return getter;\n/******/ };\n\n/******/ // Object.prototype.hasOwnProperty.call\n/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n/******/ // __webpack_public_path__\n/******/ __webpack_require__.p = \"/\";\n\n/******/ // on error function for async loading\n/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n var f = __webpack_require__(__webpack_require__.s = ENTRY_MODULE)\n return f.default || f // try to call default if defined to also support babel esmodule exports\n}\n\nvar moduleNameReqExp = '[\\\\.|\\\\-|\\\\+|\\\\w|\\/|@]+'\nvar dependencyRegExp = '\\\\((\\/\\\\*.*?\\\\*\\/)?\\s?.*?(' + moduleNameReqExp + ').*?\\\\)' // additional chars when output.pathinfo is true\n\n// http://stackoverflow.com/a/2593661/130442\nfunction quoteRegExp (str) {\n return (str + '').replace(/[.?*+^$[\\]\\\\(){}|-]/g, '\\\\$&')\n}\n\nfunction isNumeric(n) {\n return !isNaN(1 * n); // 1 * n converts integers, integers as string (\"123\"), 1e3 and \"1e3\" to integers and strings to NaN\n}\n\nfunction getModuleDependencies (sources, module, queueName) {\n var retval = {}\n retval[queueName] = []\n\n var fnString = module.toString()\n var wrapperSignature = fnString.match(/^function\\s?\\(\\w+,\\s*\\w+,\\s*(\\w+)\\)/)\n if (!wrapperSignature) return retval\n var webpackRequireName = wrapperSignature[1]\n\n // main bundle deps\n var re = new RegExp('(\\\\\\\\n|\\\\W)' + quoteRegExp(webpackRequireName) + dependencyRegExp, 'g')\n var match\n while ((match = re.exec(fnString))) {\n if (match[3] === 'dll-reference') continue\n retval[queueName].push(match[3])\n }\n\n // dll deps\n re = new RegExp('\\\\(' + quoteRegExp(webpackRequireName) + '\\\\(\"(dll-reference\\\\s(' + moduleNameReqExp + '))\"\\\\)\\\\)' + dependencyRegExp, 'g')\n while ((match = re.exec(fnString))) {\n if (!sources[match[2]]) {\n retval[queueName].push(match[1])\n sources[match[2]] = __webpack_require__(match[1]).m\n }\n retval[match[2]] = retval[match[2]] || []\n retval[match[2]].push(match[4])\n }\n\n // convert 1e3 back to 1000 - this can be important after uglify-js converted 1000 to 1e3\n var keys = Object.keys(retval);\n for (var i = 0; i < keys.length; i++) {\n for (var j = 0; j < retval[keys[i]].length; j++) {\n if (isNumeric(retval[keys[i]][j])) {\n retval[keys[i]][j] = 1 * retval[keys[i]][j];\n }\n }\n }\n\n return retval\n}\n\nfunction hasValuesInQueues (queues) {\n var keys = Object.keys(queues)\n return keys.reduce(function (hasValues, key) {\n return hasValues || queues[key].length > 0\n }, false)\n}\n\nfunction getRequiredModules (sources, moduleId) {\n var modulesQueue = {\n main: [moduleId]\n }\n var requiredModules = {\n main: []\n }\n var seenModules = {\n main: {}\n }\n\n while (hasValuesInQueues(modulesQueue)) {\n var queues = Object.keys(modulesQueue)\n for (var i = 0; i < queues.length; i++) {\n var queueName = queues[i]\n var queue = modulesQueue[queueName]\n var moduleToCheck = queue.pop()\n seenModules[queueName] = seenModules[queueName] || {}\n if (seenModules[queueName][moduleToCheck] || !sources[queueName][moduleToCheck]) continue\n seenModules[queueName][moduleToCheck] = true\n requiredModules[queueName] = requiredModules[queueName] || []\n requiredModules[queueName].push(moduleToCheck)\n var newModules = getModuleDependencies(sources, sources[queueName][moduleToCheck], queueName)\n var newModulesKeys = Object.keys(newModules)\n for (var j = 0; j < newModulesKeys.length; j++) {\n modulesQueue[newModulesKeys[j]] = modulesQueue[newModulesKeys[j]] || []\n modulesQueue[newModulesKeys[j]] = modulesQueue[newModulesKeys[j]].concat(newModules[newModulesKeys[j]])\n }\n }\n }\n\n return requiredModules\n}\n\nmodule.exports = function (moduleId, options) {\n options = options || {}\n var sources = {\n main: __webpack_require__.m\n }\n\n var requiredModules = options.all ? { main: Object.keys(sources.main) } : getRequiredModules(sources, moduleId)\n\n var src = ''\n\n Object.keys(requiredModules).filter(function (m) { return m !== 'main' }).forEach(function (module) {\n var entryModule = 0\n while (requiredModules[module][entryModule]) {\n entryModule++\n }\n requiredModules[module].push(entryModule)\n sources[module][entryModule] = '(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })'\n src = src + 'var ' + module + ' = (' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', JSON.stringify(entryModule)) + ')({' + requiredModules[module].map(function (id) { return '' + JSON.stringify(id) + ': ' + sources[module][id].toString() }).join(',') + '});\\n'\n })\n\n src = src + 'new ((' + webpackBootstrapFunc.toString().replace('ENTRY_MODULE', JSON.stringify(moduleId)) + ')({' + requiredModules.main.map(function (id) { return '' + JSON.stringify(id) + ': ' + sources.main[id].toString() }).join(',') + '}))(self);'\n\n var blob = new window.Blob([src], { type: 'text/javascript' })\n if (options.bare) { return blob }\n\n var URL = window.URL || window.webkitURL || window.mozURL || window.msURL\n\n var workerUrl = URL.createObjectURL(blob)\n var worker = new window.Worker(workerUrl)\n worker.objectURL = workerUrl\n\n return worker\n}\n\n\n/***/ }),\n\n/***/ \"./src/config.js\":\n/*!***********************!*\\\n !*** ./src/config.js ***!\n \\***********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * HLS config\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar abr_controller_1 = __webpack_require__(/*! ./controller/abr-controller */ \"./src/controller/abr-controller.js\");\nvar buffer_controller_1 = __webpack_require__(/*! ./controller/buffer-controller */ \"./src/controller/buffer-controller.js\");\nvar cap_level_controller_1 = __webpack_require__(/*! ./controller/cap-level-controller */ \"./src/controller/cap-level-controller.js\");\nvar fps_controller_1 = __webpack_require__(/*! ./controller/fps-controller */ \"./src/controller/fps-controller.js\");\nvar xhr_loader_1 = __webpack_require__(/*! ./utils/xhr-loader */ \"./src/utils/xhr-loader.js\");\n// import FetchLoader from './utils/fetch-loader';\nvar audio_track_controller_1 = __webpack_require__(/*! ./controller/audio-track-controller */ \"./src/controller/audio-track-controller.js\");\nvar audio_stream_controller_1 = __webpack_require__(/*! ./controller/audio-stream-controller */ \"./src/controller/audio-stream-controller.js\");\nvar Cues = __webpack_require__(/*! ./utils/cues */ \"./src/utils/cues.js\");\nvar timeline_controller_1 = __webpack_require__(/*! ./controller/timeline-controller */ \"./src/controller/timeline-controller.js\");\nvar subtitle_track_controller_1 = __webpack_require__(/*! ./controller/subtitle-track-controller */ \"./src/controller/subtitle-track-controller.js\");\nvar subtitle_stream_controller_1 = __webpack_require__(/*! ./controller/subtitle-stream-controller */ \"./src/controller/subtitle-stream-controller.js\");\nvar eme_controller_1 = __webpack_require__(/*! ./controller/eme-controller */ \"./src/controller/eme-controller.js\");\nvar mediakeys_helper_1 = __webpack_require__(/*! ./utils/mediakeys-helper */ \"./src/utils/mediakeys-helper.js\");\nexports.hlsDefaultConfig = {\n autoStartLoad: true,\n startPosition: -1,\n defaultAudioCodec: undefined,\n debug: false,\n capLevelOnFPSDrop: false,\n capLevelToPlayerSize: false,\n initialLiveManifestSize: 1,\n maxBufferLength: 30,\n maxBufferSize: 60 * 1000 * 1000,\n maxBufferHole: 0.5,\n lowBufferWatchdogPeriod: 0.5,\n highBufferWatchdogPeriod: 3,\n nudgeOffset: 0.1,\n nudgeMaxRetry: 3,\n maxFragLookUpTolerance: 0.25,\n liveSyncDurationCount: 3,\n liveMaxLatencyDurationCount: Infinity,\n liveSyncDuration: undefined,\n liveMaxLatencyDuration: undefined,\n liveDurationInfinity: false,\n liveBackBufferLength: Infinity,\n maxMaxBufferLength: 600,\n enableWorker: true,\n enableSoftwareAES: true,\n manifestLoadingTimeOut: 10000,\n manifestLoadingMaxRetry: 1,\n manifestLoadingRetryDelay: 1000,\n manifestLoadingMaxRetryTimeout: 64000,\n startLevel: undefined,\n levelLoadingTimeOut: 10000,\n levelLoadingMaxRetry: 4,\n levelLoadingRetryDelay: 1000,\n levelLoadingMaxRetryTimeout: 64000,\n fragLoadingTimeOut: 20000,\n fragLoadingMaxRetry: 6,\n fragLoadingRetryDelay: 1000,\n fragLoadingMaxRetryTimeout: 64000,\n startFragPrefetch: false,\n fpsDroppedMonitoringPeriod: 5000,\n fpsDroppedMonitoringThreshold: 0.2,\n appendErrorMaxRetry: 3,\n loader: xhr_loader_1.default,\n // loader: FetchLoader,\n fLoader: undefined,\n pLoader: undefined,\n xhrSetup: undefined,\n licenseXhrSetup: undefined,\n // fetchSetup: undefined,\n abrController: abr_controller_1.default,\n bufferController: buffer_controller_1.default,\n capLevelController: cap_level_controller_1.default,\n fpsController: fps_controller_1.default,\n stretchShortVideoTrack: false,\n maxAudioFramesDrift: 1,\n forceKeyFrameOnDiscontinuity: true,\n abrEwmaFastLive: 3,\n abrEwmaSlowLive: 9,\n abrEwmaFastVoD: 3,\n abrEwmaSlowVoD: 9,\n abrEwmaDefaultEstimate: 5e5,\n abrBandWidthFactor: 0.95,\n abrBandWidthUpFactor: 0.7,\n abrMaxWithRealBitrate: false,\n maxStarvationDelay: 4,\n maxLoadingDelay: 4,\n minAutoBitrate: 0,\n emeEnabled: false,\n widevineLicenseUrl: undefined,\n requestMediaKeySystemAccessFunc: mediakeys_helper_1.requestMediaKeySystemAccess // used by eme-controller\n};\nif (true) {\n exports.hlsDefaultConfig.subtitleStreamController = subtitle_stream_controller_1.SubtitleStreamController;\n exports.hlsDefaultConfig.subtitleTrackController = subtitle_track_controller_1.default;\n exports.hlsDefaultConfig.timelineController = timeline_controller_1.default;\n exports.hlsDefaultConfig.cueHandler = Cues; // used by timeline-controller\n exports.hlsDefaultConfig.enableCEA708Captions = true; // used by timeline-controller\n exports.hlsDefaultConfig.enableWebVTT = true; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack1Label = 'English'; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack1LanguageCode = 'en'; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack2Label = 'Spanish'; // used by timeline-controller\n exports.hlsDefaultConfig.captionsTextTrack2LanguageCode = 'es'; // used by timeline-controller\n}\nif (true) {\n exports.hlsDefaultConfig.audioStreamController = audio_stream_controller_1.default;\n exports.hlsDefaultConfig.audioTrackController = audio_track_controller_1.default;\n}\nif (true) {\n exports.hlsDefaultConfig.emeController = eme_controller_1.default;\n}\n\n\n/***/ }),\n\n/***/ \"./src/controller/abr-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/abr-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * simple ABR Controller\n * - compute next level based on last fragment bw heuristics\n * - implement an abandon rules triggered if we have less than 2 frag buffered and if computed bw shows that we risk buffer stalling\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar ewma_bandwidth_estimator_1 = __webpack_require__(/*! ../utils/ewma-bandwidth-estimator */ \"./src/utils/ewma-bandwidth-estimator.js\");\nvar performance = window.performance;\nvar AbrController = /** @class */ (function (_super) {\n __extends(AbrController, _super);\n function AbrController(hls) {\n var _this = _super.call(this, hls, events_1.default.FRAG_LOADING, events_1.default.FRAG_LOADED, events_1.default.FRAG_BUFFERED, events_1.default.ERROR) || this;\n _this.lastLoadedFragLevel = 0;\n _this._nextAutoLevel = -1;\n _this.hls = hls;\n _this.timer = null;\n _this._bwEstimator = null;\n _this.onCheck = _this._abandonRulesCheck.bind(_this);\n return _this;\n }\n AbrController.prototype.destroy = function () {\n this.clearTimer();\n event_handler_1.default.prototype.destroy.call(this);\n };\n AbrController.prototype.onFragLoading = function (data) {\n var frag = data.frag;\n if (frag.type === 'main') {\n if (!this.timer) {\n this.fragCurrent = frag;\n this.timer = setInterval(this.onCheck, 100);\n }\n // lazy init of BwEstimator, rationale is that we use different params for Live/VoD\n // so we need to wait for stream manifest / playlist type to instantiate it.\n if (!this._bwEstimator) {\n var hls_1 = this.hls;\n var config = hls_1.config;\n var level = frag.level;\n var isLive = hls_1.levels[level].details.live;\n var ewmaFast = void 0, ewmaSlow = void 0;\n if (isLive) {\n ewmaFast = config.abrEwmaFastLive;\n ewmaSlow = config.abrEwmaSlowLive;\n }\n else {\n ewmaFast = config.abrEwmaFastVoD;\n ewmaSlow = config.abrEwmaSlowVoD;\n }\n this._bwEstimator = new ewma_bandwidth_estimator_1.default(hls_1, ewmaSlow, ewmaFast, config.abrEwmaDefaultEstimate);\n }\n }\n };\n AbrController.prototype._abandonRulesCheck = function () {\n /*\n monitor fragment retrieval time...\n we compute expected time of arrival of the complete fragment.\n we compare it to expected time of buffer starvation\n */\n var hls = this.hls;\n var video = hls.media;\n var frag = this.fragCurrent;\n if (!frag) {\n return;\n }\n var loader = frag.loader;\n var minAutoLevel = hls.minAutoLevel;\n // if loader has been destroyed or loading has been aborted, stop timer and return\n if (!loader || (loader.stats && loader.stats.aborted)) {\n logger_1.logger.warn('frag loader destroy or aborted, disarm abandonRules');\n this.clearTimer();\n // reset forced auto level value so that next level will be selected\n this._nextAutoLevel = -1;\n return;\n }\n var stats = loader.stats;\n /* only monitor frag retrieval time if\n (video not paused OR first fragment being loaded(ready state === HAVE_NOTHING = 0)) AND autoswitching enabled AND not lowest level (=> means that we have several levels) */\n if (video && stats && ((!video.paused && (video.playbackRate !== 0)) || !video.readyState) && frag.autoLevel && frag.level) {\n var requestDelay = performance.now() - stats.trequest, playbackRate = Math.abs(video.playbackRate);\n // monitor fragment load progress after half of expected fragment duration,to stabilize bitrate\n if (requestDelay > (500 * frag.duration / playbackRate)) {\n var levels = hls.levels, loadRate = Math.max(1, stats.bw ? stats.bw / 8 : stats.loaded * 1000 / requestDelay), // byte/s; at least 1 byte/s to avoid division by zero\n // compute expected fragment length using frag duration and level bitrate. also ensure that expected len is gte than already loaded size\n level = levels[frag.level], levelBitrate = level.realBitrate ? Math.max(level.realBitrate, level.bitrate) : level.bitrate, expectedLen = stats.total ? stats.total : Math.max(stats.loaded, Math.round(frag.duration * levelBitrate / 8)), pos = video.currentTime, fragLoadedDelay = (expectedLen - stats.loaded) / loadRate, bufferStarvationDelay = (buffer_helper_1.BufferHelper.bufferInfo(video, pos, hls.config.maxBufferHole).end - pos) / playbackRate;\n // consider emergency switch down only if we have less than 2 frag buffered AND\n // time to finish loading current fragment is bigger than buffer starvation delay\n // ie if we risk buffer starvation if bw does not increase quickly\n if ((bufferStarvationDelay < (2 * frag.duration / playbackRate)) && (fragLoadedDelay > bufferStarvationDelay)) {\n var fragLevelNextLoadedDelay = void 0, nextLoadLevel = void 0;\n // lets iterate through lower level and try to find the biggest one that could avoid rebuffering\n // we start from current level - 1 and we step down , until we find a matching level\n for (nextLoadLevel = frag.level - 1; nextLoadLevel > minAutoLevel; nextLoadLevel--) {\n // compute time to load next fragment at lower level\n // 0.8 : consider only 80% of current bw to be conservative\n // 8 = bits per byte (bps/Bps)\n var levelNextBitrate = levels[nextLoadLevel].realBitrate ? Math.max(levels[nextLoadLevel].realBitrate, levels[nextLoadLevel].bitrate) : levels[nextLoadLevel].bitrate;\n fragLevelNextLoadedDelay = frag.duration * levelNextBitrate / (8 * 0.8 * loadRate);\n if (fragLevelNextLoadedDelay < bufferStarvationDelay) {\n // we found a lower level that be rebuffering free with current estimated bw !\n break;\n }\n }\n // only emergency switch down if it takes less time to load new fragment at lowest level instead\n // of finishing loading current one ...\n if (fragLevelNextLoadedDelay < fragLoadedDelay) {\n logger_1.logger.warn(\"loading too slow, abort fragment loading and switch to level \" + nextLoadLevel + \":fragLoadedDelay[\" + nextLoadLevel + \"]<fragLoadedDelay[\" + (frag.level - 1) + \"];bufferStarvationDelay:\" + fragLevelNextLoadedDelay.toFixed(1) + \"<\" + fragLoadedDelay.toFixed(1) + \":\" + bufferStarvationDelay.toFixed(1));\n // force next load level in auto mode\n hls.nextLoadLevel = nextLoadLevel;\n // update bw estimate for this fragment before cancelling load (this will help reducing the bw)\n this._bwEstimator.sample(requestDelay, stats.loaded);\n // abort fragment loading\n loader.abort();\n // stop abandon rules timer\n this.clearTimer();\n hls.trigger(events_1.default.FRAG_LOAD_EMERGENCY_ABORTED, { frag: frag, stats: stats });\n }\n }\n }\n }\n };\n AbrController.prototype.onFragLoaded = function (data) {\n var frag = data.frag;\n if (frag.type === 'main' && Number.isFinite(frag.sn)) {\n // stop monitoring bw once frag loaded\n this.clearTimer();\n // store level id after successful fragment load\n this.lastLoadedFragLevel = frag.level;\n // reset forced auto level value so that next level will be selected\n this._nextAutoLevel = -1;\n // compute level average bitrate\n if (this.hls.config.abrMaxWithRealBitrate) {\n var level = this.hls.levels[frag.level];\n var loadedBytes = (level.loaded ? level.loaded.bytes : 0) + data.stats.loaded;\n var loadedDuration = (level.loaded ? level.loaded.duration : 0) + data.frag.duration;\n level.loaded = { bytes: loadedBytes, duration: loadedDuration };\n level.realBitrate = Math.round(8 * loadedBytes / loadedDuration);\n }\n // if fragment has been loaded to perform a bitrate test,\n if (data.frag.bitrateTest) {\n var stats = data.stats;\n stats.tparsed = stats.tbuffered = stats.tload;\n this.onFragBuffered(data);\n }\n }\n };\n AbrController.prototype.onFragBuffered = function (data) {\n var stats = data.stats;\n var frag = data.frag;\n // only update stats on first frag buffering\n // if same frag is loaded multiple times, it might be in browser cache, and loaded quickly\n // and leading to wrong bw estimation\n // on bitrate test, also only update stats once (if tload = tbuffered == on FRAG_LOADED)\n if (stats.aborted !== true && frag.type === 'main' && Number.isFinite(frag.sn) && ((!frag.bitrateTest || stats.tload === stats.tbuffered))) {\n // use tparsed-trequest instead of tbuffered-trequest to compute fragLoadingProcessing; rationale is that buffer appending only happens once media is attached\n // in case we use config.startFragPrefetch while media is not attached yet, fragment might be parsed while media not attached yet, but it will only be buffered on media attached\n // as a consequence it could happen really late in the process. meaning that appending duration might appears huge ... leading to underestimated throughput estimation\n var fragLoadingProcessingMs = stats.tparsed - stats.trequest;\n logger_1.logger.log(\"latency/loading/parsing/append/kbps:\" + Math.round(stats.tfirst - stats.trequest) + \"/\" + Math.round(stats.tload - stats.tfirst) + \"/\" + Math.round(stats.tparsed - stats.tload) + \"/\" + Math.round(stats.tbuffered - stats.tparsed) + \"/\" + Math.round(8 * stats.loaded / (stats.tbuffered - stats.trequest)));\n this._bwEstimator.sample(fragLoadingProcessingMs, stats.loaded);\n stats.bwEstimate = this._bwEstimator.getEstimate();\n // if fragment has been loaded to perform a bitrate test, (hls.startLevel = -1), store bitrate test delay duration\n if (frag.bitrateTest) {\n this.bitrateTestDelay = fragLoadingProcessingMs / 1000;\n }\n else {\n this.bitrateTestDelay = 0;\n }\n }\n };\n AbrController.prototype.onError = function (data) {\n // stop timer in case of frag loading error\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n this.clearTimer();\n break;\n default:\n break;\n }\n };\n AbrController.prototype.clearTimer = function () {\n clearInterval(this.timer);\n this.timer = null;\n };\n Object.defineProperty(AbrController.prototype, \"nextAutoLevel\", {\n // return next auto level\n get: function () {\n var forcedAutoLevel = this._nextAutoLevel;\n var bwEstimator = this._bwEstimator;\n // in case next auto level has been forced, and bw not available or not reliable, return forced value\n if (forcedAutoLevel !== -1 && (!bwEstimator || !bwEstimator.canEstimate())) {\n return forcedAutoLevel;\n }\n // compute next level using ABR logic\n var nextABRAutoLevel = this._nextABRAutoLevel;\n // if forced auto level has been defined, use it to cap ABR computed quality level\n if (forcedAutoLevel !== -1) {\n nextABRAutoLevel = Math.min(forcedAutoLevel, nextABRAutoLevel);\n }\n return nextABRAutoLevel;\n },\n set: function (nextLevel) {\n this._nextAutoLevel = nextLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbrController.prototype, \"_nextABRAutoLevel\", {\n get: function () {\n var hls = this.hls, maxAutoLevel = hls.maxAutoLevel, levels = hls.levels, config = hls.config, minAutoLevel = hls.minAutoLevel;\n var video = hls.media, currentLevel = this.lastLoadedFragLevel, currentFragDuration = this.fragCurrent ? this.fragCurrent.duration : 0, pos = (video ? video.currentTime : 0), \n // playbackRate is the absolute value of the playback rate; if video.playbackRate is 0, we use 1 to load as\n // if we're playing back at the normal rate.\n playbackRate = ((video && (video.playbackRate !== 0)) ? Math.abs(video.playbackRate) : 1.0), avgbw = this._bwEstimator ? this._bwEstimator.getEstimate() : config.abrEwmaDefaultEstimate, \n // bufferStarvationDelay is the wall-clock time left until the playback buffer is exhausted.\n bufferStarvationDelay = (buffer_helper_1.BufferHelper.bufferInfo(video, pos, config.maxBufferHole).end - pos) / playbackRate;\n // First, look to see if we can find a level matching with our avg bandwidth AND that could also guarantee no rebuffering at all\n var bestLevel = this._findBestLevel(currentLevel, currentFragDuration, avgbw, minAutoLevel, maxAutoLevel, bufferStarvationDelay, config.abrBandWidthFactor, config.abrBandWidthUpFactor, levels);\n if (bestLevel >= 0) {\n return bestLevel;\n }\n else {\n logger_1.logger.trace('rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering');\n // not possible to get rid of rebuffering ... let's try to find level that will guarantee less than maxStarvationDelay of rebuffering\n // if no matching level found, logic will return 0\n var maxStarvationDelay = currentFragDuration ? Math.min(currentFragDuration, config.maxStarvationDelay) : config.maxStarvationDelay, bwFactor = config.abrBandWidthFactor, bwUpFactor = config.abrBandWidthUpFactor;\n if (bufferStarvationDelay === 0) {\n // in case buffer is empty, let's check if previous fragment was loaded to perform a bitrate test\n var bitrateTestDelay = this.bitrateTestDelay;\n if (bitrateTestDelay) {\n // if it is the case, then we need to adjust our max starvation delay using maxLoadingDelay config value\n // max video loading delay used in automatic start level selection :\n // in that mode ABR controller will ensure that video loading time (ie the time to fetch the first fragment at lowest quality level +\n // the time to fetch the fragment at the appropriate quality level is less than ```maxLoadingDelay``` )\n // cap maxLoadingDelay and ensure it is not bigger 'than bitrate test' frag duration\n var maxLoadingDelay = currentFragDuration ? Math.min(currentFragDuration, config.maxLoadingDelay) : config.maxLoadingDelay;\n maxStarvationDelay = maxLoadingDelay - bitrateTestDelay;\n logger_1.logger.trace(\"bitrate test took \" + Math.round(1000 * bitrateTestDelay) + \"ms, set first fragment max fetchDuration to \" + Math.round(1000 * maxStarvationDelay) + \" ms\");\n // don't use conservative factor on bitrate test\n bwFactor = bwUpFactor = 1;\n }\n }\n bestLevel = this._findBestLevel(currentLevel, currentFragDuration, avgbw, minAutoLevel, maxAutoLevel, bufferStarvationDelay + maxStarvationDelay, bwFactor, bwUpFactor, levels);\n return Math.max(bestLevel, 0);\n }\n },\n enumerable: true,\n configurable: true\n });\n AbrController.prototype._findBestLevel = function (currentLevel, currentFragDuration, currentBw, minAutoLevel, maxAutoLevel, maxFetchDuration, bwFactor, bwUpFactor, levels) {\n for (var i = maxAutoLevel; i >= minAutoLevel; i--) {\n var levelInfo = levels[i];\n if (!levelInfo) {\n continue;\n }\n var levelDetails = levelInfo.details, avgDuration = levelDetails ? levelDetails.totalduration / levelDetails.fragments.length : currentFragDuration, live = levelDetails ? levelDetails.live : false, adjustedbw = void 0;\n // follow algorithm captured from stagefright :\n // https://android.googlesource.com/platform/frameworks/av/+/master/media/libstagefright/httplive/LiveSession.cpp\n // Pick the highest bandwidth stream below or equal to estimated bandwidth.\n // consider only 80% of the available bandwidth, but if we are switching up,\n // be even more conservative (70%) to avoid overestimating and immediately\n // switching back.\n if (i <= currentLevel) {\n adjustedbw = bwFactor * currentBw;\n }\n else {\n adjustedbw = bwUpFactor * currentBw;\n }\n var bitrate = levels[i].realBitrate ? Math.max(levels[i].realBitrate, levels[i].bitrate) : levels[i].bitrate, fetchDuration = bitrate * avgDuration / adjustedbw;\n logger_1.logger.trace(\"level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: \" + i + \"/\" + Math.round(adjustedbw) + \"/\" + bitrate + \"/\" + avgDuration + \"/\" + maxFetchDuration + \"/\" + fetchDuration);\n // if adjusted bw is greater than level bitrate AND\n if (adjustedbw > bitrate &&\n // fragment fetchDuration unknown OR live stream OR fragment fetchDuration less than max allowed fetch duration, then this level matches\n // we don't account for max Fetch Duration for live streams, this is to avoid switching down when near the edge of live sliding window ...\n // special case to support startLevel = -1 (bitrateTest) on live streams : in that case we should not exit loop so that _findBestLevel will return -1\n (!fetchDuration || (live && !this.bitrateTestDelay) || fetchDuration < maxFetchDuration)) {\n // as we are looping from highest to lowest, this will return the best achievable quality level\n return i;\n }\n }\n // not enough time budget even with quality level 0 ... rebuffering might happen\n return -1;\n };\n return AbrController;\n}(event_handler_1.default));\nexports.default = AbrController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/audio-stream-controller.js\":\n/*!***************************************************!*\\\n !*** ./src/controller/audio-stream-controller.js ***!\n \\***************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Audio Stream Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ../utils/binary-search */ \"./src/utils/binary-search.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar demuxer_1 = __webpack_require__(/*! ../demux/demuxer */ \"./src/demux/demuxer.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar LevelHelper = __webpack_require__(/*! ./level-helper */ \"./src/controller/level-helper.js\");\nvar time_ranges_1 = __webpack_require__(/*! ../utils/time-ranges */ \"./src/utils/time-ranges.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar discontinuities_1 = __webpack_require__(/*! ../utils/discontinuities */ \"./src/utils/discontinuities.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar fragment_1 = __webpack_require__(/*! ../loader/fragment */ \"./src/loader/fragment.js\");\nvar base_stream_controller_1 = __webpack_require__(/*! ./base-stream-controller */ \"./src/controller/base-stream-controller.js\");\nvar performance = window.performance;\nvar TICK_INTERVAL = 100; // how often to tick in ms\nvar AudioStreamController = /** @class */ (function (_super) {\n __extends(AudioStreamController, _super);\n function AudioStreamController(hls, fragmentTracker) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.AUDIO_TRACKS_UPDATED, events_1.default.AUDIO_TRACK_SWITCHING, events_1.default.AUDIO_TRACK_LOADED, events_1.default.KEY_LOADED, events_1.default.FRAG_LOADED, events_1.default.FRAG_PARSING_INIT_SEGMENT, events_1.default.FRAG_PARSING_DATA, events_1.default.FRAG_PARSED, events_1.default.ERROR, events_1.default.BUFFER_RESET, events_1.default.BUFFER_CREATED, events_1.default.BUFFER_APPENDED, events_1.default.BUFFER_FLUSHED, events_1.default.INIT_PTS_FOUND) || this;\n _this.fragmentTracker = fragmentTracker;\n _this.config = hls.config;\n _this.audioCodecSwap = false;\n _this._state = base_stream_controller_1.State.STOPPED;\n _this.initPTS = [];\n _this.waitingFragment = null;\n _this.videoTrackCC = null;\n return _this;\n }\n AudioStreamController.prototype.onHandlerDestroying = function () {\n this.stopLoad();\n _super.prototype.onHandlerDestroying.call(this);\n };\n AudioStreamController.prototype.onHandlerDestroyed = function () {\n this.state = base_stream_controller_1.State.STOPPED;\n this.fragmentTracker = null;\n _super.prototype.onHandlerDestroyed.call(this);\n };\n // Signal that video PTS was found\n AudioStreamController.prototype.onInitPtsFound = function (data) {\n var demuxerId = data.id, cc = data.frag.cc, initPTS = data.initPTS;\n if (demuxerId === 'main') {\n // Always update the new INIT PTS\n // Can change due level switch\n this.initPTS[cc] = initPTS;\n this.videoTrackCC = cc;\n logger_1.logger.log(\"InitPTS for cc: \" + cc + \" found from video track: \" + initPTS);\n // If we are waiting we need to demux/remux the waiting frag\n // With the new initPTS\n if (this.state === base_stream_controller_1.State.WAITING_INIT_PTS) {\n this.tick();\n }\n }\n };\n AudioStreamController.prototype.startLoad = function (startPosition) {\n if (this.tracks) {\n var lastCurrentTime = this.lastCurrentTime;\n this.stopLoad();\n this.setInterval(TICK_INTERVAL);\n this.fragLoadError = 0;\n if (lastCurrentTime > 0 && startPosition === -1) {\n logger_1.logger.log(\"audio:override startPosition with lastCurrentTime @\" + lastCurrentTime.toFixed(3));\n this.state = base_stream_controller_1.State.IDLE;\n }\n else {\n this.lastCurrentTime = this.startPosition ? this.startPosition : startPosition;\n this.state = base_stream_controller_1.State.STARTING;\n }\n this.nextLoadPosition = this.startPosition = this.lastCurrentTime;\n this.tick();\n }\n else {\n this.startPosition = startPosition;\n this.state = base_stream_controller_1.State.STOPPED;\n }\n };\n AudioStreamController.prototype.stopLoad = function () {\n var frag = this.fragCurrent;\n if (frag) {\n if (frag.loader) {\n frag.loader.abort();\n }\n this.fragmentTracker.removeFragment(frag);\n this.fragCurrent = null;\n }\n this.fragPrevious = null;\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n this.state = base_stream_controller_1.State.STOPPED;\n };\n Object.defineProperty(AudioStreamController.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n set: function (nextState) {\n if (this.state !== nextState) {\n var previousState = this.state;\n this._state = nextState;\n logger_1.logger.log(\"audio stream:\" + previousState + \"->\" + nextState);\n }\n },\n enumerable: true,\n configurable: true\n });\n AudioStreamController.prototype.doTick = function () {\n var pos, track, trackDetails, hls = this.hls, config = hls.config;\n // logger.log('audioStream:' + this.state);\n switch (this.state) {\n case base_stream_controller_1.State.ERROR:\n // don't do anything in error state to avoid breaking further ...\n case base_stream_controller_1.State.PAUSED:\n // don't do anything in paused state either ...\n case base_stream_controller_1.State.BUFFER_FLUSHING:\n break;\n case base_stream_controller_1.State.STARTING:\n this.state = base_stream_controller_1.State.WAITING_TRACK;\n this.loadedmetadata = false;\n break;\n case base_stream_controller_1.State.IDLE:\n var tracks = this.tracks;\n // audio tracks not received => exit loop\n if (!tracks) {\n break;\n }\n // if video not attached AND\n // start fragment already requested OR start frag prefetch disable\n // exit loop\n // => if media not attached but start frag prefetch is enabled and start frag not requested yet, we will not exit loop\n if (!this.media &&\n (this.startFragRequested || !config.startFragPrefetch)) {\n break;\n }\n // determine next candidate fragment to be loaded, based on current position and\n // end of buffer position\n // if we have not yet loaded any fragment, start loading from start position\n if (this.loadedmetadata) {\n pos = this.media.currentTime;\n }\n else {\n pos = this.nextLoadPosition;\n if (pos === undefined) {\n break;\n }\n }\n var media = this.mediaBuffer ? this.mediaBuffer : this.media, videoBuffer = this.videoBuffer ? this.videoBuffer : this.media, bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(media, pos, config.maxBufferHole), mainBufferInfo = buffer_helper_1.BufferHelper.bufferInfo(videoBuffer, pos, config.maxBufferHole), bufferLen = bufferInfo.len, bufferEnd_1 = bufferInfo.end, fragPrevious = this.fragPrevious, \n // ensure we buffer at least config.maxBufferLength (default 30s) or config.maxMaxBufferLength (default: 600s)\n // whichever is smaller.\n // once we reach that threshold, don't buffer more than video (mainBufferInfo.len)\n maxConfigBuffer = Math.min(config.maxBufferLength, config.maxMaxBufferLength), maxBufLen = Math.max(maxConfigBuffer, mainBufferInfo.len), audioSwitch = this.audioSwitch, trackId = this.trackId;\n // if buffer length is less than maxBufLen try to load a new fragment\n if ((bufferLen < maxBufLen || audioSwitch) && trackId < tracks.length) {\n trackDetails = tracks[trackId].details;\n // if track info not retrieved yet, switch state and wait for track retrieval\n if (typeof trackDetails === 'undefined') {\n this.state = base_stream_controller_1.State.WAITING_TRACK;\n break;\n }\n if (!audioSwitch && this._streamEnded(bufferInfo, trackDetails)) {\n this.hls.trigger(events_1.default.BUFFER_EOS, { type: 'audio' });\n this.state = base_stream_controller_1.State.ENDED;\n return;\n }\n // find fragment index, contiguous with end of buffer position\n var fragments = trackDetails.fragments, fragLen = fragments.length, start = fragments[0].start, end = fragments[fragLen - 1].start + fragments[fragLen - 1].duration, frag = void 0;\n // When switching audio track, reload audio as close as possible to currentTime\n if (audioSwitch) {\n if (trackDetails.live && !trackDetails.PTSKnown) {\n logger_1.logger.log('switching audiotrack, live stream, unknown PTS,load first fragment');\n bufferEnd_1 = 0;\n }\n else {\n bufferEnd_1 = pos;\n // if currentTime (pos) is less than alt audio playlist start time, it means that alt audio is ahead of currentTime\n if (trackDetails.PTSKnown && pos < start) {\n // if everything is buffered from pos to start or if audio buffer upfront, let's seek to start\n if (bufferInfo.end > start || bufferInfo.nextStart) {\n logger_1.logger.log('alt audio track ahead of main track, seek to start of alt audio track');\n this.media.currentTime = start + 0.05;\n }\n else {\n return;\n }\n }\n }\n }\n if (trackDetails.initSegment && !trackDetails.initSegment.data) {\n frag = trackDetails.initSegment;\n } // eslint-disable-line brace-style\n // if bufferEnd before start of playlist, load first fragment\n else if (bufferEnd_1 <= start) {\n frag = fragments[0];\n if (this.videoTrackCC !== null && frag.cc !== this.videoTrackCC) {\n // Ensure we find a fragment which matches the continuity of the video track\n frag = discontinuities_1.findFragWithCC(fragments, this.videoTrackCC);\n }\n if (trackDetails.live && frag.loadIdx && frag.loadIdx === this.fragLoadIdx) {\n // we just loaded this first fragment, and we are still lagging behind the start of the live playlist\n // let's force seek to start\n var nextBuffered = bufferInfo.nextStart ? bufferInfo.nextStart : start;\n logger_1.logger.log(\"no alt audio available @currentTime:\" + this.media.currentTime + \", seeking @\" + (nextBuffered + 0.05));\n this.media.currentTime = nextBuffered + 0.05;\n return;\n }\n }\n else {\n var foundFrag = void 0;\n var maxFragLookUpTolerance_1 = config.maxFragLookUpTolerance;\n var fragNext = fragPrevious ? fragments[fragPrevious.sn - fragments[0].sn + 1] : undefined;\n var fragmentWithinToleranceTest = function (candidate) {\n // offset should be within fragment boundary - config.maxFragLookUpTolerance\n // this is to cope with situations like\n // bufferEnd = 9.991\n // frag[Ø] : [0,10]\n // frag[1] : [10,20]\n // bufferEnd is within frag[0] range ... although what we are expecting is to return frag[1] here\n // frag start frag start+duration\n // |-----------------------------|\n // <---> <--->\n // ...--------><-----------------------------><---------....\n // previous frag matching fragment next frag\n // return -1 return 0 return 1\n // logger.log(`level/sn/start/end/bufEnd:${level}/${candidate.sn}/${candidate.start}/${(candidate.start+candidate.duration)}/${bufferEnd}`);\n // Set the lookup tolerance to be small enough to detect the current segment - ensures we don't skip over very small segments\n var candidateLookupTolerance = Math.min(maxFragLookUpTolerance_1, candidate.duration);\n if ((candidate.start + candidate.duration - candidateLookupTolerance) <= bufferEnd_1) {\n return 1;\n }\n else if (candidate.start - candidateLookupTolerance > bufferEnd_1 && candidate.start) {\n // if maxFragLookUpTolerance will have negative value then don't return -1 for first element\n return -1;\n }\n return 0;\n };\n if (bufferEnd_1 < end) {\n if (bufferEnd_1 > end - maxFragLookUpTolerance_1) {\n maxFragLookUpTolerance_1 = 0;\n }\n // Prefer the next fragment if it's within tolerance\n if (fragNext && !fragmentWithinToleranceTest(fragNext)) {\n foundFrag = fragNext;\n }\n else {\n foundFrag = binary_search_1.default.search(fragments, fragmentWithinToleranceTest);\n }\n }\n else {\n // reach end of playlist\n foundFrag = fragments[fragLen - 1];\n }\n if (foundFrag) {\n frag = foundFrag;\n start = foundFrag.start;\n // logger.log('find SN matching with pos:' + bufferEnd + ':' + frag.sn);\n if (fragPrevious && frag.level === fragPrevious.level && frag.sn === fragPrevious.sn) {\n if (frag.sn < trackDetails.endSN) {\n frag = fragments[frag.sn + 1 - trackDetails.startSN];\n logger_1.logger.log(\"SN just loaded, load next one: \" + frag.sn);\n }\n else {\n frag = null;\n }\n }\n }\n }\n if (frag) {\n // logger.log(' loading frag ' + i +',pos/bufEnd:' + pos.toFixed(3) + '/' + bufferEnd.toFixed(3));\n if (frag.encrypted) {\n logger_1.logger.log(\"Loading key for \" + frag.sn + \" of [\" + trackDetails.startSN + \" ,\" + trackDetails.endSN + \"],track \" + trackId);\n this.state = base_stream_controller_1.State.KEY_LOADING;\n hls.trigger(events_1.default.KEY_LOADING, { frag: frag });\n }\n else {\n logger_1.logger.log(\"Loading \" + frag.sn + \", cc: \" + frag.cc + \" of [\" + trackDetails.startSN + \" ,\" + trackDetails.endSN + \"],track \" + trackId + \", currentTime:\" + pos + \",bufferEnd:\" + bufferEnd_1.toFixed(3));\n // only load if fragment is not loaded or if in audio switch\n // we force a frag loading in audio switch as fragment tracker might not have evicted previous frags in case of quick audio switch\n this.fragCurrent = frag;\n if (audioSwitch || this.fragmentTracker.getState(frag) === fragment_tracker_1.FragmentState.NOT_LOADED) {\n this.startFragRequested = true;\n if (Number.isFinite(frag.sn)) {\n this.nextLoadPosition = frag.start + frag.duration;\n }\n hls.trigger(events_1.default.FRAG_LOADING, { frag: frag });\n this.state = base_stream_controller_1.State.FRAG_LOADING;\n }\n }\n }\n }\n break;\n case base_stream_controller_1.State.WAITING_TRACK:\n track = this.tracks[this.trackId];\n // check if playlist is already loaded\n if (track && track.details) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY:\n var now = performance.now();\n var retryDate = this.retryDate;\n media = this.media;\n var isSeeking = media && media.seeking;\n // if current time is gt than retryDate, or if media seeking let's switch to IDLE state to retry loading\n if (!retryDate || (now >= retryDate) || isSeeking) {\n logger_1.logger.log('audioStreamController: retryDate reached, switch back to IDLE state');\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.WAITING_INIT_PTS:\n var videoTrackCC = this.videoTrackCC;\n if (this.initPTS[videoTrackCC] === undefined) {\n break;\n }\n // Ensure we don't get stuck in the WAITING_INIT_PTS state if the waiting frag CC doesn't match any initPTS\n var waitingFrag = this.waitingFragment;\n if (waitingFrag) {\n var waitingFragCC = waitingFrag.frag.cc;\n if (videoTrackCC !== waitingFragCC) {\n track = this.tracks[this.trackId];\n if (track.details && track.details.live) {\n logger_1.logger.warn(\"Waiting fragment CC (\" + waitingFragCC + \") does not match video track CC (\" + videoTrackCC + \")\");\n this.waitingFragment = null;\n this.state = base_stream_controller_1.State.IDLE;\n }\n }\n else {\n this.state = base_stream_controller_1.State.FRAG_LOADING;\n this.onFragLoaded(this.waitingFragment);\n this.waitingFragment = null;\n }\n }\n else {\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.STOPPED:\n case base_stream_controller_1.State.FRAG_LOADING:\n case base_stream_controller_1.State.PARSING:\n case base_stream_controller_1.State.PARSED:\n case base_stream_controller_1.State.ENDED:\n break;\n default:\n break;\n }\n };\n AudioStreamController.prototype.onMediaAttached = function (data) {\n var media = this.media = this.mediaBuffer = data.media;\n this.onvseeking = this.onMediaSeeking.bind(this);\n this.onvended = this.onMediaEnded.bind(this);\n media.addEventListener('seeking', this.onvseeking);\n media.addEventListener('ended', this.onvended);\n var config = this.config;\n if (this.tracks && config.autoStartLoad) {\n this.startLoad(config.startPosition);\n }\n };\n AudioStreamController.prototype.onMediaDetaching = function () {\n var media = this.media;\n if (media && media.ended) {\n logger_1.logger.log('MSE detaching and video ended, reset startPosition');\n this.startPosition = this.lastCurrentTime = 0;\n }\n // remove video listeners\n if (media) {\n media.removeEventListener('seeking', this.onvseeking);\n media.removeEventListener('ended', this.onvended);\n this.onvseeking = this.onvseeked = this.onvended = null;\n }\n this.media = this.mediaBuffer = this.videoBuffer = null;\n this.loadedmetadata = false;\n this.stopLoad();\n };\n AudioStreamController.prototype.onAudioTracksUpdated = function (data) {\n logger_1.logger.log('audio tracks updated');\n this.tracks = data.audioTracks;\n };\n AudioStreamController.prototype.onAudioTrackSwitching = function (data) {\n // if any URL found on new audio track, it is an alternate audio track\n var altAudio = !!data.url;\n this.trackId = data.id;\n this.fragCurrent = null;\n this.state = base_stream_controller_1.State.PAUSED;\n this.waitingFragment = null;\n // destroy useless demuxer when switching audio to main\n if (!altAudio) {\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n }\n else {\n // switching to audio track, start timer if not already started\n this.setInterval(TICK_INTERVAL);\n }\n // should we switch tracks ?\n if (altAudio) {\n this.audioSwitch = true;\n // main audio track are handled by stream-controller, just do something if switching to alt audio track\n this.state = base_stream_controller_1.State.IDLE;\n }\n this.tick();\n };\n AudioStreamController.prototype.onAudioTrackLoaded = function (data) {\n var newDetails = data.details, trackId = data.id, track = this.tracks[trackId], duration = newDetails.totalduration, sliding = 0;\n logger_1.logger.log(\"track \" + trackId + \" loaded [\" + newDetails.startSN + \",\" + newDetails.endSN + \"],duration:\" + duration);\n if (newDetails.live) {\n var curDetails = track.details;\n if (curDetails && newDetails.fragments.length > 0) {\n // we already have details for that level, merge them\n LevelHelper.mergeDetails(curDetails, newDetails);\n sliding = newDetails.fragments[0].start;\n // TODO\n // this.liveSyncPosition = this.computeLivePosition(sliding, curDetails);\n if (newDetails.PTSKnown) {\n logger_1.logger.log(\"live audio playlist sliding:\" + sliding.toFixed(3));\n }\n else {\n logger_1.logger.log('live audio playlist - outdated PTS, unknown sliding');\n }\n }\n else {\n newDetails.PTSKnown = false;\n logger_1.logger.log('live audio playlist - first load, unknown sliding');\n }\n }\n else {\n newDetails.PTSKnown = false;\n }\n track.details = newDetails;\n // compute start position\n if (!this.startFragRequested) {\n // compute start position if set to -1. use it straight away if value is defined\n if (this.startPosition === -1) {\n // first, check if start time offset has been set in playlist, if yes, use this value\n var startTimeOffset = newDetails.startTimeOffset;\n if (Number.isFinite(startTimeOffset)) {\n logger_1.logger.log(\"start time offset found in playlist, adjust startPosition to \" + startTimeOffset);\n this.startPosition = startTimeOffset;\n }\n else {\n this.startPosition = 0;\n }\n }\n this.nextLoadPosition = this.startPosition;\n }\n // only switch batck to IDLE state if we were waiting for track to start downloading a new fragment\n if (this.state === base_stream_controller_1.State.WAITING_TRACK) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n // trigger handler right now\n this.tick();\n };\n AudioStreamController.prototype.onKeyLoaded = function () {\n if (this.state === base_stream_controller_1.State.KEY_LOADING) {\n this.state = base_stream_controller_1.State.IDLE;\n this.tick();\n }\n };\n AudioStreamController.prototype.onFragLoaded = function (data) {\n var fragCurrent = this.fragCurrent, fragLoaded = data.frag;\n if (this.state === base_stream_controller_1.State.FRAG_LOADING &&\n fragCurrent &&\n fragLoaded.type === 'audio' &&\n fragLoaded.level === fragCurrent.level &&\n fragLoaded.sn === fragCurrent.sn) {\n var track = this.tracks[this.trackId], details = track.details, duration = details.totalduration, trackId = fragCurrent.level, sn = fragCurrent.sn, cc = fragCurrent.cc, audioCodec = this.config.defaultAudioCodec || track.audioCodec || 'mp4a.40.2', stats = this.stats = data.stats;\n if (sn === 'initSegment') {\n this.state = base_stream_controller_1.State.IDLE;\n stats.tparsed = stats.tbuffered = performance.now();\n details.initSegment.data = data.payload;\n this.hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: fragCurrent, id: 'audio' });\n this.tick();\n }\n else {\n this.state = base_stream_controller_1.State.PARSING;\n // transmux the MPEG-TS data to ISO-BMFF segments\n this.appended = false;\n if (!this.demuxer) {\n this.demuxer = new demuxer_1.default(this.hls, 'audio');\n }\n // Check if we have video initPTS\n // If not we need to wait for it\n var initPTS = this.initPTS[cc];\n var initSegmentData = details.initSegment ? details.initSegment.data : [];\n if (details.initSegment || initPTS !== undefined) {\n this.pendingBuffering = true;\n logger_1.logger.log(\"Demuxing \" + sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],track \" + trackId);\n // time Offset is accurate if level PTS is known, or if playlist is not sliding (not live)\n var accurateTimeOffset = false; // details.PTSKnown || !details.live;\n this.demuxer.push(data.payload, initSegmentData, audioCodec, null, fragCurrent, duration, accurateTimeOffset, initPTS);\n }\n else {\n logger_1.logger.log(\"unknown video PTS for continuity counter \" + cc + \", waiting for video PTS before demuxing audio frag \" + sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],track \" + trackId);\n this.waitingFragment = data;\n this.state = base_stream_controller_1.State.WAITING_INIT_PTS;\n }\n }\n }\n this.fragLoadError = 0;\n };\n AudioStreamController.prototype.onFragParsingInitSegment = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'audio' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n var tracks = data.tracks, track = void 0;\n // delete any video track found on audio demuxer\n if (tracks.video) {\n delete tracks.video;\n }\n // include levelCodec in audio and video tracks\n track = tracks.audio;\n if (track) {\n track.levelCodec = track.codec;\n track.id = data.id;\n this.hls.trigger(events_1.default.BUFFER_CODECS, tracks);\n logger_1.logger.log(\"audio track:audio,container:\" + track.container + \",codecs[level/parsed]=[\" + track.levelCodec + \"/\" + track.codec + \"]\");\n var initSegment = track.initSegment;\n if (initSegment) {\n var appendObj = { type: 'audio', data: initSegment, parent: 'audio', content: 'initSegment' };\n if (this.audioSwitch) {\n this.pendingData = [appendObj];\n }\n else {\n this.appended = true;\n // arm pending Buffering flag before appending a segment\n this.pendingBuffering = true;\n this.hls.trigger(events_1.default.BUFFER_APPENDING, appendObj);\n }\n }\n // trigger handler right now\n this.tick();\n }\n }\n };\n AudioStreamController.prototype.onFragParsingData = function (data) {\n var _this = this;\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'audio' &&\n data.type === 'audio' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n var trackId = this.trackId, track = this.tracks[trackId], hls_1 = this.hls;\n if (!Number.isFinite(data.endPTS)) {\n data.endPTS = data.startPTS + fragCurrent.duration;\n data.endDTS = data.startDTS + fragCurrent.duration;\n }\n fragCurrent.addElementaryStream(fragment_1.default.ElementaryStreamTypes.AUDIO);\n logger_1.logger.log(\"parsed \" + data.type + \",PTS:[\" + data.startPTS.toFixed(3) + \",\" + data.endPTS.toFixed(3) + \"],DTS:[\" + data.startDTS.toFixed(3) + \"/\" + data.endDTS.toFixed(3) + \"],nb:\" + data.nb);\n LevelHelper.updateFragPTSDTS(track.details, fragCurrent, data.startPTS, data.endPTS);\n var audioSwitch = this.audioSwitch, media = this.media, appendOnBufferFlush = false;\n // Only flush audio from old audio tracks when PTS is known on new audio track\n if (audioSwitch && media) {\n if (media.readyState) {\n var currentTime = media.currentTime;\n logger_1.logger.log('switching audio track : currentTime:' + currentTime);\n if (currentTime >= data.startPTS) {\n logger_1.logger.log('switching audio track : flushing all audio');\n this.state = base_stream_controller_1.State.BUFFER_FLUSHING;\n hls_1.trigger(events_1.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: Number.POSITIVE_INFINITY, type: 'audio' });\n appendOnBufferFlush = true;\n // Lets announce that the initial audio track switch flush occur\n this.audioSwitch = false;\n hls_1.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: trackId });\n }\n }\n else {\n // Lets announce that the initial audio track switch flush occur\n this.audioSwitch = false;\n hls_1.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: trackId });\n }\n }\n var pendingData_1 = this.pendingData;\n if (!pendingData_1) {\n logger_1.logger.warn('Apparently attempt to enqueue media payload without codec initialization data upfront');\n hls_1.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: null, fatal: true });\n return;\n }\n if (!this.audioSwitch) {\n [data.data1, data.data2].forEach(function (buffer) {\n if (buffer && buffer.length) {\n pendingData_1.push({ type: data.type, data: buffer, parent: 'audio', content: 'data' });\n }\n });\n if (!appendOnBufferFlush && pendingData_1.length) {\n pendingData_1.forEach(function (appendObj) {\n // only append in PARSING state (rationale is that an appending error could happen synchronously on first segment appending)\n // in that case it is useless to append following segments\n if (_this.state === base_stream_controller_1.State.PARSING) {\n // arm pending Buffering flag before appending a segment\n _this.pendingBuffering = true;\n _this.hls.trigger(events_1.default.BUFFER_APPENDING, appendObj);\n }\n });\n this.pendingData = [];\n this.appended = true;\n }\n }\n // trigger handler right now\n this.tick();\n }\n };\n AudioStreamController.prototype.onFragParsed = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'audio' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n this.stats.tparsed = performance.now();\n this.state = base_stream_controller_1.State.PARSED;\n this._checkAppendedParsed();\n }\n };\n AudioStreamController.prototype.onBufferReset = function () {\n // reset reference to sourcebuffers\n this.mediaBuffer = this.videoBuffer = null;\n this.loadedmetadata = false;\n };\n AudioStreamController.prototype.onBufferCreated = function (data) {\n var audioTrack = data.tracks.audio;\n if (audioTrack) {\n this.mediaBuffer = audioTrack.buffer;\n this.loadedmetadata = true;\n }\n if (data.tracks.video) {\n this.videoBuffer = data.tracks.video.buffer;\n }\n };\n AudioStreamController.prototype.onBufferAppended = function (data) {\n if (data.parent === 'audio') {\n var state = this.state;\n if (state === base_stream_controller_1.State.PARSING || state === base_stream_controller_1.State.PARSED) {\n // check if all buffers have been appended\n this.pendingBuffering = (data.pending > 0);\n this._checkAppendedParsed();\n }\n }\n };\n AudioStreamController.prototype._checkAppendedParsed = function () {\n // trigger handler right now\n if (this.state === base_stream_controller_1.State.PARSED && (!this.appended || !this.pendingBuffering)) {\n var frag = this.fragCurrent, stats = this.stats, hls_2 = this.hls;\n if (frag) {\n this.fragPrevious = frag;\n stats.tbuffered = performance.now();\n hls_2.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: frag, id: 'audio' });\n var media = this.mediaBuffer ? this.mediaBuffer : this.media;\n logger_1.logger.log(\"audio buffered : \" + time_ranges_1.default.toString(media.buffered));\n if (this.audioSwitch && this.appended) {\n this.audioSwitch = false;\n hls_2.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: this.trackId });\n }\n this.state = base_stream_controller_1.State.IDLE;\n }\n this.tick();\n }\n };\n AudioStreamController.prototype.onError = function (data) {\n var frag = data.frag;\n // don't handle frag error not related to audio fragment\n if (frag && frag.type !== 'audio') {\n return;\n }\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n var frag_1 = data.frag;\n // don't handle frag error not related to audio fragment\n if (frag_1 && frag_1.type !== 'audio') {\n break;\n }\n if (!data.fatal) {\n var loadError = this.fragLoadError;\n if (loadError) {\n loadError++;\n }\n else {\n loadError = 1;\n }\n var config = this.config;\n if (loadError <= config.fragLoadingMaxRetry) {\n this.fragLoadError = loadError;\n // exponential backoff capped to config.fragLoadingMaxRetryTimeout\n var delay = Math.min(Math.pow(2, loadError - 1) * config.fragLoadingRetryDelay, config.fragLoadingMaxRetryTimeout);\n logger_1.logger.warn(\"AudioStreamController: frag loading failed, retry in \" + delay + \" ms\");\n this.retryDate = performance.now() + delay;\n // retry loading state\n this.state = base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY;\n }\n else {\n logger_1.logger.error(\"AudioStreamController: \" + data.details + \" reaches max retry, redispatch as fatal ...\");\n // switch error to fatal\n data.fatal = true;\n this.state = base_stream_controller_1.State.ERROR;\n }\n }\n break;\n case errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR:\n case errors_1.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT:\n case errors_1.ErrorDetails.KEY_LOAD_ERROR:\n case errors_1.ErrorDetails.KEY_LOAD_TIMEOUT:\n // when in ERROR state, don't switch back to IDLE state in case a non-fatal error is received\n if (this.state !== base_stream_controller_1.State.ERROR) {\n // if fatal error, stop processing, otherwise move to IDLE to retry loading\n this.state = data.fatal ? base_stream_controller_1.State.ERROR : base_stream_controller_1.State.IDLE;\n logger_1.logger.warn(\"AudioStreamController: \" + data.details + \" while loading frag, now switching to \" + this.state + \" state ...\");\n }\n break;\n case errors_1.ErrorDetails.BUFFER_FULL_ERROR:\n // if in appending state\n if (data.parent === 'audio' && (this.state === base_stream_controller_1.State.PARSING || this.state === base_stream_controller_1.State.PARSED)) {\n var media = this.mediaBuffer, currentTime = this.media.currentTime, mediaBuffered = media && buffer_helper_1.BufferHelper.isBuffered(media, currentTime) && buffer_helper_1.BufferHelper.isBuffered(media, currentTime + 0.5);\n // reduce max buf len if current position is buffered\n if (mediaBuffered) {\n var config = this.config;\n if (config.maxMaxBufferLength >= config.maxBufferLength) {\n // reduce max buffer length as it might be too high. we do this to avoid loop flushing ...\n config.maxMaxBufferLength /= 2;\n logger_1.logger.warn(\"AudioStreamController: reduce max buffer length to \" + config.maxMaxBufferLength + \"s\");\n }\n this.state = base_stream_controller_1.State.IDLE;\n }\n else {\n // current position is not buffered, but browser is still complaining about buffer full error\n // this happens on IE/Edge, refer to https://github.com/video-dev/hls.js/pull/708\n // in that case flush the whole audio buffer to recover\n logger_1.logger.warn('AudioStreamController: buffer full error also media.currentTime is not buffered, flush audio buffer');\n this.fragCurrent = null;\n // flush everything\n this.state = base_stream_controller_1.State.BUFFER_FLUSHING;\n this.hls.trigger(events_1.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: Number.POSITIVE_INFINITY, type: 'audio' });\n }\n }\n break;\n default:\n break;\n }\n };\n AudioStreamController.prototype.onBufferFlushed = function () {\n var _this = this;\n var pendingData = this.pendingData;\n if (pendingData && pendingData.length) {\n logger_1.logger.log('AudioStreamController: appending pending audio data after buffer flushed');\n pendingData.forEach(function (appendObj) {\n _this.hls.trigger(events_1.default.BUFFER_APPENDING, appendObj);\n });\n this.appended = true;\n this.pendingData = [];\n this.state = base_stream_controller_1.State.PARSED;\n }\n else {\n // move to IDLE once flush complete. this should trigger new fragment loading\n this.state = base_stream_controller_1.State.IDLE;\n // reset reference to frag\n this.fragPrevious = null;\n this.tick();\n }\n };\n return AudioStreamController;\n}(base_stream_controller_1.default));\nexports.default = AudioStreamController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/audio-track-controller.js\":\n/*!**************************************************!*\\\n !*** ./src/controller/audio-track-controller.js ***!\n \\**************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar task_loop_1 = __webpack_require__(/*! ../task-loop */ \"./src/task-loop.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\n/**\n * @class AudioTrackController\n * @implements {EventHandler}\n *\n * Handles main manifest and audio-track metadata loaded,\n * owns and exposes the selectable audio-tracks data-models.\n *\n * Exposes internal interface to select available audio-tracks.\n *\n * Handles errors on loading audio-track playlists. Manages fallback mechanism\n * with redundants tracks (group-IDs).\n *\n * Handles level-loading and group-ID switches for video (fallback on video levels),\n * and eventually adapts the audio-track group-ID to match.\n *\n * @fires AUDIO_TRACK_LOADING\n * @fires AUDIO_TRACK_SWITCHING\n * @fires AUDIO_TRACKS_UPDATED\n * @fires ERROR\n *\n */\nvar AudioTrackController = /** @class */ (function (_super) {\n __extends(AudioTrackController, _super);\n function AudioTrackController(hls) {\n var _this = _super.call(this, hls, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_PARSED, events_1.default.AUDIO_TRACK_LOADED, events_1.default.AUDIO_TRACK_SWITCHED, events_1.default.LEVEL_LOADED, events_1.default.ERROR) || this;\n /**\n * @private\n * Currently selected index in `tracks`\n * @member {number} trackId\n */\n _this._trackId = -1;\n /**\n * @private\n * If should select tracks according to default track attribute\n * @member {boolean} _selectDefaultTrack\n */\n _this._selectDefaultTrack = true;\n /**\n * @public\n * All tracks available\n * @member {AudioTrack[]}\n */\n _this.tracks = [];\n /**\n * @public\n * List of blacklisted audio track IDs (that have caused failure)\n * @member {number[]}\n */\n _this.trackIdBlacklist = Object.create(null);\n /**\n * @public\n * The currently running group ID for audio\n * (we grab this on manifest-parsed and new level-loaded)\n * @member {string}\n */\n _this.audioGroupId = null;\n return _this;\n }\n /**\n * Reset audio tracks on new manifest loading.\n */\n AudioTrackController.prototype.onManifestLoading = function () {\n this.tracks = [];\n this._trackId = -1;\n this._selectDefaultTrack = true;\n };\n /**\n * Store tracks data from manifest parsed data.\n *\n * Trigger AUDIO_TRACKS_UPDATED event.\n *\n * @param {*} data\n */\n AudioTrackController.prototype.onManifestParsed = function (data) {\n var tracks = this.tracks = data.audioTracks || [];\n this.hls.trigger(events_1.default.AUDIO_TRACKS_UPDATED, { audioTracks: tracks });\n };\n /**\n * Store track details of loaded track in our data-model.\n *\n * Set-up metadata update interval task for live-mode streams.\n *\n * @param {} data\n */\n AudioTrackController.prototype.onAudioTrackLoaded = function (data) {\n if (data.id >= this.tracks.length) {\n logger_1.logger.warn('Invalid audio track id:', data.id);\n return;\n }\n logger_1.logger.log(\"audioTrack \" + data.id + \" loaded\");\n this.tracks[data.id].details = data.details;\n // check if current playlist is a live playlist\n // and if we have already our reload interval setup\n if (data.details.live && !this.hasInterval()) {\n // if live playlist we will have to reload it periodically\n // set reload period to playlist target duration\n var updatePeriodMs = data.details.targetduration * 1000;\n this.setInterval(updatePeriodMs);\n }\n if (!data.details.live && this.hasInterval()) {\n // playlist is not live and timer is scheduled: cancel it\n this.clearInterval();\n }\n };\n /**\n * Update the internal group ID to any audio-track we may have set manually\n * or because of a failure-handling fallback.\n *\n * Quality-levels should update to that group ID in this case.\n *\n * @param {*} data\n */\n AudioTrackController.prototype.onAudioTrackSwitched = function (data) {\n var audioGroupId = this.tracks[data.id].groupId;\n if (audioGroupId && (this.audioGroupId !== audioGroupId)) {\n this.audioGroupId = audioGroupId;\n }\n };\n /**\n * When a level gets loaded, if it has redundant audioGroupIds (in the same ordinality as it's redundant URLs)\n * we are setting our audio-group ID internally to the one set, if it is different from the group ID currently set.\n *\n * If group-ID got update, we re-select the appropriate audio-track with this group-ID matching the currently\n * selected one (based on NAME property).\n *\n * @param {*} data\n */\n AudioTrackController.prototype.onLevelLoaded = function (data) {\n // FIXME: crashes because currentLevel is undefined\n // const levelInfo = this.hls.levels[this.hls.currentLevel];\n var levelInfo = this.hls.levels[data.level];\n if (!levelInfo.audioGroupIds) {\n return;\n }\n var audioGroupId = levelInfo.audioGroupIds[levelInfo.urlId];\n if (this.audioGroupId !== audioGroupId) {\n this.audioGroupId = audioGroupId;\n this._selectInitialAudioTrack();\n }\n };\n /**\n * Handle network errors loading audio track manifests\n * and also pausing on any netwok errors.\n *\n * @param {ErrorEventData} data\n */\n AudioTrackController.prototype.onError = function (data) {\n // Only handle network errors\n if (data.type !== errors_1.ErrorTypes.NETWORK_ERROR) {\n return;\n }\n // If fatal network error, cancel update task\n if (data.fatal) {\n this.clearInterval();\n }\n // If not an audio-track loading error don't handle further\n if (data.details !== errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR) {\n return;\n }\n logger_1.logger.warn('Network failure on audio-track id:', data.context.id);\n this._handleLoadError();\n };\n Object.defineProperty(AudioTrackController.prototype, \"audioTracks\", {\n /**\n * @type {AudioTrack[]} Audio-track list we own\n */\n get: function () {\n return this.tracks;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AudioTrackController.prototype, \"audioTrack\", {\n /**\n * @type {number} Index into audio-tracks list of currently selected track.\n */\n get: function () {\n return this._trackId;\n },\n /**\n * Select current track by index\n */\n set: function (newId) {\n this._setAudioTrack(newId);\n // If audio track is selected from API then don't choose from the manifest default track\n this._selectDefaultTrack = false;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @private\n * @param {number} newId\n */\n AudioTrackController.prototype._setAudioTrack = function (newId) {\n // noop on same audio track id as already set\n if (this._trackId === newId && this.tracks[this._trackId].details) {\n logger_1.logger.debug('Same id as current audio-track passed, and track details available -> no-op');\n return;\n }\n // check if level idx is valid\n if (newId < 0 || newId >= this.tracks.length) {\n logger_1.logger.warn('Invalid id passed to audio-track controller');\n return;\n }\n var audioTrack = this.tracks[newId];\n logger_1.logger.log(\"Now switching to audio-track index \" + newId);\n // stopping live reloading timer if any\n this.clearInterval();\n this._trackId = newId;\n var url = audioTrack.url, type = audioTrack.type, id = audioTrack.id;\n this.hls.trigger(events_1.default.AUDIO_TRACK_SWITCHING, { id: id, type: type, url: url });\n this._loadTrackDetailsIfNeeded(audioTrack);\n };\n /**\n * @override\n */\n AudioTrackController.prototype.doTick = function () {\n this._updateTrack(this._trackId);\n };\n /**\n * Select initial track\n * @private\n */\n AudioTrackController.prototype._selectInitialAudioTrack = function () {\n var _this = this;\n var tracks = this.tracks;\n if (!tracks.length) {\n return;\n }\n var currentAudioTrack = this.tracks[this._trackId];\n var name = null;\n if (currentAudioTrack) {\n name = currentAudioTrack.name;\n }\n // Pre-select default tracks if there are any\n if (this._selectDefaultTrack) {\n var defaultTracks = tracks.filter(function (track) { return track.default; });\n if (defaultTracks.length) {\n tracks = defaultTracks;\n }\n else {\n logger_1.logger.warn('No default audio tracks defined');\n }\n }\n var trackFound = false;\n var traverseTracks = function () {\n // Select track with right group ID\n tracks.forEach(function (track) {\n if (trackFound) {\n return;\n }\n // We need to match the (pre-)selected group ID\n // and the NAME of the current track.\n if ((!_this.audioGroupId || track.groupId === _this.audioGroupId) &&\n (!name || name === track.name)) {\n // If there was a previous track try to stay with the same `NAME`.\n // It should be unique across tracks of same group, and consistent through redundant track groups.\n _this._setAudioTrack(track.id);\n trackFound = true;\n }\n });\n };\n traverseTracks();\n if (!trackFound) {\n name = null;\n traverseTracks();\n }\n if (!trackFound) {\n logger_1.logger.error(\"No track found for running audio group-ID: \" + this.audioGroupId);\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR,\n fatal: true\n });\n }\n };\n /**\n * @private\n * @param {AudioTrack} audioTrack\n * @returns {boolean}\n */\n AudioTrackController.prototype._needsTrackLoading = function (audioTrack) {\n var details = audioTrack.details, url = audioTrack.url;\n if (!details || details.live) {\n // check if we face an audio track embedded in main playlist (audio track without URI attribute)\n return !!url;\n }\n return false;\n };\n /**\n * @private\n * @param {AudioTrack} audioTrack\n */\n AudioTrackController.prototype._loadTrackDetailsIfNeeded = function (audioTrack) {\n if (this._needsTrackLoading(audioTrack)) {\n var url = audioTrack.url, id = audioTrack.id;\n // track not retrieved yet, or live playlist we need to (re)load it\n logger_1.logger.log(\"loading audio-track playlist for id: \" + id);\n this.hls.trigger(events_1.default.AUDIO_TRACK_LOADING, { url: url, id: id });\n }\n };\n /**\n * @private\n * @param {number} newId\n */\n AudioTrackController.prototype._updateTrack = function (newId) {\n // check if level idx is valid\n if (newId < 0 || newId >= this.tracks.length) {\n return;\n }\n // stopping live reloading timer if any\n this.clearInterval();\n this._trackId = newId;\n logger_1.logger.log(\"trying to update audio-track \" + newId);\n var audioTrack = this.tracks[newId];\n this._loadTrackDetailsIfNeeded(audioTrack);\n };\n /**\n * @private\n */\n AudioTrackController.prototype._handleLoadError = function () {\n // First, let's black list current track id\n this.trackIdBlacklist[this._trackId] = true;\n // Let's try to fall back on a functional audio-track with the same group ID\n var previousId = this._trackId;\n var _a = this.tracks[previousId], name = _a.name, language = _a.language, groupId = _a.groupId;\n logger_1.logger.warn(\"Loading failed on audio track id: \" + previousId + \", group-id: \" + groupId + \", name/language: \\\"\" + name + \"\\\" / \\\"\" + language + \"\\\"\");\n // Find a non-blacklisted track ID with the same NAME\n // At least a track that is not blacklisted, thus on another group-ID.\n var newId = previousId;\n for (var i = 0; i < this.tracks.length; i++) {\n if (this.trackIdBlacklist[i]) {\n continue;\n }\n var newTrack = this.tracks[i];\n if (newTrack.name === name) {\n newId = i;\n break;\n }\n }\n if (newId === previousId) {\n logger_1.logger.warn(\"No fallback audio-track found for name/language: \\\"\" + name + \"\\\" / \\\"\" + language + \"\\\"\");\n return;\n }\n logger_1.logger.log('Attempting audio-track fallback id:', newId, 'group-id:', this.tracks[newId].groupId);\n this._setAudioTrack(newId);\n };\n return AudioTrackController;\n}(task_loop_1.default));\nexports.default = AudioTrackController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/base-stream-controller.js\":\n/*!**************************************************!*\\\n !*** ./src/controller/base-stream-controller.js ***!\n \\**************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar task_loop_1 = __webpack_require__(/*! ../task-loop */ \"./src/task-loop.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nexports.State = {\n STOPPED: 'STOPPED',\n STARTING: 'STARTING',\n IDLE: 'IDLE',\n PAUSED: 'PAUSED',\n KEY_LOADING: 'KEY_LOADING',\n FRAG_LOADING: 'FRAG_LOADING',\n FRAG_LOADING_WAITING_RETRY: 'FRAG_LOADING_WAITING_RETRY',\n WAITING_TRACK: 'WAITING_TRACK',\n PARSING: 'PARSING',\n PARSED: 'PARSED',\n BUFFER_FLUSHING: 'BUFFER_FLUSHING',\n ENDED: 'ENDED',\n ERROR: 'ERROR',\n WAITING_INIT_PTS: 'WAITING_INIT_PTS',\n WAITING_LEVEL: 'WAITING_LEVEL'\n};\nvar BaseStreamController = /** @class */ (function (_super) {\n __extends(BaseStreamController, _super);\n function BaseStreamController() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n BaseStreamController.prototype.doTick = function () { };\n BaseStreamController.prototype._streamEnded = function (bufferInfo, levelDetails) {\n var _a = this, fragCurrent = _a.fragCurrent, fragmentTracker = _a.fragmentTracker;\n // we just got done loading the final fragment and there is no other buffered range after ...\n // rationale is that in case there are any buffered ranges after, it means that there are unbuffered portion in between\n // so we should not switch to ENDED in that case, to be able to buffer them\n // dont switch to ENDED if we need to backtrack last fragment\n if (!levelDetails.live && fragCurrent && !fragCurrent.backtracked && fragCurrent.sn === levelDetails.endSN && !bufferInfo.nextStart) {\n var fragState = fragmentTracker.getState(fragCurrent);\n return fragState === fragment_tracker_1.FragmentState.PARTIAL || fragState === fragment_tracker_1.FragmentState.OK;\n }\n return false;\n };\n BaseStreamController.prototype.onMediaSeeking = function () {\n var _a = this, config = _a.config, media = _a.media, mediaBuffer = _a.mediaBuffer, state = _a.state;\n var currentTime = media ? media.currentTime : null;\n var bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(mediaBuffer || media, currentTime, this.config.maxBufferHole);\n if (Number.isFinite(currentTime)) {\n logger_1.logger.log(\"media seeking to \" + currentTime.toFixed(3));\n }\n if (state === exports.State.FRAG_LOADING) {\n var fragCurrent = this.fragCurrent;\n // check if we are seeking to a unbuffered area AND if frag loading is in progress\n if (bufferInfo.len === 0 && fragCurrent) {\n var tolerance = config.maxFragLookUpTolerance;\n var fragStartOffset = fragCurrent.start - tolerance;\n var fragEndOffset = fragCurrent.start + fragCurrent.duration + tolerance;\n // check if we seek position will be out of currently loaded frag range : if out cancel frag load, if in, don't do anything\n if (currentTime < fragStartOffset || currentTime > fragEndOffset) {\n if (fragCurrent.loader) {\n logger_1.logger.log('seeking outside of buffer while fragment load in progress, cancel fragment load');\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n this.fragPrevious = null;\n // switch to IDLE state to load new fragment\n this.state = exports.State.IDLE;\n }\n else {\n logger_1.logger.log('seeking outside of buffer but within currently loaded fragment range');\n }\n }\n }\n else if (state === exports.State.ENDED) {\n // if seeking to unbuffered area, clean up fragPrevious\n if (bufferInfo.len === 0) {\n this.fragPrevious = null;\n this.fragCurrent = null;\n }\n // switch to IDLE state to check for potential new fragment\n this.state = exports.State.IDLE;\n }\n if (media) {\n this.lastCurrentTime = currentTime;\n }\n // in case seeking occurs although no media buffered, adjust startPosition and nextLoadPosition to seek target\n if (!this.loadedmetadata) {\n this.nextLoadPosition = this.startPosition = currentTime;\n }\n // tick to speed up processing\n this.tick();\n };\n BaseStreamController.prototype.onMediaEnded = function () {\n // reset startPosition and lastCurrentTime to restart playback @ stream beginning\n this.startPosition = this.lastCurrentTime = 0;\n };\n return BaseStreamController;\n}(task_loop_1.default));\nexports.default = BaseStreamController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/buffer-controller.js\":\n/*!*********************************************!*\\\n !*** ./src/controller/buffer-controller.js ***!\n \\*********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Buffer Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar mediasource_helper_1 = __webpack_require__(/*! ../utils/mediasource-helper */ \"./src/utils/mediasource-helper.js\");\nvar MediaSource = mediasource_helper_1.getMediaSource();\nvar BufferController = /** @class */ (function (_super) {\n __extends(BufferController, _super);\n function BufferController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHING, events_1.default.MEDIA_DETACHING, events_1.default.MANIFEST_PARSED, events_1.default.BUFFER_RESET, events_1.default.BUFFER_APPENDING, events_1.default.BUFFER_CODECS, events_1.default.BUFFER_EOS, events_1.default.BUFFER_FLUSHING, events_1.default.LEVEL_PTS_UPDATED, events_1.default.LEVEL_UPDATED) || this;\n // the value that we have set mediasource.duration to\n // (the actual duration may be tweaked slighly by the browser)\n _this._msDuration = null;\n // the value that we want to set mediaSource.duration to\n _this._levelDuration = null;\n // the target duration of the current media playlist\n _this._levelTargetDuration = 10;\n // current stream state: true - for live broadcast, false - for VoD content\n _this._live = null;\n // cache the self generated object url to detect hijack of video tag\n _this._objectUrl = null;\n // The number of BUFFER_CODEC events received before any sourceBuffers are created\n _this.bufferCodecEventsExpected = 0;\n // Source Buffer listeners\n _this.onsbue = _this.onSBUpdateEnd.bind(_this);\n _this.onsbe = _this.onSBUpdateError.bind(_this);\n _this.pendingTracks = {};\n _this.tracks = {};\n return _this;\n }\n BufferController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n BufferController.prototype.onLevelPtsUpdated = function (data) {\n var type = data.type;\n var audioTrack = this.tracks.audio;\n // Adjusting `SourceBuffer.timestampOffset` (desired point in the timeline where the next frames should be appended)\n // in Chrome browser when we detect MPEG audio container and time delta between level PTS and `SourceBuffer.timestampOffset`\n // is greater than 100ms (this is enough to handle seek for VOD or level change for LIVE videos). At the time of change we issue\n // `SourceBuffer.abort()` and adjusting `SourceBuffer.timestampOffset` if `SourceBuffer.updating` is false or awaiting `updateend`\n // event if SB is in updating state.\n // More info here: https://github.com/video-dev/hls.js/issues/332#issuecomment-257986486\n if (type === 'audio' && audioTrack && audioTrack.container === 'audio/mpeg') { // Chrome audio mp3 track\n var audioBuffer = this.sourceBuffer.audio;\n var delta = Math.abs(audioBuffer.timestampOffset - data.start);\n // adjust timestamp offset if time delta is greater than 100ms\n if (delta > 0.1) {\n var updating = audioBuffer.updating;\n try {\n audioBuffer.abort();\n }\n catch (err) {\n logger_1.logger.warn('can not abort audio buffer: ' + err);\n }\n if (!updating) {\n logger_1.logger.warn('change mpeg audio timestamp offset from ' + audioBuffer.timestampOffset + ' to ' + data.start);\n audioBuffer.timestampOffset = data.start;\n }\n else {\n this.audioTimestampOffset = data.start;\n }\n }\n }\n };\n BufferController.prototype.onManifestParsed = function (data) {\n // in case of alt audio 2 BUFFER_CODECS events will be triggered, one per stream controller\n // sourcebuffers will be created all at once when the expected nb of tracks will be reached\n // in case alt audio is not used, only one BUFFER_CODEC event will be fired from main stream controller\n // it will contain the expected nb of source buffers, no need to compute it\n this.bufferCodecEventsExpected = data.altAudio ? 2 : 1;\n logger_1.logger.log(this.bufferCodecEventsExpected + \" bufferCodec event(s) expected\");\n };\n BufferController.prototype.onMediaAttaching = function (data) {\n var media = this.media = data.media;\n if (media) {\n // setup the media source\n var ms = this.mediaSource = new MediaSource();\n // Media Source listeners\n this.onmso = this.onMediaSourceOpen.bind(this);\n this.onmse = this.onMediaSourceEnded.bind(this);\n this.onmsc = this.onMediaSourceClose.bind(this);\n ms.addEventListener('sourceopen', this.onmso);\n ms.addEventListener('sourceended', this.onmse);\n ms.addEventListener('sourceclose', this.onmsc);\n // link video and media Source\n media.src = window.URL.createObjectURL(ms);\n // cache the locally generated object url\n this._objectUrl = media.src;\n }\n };\n BufferController.prototype.onMediaDetaching = function () {\n logger_1.logger.log('media source detaching');\n var ms = this.mediaSource;\n if (ms) {\n if (ms.readyState === 'open') {\n try {\n // endOfStream could trigger exception if any sourcebuffer is in updating state\n // we don't really care about checking sourcebuffer state here,\n // as we are anyway detaching the MediaSource\n // let's just avoid this exception to propagate\n ms.endOfStream();\n }\n catch (err) {\n logger_1.logger.warn(\"onMediaDetaching:\" + err.message + \" while calling endOfStream\");\n }\n }\n ms.removeEventListener('sourceopen', this.onmso);\n ms.removeEventListener('sourceended', this.onmse);\n ms.removeEventListener('sourceclose', this.onmsc);\n // Detach properly the MediaSource from the HTMLMediaElement as\n // suggested in https://github.com/w3c/media-source/issues/53.\n if (this.media) {\n window.URL.revokeObjectURL(this._objectUrl);\n // clean up video tag src only if it's our own url. some external libraries might\n // hijack the video tag and change its 'src' without destroying the Hls instance first\n if (this.media.src === this._objectUrl) {\n this.media.removeAttribute('src');\n this.media.load();\n }\n else {\n logger_1.logger.warn('media.src was changed by a third party - skip cleanup');\n }\n }\n this.mediaSource = null;\n this.media = null;\n this._objectUrl = null;\n this.pendingTracks = {};\n this.tracks = {};\n this.sourceBuffer = {};\n this.flushRange = [];\n this.segments = [];\n this.appended = 0;\n }\n this.onmso = this.onmse = this.onmsc = null;\n this.hls.trigger(events_1.default.MEDIA_DETACHED);\n };\n BufferController.prototype.onMediaSourceOpen = function () {\n logger_1.logger.log('media source opened');\n this.hls.trigger(events_1.default.MEDIA_ATTACHED, { media: this.media });\n var mediaSource = this.mediaSource;\n if (mediaSource) {\n // once received, don't listen anymore to sourceopen event\n mediaSource.removeEventListener('sourceopen', this.onmso);\n }\n this.checkPendingTracks();\n };\n BufferController.prototype.checkPendingTracks = function () {\n var _a = this, bufferCodecEventsExpected = _a.bufferCodecEventsExpected, pendingTracks = _a.pendingTracks;\n // Check if we've received all of the expected bufferCodec events. When none remain, create all the sourceBuffers at once.\n // This is important because the MSE spec allows implementations to throw QuotaExceededErrors if creating new sourceBuffers after\n // data has been appended to existing ones.\n // 2 tracks is the max (one for audio, one for video). If we've reach this max go ahead and create the buffers.\n var pendingTracksCount = Object.keys(pendingTracks).length;\n if ((pendingTracksCount && !bufferCodecEventsExpected) || pendingTracksCount === 2) {\n // ok, let's create them now !\n this.createSourceBuffers(pendingTracks);\n this.pendingTracks = {};\n // append any pending segments now !\n this.doAppending();\n }\n };\n BufferController.prototype.onMediaSourceClose = function () {\n logger_1.logger.log('media source closed');\n };\n BufferController.prototype.onMediaSourceEnded = function () {\n logger_1.logger.log('media source ended');\n };\n BufferController.prototype.onSBUpdateEnd = function () {\n // update timestampOffset\n if (this.audioTimestampOffset) {\n var audioBuffer = this.sourceBuffer.audio;\n logger_1.logger.warn(\"change mpeg audio timestamp offset from \" + audioBuffer.timestampOffset + \" to \" + this.audioTimestampOffset);\n audioBuffer.timestampOffset = this.audioTimestampOffset;\n delete this.audioTimestampOffset;\n }\n if (this._needsFlush) {\n this.doFlush();\n }\n if (this._needsEos) {\n this.checkEos();\n }\n this.appending = false;\n var parent = this.parent;\n // count nb of pending segments waiting for appending on this sourcebuffer\n var pending = this.segments.reduce(function (counter, segment) { return (segment.parent === parent) ? counter + 1 : counter; }, 0);\n // this.sourceBuffer is better to use than media.buffered as it is closer to the PTS data from the fragments\n var timeRanges = {};\n var sourceBuffer = this.sourceBuffer;\n for (var streamType in sourceBuffer) {\n timeRanges[streamType] = sourceBuffer[streamType].buffered;\n }\n this.hls.trigger(events_1.default.BUFFER_APPENDED, { parent: parent, pending: pending, timeRanges: timeRanges });\n // don't append in flushing mode\n if (!this._needsFlush) {\n this.doAppending();\n }\n this.updateMediaElementDuration();\n // appending goes first\n if (pending === 0) {\n this.flushLiveBackBuffer();\n }\n };\n BufferController.prototype.onSBUpdateError = function (event) {\n logger_1.logger.error('sourceBuffer error:', event);\n // according to http://www.w3.org/TR/media-source/#sourcebuffer-append-error\n // this error might not always be fatal (it is fatal if decode error is set, in that case\n // it will be followed by a mediaElement error ...)\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.BUFFER_APPENDING_ERROR, fatal: false });\n // we don't need to do more than that, as accordin to the spec, updateend will be fired just after\n };\n BufferController.prototype.onBufferReset = function () {\n var sourceBuffer = this.sourceBuffer;\n for (var type in sourceBuffer) {\n var sb = sourceBuffer[type];\n try {\n this.mediaSource.removeSourceBuffer(sb);\n sb.removeEventListener('updateend', this.onsbue);\n sb.removeEventListener('error', this.onsbe);\n }\n catch (err) {\n }\n }\n this.sourceBuffer = {};\n this.flushRange = [];\n this.segments = [];\n this.appended = 0;\n };\n BufferController.prototype.onBufferCodecs = function (tracks) {\n var _this = this;\n // if source buffer(s) not created yet, appended buffer tracks in this.pendingTracks\n // if sourcebuffers already created, do nothing ...\n if (Object.keys(this.sourceBuffer).length) {\n return;\n }\n Object.keys(tracks).forEach(function (trackName) {\n _this.pendingTracks[trackName] = tracks[trackName];\n });\n var mediaSource = this.mediaSource;\n this.bufferCodecEventsExpected = Math.max(this.bufferCodecEventsExpected - 1, 0);\n if (mediaSource && mediaSource.readyState === 'open') {\n this.checkPendingTracks();\n }\n };\n BufferController.prototype.createSourceBuffers = function (tracks) {\n var sourceBuffer = this.sourceBuffer, mediaSource = this.mediaSource;\n for (var trackName in tracks) {\n if (!sourceBuffer[trackName]) {\n var track = tracks[trackName];\n // use levelCodec as first priority\n var codec = track.levelCodec || track.codec;\n var mimeType = track.container + \";codecs=\" + codec;\n logger_1.logger.log(\"creating sourceBuffer(\" + mimeType + \")\");\n try {\n var sb = sourceBuffer[trackName] = mediaSource.addSourceBuffer(mimeType);\n sb.addEventListener('updateend', this.onsbue);\n sb.addEventListener('error', this.onsbe);\n this.tracks[trackName] = { codec: codec, container: track.container };\n track.buffer = sb;\n }\n catch (err) {\n logger_1.logger.error(\"error while trying to add sourceBuffer:\" + err.message);\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.BUFFER_ADD_CODEC_ERROR, fatal: false, err: err, mimeType: mimeType });\n }\n }\n }\n this.hls.trigger(events_1.default.BUFFER_CREATED, { tracks: tracks });\n };\n BufferController.prototype.onBufferAppending = function (data) {\n if (!this._needsFlush) {\n if (!this.segments) {\n this.segments = [data];\n }\n else {\n this.segments.push(data);\n }\n this.doAppending();\n }\n };\n BufferController.prototype.onBufferAppendFail = function (data) {\n logger_1.logger.error('sourceBuffer error:', data.event);\n // according to http://www.w3.org/TR/media-source/#sourcebuffer-append-error\n // this error might not always be fatal (it is fatal if decode error is set, in that case\n // it will be followed by a mediaElement error ...)\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.BUFFER_APPENDING_ERROR, fatal: false });\n };\n // on BUFFER_EOS mark matching sourcebuffer(s) as ended and trigger checkEos()\n BufferController.prototype.onBufferEos = function (data) {\n var sb = this.sourceBuffer;\n var dataType = data.type;\n for (var type in sb) {\n if (!dataType || type === dataType) {\n if (!sb[type].ended) {\n sb[type].ended = true;\n logger_1.logger.log(type + \" sourceBuffer now EOS\");\n }\n }\n }\n this.checkEos();\n };\n // if all source buffers are marked as ended, signal endOfStream() to MediaSource.\n BufferController.prototype.checkEos = function () {\n var sb = this.sourceBuffer, mediaSource = this.mediaSource;\n if (!mediaSource || mediaSource.readyState !== 'open') {\n this._needsEos = false;\n return;\n }\n for (var type in sb) {\n var sbobj = sb[type];\n if (!sbobj.ended) {\n return;\n }\n if (sbobj.updating) {\n this._needsEos = true;\n return;\n }\n }\n logger_1.logger.log('all media data are available, signal endOfStream() to MediaSource and stop loading fragment');\n // Notify the media element that it now has all of the media data\n try {\n mediaSource.endOfStream();\n }\n catch (e) {\n logger_1.logger.warn('exception while calling mediaSource.endOfStream()');\n }\n this._needsEos = false;\n };\n BufferController.prototype.onBufferFlushing = function (data) {\n this.flushRange.push({ start: data.startOffset, end: data.endOffset, type: data.type });\n // attempt flush immediately\n this.flushBufferCounter = 0;\n this.doFlush();\n };\n BufferController.prototype.flushLiveBackBuffer = function () {\n // clear back buffer for live only\n if (!this._live) {\n return;\n }\n var liveBackBufferLength = this.hls.config.liveBackBufferLength;\n if (!isFinite(liveBackBufferLength) || liveBackBufferLength < 0) {\n return;\n }\n var currentTime = this.media.currentTime;\n var sourceBuffer = this.sourceBuffer;\n var bufferTypes = Object.keys(sourceBuffer);\n var targetBackBufferPosition = currentTime - Math.max(liveBackBufferLength, this._levelTargetDuration);\n for (var index = bufferTypes.length - 1; index >= 0; index--) {\n var bufferType = bufferTypes[index], buffered = sourceBuffer[bufferType].buffered;\n // when target buffer start exceeds actual buffer start\n if (buffered.length > 0 && targetBackBufferPosition > buffered.start(0)) {\n // remove buffer up until current time minus minimum back buffer length (removing buffer too close to current\n // time will lead to playback freezing)\n // credits for level target duration - https://github.com/videojs/http-streaming/blob/3132933b6aa99ddefab29c10447624efd6fd6e52/src/segment-loader.js#L91\n this.removeBufferRange(bufferType, sourceBuffer[bufferType], 0, targetBackBufferPosition);\n }\n }\n };\n BufferController.prototype.onLevelUpdated = function (_a) {\n var details = _a.details;\n if (details.fragments.length > 0) {\n this._levelDuration = details.totalduration + details.fragments[0].start;\n this._levelTargetDuration = details.averagetargetduration || details.targetduration || 10;\n this._live = details.live;\n this.updateMediaElementDuration();\n }\n };\n /**\n * Update Media Source duration to current level duration or override to Infinity if configuration parameter\n * 'liveDurationInfinity` is set to `true`\n * More details: https://github.com/video-dev/hls.js/issues/355\n */\n BufferController.prototype.updateMediaElementDuration = function () {\n var config = this.hls.config;\n var duration;\n if (this._levelDuration === null ||\n !this.media ||\n !this.mediaSource ||\n !this.sourceBuffer ||\n this.media.readyState === 0 ||\n this.mediaSource.readyState !== 'open') {\n return;\n }\n for (var type in this.sourceBuffer) {\n if (this.sourceBuffer[type].updating === true) {\n // can't set duration whilst a buffer is updating\n return;\n }\n }\n duration = this.media.duration;\n // initialise to the value that the media source is reporting\n if (this._msDuration === null) {\n this._msDuration = this.mediaSource.duration;\n }\n if (this._live === true && config.liveDurationInfinity === true) {\n // Override duration to Infinity\n logger_1.logger.log('Media Source duration is set to Infinity');\n this._msDuration = this.mediaSource.duration = Infinity;\n }\n else if ((this._levelDuration > this._msDuration && this._levelDuration > duration) || !Number.isFinite(duration)) {\n // levelDuration was the last value we set.\n // not using mediaSource.duration as the browser may tweak this value\n // only update Media Source duration if its value increase, this is to avoid\n // flushing already buffered portion when switching between quality level\n logger_1.logger.log(\"Updating Media Source duration to \" + this._levelDuration.toFixed(3));\n this._msDuration = this.mediaSource.duration = this._levelDuration;\n }\n };\n BufferController.prototype.doFlush = function () {\n // loop through all buffer ranges to flush\n while (this.flushRange.length) {\n var range = this.flushRange[0];\n // flushBuffer will abort any buffer append in progress and flush Audio/Video Buffer\n if (this.flushBuffer(range.start, range.end, range.type)) {\n // range flushed, remove from flush array\n this.flushRange.shift();\n this.flushBufferCounter = 0;\n }\n else {\n this._needsFlush = true;\n // avoid looping, wait for SB update end to retrigger a flush\n return;\n }\n }\n if (this.flushRange.length === 0) {\n // everything flushed\n this._needsFlush = false;\n // let's recompute this.appended, which is used to avoid flush looping\n var appended = 0;\n var sourceBuffer = this.sourceBuffer;\n try {\n for (var type in sourceBuffer) {\n appended += sourceBuffer[type].buffered.length;\n }\n }\n catch (error) {\n // error could be thrown while accessing buffered, in case sourcebuffer has already been removed from MediaSource\n // this is harmess at this stage, catch this to avoid reporting an internal exception\n logger_1.logger.error('error while accessing sourceBuffer.buffered');\n }\n this.appended = appended;\n this.hls.trigger(events_1.default.BUFFER_FLUSHED);\n }\n };\n BufferController.prototype.doAppending = function () {\n var _a = this, hls = _a.hls, segments = _a.segments, sourceBuffer = _a.sourceBuffer;\n if (Object.keys(sourceBuffer).length) {\n if (this.media.error) {\n this.segments = [];\n logger_1.logger.error('trying to append although a media error occured, flush segment and abort');\n return;\n }\n if (this.appending) {\n // logger.log(`sb appending in progress`);\n return;\n }\n if (segments && segments.length) {\n var segment = segments.shift();\n try {\n var type = segment.type, sb = sourceBuffer[type];\n if (sb) {\n if (!sb.updating) {\n // reset sourceBuffer ended flag before appending segment\n sb.ended = false;\n // logger.log(`appending ${segment.content} ${type} SB, size:${segment.data.length}, ${segment.parent}`);\n this.parent = segment.parent;\n sb.appendBuffer(segment.data);\n this.appendError = 0;\n this.appended++;\n this.appending = true;\n }\n else {\n segments.unshift(segment);\n }\n }\n else {\n // in case we don't have any source buffer matching with this segment type,\n // it means that Mediasource fails to create sourcebuffer\n // discard this segment, and trigger update end\n this.onSBUpdateEnd();\n }\n }\n catch (err) {\n // in case any error occured while appending, put back segment in segments table\n logger_1.logger.error(\"error while trying to append buffer:\" + err.message);\n segments.unshift(segment);\n var event_1 = { type: errors_1.ErrorTypes.MEDIA_ERROR, parent: segment.parent };\n if (err.code !== 22) {\n if (this.appendError) {\n this.appendError++;\n }\n else {\n this.appendError = 1;\n }\n event_1.details = errors_1.ErrorDetails.BUFFER_APPEND_ERROR;\n /* with UHD content, we could get loop of quota exceeded error until\n browser is able to evict some data from sourcebuffer. retrying help recovering this\n */\n if (this.appendError > hls.config.appendErrorMaxRetry) {\n logger_1.logger.log(\"fail \" + hls.config.appendErrorMaxRetry + \" times to append segment in sourceBuffer\");\n this.segments = [];\n event_1.fatal = true;\n hls.trigger(events_1.default.ERROR, event_1);\n }\n else {\n event_1.fatal = false;\n hls.trigger(events_1.default.ERROR, event_1);\n }\n }\n else {\n // QuotaExceededError: http://www.w3.org/TR/html5/infrastructure.html#quotaexceedederror\n // let's stop appending any segments, and report BUFFER_FULL_ERROR error\n this.segments = [];\n event_1.details = errors_1.ErrorDetails.BUFFER_FULL_ERROR;\n event_1.fatal = false;\n hls.trigger(events_1.default.ERROR, event_1);\n }\n }\n }\n }\n };\n /*\n flush specified buffered range,\n return true once range has been flushed.\n as sourceBuffer.remove() is asynchronous, flushBuffer will be retriggered on sourceBuffer update end\n */\n BufferController.prototype.flushBuffer = function (startOffset, endOffset, typeIn) {\n var sb;\n var sourceBuffer = this.sourceBuffer;\n if (Object.keys(sourceBuffer).length) {\n logger_1.logger.log(\"flushBuffer,pos/start/end: \" + this.media.currentTime.toFixed(3) + \"/\" + startOffset + \"/\" + endOffset);\n // safeguard to avoid infinite looping : don't try to flush more than the nb of appended segments\n if (this.flushBufferCounter < this.appended) {\n for (var type in sourceBuffer) {\n // check if sourcebuffer type is defined (typeIn): if yes, let's only flush this one\n // if no, let's flush all sourcebuffers\n if (typeIn && type !== typeIn) {\n continue;\n }\n sb = sourceBuffer[type];\n // we are going to flush buffer, mark source buffer as 'not ended'\n sb.ended = false;\n if (!sb.updating) {\n if (this.removeBufferRange(type, sb, startOffset, endOffset)) {\n this.flushBufferCounter++;\n return false;\n }\n }\n else {\n logger_1.logger.warn('cannot flush, sb updating in progress');\n return false;\n }\n }\n }\n else {\n logger_1.logger.warn('abort flushing too many retries');\n }\n logger_1.logger.log('buffer flushed');\n }\n // everything flushed !\n return true;\n };\n /**\n * Removes first buffered range from provided source buffer that lies within given start and end offsets.\n *\n * @param type Type of the source buffer, logging purposes only.\n * @param sb Target SourceBuffer instance.\n * @param startOffset\n * @param endOffset\n *\n * @returns {boolean} True when source buffer remove requested.\n */\n BufferController.prototype.removeBufferRange = function (type, sb, startOffset, endOffset) {\n try {\n for (var i = 0; i < sb.buffered.length; i++) {\n var bufStart = sb.buffered.start(i);\n var bufEnd = sb.buffered.end(i);\n var removeStart = Math.max(bufStart, startOffset);\n var removeEnd = Math.min(bufEnd, endOffset);\n /* sometimes sourcebuffer.remove() does not flush\n the exact expected time range.\n to avoid rounding issues/infinite loop,\n only flush buffer range of length greater than 500ms.\n */\n if (Math.min(removeEnd, bufEnd) - removeStart > 0.5) {\n logger_1.logger.log(\"sb remove \" + type + \" [\" + removeStart + \",\" + removeEnd + \"], of [\" + bufStart + \",\" + bufEnd + \"], pos:\" + this.media.currentTime);\n sb.remove(removeStart, removeEnd);\n return true;\n }\n }\n }\n catch (error) {\n logger_1.logger.warn('removeBufferRange failed', error);\n }\n return false;\n };\n return BufferController;\n}(event_handler_1.default));\nexports.default = BufferController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/cap-level-controller.js\":\n/*!************************************************!*\\\n !*** ./src/controller/cap-level-controller.js ***!\n \\************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * cap stream level to media size dimension controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar CapLevelController = /** @class */ (function (_super) {\n __extends(CapLevelController, _super);\n function CapLevelController(hls) {\n var _this = _super.call(this, hls, events_1.default.FPS_DROP_LEVEL_CAPPING, events_1.default.MEDIA_ATTACHING, events_1.default.MANIFEST_PARSED, events_1.default.BUFFER_CODECS, events_1.default.MEDIA_DETACHING) || this;\n _this.autoLevelCapping = Number.POSITIVE_INFINITY;\n _this.firstLevel = null;\n _this.levels = [];\n _this.media = null;\n _this.restrictedLevels = [];\n _this.timer = null;\n return _this;\n }\n CapLevelController.prototype.destroy = function () {\n if (this.hls.config.capLevelToPlayerSize) {\n this.media = null;\n this._stopCapping();\n }\n };\n CapLevelController.prototype.onFpsDropLevelCapping = function (data) {\n // Don't add a restricted level more than once\n if (CapLevelController.isLevelAllowed(data.droppedLevel, this.restrictedLevels)) {\n this.restrictedLevels.push(data.droppedLevel);\n }\n };\n CapLevelController.prototype.onMediaAttaching = function (data) {\n this.media = data.media instanceof window.HTMLVideoElement ? data.media : null;\n };\n CapLevelController.prototype.onManifestParsed = function (data) {\n var hls = this.hls;\n this.restrictedLevels = [];\n this.levels = data.levels;\n this.firstLevel = data.firstLevel;\n if (hls.config.capLevelToPlayerSize && data.video) {\n // Start capping immediately if the manifest has signaled video codecs\n this._startCapping();\n }\n };\n // Only activate capping when playing a video stream; otherwise, multi-bitrate audio-only streams will be restricted\n // to the first level\n CapLevelController.prototype.onBufferCodecs = function (data) {\n var hls = this.hls;\n if (hls.config.capLevelToPlayerSize && data.video) {\n // If the manifest did not signal a video codec capping has been deferred until we're certain video is present\n this._startCapping();\n }\n };\n CapLevelController.prototype.onLevelsUpdated = function (data) {\n this.levels = data.levels;\n };\n CapLevelController.prototype.onMediaDetaching = function () {\n this._stopCapping();\n };\n CapLevelController.prototype.detectPlayerSize = function () {\n if (this.media) {\n var levelsLength = this.levels ? this.levels.length : 0;\n if (levelsLength) {\n var hls_1 = this.hls;\n hls_1.autoLevelCapping = this.getMaxLevel(levelsLength - 1);\n if (hls_1.autoLevelCapping > this.autoLevelCapping) {\n // if auto level capping has a higher value for the previous one, flush the buffer using nextLevelSwitch\n // usually happen when the user go to the fullscreen mode.\n hls_1.streamController.nextLevelSwitch();\n }\n this.autoLevelCapping = hls_1.autoLevelCapping;\n }\n }\n };\n /*\n * returns level should be the one with the dimensions equal or greater than the media (player) dimensions (so the video will be downscaled)\n */\n CapLevelController.prototype.getMaxLevel = function (capLevelIndex) {\n var _this = this;\n if (!this.levels) {\n return -1;\n }\n var validLevels = this.levels.filter(function (level, index) {\n return CapLevelController.isLevelAllowed(index, _this.restrictedLevels) && index <= capLevelIndex;\n });\n return CapLevelController.getMaxLevelByMediaSize(validLevels, this.mediaWidth, this.mediaHeight);\n };\n CapLevelController.prototype._startCapping = function () {\n if (this.timer) {\n // Don't reset capping if started twice; this can happen if the manifest signals a video codec\n return;\n }\n this.autoLevelCapping = Number.POSITIVE_INFINITY;\n this.hls.firstLevel = this.getMaxLevel(this.firstLevel);\n clearInterval(this.timer);\n this.timer = setInterval(this.detectPlayerSize.bind(this), 1000);\n this.detectPlayerSize();\n };\n CapLevelController.prototype._stopCapping = function () {\n this.restrictedLevels = [];\n this.firstLevel = null;\n this.autoLevelCapping = Number.POSITIVE_INFINITY;\n if (this.timer) {\n this.timer = clearInterval(this.timer);\n this.timer = null;\n }\n };\n Object.defineProperty(CapLevelController.prototype, \"mediaWidth\", {\n get: function () {\n var width;\n var media = this.media;\n if (media) {\n width = media.width || media.clientWidth || media.offsetWidth;\n width *= CapLevelController.contentScaleFactor;\n }\n return width;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CapLevelController.prototype, \"mediaHeight\", {\n get: function () {\n var height;\n var media = this.media;\n if (media) {\n height = media.height || media.clientHeight || media.offsetHeight;\n height *= CapLevelController.contentScaleFactor;\n }\n return height;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CapLevelController, \"contentScaleFactor\", {\n get: function () {\n var pixelRatio = 1;\n try {\n pixelRatio = window.devicePixelRatio;\n }\n catch (e) { }\n return pixelRatio;\n },\n enumerable: true,\n configurable: true\n });\n CapLevelController.isLevelAllowed = function (level, restrictedLevels) {\n if (restrictedLevels === void 0) { restrictedLevels = []; }\n return restrictedLevels.indexOf(level) === -1;\n };\n CapLevelController.getMaxLevelByMediaSize = function (levels, width, height) {\n if (!levels || (levels && !levels.length)) {\n return -1;\n }\n // Levels can have the same dimensions but differing bandwidths - since levels are ordered, we can look to the next\n // to determine whether we've chosen the greatest bandwidth for the media's dimensions\n var atGreatestBandiwdth = function (curLevel, nextLevel) {\n if (!nextLevel) {\n return true;\n }\n return curLevel.width !== nextLevel.width || curLevel.height !== nextLevel.height;\n };\n // If we run through the loop without breaking, the media's dimensions are greater than every level, so default to\n // the max level\n var maxLevelIndex = levels.length - 1;\n for (var i = 0; i < levels.length; i += 1) {\n var level = levels[i];\n if ((level.width >= width || level.height >= height) && atGreatestBandiwdth(level, levels[i + 1])) {\n maxLevelIndex = i;\n break;\n }\n }\n return maxLevelIndex;\n };\n return CapLevelController;\n}(event_handler_1.default));\nexports.default = CapLevelController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/eme-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/eme-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * @author Stephan Hesse <disparat@gmail.com> | <tchakabam@gmail.com>\n *\n * DRM support for Hls.js\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar XMLHttpRequest = window.XMLHttpRequest;\nvar MAX_LICENSE_REQUEST_FAILURES = 3;\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Navigator/requestMediaKeySystemAccess\n */\nvar KeySystems = {\n WIDEVINE: 'com.widevine.alpha',\n PLAYREADY: 'com.microsoft.playready'\n};\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemConfiguration\n * @param {Array<string>} audioCodecs List of required audio codecs to support\n * @param {Array<string>} videoCodecs List of required video codecs to support\n * @param {object} drmSystemOptions Optional parameters/requirements for the key-system\n * @returns {Array<MediaSystemConfiguration>} An array of supported configurations\n */\nvar createWidevineMediaKeySystemConfigurations = function (audioCodecs, videoCodecs, drmSystemOptions) {\n var baseConfig = {\n // initDataTypes: ['keyids', 'mp4'],\n // label: \"\",\n // persistentState: \"not-allowed\", // or \"required\" ?\n // distinctiveIdentifier: \"not-allowed\", // or \"required\" ?\n // sessionTypes: ['temporary'],\n videoCapabilities: [\n // { contentType: 'video/mp4; codecs=\"avc1.42E01E\"' }\n ]\n };\n videoCodecs.forEach(function (codec) {\n baseConfig.videoCapabilities.push({\n contentType: \"video/mp4; codecs=\\\"\" + codec + \"\\\"\"\n });\n });\n return [\n baseConfig\n ];\n};\n/**\n * The idea here is to handle key-system (and their respective platforms) specific configuration differences\n * in order to work with the local requestMediaKeySystemAccess method.\n *\n * We can also rule-out platform-related key-system support at this point by throwing an error or returning null.\n *\n * @param {string} keySystem Identifier for the key-system, see `KeySystems` enum\n * @param {Array<string>} audioCodecs List of required audio codecs to support\n * @param {Array<string>} videoCodecs List of required video codecs to support\n * @returns {Array<MediaSystemConfiguration> | null} A non-empty Array of MediaKeySystemConfiguration objects or `null`\n */\nvar getSupportedMediaKeySystemConfigurations = function (keySystem, audioCodecs, videoCodecs) {\n switch (keySystem) {\n case KeySystems.WIDEVINE:\n return createWidevineMediaKeySystemConfigurations(audioCodecs, videoCodecs);\n default:\n throw Error('Unknown key-system: ' + keySystem);\n }\n};\n/**\n * Controller to deal with encrypted media extensions (EME)\n * @see https://developer.mozilla.org/en-US/docs/Web/API/Encrypted_Media_Extensions_API\n *\n * @class\n * @constructor\n */\nvar EMEController = /** @class */ (function (_super) {\n __extends(EMEController, _super);\n /**\n * @constructs\n * @param {Hls} hls Our Hls.js instance\n */\n function EMEController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MANIFEST_PARSED) || this;\n _this._widevineLicenseUrl = hls.config.widevineLicenseUrl;\n _this._licenseXhrSetup = hls.config.licenseXhrSetup;\n _this._emeEnabled = hls.config.emeEnabled;\n _this._requestMediaKeySystemAccess = hls.config.requestMediaKeySystemAccessFunc;\n _this._mediaKeysList = [];\n _this._media = null;\n _this._hasSetMediaKeys = false;\n _this._isMediaEncrypted = false;\n _this._requestLicenseFailureCount = 0;\n return _this;\n }\n /**\n *\n * @param {string} keySystem Identifier for the key-system, see `KeySystems` enum\n * @returns {string} License server URL for key-system (if any configured, otherwise causes error)\n */\n EMEController.prototype.getLicenseServerUrl = function (keySystem) {\n var url;\n switch (keySystem) {\n case KeySystems.WIDEVINE:\n url = this._widevineLicenseUrl;\n break;\n default:\n url = null;\n break;\n }\n if (!url) {\n logger_1.logger.error(\"No license server URL configured for key-system \\\"\" + keySystem + \"\\\"\");\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,\n fatal: true\n });\n }\n return url;\n };\n /**\n * Requests access object and adds it to our list upon success\n * @private\n * @param {string} keySystem System ID (see `KeySystems`)\n * @param {Array<string>} audioCodecs List of required audio codecs to support\n * @param {Array<string>} videoCodecs List of required video codecs to support\n */\n EMEController.prototype._attemptKeySystemAccess = function (keySystem, audioCodecs, videoCodecs) {\n // TODO: add other DRM \"options\"\n var _this = this;\n var mediaKeySystemConfigs = getSupportedMediaKeySystemConfigurations(keySystem, audioCodecs, videoCodecs);\n if (!mediaKeySystemConfigs) {\n logger_1.logger.warn('Can not create config for key-system (maybe because platform is not supported):', keySystem);\n return;\n }\n logger_1.logger.log('Requesting encrypted media key-system access');\n // expecting interface like window.navigator.requestMediaKeySystemAccess\n this.requestMediaKeySystemAccess(keySystem, mediaKeySystemConfigs)\n .then(function (mediaKeySystemAccess) {\n _this._onMediaKeySystemAccessObtained(keySystem, mediaKeySystemAccess);\n })\n .catch(function (err) {\n logger_1.logger.error(\"Failed to obtain key-system \\\"\" + keySystem + \"\\\" access:\", err);\n });\n };\n Object.defineProperty(EMEController.prototype, \"requestMediaKeySystemAccess\", {\n get: function () {\n if (!this._requestMediaKeySystemAccess) {\n throw new Error('No requestMediaKeySystemAccess function configured');\n }\n return this._requestMediaKeySystemAccess;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Handles obtaining access to a key-system\n *\n * @param {string} keySystem\n * @param {MediaKeySystemAccess} mediaKeySystemAccess https://developer.mozilla.org/en-US/docs/Web/API/MediaKeySystemAccess\n */\n EMEController.prototype._onMediaKeySystemAccessObtained = function (keySystem, mediaKeySystemAccess) {\n var _this = this;\n logger_1.logger.log(\"Access for key-system \\\"\" + keySystem + \"\\\" obtained\");\n var mediaKeysListItem = {\n mediaKeys: null,\n mediaKeysSession: null,\n mediaKeysSessionInitialized: false,\n mediaKeySystemAccess: mediaKeySystemAccess,\n mediaKeySystemDomain: keySystem\n };\n this._mediaKeysList.push(mediaKeysListItem);\n mediaKeySystemAccess.createMediaKeys()\n .then(function (mediaKeys) {\n mediaKeysListItem.mediaKeys = mediaKeys;\n logger_1.logger.log(\"Media-keys created for key-system \\\"\" + keySystem + \"\\\"\");\n _this._onMediaKeysCreated();\n })\n .catch(function (err) {\n logger_1.logger.error('Failed to create media-keys:', err);\n });\n };\n /**\n * Handles key-creation (represents access to CDM). We are going to create key-sessions upon this\n * for all existing keys where no session exists yet.\n */\n EMEController.prototype._onMediaKeysCreated = function () {\n var _this = this;\n // check for all key-list items if a session exists, otherwise, create one\n this._mediaKeysList.forEach(function (mediaKeysListItem) {\n if (!mediaKeysListItem.mediaKeysSession) {\n mediaKeysListItem.mediaKeysSession = mediaKeysListItem.mediaKeys.createSession();\n _this._onNewMediaKeySession(mediaKeysListItem.mediaKeysSession);\n }\n });\n };\n /**\n *\n * @param {*} keySession\n */\n EMEController.prototype._onNewMediaKeySession = function (keySession) {\n var _this = this;\n logger_1.logger.log(\"New key-system session \" + keySession.sessionId);\n keySession.addEventListener('message', function (event) {\n _this._onKeySessionMessage(keySession, event.message);\n }, false);\n };\n EMEController.prototype._onKeySessionMessage = function (keySession, message) {\n logger_1.logger.log('Got EME message event, creating license request');\n this._requestLicense(message, function (data) {\n logger_1.logger.log('Received license data, updating key-session');\n keySession.update(data);\n });\n };\n EMEController.prototype._onMediaEncrypted = function (initDataType, initData) {\n logger_1.logger.log(\"Media is encrypted using \\\"\" + initDataType + \"\\\" init data type\");\n this._isMediaEncrypted = true;\n this._mediaEncryptionInitDataType = initDataType;\n this._mediaEncryptionInitData = initData;\n this._attemptSetMediaKeys();\n this._generateRequestWithPreferredKeySession();\n };\n EMEController.prototype._attemptSetMediaKeys = function () {\n if (!this._hasSetMediaKeys) {\n // FIXME: see if we can/want/need-to really to deal with several potential key-sessions?\n var keysListItem = this._mediaKeysList[0];\n if (!keysListItem || !keysListItem.mediaKeys) {\n logger_1.logger.error('Fatal: Media is encrypted but no CDM access or no keys have been obtained yet');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_KEYS,\n fatal: true\n });\n return;\n }\n logger_1.logger.log('Setting keys for encrypted media');\n this._media.setMediaKeys(keysListItem.mediaKeys);\n this._hasSetMediaKeys = true;\n }\n };\n EMEController.prototype._generateRequestWithPreferredKeySession = function () {\n var _this = this;\n // FIXME: see if we can/want/need-to really to deal with several potential key-sessions?\n var keysListItem = this._mediaKeysList[0];\n if (!keysListItem) {\n logger_1.logger.error('Fatal: Media is encrypted but not any key-system access has been obtained yet');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_ACCESS,\n fatal: true\n });\n return;\n }\n if (keysListItem.mediaKeysSessionInitialized) {\n logger_1.logger.warn('Key-Session already initialized but requested again');\n return;\n }\n var keySession = keysListItem.mediaKeysSession;\n if (!keySession) {\n logger_1.logger.error('Fatal: Media is encrypted but no key-session existing');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_SESSION,\n fatal: true\n });\n }\n var initDataType = this._mediaEncryptionInitDataType;\n var initData = this._mediaEncryptionInitData;\n logger_1.logger.log(\"Generating key-session request for \\\"\" + initDataType + \"\\\" init data type\");\n keysListItem.mediaKeysSessionInitialized = true;\n keySession.generateRequest(initDataType, initData)\n .then(function () {\n logger_1.logger.debug('Key-session generation succeeded');\n })\n .catch(function (err) {\n logger_1.logger.error('Error generating key-session request:', err);\n _this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_SESSION,\n fatal: false\n });\n });\n };\n /**\n * @param {string} url License server URL\n * @param {ArrayBuffer} keyMessage Message data issued by key-system\n * @param {function} callback Called when XHR has succeeded\n * @returns {XMLHttpRequest} Unsent (but opened state) XHR object\n */\n EMEController.prototype._createLicenseXhr = function (url, keyMessage, callback) {\n var xhr = new XMLHttpRequest();\n var licenseXhrSetup = this._licenseXhrSetup;\n try {\n if (licenseXhrSetup) {\n try {\n licenseXhrSetup(xhr, url);\n }\n catch (e) {\n // let's try to open before running setup\n xhr.open('POST', url, true);\n licenseXhrSetup(xhr, url);\n }\n }\n // if licenseXhrSetup did not yet call open, let's do it now\n if (!xhr.readyState) {\n xhr.open('POST', url, true);\n }\n }\n catch (e) {\n // IE11 throws an exception on xhr.open if attempting to access an HTTP resource over HTTPS\n logger_1.logger.error('Error setting up key-system license XHR', e);\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,\n fatal: true\n });\n return;\n }\n xhr.responseType = 'arraybuffer';\n xhr.onreadystatechange =\n this._onLicenseRequestReadyStageChange.bind(this, xhr, url, keyMessage, callback);\n return xhr;\n };\n /**\n * @param {XMLHttpRequest} xhr\n * @param {string} url License server URL\n * @param {ArrayBuffer} keyMessage Message data issued by key-system\n * @param {function} callback Called when XHR has succeeded\n *\n */\n EMEController.prototype._onLicenseRequestReadyStageChange = function (xhr, url, keyMessage, callback) {\n switch (xhr.readyState) {\n case 4:\n if (xhr.status === 200) {\n this._requestLicenseFailureCount = 0;\n logger_1.logger.log('License request succeeded');\n callback(xhr.response);\n }\n else {\n logger_1.logger.error(\"License Request XHR failed (\" + url + \"). Status: \" + xhr.status + \" (\" + xhr.statusText + \")\");\n this._requestLicenseFailureCount++;\n if (this._requestLicenseFailureCount <= MAX_LICENSE_REQUEST_FAILURES) {\n var attemptsLeft = MAX_LICENSE_REQUEST_FAILURES - this._requestLicenseFailureCount + 1;\n logger_1.logger.warn(\"Retrying license request, \" + attemptsLeft + \" attempts left\");\n this._requestLicense(keyMessage, callback);\n return;\n }\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_LICENSE_REQUEST_FAILED,\n fatal: true\n });\n }\n break;\n }\n };\n /**\n * @param {object} keysListItem\n * @param {ArrayBuffer} keyMessage\n * @returns {ArrayBuffer} Challenge data posted to license server\n */\n EMEController.prototype._generateLicenseRequestChallenge = function (keysListItem, keyMessage) {\n var challenge;\n if (keysListItem.mediaKeySystemDomain === KeySystems.PLAYREADY) {\n logger_1.logger.error('PlayReady is not supported (yet)');\n // from https://github.com/MicrosoftEdge/Demos/blob/master/eme/scripts/demo.js\n /*\n if (this.licenseType !== this.LICENSE_TYPE_WIDEVINE) {\n // For PlayReady CDMs, we need to dig the Challenge out of the XML.\n var keyMessageXml = new DOMParser().parseFromString(String.fromCharCode.apply(null, new Uint16Array(keyMessage)), 'application/xml');\n if (keyMessageXml.getElementsByTagName('Challenge')[0]) {\n challenge = atob(keyMessageXml.getElementsByTagName('Challenge')[0].childNodes[0].nodeValue);\n } else {\n throw 'Cannot find <Challenge> in key message';\n }\n var headerNames = keyMessageXml.getElementsByTagName('name');\n var headerValues = keyMessageXml.getElementsByTagName('value');\n if (headerNames.length !== headerValues.length) {\n throw 'Mismatched header <name>/<value> pair in key message';\n }\n for (var i = 0; i < headerNames.length; i++) {\n xhr.setRequestHeader(headerNames[i].childNodes[0].nodeValue, headerValues[i].childNodes[0].nodeValue);\n }\n }\n */\n }\n else if (keysListItem.mediaKeySystemDomain === KeySystems.WIDEVINE) {\n // For Widevine CDMs, the challenge is the keyMessage.\n challenge = keyMessage;\n }\n else {\n logger_1.logger.error('Unsupported key-system:', keysListItem.mediaKeySystemDomain);\n }\n return challenge;\n };\n EMEController.prototype._requestLicense = function (keyMessage, callback) {\n logger_1.logger.log('Requesting content license for key-system');\n var keysListItem = this._mediaKeysList[0];\n if (!keysListItem) {\n logger_1.logger.error('Fatal error: Media is encrypted but no key-system access has been obtained yet');\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.KEY_SYSTEM_ERROR,\n details: errors_1.ErrorDetails.KEY_SYSTEM_NO_ACCESS,\n fatal: true\n });\n return;\n }\n var url = this.getLicenseServerUrl(keysListItem.mediaKeySystemDomain);\n var xhr = this._createLicenseXhr(url, keyMessage, callback);\n logger_1.logger.log(\"Sending license request to URL: \" + url);\n xhr.send(this._generateLicenseRequestChallenge(keysListItem, keyMessage));\n };\n EMEController.prototype.onMediaAttached = function (data) {\n var _this = this;\n if (!this._emeEnabled) {\n return;\n }\n var media = data.media;\n // keep reference of media\n this._media = media;\n // FIXME: also handle detaching media !\n media.addEventListener('encrypted', function (e) {\n _this._onMediaEncrypted(e.initDataType, e.initData);\n });\n };\n EMEController.prototype.onManifestParsed = function (data) {\n if (!this._emeEnabled) {\n return;\n }\n var audioCodecs = data.levels.map(function (level) { return level.audioCodec; });\n var videoCodecs = data.levels.map(function (level) { return level.videoCodec; });\n this._attemptKeySystemAccess(KeySystems.WIDEVINE, audioCodecs, videoCodecs);\n };\n return EMEController;\n}(event_handler_1.default));\nexports.default = EMEController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/fps-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/fps-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * FPS Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar performance = window.performance;\nvar FPSController = /** @class */ (function (_super) {\n __extends(FPSController, _super);\n function FPSController(hls) {\n return _super.call(this, hls, events_1.default.MEDIA_ATTACHING) || this;\n }\n FPSController.prototype.destroy = function () {\n if (this.timer) {\n clearInterval(this.timer);\n }\n this.isVideoPlaybackQualityAvailable = false;\n };\n FPSController.prototype.onMediaAttaching = function (data) {\n var config = this.hls.config;\n if (config.capLevelOnFPSDrop) {\n var video_1 = this.video = data.media instanceof window.HTMLVideoElement ? data.media : null;\n if (typeof video_1.getVideoPlaybackQuality === 'function') {\n this.isVideoPlaybackQualityAvailable = true;\n }\n clearInterval(this.timer);\n this.timer = setInterval(this.checkFPSInterval.bind(this), config.fpsDroppedMonitoringPeriod);\n }\n };\n FPSController.prototype.checkFPS = function (video, decodedFrames, droppedFrames) {\n var currentTime = performance.now();\n if (decodedFrames) {\n if (this.lastTime) {\n var currentPeriod = currentTime - this.lastTime, currentDropped = droppedFrames - this.lastDroppedFrames, currentDecoded = decodedFrames - this.lastDecodedFrames, droppedFPS = 1000 * currentDropped / currentPeriod, hls_1 = this.hls;\n hls_1.trigger(events_1.default.FPS_DROP, { currentDropped: currentDropped, currentDecoded: currentDecoded, totalDroppedFrames: droppedFrames });\n if (droppedFPS > 0) {\n // logger.log('checkFPS : droppedFPS/decodedFPS:' + droppedFPS/(1000 * currentDecoded / currentPeriod));\n if (currentDropped > hls_1.config.fpsDroppedMonitoringThreshold * currentDecoded) {\n var currentLevel = hls_1.currentLevel;\n logger_1.logger.warn('drop FPS ratio greater than max allowed value for currentLevel: ' + currentLevel);\n if (currentLevel > 0 && (hls_1.autoLevelCapping === -1 || hls_1.autoLevelCapping >= currentLevel)) {\n currentLevel = currentLevel - 1;\n hls_1.trigger(events_1.default.FPS_DROP_LEVEL_CAPPING, { level: currentLevel, droppedLevel: hls_1.currentLevel });\n hls_1.autoLevelCapping = currentLevel;\n hls_1.streamController.nextLevelSwitch();\n }\n }\n }\n }\n this.lastTime = currentTime;\n this.lastDroppedFrames = droppedFrames;\n this.lastDecodedFrames = decodedFrames;\n }\n };\n FPSController.prototype.checkFPSInterval = function () {\n var video = this.video;\n if (video) {\n if (this.isVideoPlaybackQualityAvailable) {\n var videoPlaybackQuality = video.getVideoPlaybackQuality();\n this.checkFPS(video, videoPlaybackQuality.totalVideoFrames, videoPlaybackQuality.droppedVideoFrames);\n }\n else {\n this.checkFPS(video, video.webkitDecodedFrameCount, video.webkitDroppedFrameCount);\n }\n }\n };\n return FPSController;\n}(event_handler_1.default));\nexports.default = FPSController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/fragment-finders.js\":\n/*!********************************************!*\\\n !*** ./src/controller/fragment-finders.js ***!\n \\********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ../utils/binary-search */ \"./src/utils/binary-search.js\");\n/**\n * Returns first fragment whose endPdt value exceeds the given PDT.\n * @param {Array<Fragment>} fragments - The array of candidate fragments\n * @param {number|null} [PDTValue = null] - The PDT value which must be exceeded\n * @param {number} [maxFragLookUpTolerance = 0] - The amount of time that a fragment's start/end can be within in order to be considered contiguous\n * @returns {*|null} fragment - The best matching fragment\n */\nfunction findFragmentByPDT(fragments, PDTValue, maxFragLookUpTolerance) {\n if (!Array.isArray(fragments) || !fragments.length || !Number.isFinite(PDTValue)) {\n return null;\n }\n // if less than start\n if (PDTValue < fragments[0].programDateTime) {\n return null;\n }\n if (PDTValue >= fragments[fragments.length - 1].endProgramDateTime) {\n return null;\n }\n maxFragLookUpTolerance = maxFragLookUpTolerance || 0;\n for (var seg = 0; seg < fragments.length; ++seg) {\n var frag = fragments[seg];\n if (pdtWithinToleranceTest(PDTValue, maxFragLookUpTolerance, frag)) {\n return frag;\n }\n }\n return null;\n}\nexports.findFragmentByPDT = findFragmentByPDT;\n/**\n * Finds a fragment based on the SN of the previous fragment; or based on the needs of the current buffer.\n * This method compensates for small buffer gaps by applying a tolerance to the start of any candidate fragment, thus\n * breaking any traps which would cause the same fragment to be continuously selected within a small range.\n * @param {*} fragPrevious - The last frag successfully appended\n * @param {Array<Fragment>} fragments - The array of candidate fragments\n * @param {number} [bufferEnd = 0] - The end of the contiguous buffered range the playhead is currently within\n * @param {number} maxFragLookUpTolerance - The amount of time that a fragment's start/end can be within in order to be considered contiguous\n * @returns {*} foundFrag - The best matching fragment\n */\nfunction findFragmentByPTS(fragPrevious, fragments, bufferEnd, maxFragLookUpTolerance) {\n if (bufferEnd === void 0) { bufferEnd = 0; }\n if (maxFragLookUpTolerance === void 0) { maxFragLookUpTolerance = 0; }\n var fragNext = fragPrevious ? fragments[fragPrevious.sn - fragments[0].sn + 1] : null;\n // Prefer the next fragment if it's within tolerance\n if (fragNext && !fragmentWithinToleranceTest(bufferEnd, maxFragLookUpTolerance, fragNext)) {\n return fragNext;\n }\n return binary_search_1.default.search(fragments, fragmentWithinToleranceTest.bind(null, bufferEnd, maxFragLookUpTolerance));\n}\nexports.findFragmentByPTS = findFragmentByPTS;\n/**\n * The test function used by the findFragmentBySn's BinarySearch to look for the best match to the current buffer conditions.\n * @param {*} candidate - The fragment to test\n * @param {number} [bufferEnd = 0] - The end of the current buffered range the playhead is currently within\n * @param {number} [maxFragLookUpTolerance = 0] - The amount of time that a fragment's start can be within in order to be considered contiguous\n * @returns {number} - 0 if it matches, 1 if too low, -1 if too high\n */\nfunction fragmentWithinToleranceTest(bufferEnd, maxFragLookUpTolerance, candidate) {\n if (bufferEnd === void 0) { bufferEnd = 0; }\n if (maxFragLookUpTolerance === void 0) { maxFragLookUpTolerance = 0; }\n // offset should be within fragment boundary - config.maxFragLookUpTolerance\n // this is to cope with situations like\n // bufferEnd = 9.991\n // frag[Ø] : [0,10]\n // frag[1] : [10,20]\n // bufferEnd is within frag[0] range ... although what we are expecting is to return frag[1] here\n // frag start frag start+duration\n // |-----------------------------|\n // <---> <--->\n // ...--------><-----------------------------><---------....\n // previous frag matching fragment next frag\n // return -1 return 0 return 1\n // logger.log(`level/sn/start/end/bufEnd:${level}/${candidate.sn}/${candidate.start}/${(candidate.start+candidate.duration)}/${bufferEnd}`);\n // Set the lookup tolerance to be small enough to detect the current segment - ensures we don't skip over very small segments\n var candidateLookupTolerance = Math.min(maxFragLookUpTolerance, candidate.duration + (candidate.deltaPTS ? candidate.deltaPTS : 0));\n if (candidate.start + candidate.duration - candidateLookupTolerance <= bufferEnd) {\n return 1;\n }\n else if (candidate.start - candidateLookupTolerance > bufferEnd && candidate.start) {\n // if maxFragLookUpTolerance will have negative value then don't return -1 for first element\n return -1;\n }\n return 0;\n}\nexports.fragmentWithinToleranceTest = fragmentWithinToleranceTest;\n/**\n * The test function used by the findFragmentByPdt's BinarySearch to look for the best match to the current buffer conditions.\n * This function tests the candidate's program date time values, as represented in Unix time\n * @param {*} candidate - The fragment to test\n * @param {number} [pdtBufferEnd = 0] - The Unix time representing the end of the current buffered range\n * @param {number} [maxFragLookUpTolerance = 0] - The amount of time that a fragment's start can be within in order to be considered contiguous\n * @returns {boolean} True if contiguous, false otherwise\n */\nfunction pdtWithinToleranceTest(pdtBufferEnd, maxFragLookUpTolerance, candidate) {\n var candidateLookupTolerance = Math.min(maxFragLookUpTolerance, candidate.duration + (candidate.deltaPTS ? candidate.deltaPTS : 0)) * 1000;\n return candidate.endProgramDateTime - candidateLookupTolerance > pdtBufferEnd;\n}\nexports.pdtWithinToleranceTest = pdtWithinToleranceTest;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/fragment-tracker.js\":\n/*!********************************************!*\\\n !*** ./src/controller/fragment-tracker.js ***!\n \\********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nexports.FragmentState = {\n NOT_LOADED: 'NOT_LOADED',\n APPENDING: 'APPENDING',\n PARTIAL: 'PARTIAL',\n OK: 'OK'\n};\nvar FragmentTracker = /** @class */ (function (_super) {\n __extends(FragmentTracker, _super);\n function FragmentTracker(hls) {\n var _this = _super.call(this, hls, events_1.default.BUFFER_APPENDED, events_1.default.FRAG_BUFFERED, events_1.default.FRAG_LOADED) || this;\n _this.bufferPadding = 0.2;\n _this.fragments = Object.create(null);\n _this.timeRanges = Object.create(null);\n _this.config = hls.config;\n return _this;\n }\n FragmentTracker.prototype.destroy = function () {\n this.fragments = null;\n this.timeRanges = null;\n this.config = null;\n event_handler_1.default.prototype.destroy.call(this);\n _super.prototype.destroy.call(this);\n };\n /**\n * Return a Fragment that match the position and levelType.\n * If not found any Fragment, return null\n * @param {number} position\n * @param {LevelType} levelType\n * @returns {Fragment|null}\n */\n FragmentTracker.prototype.getBufferedFrag = function (position, levelType) {\n var fragments = this.fragments;\n var bufferedFrags = Object.keys(fragments).filter(function (key) {\n var fragmentEntity = fragments[key];\n if (fragmentEntity.body.type !== levelType) {\n return false;\n }\n if (!fragmentEntity.buffered) {\n return false;\n }\n var frag = fragmentEntity.body;\n return frag.startPTS <= position && position <= frag.endPTS;\n });\n if (bufferedFrags.length === 0) {\n return null;\n }\n else {\n // https://github.com/video-dev/hls.js/pull/1545#discussion_r166229566\n var bufferedFragKey = bufferedFrags.pop();\n return fragments[bufferedFragKey].body;\n }\n };\n /**\n * Partial fragments effected by coded frame eviction will be removed\n * The browser will unload parts of the buffer to free up memory for new buffer data\n * Fragments will need to be reloaded when the buffer is freed up, removing partial fragments will allow them to reload(since there might be parts that are still playable)\n * @param {String} elementaryStream The elementaryStream of media this is (eg. video/audio)\n * @param {TimeRanges} timeRange TimeRange object from a sourceBuffer\n */\n FragmentTracker.prototype.detectEvictedFragments = function (elementaryStream, timeRange) {\n var _this = this;\n var fragmentTimes, time;\n // Check if any flagged fragments have been unloaded\n Object.keys(this.fragments).forEach(function (key) {\n var fragmentEntity = _this.fragments[key];\n if (fragmentEntity.buffered === true) {\n var esData = fragmentEntity.range[elementaryStream];\n if (esData) {\n fragmentTimes = esData.time;\n for (var i = 0; i < fragmentTimes.length; i++) {\n time = fragmentTimes[i];\n if (_this.isTimeBuffered(time.startPTS, time.endPTS, timeRange) === false) {\n // Unregister partial fragment as it needs to load again to be reused\n _this.removeFragment(fragmentEntity.body);\n break;\n }\n }\n }\n }\n });\n };\n /**\n * Checks if the fragment passed in is loaded in the buffer properly\n * Partially loaded fragments will be registered as a partial fragment\n * @param {Object} fragment Check the fragment against all sourceBuffers loaded\n */\n FragmentTracker.prototype.detectPartialFragments = function (fragment) {\n var _this = this;\n var fragKey = this.getFragmentKey(fragment);\n var fragmentEntity = this.fragments[fragKey];\n if (fragmentEntity) {\n fragmentEntity.buffered = true;\n Object.keys(this.timeRanges).forEach(function (elementaryStream) {\n if (fragment.hasElementaryStream(elementaryStream)) {\n var timeRange = _this.timeRanges[elementaryStream];\n // Check for malformed fragments\n // Gaps need to be calculated for each elementaryStream\n fragmentEntity.range[elementaryStream] = _this.getBufferedTimes(fragment.startPTS, fragment.endPTS, timeRange);\n }\n });\n }\n };\n FragmentTracker.prototype.getBufferedTimes = function (startPTS, endPTS, timeRange) {\n var fragmentTimes = [];\n var startTime, endTime;\n var fragmentPartial = false;\n for (var i = 0; i < timeRange.length; i++) {\n startTime = timeRange.start(i) - this.bufferPadding;\n endTime = timeRange.end(i) + this.bufferPadding;\n if (startPTS >= startTime && endPTS <= endTime) {\n // Fragment is entirely contained in buffer\n // No need to check the other timeRange times since it's completely playable\n fragmentTimes.push({\n startPTS: Math.max(startPTS, timeRange.start(i)),\n endPTS: Math.min(endPTS, timeRange.end(i))\n });\n break;\n }\n else if (startPTS < endTime && endPTS > startTime) {\n // Check for intersection with buffer\n // Get playable sections of the fragment\n fragmentTimes.push({\n startPTS: Math.max(startPTS, timeRange.start(i)),\n endPTS: Math.min(endPTS, timeRange.end(i))\n });\n fragmentPartial = true;\n }\n else if (endPTS <= startTime) {\n // No need to check the rest of the timeRange as it is in order\n break;\n }\n }\n return {\n time: fragmentTimes,\n partial: fragmentPartial\n };\n };\n FragmentTracker.prototype.getFragmentKey = function (fragment) {\n return fragment.type + \"_\" + fragment.level + \"_\" + fragment.urlId + \"_\" + fragment.sn;\n };\n /**\n * Gets the partial fragment for a certain time\n * @param {Number} time\n * @returns {Object} fragment Returns a partial fragment at a time or null if there is no partial fragment\n */\n FragmentTracker.prototype.getPartialFragment = function (time) {\n var _this = this;\n var timePadding, startTime, endTime;\n var bestFragment = null;\n var bestOverlap = 0;\n Object.keys(this.fragments).forEach(function (key) {\n var fragmentEntity = _this.fragments[key];\n if (_this.isPartial(fragmentEntity)) {\n startTime = fragmentEntity.body.startPTS - _this.bufferPadding;\n endTime = fragmentEntity.body.endPTS + _this.bufferPadding;\n if (time >= startTime && time <= endTime) {\n // Use the fragment that has the most padding from start and end time\n timePadding = Math.min(time - startTime, endTime - time);\n if (bestOverlap <= timePadding) {\n bestFragment = fragmentEntity.body;\n bestOverlap = timePadding;\n }\n }\n }\n });\n return bestFragment;\n };\n /**\n * @param {Object} fragment The fragment to check\n * @returns {String} Returns the fragment state when a fragment never loaded or if it partially loaded\n */\n FragmentTracker.prototype.getState = function (fragment) {\n var fragKey = this.getFragmentKey(fragment);\n var fragmentEntity = this.fragments[fragKey];\n var state = exports.FragmentState.NOT_LOADED;\n if (fragmentEntity !== undefined) {\n if (!fragmentEntity.buffered) {\n state = exports.FragmentState.APPENDING;\n }\n else if (this.isPartial(fragmentEntity) === true) {\n state = exports.FragmentState.PARTIAL;\n }\n else {\n state = exports.FragmentState.OK;\n }\n }\n return state;\n };\n FragmentTracker.prototype.isPartial = function (fragmentEntity) {\n return fragmentEntity.buffered === true &&\n ((fragmentEntity.range.video !== undefined && fragmentEntity.range.video.partial === true) ||\n (fragmentEntity.range.audio !== undefined && fragmentEntity.range.audio.partial === true));\n };\n FragmentTracker.prototype.isTimeBuffered = function (startPTS, endPTS, timeRange) {\n var startTime, endTime;\n for (var i = 0; i < timeRange.length; i++) {\n startTime = timeRange.start(i) - this.bufferPadding;\n endTime = timeRange.end(i) + this.bufferPadding;\n if (startPTS >= startTime && endPTS <= endTime) {\n return true;\n }\n if (endPTS <= startTime) {\n // No need to check the rest of the timeRange as it is in order\n return false;\n }\n }\n return false;\n };\n /**\n * Fires when a fragment loading is completed\n */\n FragmentTracker.prototype.onFragLoaded = function (e) {\n var fragment = e.frag;\n // don't track initsegment (for which sn is not a number)\n // don't track frags used for bitrateTest, they're irrelevant.\n if (Number.isFinite(fragment.sn) && !fragment.bitrateTest) {\n this.fragments[this.getFragmentKey(fragment)] = {\n body: fragment,\n range: Object.create(null),\n buffered: false\n };\n }\n };\n /**\n * Fires when the buffer is updated\n */\n FragmentTracker.prototype.onBufferAppended = function (e) {\n var _this = this;\n // Store the latest timeRanges loaded in the buffer\n this.timeRanges = e.timeRanges;\n Object.keys(this.timeRanges).forEach(function (elementaryStream) {\n var timeRange = _this.timeRanges[elementaryStream];\n _this.detectEvictedFragments(elementaryStream, timeRange);\n });\n };\n /**\n * Fires after a fragment has been loaded into the source buffer\n */\n FragmentTracker.prototype.onFragBuffered = function (e) {\n this.detectPartialFragments(e.frag);\n };\n /**\n * Return true if fragment tracker has the fragment.\n * @param {Object} fragment\n * @returns {boolean}\n */\n FragmentTracker.prototype.hasFragment = function (fragment) {\n var fragKey = this.getFragmentKey(fragment);\n return this.fragments[fragKey] !== undefined;\n };\n /**\n * Remove a fragment from fragment tracker until it is loaded again\n * @param {Object} fragment The fragment to remove\n */\n FragmentTracker.prototype.removeFragment = function (fragment) {\n var fragKey = this.getFragmentKey(fragment);\n delete this.fragments[fragKey];\n };\n /**\n * Remove all fragments from fragment tracker.\n */\n FragmentTracker.prototype.removeAllFragments = function () {\n this.fragments = Object.create(null);\n };\n return FragmentTracker;\n}(event_handler_1.default));\nexports.FragmentTracker = FragmentTracker;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/gap-controller.js\":\n/*!******************************************!*\\\n !*** ./src/controller/gap-controller.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar stallDebounceInterval = 1000;\nvar jumpThreshold = 0.5; // tolerance needed as some browsers stalls playback before reaching buffered range end\nvar GapController = /** @class */ (function () {\n function GapController(config, media, fragmentTracker, hls) {\n this.config = config;\n this.media = media;\n this.fragmentTracker = fragmentTracker;\n this.hls = hls;\n this.stallReported = false;\n }\n /**\n * Checks if the playhead is stuck within a gap, and if so, attempts to free it.\n * A gap is an unbuffered range between two buffered ranges (or the start and the first buffered range).\n * @param lastCurrentTime\n * @param buffered\n */\n GapController.prototype.poll = function (lastCurrentTime, buffered) {\n var _a = this, config = _a.config, media = _a.media;\n var currentTime = media.currentTime;\n var tnow = window.performance.now();\n if (currentTime !== lastCurrentTime) {\n // The playhead is now moving, but was previously stalled\n if (this.stallReported) {\n logger_1.logger.warn(\"playback not stuck anymore @\" + currentTime + \", after \" + Math.round(tnow - this.stalled) + \"ms\");\n this.stallReported = false;\n }\n this.stalled = null;\n this.nudgeRetry = 0;\n return;\n }\n if (media.ended || !media.buffered.length || media.readyState > 2) {\n return;\n }\n if (media.seeking && buffer_helper_1.BufferHelper.isBuffered(media, currentTime)) {\n return;\n }\n // The playhead isn't moving but it should be\n // Allow some slack time to for small stalls to resolve themselves\n var stalledDuration = tnow - this.stalled;\n var bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(media, currentTime, config.maxBufferHole);\n if (!this.stalled) {\n this.stalled = tnow;\n return;\n }\n else if (stalledDuration >= stallDebounceInterval) {\n // Report stalling after trying to fix\n this._reportStall(bufferInfo.len);\n }\n this._tryFixBufferStall(bufferInfo, stalledDuration);\n };\n /**\n * Detects and attempts to fix known buffer stalling issues.\n * @param bufferInfo - The properties of the current buffer.\n * @param stalledDuration - The amount of time Hls.js has been stalling for.\n * @private\n */\n GapController.prototype._tryFixBufferStall = function (bufferInfo, stalledDuration) {\n var _a = this, config = _a.config, fragmentTracker = _a.fragmentTracker, media = _a.media;\n var currentTime = media.currentTime;\n var partial = fragmentTracker.getPartialFragment(currentTime);\n if (partial) {\n // Try to skip over the buffer hole caused by a partial fragment\n // This method isn't limited by the size of the gap between buffered ranges\n this._trySkipBufferHole(partial);\n }\n if (bufferInfo.len > jumpThreshold && stalledDuration > config.highBufferWatchdogPeriod * 1000) {\n // Try to nudge currentTime over a buffer hole if we've been stalling for the configured amount of seconds\n // We only try to jump the hole if it's under the configured size\n // Reset stalled so to rearm watchdog timer\n this.stalled = null;\n this._tryNudgeBuffer();\n }\n };\n /**\n * Triggers a BUFFER_STALLED_ERROR event, but only once per stall period.\n * @param bufferLen - The playhead distance from the end of the current buffer segment.\n * @private\n */\n GapController.prototype._reportStall = function (bufferLen) {\n var _a = this, hls = _a.hls, media = _a.media, stallReported = _a.stallReported;\n if (!stallReported) {\n // Report stalled error once\n this.stallReported = true;\n logger_1.logger.warn(\"Playback stalling at @\" + media.currentTime + \" due to low buffer\");\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_STALLED_ERROR,\n fatal: false,\n buffer: bufferLen\n });\n }\n };\n /**\n * Attempts to fix buffer stalls by jumping over known gaps caused by partial fragments\n * @param partial - The partial fragment found at the current time (where playback is stalling).\n * @private\n */\n GapController.prototype._trySkipBufferHole = function (partial) {\n var _a = this, hls = _a.hls, media = _a.media;\n var currentTime = media.currentTime;\n var lastEndTime = 0;\n // Check if currentTime is between unbuffered regions of partial fragments\n for (var i = 0; i < media.buffered.length; i++) {\n var startTime = media.buffered.start(i);\n if (currentTime >= lastEndTime && currentTime < startTime) {\n media.currentTime = Math.max(startTime, media.currentTime + 0.1);\n logger_1.logger.warn(\"skipping hole, adjusting currentTime from \" + currentTime + \" to \" + media.currentTime);\n this.stalled = null;\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_SEEK_OVER_HOLE,\n fatal: false,\n reason: \"fragment loaded with buffer holes, seeking from \" + currentTime + \" to \" + media.currentTime,\n frag: partial\n });\n return;\n }\n lastEndTime = media.buffered.end(i);\n }\n };\n /**\n * Attempts to fix buffer stalls by advancing the mediaElement's current time by a small amount.\n * @private\n */\n GapController.prototype._tryNudgeBuffer = function () {\n var _a = this, config = _a.config, hls = _a.hls, media = _a.media;\n var currentTime = media.currentTime;\n var nudgeRetry = (this.nudgeRetry || 0) + 1;\n this.nudgeRetry = nudgeRetry;\n if (nudgeRetry < config.nudgeMaxRetry) {\n var targetTime = currentTime + nudgeRetry * config.nudgeOffset;\n logger_1.logger.log(\"adjust currentTime from \" + currentTime + \" to \" + targetTime);\n // playback stalled in buffered area ... let's nudge currentTime to try to overcome this\n media.currentTime = targetTime;\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_NUDGE_ON_STALL,\n fatal: false\n });\n }\n else {\n logger_1.logger.error(\"still stuck in high buffer @\" + currentTime + \" after \" + config.nudgeMaxRetry + \", raise fatal error\");\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.BUFFER_STALLED_ERROR,\n fatal: true\n });\n }\n };\n return GapController;\n}());\nexports.default = GapController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/id3-track-controller.js\":\n/*!************************************************!*\\\n !*** ./src/controller/id3-track-controller.js ***!\n \\************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * id3 metadata track controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\nvar texttrack_utils_1 = __webpack_require__(/*! ../utils/texttrack-utils */ \"./src/utils/texttrack-utils.js\");\nvar ID3TrackController = /** @class */ (function (_super) {\n __extends(ID3TrackController, _super);\n function ID3TrackController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.FRAG_PARSING_METADATA) || this;\n _this.id3Track = undefined;\n _this.media = undefined;\n return _this;\n }\n ID3TrackController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n // Add ID3 metatadata text track.\n ID3TrackController.prototype.onMediaAttached = function (data) {\n this.media = data.media;\n if (!this.media) {\n }\n };\n ID3TrackController.prototype.onMediaDetaching = function () {\n texttrack_utils_1.clearCurrentCues(this.id3Track);\n this.id3Track = undefined;\n this.media = undefined;\n };\n ID3TrackController.prototype.getID3Track = function (textTracks) {\n for (var i = 0; i < textTracks.length; i++) {\n var textTrack = textTracks[i];\n if (textTrack.kind === 'metadata' && textTrack.label === 'id3') {\n // send 'addtrack' when reusing the textTrack for metadata,\n // same as what we do for captions\n texttrack_utils_1.sendAddTrackEvent(textTrack, this.media);\n return textTrack;\n }\n }\n return this.media.addTextTrack('metadata', 'id3');\n };\n ID3TrackController.prototype.onFragParsingMetadata = function (data) {\n var fragment = data.frag;\n var samples = data.samples;\n // create track dynamically\n if (!this.id3Track) {\n this.id3Track = this.getID3Track(this.media.textTracks);\n this.id3Track.mode = 'hidden';\n }\n // Attempt to recreate Safari functionality by creating\n // WebKitDataCue objects when available and store the decoded\n // ID3 data in the value property of the cue\n var Cue = window.WebKitDataCue || window.VTTCue || window.TextTrackCue;\n for (var i = 0; i < samples.length; i++) {\n var frames_1 = id3_1.default.getID3Frames(samples[i].data);\n if (frames_1) {\n var startTime = samples[i].pts;\n var endTime = i < samples.length - 1 ? samples[i + 1].pts : fragment.endPTS;\n // Give a slight bump to the endTime if it's equal to startTime to avoid a SyntaxError in IE\n if (startTime === endTime) {\n endTime += 0.0001;\n }\n for (var j = 0; j < frames_1.length; j++) {\n var frame = frames_1[j];\n // Safari doesn't put the timestamp frame in the TextTrack\n if (!id3_1.default.isTimeStampFrame(frame)) {\n var cue = new Cue(startTime, endTime, '');\n cue.value = frame;\n this.id3Track.addCue(cue);\n }\n }\n }\n }\n };\n return ID3TrackController;\n}(event_handler_1.default));\nexports.default = ID3TrackController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/level-controller.js\":\n/*!********************************************!*\\\n !*** ./src/controller/level-controller.js ***!\n \\********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * Level Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar codecs_1 = __webpack_require__(/*! ../utils/codecs */ \"./src/utils/codecs.js\");\nvar level_helper_1 = __webpack_require__(/*! ./level-helper */ \"./src/controller/level-helper.js\");\nvar performance = window.performance;\nvar chromeOrFirefox;\nvar LevelController = /** @class */ (function (_super) {\n __extends(LevelController, _super);\n function LevelController(hls) {\n var _this = _super.call(this, hls, events_1.default.MANIFEST_LOADED, events_1.default.LEVEL_LOADED, events_1.default.AUDIO_TRACK_SWITCHED, events_1.default.FRAG_LOADED, events_1.default.ERROR) || this;\n _this.canload = false;\n _this.currentLevelIndex = null;\n _this.manualLevelIndex = -1;\n _this.timer = null;\n chromeOrFirefox = /chrome|firefox/.test(navigator.userAgent.toLowerCase());\n return _this;\n }\n LevelController.prototype.onHandlerDestroying = function () {\n this.clearTimer();\n this.manualLevelIndex = -1;\n };\n LevelController.prototype.clearTimer = function () {\n if (this.timer !== null) {\n clearTimeout(this.timer);\n this.timer = null;\n }\n };\n LevelController.prototype.startLoad = function () {\n var levels = this._levels;\n this.canload = true;\n this.levelRetryCount = 0;\n // clean up live level details to force reload them, and reset load errors\n if (levels) {\n levels.forEach(function (level) {\n level.loadError = 0;\n var levelDetails = level.details;\n if (levelDetails && levelDetails.live) {\n level.details = undefined;\n }\n });\n }\n // speed up live playlist refresh if timer exists\n if (this.timer !== null) {\n this.loadLevel();\n }\n };\n LevelController.prototype.stopLoad = function () {\n this.canload = false;\n };\n LevelController.prototype.onManifestLoaded = function (data) {\n var levels = [];\n var audioTracks = [];\n var bitrateStart;\n var levelSet = {};\n var levelFromSet = null;\n var videoCodecFound = false;\n var audioCodecFound = false;\n // regroup redundant levels together\n data.levels.forEach(function (level) {\n var attributes = level.attrs;\n level.loadError = 0;\n level.fragmentError = false;\n videoCodecFound = videoCodecFound || !!level.videoCodec;\n audioCodecFound = audioCodecFound || !!level.audioCodec;\n // erase audio codec info if browser does not support mp4a.40.34.\n // demuxer will autodetect codec and fallback to mpeg/audio\n if (chromeOrFirefox && level.audioCodec && level.audioCodec.indexOf('mp4a.40.34') !== -1) {\n level.audioCodec = undefined;\n }\n levelFromSet = levelSet[level.bitrate]; // FIXME: we would also have to match the resolution here\n if (!levelFromSet) {\n level.url = [level.url];\n level.urlId = 0;\n levelSet[level.bitrate] = level;\n levels.push(level);\n }\n else {\n levelFromSet.url.push(level.url);\n }\n if (attributes) {\n if (attributes.AUDIO) {\n audioCodecFound = true;\n level_helper_1.addGroupId(levelFromSet || level, 'audio', attributes.AUDIO);\n }\n if (attributes.SUBTITLES) {\n level_helper_1.addGroupId(levelFromSet || level, 'text', attributes.SUBTITLES);\n }\n }\n });\n // remove audio-only level if we also have levels with audio+video codecs signalled\n if (videoCodecFound && audioCodecFound) {\n levels = levels.filter(function (_a) {\n var videoCodec = _a.videoCodec;\n return !!videoCodec;\n });\n }\n // only keep levels with supported audio/video codecs\n levels = levels.filter(function (_a) {\n var audioCodec = _a.audioCodec, videoCodec = _a.videoCodec;\n return (!audioCodec || codecs_1.isCodecSupportedInMp4(audioCodec, 'audio')) && (!videoCodec || codecs_1.isCodecSupportedInMp4(videoCodec, 'video'));\n });\n if (data.audioTracks) {\n audioTracks = data.audioTracks.filter(function (track) { return !track.audioCodec || codecs_1.isCodecSupportedInMp4(track.audioCodec, 'audio'); });\n // Reassign id's after filtering since they're used as array indices\n audioTracks.forEach(function (track, index) {\n track.id = index;\n });\n }\n if (levels.length > 0) {\n // start bitrate is the first bitrate of the manifest\n bitrateStart = levels[0].bitrate;\n // sort level on bitrate\n levels.sort(function (a, b) { return a.bitrate - b.bitrate; });\n this._levels = levels;\n // find index of first level in sorted levels\n for (var i = 0; i < levels.length; i++) {\n if (levels[i].bitrate === bitrateStart) {\n this._firstLevel = i;\n logger_1.logger.log(\"manifest loaded,\" + levels.length + \" level(s) found, first bitrate:\" + bitrateStart);\n break;\n }\n }\n // Audio is only alternate if manifest include a URI along with the audio group tag\n this.hls.trigger(events_1.default.MANIFEST_PARSED, {\n levels: levels,\n audioTracks: audioTracks,\n firstLevel: this._firstLevel,\n stats: data.stats,\n audio: audioCodecFound,\n video: videoCodecFound,\n altAudio: audioTracks.some(function (t) { return !!t.url; })\n });\n }\n else {\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.MEDIA_ERROR,\n details: errors_1.ErrorDetails.MANIFEST_INCOMPATIBLE_CODECS_ERROR,\n fatal: true,\n url: this.hls.url,\n reason: 'no level with compatible codecs found in manifest'\n });\n }\n };\n Object.defineProperty(LevelController.prototype, \"levels\", {\n get: function () {\n return this._levels;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LevelController.prototype, \"level\", {\n get: function () {\n return this.currentLevelIndex;\n },\n set: function (newLevel) {\n var levels = this._levels;\n if (levels) {\n newLevel = Math.min(newLevel, levels.length - 1);\n if (this.currentLevelIndex !== newLevel || !levels[newLevel].details) {\n this.setLevelInternal(newLevel);\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n LevelController.prototype.setLevelInternal = function (newLevel) {\n var levels = this._levels;\n var hls = this.hls;\n // check if level idx is valid\n if (newLevel >= 0 && newLevel < levels.length) {\n // stopping live reloading timer if any\n this.clearTimer();\n if (this.currentLevelIndex !== newLevel) {\n logger_1.logger.log(\"switching to level \" + newLevel);\n this.currentLevelIndex = newLevel;\n var levelProperties = levels[newLevel];\n levelProperties.level = newLevel;\n hls.trigger(events_1.default.LEVEL_SWITCHING, levelProperties);\n }\n var level = levels[newLevel];\n var levelDetails = level.details;\n // check if we need to load playlist for this level\n if (!levelDetails || levelDetails.live) {\n // level not retrieved yet, or live playlist we need to (re)load it\n var urlId = level.urlId;\n hls.trigger(events_1.default.LEVEL_LOADING, { url: level.url[urlId], level: newLevel, id: urlId });\n }\n }\n else {\n // invalid level id given, trigger error\n hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.OTHER_ERROR,\n details: errors_1.ErrorDetails.LEVEL_SWITCH_ERROR,\n level: newLevel,\n fatal: false,\n reason: 'invalid level idx'\n });\n }\n };\n Object.defineProperty(LevelController.prototype, \"manualLevel\", {\n get: function () {\n return this.manualLevelIndex;\n },\n set: function (newLevel) {\n this.manualLevelIndex = newLevel;\n if (this._startLevel === undefined) {\n this._startLevel = newLevel;\n }\n if (newLevel !== -1) {\n this.level = newLevel;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LevelController.prototype, \"firstLevel\", {\n get: function () {\n return this._firstLevel;\n },\n set: function (newLevel) {\n this._firstLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(LevelController.prototype, \"startLevel\", {\n get: function () {\n // hls.startLevel takes precedence over config.startLevel\n // if none of these values are defined, fallback on this._firstLevel (first quality level appearing in variant manifest)\n if (this._startLevel === undefined) {\n var configStartLevel = this.hls.config.startLevel;\n if (configStartLevel !== undefined) {\n return configStartLevel;\n }\n else {\n return this._firstLevel;\n }\n }\n else {\n return this._startLevel;\n }\n },\n set: function (newLevel) {\n this._startLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n LevelController.prototype.onError = function (data) {\n if (data.fatal) {\n if (data.type === errors_1.ErrorTypes.NETWORK_ERROR) {\n this.clearTimer();\n }\n return;\n }\n var levelError = false, fragmentError = false;\n var levelIndex;\n // try to recover not fatal errors\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n case errors_1.ErrorDetails.KEY_LOAD_ERROR:\n case errors_1.ErrorDetails.KEY_LOAD_TIMEOUT:\n levelIndex = data.frag.level;\n fragmentError = true;\n break;\n case errors_1.ErrorDetails.LEVEL_LOAD_ERROR:\n case errors_1.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n levelIndex = data.context.level;\n levelError = true;\n break;\n case errors_1.ErrorDetails.REMUX_ALLOC_ERROR:\n levelIndex = data.level;\n levelError = true;\n break;\n }\n if (levelIndex !== undefined) {\n this.recoverLevel(data, levelIndex, levelError, fragmentError);\n }\n };\n /**\n * Switch to a redundant stream if any available.\n * If redundant stream is not available, emergency switch down if ABR mode is enabled.\n *\n * @param {Object} errorEvent\n * @param {Number} levelIndex current level index\n * @param {Boolean} levelError\n * @param {Boolean} fragmentError\n */\n // FIXME Find a better abstraction where fragment/level retry management is well decoupled\n LevelController.prototype.recoverLevel = function (errorEvent, levelIndex, levelError, fragmentError) {\n var _this = this;\n var config = this.hls.config;\n var errorDetails = errorEvent.details;\n var level = this._levels[levelIndex];\n var redundantLevels, delay, nextLevel;\n level.loadError++;\n level.fragmentError = fragmentError;\n if (levelError) {\n if ((this.levelRetryCount + 1) <= config.levelLoadingMaxRetry) {\n // exponential backoff capped to max retry timeout\n delay = Math.min(Math.pow(2, this.levelRetryCount) * config.levelLoadingRetryDelay, config.levelLoadingMaxRetryTimeout);\n // Schedule level reload\n this.timer = setTimeout(function () { return _this.loadLevel(); }, delay);\n // boolean used to inform stream controller not to switch back to IDLE on non fatal error\n errorEvent.levelRetry = true;\n this.levelRetryCount++;\n logger_1.logger.warn(\"level controller, \" + errorDetails + \", retry in \" + delay + \" ms, current retry count is \" + this.levelRetryCount);\n }\n else {\n logger_1.logger.error(\"level controller, cannot recover from \" + errorDetails + \" error\");\n this.currentLevelIndex = null;\n // stopping live reloading timer if any\n this.clearTimer();\n // switch error to fatal\n errorEvent.fatal = true;\n return;\n }\n }\n // Try any redundant streams if available for both errors: level and fragment\n // If level.loadError reaches redundantLevels it means that we tried them all, no hope => let's switch down\n if (levelError || fragmentError) {\n redundantLevels = level.url.length;\n if (redundantLevels > 1 && level.loadError < redundantLevels) {\n level.urlId = (level.urlId + 1) % redundantLevels;\n level.details = undefined;\n logger_1.logger.warn(\"level controller, \" + errorDetails + \" for level \" + levelIndex + \": switching to redundant URL-id \" + level.urlId);\n // console.log('Current audio track group ID:', this.hls.audioTracks[this.hls.audioTrack].groupId);\n // console.log('New video quality level audio group id:', level.attrs.AUDIO);\n }\n else {\n // Search for available level\n if (this.manualLevelIndex === -1) {\n // When lowest level has been reached, let's start hunt from the top\n nextLevel = (levelIndex === 0) ? this._levels.length - 1 : levelIndex - 1;\n logger_1.logger.warn(\"level controller, \" + errorDetails + \": switch to \" + nextLevel);\n this.hls.nextAutoLevel = this.currentLevelIndex = nextLevel;\n }\n else if (fragmentError) {\n // Allow fragment retry as long as configuration allows.\n // reset this._level so that another call to set level() will trigger again a frag load\n logger_1.logger.warn(\"level controller, \" + errorDetails + \": reload a fragment\");\n this.currentLevelIndex = null;\n }\n }\n }\n };\n // reset errors on the successful load of a fragment\n LevelController.prototype.onFragLoaded = function (_a) {\n var frag = _a.frag;\n if (frag !== undefined && frag.type === 'main') {\n var level = this._levels[frag.level];\n if (level !== undefined) {\n level.fragmentError = false;\n level.loadError = 0;\n this.levelRetryCount = 0;\n }\n }\n };\n LevelController.prototype.onLevelLoaded = function (data) {\n var _this = this;\n var levelId = data.level;\n // only process level loaded events matching with expected level\n if (levelId !== this.currentLevelIndex) {\n return;\n }\n var curLevel = this._levels[levelId];\n // reset level load error counter on successful level loaded only if there is no issues with fragments\n if (!curLevel.fragmentError) {\n curLevel.loadError = 0;\n this.levelRetryCount = 0;\n }\n var newDetails = data.details;\n // if current playlist is a live playlist, arm a timer to reload it\n if (newDetails.live) {\n var targetdurationMs = 1000 * (newDetails.averagetargetduration ? newDetails.averagetargetduration : newDetails.targetduration);\n var reloadInterval = targetdurationMs, curDetails = curLevel.details;\n if (curDetails && newDetails.endSN === curDetails.endSN) {\n // follow HLS Spec, If the client reloads a Playlist file and finds that it has not\n // changed then it MUST wait for a period of one-half the target\n // duration before retrying.\n reloadInterval /= 2;\n logger_1.logger.log('same live playlist, reload twice faster');\n }\n // decrement reloadInterval with level loading delay\n reloadInterval -= performance.now() - data.stats.trequest;\n // in any case, don't reload more than half of target duration\n reloadInterval = Math.max(targetdurationMs / 2, Math.round(reloadInterval));\n logger_1.logger.log(\"live playlist, reload in \" + Math.round(reloadInterval) + \" ms\");\n this.timer = setTimeout(function () { return _this.loadLevel(); }, reloadInterval);\n }\n else {\n this.clearTimer();\n }\n };\n LevelController.prototype.onAudioTrackSwitched = function (data) {\n var audioGroupId = this.hls.audioTracks[data.id].groupId;\n var currentLevel = this.hls.levels[this.currentLevelIndex];\n if (!currentLevel) {\n return;\n }\n if (currentLevel.audioGroupIds) {\n var urlId = currentLevel.audioGroupIds.findIndex(function (groupId) { return groupId === audioGroupId; });\n if (urlId !== currentLevel.urlId) {\n currentLevel.urlId = urlId;\n this.startLoad();\n }\n }\n };\n LevelController.prototype.loadLevel = function () {\n logger_1.logger.debug('call to loadLevel');\n if (this.currentLevelIndex !== null && this.canload) {\n var levelObject = this._levels[this.currentLevelIndex];\n if (typeof levelObject === 'object' &&\n levelObject.url.length > 0) {\n var level = this.currentLevelIndex;\n var id = levelObject.urlId;\n var url = levelObject.url[id];\n logger_1.logger.log(\"Attempt loading level index \" + level + \" with URL-id \" + id);\n // console.log('Current audio track group ID:', this.hls.audioTracks[this.hls.audioTrack].groupId);\n // console.log('New video quality level audio group id:', levelObject.attrs.AUDIO, level);\n this.hls.trigger(events_1.default.LEVEL_LOADING, { url: url, level: level, id: id });\n }\n }\n };\n Object.defineProperty(LevelController.prototype, \"nextLoadLevel\", {\n get: function () {\n if (this.manualLevelIndex !== -1) {\n return this.manualLevelIndex;\n }\n else {\n return this.hls.nextAutoLevel;\n }\n },\n set: function (nextLevel) {\n this.level = nextLevel;\n if (this.manualLevelIndex === -1) {\n this.hls.nextAutoLevel = nextLevel;\n }\n },\n enumerable: true,\n configurable: true\n });\n return LevelController;\n}(event_handler_1.default));\nexports.default = LevelController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/level-helper.js\":\n/*!****************************************!*\\\n !*** ./src/controller/level-helper.js ***!\n \\****************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/**\n * @module LevelHelper\n *\n * Providing methods dealing with playlist sliding and drift\n *\n * TODO: Create an actual `Level` class/model that deals with all this logic in an object-oriented-manner.\n *\n * */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nfunction addGroupId(level, type, id) {\n switch (type) {\n case 'audio':\n if (!level.audioGroupIds) {\n level.audioGroupIds = [];\n }\n level.audioGroupIds.push(id);\n break;\n case 'text':\n if (!level.textGroupIds) {\n level.textGroupIds = [];\n }\n level.textGroupIds.push(id);\n break;\n }\n}\nexports.addGroupId = addGroupId;\nfunction updatePTS(fragments, fromIdx, toIdx) {\n var fragFrom = fragments[fromIdx], fragTo = fragments[toIdx], fragToPTS = fragTo.startPTS;\n // if we know startPTS[toIdx]\n if (Number.isFinite(fragToPTS)) {\n // update fragment duration.\n // it helps to fix drifts between playlist reported duration and fragment real duration\n if (toIdx > fromIdx) {\n fragFrom.duration = fragToPTS - fragFrom.start;\n if (fragFrom.duration < 0) {\n logger_1.logger.warn(\"negative duration computed for frag \" + fragFrom.sn + \",level \" + fragFrom.level + \", there should be some duration drift between playlist and fragment!\");\n }\n }\n else {\n fragTo.duration = fragFrom.start - fragToPTS;\n if (fragTo.duration < 0) {\n logger_1.logger.warn(\"negative duration computed for frag \" + fragTo.sn + \",level \" + fragTo.level + \", there should be some duration drift between playlist and fragment!\");\n }\n }\n }\n else {\n // we dont know startPTS[toIdx]\n if (toIdx > fromIdx) {\n fragTo.start = fragFrom.start + fragFrom.duration;\n }\n else {\n fragTo.start = Math.max(fragFrom.start - fragTo.duration, 0);\n }\n }\n}\nexports.updatePTS = updatePTS;\nfunction updateFragPTSDTS(details, frag, startPTS, endPTS, startDTS, endDTS) {\n // update frag PTS/DTS\n var maxStartPTS = startPTS;\n if (Number.isFinite(frag.startPTS)) {\n // delta PTS between audio and video\n var deltaPTS = Math.abs(frag.startPTS - startPTS);\n if (!Number.isFinite(frag.deltaPTS)) {\n frag.deltaPTS = deltaPTS;\n }\n else {\n frag.deltaPTS = Math.max(deltaPTS, frag.deltaPTS);\n }\n maxStartPTS = Math.max(startPTS, frag.startPTS);\n startPTS = Math.min(startPTS, frag.startPTS);\n endPTS = Math.max(endPTS, frag.endPTS);\n startDTS = Math.min(startDTS, frag.startDTS);\n endDTS = Math.max(endDTS, frag.endDTS);\n }\n var drift = startPTS - frag.start;\n frag.start = frag.startPTS = startPTS;\n frag.maxStartPTS = maxStartPTS;\n frag.endPTS = endPTS;\n frag.startDTS = startDTS;\n frag.endDTS = endDTS;\n frag.duration = endPTS - startPTS;\n var sn = frag.sn;\n // exit if sn out of range\n if (!details || sn < details.startSN || sn > details.endSN) {\n return 0;\n }\n var fragIdx, fragments, i;\n fragIdx = sn - details.startSN;\n fragments = details.fragments;\n // update frag reference in fragments array\n // rationale is that fragments array might not contain this frag object.\n // this will happen if playlist has been refreshed between frag loading and call to updateFragPTSDTS()\n // if we don't update frag, we won't be able to propagate PTS info on the playlist\n // resulting in invalid sliding computation\n fragments[fragIdx] = frag;\n // adjust fragment PTS/duration from seqnum-1 to frag 0\n for (i = fragIdx; i > 0; i--) {\n updatePTS(fragments, i, i - 1);\n }\n // adjust fragment PTS/duration from seqnum to last frag\n for (i = fragIdx; i < fragments.length - 1; i++) {\n updatePTS(fragments, i, i + 1);\n }\n details.PTSKnown = true;\n return drift;\n}\nexports.updateFragPTSDTS = updateFragPTSDTS;\nfunction mergeDetails(oldDetails, newDetails) {\n var start = Math.max(oldDetails.startSN, newDetails.startSN) - newDetails.startSN, end = Math.min(oldDetails.endSN, newDetails.endSN) - newDetails.startSN, delta = newDetails.startSN - oldDetails.startSN, oldfragments = oldDetails.fragments, newfragments = newDetails.fragments, ccOffset = 0, PTSFrag;\n // potentially retrieve cached initsegment\n if (newDetails.initSegment && oldDetails.initSegment) {\n newDetails.initSegment = oldDetails.initSegment;\n }\n // check if old/new playlists have fragments in common\n if (end < start) {\n newDetails.PTSKnown = false;\n return;\n }\n // loop through overlapping SN and update startPTS , cc, and duration if any found\n for (var i = start; i <= end; i++) {\n var oldFrag = oldfragments[delta + i], newFrag = newfragments[i];\n if (newFrag && oldFrag) {\n ccOffset = oldFrag.cc - newFrag.cc;\n if (Number.isFinite(oldFrag.startPTS)) {\n newFrag.start = newFrag.startPTS = oldFrag.startPTS;\n newFrag.endPTS = oldFrag.endPTS;\n newFrag.duration = oldFrag.duration;\n newFrag.backtracked = oldFrag.backtracked;\n newFrag.dropped = oldFrag.dropped;\n PTSFrag = newFrag;\n }\n }\n }\n if (ccOffset) {\n logger_1.logger.log('discontinuity sliding from playlist, take drift into account');\n for (i = 0; i < newfragments.length; i++) {\n newfragments[i].cc += ccOffset;\n }\n }\n // if at least one fragment contains PTS info, recompute PTS information for all fragments\n if (PTSFrag) {\n updateFragPTSDTS(newDetails, PTSFrag, PTSFrag.startPTS, PTSFrag.endPTS, PTSFrag.startDTS, PTSFrag.endDTS);\n }\n else {\n // ensure that delta is within oldfragments range\n // also adjust sliding in case delta is 0 (we could have old=[50-60] and new=old=[50-61])\n // in that case we also need to adjust start offset of all fragments\n if (delta >= 0 && delta < oldfragments.length) {\n // adjust start by sliding offset\n var sliding = oldfragments[delta].start;\n for (i = 0; i < newfragments.length; i++) {\n newfragments[i].start += sliding;\n }\n }\n }\n // if we are here, it means we have fragments overlapping between\n // old and new level. reliable PTS info is thus relying on old level\n newDetails.PTSKnown = oldDetails.PTSKnown;\n}\nexports.mergeDetails = mergeDetails;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/stream-controller.js\":\n/*!*********************************************!*\\\n !*** ./src/controller/stream-controller.js ***!\n \\*********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Stream Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ../utils/binary-search */ \"./src/utils/binary-search.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar demuxer_1 = __webpack_require__(/*! ../demux/demuxer */ \"./src/demux/demuxer.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar fragment_1 = __webpack_require__(/*! ../loader/fragment */ \"./src/loader/fragment.js\");\nvar playlist_loader_1 = __webpack_require__(/*! ../loader/playlist-loader */ \"./src/loader/playlist-loader.js\");\nvar LevelHelper = __webpack_require__(/*! ./level-helper */ \"./src/controller/level-helper.js\");\nvar time_ranges_1 = __webpack_require__(/*! ../utils/time-ranges */ \"./src/utils/time-ranges.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar discontinuities_1 = __webpack_require__(/*! ../utils/discontinuities */ \"./src/utils/discontinuities.js\");\nvar fragment_finders_1 = __webpack_require__(/*! ./fragment-finders */ \"./src/controller/fragment-finders.js\");\nvar gap_controller_1 = __webpack_require__(/*! ./gap-controller */ \"./src/controller/gap-controller.js\");\nvar base_stream_controller_1 = __webpack_require__(/*! ./base-stream-controller */ \"./src/controller/base-stream-controller.js\");\nvar TICK_INTERVAL = 100; // how often to tick in ms\nvar StreamController = /** @class */ (function (_super) {\n __extends(StreamController, _super);\n function StreamController(hls, fragmentTracker) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_PARSED, events_1.default.LEVEL_LOADED, events_1.default.KEY_LOADED, events_1.default.FRAG_LOADED, events_1.default.FRAG_LOAD_EMERGENCY_ABORTED, events_1.default.FRAG_PARSING_INIT_SEGMENT, events_1.default.FRAG_PARSING_DATA, events_1.default.FRAG_PARSED, events_1.default.ERROR, events_1.default.AUDIO_TRACK_SWITCHING, events_1.default.AUDIO_TRACK_SWITCHED, events_1.default.BUFFER_CREATED, events_1.default.BUFFER_APPENDED, events_1.default.BUFFER_FLUSHED) || this;\n _this.fragmentTracker = fragmentTracker;\n _this.config = hls.config;\n _this.audioCodecSwap = false;\n _this._state = base_stream_controller_1.State.STOPPED;\n _this.stallReported = false;\n _this.gapController = null;\n return _this;\n }\n StreamController.prototype.onHandlerDestroying = function () {\n this.stopLoad();\n _super.prototype.onHandlerDestroying.call(this);\n };\n StreamController.prototype.onHandlerDestroyed = function () {\n this.state = base_stream_controller_1.State.STOPPED;\n this.fragmentTracker = null;\n _super.prototype.onHandlerDestroyed.call(this);\n };\n StreamController.prototype.startLoad = function (startPosition) {\n if (this.levels) {\n var lastCurrentTime = this.lastCurrentTime, hls_1 = this.hls;\n this.stopLoad();\n this.setInterval(TICK_INTERVAL);\n this.level = -1;\n this.fragLoadError = 0;\n if (!this.startFragRequested) {\n // determine load level\n var startLevel = hls_1.startLevel;\n if (startLevel === -1) {\n // -1 : guess start Level by doing a bitrate test by loading first fragment of lowest quality level\n startLevel = 0;\n this.bitrateTest = true;\n }\n // set new level to playlist loader : this will trigger start level load\n // hls.nextLoadLevel remains until it is set to a new value or until a new frag is successfully loaded\n this.level = hls_1.nextLoadLevel = startLevel;\n this.loadedmetadata = false;\n }\n // if startPosition undefined but lastCurrentTime set, set startPosition to last currentTime\n if (lastCurrentTime > 0 && startPosition === -1) {\n logger_1.logger.log(\"override startPosition with lastCurrentTime @\" + lastCurrentTime.toFixed(3));\n startPosition = lastCurrentTime;\n }\n this.state = base_stream_controller_1.State.IDLE;\n this.nextLoadPosition = this.startPosition = this.lastCurrentTime = startPosition;\n this.tick();\n }\n else {\n this.forceStartLoad = true;\n this.state = base_stream_controller_1.State.STOPPED;\n }\n };\n StreamController.prototype.stopLoad = function () {\n var frag = this.fragCurrent;\n if (frag) {\n if (frag.loader) {\n frag.loader.abort();\n }\n this.fragmentTracker.removeFragment(frag);\n this.fragCurrent = null;\n }\n this.fragPrevious = null;\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n this.clearInterval();\n this.state = base_stream_controller_1.State.STOPPED;\n this.forceStartLoad = false;\n };\n StreamController.prototype.doTick = function () {\n switch (this.state) {\n case base_stream_controller_1.State.BUFFER_FLUSHING:\n // in buffer flushing state, reset fragLoadError counter\n this.fragLoadError = 0;\n break;\n case base_stream_controller_1.State.IDLE:\n this._doTickIdle();\n break;\n case base_stream_controller_1.State.WAITING_LEVEL:\n var level = this.levels[this.level];\n // check if playlist is already loaded\n if (level && level.details) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY:\n var now = window.performance.now();\n var retryDate = this.retryDate;\n // if current time is gt than retryDate, or if media seeking let's switch to IDLE state to retry loading\n if (!retryDate || (now >= retryDate) || (this.media && this.media.seeking)) {\n logger_1.logger.log('mediaController: retryDate reached, switch back to IDLE state');\n this.state = base_stream_controller_1.State.IDLE;\n }\n break;\n case base_stream_controller_1.State.ERROR:\n case base_stream_controller_1.State.STOPPED:\n case base_stream_controller_1.State.FRAG_LOADING:\n case base_stream_controller_1.State.PARSING:\n case base_stream_controller_1.State.PARSED:\n case base_stream_controller_1.State.ENDED:\n break;\n default:\n break;\n }\n // check buffer\n this._checkBuffer();\n // check/update current fragment\n this._checkFragmentChanged();\n };\n // Ironically the \"idle\" state is the on we do the most logic in it seems ....\n // NOTE: Maybe we could rather schedule a check for buffer length after half of the currently\n // played segment, or on pause/play/seek instead of naively checking every 100ms?\n StreamController.prototype._doTickIdle = function () {\n var hls = this.hls, config = hls.config, media = this.media;\n // if start level not parsed yet OR\n // if video not attached AND start fragment already requested OR start frag prefetch disable\n // exit loop, as we either need more info (level not parsed) or we need media to be attached to load new fragment\n if (this.levelLastLoaded === undefined || (!media && (this.startFragRequested || !config.startFragPrefetch))) {\n return;\n }\n // if we have not yet loaded any fragment, start loading from start position\n var pos;\n if (this.loadedmetadata) {\n pos = media.currentTime;\n }\n else {\n pos = this.nextLoadPosition;\n }\n // determine next load level\n var level = hls.nextLoadLevel, levelInfo = this.levels[level];\n if (!levelInfo) {\n return;\n }\n var levelBitrate = levelInfo.bitrate, maxBufLen;\n // compute max Buffer Length that we could get from this load level, based on level bitrate. don't buffer more than 60 MB and more than 30s\n if (levelBitrate) {\n maxBufLen = Math.max(8 * config.maxBufferSize / levelBitrate, config.maxBufferLength);\n }\n else {\n maxBufLen = config.maxBufferLength;\n }\n maxBufLen = Math.min(maxBufLen, config.maxMaxBufferLength);\n // determine next candidate fragment to be loaded, based on current position and end of buffer position\n // ensure up to `config.maxMaxBufferLength` of buffer upfront\n var bufferInfo = buffer_helper_1.BufferHelper.bufferInfo(this.mediaBuffer ? this.mediaBuffer : media, pos, config.maxBufferHole), bufferLen = bufferInfo.len;\n // Stay idle if we are still with buffer margins\n if (bufferLen >= maxBufLen) {\n return;\n }\n // if buffer length is less than maxBufLen try to load a new fragment ...\n logger_1.logger.trace(\"buffer length of \" + bufferLen.toFixed(3) + \" is below max of \" + maxBufLen.toFixed(3) + \". checking for more payload ...\");\n // set next load level : this will trigger a playlist load if needed\n this.level = hls.nextLoadLevel = level;\n var levelDetails = levelInfo.details;\n // if level info not retrieved yet, switch state and wait for level retrieval\n // if live playlist, ensure that new playlist has been refreshed to avoid loading/try to load\n // a useless and outdated fragment (that might even introduce load error if it is already out of the live playlist)\n if (!levelDetails || (levelDetails.live && this.levelLastLoaded !== level)) {\n this.state = base_stream_controller_1.State.WAITING_LEVEL;\n return;\n }\n if (this._streamEnded(bufferInfo, levelDetails)) {\n var data = {};\n if (this.altAudio) {\n data.type = 'video';\n }\n this.hls.trigger(events_1.default.BUFFER_EOS, data);\n this.state = base_stream_controller_1.State.ENDED;\n return;\n }\n // if we have the levelDetails for the selected variant, lets continue enrichen our stream (load keys/fragments or trigger EOS, etc..)\n this._fetchPayloadOrEos(pos, bufferInfo, levelDetails);\n };\n StreamController.prototype._fetchPayloadOrEos = function (pos, bufferInfo, levelDetails) {\n var fragPrevious = this.fragPrevious, level = this.level, fragments = levelDetails.fragments, fragLen = fragments.length;\n // empty playlist\n if (fragLen === 0) {\n return;\n }\n // find fragment index, contiguous with end of buffer position\n var start = fragments[0].start, end = fragments[fragLen - 1].start + fragments[fragLen - 1].duration, bufferEnd = bufferInfo.end, frag;\n if (levelDetails.initSegment && !levelDetails.initSegment.data) {\n frag = levelDetails.initSegment;\n }\n else {\n // in case of live playlist we need to ensure that requested position is not located before playlist start\n if (levelDetails.live) {\n var initialLiveManifestSize = this.config.initialLiveManifestSize;\n if (fragLen < initialLiveManifestSize) {\n logger_1.logger.warn(\"Can not start playback of a level, reason: not enough fragments \" + fragLen + \" < \" + initialLiveManifestSize);\n return;\n }\n frag = this._ensureFragmentAtLivePoint(levelDetails, bufferEnd, start, end, fragPrevious, fragments, fragLen);\n // if it explicitely returns null don't load any fragment and exit function now\n if (frag === null) {\n return;\n }\n }\n else {\n // VoD playlist: if bufferEnd before start of playlist, load first fragment\n if (bufferEnd < start) {\n frag = fragments[0];\n }\n }\n }\n if (!frag) {\n frag = this._findFragment(start, fragPrevious, fragLen, fragments, bufferEnd, end, levelDetails);\n }\n if (frag) {\n if (frag.encrypted) {\n logger_1.logger.log(\"Loading key for \" + frag.sn + \" of [\" + levelDetails.startSN + \" ,\" + levelDetails.endSN + \"],level \" + level);\n this._loadKey(frag);\n }\n else {\n logger_1.logger.log(\"Loading \" + frag.sn + \" of [\" + levelDetails.startSN + \" ,\" + levelDetails.endSN + \"],level \" + level + \", currentTime:\" + pos.toFixed(3) + \",bufferEnd:\" + bufferEnd.toFixed(3));\n this._loadFragment(frag);\n }\n }\n };\n StreamController.prototype._ensureFragmentAtLivePoint = function (levelDetails, bufferEnd, start, end, fragPrevious, fragments, fragLen) {\n var config = this.hls.config, media = this.media;\n var frag;\n // check if requested position is within seekable boundaries :\n // logger.log(`start/pos/bufEnd/seeking:${start.toFixed(3)}/${pos.toFixed(3)}/${bufferEnd.toFixed(3)}/${this.media.seeking}`);\n var maxLatency = config.liveMaxLatencyDuration !== undefined ? config.liveMaxLatencyDuration : config.liveMaxLatencyDurationCount * levelDetails.targetduration;\n if (bufferEnd < Math.max(start - config.maxFragLookUpTolerance, end - maxLatency)) {\n var liveSyncPosition = this.liveSyncPosition = this.computeLivePosition(start, levelDetails);\n logger_1.logger.log(\"buffer end: \" + bufferEnd.toFixed(3) + \" is located too far from the end of live sliding playlist, reset currentTime to : \" + liveSyncPosition.toFixed(3));\n bufferEnd = liveSyncPosition;\n if (media && media.readyState && media.duration > liveSyncPosition) {\n media.currentTime = liveSyncPosition;\n }\n this.nextLoadPosition = liveSyncPosition;\n }\n // if end of buffer greater than live edge, don't load any fragment\n // this could happen if live playlist intermittently slides in the past.\n // level 1 loaded [182580161,182580167]\n // level 1 loaded [182580162,182580169]\n // Loading 182580168 of [182580162 ,182580169],level 1 ..\n // Loading 182580169 of [182580162 ,182580169],level 1 ..\n // level 1 loaded [182580162,182580168] <============= here we should have bufferEnd > end. in that case break to avoid reloading 182580168\n // level 1 loaded [182580164,182580171]\n //\n // don't return null in case media not loaded yet (readystate === 0)\n if (levelDetails.PTSKnown && bufferEnd > end && media && media.readyState) {\n return null;\n }\n if (this.startFragRequested && !levelDetails.PTSKnown) {\n /* we are switching level on live playlist, but we don't have any PTS info for that quality level ...\n try to load frag matching with next SN.\n even if SN are not synchronized between playlists, loading this frag will help us\n compute playlist sliding and find the right one after in case it was not the right consecutive one */\n if (fragPrevious) {\n if (levelDetails.hasProgramDateTime) {\n // Relies on PDT in order to switch bitrates (Support EXT-X-DISCONTINUITY without EXT-X-DISCONTINUITY-SEQUENCE)\n logger_1.logger.log(\"live playlist, switching playlist, load frag with same PDT: \" + fragPrevious.programDateTime);\n frag = fragment_finders_1.findFragmentByPDT(fragments, fragPrevious.endProgramDateTime, config.maxFragLookUpTolerance);\n }\n else {\n // Uses buffer and sequence number to calculate switch segment (required if using EXT-X-DISCONTINUITY-SEQUENCE)\n var targetSN = fragPrevious.sn + 1;\n if (targetSN >= levelDetails.startSN && targetSN <= levelDetails.endSN) {\n var fragNext = fragments[targetSN - levelDetails.startSN];\n if (fragPrevious.cc === fragNext.cc) {\n frag = fragNext;\n logger_1.logger.log(\"live playlist, switching playlist, load frag with next SN: \" + frag.sn);\n }\n }\n // next frag SN not available (or not with same continuity counter)\n // look for a frag sharing the same CC\n if (!frag) {\n frag = binary_search_1.default.search(fragments, function (frag) {\n return fragPrevious.cc - frag.cc;\n });\n if (frag) {\n logger_1.logger.log(\"live playlist, switching playlist, load frag with same CC: \" + frag.sn);\n }\n }\n }\n }\n if (!frag) {\n /* we have no idea about which fragment should be loaded.\n so let's load mid fragment. it will help computing playlist sliding and find the right one\n */\n frag = fragments[Math.min(fragLen - 1, Math.round(fragLen / 2))];\n logger_1.logger.log(\"live playlist, switching playlist, unknown, load middle frag : \" + frag.sn);\n }\n }\n return frag;\n };\n StreamController.prototype._findFragment = function (start, fragPrevious, fragLen, fragments, bufferEnd, end, levelDetails) {\n var config = this.hls.config;\n var frag;\n if (bufferEnd < end) {\n var lookupTolerance = (bufferEnd > end - config.maxFragLookUpTolerance) ? 0 : config.maxFragLookUpTolerance;\n // Remove the tolerance if it would put the bufferEnd past the actual end of stream\n // Uses buffer and sequence number to calculate switch segment (required if using EXT-X-DISCONTINUITY-SEQUENCE)\n frag = fragment_finders_1.findFragmentByPTS(fragPrevious, fragments, bufferEnd, lookupTolerance);\n }\n else {\n // reach end of playlist\n frag = fragments[fragLen - 1];\n }\n if (frag) {\n var curSNIdx = frag.sn - levelDetails.startSN;\n var sameLevel = fragPrevious && frag.level === fragPrevious.level;\n var prevFrag = fragments[curSNIdx - 1];\n var nextFrag = fragments[curSNIdx + 1];\n // logger.log('find SN matching with pos:' + bufferEnd + ':' + frag.sn);\n if (fragPrevious && frag.sn === fragPrevious.sn) {\n if (sameLevel && !frag.backtracked) {\n if (frag.sn < levelDetails.endSN) {\n var deltaPTS = fragPrevious.deltaPTS;\n // if there is a significant delta between audio and video, larger than max allowed hole,\n // and if previous remuxed fragment did not start with a keyframe. (fragPrevious.dropped)\n // let's try to load previous fragment again to get last keyframe\n // then we will reload again current fragment (that way we should be able to fill the buffer hole ...)\n if (deltaPTS && deltaPTS > config.maxBufferHole && fragPrevious.dropped && curSNIdx) {\n frag = prevFrag;\n logger_1.logger.warn('SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this');\n }\n else {\n frag = nextFrag;\n logger_1.logger.log(\"SN just loaded, load next one: \" + frag.sn, frag);\n }\n }\n else {\n frag = null;\n }\n }\n else if (frag.backtracked) {\n // Only backtrack a max of 1 consecutive fragment to prevent sliding back too far when little or no frags start with keyframes\n if (nextFrag && nextFrag.backtracked) {\n logger_1.logger.warn(\"Already backtracked from fragment \" + nextFrag.sn + \", will not backtrack to fragment \" + frag.sn + \". Loading fragment \" + nextFrag.sn);\n frag = nextFrag;\n }\n else {\n // If a fragment has dropped frames and it's in a same level/sequence, load the previous fragment to try and find the keyframe\n // Reset the dropped count now since it won't be reset until we parse the fragment again, which prevents infinite backtracking on the same segment\n logger_1.logger.warn('Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe');\n frag.dropped = 0;\n if (prevFrag) {\n frag = prevFrag;\n frag.backtracked = true;\n }\n else if (curSNIdx) {\n // can't backtrack on very first fragment\n frag = null;\n }\n }\n }\n }\n }\n return frag;\n };\n StreamController.prototype._loadKey = function (frag) {\n this.state = base_stream_controller_1.State.KEY_LOADING;\n this.hls.trigger(events_1.default.KEY_LOADING, { frag: frag });\n };\n StreamController.prototype._loadFragment = function (frag) {\n // Check if fragment is not loaded\n var fragState = this.fragmentTracker.getState(frag);\n this.fragCurrent = frag;\n this.startFragRequested = true;\n // Don't update nextLoadPosition for fragments which are not buffered\n if (Number.isFinite(frag.sn) && !frag.bitrateTest) {\n this.nextLoadPosition = frag.start + frag.duration;\n }\n // Allow backtracked fragments to load\n if (frag.backtracked || fragState === fragment_tracker_1.FragmentState.NOT_LOADED || fragState === fragment_tracker_1.FragmentState.PARTIAL) {\n frag.autoLevel = this.hls.autoLevelEnabled;\n frag.bitrateTest = this.bitrateTest;\n this.hls.trigger(events_1.default.FRAG_LOADING, { frag: frag });\n // lazy demuxer init, as this could take some time ... do it during frag loading\n if (!this.demuxer) {\n this.demuxer = new demuxer_1.default(this.hls, 'main');\n }\n this.state = base_stream_controller_1.State.FRAG_LOADING;\n }\n else if (fragState === fragment_tracker_1.FragmentState.APPENDING) {\n // Lower the buffer size and try again\n if (this._reduceMaxBufferLength(frag.duration)) {\n this.fragmentTracker.removeFragment(frag);\n }\n }\n };\n Object.defineProperty(StreamController.prototype, \"state\", {\n get: function () {\n return this._state;\n },\n set: function (nextState) {\n if (this.state !== nextState) {\n var previousState = this.state;\n this._state = nextState;\n logger_1.logger.log(\"main stream:\" + previousState + \"->\" + nextState);\n this.hls.trigger(events_1.default.STREAM_STATE_TRANSITION, { previousState: previousState, nextState: nextState });\n }\n },\n enumerable: true,\n configurable: true\n });\n StreamController.prototype.getBufferedFrag = function (position) {\n return this.fragmentTracker.getBufferedFrag(position, playlist_loader_1.default.LevelType.MAIN);\n };\n Object.defineProperty(StreamController.prototype, \"currentLevel\", {\n get: function () {\n var media = this.media;\n if (media) {\n var frag = this.getBufferedFrag(media.currentTime);\n if (frag) {\n return frag.level;\n }\n }\n return -1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(StreamController.prototype, \"nextBufferedFrag\", {\n get: function () {\n var media = this.media;\n if (media) {\n // first get end range of current fragment\n return this.followingBufferedFrag(this.getBufferedFrag(media.currentTime));\n }\n else {\n return null;\n }\n },\n enumerable: true,\n configurable: true\n });\n StreamController.prototype.followingBufferedFrag = function (frag) {\n if (frag) {\n // try to get range of next fragment (500ms after this range)\n return this.getBufferedFrag(frag.endPTS + 0.5);\n }\n return null;\n };\n Object.defineProperty(StreamController.prototype, \"nextLevel\", {\n get: function () {\n var frag = this.nextBufferedFrag;\n if (frag) {\n return frag.level;\n }\n else {\n return -1;\n }\n },\n enumerable: true,\n configurable: true\n });\n StreamController.prototype._checkFragmentChanged = function () {\n var fragPlayingCurrent, currentTime, video = this.media;\n if (video && video.readyState && video.seeking === false) {\n currentTime = video.currentTime;\n /* if video element is in seeked state, currentTime can only increase.\n (assuming that playback rate is positive ...)\n As sometimes currentTime jumps back to zero after a\n media decode error, check this, to avoid seeking back to\n wrong position after a media decode error\n */\n if (currentTime > this.lastCurrentTime) {\n this.lastCurrentTime = currentTime;\n }\n if (buffer_helper_1.BufferHelper.isBuffered(video, currentTime)) {\n fragPlayingCurrent = this.getBufferedFrag(currentTime);\n }\n else if (buffer_helper_1.BufferHelper.isBuffered(video, currentTime + 0.1)) {\n /* ensure that FRAG_CHANGED event is triggered at startup,\n when first video frame is displayed and playback is paused.\n add a tolerance of 100ms, in case current position is not buffered,\n check if current pos+100ms is buffered and use that buffer range\n for FRAG_CHANGED event reporting */\n fragPlayingCurrent = this.getBufferedFrag(currentTime + 0.1);\n }\n if (fragPlayingCurrent) {\n var fragPlaying = fragPlayingCurrent;\n if (fragPlaying !== this.fragPlaying) {\n this.hls.trigger(events_1.default.FRAG_CHANGED, { frag: fragPlaying });\n var fragPlayingLevel = fragPlaying.level;\n if (!this.fragPlaying || this.fragPlaying.level !== fragPlayingLevel) {\n this.hls.trigger(events_1.default.LEVEL_SWITCHED, { level: fragPlayingLevel });\n }\n this.fragPlaying = fragPlaying;\n }\n }\n }\n };\n /*\n on immediate level switch :\n - pause playback if playing\n - cancel any pending load request\n - and trigger a buffer flush\n */\n StreamController.prototype.immediateLevelSwitch = function () {\n logger_1.logger.log('immediateLevelSwitch');\n if (!this.immediateSwitch) {\n this.immediateSwitch = true;\n var media = this.media, previouslyPaused = void 0;\n if (media) {\n previouslyPaused = media.paused;\n media.pause();\n }\n else {\n // don't restart playback after instant level switch in case media not attached\n previouslyPaused = true;\n }\n this.previouslyPaused = previouslyPaused;\n }\n var fragCurrent = this.fragCurrent;\n if (fragCurrent && fragCurrent.loader) {\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n // flush everything\n this.flushMainBuffer(0, Number.POSITIVE_INFINITY);\n };\n /**\n * on immediate level switch end, after new fragment has been buffered:\n * - nudge video decoder by slightly adjusting video currentTime (if currentTime buffered)\n * - resume the playback if needed\n */\n StreamController.prototype.immediateLevelSwitchEnd = function () {\n var media = this.media;\n if (media && media.buffered.length) {\n this.immediateSwitch = false;\n if (buffer_helper_1.BufferHelper.isBuffered(media, media.currentTime)) {\n // only nudge if currentTime is buffered\n media.currentTime -= 0.0001;\n }\n if (!this.previouslyPaused) {\n media.play();\n }\n }\n };\n /**\n * try to switch ASAP without breaking video playback:\n * in order to ensure smooth but quick level switching,\n * we need to find the next flushable buffer range\n * we should take into account new segment fetch time\n */\n StreamController.prototype.nextLevelSwitch = function () {\n var media = this.media;\n // ensure that media is defined and that metadata are available (to retrieve currentTime)\n if (media && media.readyState) {\n var fetchdelay = void 0, fragPlayingCurrent = void 0, nextBufferedFrag = void 0;\n fragPlayingCurrent = this.getBufferedFrag(media.currentTime);\n if (fragPlayingCurrent && fragPlayingCurrent.startPTS > 1) {\n // flush buffer preceding current fragment (flush until current fragment start offset)\n // minus 1s to avoid video freezing, that could happen if we flush keyframe of current video ...\n this.flushMainBuffer(0, fragPlayingCurrent.startPTS - 1);\n }\n if (!media.paused) {\n // add a safety delay of 1s\n var nextLevelId = this.hls.nextLoadLevel, nextLevel = this.levels[nextLevelId], fragLastKbps = this.fragLastKbps;\n if (fragLastKbps && this.fragCurrent) {\n fetchdelay = this.fragCurrent.duration * nextLevel.bitrate / (1000 * fragLastKbps) + 1;\n }\n else {\n fetchdelay = 0;\n }\n }\n else {\n fetchdelay = 0;\n }\n // logger.log('fetchdelay:'+fetchdelay);\n // find buffer range that will be reached once new fragment will be fetched\n nextBufferedFrag = this.getBufferedFrag(media.currentTime + fetchdelay);\n if (nextBufferedFrag) {\n // we can flush buffer range following this one without stalling playback\n nextBufferedFrag = this.followingBufferedFrag(nextBufferedFrag);\n if (nextBufferedFrag) {\n // if we are here, we can also cancel any loading/demuxing in progress, as they are useless\n var fragCurrent = this.fragCurrent;\n if (fragCurrent && fragCurrent.loader) {\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n // start flush position is the start PTS of next buffered frag.\n // we use frag.naxStartPTS which is max(audio startPTS, video startPTS).\n // in case there is a small PTS Delta between audio and video, using maxStartPTS avoids flushing last samples from current fragment\n this.flushMainBuffer(nextBufferedFrag.maxStartPTS, Number.POSITIVE_INFINITY);\n }\n }\n }\n };\n StreamController.prototype.flushMainBuffer = function (startOffset, endOffset) {\n this.state = base_stream_controller_1.State.BUFFER_FLUSHING;\n var flushScope = { startOffset: startOffset, endOffset: endOffset };\n // if alternate audio tracks are used, only flush video, otherwise flush everything\n if (this.altAudio) {\n flushScope.type = 'video';\n }\n this.hls.trigger(events_1.default.BUFFER_FLUSHING, flushScope);\n };\n StreamController.prototype.onMediaAttached = function (data) {\n var media = this.media = this.mediaBuffer = data.media;\n this.onvseeking = this.onMediaSeeking.bind(this);\n this.onvseeked = this.onMediaSeeked.bind(this);\n this.onvended = this.onMediaEnded.bind(this);\n media.addEventListener('seeking', this.onvseeking);\n media.addEventListener('seeked', this.onvseeked);\n media.addEventListener('ended', this.onvended);\n var config = this.config;\n if (this.levels && config.autoStartLoad) {\n this.hls.startLoad(config.startPosition);\n }\n this.gapController = new gap_controller_1.default(config, media, this.fragmentTracker, this.hls);\n };\n StreamController.prototype.onMediaDetaching = function () {\n var media = this.media;\n if (media && media.ended) {\n logger_1.logger.log('MSE detaching and video ended, reset startPosition');\n this.startPosition = this.lastCurrentTime = 0;\n }\n // reset fragment backtracked flag\n var levels = this.levels;\n if (levels) {\n levels.forEach(function (level) {\n if (level.details) {\n level.details.fragments.forEach(function (fragment) {\n fragment.backtracked = undefined;\n });\n }\n });\n }\n // remove video listeners\n if (media) {\n media.removeEventListener('seeking', this.onvseeking);\n media.removeEventListener('seeked', this.onvseeked);\n media.removeEventListener('ended', this.onvended);\n this.onvseeking = this.onvseeked = this.onvended = null;\n }\n this.media = this.mediaBuffer = null;\n this.loadedmetadata = false;\n this.stopLoad();\n };\n StreamController.prototype.onMediaSeeked = function () {\n var media = this.media, currentTime = media ? media.currentTime : undefined;\n if (Number.isFinite(currentTime)) {\n logger_1.logger.log(\"media seeked to \" + currentTime.toFixed(3));\n }\n // tick to speed up FRAGMENT_PLAYING triggering\n this.tick();\n };\n StreamController.prototype.onManifestLoading = function () {\n // reset buffer on manifest loading\n logger_1.logger.log('trigger BUFFER_RESET');\n this.hls.trigger(events_1.default.BUFFER_RESET);\n this.fragmentTracker.removeAllFragments();\n this.stalled = false;\n this.startPosition = this.lastCurrentTime = 0;\n };\n StreamController.prototype.onManifestParsed = function (data) {\n var aac = false, heaac = false, codec;\n data.levels.forEach(function (level) {\n // detect if we have different kind of audio codecs used amongst playlists\n codec = level.audioCodec;\n if (codec) {\n if (codec.indexOf('mp4a.40.2') !== -1) {\n aac = true;\n }\n if (codec.indexOf('mp4a.40.5') !== -1) {\n heaac = true;\n }\n }\n });\n this.audioCodecSwitch = (aac && heaac);\n if (this.audioCodecSwitch) {\n logger_1.logger.log('both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC');\n }\n this.levels = data.levels;\n this.startFragRequested = false;\n var config = this.config;\n if (config.autoStartLoad || this.forceStartLoad) {\n this.hls.startLoad(config.startPosition);\n }\n };\n StreamController.prototype.onLevelLoaded = function (data) {\n var newDetails = data.details;\n var newLevelId = data.level;\n var lastLevel = this.levels[this.levelLastLoaded];\n var curLevel = this.levels[newLevelId];\n var duration = newDetails.totalduration;\n var sliding = 0;\n logger_1.logger.log(\"level \" + newLevelId + \" loaded [\" + newDetails.startSN + \",\" + newDetails.endSN + \"],duration:\" + duration);\n if (newDetails.live) {\n var curDetails = curLevel.details;\n if (curDetails && newDetails.fragments.length > 0) {\n // we already have details for that level, merge them\n LevelHelper.mergeDetails(curDetails, newDetails);\n sliding = newDetails.fragments[0].start;\n this.liveSyncPosition = this.computeLivePosition(sliding, curDetails);\n if (newDetails.PTSKnown && Number.isFinite(sliding)) {\n logger_1.logger.log(\"live playlist sliding:\" + sliding.toFixed(3));\n }\n else {\n logger_1.logger.log('live playlist - outdated PTS, unknown sliding');\n discontinuities_1.alignStream(this.fragPrevious, lastLevel, newDetails);\n }\n }\n else {\n logger_1.logger.log('live playlist - first load, unknown sliding');\n newDetails.PTSKnown = false;\n discontinuities_1.alignStream(this.fragPrevious, lastLevel, newDetails);\n }\n }\n else {\n newDetails.PTSKnown = false;\n }\n // override level info\n curLevel.details = newDetails;\n this.levelLastLoaded = newLevelId;\n this.hls.trigger(events_1.default.LEVEL_UPDATED, { details: newDetails, level: newLevelId });\n if (this.startFragRequested === false) {\n // compute start position if set to -1. use it straight away if value is defined\n if (this.startPosition === -1 || this.lastCurrentTime === -1) {\n // first, check if start time offset has been set in playlist, if yes, use this value\n var startTimeOffset = newDetails.startTimeOffset;\n if (Number.isFinite(startTimeOffset)) {\n if (startTimeOffset < 0) {\n logger_1.logger.log(\"negative start time offset \" + startTimeOffset + \", count from end of last fragment\");\n startTimeOffset = sliding + duration + startTimeOffset;\n }\n logger_1.logger.log(\"start time offset found in playlist, adjust startPosition to \" + startTimeOffset);\n this.startPosition = startTimeOffset;\n }\n else {\n // if live playlist, set start position to be fragment N-this.config.liveSyncDurationCount (usually 3)\n if (newDetails.live) {\n this.startPosition = this.computeLivePosition(sliding, newDetails);\n logger_1.logger.log(\"configure startPosition to \" + this.startPosition);\n }\n else {\n this.startPosition = 0;\n }\n }\n this.lastCurrentTime = this.startPosition;\n }\n this.nextLoadPosition = this.startPosition;\n }\n // only switch batck to IDLE state if we were waiting for level to start downloading a new fragment\n if (this.state === base_stream_controller_1.State.WAITING_LEVEL) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n // trigger handler right now\n this.tick();\n };\n StreamController.prototype.onKeyLoaded = function () {\n if (this.state === base_stream_controller_1.State.KEY_LOADING) {\n this.state = base_stream_controller_1.State.IDLE;\n this.tick();\n }\n };\n StreamController.prototype.onFragLoaded = function (data) {\n var _a = this, fragCurrent = _a.fragCurrent, hls = _a.hls, levels = _a.levels, media = _a.media;\n var fragLoaded = data.frag;\n if (this.state === base_stream_controller_1.State.FRAG_LOADING &&\n fragCurrent &&\n fragLoaded.type === 'main' &&\n fragLoaded.level === fragCurrent.level &&\n fragLoaded.sn === fragCurrent.sn) {\n var stats = data.stats;\n var currentLevel = levels[fragCurrent.level];\n var details = currentLevel.details;\n // reset frag bitrate test in any case after frag loaded event\n // if this frag was loaded to perform a bitrate test AND if hls.nextLoadLevel is greater than 0\n // then this means that we should be able to load a fragment at a higher quality level\n this.bitrateTest = false;\n this.stats = stats;\n logger_1.logger.log(\"Loaded \" + fragCurrent.sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],level \" + fragCurrent.level);\n if (fragLoaded.bitrateTest && hls.nextLoadLevel) {\n // switch back to IDLE state ... we just loaded a fragment to determine adequate start bitrate and initialize autoswitch algo\n this.state = base_stream_controller_1.State.IDLE;\n this.startFragRequested = false;\n stats.tparsed = stats.tbuffered = window.performance.now();\n hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: fragCurrent, id: 'main' });\n this.tick();\n }\n else if (fragLoaded.sn === 'initSegment') {\n this.state = base_stream_controller_1.State.IDLE;\n stats.tparsed = stats.tbuffered = window.performance.now();\n details.initSegment.data = data.payload;\n hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: fragCurrent, id: 'main' });\n this.tick();\n }\n else {\n logger_1.logger.log(\"Parsing \" + fragCurrent.sn + \" of [\" + details.startSN + \" ,\" + details.endSN + \"],level \" + fragCurrent.level + \", cc \" + fragCurrent.cc);\n this.state = base_stream_controller_1.State.PARSING;\n this.pendingBuffering = true;\n this.appended = false;\n // Bitrate test frags are not usually buffered so the fragment tracker ignores them. If Hls.js decides to buffer\n // it (and therefore ends up at this line), then the fragment tracker needs to be manually informed.\n if (fragLoaded.bitrateTest) {\n fragLoaded.bitrateTest = false;\n this.fragmentTracker.onFragLoaded({\n frag: fragLoaded\n });\n }\n // time Offset is accurate if level PTS is known, or if playlist is not sliding (not live) and if media is not seeking (this is to overcome potential timestamp drifts between playlists and fragments)\n var accurateTimeOffset = !(media && media.seeking) && (details.PTSKnown || !details.live);\n var initSegmentData = details.initSegment ? details.initSegment.data : [];\n var audioCodec = this._getAudioCodec(currentLevel);\n // transmux the MPEG-TS data to ISO-BMFF segments\n var demuxer = this.demuxer = this.demuxer || new demuxer_1.default(this.hls, 'main');\n demuxer.push(data.payload, initSegmentData, audioCodec, currentLevel.videoCodec, fragCurrent, details.totalduration, accurateTimeOffset);\n }\n }\n this.fragLoadError = 0;\n };\n StreamController.prototype.onFragParsingInitSegment = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'main' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n var tracks = data.tracks, trackName = void 0, track = void 0;\n // if audio track is expected to come from audio stream controller, discard any coming from main\n if (tracks.audio && this.altAudio) {\n delete tracks.audio;\n }\n // include levelCodec in audio and video tracks\n track = tracks.audio;\n if (track) {\n var audioCodec = this.levels[this.level].audioCodec, ua = navigator.userAgent.toLowerCase();\n if (audioCodec && this.audioCodecSwap) {\n logger_1.logger.log('swapping playlist audio codec');\n if (audioCodec.indexOf('mp4a.40.5') !== -1) {\n audioCodec = 'mp4a.40.2';\n }\n else {\n audioCodec = 'mp4a.40.5';\n }\n }\n // in case AAC and HE-AAC audio codecs are signalled in manifest\n // force HE-AAC , as it seems that most browsers prefers that way,\n // except for mono streams OR on FF\n // these conditions might need to be reviewed ...\n if (this.audioCodecSwitch) {\n // don't force HE-AAC if mono stream\n if (track.metadata.channelCount !== 1 &&\n // don't force HE-AAC if firefox\n ua.indexOf('firefox') === -1) {\n audioCodec = 'mp4a.40.5';\n }\n }\n // HE-AAC is broken on Android, always signal audio codec as AAC even if variant manifest states otherwise\n if (ua.indexOf('android') !== -1 && track.container !== 'audio/mpeg') { // Exclude mpeg audio\n audioCodec = 'mp4a.40.2';\n logger_1.logger.log(\"Android: force audio codec to \" + audioCodec);\n }\n track.levelCodec = audioCodec;\n track.id = data.id;\n }\n track = tracks.video;\n if (track) {\n track.levelCodec = this.levels[this.level].videoCodec;\n track.id = data.id;\n }\n this.hls.trigger(events_1.default.BUFFER_CODECS, tracks);\n // loop through tracks that are going to be provided to bufferController\n for (trackName in tracks) {\n track = tracks[trackName];\n logger_1.logger.log(\"main track:\" + trackName + \",container:\" + track.container + \",codecs[level/parsed]=[\" + track.levelCodec + \"/\" + track.codec + \"]\");\n var initSegment = track.initSegment;\n if (initSegment) {\n this.appended = true;\n // arm pending Buffering flag before appending a segment\n this.pendingBuffering = true;\n this.hls.trigger(events_1.default.BUFFER_APPENDING, { type: trackName, data: initSegment, parent: 'main', content: 'initSegment' });\n }\n }\n // trigger handler right now\n this.tick();\n }\n };\n StreamController.prototype.onFragParsingData = function (data) {\n var _this = this;\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'main' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n !(data.type === 'audio' && this.altAudio) && // filter out main audio if audio track is loaded through audio stream controller\n this.state === base_stream_controller_1.State.PARSING) {\n var level = this.levels[this.level], frag = fragCurrent;\n if (!Number.isFinite(data.endPTS)) {\n data.endPTS = data.startPTS + fragCurrent.duration;\n data.endDTS = data.startDTS + fragCurrent.duration;\n }\n if (data.hasAudio === true) {\n frag.addElementaryStream(fragment_1.default.ElementaryStreamTypes.AUDIO);\n }\n if (data.hasVideo === true) {\n frag.addElementaryStream(fragment_1.default.ElementaryStreamTypes.VIDEO);\n }\n logger_1.logger.log(\"Parsed \" + data.type + \",PTS:[\" + data.startPTS.toFixed(3) + \",\" + data.endPTS.toFixed(3) + \"],DTS:[\" + data.startDTS.toFixed(3) + \"/\" + data.endDTS.toFixed(3) + \"],nb:\" + data.nb + \",dropped:\" + (data.dropped || 0));\n // Detect gaps in a fragment and try to fix it by finding a keyframe in the previous fragment (see _findFragments)\n if (data.type === 'video') {\n frag.dropped = data.dropped;\n if (frag.dropped) {\n if (!frag.backtracked) {\n var levelDetails = level.details;\n if (levelDetails && frag.sn === levelDetails.startSN) {\n logger_1.logger.warn('missing video frame(s) on first frag, appending with gap', frag.sn);\n }\n else {\n logger_1.logger.warn('missing video frame(s), backtracking fragment', frag.sn);\n // Return back to the IDLE state without appending to buffer\n // Causes findFragments to backtrack a segment and find the keyframe\n // Audio fragments arriving before video sets the nextLoadPosition, causing _findFragments to skip the backtracked fragment\n this.fragmentTracker.removeFragment(frag);\n frag.backtracked = true;\n this.nextLoadPosition = data.startPTS;\n this.state = base_stream_controller_1.State.IDLE;\n this.fragPrevious = frag;\n this.tick();\n return;\n }\n }\n else {\n logger_1.logger.warn('Already backtracked on this fragment, appending with the gap', frag.sn);\n }\n }\n else {\n // Only reset the backtracked flag if we've loaded the frag without any dropped frames\n frag.backtracked = false;\n }\n }\n var drift = LevelHelper.updateFragPTSDTS(level.details, frag, data.startPTS, data.endPTS, data.startDTS, data.endDTS), hls_2 = this.hls;\n hls_2.trigger(events_1.default.LEVEL_PTS_UPDATED, { details: level.details, level: this.level, drift: drift, type: data.type, start: data.startPTS, end: data.endPTS });\n // has remuxer dropped video frames located before first keyframe ?\n [data.data1, data.data2].forEach(function (buffer) {\n // only append in PARSING state (rationale is that an appending error could happen synchronously on first segment appending)\n // in that case it is useless to append following segments\n if (buffer && buffer.length && _this.state === base_stream_controller_1.State.PARSING) {\n _this.appended = true;\n // arm pending Buffering flag before appending a segment\n _this.pendingBuffering = true;\n hls_2.trigger(events_1.default.BUFFER_APPENDING, { type: data.type, data: buffer, parent: 'main', content: 'data' });\n }\n });\n // trigger handler right now\n this.tick();\n }\n };\n StreamController.prototype.onFragParsed = function (data) {\n var fragCurrent = this.fragCurrent;\n var fragNew = data.frag;\n if (fragCurrent &&\n data.id === 'main' &&\n fragNew.sn === fragCurrent.sn &&\n fragNew.level === fragCurrent.level &&\n this.state === base_stream_controller_1.State.PARSING) {\n this.stats.tparsed = window.performance.now();\n this.state = base_stream_controller_1.State.PARSED;\n this._checkAppendedParsed();\n }\n };\n StreamController.prototype.onAudioTrackSwitching = function (data) {\n // if any URL found on new audio track, it is an alternate audio track\n var altAudio = !!data.url, trackId = data.id;\n // if we switch on main audio, ensure that main fragment scheduling is synced with media.buffered\n // don't do anything if we switch to alt audio: audio stream controller is handling it.\n // we will just have to change buffer scheduling on audioTrackSwitched\n if (!altAudio) {\n if (this.mediaBuffer !== this.media) {\n logger_1.logger.log('switching on main audio, use media.buffered to schedule main fragment loading');\n this.mediaBuffer = this.media;\n var fragCurrent = this.fragCurrent;\n // we need to refill audio buffer from main: cancel any frag loading to speed up audio switch\n if (fragCurrent.loader) {\n logger_1.logger.log('switching to main audio track, cancel main fragment load');\n fragCurrent.loader.abort();\n }\n this.fragCurrent = null;\n this.fragPrevious = null;\n // destroy demuxer to force init segment generation (following audio switch)\n if (this.demuxer) {\n this.demuxer.destroy();\n this.demuxer = null;\n }\n // switch to IDLE state to load new fragment\n this.state = base_stream_controller_1.State.IDLE;\n }\n var hls_3 = this.hls;\n // switching to main audio, flush all audio and trigger track switched\n hls_3.trigger(events_1.default.BUFFER_FLUSHING, { startOffset: 0, endOffset: Number.POSITIVE_INFINITY, type: 'audio' });\n hls_3.trigger(events_1.default.AUDIO_TRACK_SWITCHED, { id: trackId });\n this.altAudio = false;\n }\n };\n StreamController.prototype.onAudioTrackSwitched = function (data) {\n var trackId = data.id, altAudio = !!this.hls.audioTracks[trackId].url;\n if (altAudio) {\n var videoBuffer = this.videoBuffer;\n // if we switched on alternate audio, ensure that main fragment scheduling is synced with video sourcebuffer buffered\n if (videoBuffer && this.mediaBuffer !== videoBuffer) {\n logger_1.logger.log('switching on alternate audio, use video.buffered to schedule main fragment loading');\n this.mediaBuffer = videoBuffer;\n }\n }\n this.altAudio = altAudio;\n this.tick();\n };\n StreamController.prototype.onBufferCreated = function (data) {\n var tracks = data.tracks, mediaTrack, name, alternate = false;\n for (var type in tracks) {\n var track = tracks[type];\n if (track.id === 'main') {\n name = type;\n mediaTrack = track;\n // keep video source buffer reference\n if (type === 'video') {\n this.videoBuffer = tracks[type].buffer;\n }\n }\n else {\n alternate = true;\n }\n }\n if (alternate && mediaTrack) {\n logger_1.logger.log(\"alternate track found, use \" + name + \".buffered to schedule main fragment loading\");\n this.mediaBuffer = mediaTrack.buffer;\n }\n else {\n this.mediaBuffer = this.media;\n }\n };\n StreamController.prototype.onBufferAppended = function (data) {\n if (data.parent === 'main') {\n var state = this.state;\n if (state === base_stream_controller_1.State.PARSING || state === base_stream_controller_1.State.PARSED) {\n // check if all buffers have been appended\n this.pendingBuffering = (data.pending > 0);\n this._checkAppendedParsed();\n }\n }\n };\n StreamController.prototype._checkAppendedParsed = function () {\n // trigger handler right now\n if (this.state === base_stream_controller_1.State.PARSED && (!this.appended || !this.pendingBuffering)) {\n var frag = this.fragCurrent;\n if (frag) {\n var media = this.mediaBuffer ? this.mediaBuffer : this.media;\n logger_1.logger.log(\"main buffered : \" + time_ranges_1.default.toString(media.buffered));\n this.fragPrevious = frag;\n var stats = this.stats;\n stats.tbuffered = window.performance.now();\n // we should get rid of this.fragLastKbps\n this.fragLastKbps = Math.round(8 * stats.total / (stats.tbuffered - stats.tfirst));\n this.hls.trigger(events_1.default.FRAG_BUFFERED, { stats: stats, frag: frag, id: 'main' });\n this.state = base_stream_controller_1.State.IDLE;\n }\n this.tick();\n }\n };\n StreamController.prototype.onError = function (data) {\n var frag = data.frag || this.fragCurrent;\n // don't handle frag error not related to main fragment\n if (frag && frag.type !== 'main') {\n return;\n }\n // 0.5 : tolerance needed as some browsers stalls playback before reaching buffered end\n var mediaBuffered = !!this.media && buffer_helper_1.BufferHelper.isBuffered(this.media, this.media.currentTime) && buffer_helper_1.BufferHelper.isBuffered(this.media, this.media.currentTime + 0.5);\n switch (data.details) {\n case errors_1.ErrorDetails.FRAG_LOAD_ERROR:\n case errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT:\n case errors_1.ErrorDetails.KEY_LOAD_ERROR:\n case errors_1.ErrorDetails.KEY_LOAD_TIMEOUT:\n if (!data.fatal) {\n // keep retrying until the limit will be reached\n if ((this.fragLoadError + 1) <= this.config.fragLoadingMaxRetry) {\n // exponential backoff capped to config.fragLoadingMaxRetryTimeout\n var delay = Math.min(Math.pow(2, this.fragLoadError) * this.config.fragLoadingRetryDelay, this.config.fragLoadingMaxRetryTimeout);\n logger_1.logger.warn(\"mediaController: frag loading failed, retry in \" + delay + \" ms\");\n this.retryDate = window.performance.now() + delay;\n // retry loading state\n // if loadedmetadata is not set, it means that we are emergency switch down on first frag\n // in that case, reset startFragRequested flag\n if (!this.loadedmetadata) {\n this.startFragRequested = false;\n this.nextLoadPosition = this.startPosition;\n }\n this.fragLoadError++;\n this.state = base_stream_controller_1.State.FRAG_LOADING_WAITING_RETRY;\n }\n else {\n logger_1.logger.error(\"mediaController: \" + data.details + \" reaches max retry, redispatch as fatal ...\");\n // switch error to fatal\n data.fatal = true;\n this.state = base_stream_controller_1.State.ERROR;\n }\n }\n break;\n case errors_1.ErrorDetails.LEVEL_LOAD_ERROR:\n case errors_1.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n if (this.state !== base_stream_controller_1.State.ERROR) {\n if (data.fatal) {\n // if fatal error, stop processing\n this.state = base_stream_controller_1.State.ERROR;\n logger_1.logger.warn(\"streamController: \" + data.details + \",switch to \" + this.state + \" state ...\");\n }\n else {\n // in case of non fatal error while loading level, if level controller is not retrying to load level , switch back to IDLE\n if (!data.levelRetry && this.state === base_stream_controller_1.State.WAITING_LEVEL) {\n this.state = base_stream_controller_1.State.IDLE;\n }\n }\n }\n break;\n case errors_1.ErrorDetails.BUFFER_FULL_ERROR:\n // if in appending state\n if (data.parent === 'main' && (this.state === base_stream_controller_1.State.PARSING || this.state === base_stream_controller_1.State.PARSED)) {\n // reduce max buf len if current position is buffered\n if (mediaBuffered) {\n this._reduceMaxBufferLength(this.config.maxBufferLength);\n this.state = base_stream_controller_1.State.IDLE;\n }\n else {\n // current position is not buffered, but browser is still complaining about buffer full error\n // this happens on IE/Edge, refer to https://github.com/video-dev/hls.js/pull/708\n // in that case flush the whole buffer to recover\n logger_1.logger.warn('buffer full error also media.currentTime is not buffered, flush everything');\n this.fragCurrent = null;\n // flush everything\n this.flushMainBuffer(0, Number.POSITIVE_INFINITY);\n }\n }\n break;\n default:\n break;\n }\n };\n StreamController.prototype._reduceMaxBufferLength = function (minLength) {\n var config = this.config;\n if (config.maxMaxBufferLength >= minLength) {\n // reduce max buffer length as it might be too high. we do this to avoid loop flushing ...\n config.maxMaxBufferLength /= 2;\n logger_1.logger.warn(\"main:reduce max buffer length to \" + config.maxMaxBufferLength + \"s\");\n return true;\n }\n return false;\n };\n /**\n * Checks the health of the buffer and attempts to resolve playback stalls.\n * @private\n */\n StreamController.prototype._checkBuffer = function () {\n var media = this.media;\n if (!media || media.readyState === 0) {\n // Exit early if we don't have media or if the media hasn't bufferd anything yet (readyState 0)\n return;\n }\n var mediaBuffer = this.mediaBuffer ? this.mediaBuffer : media;\n var buffered = mediaBuffer.buffered;\n if (!this.loadedmetadata && buffered.length) {\n this.loadedmetadata = true;\n this._seekToStartPos();\n }\n else if (this.immediateSwitch) {\n this.immediateLevelSwitchEnd();\n }\n else {\n this.gapController.poll(this.lastCurrentTime, buffered);\n }\n };\n StreamController.prototype.onFragLoadEmergencyAborted = function () {\n this.state = base_stream_controller_1.State.IDLE;\n // if loadedmetadata is not set, it means that we are emergency switch down on first frag\n // in that case, reset startFragRequested flag\n if (!this.loadedmetadata) {\n this.startFragRequested = false;\n this.nextLoadPosition = this.startPosition;\n }\n this.tick();\n };\n StreamController.prototype.onBufferFlushed = function () {\n /* after successful buffer flushing, filter flushed fragments from bufferedFrags\n use mediaBuffered instead of media (so that we will check against video.buffered ranges in case of alt audio track)\n */\n var media = this.mediaBuffer ? this.mediaBuffer : this.media;\n if (media) {\n // filter fragments potentially evicted from buffer. this is to avoid memleak on live streams\n this.fragmentTracker.detectEvictedFragments(fragment_1.default.ElementaryStreamTypes.VIDEO, media.buffered);\n }\n // move to IDLE once flush complete. this should trigger new fragment loading\n this.state = base_stream_controller_1.State.IDLE;\n // reset reference to frag\n this.fragPrevious = null;\n };\n StreamController.prototype.swapAudioCodec = function () {\n this.audioCodecSwap = !this.audioCodecSwap;\n };\n StreamController.prototype.computeLivePosition = function (sliding, levelDetails) {\n var targetLatency = this.config.liveSyncDuration !== undefined ? this.config.liveSyncDuration : this.config.liveSyncDurationCount * levelDetails.targetduration;\n return sliding + Math.max(0, levelDetails.totalduration - targetLatency);\n };\n /**\n * Seeks to the set startPosition if not equal to the mediaElement's current time.\n * @private\n */\n StreamController.prototype._seekToStartPos = function () {\n var media = this.media;\n var currentTime = media.currentTime;\n // only adjust currentTime if different from startPosition or if startPosition not buffered\n // at that stage, there should be only one buffered range, as we reach that code after first fragment has been buffered\n var startPosition = media.seeking ? currentTime : this.startPosition;\n // if currentTime not matching with expected startPosition or startPosition not buffered but close to first buffered\n if (currentTime !== startPosition) {\n // if startPosition not buffered, let's seek to buffered.start(0)\n logger_1.logger.log(\"target start position not buffered, seek to buffered.start(0) \" + startPosition + \" from current time \" + currentTime + \" \");\n media.currentTime = startPosition;\n }\n };\n StreamController.prototype._getAudioCodec = function (currentLevel) {\n var audioCodec = this.config.defaultAudioCodec || currentLevel.audioCodec;\n if (this.audioCodecSwap) {\n logger_1.logger.log('swapping playlist audio codec');\n if (audioCodec) {\n if (audioCodec.indexOf('mp4a.40.5') !== -1) {\n audioCodec = 'mp4a.40.2';\n }\n else {\n audioCodec = 'mp4a.40.5';\n }\n }\n }\n return audioCodec;\n };\n Object.defineProperty(StreamController.prototype, \"liveSyncPosition\", {\n get: function () {\n return this._liveSyncPosition;\n },\n set: function (value) {\n this._liveSyncPosition = value;\n },\n enumerable: true,\n configurable: true\n });\n return StreamController;\n}(base_stream_controller_1.default));\nexports.default = StreamController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/controller/subtitle-stream-controller.js\":\n/*!******************************************************!*\\\n !*** ./src/controller/subtitle-stream-controller.js ***!\n \\******************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * @class SubtitleStreamController\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar decrypter_1 = __webpack_require__(/*! ../crypt/decrypter */ \"./src/crypt/decrypter.js\");\nvar task_loop_1 = __webpack_require__(/*! ../task-loop */ \"./src/task-loop.js\");\nvar buffer_helper_1 = __webpack_require__(/*! ../utils/buffer-helper */ \"./src/utils/buffer-helper.js\");\nvar fragment_finders_1 = __webpack_require__(/*! ./fragment-finders */ \"./src/controller/fragment-finders.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar performance = window.performance;\nexports.SubtitleStreamControllerState = {\n STOPPED: 'STOPPED',\n IDLE: 'IDLE',\n KEY_LOADING: 'KEY_LOADING',\n FRAG_LOADING: 'FRAG_LOADING'\n};\nvar State = exports.SubtitleStreamControllerState;\nvar TICK_INTERVAL = 500; // how often to tick in ms\nvar SubtitleStreamController = /** @class */ (function (_super) {\n __extends(SubtitleStreamController, _super);\n function SubtitleStreamController(hls, fragmentTracker) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.ERROR, events_1.default.KEY_LOADED, events_1.default.FRAG_LOADED, events_1.default.SUBTITLE_TRACKS_UPDATED, events_1.default.SUBTITLE_TRACK_SWITCH, events_1.default.SUBTITLE_TRACK_LOADED, events_1.default.SUBTITLE_FRAG_PROCESSED) || this;\n _this.fragmentTracker = fragmentTracker;\n _this.config = hls.config;\n _this.state = State.STOPPED;\n _this.tracks = [];\n _this.tracksBuffered = [];\n _this.currentTrackId = -1;\n _this.decrypter = new decrypter_1.default(hls, hls.config);\n return _this;\n }\n SubtitleStreamController.prototype.onHandlerDestroyed = function () {\n this.fragmentTracker = null;\n this.state = State.STOPPED;\n _super.prototype.onHandlerDestroyed.call(this);\n };\n SubtitleStreamController.prototype.onSubtitleFragProcessed = function (data) {\n this.state = State.IDLE;\n if (!data.success) {\n return;\n }\n var buffered = this.tracksBuffered[this.currentTrackId];\n var frag = data.frag;\n this.fragPrevious = frag;\n if (!buffered) {\n return;\n }\n // Create/update a buffered array matching the interface used by BufferHelper.bufferedInfo\n // so we can re-use the logic used to detect how much have been buffered\n // FIXME: put this in a utility function or proper object for time-ranges manipulation?\n var timeRange;\n for (var i = 0; i < buffered.length; i++) {\n if (frag.start >= buffered[i].start && frag.start <= buffered[i].end) {\n timeRange = buffered[i];\n break;\n }\n }\n if (timeRange) {\n timeRange.end = frag.start + frag.duration;\n }\n else {\n buffered.push({\n start: frag.start,\n end: frag.start + frag.duration\n });\n }\n };\n SubtitleStreamController.prototype.onMediaAttached = function (data) {\n this.media = data.media;\n this.state = State.IDLE;\n };\n SubtitleStreamController.prototype.onMediaDetaching = function () {\n this.media = null;\n this.state = State.STOPPED;\n };\n // If something goes wrong, procede to next frag, if we were processing one.\n SubtitleStreamController.prototype.onError = function (data) {\n var frag = data.frag;\n // don't handle error not related to subtitle fragment\n if (!frag || frag.type !== 'subtitle') {\n return;\n }\n this.state = State.IDLE;\n };\n // Got all new subtitle tracks.\n SubtitleStreamController.prototype.onSubtitleTracksUpdated = function (data) {\n var _this = this;\n logger_1.logger.log('subtitle tracks updated');\n this.tracksBuffered = [];\n this.tracks = data.subtitleTracks;\n this.tracks.forEach(function (track) {\n _this.tracksBuffered[track.id] = [];\n });\n };\n SubtitleStreamController.prototype.onSubtitleTrackSwitch = function (data) {\n this.currentTrackId = data.id;\n if (!this.tracks || this.currentTrackId === -1) {\n this.clearInterval();\n return;\n }\n // Check if track has the necessary details to load fragments\n var currentTrack = this.tracks[this.currentTrackId];\n if (currentTrack && currentTrack.details) {\n this.setInterval(TICK_INTERVAL);\n }\n };\n // Got a new set of subtitle fragments.\n SubtitleStreamController.prototype.onSubtitleTrackLoaded = function (data) {\n var id = data.id, details = data.details;\n if (!this.tracks) {\n logger_1.logger.warn('Can not update subtitle details, no tracks found');\n return;\n }\n if (this.tracks[id]) {\n logger_1.logger.log('Updating subtitle track details');\n this.tracks[id].details = details;\n }\n this.setInterval(TICK_INTERVAL);\n };\n SubtitleStreamController.prototype.onKeyLoaded = function () {\n if (this.state === State.KEY_LOADING) {\n this.state = State.IDLE;\n }\n };\n SubtitleStreamController.prototype.onFragLoaded = function (data) {\n var fragCurrent = this.fragCurrent;\n var decryptData = data.frag.decryptdata;\n var fragLoaded = data.frag;\n var hls = this.hls;\n if (this.state === State.FRAG_LOADING &&\n fragCurrent &&\n data.frag.type === 'subtitle' &&\n fragCurrent.sn === data.frag.sn) {\n // check to see if the payload needs to be decrypted\n if (data.payload.byteLength > 0 && (decryptData && decryptData.key && decryptData.method === 'AES-128')) {\n var startTime_1 = performance.now();\n // decrypt the subtitles\n this.decrypter.decrypt(data.payload, decryptData.key.buffer, decryptData.iv.buffer, function (decryptedData) {\n var endTime = performance.now();\n hls.trigger(events_1.default.FRAG_DECRYPTED, { frag: fragLoaded, payload: decryptedData, stats: { tstart: startTime_1, tdecrypt: endTime } });\n });\n }\n }\n };\n SubtitleStreamController.prototype.doTick = function () {\n if (!this.media) {\n this.state = State.IDLE;\n return;\n }\n switch (this.state) {\n case State.IDLE:\n var tracks = this.tracks;\n var trackId = this.currentTrackId;\n if (!tracks || !tracks[trackId] || !tracks[trackId].details) {\n break;\n }\n var trackDetails = tracks[trackId].details;\n var config = this.config;\n var maxBufferHole = config.maxBufferHole;\n var maxConfigBuffer = Math.min(config.maxBufferLength, config.maxMaxBufferLength);\n var maxFragLookUpTolerance = config.maxFragLookUpTolerance;\n var bufferedInfo = buffer_helper_1.BufferHelper.bufferedInfo(this._getBuffered(), this.media.currentTime, maxBufferHole);\n var bufferEnd = bufferedInfo.end;\n var bufferLen = bufferedInfo.len;\n var fragments = trackDetails.fragments;\n var fragLen = fragments.length;\n var end = fragments[fragLen - 1].start + fragments[fragLen - 1].duration;\n var foundFrag = void 0;\n if (bufferLen < maxConfigBuffer && bufferEnd < end) {\n foundFrag = fragment_finders_1.findFragmentByPTS(this.fragPrevious, fragments, bufferEnd, maxFragLookUpTolerance);\n }\n else if (trackDetails.hasProgramDateTime && this.fragPrevious) {\n foundFrag = fragment_finders_1.findFragmentByPDT(fragments, this.fragPrevious.endProgramDateTime, maxFragLookUpTolerance);\n }\n if (foundFrag && foundFrag.encrypted) {\n logger_1.logger.log(\"Loading key for \" + foundFrag.sn);\n this.state = State.KEY_LOADING;\n this.hls.trigger(events_1.default.KEY_LOADING, { frag: foundFrag });\n }\n else if (foundFrag && this.fragmentTracker.getState(foundFrag) === fragment_tracker_1.FragmentState.NOT_LOADED) {\n // only load if fragment is not loaded\n foundFrag.trackId = trackId; // Frags don't know their subtitle track ID, so let's just add that...\n this.fragCurrent = foundFrag;\n this.state = State.FRAG_LOADING;\n this.hls.trigger(events_1.default.FRAG_LOADING, { frag: foundFrag });\n }\n }\n };\n SubtitleStreamController.prototype._getBuffered = function () {\n return this.tracksBuffered[this.currentTrackId] || [];\n };\n return SubtitleStreamController;\n}(task_loop_1.default));\nexports.SubtitleStreamController = SubtitleStreamController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/subtitle-track-controller.js\":\n/*!*****************************************************!*\\\n !*** ./src/controller/subtitle-track-controller.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * subtitle track controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nfunction filterSubtitleTracks(textTrackList) {\n var tracks = [];\n for (var i = 0; i < textTrackList.length; i++) {\n if (textTrackList[i].kind === 'subtitles') {\n tracks.push(textTrackList[i]);\n }\n }\n return tracks;\n}\nvar SubtitleTrackController = /** @class */ (function (_super) {\n __extends(SubtitleTrackController, _super);\n function SubtitleTrackController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHED, events_1.default.MEDIA_DETACHING, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_LOADED, events_1.default.SUBTITLE_TRACK_LOADED) || this;\n _this.tracks = [];\n _this.trackId = -1;\n _this.media = null;\n /**\n * @member {boolean} subtitleDisplay Enable/disable subtitle display rendering\n */\n _this.subtitleDisplay = true;\n return _this;\n }\n SubtitleTrackController.prototype._onTextTracksChanged = function () {\n // Media is undefined when switching streams via loadSource()\n if (!this.media) {\n return;\n }\n var trackId = -1;\n var tracks = filterSubtitleTracks(this.media.textTracks);\n for (var id = 0; id < tracks.length; id++) {\n if (tracks[id].mode === 'hidden') {\n // Do not break in case there is a following track with showing.\n trackId = id;\n }\n else if (tracks[id].mode === 'showing') {\n trackId = id;\n break;\n }\n }\n // Setting current subtitleTrack will invoke code.\n this.subtitleTrack = trackId;\n };\n SubtitleTrackController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n // Listen for subtitle track change, then extract the current track ID.\n SubtitleTrackController.prototype.onMediaAttached = function (data) {\n var _this = this;\n this.media = data.media;\n if (!this.media) {\n return;\n }\n if (this.queuedDefaultTrack) {\n this.subtitleTrack = this.queuedDefaultTrack;\n delete this.queuedDefaultTrack;\n }\n this.trackChangeListener = this._onTextTracksChanged.bind(this);\n this.useTextTrackPolling = !(this.media.textTracks && 'onchange' in this.media.textTracks);\n if (this.useTextTrackPolling) {\n this.subtitlePollingInterval = setInterval(function () {\n _this.trackChangeListener();\n }, 500);\n }\n else {\n this.media.textTracks.addEventListener('change', this.trackChangeListener);\n }\n };\n SubtitleTrackController.prototype.onMediaDetaching = function () {\n if (!this.media) {\n return;\n }\n if (this.useTextTrackPolling) {\n clearInterval(this.subtitlePollingInterval);\n }\n else {\n this.media.textTracks.removeEventListener('change', this.trackChangeListener);\n }\n this.media = null;\n };\n // Reset subtitle tracks on manifest loading\n SubtitleTrackController.prototype.onManifestLoading = function () {\n this.tracks = [];\n this.trackId = -1;\n };\n // Fired whenever a new manifest is loaded.\n SubtitleTrackController.prototype.onManifestLoaded = function (data) {\n var _this = this;\n var tracks = data.subtitles || [];\n this.tracks = tracks;\n this.trackId = -1;\n this.hls.trigger(events_1.default.SUBTITLE_TRACKS_UPDATED, { subtitleTracks: tracks });\n // loop through available subtitle tracks and autoselect default if needed\n // TODO: improve selection logic to handle forced, etc\n tracks.forEach(function (track) {\n if (track.default) {\n // setting this.subtitleTrack will trigger internal logic\n // if media has not been attached yet, it will fail\n // we keep a reference to the default track id\n // and we'll set subtitleTrack when onMediaAttached is triggered\n if (_this.media) {\n _this.subtitleTrack = track.id;\n }\n else {\n _this.queuedDefaultTrack = track.id;\n }\n }\n });\n };\n // Trigger subtitle track playlist reload.\n SubtitleTrackController.prototype.onTick = function () {\n var trackId = this.trackId;\n var subtitleTrack = this.tracks[trackId];\n if (!subtitleTrack) {\n return;\n }\n var details = subtitleTrack.details;\n // check if we need to load playlist for this subtitle Track\n if (!details || details.live) {\n // track not retrieved yet, or live playlist we need to (re)load it\n logger_1.logger.log(\"(re)loading playlist for subtitle track \" + trackId);\n this.hls.trigger(events_1.default.SUBTITLE_TRACK_LOADING, { url: subtitleTrack.url, id: trackId });\n }\n };\n SubtitleTrackController.prototype.onSubtitleTrackLoaded = function (data) {\n var _this = this;\n if (data.id < this.tracks.length) {\n logger_1.logger.log(\"subtitle track \" + data.id + \" loaded\");\n this.tracks[data.id].details = data.details;\n // check if current playlist is a live playlist\n if (data.details.live && !this.timer) {\n // if live playlist we will have to reload it periodically\n // set reload period to playlist target duration\n this.timer = setInterval(function () {\n _this.onTick();\n }, 1000 * data.details.targetduration, this);\n }\n if (!data.details.live && this.timer) {\n // playlist is not live and timer is armed : stopping it\n this._stopTimer();\n }\n }\n };\n Object.defineProperty(SubtitleTrackController.prototype, \"subtitleTracks\", {\n /** get alternate subtitle tracks list from playlist **/\n get: function () {\n return this.tracks;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(SubtitleTrackController.prototype, \"subtitleTrack\", {\n /** get index of the selected subtitle track (index in subtitle track lists) **/\n get: function () {\n return this.trackId;\n },\n /** select a subtitle track, based on its index in subtitle track lists**/\n set: function (subtitleTrackId) {\n if (this.trackId !== subtitleTrackId) {\n this._toggleTrackModes(subtitleTrackId);\n this.setSubtitleTrackInternal(subtitleTrackId);\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * This method is responsible for validating the subtitle index and periodically reloading if live.\n * Dispatches the SUBTITLE_TRACK_SWITCH event, which instructs the subtitle-stream-controller to load the selected track.\n * @param newId - The id of the subtitle track to activate.\n */\n SubtitleTrackController.prototype.setSubtitleTrackInternal = function (newId) {\n var _a = this, hls = _a.hls, tracks = _a.tracks;\n if (typeof newId !== 'number' || newId < -1 || newId >= tracks.length) {\n return;\n }\n this._stopTimer();\n this.trackId = newId;\n logger_1.logger.log(\"switching to subtitle track \" + newId);\n hls.trigger(events_1.default.SUBTITLE_TRACK_SWITCH, { id: newId });\n if (newId === -1) {\n return;\n }\n // check if we need to load playlist for this subtitle Track\n var subtitleTrack = tracks[newId];\n var details = subtitleTrack.details;\n if (!details || details.live) {\n // track not retrieved yet, or live playlist we need to (re)load it\n logger_1.logger.log(\"(re)loading playlist for subtitle track \" + newId);\n hls.trigger(events_1.default.SUBTITLE_TRACK_LOADING, { url: subtitleTrack.url, id: newId });\n }\n };\n SubtitleTrackController.prototype._stopTimer = function () {\n if (this.timer) {\n clearInterval(this.timer);\n this.timer = null;\n }\n };\n /**\n * Disables the old subtitleTrack and sets current mode on the next subtitleTrack.\n * This operates on the DOM textTracks.\n * A value of -1 will disable all subtitle tracks.\n * @param newId - The id of the next track to enable\n * @private\n */\n SubtitleTrackController.prototype._toggleTrackModes = function (newId) {\n var _a = this, media = _a.media, subtitleDisplay = _a.subtitleDisplay, trackId = _a.trackId;\n if (!media) {\n return;\n }\n var textTracks = filterSubtitleTracks(media.textTracks);\n if (newId === -1) {\n [].slice.call(textTracks).forEach(function (track) {\n track.mode = 'disabled';\n });\n }\n else {\n var oldTrack = textTracks[trackId];\n if (oldTrack) {\n oldTrack.mode = 'disabled';\n }\n }\n var nextTrack = textTracks[newId];\n if (nextTrack) {\n nextTrack.mode = subtitleDisplay ? 'showing' : 'hidden';\n }\n };\n return SubtitleTrackController;\n}(event_handler_1.default));\nexports.default = SubtitleTrackController;\n\n\n/***/ }),\n\n/***/ \"./src/controller/timeline-controller.js\":\n/*!***********************************************!*\\\n !*** ./src/controller/timeline-controller.js ***!\n \\***********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Timeline Controller\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar cea_608_parser_1 = __webpack_require__(/*! ../utils/cea-608-parser */ \"./src/utils/cea-608-parser.js\");\nvar output_filter_1 = __webpack_require__(/*! ../utils/output-filter */ \"./src/utils/output-filter.js\");\nvar webvtt_parser_1 = __webpack_require__(/*! ../utils/webvtt-parser */ \"./src/utils/webvtt-parser.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar texttrack_utils_1 = __webpack_require__(/*! ../utils/texttrack-utils */ \"./src/utils/texttrack-utils.js\");\nfunction canReuseVttTextTrack(inUseTrack, manifestTrack) {\n return inUseTrack && inUseTrack.label === manifestTrack.name && !(inUseTrack.textTrack1 || inUseTrack.textTrack2);\n}\nfunction intersection(x1, x2, y1, y2) {\n return Math.min(x2, y2) - Math.max(x1, y1);\n}\nvar TimelineController = /** @class */ (function (_super) {\n __extends(TimelineController, _super);\n function TimelineController(hls) {\n var _this = _super.call(this, hls, events_1.default.MEDIA_ATTACHING, events_1.default.MEDIA_DETACHING, events_1.default.FRAG_PARSING_USERDATA, events_1.default.FRAG_DECRYPTED, events_1.default.MANIFEST_LOADING, events_1.default.MANIFEST_LOADED, events_1.default.FRAG_LOADED, events_1.default.LEVEL_SWITCHING, events_1.default.INIT_PTS_FOUND) || this;\n _this.hls = hls;\n _this.config = hls.config;\n _this.enabled = true;\n _this.Cues = hls.config.cueHandler;\n _this.textTracks = [];\n _this.tracks = [];\n _this.unparsedVttFrags = [];\n _this.initPTS = [];\n _this.cueRanges = [];\n _this.captionsTracks = {};\n _this.captionsProperties = {\n textTrack1: {\n label: _this.config.captionsTextTrack1Label,\n languageCode: _this.config.captionsTextTrack1LanguageCode\n },\n textTrack2: {\n label: _this.config.captionsTextTrack2Label,\n languageCode: _this.config.captionsTextTrack2LanguageCode\n }\n };\n if (_this.config.enableCEA708Captions) {\n var channel1 = new output_filter_1.default(_this, 'textTrack1');\n var channel2 = new output_filter_1.default(_this, 'textTrack2');\n _this.cea608Parser = new cea_608_parser_1.default(0, channel1, channel2);\n }\n return _this;\n }\n TimelineController.prototype.addCues = function (trackName, startTime, endTime, screen) {\n // skip cues which overlap more than 50% with previously parsed time ranges\n var ranges = this.cueRanges;\n var merged = false;\n for (var i = ranges.length; i--;) {\n var cueRange = ranges[i];\n var overlap = intersection(cueRange[0], cueRange[1], startTime, endTime);\n if (overlap >= 0) {\n cueRange[0] = Math.min(cueRange[0], startTime);\n cueRange[1] = Math.max(cueRange[1], endTime);\n merged = true;\n if ((overlap / (endTime - startTime)) > 0.5) {\n return;\n }\n }\n }\n if (!merged) {\n ranges.push([startTime, endTime]);\n }\n this.Cues.newCue(this.captionsTracks[trackName], startTime, endTime, screen);\n };\n // Triggered when an initial PTS is found; used for synchronisation of WebVTT.\n TimelineController.prototype.onInitPtsFound = function (data) {\n var _this = this;\n if (data.id === 'main') {\n this.initPTS[data.frag.cc] = data.initPTS;\n }\n // Due to asynchronous processing, initial PTS may arrive later than the first VTT fragments are loaded.\n // Parse any unparsed fragments upon receiving the initial PTS.\n if (this.unparsedVttFrags.length) {\n var unparsedVttFrags = this.unparsedVttFrags;\n this.unparsedVttFrags = [];\n unparsedVttFrags.forEach(function (frag) {\n _this.onFragLoaded(frag);\n });\n }\n };\n TimelineController.prototype.getExistingTrack = function (trackName) {\n var media = this.media;\n if (media) {\n for (var i = 0; i < media.textTracks.length; i++) {\n var textTrack = media.textTracks[i];\n if (textTrack[trackName]) {\n return textTrack;\n }\n }\n }\n return null;\n };\n TimelineController.prototype.createCaptionsTrack = function (trackName) {\n var _a = this.captionsProperties[trackName], label = _a.label, languageCode = _a.languageCode;\n var captionsTracks = this.captionsTracks;\n if (!captionsTracks[trackName]) {\n // Enable reuse of existing text track.\n var existingTrack = this.getExistingTrack(trackName);\n if (!existingTrack) {\n var textTrack = this.createTextTrack('captions', label, languageCode);\n if (textTrack) {\n // Set a special property on the track so we know it's managed by Hls.js\n textTrack[trackName] = true;\n captionsTracks[trackName] = textTrack;\n }\n }\n else {\n captionsTracks[trackName] = existingTrack;\n texttrack_utils_1.clearCurrentCues(captionsTracks[trackName]);\n texttrack_utils_1.sendAddTrackEvent(captionsTracks[trackName], this.media);\n }\n }\n };\n TimelineController.prototype.createTextTrack = function (kind, label, lang) {\n var media = this.media;\n if (media) {\n return media.addTextTrack(kind, label, lang);\n }\n };\n TimelineController.prototype.destroy = function () {\n event_handler_1.default.prototype.destroy.call(this);\n };\n TimelineController.prototype.onMediaAttaching = function (data) {\n this.media = data.media;\n this._cleanTracks();\n };\n TimelineController.prototype.onMediaDetaching = function () {\n var captionsTracks = this.captionsTracks;\n Object.keys(captionsTracks).forEach(function (trackName) {\n texttrack_utils_1.clearCurrentCues(captionsTracks[trackName]);\n delete captionsTracks[trackName];\n });\n };\n TimelineController.prototype.onManifestLoading = function () {\n this.lastSn = -1; // Detect discontiguity in fragment parsing\n this.prevCC = -1;\n this.vttCCs = {\n ccOffset: 0,\n presentationOffset: 0,\n 0: {\n start: 0, prevCC: -1, new: false\n }\n };\n this._cleanTracks();\n };\n TimelineController.prototype._cleanTracks = function () {\n // clear outdated subtitles\n var media = this.media;\n if (media) {\n var textTracks = media.textTracks;\n if (textTracks) {\n for (var i = 0; i < textTracks.length; i++) {\n texttrack_utils_1.clearCurrentCues(textTracks[i]);\n }\n }\n }\n };\n TimelineController.prototype.onManifestLoaded = function (data) {\n var _this = this;\n this.textTracks = [];\n this.unparsedVttFrags = this.unparsedVttFrags || [];\n this.initPTS = [];\n this.cueRanges = [];\n if (this.config.enableWebVTT) {\n this.tracks = data.subtitles || [];\n var inUseTracks_1 = this.media ? this.media.textTracks : [];\n this.tracks.forEach(function (track, index) {\n var textTrack;\n if (index < inUseTracks_1.length) {\n var inUseTrack = [].slice.call(inUseTracks_1).find(function (inUseTrack) { return canReuseVttTextTrack(inUseTrack, track); });\n // Reuse tracks with the same label, but do not reuse 608/708 tracks\n if (inUseTrack) {\n textTrack = inUseTrack;\n }\n }\n if (!textTrack) {\n textTrack = _this.createTextTrack('subtitles', track.name, track.lang);\n }\n if (track.default) {\n textTrack.mode = _this.hls.subtitleDisplay ? 'showing' : 'hidden';\n }\n else {\n textTrack.mode = 'disabled';\n }\n _this.textTracks.push(textTrack);\n });\n }\n };\n TimelineController.prototype.onLevelSwitching = function () {\n this.enabled = this.hls.currentLevel.closedCaptions !== 'NONE';\n };\n TimelineController.prototype.onFragLoaded = function (data) {\n var frag = data.frag, payload = data.payload;\n if (frag.type === 'main') {\n var sn = frag.sn;\n // if this frag isn't contiguous, clear the parser so cues with bad start/end times aren't added to the textTrack\n if (sn !== this.lastSn + 1) {\n var cea608Parser = this.cea608Parser;\n if (cea608Parser) {\n cea608Parser.reset();\n }\n }\n this.lastSn = sn;\n } // eslint-disable-line brace-style\n // If fragment is subtitle type, parse as WebVTT.\n else if (frag.type === 'subtitle') {\n if (payload.byteLength) {\n // We need an initial synchronisation PTS. Store fragments as long as none has arrived.\n if (!Number.isFinite(this.initPTS[frag.cc])) {\n this.unparsedVttFrags.push(data);\n if (this.initPTS.length) {\n // finish unsuccessfully, otherwise the subtitle-stream-controller could be blocked from loading new frags.\n this.hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n }\n return;\n }\n var decryptData = frag.decryptdata;\n // If the subtitles are not encrypted, parse VTTs now. Otherwise, we need to wait.\n if ((decryptData == null) || (decryptData.key == null) || (decryptData.method !== 'AES-128')) {\n this._parseVTTs(frag, payload);\n }\n }\n else {\n // In case there is no payload, finish unsuccessfully.\n this.hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n }\n }\n };\n TimelineController.prototype._parseVTTs = function (frag, payload) {\n var vttCCs = this.vttCCs;\n if (!vttCCs[frag.cc]) {\n vttCCs[frag.cc] = { start: frag.start, prevCC: this.prevCC, new: true };\n this.prevCC = frag.cc;\n }\n var textTracks = this.textTracks, hls = this.hls;\n // Parse the WebVTT file contents.\n webvtt_parser_1.default.parse(payload, this.initPTS[frag.cc], vttCCs, frag.cc, function (cues) {\n var currentTrack = textTracks[frag.trackId];\n // WebVTTParser.parse is an async method and if the currently selected text track mode is set to \"disabled\"\n // before parsing is done then don't try to access currentTrack.cues.getCueById as cues will be null\n // and trying to access getCueById method of cues will throw an exception\n if (currentTrack.mode === 'disabled') {\n hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n return;\n }\n // Add cues and trigger event with success true.\n cues.forEach(function (cue) {\n // Sometimes there are cue overlaps on segmented vtts so the same\n // cue can appear more than once in different vtt files.\n // This avoid showing duplicated cues with same timecode and text.\n if (!currentTrack.cues.getCueById(cue.id)) {\n try {\n currentTrack.addCue(cue);\n }\n catch (err) {\n var textTrackCue = new window.TextTrackCue(cue.startTime, cue.endTime, cue.text);\n textTrackCue.id = cue.id;\n currentTrack.addCue(textTrackCue);\n }\n }\n });\n hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: true, frag: frag });\n }, function (e) {\n // Something went wrong while parsing. Trigger event with success false.\n logger_1.logger.log(\"Failed to parse VTT cue: \" + e);\n hls.trigger(events_1.default.SUBTITLE_FRAG_PROCESSED, { success: false, frag: frag });\n });\n };\n TimelineController.prototype.onFragDecrypted = function (data) {\n var decryptedData = data.payload, frag = data.frag;\n if (frag.type === 'subtitle') {\n if (!Number.isFinite(this.initPTS[frag.cc])) {\n this.unparsedVttFrags.push(data);\n return;\n }\n this._parseVTTs(frag, decryptedData);\n }\n };\n TimelineController.prototype.onFragParsingUserdata = function (data) {\n // push all of the CEA-708 messages into the interpreter\n // immediately. It will create the proper timestamps based on our PTS value\n if (this.enabled && this.config.enableCEA708Captions) {\n for (var i = 0; i < data.samples.length; i++) {\n var ccdatas = this.extractCea608Data(data.samples[i].bytes);\n this.cea608Parser.addData(data.samples[i].pts, ccdatas);\n }\n }\n };\n TimelineController.prototype.extractCea608Data = function (byteArray) {\n var count = byteArray[0] & 31;\n var position = 2;\n var tmpByte, ccbyte1, ccbyte2, ccValid, ccType;\n var actualCCBytes = [];\n for (var j = 0; j < count; j++) {\n tmpByte = byteArray[position++];\n ccbyte1 = 0x7F & byteArray[position++];\n ccbyte2 = 0x7F & byteArray[position++];\n ccValid = (4 & tmpByte) !== 0;\n ccType = 3 & tmpByte;\n if (ccbyte1 === 0 && ccbyte2 === 0) {\n continue;\n }\n if (ccValid) {\n if (ccType === 0) { // || ccType === 1\n actualCCBytes.push(ccbyte1);\n actualCCBytes.push(ccbyte2);\n }\n }\n }\n return actualCCBytes;\n };\n return TimelineController;\n}(event_handler_1.default));\nexports.default = TimelineController;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/crypt/aes-crypto.js\":\n/*!*********************************!*\\\n !*** ./src/crypt/aes-crypto.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AESCrypto = /** @class */ (function () {\n function AESCrypto(subtle, iv) {\n this.subtle = subtle;\n this.aesIV = iv;\n }\n AESCrypto.prototype.decrypt = function (data, key) {\n return this.subtle.decrypt({ name: 'AES-CBC', iv: this.aesIV }, key, data);\n };\n return AESCrypto;\n}());\nexports.default = AESCrypto;\n\n\n/***/ }),\n\n/***/ \"./src/crypt/aes-decryptor.js\":\n/*!************************************!*\\\n !*** ./src/crypt/aes-decryptor.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// PKCS7\nfunction removePadding(buffer) {\n var outputBytes = buffer.byteLength;\n var paddingBytes = outputBytes && (new DataView(buffer)).getUint8(outputBytes - 1);\n if (paddingBytes) {\n return buffer.slice(0, outputBytes - paddingBytes);\n }\n else {\n return buffer;\n }\n}\nexports.removePadding = removePadding;\nvar AESDecryptor = /** @class */ (function () {\n function AESDecryptor() {\n // Static after running initTable\n this.rcon = [0x0, 0x1, 0x2, 0x4, 0x8, 0x10, 0x20, 0x40, 0x80, 0x1b, 0x36];\n this.subMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)];\n this.invSubMix = [new Uint32Array(256), new Uint32Array(256), new Uint32Array(256), new Uint32Array(256)];\n this.sBox = new Uint32Array(256);\n this.invSBox = new Uint32Array(256);\n // Changes during runtime\n this.key = new Uint32Array(0);\n this.initTable();\n }\n // Using view.getUint32() also swaps the byte order.\n AESDecryptor.prototype.uint8ArrayToUint32Array_ = function (arrayBuffer) {\n var view = new DataView(arrayBuffer);\n var newArray = new Uint32Array(4);\n for (var i = 0; i < 4; i++) {\n newArray[i] = view.getUint32(i * 4);\n }\n return newArray;\n };\n AESDecryptor.prototype.initTable = function () {\n var sBox = this.sBox;\n var invSBox = this.invSBox;\n var subMix = this.subMix;\n var subMix0 = subMix[0];\n var subMix1 = subMix[1];\n var subMix2 = subMix[2];\n var subMix3 = subMix[3];\n var invSubMix = this.invSubMix;\n var invSubMix0 = invSubMix[0];\n var invSubMix1 = invSubMix[1];\n var invSubMix2 = invSubMix[2];\n var invSubMix3 = invSubMix[3];\n var d = new Uint32Array(256);\n var x = 0;\n var xi = 0;\n var i = 0;\n for (i = 0; i < 256; i++) {\n if (i < 128) {\n d[i] = i << 1;\n }\n else {\n d[i] = (i << 1) ^ 0x11b;\n }\n }\n for (i = 0; i < 256; i++) {\n var sx = xi ^ (xi << 1) ^ (xi << 2) ^ (xi << 3) ^ (xi << 4);\n sx = (sx >>> 8) ^ (sx & 0xff) ^ 0x63;\n sBox[x] = sx;\n invSBox[sx] = x;\n // Compute multiplication\n var x2 = d[x];\n var x4 = d[x2];\n var x8 = d[x4];\n // Compute sub/invSub bytes, mix columns tables\n var t = (d[sx] * 0x101) ^ (sx * 0x1010100);\n subMix0[x] = (t << 24) | (t >>> 8);\n subMix1[x] = (t << 16) | (t >>> 16);\n subMix2[x] = (t << 8) | (t >>> 24);\n subMix3[x] = t;\n // Compute inv sub bytes, inv mix columns tables\n t = (x8 * 0x1010101) ^ (x4 * 0x10001) ^ (x2 * 0x101) ^ (x * 0x1010100);\n invSubMix0[sx] = (t << 24) | (t >>> 8);\n invSubMix1[sx] = (t << 16) | (t >>> 16);\n invSubMix2[sx] = (t << 8) | (t >>> 24);\n invSubMix3[sx] = t;\n // Compute next counter\n if (!x) {\n x = xi = 1;\n }\n else {\n x = x2 ^ d[d[d[x8 ^ x2]]];\n xi ^= d[d[xi]];\n }\n }\n };\n AESDecryptor.prototype.expandKey = function (keyBuffer) {\n // convert keyBuffer to Uint32Array\n var key = this.uint8ArrayToUint32Array_(keyBuffer);\n var sameKey = true;\n var offset = 0;\n while (offset < key.length && sameKey) {\n sameKey = (key[offset] === this.key[offset]);\n offset++;\n }\n if (sameKey) {\n return;\n }\n this.key = key;\n var keySize = this.keySize = key.length;\n if (keySize !== 4 && keySize !== 6 && keySize !== 8) {\n throw new Error('Invalid aes key size=' + keySize);\n }\n var ksRows = this.ksRows = (keySize + 6 + 1) * 4;\n var ksRow;\n var invKsRow;\n var keySchedule = this.keySchedule = new Uint32Array(ksRows);\n var invKeySchedule = this.invKeySchedule = new Uint32Array(ksRows);\n var sbox = this.sBox;\n var rcon = this.rcon;\n var invSubMix = this.invSubMix;\n var invSubMix0 = invSubMix[0];\n var invSubMix1 = invSubMix[1];\n var invSubMix2 = invSubMix[2];\n var invSubMix3 = invSubMix[3];\n var prev;\n var t;\n for (ksRow = 0; ksRow < ksRows; ksRow++) {\n if (ksRow < keySize) {\n prev = keySchedule[ksRow] = key[ksRow];\n continue;\n }\n t = prev;\n if (ksRow % keySize === 0) {\n // Rot word\n t = (t << 8) | (t >>> 24);\n // Sub word\n t = (sbox[t >>> 24] << 24) | (sbox[(t >>> 16) & 0xff] << 16) | (sbox[(t >>> 8) & 0xff] << 8) | sbox[t & 0xff];\n // Mix Rcon\n t ^= rcon[(ksRow / keySize) | 0] << 24;\n }\n else if (keySize > 6 && ksRow % keySize === 4) {\n // Sub word\n t = (sbox[t >>> 24] << 24) | (sbox[(t >>> 16) & 0xff] << 16) | (sbox[(t >>> 8) & 0xff] << 8) | sbox[t & 0xff];\n }\n keySchedule[ksRow] = prev = (keySchedule[ksRow - keySize] ^ t) >>> 0;\n }\n for (invKsRow = 0; invKsRow < ksRows; invKsRow++) {\n ksRow = ksRows - invKsRow;\n if (invKsRow & 3) {\n t = keySchedule[ksRow];\n }\n else {\n t = keySchedule[ksRow - 4];\n }\n if (invKsRow < 4 || ksRow <= 4) {\n invKeySchedule[invKsRow] = t;\n }\n else {\n invKeySchedule[invKsRow] = invSubMix0[sbox[t >>> 24]] ^ invSubMix1[sbox[(t >>> 16) & 0xff]] ^ invSubMix2[sbox[(t >>> 8) & 0xff]] ^ invSubMix3[sbox[t & 0xff]];\n }\n invKeySchedule[invKsRow] = invKeySchedule[invKsRow] >>> 0;\n }\n };\n // Adding this as a method greatly improves performance.\n AESDecryptor.prototype.networkToHostOrderSwap = function (word) {\n return (word << 24) | ((word & 0xff00) << 8) | ((word & 0xff0000) >> 8) | (word >>> 24);\n };\n AESDecryptor.prototype.decrypt = function (inputArrayBuffer, offset, aesIV, removePKCS7Padding) {\n var nRounds = this.keySize + 6;\n var invKeySchedule = this.invKeySchedule;\n var invSBOX = this.invSBox;\n var invSubMix = this.invSubMix;\n var invSubMix0 = invSubMix[0];\n var invSubMix1 = invSubMix[1];\n var invSubMix2 = invSubMix[2];\n var invSubMix3 = invSubMix[3];\n var initVector = this.uint8ArrayToUint32Array_(aesIV);\n var initVector0 = initVector[0];\n var initVector1 = initVector[1];\n var initVector2 = initVector[2];\n var initVector3 = initVector[3];\n var inputInt32 = new Int32Array(inputArrayBuffer);\n var outputInt32 = new Int32Array(inputInt32.length);\n var t0, t1, t2, t3;\n var s0, s1, s2, s3;\n var inputWords0, inputWords1, inputWords2, inputWords3;\n var ksRow, i;\n var swapWord = this.networkToHostOrderSwap;\n while (offset < inputInt32.length) {\n inputWords0 = swapWord(inputInt32[offset]);\n inputWords1 = swapWord(inputInt32[offset + 1]);\n inputWords2 = swapWord(inputInt32[offset + 2]);\n inputWords3 = swapWord(inputInt32[offset + 3]);\n s0 = inputWords0 ^ invKeySchedule[0];\n s1 = inputWords3 ^ invKeySchedule[1];\n s2 = inputWords2 ^ invKeySchedule[2];\n s3 = inputWords1 ^ invKeySchedule[3];\n ksRow = 4;\n // Iterate through the rounds of decryption\n for (i = 1; i < nRounds; i++) {\n t0 = invSubMix0[s0 >>> 24] ^ invSubMix1[(s1 >> 16) & 0xff] ^ invSubMix2[(s2 >> 8) & 0xff] ^ invSubMix3[s3 & 0xff] ^ invKeySchedule[ksRow];\n t1 = invSubMix0[s1 >>> 24] ^ invSubMix1[(s2 >> 16) & 0xff] ^ invSubMix2[(s3 >> 8) & 0xff] ^ invSubMix3[s0 & 0xff] ^ invKeySchedule[ksRow + 1];\n t2 = invSubMix0[s2 >>> 24] ^ invSubMix1[(s3 >> 16) & 0xff] ^ invSubMix2[(s0 >> 8) & 0xff] ^ invSubMix3[s1 & 0xff] ^ invKeySchedule[ksRow + 2];\n t3 = invSubMix0[s3 >>> 24] ^ invSubMix1[(s0 >> 16) & 0xff] ^ invSubMix2[(s1 >> 8) & 0xff] ^ invSubMix3[s2 & 0xff] ^ invKeySchedule[ksRow + 3];\n // Update state\n s0 = t0;\n s1 = t1;\n s2 = t2;\n s3 = t3;\n ksRow = ksRow + 4;\n }\n // Shift rows, sub bytes, add round key\n t0 = ((invSBOX[s0 >>> 24] << 24) ^ (invSBOX[(s1 >> 16) & 0xff] << 16) ^ (invSBOX[(s2 >> 8) & 0xff] << 8) ^ invSBOX[s3 & 0xff]) ^ invKeySchedule[ksRow];\n t1 = ((invSBOX[s1 >>> 24] << 24) ^ (invSBOX[(s2 >> 16) & 0xff] << 16) ^ (invSBOX[(s3 >> 8) & 0xff] << 8) ^ invSBOX[s0 & 0xff]) ^ invKeySchedule[ksRow + 1];\n t2 = ((invSBOX[s2 >>> 24] << 24) ^ (invSBOX[(s3 >> 16) & 0xff] << 16) ^ (invSBOX[(s0 >> 8) & 0xff] << 8) ^ invSBOX[s1 & 0xff]) ^ invKeySchedule[ksRow + 2];\n t3 = ((invSBOX[s3 >>> 24] << 24) ^ (invSBOX[(s0 >> 16) & 0xff] << 16) ^ (invSBOX[(s1 >> 8) & 0xff] << 8) ^ invSBOX[s2 & 0xff]) ^ invKeySchedule[ksRow + 3];\n ksRow = ksRow + 3;\n // Write\n outputInt32[offset] = swapWord(t0 ^ initVector0);\n outputInt32[offset + 1] = swapWord(t3 ^ initVector1);\n outputInt32[offset + 2] = swapWord(t2 ^ initVector2);\n outputInt32[offset + 3] = swapWord(t1 ^ initVector3);\n // reset initVector to last 4 unsigned int\n initVector0 = inputWords0;\n initVector1 = inputWords1;\n initVector2 = inputWords2;\n initVector3 = inputWords3;\n offset = offset + 4;\n }\n return removePKCS7Padding ? removePadding(outputInt32.buffer) : outputInt32.buffer;\n };\n AESDecryptor.prototype.destroy = function () {\n this.key = undefined;\n this.keySize = undefined;\n this.ksRows = undefined;\n this.sBox = undefined;\n this.invSBox = undefined;\n this.subMix = undefined;\n this.invSubMix = undefined;\n this.keySchedule = undefined;\n this.invKeySchedule = undefined;\n this.rcon = undefined;\n };\n return AESDecryptor;\n}());\nexports.default = AESDecryptor;\n\n\n/***/ }),\n\n/***/ \"./src/crypt/decrypter.js\":\n/*!********************************!*\\\n !*** ./src/crypt/decrypter.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar aes_crypto_1 = __webpack_require__(/*! ./aes-crypto */ \"./src/crypt/aes-crypto.js\");\nvar fast_aes_key_1 = __webpack_require__(/*! ./fast-aes-key */ \"./src/crypt/fast-aes-key.js\");\nvar aes_decryptor_1 = __webpack_require__(/*! ./aes-decryptor */ \"./src/crypt/aes-decryptor.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\n// see https://stackoverflow.com/a/11237259/589493\nvar global = get_self_scope_1.getSelfScope(); // safeguard for code that might run both on worker and main thread\nvar Decrypter = /** @class */ (function () {\n function Decrypter(observer, config, _a) {\n var _b = (_a === void 0 ? {} : _a).removePKCS7Padding, removePKCS7Padding = _b === void 0 ? true : _b;\n this.logEnabled = true;\n this.observer = observer;\n this.config = config;\n this.removePKCS7Padding = removePKCS7Padding;\n // built in decryptor expects PKCS7 padding\n if (removePKCS7Padding) {\n try {\n var browserCrypto = global.crypto;\n if (browserCrypto) {\n this.subtle = browserCrypto.subtle || browserCrypto.webkitSubtle;\n }\n }\n catch (e) { }\n }\n this.disableWebCrypto = !this.subtle;\n }\n Decrypter.prototype.isSync = function () {\n return (this.disableWebCrypto && this.config.enableSoftwareAES);\n };\n Decrypter.prototype.decrypt = function (data, key, iv, callback) {\n var _this = this;\n if (this.disableWebCrypto && this.config.enableSoftwareAES) {\n if (this.logEnabled) {\n logger_1.logger.log('JS AES decrypt');\n this.logEnabled = false;\n }\n var decryptor = this.decryptor;\n if (!decryptor) {\n this.decryptor = decryptor = new aes_decryptor_1.default();\n }\n decryptor.expandKey(key);\n callback(decryptor.decrypt(data, 0, iv, this.removePKCS7Padding));\n }\n else {\n if (this.logEnabled) {\n logger_1.logger.log('WebCrypto AES decrypt');\n this.logEnabled = false;\n }\n var subtle_1 = this.subtle;\n if (this.key !== key) {\n this.key = key;\n this.fastAesKey = new fast_aes_key_1.default(subtle_1, key);\n }\n this.fastAesKey.expandKey()\n .then(function (aesKey) {\n // decrypt using web crypto\n var crypto = new aes_crypto_1.default(subtle_1, iv);\n crypto.decrypt(data, aesKey)\n .catch(function (err) {\n _this.onWebCryptoError(err, data, key, iv, callback);\n })\n .then(function (result) {\n callback(result);\n });\n })\n .catch(function (err) {\n _this.onWebCryptoError(err, data, key, iv, callback);\n });\n }\n };\n Decrypter.prototype.onWebCryptoError = function (err, data, key, iv, callback) {\n if (this.config.enableSoftwareAES) {\n logger_1.logger.log('WebCrypto Error, disable WebCrypto API');\n this.disableWebCrypto = true;\n this.logEnabled = true;\n this.decrypt(data, key, iv, callback);\n }\n else {\n logger_1.logger.error(\"decrypting error : \" + err.message);\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_DECRYPT_ERROR, fatal: true, reason: err.message });\n }\n };\n Decrypter.prototype.destroy = function () {\n var decryptor = this.decryptor;\n if (decryptor) {\n decryptor.destroy();\n this.decryptor = undefined;\n }\n };\n return Decrypter;\n}());\nexports.default = Decrypter;\n\n\n/***/ }),\n\n/***/ \"./src/crypt/fast-aes-key.js\":\n/*!***********************************!*\\\n !*** ./src/crypt/fast-aes-key.js ***!\n \\***********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar FastAESKey = /** @class */ (function () {\n function FastAESKey(subtle, key) {\n this.subtle = subtle;\n this.key = key;\n }\n FastAESKey.prototype.expandKey = function () {\n return this.subtle.importKey('raw', this.key, { name: 'AES-CBC' }, false, ['encrypt', 'decrypt']);\n };\n return FastAESKey;\n}());\nexports.default = FastAESKey;\n\n\n/***/ }),\n\n/***/ \"./src/demux/aacdemuxer.js\":\n/*!*********************************!*\\\n !*** ./src/demux/aacdemuxer.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * AAC demuxer\n */\nvar ADTS = __webpack_require__(/*! ./adts */ \"./src/demux/adts.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\nvar AACDemuxer = /** @class */ (function () {\n function AACDemuxer(observer, remuxer, config) {\n this.observer = observer;\n this.config = config;\n this.remuxer = remuxer;\n }\n AACDemuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n this._audioTrack = { container: 'audio/adts', type: 'audio', id: 0, sequenceNumber: 0, isAAC: true, samples: [], len: 0, manifestCodec: audioCodec, duration: duration, inputTimeScale: 90000 };\n };\n AACDemuxer.prototype.resetTimeStamp = function () {\n };\n AACDemuxer.probe = function (data) {\n if (!data) {\n return false;\n }\n // Check for the ADTS sync word\n // Look for ADTS header | 1111 1111 | 1111 X00X | where X can be either 0 or 1\n // Layer bits (position 14 and 15) in header should be always 0 for ADTS\n // More info https://wiki.multimedia.cx/index.php?title=ADTS\n var id3Data = id3_1.default.getID3Data(data, 0) || [];\n var offset = id3Data.length;\n for (var length_1 = data.length; offset < length_1; offset++) {\n if (ADTS.probe(data, offset)) {\n logger_1.logger.log('ADTS sync word found !');\n return true;\n }\n }\n return false;\n };\n // feed incoming data to the front of the parsing pipeline\n AACDemuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var track = this._audioTrack;\n var id3Data = id3_1.default.getID3Data(data, 0) || [];\n var timestamp = id3_1.default.getTimeStamp(id3Data);\n var pts = Number.isFinite(timestamp) ? timestamp * 90 : timeOffset * 90000;\n var frameIndex = 0;\n var stamp = pts;\n var length = data.length;\n var offset = id3Data.length;\n var id3Samples = [{ pts: stamp, dts: stamp, data: id3Data }];\n while (offset < length - 1) {\n if (ADTS.isHeader(data, offset) && (offset + 5) < length) {\n ADTS.initTrackConfig(track, this.observer, data, offset, track.manifestCodec);\n var frame = ADTS.appendFrame(track, data, offset, pts, frameIndex);\n if (frame) {\n offset += frame.length;\n stamp = frame.sample.pts;\n frameIndex++;\n }\n else {\n logger_1.logger.log('Unable to parse AAC frame');\n break;\n }\n }\n else if (id3_1.default.isHeader(data, offset)) {\n id3Data = id3_1.default.getID3Data(data, offset);\n id3Samples.push({ pts: stamp, dts: stamp, data: id3Data });\n offset += id3Data.length;\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n this.remuxer.remux(track, { samples: [] }, { samples: id3Samples, inputTimeScale: 90000 }, { samples: [] }, timeOffset, contiguous, accurateTimeOffset);\n };\n AACDemuxer.prototype.destroy = function () {\n };\n return AACDemuxer;\n}());\nexports.default = AACDemuxer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/demux/adts.js\":\n/*!***************************!*\\\n !*** ./src/demux/adts.js ***!\n \\***************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * ADTS parser helper\n */\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nfunction getAudioConfig(observer, data, offset, audioCodec) {\n var adtsObjectType, // :int\n adtsSampleingIndex, // :int\n adtsExtensionSampleingIndex, // :int\n adtsChanelConfig, // :int\n config, userAgent = navigator.userAgent.toLowerCase(), manifestCodec = audioCodec, adtsSampleingRates = [\n 96000, 88200,\n 64000, 48000,\n 44100, 32000,\n 24000, 22050,\n 16000, 12000,\n 11025, 8000,\n 7350\n ];\n // byte 2\n adtsObjectType = ((data[offset + 2] & 0xC0) >>> 6) + 1;\n adtsSampleingIndex = ((data[offset + 2] & 0x3C) >>> 2);\n if (adtsSampleingIndex > adtsSampleingRates.length - 1) {\n observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: true, reason: \"invalid ADTS sampling index:\" + adtsSampleingIndex });\n return;\n }\n adtsChanelConfig = ((data[offset + 2] & 0x01) << 2);\n // byte 3\n adtsChanelConfig |= ((data[offset + 3] & 0xC0) >>> 6);\n logger_1.logger.log(\"manifest codec:\" + audioCodec + \",ADTS data:type:\" + adtsObjectType + \",sampleingIndex:\" + adtsSampleingIndex + \"[\" + adtsSampleingRates[adtsSampleingIndex] + \"Hz],channelConfig:\" + adtsChanelConfig);\n // firefox: freq less than 24kHz = AAC SBR (HE-AAC)\n if (/firefox/i.test(userAgent)) {\n if (adtsSampleingIndex >= 6) {\n adtsObjectType = 5;\n config = new Array(4);\n // HE-AAC uses SBR (Spectral Band Replication) , high frequencies are constructed from low frequencies\n // there is a factor 2 between frame sample rate and output sample rate\n // multiply frequency by 2 (see table below, equivalent to substract 3)\n adtsExtensionSampleingIndex = adtsSampleingIndex - 3;\n }\n else {\n adtsObjectType = 2;\n config = new Array(2);\n adtsExtensionSampleingIndex = adtsSampleingIndex;\n }\n // Android : always use AAC\n }\n else if (userAgent.indexOf('android') !== -1) {\n adtsObjectType = 2;\n config = new Array(2);\n adtsExtensionSampleingIndex = adtsSampleingIndex;\n }\n else {\n /* for other browsers (Chrome/Vivaldi/Opera ...)\n always force audio type to be HE-AAC SBR, as some browsers do not support audio codec switch properly (like Chrome ...)\n */\n adtsObjectType = 5;\n config = new Array(4);\n // if (manifest codec is HE-AAC or HE-AACv2) OR (manifest codec not specified AND frequency less than 24kHz)\n if ((audioCodec && ((audioCodec.indexOf('mp4a.40.29') !== -1) ||\n (audioCodec.indexOf('mp4a.40.5') !== -1))) ||\n (!audioCodec && adtsSampleingIndex >= 6)) {\n // HE-AAC uses SBR (Spectral Band Replication) , high frequencies are constructed from low frequencies\n // there is a factor 2 between frame sample rate and output sample rate\n // multiply frequency by 2 (see table below, equivalent to substract 3)\n adtsExtensionSampleingIndex = adtsSampleingIndex - 3;\n }\n else {\n // if (manifest codec is AAC) AND (frequency less than 24kHz AND nb channel is 1) OR (manifest codec not specified and mono audio)\n // Chrome fails to play back with low frequency AAC LC mono when initialized with HE-AAC. This is not a problem with stereo.\n if (audioCodec && audioCodec.indexOf('mp4a.40.2') !== -1 && ((adtsSampleingIndex >= 6 && adtsChanelConfig === 1) ||\n /vivaldi/i.test(userAgent)) ||\n (!audioCodec && adtsChanelConfig === 1)) {\n adtsObjectType = 2;\n config = new Array(2);\n }\n adtsExtensionSampleingIndex = adtsSampleingIndex;\n }\n }\n /* refer to http://wiki.multimedia.cx/index.php?title=MPEG-4_Audio#Audio_Specific_Config\n ISO 14496-3 (AAC).pdf - Table 1.13 — Syntax of AudioSpecificConfig()\n Audio Profile / Audio Object Type\n 0: Null\n 1: AAC Main\n 2: AAC LC (Low Complexity)\n 3: AAC SSR (Scalable Sample Rate)\n 4: AAC LTP (Long Term Prediction)\n 5: SBR (Spectral Band Replication)\n 6: AAC Scalable\n sampling freq\n 0: 96000 Hz\n 1: 88200 Hz\n 2: 64000 Hz\n 3: 48000 Hz\n 4: 44100 Hz\n 5: 32000 Hz\n 6: 24000 Hz\n 7: 22050 Hz\n 8: 16000 Hz\n 9: 12000 Hz\n 10: 11025 Hz\n 11: 8000 Hz\n 12: 7350 Hz\n 13: Reserved\n 14: Reserved\n 15: frequency is written explictly\n Channel Configurations\n These are the channel configurations:\n 0: Defined in AOT Specifc Config\n 1: 1 channel: front-center\n 2: 2 channels: front-left, front-right\n */\n // audioObjectType = profile => profile, the MPEG-4 Audio Object Type minus 1\n config[0] = adtsObjectType << 3;\n // samplingFrequencyIndex\n config[0] |= (adtsSampleingIndex & 0x0E) >> 1;\n config[1] |= (adtsSampleingIndex & 0x01) << 7;\n // channelConfiguration\n config[1] |= adtsChanelConfig << 3;\n if (adtsObjectType === 5) {\n // adtsExtensionSampleingIndex\n config[1] |= (adtsExtensionSampleingIndex & 0x0E) >> 1;\n config[2] = (adtsExtensionSampleingIndex & 0x01) << 7;\n // adtsObjectType (force to 2, chrome is checking that object type is less than 5 ???\n // https://chromium.googlesource.com/chromium/src.git/+/master/media/formats/mp4/aac.cc\n config[2] |= 2 << 2;\n config[3] = 0;\n }\n return { config: config, samplerate: adtsSampleingRates[adtsSampleingIndex], channelCount: adtsChanelConfig, codec: ('mp4a.40.' + adtsObjectType), manifestCodec: manifestCodec };\n}\nexports.getAudioConfig = getAudioConfig;\nfunction isHeaderPattern(data, offset) {\n return data[offset] === 0xff && (data[offset + 1] & 0xf6) === 0xf0;\n}\nexports.isHeaderPattern = isHeaderPattern;\nfunction getHeaderLength(data, offset) {\n return (data[offset + 1] & 0x01 ? 7 : 9);\n}\nexports.getHeaderLength = getHeaderLength;\nfunction getFullFrameLength(data, offset) {\n return ((data[offset + 3] & 0x03) << 11) |\n (data[offset + 4] << 3) |\n ((data[offset + 5] & 0xE0) >>> 5);\n}\nexports.getFullFrameLength = getFullFrameLength;\nfunction isHeader(data, offset) {\n // Look for ADTS header | 1111 1111 | 1111 X00X | where X can be either 0 or 1\n // Layer bits (position 14 and 15) in header should be always 0 for ADTS\n // More info https://wiki.multimedia.cx/index.php?title=ADTS\n if (offset + 1 < data.length && isHeaderPattern(data, offset)) {\n return true;\n }\n return false;\n}\nexports.isHeader = isHeader;\nfunction probe(data, offset) {\n // same as isHeader but we also check that ADTS frame follows last ADTS frame\n // or end of data is reached\n if (offset + 1 < data.length && isHeaderPattern(data, offset)) {\n // ADTS header Length\n var headerLength = getHeaderLength(data, offset);\n // ADTS frame Length\n var frameLength = headerLength;\n if (offset + 5 < data.length) {\n frameLength = getFullFrameLength(data, offset);\n }\n var newOffset = offset + frameLength;\n if (newOffset === data.length || (newOffset + 1 < data.length && isHeaderPattern(data, newOffset))) {\n return true;\n }\n }\n return false;\n}\nexports.probe = probe;\nfunction initTrackConfig(track, observer, data, offset, audioCodec) {\n if (!track.samplerate) {\n var config = getAudioConfig(observer, data, offset, audioCodec);\n track.config = config.config;\n track.samplerate = config.samplerate;\n track.channelCount = config.channelCount;\n track.codec = config.codec;\n track.manifestCodec = config.manifestCodec;\n logger_1.logger.log(\"parsed codec:\" + track.codec + \",rate:\" + config.samplerate + \",nb channel:\" + config.channelCount);\n }\n}\nexports.initTrackConfig = initTrackConfig;\nfunction getFrameDuration(samplerate) {\n return 1024 * 90000 / samplerate;\n}\nexports.getFrameDuration = getFrameDuration;\nfunction parseFrameHeader(data, offset, pts, frameIndex, frameDuration) {\n var headerLength, frameLength, stamp;\n var length = data.length;\n // The protection skip bit tells us if we have 2 bytes of CRC data at the end of the ADTS header\n headerLength = getHeaderLength(data, offset);\n // retrieve frame size\n frameLength = getFullFrameLength(data, offset);\n frameLength -= headerLength;\n if ((frameLength > 0) && ((offset + headerLength + frameLength) <= length)) {\n stamp = pts + frameIndex * frameDuration;\n // logger.log(`AAC frame, offset/length/total/pts:${offset+headerLength}/${frameLength}/${data.byteLength}/${(stamp/90).toFixed(0)}`);\n return { headerLength: headerLength, frameLength: frameLength, stamp: stamp };\n }\n return undefined;\n}\nexports.parseFrameHeader = parseFrameHeader;\nfunction appendFrame(track, data, offset, pts, frameIndex) {\n var frameDuration = getFrameDuration(track.samplerate);\n var header = parseFrameHeader(data, offset, pts, frameIndex, frameDuration);\n if (header) {\n var stamp = header.stamp;\n var headerLength = header.headerLength;\n var frameLength = header.frameLength;\n // logger.log(`AAC frame, offset/length/total/pts:${offset+headerLength}/${frameLength}/${data.byteLength}/${(stamp/90).toFixed(0)}`);\n var aacSample = {\n unit: data.subarray(offset + headerLength, offset + headerLength + frameLength),\n pts: stamp,\n dts: stamp\n };\n track.samples.push(aacSample);\n track.len += frameLength;\n return { sample: aacSample, length: frameLength + headerLength };\n }\n return undefined;\n}\nexports.appendFrame = appendFrame;\n\n\n/***/ }),\n\n/***/ \"./src/demux/demuxer-inline.js\":\n/*!*************************************!*\\\n !*** ./src/demux/demuxer-inline.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n *\n * inline demuxer: probe fragments and instantiate\n * appropriate demuxer depending on content type (TSDemuxer, AACDemuxer, ...)\n *\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar decrypter_1 = __webpack_require__(/*! ../crypt/decrypter */ \"./src/crypt/decrypter.js\");\nvar aacdemuxer_1 = __webpack_require__(/*! ../demux/aacdemuxer */ \"./src/demux/aacdemuxer.js\");\nvar mp4demuxer_1 = __webpack_require__(/*! ../demux/mp4demuxer */ \"./src/demux/mp4demuxer.js\");\nvar tsdemuxer_1 = __webpack_require__(/*! ../demux/tsdemuxer */ \"./src/demux/tsdemuxer.js\");\nvar mp3demuxer_1 = __webpack_require__(/*! ../demux/mp3demuxer */ \"./src/demux/mp3demuxer.js\");\nvar mp4_remuxer_1 = __webpack_require__(/*! ../remux/mp4-remuxer */ \"./src/remux/mp4-remuxer.js\");\nvar passthrough_remuxer_1 = __webpack_require__(/*! ../remux/passthrough-remuxer */ \"./src/remux/passthrough-remuxer.js\");\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\n// see https://stackoverflow.com/a/11237259/589493\nvar global = get_self_scope_1.getSelfScope(); // safeguard for code that might run both on worker and main thread\nvar now;\n// performance.now() not available on WebWorker, at least on Safari Desktop\ntry {\n now = global.performance.now.bind(global.performance);\n}\ncatch (err) {\n logger_1.logger.debug('Unable to use Performance API on this environment');\n now = global.Date.now;\n}\nvar DemuxerInline = /** @class */ (function () {\n function DemuxerInline(observer, typeSupported, config, vendor) {\n this.observer = observer;\n this.typeSupported = typeSupported;\n this.config = config;\n this.vendor = vendor;\n }\n DemuxerInline.prototype.destroy = function () {\n var demuxer = this.demuxer;\n if (demuxer) {\n demuxer.destroy();\n }\n };\n DemuxerInline.prototype.push = function (data, decryptdata, initSegment, audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS) {\n var _this = this;\n if ((data.byteLength > 0) && (decryptdata != null) && (decryptdata.key != null) && (decryptdata.method === 'AES-128')) {\n var decrypter = this.decrypter;\n if (decrypter == null) {\n decrypter = this.decrypter = new decrypter_1.default(this.observer, this.config);\n }\n var startTime_1 = now();\n decrypter.decrypt(data, decryptdata.key.buffer, decryptdata.iv.buffer, function (decryptedData) {\n var endTime = now();\n _this.observer.trigger(events_1.default.FRAG_DECRYPTED, { stats: { tstart: startTime_1, tdecrypt: endTime } });\n _this.pushDecrypted(new Uint8Array(decryptedData), decryptdata, new Uint8Array(initSegment), audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS);\n });\n }\n else {\n this.pushDecrypted(new Uint8Array(data), decryptdata, new Uint8Array(initSegment), audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS);\n }\n };\n DemuxerInline.prototype.pushDecrypted = function (data, decryptdata, initSegment, audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS) {\n var demuxer = this.demuxer;\n if (!demuxer ||\n // in case of continuity change, or track switch\n // we might switch from content type (AAC container to TS container, or TS to fmp4 for example)\n // so let's check that current demuxer is still valid\n ((discontinuity || trackSwitch) && !this.probe(data))) {\n var observer = this.observer;\n var typeSupported = this.typeSupported;\n var config = this.config;\n // probing order is TS/AAC/MP3/MP4\n var muxConfig = [\n { demux: tsdemuxer_1.default, remux: mp4_remuxer_1.default },\n { demux: mp4demuxer_1.default, remux: passthrough_remuxer_1.default },\n { demux: aacdemuxer_1.default, remux: mp4_remuxer_1.default },\n { demux: mp3demuxer_1.default, remux: mp4_remuxer_1.default }\n ];\n // probe for content type\n for (var i = 0, len = muxConfig.length; i < len; i++) {\n var mux = muxConfig[i];\n var probe = mux.demux.probe;\n if (probe(data)) {\n var remuxer_1 = this.remuxer = new mux.remux(observer, config, typeSupported, this.vendor);\n demuxer = new mux.demux(observer, remuxer_1, config, typeSupported);\n this.probe = probe;\n break;\n }\n }\n if (!demuxer) {\n observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: true, reason: 'no demux matching with content found' });\n return;\n }\n this.demuxer = demuxer;\n }\n var remuxer = this.remuxer;\n if (discontinuity || trackSwitch) {\n demuxer.resetInitSegment(initSegment, audioCodec, videoCodec, duration);\n remuxer.resetInitSegment();\n }\n if (discontinuity) {\n demuxer.resetTimeStamp(defaultInitPTS);\n remuxer.resetTimeStamp(defaultInitPTS);\n }\n if (typeof demuxer.setDecryptData === 'function') {\n demuxer.setDecryptData(decryptdata);\n }\n demuxer.append(data, timeOffset, contiguous, accurateTimeOffset);\n };\n return DemuxerInline;\n}());\nexports.default = DemuxerInline;\n\n\n/***/ }),\n\n/***/ \"./src/demux/demuxer-worker.js\":\n/*!*************************************!*\\\n !*** ./src/demux/demuxer-worker.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/* demuxer web worker.\n * - listen to worker message, and trigger DemuxerInline upon reception of Fragments.\n * - provides MP4 Boxes back to main thread using [transferable objects](https://developers.google.com/web/updates/2011/12/Transferable-Objects-Lightning-Fast) in order to minimize message passing overhead.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar demuxer_inline_1 = __webpack_require__(/*! ../demux/demuxer-inline */ \"./src/demux/demuxer-inline.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar events_2 = __webpack_require__(/*! events */ \"./node_modules/node-libs-browser/node_modules/events/events.js\");\nvar DemuxerWorker = function (self) {\n // observer setup\n var observer = new events_2.EventEmitter();\n observer.trigger = function trigger(event) {\n var data = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n data[_i - 1] = arguments[_i];\n }\n observer.emit.apply(observer, [event, event].concat(data));\n };\n observer.off = function off(event) {\n var data = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n data[_i - 1] = arguments[_i];\n }\n observer.removeListener.apply(observer, [event].concat(data));\n };\n var forwardMessage = function (ev, data) {\n self.postMessage({ event: ev, data: data });\n };\n self.addEventListener('message', function (ev) {\n var data = ev.data;\n // console.log('demuxer cmd:' + data.cmd);\n switch (data.cmd) {\n case 'init':\n var config = JSON.parse(data.config);\n self.demuxer = new demuxer_inline_1.default(observer, data.typeSupported, config, data.vendor);\n logger_1.enableLogs(config.debug);\n // signal end of worker init\n forwardMessage('init', null);\n break;\n case 'demux':\n self.demuxer.push(data.data, data.decryptdata, data.initSegment, data.audioCodec, data.videoCodec, data.timeOffset, data.discontinuity, data.trackSwitch, data.contiguous, data.duration, data.accurateTimeOffset, data.defaultInitPTS);\n break;\n default:\n break;\n }\n });\n // forward events to main thread\n observer.on(events_1.default.FRAG_DECRYPTED, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_INIT_SEGMENT, forwardMessage);\n observer.on(events_1.default.FRAG_PARSED, forwardMessage);\n observer.on(events_1.default.ERROR, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_METADATA, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_USERDATA, forwardMessage);\n observer.on(events_1.default.INIT_PTS_FOUND, forwardMessage);\n // special case for FRAG_PARSING_DATA: pass data1/data2 as transferable object (no copy)\n observer.on(events_1.default.FRAG_PARSING_DATA, function (ev, data) {\n var transferable = [];\n var message = { event: ev, data: data };\n if (data.data1) {\n message.data1 = data.data1.buffer;\n transferable.push(data.data1.buffer);\n delete data.data1;\n }\n if (data.data2) {\n message.data2 = data.data2.buffer;\n transferable.push(data.data2.buffer);\n delete data.data2;\n }\n self.postMessage(message, transferable);\n });\n};\nexports.default = DemuxerWorker;\n\n\n/***/ }),\n\n/***/ \"./src/demux/demuxer.js\":\n/*!******************************!*\\\n !*** ./src/demux/demuxer.js ***!\n \\******************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar work = __webpack_require__(/*! webworkify-webpack */ \"./node_modules/webworkify-webpack/index.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar demuxer_inline_1 = __webpack_require__(/*! ../demux/demuxer-inline */ \"./src/demux/demuxer-inline.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar mediasource_helper_1 = __webpack_require__(/*! ../utils/mediasource-helper */ \"./src/utils/mediasource-helper.js\");\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\nvar observer_1 = __webpack_require__(/*! ../observer */ \"./src/observer.js\");\n// see https://stackoverflow.com/a/11237259/589493\nvar global = get_self_scope_1.getSelfScope(); // safeguard for code that might run both on worker and main thread\nvar MediaSource = mediasource_helper_1.getMediaSource();\nvar Demuxer = /** @class */ (function () {\n function Demuxer(hls, id) {\n var _this = this;\n this.hls = hls;\n this.id = id;\n var observer = this.observer = new observer_1.Observer();\n var config = hls.config;\n var forwardMessage = function (ev, data) {\n data = data || {};\n data.frag = _this.frag;\n data.id = _this.id;\n hls.trigger(ev, data);\n };\n // forward events to main thread\n observer.on(events_1.default.FRAG_DECRYPTED, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_INIT_SEGMENT, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_DATA, forwardMessage);\n observer.on(events_1.default.FRAG_PARSED, forwardMessage);\n observer.on(events_1.default.ERROR, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_METADATA, forwardMessage);\n observer.on(events_1.default.FRAG_PARSING_USERDATA, forwardMessage);\n observer.on(events_1.default.INIT_PTS_FOUND, forwardMessage);\n var typeSupported = {\n mp4: MediaSource.isTypeSupported('video/mp4'),\n mpeg: MediaSource.isTypeSupported('audio/mpeg'),\n mp3: MediaSource.isTypeSupported('audio/mp4; codecs=\"mp3\"')\n };\n // navigator.vendor is not always available in Web Worker\n // refer to https://developer.mozilla.org/en-US/docs/Web/API/WorkerGlobalScope/navigator\n var vendor = navigator.vendor;\n if (config.enableWorker && (typeof (Worker) !== 'undefined')) {\n logger_1.logger.log('demuxing in webworker');\n var w = void 0;\n try {\n w = this.w = work(/*require.resolve*/(/*! ../demux/demuxer-worker.js */ \"./src/demux/demuxer-worker.js\"));\n this.onwmsg = this.onWorkerMessage.bind(this);\n w.addEventListener('message', this.onwmsg);\n w.onerror = function (event) {\n hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.OTHER_ERROR, details: errors_1.ErrorDetails.INTERNAL_EXCEPTION, fatal: true, event: 'demuxerWorker', err: { message: event.message + ' (' + event.filename + ':' + event.lineno + ')' } });\n };\n w.postMessage({ cmd: 'init', typeSupported: typeSupported, vendor: vendor, id: id, config: JSON.stringify(config) });\n }\n catch (err) {\n logger_1.logger.warn('Error in worker:', err);\n logger_1.logger.error('Error while initializing DemuxerWorker, fallback on DemuxerInline');\n if (w) {\n // revoke the Object URL that was used to create demuxer worker, so as not to leak it\n global.URL.revokeObjectURL(w.objectURL);\n }\n this.demuxer = new demuxer_inline_1.default(observer, typeSupported, config, vendor);\n this.w = undefined;\n }\n }\n else {\n this.demuxer = new demuxer_inline_1.default(observer, typeSupported, config, vendor);\n }\n }\n Demuxer.prototype.destroy = function () {\n var w = this.w;\n if (w) {\n w.removeEventListener('message', this.onwmsg);\n w.terminate();\n this.w = null;\n }\n else {\n var demuxer = this.demuxer;\n if (demuxer) {\n demuxer.destroy();\n this.demuxer = null;\n }\n }\n var observer = this.observer;\n if (observer) {\n observer.removeAllListeners();\n this.observer = null;\n }\n };\n Demuxer.prototype.push = function (data, initSegment, audioCodec, videoCodec, frag, duration, accurateTimeOffset, defaultInitPTS) {\n var w = this.w;\n var timeOffset = Number.isFinite(frag.startPTS) ? frag.startPTS : frag.start;\n var decryptdata = frag.decryptdata;\n var lastFrag = this.frag;\n var discontinuity = !(lastFrag && (frag.cc === lastFrag.cc));\n var trackSwitch = !(lastFrag && (frag.level === lastFrag.level));\n var nextSN = lastFrag && (frag.sn === (lastFrag.sn + 1));\n var contiguous = !trackSwitch && nextSN;\n if (discontinuity) {\n logger_1.logger.log(this.id + \":discontinuity detected\");\n }\n if (trackSwitch) {\n logger_1.logger.log(this.id + \":switch detected\");\n }\n this.frag = frag;\n if (w) {\n // post fragment payload as transferable objects for ArrayBuffer (no copy)\n w.postMessage({ cmd: 'demux', data: data, decryptdata: decryptdata, initSegment: initSegment, audioCodec: audioCodec, videoCodec: videoCodec, timeOffset: timeOffset, discontinuity: discontinuity, trackSwitch: trackSwitch, contiguous: contiguous, duration: duration, accurateTimeOffset: accurateTimeOffset, defaultInitPTS: defaultInitPTS }, data instanceof ArrayBuffer ? [data] : []);\n }\n else {\n var demuxer = this.demuxer;\n if (demuxer) {\n demuxer.push(data, decryptdata, initSegment, audioCodec, videoCodec, timeOffset, discontinuity, trackSwitch, contiguous, duration, accurateTimeOffset, defaultInitPTS);\n }\n }\n };\n Demuxer.prototype.onWorkerMessage = function (ev) {\n var data = ev.data, hls = this.hls;\n switch (data.event) {\n case 'init':\n // revoke the Object URL that was used to create demuxer worker, so as not to leak it\n global.URL.revokeObjectURL(this.w.objectURL);\n break;\n // special case for FRAG_PARSING_DATA: data1 and data2 are transferable objects\n case events_1.default.FRAG_PARSING_DATA:\n data.data.data1 = new Uint8Array(data.data1);\n if (data.data2) {\n data.data.data2 = new Uint8Array(data.data2);\n }\n /* falls through */\n default:\n data.data = data.data || {};\n data.data.frag = this.frag;\n data.data.id = this.id;\n hls.trigger(data.event, data.data);\n break;\n }\n };\n return Demuxer;\n}());\nexports.default = Demuxer;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/demux/exp-golomb.js\":\n/*!*********************************!*\\\n !*** ./src/demux/exp-golomb.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * Parser for exponential Golomb codes, a variable-bitwidth number encoding scheme used by h264.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar ExpGolomb = /** @class */ (function () {\n function ExpGolomb(data) {\n this.data = data;\n // the number of bytes left to examine in this.data\n this.bytesAvailable = data.byteLength;\n // the current word being examined\n this.word = 0; // :uint\n // the number of bits left to examine in the current word\n this.bitsAvailable = 0; // :uint\n }\n // ():void\n ExpGolomb.prototype.loadWord = function () {\n var data = this.data, bytesAvailable = this.bytesAvailable, position = data.byteLength - bytesAvailable, workingBytes = new Uint8Array(4), availableBytes = Math.min(4, bytesAvailable);\n if (availableBytes === 0) {\n throw new Error('no bytes available');\n }\n workingBytes.set(data.subarray(position, position + availableBytes));\n this.word = new DataView(workingBytes.buffer).getUint32(0);\n // track the amount of this.data that has been processed\n this.bitsAvailable = availableBytes * 8;\n this.bytesAvailable -= availableBytes;\n };\n // (count:int):void\n ExpGolomb.prototype.skipBits = function (count) {\n var skipBytes; // :int\n if (this.bitsAvailable > count) {\n this.word <<= count;\n this.bitsAvailable -= count;\n }\n else {\n count -= this.bitsAvailable;\n skipBytes = count >> 3;\n count -= (skipBytes >> 3);\n this.bytesAvailable -= skipBytes;\n this.loadWord();\n this.word <<= count;\n this.bitsAvailable -= count;\n }\n };\n // (size:int):uint\n ExpGolomb.prototype.readBits = function (size) {\n var bits = Math.min(this.bitsAvailable, size), // :uint\n valu = this.word >>> (32 - bits); // :uint\n if (size > 32) {\n logger_1.logger.error('Cannot read more than 32 bits at a time');\n }\n this.bitsAvailable -= bits;\n if (this.bitsAvailable > 0) {\n this.word <<= bits;\n }\n else if (this.bytesAvailable > 0) {\n this.loadWord();\n }\n bits = size - bits;\n if (bits > 0 && this.bitsAvailable) {\n return valu << bits | this.readBits(bits);\n }\n else {\n return valu;\n }\n };\n // ():uint\n ExpGolomb.prototype.skipLZ = function () {\n var leadingZeroCount; // :uint\n for (leadingZeroCount = 0; leadingZeroCount < this.bitsAvailable; ++leadingZeroCount) {\n if ((this.word & (0x80000000 >>> leadingZeroCount)) !== 0) {\n // the first bit of working word is 1\n this.word <<= leadingZeroCount;\n this.bitsAvailable -= leadingZeroCount;\n return leadingZeroCount;\n }\n }\n // we exhausted word and still have not found a 1\n this.loadWord();\n return leadingZeroCount + this.skipLZ();\n };\n // ():void\n ExpGolomb.prototype.skipUEG = function () {\n this.skipBits(1 + this.skipLZ());\n };\n // ():void\n ExpGolomb.prototype.skipEG = function () {\n this.skipBits(1 + this.skipLZ());\n };\n // ():uint\n ExpGolomb.prototype.readUEG = function () {\n var clz = this.skipLZ(); // :uint\n return this.readBits(clz + 1) - 1;\n };\n // ():int\n ExpGolomb.prototype.readEG = function () {\n var valu = this.readUEG(); // :int\n if (0x01 & valu) {\n // the number is odd if the low order bit is set\n return (1 + valu) >>> 1; // add 1 to make it even, and divide by 2\n }\n else {\n return -1 * (valu >>> 1); // divide by two then make it negative\n }\n };\n // Some convenience functions\n // :Boolean\n ExpGolomb.prototype.readBoolean = function () {\n return this.readBits(1) === 1;\n };\n // ():int\n ExpGolomb.prototype.readUByte = function () {\n return this.readBits(8);\n };\n // ():int\n ExpGolomb.prototype.readUShort = function () {\n return this.readBits(16);\n };\n // ():int\n ExpGolomb.prototype.readUInt = function () {\n return this.readBits(32);\n };\n /**\n * Advance the ExpGolomb decoder past a scaling list. The scaling\n * list is optionally transmitted as part of a sequence parameter\n * set and is not relevant to transmuxing.\n * @param count {number} the number of entries in this scaling list\n * @see Recommendation ITU-T H.264, Section 7.3.2.1.1.1\n */\n ExpGolomb.prototype.skipScalingList = function (count) {\n var lastScale = 8, nextScale = 8, j, deltaScale;\n for (j = 0; j < count; j++) {\n if (nextScale !== 0) {\n deltaScale = this.readEG();\n nextScale = (lastScale + deltaScale + 256) % 256;\n }\n lastScale = (nextScale === 0) ? lastScale : nextScale;\n }\n };\n /**\n * Read a sequence parameter set and return some interesting video\n * properties. A sequence parameter set is the H264 metadata that\n * describes the properties of upcoming video frames.\n * @param data {Uint8Array} the bytes of a sequence parameter set\n * @return {object} an object with configuration parsed from the\n * sequence parameter set, including the dimensions of the\n * associated video frames.\n */\n ExpGolomb.prototype.readSPS = function () {\n var frameCropLeftOffset = 0, frameCropRightOffset = 0, frameCropTopOffset = 0, frameCropBottomOffset = 0, profileIdc, profileCompat, levelIdc, numRefFramesInPicOrderCntCycle, picWidthInMbsMinus1, picHeightInMapUnitsMinus1, frameMbsOnlyFlag, scalingListCount, i, readUByte = this.readUByte.bind(this), readBits = this.readBits.bind(this), readUEG = this.readUEG.bind(this), readBoolean = this.readBoolean.bind(this), skipBits = this.skipBits.bind(this), skipEG = this.skipEG.bind(this), skipUEG = this.skipUEG.bind(this), skipScalingList = this.skipScalingList.bind(this);\n readUByte();\n profileIdc = readUByte(); // profile_idc\n profileCompat = readBits(5); // constraint_set[0-4]_flag, u(5)\n skipBits(3); // reserved_zero_3bits u(3),\n levelIdc = readUByte(); // level_idc u(8)\n skipUEG(); // seq_parameter_set_id\n // some profiles have more optional data we don't need\n if (profileIdc === 100 ||\n profileIdc === 110 ||\n profileIdc === 122 ||\n profileIdc === 244 ||\n profileIdc === 44 ||\n profileIdc === 83 ||\n profileIdc === 86 ||\n profileIdc === 118 ||\n profileIdc === 128) {\n var chromaFormatIdc = readUEG();\n if (chromaFormatIdc === 3) {\n skipBits(1);\n } // separate_colour_plane_flag\n skipUEG(); // bit_depth_luma_minus8\n skipUEG(); // bit_depth_chroma_minus8\n skipBits(1); // qpprime_y_zero_transform_bypass_flag\n if (readBoolean()) { // seq_scaling_matrix_present_flag\n scalingListCount = (chromaFormatIdc !== 3) ? 8 : 12;\n for (i = 0; i < scalingListCount; i++) {\n if (readBoolean()) { // seq_scaling_list_present_flag[ i ]\n if (i < 6) {\n skipScalingList(16);\n }\n else {\n skipScalingList(64);\n }\n }\n }\n }\n }\n skipUEG(); // log2_max_frame_num_minus4\n var picOrderCntType = readUEG();\n if (picOrderCntType === 0) {\n readUEG(); // log2_max_pic_order_cnt_lsb_minus4\n }\n else if (picOrderCntType === 1) {\n skipBits(1); // delta_pic_order_always_zero_flag\n skipEG(); // offset_for_non_ref_pic\n skipEG(); // offset_for_top_to_bottom_field\n numRefFramesInPicOrderCntCycle = readUEG();\n for (i = 0; i < numRefFramesInPicOrderCntCycle; i++) {\n skipEG();\n } // offset_for_ref_frame[ i ]\n }\n skipUEG(); // max_num_ref_frames\n skipBits(1); // gaps_in_frame_num_value_allowed_flag\n picWidthInMbsMinus1 = readUEG();\n picHeightInMapUnitsMinus1 = readUEG();\n frameMbsOnlyFlag = readBits(1);\n if (frameMbsOnlyFlag === 0) {\n skipBits(1);\n } // mb_adaptive_frame_field_flag\n skipBits(1); // direct_8x8_inference_flag\n if (readBoolean()) { // frame_cropping_flag\n frameCropLeftOffset = readUEG();\n frameCropRightOffset = readUEG();\n frameCropTopOffset = readUEG();\n frameCropBottomOffset = readUEG();\n }\n var pixelRatio = [1, 1];\n if (readBoolean()) {\n // vui_parameters_present_flag\n if (readBoolean()) {\n // aspect_ratio_info_present_flag\n var aspectRatioIdc = readUByte();\n switch (aspectRatioIdc) {\n case 1:\n pixelRatio = [1, 1];\n break;\n case 2:\n pixelRatio = [12, 11];\n break;\n case 3:\n pixelRatio = [10, 11];\n break;\n case 4:\n pixelRatio = [16, 11];\n break;\n case 5:\n pixelRatio = [40, 33];\n break;\n case 6:\n pixelRatio = [24, 11];\n break;\n case 7:\n pixelRatio = [20, 11];\n break;\n case 8:\n pixelRatio = [32, 11];\n break;\n case 9:\n pixelRatio = [80, 33];\n break;\n case 10:\n pixelRatio = [18, 11];\n break;\n case 11:\n pixelRatio = [15, 11];\n break;\n case 12:\n pixelRatio = [64, 33];\n break;\n case 13:\n pixelRatio = [160, 99];\n break;\n case 14:\n pixelRatio = [4, 3];\n break;\n case 15:\n pixelRatio = [3, 2];\n break;\n case 16:\n pixelRatio = [2, 1];\n break;\n case 255: {\n pixelRatio = [readUByte() << 8 | readUByte(), readUByte() << 8 | readUByte()];\n break;\n }\n }\n }\n }\n return {\n width: Math.ceil((((picWidthInMbsMinus1 + 1) * 16) - frameCropLeftOffset * 2 - frameCropRightOffset * 2)),\n height: ((2 - frameMbsOnlyFlag) * (picHeightInMapUnitsMinus1 + 1) * 16) - ((frameMbsOnlyFlag ? 2 : 4) * (frameCropTopOffset + frameCropBottomOffset)),\n pixelRatio: pixelRatio\n };\n };\n ExpGolomb.prototype.readSliceType = function () {\n // skip NALu type\n this.readUByte();\n // discard first_mb_in_slice\n this.readUEG();\n // return slice_type\n return this.readUEG();\n };\n return ExpGolomb;\n}());\nexports.default = ExpGolomb;\n\n\n/***/ }),\n\n/***/ \"./src/demux/id3.js\":\n/*!**************************!*\\\n !*** ./src/demux/id3.js ***!\n \\**************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * ID3 parser\n */\nvar ID3 = /** @class */ (function () {\n function ID3() {\n }\n /**\n * Returns true if an ID3 header can be found at offset in data\n * @param {Uint8Array} data - The data to search in\n * @param {number} offset - The offset at which to start searching\n * @return {boolean} - True if an ID3 header is found\n */\n ID3.isHeader = function (data, offset) {\n /*\n * http://id3.org/id3v2.3.0\n * [0] = 'I'\n * [1] = 'D'\n * [2] = '3'\n * [3,4] = {Version}\n * [5] = {Flags}\n * [6-9] = {ID3 Size}\n *\n * An ID3v2 tag can be detected with the following pattern:\n * $49 44 33 yy yy xx zz zz zz zz\n * Where yy is less than $FF, xx is the 'flags' byte and zz is less than $80\n */\n if (offset + 10 <= data.length) {\n // look for 'ID3' identifier\n if (data[offset] === 0x49 && data[offset + 1] === 0x44 && data[offset + 2] === 0x33) {\n // check version is within range\n if (data[offset + 3] < 0xFF && data[offset + 4] < 0xFF) {\n // check size is within range\n if (data[offset + 6] < 0x80 && data[offset + 7] < 0x80 && data[offset + 8] < 0x80 && data[offset + 9] < 0x80) {\n return true;\n }\n }\n }\n }\n return false;\n };\n /**\n * Returns true if an ID3 footer can be found at offset in data\n * @param {Uint8Array} data - The data to search in\n * @param {number} offset - The offset at which to start searching\n * @return {boolean} - True if an ID3 footer is found\n */\n ID3.isFooter = function (data, offset) {\n /*\n * The footer is a copy of the header, but with a different identifier\n */\n if (offset + 10 <= data.length) {\n // look for '3DI' identifier\n if (data[offset] === 0x33 && data[offset + 1] === 0x44 && data[offset + 2] === 0x49) {\n // check version is within range\n if (data[offset + 3] < 0xFF && data[offset + 4] < 0xFF) {\n // check size is within range\n if (data[offset + 6] < 0x80 && data[offset + 7] < 0x80 && data[offset + 8] < 0x80 && data[offset + 9] < 0x80) {\n return true;\n }\n }\n }\n }\n return false;\n };\n /**\n * Returns any adjacent ID3 tags found in data starting at offset, as one block of data\n * @param {Uint8Array} data - The data to search in\n * @param {number} offset - The offset at which to start searching\n * @return {Uint8Array} - The block of data containing any ID3 tags found\n */\n ID3.getID3Data = function (data, offset) {\n var front = offset;\n var length = 0;\n while (ID3.isHeader(data, offset)) {\n // ID3 header is 10 bytes\n length += 10;\n var size = ID3._readSize(data, offset + 6);\n length += size;\n if (ID3.isFooter(data, offset + 10)) {\n // ID3 footer is 10 bytes\n length += 10;\n }\n offset += length;\n }\n if (length > 0) {\n return data.subarray(front, front + length);\n }\n return undefined;\n };\n ID3._readSize = function (data, offset) {\n var size = 0;\n size = ((data[offset] & 0x7f) << 21);\n size |= ((data[offset + 1] & 0x7f) << 14);\n size |= ((data[offset + 2] & 0x7f) << 7);\n size |= (data[offset + 3] & 0x7f);\n return size;\n };\n /**\n * Searches for the Elementary Stream timestamp found in the ID3 data chunk\n * @param {Uint8Array} data - Block of data containing one or more ID3 tags\n * @return {number} - The timestamp\n */\n ID3.getTimeStamp = function (data) {\n var frames = ID3.getID3Frames(data);\n for (var i = 0; i < frames.length; i++) {\n var frame = frames[i];\n if (ID3.isTimeStampFrame(frame)) {\n return ID3._readTimeStamp(frame);\n }\n }\n return undefined;\n };\n /**\n * Returns true if the ID3 frame is an Elementary Stream timestamp frame\n * @param {ID3 frame} frame\n */\n ID3.isTimeStampFrame = function (frame) {\n return (frame && frame.key === 'PRIV' && frame.info === 'com.apple.streaming.transportStreamTimestamp');\n };\n ID3._getFrameData = function (data) {\n /*\n Frame ID $xx xx xx xx (four characters)\n Size $xx xx xx xx\n Flags $xx xx\n */\n var type = String.fromCharCode(data[0], data[1], data[2], data[3]);\n var size = ID3._readSize(data, 4);\n // skip frame id, size, and flags\n var offset = 10;\n return { type: type, size: size, data: data.subarray(offset, offset + size) };\n };\n /**\n * Returns an array of ID3 frames found in all the ID3 tags in the id3Data\n * @param {Uint8Array} id3Data - The ID3 data containing one or more ID3 tags\n * @return {ID3 frame[]} - Array of ID3 frame objects\n */\n ID3.getID3Frames = function (id3Data) {\n var offset = 0;\n var frames = [];\n while (ID3.isHeader(id3Data, offset)) {\n var size = ID3._readSize(id3Data, offset + 6);\n // skip past ID3 header\n offset += 10;\n var end = offset + size;\n // loop through frames in the ID3 tag\n while (offset + 8 < end) {\n var frameData = ID3._getFrameData(id3Data.subarray(offset));\n var frame = ID3._decodeFrame(frameData);\n if (frame) {\n frames.push(frame);\n }\n // skip frame header and frame data\n offset += frameData.size + 10;\n }\n if (ID3.isFooter(id3Data, offset)) {\n offset += 10;\n }\n }\n return frames;\n };\n ID3._decodeFrame = function (frame) {\n if (frame.type === 'PRIV') {\n return ID3._decodePrivFrame(frame);\n }\n else if (frame.type[0] === 'T') {\n return ID3._decodeTextFrame(frame);\n }\n else if (frame.type[0] === 'W') {\n return ID3._decodeURLFrame(frame);\n }\n return undefined;\n };\n ID3._readTimeStamp = function (timeStampFrame) {\n if (timeStampFrame.data.byteLength === 8) {\n var data = new Uint8Array(timeStampFrame.data);\n // timestamp is 33 bit expressed as a big-endian eight-octet number,\n // with the upper 31 bits set to zero.\n var pts33Bit = data[3] & 0x1;\n var timestamp = (data[4] << 23) +\n (data[5] << 15) +\n (data[6] << 7) +\n data[7];\n timestamp /= 45;\n if (pts33Bit) {\n timestamp += 47721858.84;\n } // 2^32 / 90\n return Math.round(timestamp);\n }\n return undefined;\n };\n ID3._decodePrivFrame = function (frame) {\n /*\n Format: <text string>\\0<binary data>\n */\n if (frame.size < 2) {\n return undefined;\n }\n var owner = ID3._utf8ArrayToStr(frame.data, true);\n var privateData = new Uint8Array(frame.data.subarray(owner.length + 1));\n return { key: frame.type, info: owner, data: privateData.buffer };\n };\n ID3._decodeTextFrame = function (frame) {\n if (frame.size < 2) {\n return undefined;\n }\n if (frame.type === 'TXXX') {\n /*\n Format:\n [0] = {Text Encoding}\n [1-?] = {Description}\\0{Value}\n */\n var index = 1;\n var description = ID3._utf8ArrayToStr(frame.data.subarray(index));\n index += description.length + 1;\n var value = ID3._utf8ArrayToStr(frame.data.subarray(index));\n return { key: frame.type, info: description, data: value };\n }\n else {\n /*\n Format:\n [0] = {Text Encoding}\n [1-?] = {Value}\n */\n var text = ID3._utf8ArrayToStr(frame.data.subarray(1));\n return { key: frame.type, data: text };\n }\n };\n ID3._decodeURLFrame = function (frame) {\n if (frame.type === 'WXXX') {\n /*\n Format:\n [0] = {Text Encoding}\n [1-?] = {Description}\\0{URL}\n */\n if (frame.size < 2) {\n return undefined;\n }\n var index = 1;\n var description = ID3._utf8ArrayToStr(frame.data.subarray(index));\n index += description.length + 1;\n var value = ID3._utf8ArrayToStr(frame.data.subarray(index));\n return { key: frame.type, info: description, data: value };\n }\n else {\n /*\n Format:\n [0-?] = {URL}\n */\n var url = ID3._utf8ArrayToStr(frame.data);\n return { key: frame.type, data: url };\n }\n };\n // http://stackoverflow.com/questions/8936984/uint8array-to-string-in-javascript/22373197\n // http://www.onicos.com/staff/iz/amuse/javascript/expert/utf.txt\n /* utf.js - UTF-8 <=> UTF-16 convertion\n *\n * Copyright (C) 1999 Masanao Izumo <iz@onicos.co.jp>\n * Version: 1.0\n * LastModified: Dec 25 1999\n * This library is free. You can redistribute it and/or modify it.\n */\n ID3._utf8ArrayToStr = function (array, exitOnNull) {\n if (exitOnNull === void 0) { exitOnNull = false; }\n var len = array.length;\n var c;\n var char2;\n var char3;\n var out = '';\n var i = 0;\n while (i < len) {\n c = array[i++];\n if (c === 0x00 && exitOnNull) {\n return out;\n }\n else if (c === 0x00 || c === 0x03) {\n // If the character is 3 (END_OF_TEXT) or 0 (NULL) then skip it\n continue;\n }\n switch (c >> 4) {\n case 0:\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n case 6:\n case 7:\n // 0xxxxxxx\n out += String.fromCharCode(c);\n break;\n case 12:\n case 13:\n // 110x xxxx 10xx xxxx\n char2 = array[i++];\n out += String.fromCharCode(((c & 0x1F) << 6) | (char2 & 0x3F));\n break;\n case 14:\n // 1110 xxxx 10xx xxxx 10xx xxxx\n char2 = array[i++];\n char3 = array[i++];\n out += String.fromCharCode(((c & 0x0F) << 12) |\n ((char2 & 0x3F) << 6) |\n ((char3 & 0x3F) << 0));\n break;\n default:\n }\n }\n return out;\n };\n return ID3;\n}());\nvar utf8ArrayToStr = ID3._utf8ArrayToStr;\nexports.utf8ArrayToStr = utf8ArrayToStr;\nexports.default = ID3;\n\n\n/***/ }),\n\n/***/ \"./src/demux/mp3demuxer.js\":\n/*!*********************************!*\\\n !*** ./src/demux/mp3demuxer.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * MP3 demuxer\n */\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar mpegaudio_1 = __webpack_require__(/*! ./mpegaudio */ \"./src/demux/mpegaudio.js\");\nvar MP3Demuxer = /** @class */ (function () {\n function MP3Demuxer(observer, remuxer, config) {\n this.observer = observer;\n this.config = config;\n this.remuxer = remuxer;\n }\n MP3Demuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n this._audioTrack = { container: 'audio/mpeg', type: 'audio', id: -1, sequenceNumber: 0, isAAC: false, samples: [], len: 0, manifestCodec: audioCodec, duration: duration, inputTimeScale: 90000 };\n };\n MP3Demuxer.prototype.resetTimeStamp = function () {\n };\n MP3Demuxer.probe = function (data) {\n // check if data contains ID3 timestamp and MPEG sync word\n var offset, length;\n var id3Data = id3_1.default.getID3Data(data, 0);\n if (id3Data && id3_1.default.getTimeStamp(id3Data) !== undefined) {\n // Look for MPEG header | 1111 1111 | 111X XYZX | where X can be either 0 or 1 and Y or Z should be 1\n // Layer bits (position 14 and 15) in header should be always different from 0 (Layer I or Layer II or Layer III)\n // More info http://www.mp3-tech.org/programmer/frame_header.html\n for (offset = id3Data.length, length = Math.min(data.length - 1, offset + 100); offset < length; offset++) {\n if (mpegaudio_1.default.probe(data, offset)) {\n logger_1.logger.log('MPEG Audio sync word found !');\n return true;\n }\n }\n }\n return false;\n };\n // feed incoming data to the front of the parsing pipeline\n MP3Demuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var id3Data = id3_1.default.getID3Data(data, 0);\n var timestamp = id3_1.default.getTimeStamp(id3Data);\n var pts = timestamp ? 90 * timestamp : timeOffset * 90000;\n var offset = id3Data.length;\n var length = data.length;\n var frameIndex = 0, stamp = 0;\n var track = this._audioTrack;\n var id3Samples = [{ pts: pts, dts: pts, data: id3Data }];\n while (offset < length) {\n if (mpegaudio_1.default.isHeader(data, offset)) {\n var frame = mpegaudio_1.default.appendFrame(track, data, offset, pts, frameIndex);\n if (frame) {\n offset += frame.length;\n stamp = frame.sample.pts;\n frameIndex++;\n }\n else {\n // logger.log('Unable to parse Mpeg audio frame');\n break;\n }\n }\n else if (id3_1.default.isHeader(data, offset)) {\n id3Data = id3_1.default.getID3Data(data, offset);\n id3Samples.push({ pts: stamp, dts: stamp, data: id3Data });\n offset += id3Data.length;\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n this.remuxer.remux(track, { samples: [] }, { samples: id3Samples, inputTimeScale: 90000 }, { samples: [] }, timeOffset, contiguous, accurateTimeOffset);\n };\n MP3Demuxer.prototype.destroy = function () {\n };\n return MP3Demuxer;\n}());\nexports.default = MP3Demuxer;\n\n\n/***/ }),\n\n/***/ \"./src/demux/mp4demuxer.js\":\n/*!*********************************!*\\\n !*** ./src/demux/mp4demuxer.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * MP4 demuxer\n */\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar UINT32_MAX = Math.pow(2, 32) - 1;\nvar MP4Demuxer = /** @class */ (function () {\n function MP4Demuxer(observer, remuxer) {\n this.observer = observer;\n this.remuxer = remuxer;\n }\n MP4Demuxer.prototype.resetTimeStamp = function (initPTS) {\n this.initPTS = initPTS;\n };\n MP4Demuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n // jshint unused:false\n if (initSegment && initSegment.byteLength) {\n var initData = this.initData = MP4Demuxer.parseInitSegment(initSegment);\n // default audio codec if nothing specified\n // TODO : extract that from initsegment\n if (audioCodec == null) {\n audioCodec = 'mp4a.40.5';\n }\n if (videoCodec == null) {\n videoCodec = 'avc1.42e01e';\n }\n var tracks = {};\n if (initData.audio && initData.video) {\n tracks.audiovideo = { container: 'video/mp4', codec: audioCodec + ',' + videoCodec, initSegment: duration ? initSegment : null };\n }\n else {\n if (initData.audio) {\n tracks.audio = { container: 'audio/mp4', codec: audioCodec, initSegment: duration ? initSegment : null };\n }\n if (initData.video) {\n tracks.video = { container: 'video/mp4', codec: videoCodec, initSegment: duration ? initSegment : null };\n }\n }\n this.observer.trigger(events_1.default.FRAG_PARSING_INIT_SEGMENT, { tracks: tracks });\n }\n else {\n if (audioCodec) {\n this.audioCodec = audioCodec;\n }\n if (videoCodec) {\n this.videoCodec = videoCodec;\n }\n }\n };\n MP4Demuxer.probe = function (data) {\n // ensure we find a moof box in the first 16 kB\n return MP4Demuxer.findBox({ data: data, start: 0, end: Math.min(data.length, 16384) }, ['moof']).length > 0;\n };\n MP4Demuxer.bin2str = function (buffer) {\n return String.fromCharCode.apply(null, buffer);\n };\n MP4Demuxer.readUint16 = function (buffer, offset) {\n if (buffer.data) {\n offset += buffer.start;\n buffer = buffer.data;\n }\n var val = buffer[offset] << 8 |\n buffer[offset + 1];\n return val < 0 ? 65536 + val : val;\n };\n MP4Demuxer.readUint32 = function (buffer, offset) {\n if (buffer.data) {\n offset += buffer.start;\n buffer = buffer.data;\n }\n var val = buffer[offset] << 24 |\n buffer[offset + 1] << 16 |\n buffer[offset + 2] << 8 |\n buffer[offset + 3];\n return val < 0 ? 4294967296 + val : val;\n };\n MP4Demuxer.writeUint32 = function (buffer, offset, value) {\n if (buffer.data) {\n offset += buffer.start;\n buffer = buffer.data;\n }\n buffer[offset] = value >> 24;\n buffer[offset + 1] = (value >> 16) & 0xff;\n buffer[offset + 2] = (value >> 8) & 0xff;\n buffer[offset + 3] = value & 0xff;\n };\n // Find the data for a box specified by its path\n MP4Demuxer.findBox = function (data, path) {\n var results = [], i, size, type, end, subresults, start, endbox;\n if (data.data) {\n start = data.start;\n end = data.end;\n data = data.data;\n }\n else {\n start = 0;\n end = data.byteLength;\n }\n if (!path.length) {\n // short-circuit the search for empty paths\n return null;\n }\n for (i = start; i < end;) {\n size = MP4Demuxer.readUint32(data, i);\n type = MP4Demuxer.bin2str(data.subarray(i + 4, i + 8));\n endbox = size > 1 ? i + size : end;\n if (type === path[0]) {\n if (path.length === 1) {\n // this is the end of the path and we've found the box we were\n // looking for\n results.push({ data: data, start: i + 8, end: endbox });\n }\n else {\n // recursively search for the next box along the path\n subresults = MP4Demuxer.findBox({ data: data, start: i + 8, end: endbox }, path.slice(1));\n if (subresults.length) {\n results = results.concat(subresults);\n }\n }\n }\n i = endbox;\n }\n // we've finished searching all of data\n return results;\n };\n MP4Demuxer.parseSegmentIndex = function (initSegment) {\n var moov = MP4Demuxer.findBox(initSegment, ['moov'])[0];\n var moovEndOffset = moov ? moov.end : null; // we need this in case we need to chop of garbage of the end of current data\n var index = 0;\n var sidx = MP4Demuxer.findBox(initSegment, ['sidx']);\n var references;\n if (!sidx || !sidx[0]) {\n return null;\n }\n references = [];\n sidx = sidx[0];\n var version = sidx.data[0];\n // set initial offset, we skip the reference ID (not needed)\n index = version === 0 ? 8 : 16;\n var timescale = MP4Demuxer.readUint32(sidx, index);\n index += 4;\n // TODO: parse earliestPresentationTime and firstOffset\n // usually zero in our case\n var earliestPresentationTime = 0;\n var firstOffset = 0;\n if (version === 0) {\n index += 8;\n }\n else {\n index += 16;\n }\n // skip reserved\n index += 2;\n var startByte = sidx.end + firstOffset;\n var referencesCount = MP4Demuxer.readUint16(sidx, index);\n index += 2;\n for (var i = 0; i < referencesCount; i++) {\n var referenceIndex = index;\n var referenceInfo = MP4Demuxer.readUint32(sidx, referenceIndex);\n referenceIndex += 4;\n var referenceSize = referenceInfo & 0x7FFFFFFF;\n var referenceType = (referenceInfo & 0x80000000) >>> 31;\n if (referenceType === 1) {\n console.warn('SIDX has hierarchical references (not supported)');\n return;\n }\n var subsegmentDuration = MP4Demuxer.readUint32(sidx, referenceIndex);\n referenceIndex += 4;\n references.push({\n referenceSize: referenceSize,\n subsegmentDuration: subsegmentDuration,\n info: {\n duration: subsegmentDuration / timescale,\n start: startByte,\n end: startByte + referenceSize - 1\n }\n });\n startByte += referenceSize;\n // Skipping 1 bit for |startsWithSap|, 3 bits for |sapType|, and 28 bits\n // for |sapDelta|.\n referenceIndex += 4;\n // skip to next ref\n index = referenceIndex;\n }\n return {\n earliestPresentationTime: earliestPresentationTime,\n timescale: timescale,\n version: version,\n referencesCount: referencesCount,\n references: references,\n moovEndOffset: moovEndOffset\n };\n };\n /**\n * Parses an MP4 initialization segment and extracts stream type and\n * timescale values for any declared tracks. Timescale values indicate the\n * number of clock ticks per second to assume for time-based values\n * elsewhere in the MP4.\n *\n * To determine the start time of an MP4, you need two pieces of\n * information: the timescale unit and the earliest base media decode\n * time. Multiple timescales can be specified within an MP4 but the\n * base media decode time is always expressed in the timescale from\n * the media header box for the track:\n * ```\n * moov > trak > mdia > mdhd.timescale\n * moov > trak > mdia > hdlr\n * ```\n * @param init {Uint8Array} the bytes of the init segment\n * @return {object} a hash of track type to timescale values or null if\n * the init segment is malformed.\n */\n MP4Demuxer.parseInitSegment = function (initSegment) {\n var result = [];\n var traks = MP4Demuxer.findBox(initSegment, ['moov', 'trak']);\n traks.forEach(function (trak) {\n var tkhd = MP4Demuxer.findBox(trak, ['tkhd'])[0];\n if (tkhd) {\n var version = tkhd.data[tkhd.start];\n var index = version === 0 ? 12 : 20;\n var trackId = MP4Demuxer.readUint32(tkhd, index);\n var mdhd = MP4Demuxer.findBox(trak, ['mdia', 'mdhd'])[0];\n if (mdhd) {\n version = mdhd.data[mdhd.start];\n index = version === 0 ? 12 : 20;\n var timescale = MP4Demuxer.readUint32(mdhd, index);\n var hdlr = MP4Demuxer.findBox(trak, ['mdia', 'hdlr'])[0];\n if (hdlr) {\n var hdlrType = MP4Demuxer.bin2str(hdlr.data.subarray(hdlr.start + 8, hdlr.start + 12));\n var type = { 'soun': 'audio', 'vide': 'video' }[hdlrType];\n if (type) {\n // extract codec info. TODO : parse codec details to be able to build MIME type\n var codecBox = MP4Demuxer.findBox(trak, ['mdia', 'minf', 'stbl', 'stsd']);\n if (codecBox.length) {\n codecBox = codecBox[0];\n var codecType = MP4Demuxer.bin2str(codecBox.data.subarray(codecBox.start + 12, codecBox.start + 16));\n logger_1.logger.log(\"MP4Demuxer:\" + type + \":\" + codecType + \" found\");\n }\n result[trackId] = { timescale: timescale, type: type };\n result[type] = { timescale: timescale, id: trackId };\n }\n }\n }\n }\n });\n return result;\n };\n /**\n * Determine the base media decode start time, in seconds, for an MP4\n * fragment. If multiple fragments are specified, the earliest time is\n * returned.\n *\n * The base media decode time can be parsed from track fragment\n * metadata:\n * ```\n * moof > traf > tfdt.baseMediaDecodeTime\n * ```\n * It requires the timescale value from the mdhd to interpret.\n *\n * @param timescale {object} a hash of track ids to timescale values.\n * @return {number} the earliest base media decode start time for the\n * fragment, in seconds\n */\n MP4Demuxer.getStartDTS = function (initData, fragment) {\n var trafs, baseTimes, result;\n // we need info from two childrend of each track fragment box\n trafs = MP4Demuxer.findBox(fragment, ['moof', 'traf']);\n // determine the start times for each track\n baseTimes = [].concat.apply([], trafs.map(function (traf) {\n return MP4Demuxer.findBox(traf, ['tfhd']).map(function (tfhd) {\n var id, scale, baseTime;\n // get the track id from the tfhd\n id = MP4Demuxer.readUint32(tfhd, 4);\n // assume a 90kHz clock if no timescale was specified\n scale = initData[id].timescale || 90e3;\n // get the base media decode time from the tfdt\n baseTime = MP4Demuxer.findBox(traf, ['tfdt']).map(function (tfdt) {\n var version, result;\n version = tfdt.data[tfdt.start];\n result = MP4Demuxer.readUint32(tfdt, 4);\n if (version === 1) {\n result *= Math.pow(2, 32);\n result += MP4Demuxer.readUint32(tfdt, 8);\n }\n return result;\n })[0];\n // convert base time to seconds\n return baseTime / scale;\n });\n }));\n // return the minimum\n result = Math.min.apply(null, baseTimes);\n return isFinite(result) ? result : 0;\n };\n MP4Demuxer.offsetStartDTS = function (initData, fragment, timeOffset) {\n MP4Demuxer.findBox(fragment, ['moof', 'traf']).map(function (traf) {\n return MP4Demuxer.findBox(traf, ['tfhd']).map(function (tfhd) {\n // get the track id from the tfhd\n var id = MP4Demuxer.readUint32(tfhd, 4);\n // assume a 90kHz clock if no timescale was specified\n var timescale = initData[id].timescale || 90e3;\n // get the base media decode time from the tfdt\n MP4Demuxer.findBox(traf, ['tfdt']).map(function (tfdt) {\n var version = tfdt.data[tfdt.start];\n var baseMediaDecodeTime = MP4Demuxer.readUint32(tfdt, 4);\n if (version === 0) {\n MP4Demuxer.writeUint32(tfdt, 4, baseMediaDecodeTime - timeOffset * timescale);\n }\n else {\n baseMediaDecodeTime *= Math.pow(2, 32);\n baseMediaDecodeTime += MP4Demuxer.readUint32(tfdt, 8);\n baseMediaDecodeTime -= timeOffset * timescale;\n baseMediaDecodeTime = Math.max(baseMediaDecodeTime, 0);\n var upper = Math.floor(baseMediaDecodeTime / (UINT32_MAX + 1));\n var lower = Math.floor(baseMediaDecodeTime % (UINT32_MAX + 1));\n MP4Demuxer.writeUint32(tfdt, 4, upper);\n MP4Demuxer.writeUint32(tfdt, 8, lower);\n }\n });\n });\n });\n };\n // feed incoming data to the front of the parsing pipeline\n MP4Demuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var initData = this.initData;\n if (!initData) {\n this.resetInitSegment(data, this.audioCodec, this.videoCodec, false);\n initData = this.initData;\n }\n var startDTS, initPTS = this.initPTS;\n if (initPTS === undefined) {\n var startDTS_1 = MP4Demuxer.getStartDTS(initData, data);\n this.initPTS = initPTS = startDTS_1 - timeOffset;\n this.observer.trigger(events_1.default.INIT_PTS_FOUND, { initPTS: initPTS });\n }\n MP4Demuxer.offsetStartDTS(initData, data, initPTS);\n startDTS = MP4Demuxer.getStartDTS(initData, data);\n this.remuxer.remux(initData.audio, initData.video, null, null, startDTS, contiguous, accurateTimeOffset, data);\n };\n MP4Demuxer.prototype.destroy = function () { };\n return MP4Demuxer;\n}());\nexports.default = MP4Demuxer;\n\n\n/***/ }),\n\n/***/ \"./src/demux/mpegaudio.js\":\n/*!********************************!*\\\n !*** ./src/demux/mpegaudio.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * MPEG parser helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar MpegAudio = {\n BitratesMap: [\n 32, 64, 96, 128, 160, 192, 224, 256, 288, 320, 352, 384, 416, 448,\n 32, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320, 384,\n 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320,\n 32, 48, 56, 64, 80, 96, 112, 128, 144, 160, 176, 192, 224, 256,\n 8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160\n ],\n SamplingRateMap: [44100, 48000, 32000, 22050, 24000, 16000, 11025, 12000, 8000],\n SamplesCoefficients: [\n // MPEG 2.5\n [\n 0,\n 72,\n 144,\n 12 // Layer1\n ],\n // Reserved\n [\n 0,\n 0,\n 0,\n 0 // Layer1\n ],\n // MPEG 2\n [\n 0,\n 72,\n 144,\n 12 // Layer1\n ],\n // MPEG 1\n [\n 0,\n 144,\n 144,\n 12 // Layer1\n ]\n ],\n BytesInSlot: [\n 0,\n 1,\n 1,\n 4 // Layer1\n ],\n appendFrame: function (track, data, offset, pts, frameIndex) {\n // Using http://www.datavoyage.com/mpgscript/mpeghdr.htm as a reference\n if (offset + 24 > data.length) {\n return undefined;\n }\n var header = this.parseHeader(data, offset);\n if (header && offset + header.frameLength <= data.length) {\n var frameDuration = header.samplesPerFrame * 90000 / header.sampleRate;\n var stamp = pts + frameIndex * frameDuration;\n var sample = { unit: data.subarray(offset, offset + header.frameLength), pts: stamp, dts: stamp };\n track.config = [];\n track.channelCount = header.channelCount;\n track.samplerate = header.sampleRate;\n track.samples.push(sample);\n track.len += header.frameLength;\n return { sample: sample, length: header.frameLength };\n }\n return undefined;\n },\n parseHeader: function (data, offset) {\n var headerB = (data[offset + 1] >> 3) & 3;\n var headerC = (data[offset + 1] >> 1) & 3;\n var headerE = (data[offset + 2] >> 4) & 15;\n var headerF = (data[offset + 2] >> 2) & 3;\n var headerG = (data[offset + 2] >> 1) & 1;\n if (headerB !== 1 && headerE !== 0 && headerE !== 15 && headerF !== 3) {\n var columnInBitrates = headerB === 3 ? (3 - headerC) : (headerC === 3 ? 3 : 4);\n var bitRate = MpegAudio.BitratesMap[columnInBitrates * 14 + headerE - 1] * 1000;\n var columnInSampleRates = headerB === 3 ? 0 : headerB === 2 ? 1 : 2;\n var sampleRate = MpegAudio.SamplingRateMap[columnInSampleRates * 3 + headerF];\n var channelCount = data[offset + 3] >> 6 === 3 ? 1 : 2; // If bits of channel mode are `11` then it is a single channel (Mono)\n var sampleCoefficient = MpegAudio.SamplesCoefficients[headerB][headerC];\n var bytesInSlot = MpegAudio.BytesInSlot[headerC];\n var samplesPerFrame = sampleCoefficient * 8 * bytesInSlot;\n var frameLength = parseInt(sampleCoefficient * bitRate / sampleRate + headerG, 10) * bytesInSlot;\n return { sampleRate: sampleRate, channelCount: channelCount, frameLength: frameLength, samplesPerFrame: samplesPerFrame };\n }\n return undefined;\n },\n isHeaderPattern: function (data, offset) {\n return data[offset] === 0xff && (data[offset + 1] & 0xe0) === 0xe0 && (data[offset + 1] & 0x06) !== 0x00;\n },\n isHeader: function (data, offset) {\n // Look for MPEG header | 1111 1111 | 111X XYZX | where X can be either 0 or 1 and Y or Z should be 1\n // Layer bits (position 14 and 15) in header should be always different from 0 (Layer I or Layer II or Layer III)\n // More info http://www.mp3-tech.org/programmer/frame_header.html\n if (offset + 1 < data.length && this.isHeaderPattern(data, offset)) {\n return true;\n }\n return false;\n },\n probe: function (data, offset) {\n // same as isHeader but we also check that MPEG frame follows last MPEG frame\n // or end of data is reached\n if (offset + 1 < data.length && this.isHeaderPattern(data, offset)) {\n // MPEG header Length\n var headerLength = 4;\n // MPEG frame Length\n var header = this.parseHeader(data, offset);\n var frameLength = headerLength;\n if (header && header.frameLength) {\n frameLength = header.frameLength;\n }\n var newOffset = offset + frameLength;\n if (newOffset === data.length || (newOffset + 1 < data.length && this.isHeaderPattern(data, newOffset))) {\n return true;\n }\n }\n return false;\n }\n};\nexports.default = MpegAudio;\n\n\n/***/ }),\n\n/***/ \"./src/demux/sample-aes.js\":\n/*!*********************************!*\\\n !*** ./src/demux/sample-aes.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * SAMPLE-AES decrypter\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar decrypter_1 = __webpack_require__(/*! ../crypt/decrypter */ \"./src/crypt/decrypter.js\");\nvar SampleAesDecrypter = /** @class */ (function () {\n function SampleAesDecrypter(observer, config, decryptdata, discardEPB) {\n this.decryptdata = decryptdata;\n this.discardEPB = discardEPB;\n this.decrypter = new decrypter_1.default(observer, config, { removePKCS7Padding: false });\n }\n SampleAesDecrypter.prototype.decryptBuffer = function (encryptedData, callback) {\n this.decrypter.decrypt(encryptedData, this.decryptdata.key.buffer, this.decryptdata.iv.buffer, callback);\n };\n // AAC - encrypt all full 16 bytes blocks starting from offset 16\n SampleAesDecrypter.prototype.decryptAacSample = function (samples, sampleIndex, callback, sync) {\n var curUnit = samples[sampleIndex].unit;\n var encryptedData = curUnit.subarray(16, curUnit.length - curUnit.length % 16);\n var encryptedBuffer = encryptedData.buffer.slice(encryptedData.byteOffset, encryptedData.byteOffset + encryptedData.length);\n var localthis = this;\n this.decryptBuffer(encryptedBuffer, function (decryptedData) {\n decryptedData = new Uint8Array(decryptedData);\n curUnit.set(decryptedData, 16);\n if (!sync) {\n localthis.decryptAacSamples(samples, sampleIndex + 1, callback);\n }\n });\n };\n SampleAesDecrypter.prototype.decryptAacSamples = function (samples, sampleIndex, callback) {\n for (;; sampleIndex++) {\n if (sampleIndex >= samples.length) {\n callback();\n return;\n }\n if (samples[sampleIndex].unit.length < 32) {\n continue;\n }\n var sync = this.decrypter.isSync();\n this.decryptAacSample(samples, sampleIndex, callback, sync);\n if (!sync) {\n return;\n }\n }\n };\n // AVC - encrypt one 16 bytes block out of ten, starting from offset 32\n SampleAesDecrypter.prototype.getAvcEncryptedData = function (decodedData) {\n var encryptedDataLen = Math.floor((decodedData.length - 48) / 160) * 16 + 16;\n var encryptedData = new Int8Array(encryptedDataLen);\n var outputPos = 0;\n for (var inputPos = 32; inputPos <= decodedData.length - 16; inputPos += 160, outputPos += 16) {\n encryptedData.set(decodedData.subarray(inputPos, inputPos + 16), outputPos);\n }\n return encryptedData;\n };\n SampleAesDecrypter.prototype.getAvcDecryptedUnit = function (decodedData, decryptedData) {\n decryptedData = new Uint8Array(decryptedData);\n var inputPos = 0;\n for (var outputPos = 32; outputPos <= decodedData.length - 16; outputPos += 160, inputPos += 16) {\n decodedData.set(decryptedData.subarray(inputPos, inputPos + 16), outputPos);\n }\n return decodedData;\n };\n SampleAesDecrypter.prototype.decryptAvcSample = function (samples, sampleIndex, unitIndex, callback, curUnit, sync) {\n var decodedData = this.discardEPB(curUnit.data);\n var encryptedData = this.getAvcEncryptedData(decodedData);\n var localthis = this;\n this.decryptBuffer(encryptedData.buffer, function (decryptedData) {\n curUnit.data = localthis.getAvcDecryptedUnit(decodedData, decryptedData);\n if (!sync) {\n localthis.decryptAvcSamples(samples, sampleIndex, unitIndex + 1, callback);\n }\n });\n };\n SampleAesDecrypter.prototype.decryptAvcSamples = function (samples, sampleIndex, unitIndex, callback) {\n for (;; sampleIndex++, unitIndex = 0) {\n if (sampleIndex >= samples.length) {\n callback();\n return;\n }\n var curUnits = samples[sampleIndex].units;\n for (;; unitIndex++) {\n if (unitIndex >= curUnits.length) {\n break;\n }\n var curUnit = curUnits[unitIndex];\n if (curUnit.length <= 48 || (curUnit.type !== 1 && curUnit.type !== 5)) {\n continue;\n }\n var sync = this.decrypter.isSync();\n this.decryptAvcSample(samples, sampleIndex, unitIndex, callback, curUnit, sync);\n if (!sync) {\n return;\n }\n }\n }\n };\n return SampleAesDecrypter;\n}());\nexports.default = SampleAesDecrypter;\n\n\n/***/ }),\n\n/***/ \"./src/demux/tsdemuxer.js\":\n/*!********************************!*\\\n !*** ./src/demux/tsdemuxer.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * highly optimized TS demuxer:\n * parse PAT, PMT\n * extract PES packet from audio and video PIDs\n * extract AVC/H264 NAL units and AAC/ADTS samples from PES packet\n * trigger the remuxer upon parsing completion\n * it also tries to workaround as best as it can audio codec switch (HE-AAC to AAC and vice versa), without having to restart the MediaSource.\n * it also controls the remuxing process :\n * upon discontinuity or level switch detection, it will also notifies the remuxer so that it can reset its state.\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ADTS = __webpack_require__(/*! ./adts */ \"./src/demux/adts.js\");\nvar mpegaudio_1 = __webpack_require__(/*! ./mpegaudio */ \"./src/demux/mpegaudio.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar exp_golomb_1 = __webpack_require__(/*! ./exp-golomb */ \"./src/demux/exp-golomb.js\");\nvar sample_aes_1 = __webpack_require__(/*! ./sample-aes */ \"./src/demux/sample-aes.js\");\n// import Hex from '../utils/hex';\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\n// We are using fixed track IDs for driving the MP4 remuxer\n// instead of following the TS PIDs.\n// There is no reason not to do this and some browsers/SourceBuffer-demuxers\n// may not like if there are TrackID \"switches\"\n// See https://github.com/video-dev/hls.js/issues/1331\n// Here we are mapping our internal track types to constant MP4 track IDs\n// With MSE currently one can only have one track of each, and we are muxing\n// whatever video/audio rendition in them.\nvar RemuxerTrackIdConfig = {\n video: 1,\n audio: 2,\n id3: 3,\n text: 4\n};\nvar TSDemuxer = /** @class */ (function () {\n function TSDemuxer(observer, remuxer, config, typeSupported) {\n this.observer = observer;\n this.config = config;\n this.typeSupported = typeSupported;\n this.remuxer = remuxer;\n this.sampleAes = null;\n }\n TSDemuxer.prototype.setDecryptData = function (decryptdata) {\n if ((decryptdata != null) && (decryptdata.key != null) && (decryptdata.method === 'SAMPLE-AES')) {\n this.sampleAes = new sample_aes_1.default(this.observer, this.config, decryptdata, this.discardEPB);\n }\n else {\n this.sampleAes = null;\n }\n };\n TSDemuxer.probe = function (data) {\n var syncOffset = TSDemuxer._syncOffset(data);\n if (syncOffset < 0) {\n return false;\n }\n else {\n if (syncOffset) {\n logger_1.logger.warn(\"MPEG2-TS detected but first sync word found @ offset \" + syncOffset + \", junk ahead ?\");\n }\n return true;\n }\n };\n TSDemuxer._syncOffset = function (data) {\n // scan 1000 first bytes\n var scanwindow = Math.min(1000, data.length - 3 * 188);\n var i = 0;\n while (i < scanwindow) {\n // a TS fragment should contain at least 3 TS packets, a PAT, a PMT, and one PID, each starting with 0x47\n if (data[i] === 0x47 && data[i + 188] === 0x47 && data[i + 2 * 188] === 0x47) {\n return i;\n }\n else {\n i++;\n }\n }\n return -1;\n };\n /**\n * Creates a track model internal to demuxer used to drive remuxing input\n *\n * @param {string} type 'audio' | 'video' | 'id3' | 'text'\n * @param {number} duration\n * @return {object} TSDemuxer's internal track model\n */\n TSDemuxer.createTrack = function (type, duration) {\n return {\n container: type === 'video' || type === 'audio' ? 'video/mp2t' : undefined,\n type: type,\n id: RemuxerTrackIdConfig[type],\n pid: -1,\n inputTimeScale: 90000,\n sequenceNumber: 0,\n samples: [],\n len: 0,\n dropped: type === 'video' ? 0 : undefined,\n isAAC: type === 'audio' ? true : undefined,\n duration: type === 'audio' ? duration : undefined\n };\n };\n /**\n * Initializes a new init segment on the demuxer/remuxer interface. Needed for discontinuities/track-switches (or at stream start)\n * Resets all internal track instances of the demuxer.\n *\n * @override Implements generic demuxing/remuxing interface (see DemuxerInline)\n * @param {object} initSegment\n * @param {string} audioCodec\n * @param {string} videoCodec\n * @param {number} duration (in TS timescale = 90kHz)\n */\n TSDemuxer.prototype.resetInitSegment = function (initSegment, audioCodec, videoCodec, duration) {\n this.pmtParsed = false;\n this._pmtId = -1;\n this._avcTrack = TSDemuxer.createTrack('video', duration);\n this._audioTrack = TSDemuxer.createTrack('audio', duration);\n this._id3Track = TSDemuxer.createTrack('id3', duration);\n this._txtTrack = TSDemuxer.createTrack('text', duration);\n // flush any partial content\n this.aacOverFlow = null;\n this.aacLastPTS = null;\n this.avcSample = null;\n this.audioCodec = audioCodec;\n this.videoCodec = videoCodec;\n this._duration = duration;\n };\n /**\n *\n * @override\n */\n TSDemuxer.prototype.resetTimeStamp = function () { };\n // feed incoming data to the front of the parsing pipeline\n TSDemuxer.prototype.append = function (data, timeOffset, contiguous, accurateTimeOffset) {\n var start, len = data.length, stt, pid, atf, offset, pes, unknownPIDs = false;\n this.contiguous = contiguous;\n var pmtParsed = this.pmtParsed, avcTrack = this._avcTrack, audioTrack = this._audioTrack, id3Track = this._id3Track, avcId = avcTrack.pid, audioId = audioTrack.pid, id3Id = id3Track.pid, pmtId = this._pmtId, avcData = avcTrack.pesData, audioData = audioTrack.pesData, id3Data = id3Track.pesData, parsePAT = this._parsePAT, parsePMT = this._parsePMT, parsePES = this._parsePES, parseAVCPES = this._parseAVCPES.bind(this), parseAACPES = this._parseAACPES.bind(this), parseMPEGPES = this._parseMPEGPES.bind(this), parseID3PES = this._parseID3PES.bind(this);\n var syncOffset = TSDemuxer._syncOffset(data);\n // don't parse last TS packet if incomplete\n len -= (len + syncOffset) % 188;\n // loop through TS packets\n for (start = syncOffset; start < len; start += 188) {\n if (data[start] === 0x47) {\n stt = !!(data[start + 1] & 0x40);\n // pid is a 13-bit field starting at the last bit of TS[1]\n pid = ((data[start + 1] & 0x1f) << 8) + data[start + 2];\n atf = (data[start + 3] & 0x30) >> 4;\n // if an adaption field is present, its length is specified by the fifth byte of the TS packet header.\n if (atf > 1) {\n offset = start + 5 + data[start + 4];\n // continue if there is only adaptation field\n if (offset === (start + 188)) {\n continue;\n }\n }\n else {\n offset = start + 4;\n }\n switch (pid) {\n case avcId:\n if (stt) {\n if (avcData && (pes = parsePES(avcData)) && pes.pts !== undefined) {\n parseAVCPES(pes, false);\n }\n avcData = { data: [], size: 0 };\n }\n if (avcData) {\n avcData.data.push(data.subarray(offset, start + 188));\n avcData.size += start + 188 - offset;\n }\n break;\n case audioId:\n if (stt) {\n if (audioData && (pes = parsePES(audioData)) && pes.pts !== undefined) {\n if (audioTrack.isAAC) {\n parseAACPES(pes);\n }\n else {\n parseMPEGPES(pes);\n }\n }\n audioData = { data: [], size: 0 };\n }\n if (audioData) {\n audioData.data.push(data.subarray(offset, start + 188));\n audioData.size += start + 188 - offset;\n }\n break;\n case id3Id:\n if (stt) {\n if (id3Data && (pes = parsePES(id3Data)) && pes.pts !== undefined) {\n parseID3PES(pes);\n }\n id3Data = { data: [], size: 0 };\n }\n if (id3Data) {\n id3Data.data.push(data.subarray(offset, start + 188));\n id3Data.size += start + 188 - offset;\n }\n break;\n case 0:\n if (stt) {\n offset += data[offset] + 1;\n }\n pmtId = this._pmtId = parsePAT(data, offset);\n break;\n case pmtId:\n if (stt) {\n offset += data[offset] + 1;\n }\n var parsedPIDs = parsePMT(data, offset, this.typeSupported.mpeg === true || this.typeSupported.mp3 === true, this.sampleAes != null);\n // only update track id if track PID found while parsing PMT\n // this is to avoid resetting the PID to -1 in case\n // track PID transiently disappears from the stream\n // this could happen in case of transient missing audio samples for example\n // NOTE this is only the PID of the track as found in TS,\n // but we are not using this for MP4 track IDs.\n avcId = parsedPIDs.avc;\n if (avcId > 0) {\n avcTrack.pid = avcId;\n }\n audioId = parsedPIDs.audio;\n if (audioId > 0) {\n audioTrack.pid = audioId;\n audioTrack.isAAC = parsedPIDs.isAAC;\n }\n id3Id = parsedPIDs.id3;\n if (id3Id > 0) {\n id3Track.pid = id3Id;\n }\n if (unknownPIDs && !pmtParsed) {\n logger_1.logger.log('reparse from beginning');\n unknownPIDs = false;\n // we set it to -188, the += 188 in the for loop will reset start to 0\n start = syncOffset - 188;\n }\n pmtParsed = this.pmtParsed = true;\n break;\n case 17:\n case 0x1fff:\n break;\n default:\n unknownPIDs = true;\n break;\n }\n }\n else {\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: false, reason: 'TS packet did not start with 0x47' });\n }\n }\n // try to parse last PES packets\n if (avcData && (pes = parsePES(avcData)) && pes.pts !== undefined) {\n parseAVCPES(pes, true);\n avcTrack.pesData = null;\n }\n else {\n // either avcData null or PES truncated, keep it for next frag parsing\n avcTrack.pesData = avcData;\n }\n if (audioData && (pes = parsePES(audioData)) && pes.pts !== undefined) {\n if (audioTrack.isAAC) {\n parseAACPES(pes);\n }\n else {\n parseMPEGPES(pes);\n }\n audioTrack.pesData = null;\n }\n else {\n if (audioData && audioData.size) {\n logger_1.logger.log('last AAC PES packet truncated,might overlap between fragments');\n }\n // either audioData null or PES truncated, keep it for next frag parsing\n audioTrack.pesData = audioData;\n }\n if (id3Data && (pes = parsePES(id3Data)) && pes.pts !== undefined) {\n parseID3PES(pes);\n id3Track.pesData = null;\n }\n else {\n // either id3Data null or PES truncated, keep it for next frag parsing\n id3Track.pesData = id3Data;\n }\n if (this.sampleAes == null) {\n this.remuxer.remux(audioTrack, avcTrack, id3Track, this._txtTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n else {\n this.decryptAndRemux(audioTrack, avcTrack, id3Track, this._txtTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n };\n TSDemuxer.prototype.decryptAndRemux = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset) {\n if (audioTrack.samples && audioTrack.isAAC) {\n var localthis_1 = this;\n this.sampleAes.decryptAacSamples(audioTrack.samples, 0, function () {\n localthis_1.decryptAndRemuxAvc(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n });\n }\n else {\n this.decryptAndRemuxAvc(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n };\n TSDemuxer.prototype.decryptAndRemuxAvc = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset) {\n if (videoTrack.samples) {\n var localthis_2 = this;\n this.sampleAes.decryptAvcSamples(videoTrack.samples, 0, 0, function () {\n localthis_2.remuxer.remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n });\n }\n else {\n this.remuxer.remux(audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset);\n }\n };\n TSDemuxer.prototype.destroy = function () {\n this._initPTS = this._initDTS = undefined;\n this._duration = 0;\n };\n TSDemuxer.prototype._parsePAT = function (data, offset) {\n // skip the PSI header and parse the first PMT entry\n return (data[offset + 10] & 0x1F) << 8 | data[offset + 11];\n // logger.log('PMT PID:' + this._pmtId);\n };\n TSDemuxer.prototype._parsePMT = function (data, offset, mpegSupported, isSampleAes) {\n var sectionLength, tableEnd, programInfoLength, pid, result = { audio: -1, avc: -1, id3: -1, isAAC: true };\n sectionLength = (data[offset + 1] & 0x0f) << 8 | data[offset + 2];\n tableEnd = offset + 3 + sectionLength - 4;\n // to determine where the table is, we have to figure out how\n // long the program info descriptors are\n programInfoLength = (data[offset + 10] & 0x0f) << 8 | data[offset + 11];\n // advance the offset to the first entry in the mapping table\n offset += 12 + programInfoLength;\n while (offset < tableEnd) {\n pid = (data[offset + 1] & 0x1F) << 8 | data[offset + 2];\n switch (data[offset]) {\n case 0xcf: // SAMPLE-AES AAC\n if (!isSampleAes) {\n logger_1.logger.log('unkown stream type:' + data[offset]);\n break;\n }\n /* falls through */\n // ISO/IEC 13818-7 ADTS AAC (MPEG-2 lower bit-rate audio)\n case 0x0f:\n // logger.log('AAC PID:' + pid);\n if (result.audio === -1) {\n result.audio = pid;\n }\n break;\n // Packetized metadata (ID3)\n case 0x15:\n // logger.log('ID3 PID:' + pid);\n if (result.id3 === -1) {\n result.id3 = pid;\n }\n break;\n case 0xdb: // SAMPLE-AES AVC\n if (!isSampleAes) {\n logger_1.logger.log('unkown stream type:' + data[offset]);\n break;\n }\n /* falls through */\n // ITU-T Rec. H.264 and ISO/IEC 14496-10 (lower bit-rate video)\n case 0x1b:\n // logger.log('AVC PID:' + pid);\n if (result.avc === -1) {\n result.avc = pid;\n }\n break;\n // ISO/IEC 11172-3 (MPEG-1 audio)\n // or ISO/IEC 13818-3 (MPEG-2 halved sample rate audio)\n case 0x03:\n case 0x04:\n // logger.log('MPEG PID:' + pid);\n if (!mpegSupported) {\n logger_1.logger.log('MPEG audio found, not supported in this browser for now');\n }\n else if (result.audio === -1) {\n result.audio = pid;\n result.isAAC = false;\n }\n break;\n case 0x24:\n logger_1.logger.warn('HEVC stream type found, not supported for now');\n break;\n default:\n logger_1.logger.log('unkown stream type:' + data[offset]);\n break;\n }\n // move to the next table entry\n // skip past the elementary stream descriptors, if present\n offset += ((data[offset + 3] & 0x0F) << 8 | data[offset + 4]) + 5;\n }\n return result;\n };\n TSDemuxer.prototype._parsePES = function (stream) {\n var i = 0, frag, pesFlags, pesPrefix, pesLen, pesHdrLen, pesData, pesPts, pesDts, payloadStartOffset, data = stream.data;\n // safety check\n if (!stream || stream.size === 0) {\n return null;\n }\n // we might need up to 19 bytes to read PES header\n // if first chunk of data is less than 19 bytes, let's merge it with following ones until we get 19 bytes\n // usually only one merge is needed (and this is rare ...)\n while (data[0].length < 19 && data.length > 1) {\n var newData = new Uint8Array(data[0].length + data[1].length);\n newData.set(data[0]);\n newData.set(data[1], data[0].length);\n data[0] = newData;\n data.splice(1, 1);\n }\n // retrieve PTS/DTS from first fragment\n frag = data[0];\n pesPrefix = (frag[0] << 16) + (frag[1] << 8) + frag[2];\n if (pesPrefix === 1) {\n pesLen = (frag[4] << 8) + frag[5];\n // if PES parsed length is not zero and greater than total received length, stop parsing. PES might be truncated\n // minus 6 : PES header size\n if (pesLen && pesLen > stream.size - 6) {\n return null;\n }\n pesFlags = frag[7];\n if (pesFlags & 0xC0) {\n /* PES header described here : http://dvd.sourceforge.net/dvdinfo/pes-hdr.html\n as PTS / DTS is 33 bit we cannot use bitwise operator in JS,\n as Bitwise operators treat their operands as a sequence of 32 bits */\n pesPts = (frag[9] & 0x0E) * 536870912 + // 1 << 29\n (frag[10] & 0xFF) * 4194304 + // 1 << 22\n (frag[11] & 0xFE) * 16384 + // 1 << 14\n (frag[12] & 0xFF) * 128 + // 1 << 7\n (frag[13] & 0xFE) / 2;\n // check if greater than 2^32 -1\n if (pesPts > 4294967295) {\n // decrement 2^33\n pesPts -= 8589934592;\n }\n if (pesFlags & 0x40) {\n pesDts = (frag[14] & 0x0E) * 536870912 + // 1 << 29\n (frag[15] & 0xFF) * 4194304 + // 1 << 22\n (frag[16] & 0xFE) * 16384 + // 1 << 14\n (frag[17] & 0xFF) * 128 + // 1 << 7\n (frag[18] & 0xFE) / 2;\n // check if greater than 2^32 -1\n if (pesDts > 4294967295) {\n // decrement 2^33\n pesDts -= 8589934592;\n }\n if (pesPts - pesDts > 60 * 90000) {\n logger_1.logger.warn(Math.round((pesPts - pesDts) / 90000) + \"s delta between PTS and DTS, align them\");\n pesPts = pesDts;\n }\n }\n else {\n pesDts = pesPts;\n }\n }\n pesHdrLen = frag[8];\n // 9 bytes : 6 bytes for PES header + 3 bytes for PES extension\n payloadStartOffset = pesHdrLen + 9;\n stream.size -= payloadStartOffset;\n // reassemble PES packet\n pesData = new Uint8Array(stream.size);\n for (var j = 0, dataLen = data.length; j < dataLen; j++) {\n frag = data[j];\n var len = frag.byteLength;\n if (payloadStartOffset) {\n if (payloadStartOffset > len) {\n // trim full frag if PES header bigger than frag\n payloadStartOffset -= len;\n continue;\n }\n else {\n // trim partial frag if PES header smaller than frag\n frag = frag.subarray(payloadStartOffset);\n len -= payloadStartOffset;\n payloadStartOffset = 0;\n }\n }\n pesData.set(frag, i);\n i += len;\n }\n if (pesLen) {\n // payload size : remove PES header + PES extension\n pesLen -= pesHdrLen + 3;\n }\n return { data: pesData, pts: pesPts, dts: pesDts, len: pesLen };\n }\n else {\n return null;\n }\n };\n TSDemuxer.prototype.pushAccesUnit = function (avcSample, avcTrack) {\n if (avcSample.units.length && avcSample.frame) {\n var samples = avcTrack.samples;\n var nbSamples = samples.length;\n // only push AVC sample if starting with a keyframe is not mandatory OR\n // if keyframe already found in this fragment OR\n // keyframe found in last fragment (track.sps) AND\n // samples already appended (we already found a keyframe in this fragment) OR fragment is contiguous\n if (!this.config.forceKeyFrameOnDiscontinuity ||\n avcSample.key === true ||\n (avcTrack.sps && (nbSamples || this.contiguous))) {\n avcSample.id = nbSamples;\n samples.push(avcSample);\n }\n else {\n // dropped samples, track it\n avcTrack.dropped++;\n }\n }\n if (avcSample.debug.length) {\n logger_1.logger.log(avcSample.pts + '/' + avcSample.dts + ':' + avcSample.debug);\n }\n };\n TSDemuxer.prototype._parseAVCPES = function (pes, last) {\n var _this = this;\n // logger.log('parse new PES');\n var track = this._avcTrack, units = this._parseAVCNALu(pes.data), debug = false, expGolombDecoder, avcSample = this.avcSample, push, spsfound = false, i, pushAccesUnit = this.pushAccesUnit.bind(this), createAVCSample = function (key, pts, dts, debug) {\n return { key: key, pts: pts, dts: dts, units: [], debug: debug };\n };\n // free pes.data to save up some memory\n pes.data = null;\n // if new NAL units found and last sample still there, let's push ...\n // this helps parsing streams with missing AUD (only do this if AUD never found)\n if (avcSample && units.length && !track.audFound) {\n pushAccesUnit(avcSample, track);\n avcSample = this.avcSample = createAVCSample(false, pes.pts, pes.dts, '');\n }\n units.forEach(function (unit) {\n switch (unit.type) {\n // NDR\n case 1:\n push = true;\n if (!avcSample) {\n avcSample = _this.avcSample = createAVCSample(true, pes.pts, pes.dts, '');\n }\n if (debug) {\n avcSample.debug += 'NDR ';\n }\n avcSample.frame = true;\n var data = unit.data;\n // only check slice type to detect KF in case SPS found in same packet (any keyframe is preceded by SPS ...)\n if (spsfound && data.length > 4) {\n // retrieve slice type by parsing beginning of NAL unit (follow H264 spec, slice_header definition) to detect keyframe embedded in NDR\n var sliceType = new exp_golomb_1.default(data).readSliceType();\n // 2 : I slice, 4 : SI slice, 7 : I slice, 9: SI slice\n // SI slice : A slice that is coded using intra prediction only and using quantisation of the prediction samples.\n // An SI slice can be coded such that its decoded samples can be constructed identically to an SP slice.\n // I slice: A slice that is not an SI slice that is decoded using intra prediction only.\n // if (sliceType === 2 || sliceType === 7) {\n if (sliceType === 2 || sliceType === 4 || sliceType === 7 || sliceType === 9) {\n avcSample.key = true;\n }\n }\n break;\n // IDR\n case 5:\n push = true;\n // handle PES not starting with AUD\n if (!avcSample) {\n avcSample = _this.avcSample = createAVCSample(true, pes.pts, pes.dts, '');\n }\n if (debug) {\n avcSample.debug += 'IDR ';\n }\n avcSample.key = true;\n avcSample.frame = true;\n break;\n // SEI\n case 6:\n push = true;\n if (debug && avcSample) {\n avcSample.debug += 'SEI ';\n }\n expGolombDecoder = new exp_golomb_1.default(_this.discardEPB(unit.data));\n // skip frameType\n expGolombDecoder.readUByte();\n var payloadType = 0;\n var payloadSize = 0;\n var endOfCaptions = false;\n var b = 0;\n while (!endOfCaptions && expGolombDecoder.bytesAvailable > 1) {\n payloadType = 0;\n do {\n b = expGolombDecoder.readUByte();\n payloadType += b;\n } while (b === 0xFF);\n // Parse payload size.\n payloadSize = 0;\n do {\n b = expGolombDecoder.readUByte();\n payloadSize += b;\n } while (b === 0xFF);\n // TODO: there can be more than one payload in an SEI packet...\n // TODO: need to read type and size in a while loop to get them all\n if (payloadType === 4 && expGolombDecoder.bytesAvailable !== 0) {\n endOfCaptions = true;\n var countryCode = expGolombDecoder.readUByte();\n if (countryCode === 181) {\n var providerCode = expGolombDecoder.readUShort();\n if (providerCode === 49) {\n var userStructure = expGolombDecoder.readUInt();\n if (userStructure === 0x47413934) {\n var userDataType = expGolombDecoder.readUByte();\n // Raw CEA-608 bytes wrapped in CEA-708 packet\n if (userDataType === 3) {\n var firstByte = expGolombDecoder.readUByte();\n var secondByte = expGolombDecoder.readUByte();\n var totalCCs = 31 & firstByte;\n var byteArray = [firstByte, secondByte];\n for (i = 0; i < totalCCs; i++) {\n // 3 bytes per CC\n byteArray.push(expGolombDecoder.readUByte());\n byteArray.push(expGolombDecoder.readUByte());\n byteArray.push(expGolombDecoder.readUByte());\n }\n _this._insertSampleInOrder(_this._txtTrack.samples, { type: 3, pts: pes.pts, bytes: byteArray });\n }\n }\n }\n }\n }\n else if (payloadSize < expGolombDecoder.bytesAvailable) {\n for (i = 0; i < payloadSize; i++) {\n expGolombDecoder.readUByte();\n }\n }\n }\n break;\n // SPS\n case 7:\n push = true;\n spsfound = true;\n if (debug && avcSample) {\n avcSample.debug += 'SPS ';\n }\n if (!track.sps) {\n expGolombDecoder = new exp_golomb_1.default(unit.data);\n var config = expGolombDecoder.readSPS();\n track.width = config.width;\n track.height = config.height;\n track.pixelRatio = config.pixelRatio;\n track.sps = [unit.data];\n track.duration = _this._duration;\n var codecarray = unit.data.subarray(1, 4);\n var codecstring = 'avc1.';\n for (i = 0; i < 3; i++) {\n var h = codecarray[i].toString(16);\n if (h.length < 2) {\n h = '0' + h;\n }\n codecstring += h;\n }\n track.codec = codecstring;\n }\n break;\n // PPS\n case 8:\n push = true;\n if (debug && avcSample) {\n avcSample.debug += 'PPS ';\n }\n if (!track.pps) {\n track.pps = [unit.data];\n }\n break;\n // AUD\n case 9:\n push = false;\n track.audFound = true;\n if (avcSample) {\n pushAccesUnit(avcSample, track);\n }\n avcSample = _this.avcSample = createAVCSample(false, pes.pts, pes.dts, debug ? 'AUD ' : '');\n break;\n // Filler Data\n case 12:\n push = false;\n break;\n default:\n push = false;\n if (avcSample) {\n avcSample.debug += 'unknown NAL ' + unit.type + ' ';\n }\n break;\n }\n if (avcSample && push) {\n var units_1 = avcSample.units;\n units_1.push(unit);\n }\n });\n // if last PES packet, push samples\n if (last && avcSample) {\n pushAccesUnit(avcSample, track);\n this.avcSample = null;\n }\n };\n TSDemuxer.prototype._insertSampleInOrder = function (arr, data) {\n var len = arr.length;\n if (len > 0) {\n if (data.pts >= arr[len - 1].pts) {\n arr.push(data);\n }\n else {\n for (var pos = len - 1; pos >= 0; pos--) {\n if (data.pts < arr[pos].pts) {\n arr.splice(pos, 0, data);\n break;\n }\n }\n }\n }\n else {\n arr.push(data);\n }\n };\n TSDemuxer.prototype._getLastNalUnit = function () {\n var avcSample = this.avcSample, lastUnit;\n // try to fallback to previous sample if current one is empty\n if (!avcSample || avcSample.units.length === 0) {\n var track = this._avcTrack, samples = track.samples;\n avcSample = samples[samples.length - 1];\n }\n if (avcSample) {\n var units = avcSample.units;\n lastUnit = units[units.length - 1];\n }\n return lastUnit;\n };\n TSDemuxer.prototype._parseAVCNALu = function (array) {\n var i = 0, len = array.byteLength, value, overflow, track = this._avcTrack, state = track.naluState || 0, lastState = state;\n var units = [], unit, unitType, lastUnitStart = -1, lastUnitType;\n // logger.log('PES:' + Hex.hexDump(array));\n if (state === -1) {\n // special use case where we found 3 or 4-byte start codes exactly at the end of previous PES packet\n lastUnitStart = 0;\n // NALu type is value read from offset 0\n lastUnitType = array[0] & 0x1f;\n state = 0;\n i = 1;\n }\n while (i < len) {\n value = array[i++];\n // optimization. state 0 and 1 are the predominant case. let's handle them outside of the switch/case\n if (!state) {\n state = value ? 0 : 1;\n continue;\n }\n if (state === 1) {\n state = value ? 0 : 2;\n continue;\n }\n // here we have state either equal to 2 or 3\n if (!value) {\n state = 3;\n }\n else if (value === 1) {\n if (lastUnitStart >= 0) {\n unit = { data: array.subarray(lastUnitStart, i - state - 1), type: lastUnitType };\n // logger.log('pushing NALU, type/size:' + unit.type + '/' + unit.data.byteLength);\n units.push(unit);\n }\n else {\n // lastUnitStart is undefined => this is the first start code found in this PES packet\n // first check if start code delimiter is overlapping between 2 PES packets,\n // ie it started in last packet (lastState not zero)\n // and ended at the beginning of this PES packet (i <= 4 - lastState)\n var lastUnit = this._getLastNalUnit();\n if (lastUnit) {\n if (lastState && (i <= 4 - lastState)) {\n // start delimiter overlapping between PES packets\n // strip start delimiter bytes from the end of last NAL unit\n // check if lastUnit had a state different from zero\n if (lastUnit.state) {\n // strip last bytes\n lastUnit.data = lastUnit.data.subarray(0, lastUnit.data.byteLength - lastState);\n }\n }\n // If NAL units are not starting right at the beginning of the PES packet, push preceding data into previous NAL unit.\n overflow = i - state - 1;\n if (overflow > 0) {\n // logger.log('first NALU found with overflow:' + overflow);\n var tmp = new Uint8Array(lastUnit.data.byteLength + overflow);\n tmp.set(lastUnit.data, 0);\n tmp.set(array.subarray(0, overflow), lastUnit.data.byteLength);\n lastUnit.data = tmp;\n }\n }\n }\n // check if we can read unit type\n if (i < len) {\n unitType = array[i] & 0x1f;\n // logger.log('find NALU @ offset:' + i + ',type:' + unitType);\n lastUnitStart = i;\n lastUnitType = unitType;\n state = 0;\n }\n else {\n // not enough byte to read unit type. let's read it on next PES parsing\n state = -1;\n }\n }\n else {\n state = 0;\n }\n }\n if (lastUnitStart >= 0 && state >= 0) {\n unit = { data: array.subarray(lastUnitStart, len), type: lastUnitType, state: state };\n units.push(unit);\n // logger.log('pushing NALU, type/size/state:' + unit.type + '/' + unit.data.byteLength + '/' + state);\n }\n // no NALu found\n if (units.length === 0) {\n // append pes.data to previous NAL unit\n var lastUnit = this._getLastNalUnit();\n if (lastUnit) {\n var tmp = new Uint8Array(lastUnit.data.byteLength + array.byteLength);\n tmp.set(lastUnit.data, 0);\n tmp.set(array, lastUnit.data.byteLength);\n lastUnit.data = tmp;\n }\n }\n track.naluState = state;\n return units;\n };\n /**\n * remove Emulation Prevention bytes from a RBSP\n */\n TSDemuxer.prototype.discardEPB = function (data) {\n var length = data.byteLength, EPBPositions = [], i = 1, newLength, newData;\n // Find all `Emulation Prevention Bytes`\n while (i < length - 2) {\n if (data[i] === 0 &&\n data[i + 1] === 0 &&\n data[i + 2] === 0x03) {\n EPBPositions.push(i + 2);\n i += 2;\n }\n else {\n i++;\n }\n }\n // If no Emulation Prevention Bytes were found just return the original\n // array\n if (EPBPositions.length === 0) {\n return data;\n }\n // Create a new array to hold the NAL unit data\n newLength = length - EPBPositions.length;\n newData = new Uint8Array(newLength);\n var sourceIndex = 0;\n for (i = 0; i < newLength; sourceIndex++, i++) {\n if (sourceIndex === EPBPositions[0]) {\n // Skip this byte\n sourceIndex++;\n // Remove this position index\n EPBPositions.shift();\n }\n newData[i] = data[sourceIndex];\n }\n return newData;\n };\n TSDemuxer.prototype._parseAACPES = function (pes) {\n var track = this._audioTrack, data = pes.data, pts = pes.pts, startOffset = 0, aacOverFlow = this.aacOverFlow, aacLastPTS = this.aacLastPTS, frameDuration, frameIndex, offset, stamp, len;\n if (aacOverFlow) {\n var tmp = new Uint8Array(aacOverFlow.byteLength + data.byteLength);\n tmp.set(aacOverFlow, 0);\n tmp.set(data, aacOverFlow.byteLength);\n // logger.log(`AAC: append overflowing ${aacOverFlow.byteLength} bytes to beginning of new PES`);\n data = tmp;\n }\n // look for ADTS header (0xFFFx)\n for (offset = startOffset, len = data.length; offset < len - 1; offset++) {\n if (ADTS.isHeader(data, offset)) {\n break;\n }\n }\n // if ADTS header does not start straight from the beginning of the PES payload, raise an error\n if (offset) {\n var reason = void 0, fatal = void 0;\n if (offset < len - 1) {\n reason = \"AAC PES did not start with ADTS header,offset:\" + offset;\n fatal = false;\n }\n else {\n reason = 'no ADTS header found in AAC PES';\n fatal = true;\n }\n logger_1.logger.warn(\"parsing error:\" + reason);\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: fatal, reason: reason });\n if (fatal) {\n return;\n }\n }\n ADTS.initTrackConfig(track, this.observer, data, offset, this.audioCodec);\n frameIndex = 0;\n frameDuration = ADTS.getFrameDuration(track.samplerate);\n // if last AAC frame is overflowing, we should ensure timestamps are contiguous:\n // first sample PTS should be equal to last sample PTS + frameDuration\n if (aacOverFlow && aacLastPTS) {\n var newPTS = aacLastPTS + frameDuration;\n if (Math.abs(newPTS - pts) > 1) {\n logger_1.logger.log(\"AAC: align PTS for overlapping frames by \" + Math.round((newPTS - pts) / 90));\n pts = newPTS;\n }\n }\n // scan for aac samples\n while (offset < len) {\n if (ADTS.isHeader(data, offset) && (offset + 5) < len) {\n var frame = ADTS.appendFrame(track, data, offset, pts, frameIndex);\n if (frame) {\n // logger.log(`${Math.round(frame.sample.pts)} : AAC`);\n offset += frame.length;\n stamp = frame.sample.pts;\n frameIndex++;\n }\n else {\n // logger.log('Unable to parse AAC frame');\n break;\n }\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n if (offset < len) {\n aacOverFlow = data.subarray(offset, len);\n // logger.log(`AAC: overflow detected:${len-offset}`);\n }\n else {\n aacOverFlow = null;\n }\n this.aacOverFlow = aacOverFlow;\n this.aacLastPTS = stamp;\n };\n TSDemuxer.prototype._parseMPEGPES = function (pes) {\n var data = pes.data;\n var length = data.length;\n var frameIndex = 0;\n var offset = 0;\n var pts = pes.pts;\n while (offset < length) {\n if (mpegaudio_1.default.isHeader(data, offset)) {\n var frame = mpegaudio_1.default.appendFrame(this._audioTrack, data, offset, pts, frameIndex);\n if (frame) {\n offset += frame.length;\n frameIndex++;\n }\n else {\n // logger.log('Unable to parse Mpeg audio frame');\n break;\n }\n }\n else {\n // nothing found, keep looking\n offset++;\n }\n }\n };\n TSDemuxer.prototype._parseID3PES = function (pes) {\n this._id3Track.samples.push(pes);\n };\n return TSDemuxer;\n}());\nexports.default = TSDemuxer;\n\n\n/***/ }),\n\n/***/ \"./src/errors.js\":\n/*!***********************!*\\\n !*** ./src/errors.js ***!\n \\***********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ErrorTypes = {\n // Identifier for a network error (loading error / timeout ...)\n NETWORK_ERROR: 'networkError',\n // Identifier for a media Error (video/parsing/mediasource error)\n MEDIA_ERROR: 'mediaError',\n // EME (encrypted media extensions) errors\n KEY_SYSTEM_ERROR: 'keySystemError',\n // Identifier for a mux Error (demuxing/remuxing)\n MUX_ERROR: 'muxError',\n // Identifier for all other errors\n OTHER_ERROR: 'otherError'\n};\n/**\n * @enum {ErrorDetails}\n * @typedef {string} ErrorDetail\n */\nexports.ErrorDetails = {\n KEY_SYSTEM_NO_KEYS: 'keySystemNoKeys',\n KEY_SYSTEM_NO_ACCESS: 'keySystemNoAccess',\n KEY_SYSTEM_NO_SESSION: 'keySystemNoSession',\n KEY_SYSTEM_LICENSE_REQUEST_FAILED: 'keySystemLicenseRequestFailed',\n // Identifier for a manifest load error - data: { url : faulty URL, response : { code: error code, text: error text }}\n MANIFEST_LOAD_ERROR: 'manifestLoadError',\n // Identifier for a manifest load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}\n MANIFEST_LOAD_TIMEOUT: 'manifestLoadTimeOut',\n // Identifier for a manifest parsing error - data: { url : faulty URL, reason : error reason}\n MANIFEST_PARSING_ERROR: 'manifestParsingError',\n // Identifier for a manifest with only incompatible codecs error - data: { url : faulty URL, reason : error reason}\n MANIFEST_INCOMPATIBLE_CODECS_ERROR: 'manifestIncompatibleCodecsError',\n // Identifier for a level load error - data: { url : faulty URL, response : { code: error code, text: error text }}\n LEVEL_LOAD_ERROR: 'levelLoadError',\n // Identifier for a level load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}\n LEVEL_LOAD_TIMEOUT: 'levelLoadTimeOut',\n // Identifier for a level switch error - data: { level : faulty level Id, event : error description}\n LEVEL_SWITCH_ERROR: 'levelSwitchError',\n // Identifier for an audio track load error - data: { url : faulty URL, response : { code: error code, text: error text }}\n AUDIO_TRACK_LOAD_ERROR: 'audioTrackLoadError',\n // Identifier for an audio track load timeout - data: { url : faulty URL, response : { code: error code, text: error text }}\n AUDIO_TRACK_LOAD_TIMEOUT: 'audioTrackLoadTimeOut',\n // Identifier for fragment load error - data: { frag : fragment object, response : { code: error code, text: error text }}\n FRAG_LOAD_ERROR: 'fragLoadError',\n // Identifier for fragment load timeout error - data: { frag : fragment object}\n FRAG_LOAD_TIMEOUT: 'fragLoadTimeOut',\n // Identifier for a fragment decryption error event - data: {id : demuxer Id,frag: fragment object, reason : parsing error description }\n FRAG_DECRYPT_ERROR: 'fragDecryptError',\n // Identifier for a fragment parsing error event - data: { id : demuxer Id, reason : parsing error description }\n // will be renamed DEMUX_PARSING_ERROR and switched to MUX_ERROR in the next major release\n FRAG_PARSING_ERROR: 'fragParsingError',\n // Identifier for a remux alloc error event - data: { id : demuxer Id, frag : fragment object, bytes : nb of bytes on which allocation failed , reason : error text }\n REMUX_ALLOC_ERROR: 'remuxAllocError',\n // Identifier for decrypt key load error - data: { frag : fragment object, response : { code: error code, text: error text }}\n KEY_LOAD_ERROR: 'keyLoadError',\n // Identifier for decrypt key load timeout error - data: { frag : fragment object}\n KEY_LOAD_TIMEOUT: 'keyLoadTimeOut',\n // Triggered when an exception occurs while adding a sourceBuffer to MediaSource - data : { err : exception , mimeType : mimeType }\n BUFFER_ADD_CODEC_ERROR: 'bufferAddCodecError',\n // Identifier for a buffer append error - data: append error description\n BUFFER_APPEND_ERROR: 'bufferAppendError',\n // Identifier for a buffer appending error event - data: appending error description\n BUFFER_APPENDING_ERROR: 'bufferAppendingError',\n // Identifier for a buffer stalled error event\n BUFFER_STALLED_ERROR: 'bufferStalledError',\n // Identifier for a buffer full event\n BUFFER_FULL_ERROR: 'bufferFullError',\n // Identifier for a buffer seek over hole event\n BUFFER_SEEK_OVER_HOLE: 'bufferSeekOverHole',\n // Identifier for a buffer nudge on stall (playback is stuck although currentTime is in a buffered area)\n BUFFER_NUDGE_ON_STALL: 'bufferNudgeOnStall',\n // Identifier for an internal exception happening inside hls.js while handling an event\n INTERNAL_EXCEPTION: 'internalException'\n};\n\n\n/***/ }),\n\n/***/ \"./src/event-handler.js\":\n/*!******************************!*\\\n !*** ./src/event-handler.js ***!\n \\******************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n*\n* All objects in the event handling chain should inherit from this class\n*\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ./utils/logger */ \"./src/utils/logger.js\");\nvar errors_1 = __webpack_require__(/*! ./errors */ \"./src/errors.js\");\nvar events_1 = __webpack_require__(/*! ./events */ \"./src/events.js\");\nvar FORBIDDEN_EVENT_NAMES = {\n 'hlsEventGeneric': true,\n 'hlsHandlerDestroying': true,\n 'hlsHandlerDestroyed': true\n};\nvar EventHandler = /** @class */ (function () {\n function EventHandler(hls) {\n var events = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n events[_i - 1] = arguments[_i];\n }\n this.hls = hls;\n this.onEvent = this.onEvent.bind(this);\n this.handledEvents = events;\n this.useGenericHandler = true;\n this.registerListeners();\n }\n EventHandler.prototype.destroy = function () {\n this.onHandlerDestroying();\n this.unregisterListeners();\n this.onHandlerDestroyed();\n };\n EventHandler.prototype.onHandlerDestroying = function () { };\n EventHandler.prototype.onHandlerDestroyed = function () { };\n EventHandler.prototype.isEventHandler = function () {\n return typeof this.handledEvents === 'object' && this.handledEvents.length && typeof this.onEvent === 'function';\n };\n EventHandler.prototype.registerListeners = function () {\n if (this.isEventHandler()) {\n this.handledEvents.forEach(function (event) {\n if (FORBIDDEN_EVENT_NAMES[event]) {\n throw new Error('Forbidden event-name: ' + event);\n }\n this.hls.on(event, this.onEvent);\n }, this);\n }\n };\n EventHandler.prototype.unregisterListeners = function () {\n if (this.isEventHandler()) {\n this.handledEvents.forEach(function (event) {\n this.hls.off(event, this.onEvent);\n }, this);\n }\n };\n /**\n * arguments: event (string), data (any)\n */\n EventHandler.prototype.onEvent = function (event, data) {\n this.onEventGeneric(event, data);\n };\n EventHandler.prototype.onEventGeneric = function (event, data) {\n var eventToFunction = function (event, data) {\n var funcName = 'on' + event.replace('hls', '');\n if (typeof this[funcName] !== 'function') {\n throw new Error(\"Event \" + event + \" has no generic handler in this \" + this.constructor.name + \" class (tried \" + funcName + \")\");\n }\n return this[funcName].bind(this, data);\n };\n try {\n eventToFunction.call(this, event, data).call();\n }\n catch (err) {\n logger_1.logger.error(\"An internal error happened while handling event \" + event + \". Error message: \\\"\" + err.message + \"\\\". Here is a stacktrace:\", err);\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.OTHER_ERROR, details: errors_1.ErrorDetails.INTERNAL_EXCEPTION, fatal: false, event: event, err: err });\n }\n };\n return EventHandler;\n}());\nexports.default = EventHandler;\n\n\n/***/ }),\n\n/***/ \"./src/events.js\":\n/*!***********************!*\\\n !*** ./src/events.js ***!\n \\***********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * @readonly\n * @enum {string}\n */\nvar HlsEvents = {\n // fired before MediaSource is attaching to media element - data: { media }\n MEDIA_ATTACHING: 'hlsMediaAttaching',\n // fired when MediaSource has been succesfully attached to media element - data: { }\n MEDIA_ATTACHED: 'hlsMediaAttached',\n // fired before detaching MediaSource from media element - data: { }\n MEDIA_DETACHING: 'hlsMediaDetaching',\n // fired when MediaSource has been detached from media element - data: { }\n MEDIA_DETACHED: 'hlsMediaDetached',\n // fired when we buffer is going to be reset - data: { }\n BUFFER_RESET: 'hlsBufferReset',\n // fired when we know about the codecs that we need buffers for to push into - data: {tracks : { container, codec, levelCodec, initSegment, metadata }}\n BUFFER_CODECS: 'hlsBufferCodecs',\n // fired when sourcebuffers have been created - data: { tracks : tracks }\n BUFFER_CREATED: 'hlsBufferCreated',\n // fired when we append a segment to the buffer - data: { segment: segment object }\n BUFFER_APPENDING: 'hlsBufferAppending',\n // fired when we are done with appending a media segment to the buffer - data : { parent : segment parent that triggered BUFFER_APPENDING, pending : nb of segments waiting for appending for this segment parent}\n BUFFER_APPENDED: 'hlsBufferAppended',\n // fired when the stream is finished and we want to notify the media buffer that there will be no more data - data: { }\n BUFFER_EOS: 'hlsBufferEos',\n // fired when the media buffer should be flushed - data { startOffset, endOffset }\n BUFFER_FLUSHING: 'hlsBufferFlushing',\n // fired when the media buffer has been flushed - data: { }\n BUFFER_FLUSHED: 'hlsBufferFlushed',\n // fired to signal that a manifest loading starts - data: { url : manifestURL}\n MANIFEST_LOADING: 'hlsManifestLoading',\n // fired after manifest has been loaded - data: { levels : [available quality levels], audioTracks : [ available audio tracks], url : manifestURL, stats : { trequest, tfirst, tload, mtime}}\n MANIFEST_LOADED: 'hlsManifestLoaded',\n // fired after manifest has been parsed - data: { levels : [available quality levels], firstLevel : index of first quality level appearing in Manifest}\n MANIFEST_PARSED: 'hlsManifestParsed',\n // fired when a level switch is requested - data: { level : id of new level }\n LEVEL_SWITCHING: 'hlsLevelSwitching',\n // fired when a level switch is effective - data: { level : id of new level }\n LEVEL_SWITCHED: 'hlsLevelSwitched',\n // fired when a level playlist loading starts - data: { url : level URL, level : id of level being loaded}\n LEVEL_LOADING: 'hlsLevelLoading',\n // fired when a level playlist loading finishes - data: { details : levelDetails object, level : id of loaded level, stats : { trequest, tfirst, tload, mtime} }\n LEVEL_LOADED: 'hlsLevelLoaded',\n // fired when a level's details have been updated based on previous details, after it has been loaded - data: { details : levelDetails object, level : id of updated level }\n LEVEL_UPDATED: 'hlsLevelUpdated',\n // fired when a level's PTS information has been updated after parsing a fragment - data: { details : levelDetails object, level : id of updated level, drift: PTS drift observed when parsing last fragment }\n LEVEL_PTS_UPDATED: 'hlsLevelPtsUpdated',\n // fired to notify that audio track lists has been updated - data: { audioTracks : audioTracks }\n AUDIO_TRACKS_UPDATED: 'hlsAudioTracksUpdated',\n // fired when an audio track switching is requested - data: { id : audio track id }\n AUDIO_TRACK_SWITCHING: 'hlsAudioTrackSwitching',\n // fired when an audio track switch actually occurs - data: { id : audio track id }\n AUDIO_TRACK_SWITCHED: 'hlsAudioTrackSwitched',\n // fired when an audio track loading starts - data: { url : audio track URL, id : audio track id }\n AUDIO_TRACK_LOADING: 'hlsAudioTrackLoading',\n // fired when an audio track loading finishes - data: { details : levelDetails object, id : audio track id, stats : { trequest, tfirst, tload, mtime } }\n AUDIO_TRACK_LOADED: 'hlsAudioTrackLoaded',\n // fired to notify that subtitle track lists has been updated - data: { subtitleTracks : subtitleTracks }\n SUBTITLE_TRACKS_UPDATED: 'hlsSubtitleTracksUpdated',\n // fired when an subtitle track switch occurs - data: { id : subtitle track id }\n SUBTITLE_TRACK_SWITCH: 'hlsSubtitleTrackSwitch',\n // fired when a subtitle track loading starts - data: { url : subtitle track URL, id : subtitle track id }\n SUBTITLE_TRACK_LOADING: 'hlsSubtitleTrackLoading',\n // fired when a subtitle track loading finishes - data: { details : levelDetails object, id : subtitle track id, stats : { trequest, tfirst, tload, mtime } }\n SUBTITLE_TRACK_LOADED: 'hlsSubtitleTrackLoaded',\n // fired when a subtitle fragment has been processed - data: { success : boolean, frag : the processed frag }\n SUBTITLE_FRAG_PROCESSED: 'hlsSubtitleFragProcessed',\n // fired when the first timestamp is found - data: { id : demuxer id, initPTS: initPTS, frag : fragment object }\n INIT_PTS_FOUND: 'hlsInitPtsFound',\n // fired when a fragment loading starts - data: { frag : fragment object }\n FRAG_LOADING: 'hlsFragLoading',\n // fired when a fragment loading is progressing - data: { frag : fragment object, { trequest, tfirst, loaded } }\n FRAG_LOAD_PROGRESS: 'hlsFragLoadProgress',\n // Identifier for fragment load aborting for emergency switch down - data: { frag : fragment object }\n FRAG_LOAD_EMERGENCY_ABORTED: 'hlsFragLoadEmergencyAborted',\n // fired when a fragment loading is completed - data: { frag : fragment object, payload : fragment payload, stats : { trequest, tfirst, tload, length } }\n FRAG_LOADED: 'hlsFragLoaded',\n // fired when a fragment has finished decrypting - data: { id : demuxer id, frag: fragment object, payload : fragment payload, stats : { tstart, tdecrypt } }\n FRAG_DECRYPTED: 'hlsFragDecrypted',\n // fired when Init Segment has been extracted from fragment - data: { id : demuxer id, frag: fragment object, moov : moov MP4 box, codecs : codecs found while parsing fragment }\n FRAG_PARSING_INIT_SEGMENT: 'hlsFragParsingInitSegment',\n // fired when parsing sei text is completed - data: { id : demuxer id, frag: fragment object, samples : [ sei samples pes ] }\n FRAG_PARSING_USERDATA: 'hlsFragParsingUserdata',\n // fired when parsing id3 is completed - data: { id : demuxer id, frag: fragment object, samples : [ id3 samples pes ] }\n FRAG_PARSING_METADATA: 'hlsFragParsingMetadata',\n // fired when data have been extracted from fragment - data: { id : demuxer id, frag: fragment object, data1 : moof MP4 box or TS fragments, data2 : mdat MP4 box or null}\n FRAG_PARSING_DATA: 'hlsFragParsingData',\n // fired when fragment parsing is completed - data: { id : demuxer id, frag: fragment object }\n FRAG_PARSED: 'hlsFragParsed',\n // fired when fragment remuxed MP4 boxes have all been appended into SourceBuffer - data: { id : demuxer id, frag : fragment object, stats : { trequest, tfirst, tload, tparsed, tbuffered, length, bwEstimate } }\n FRAG_BUFFERED: 'hlsFragBuffered',\n // fired when fragment matching with current media position is changing - data : { id : demuxer id, frag : fragment object }\n FRAG_CHANGED: 'hlsFragChanged',\n // Identifier for a FPS drop event - data: { curentDropped, currentDecoded, totalDroppedFrames }\n FPS_DROP: 'hlsFpsDrop',\n // triggered when FPS drop triggers auto level capping - data: { level, droppedlevel }\n FPS_DROP_LEVEL_CAPPING: 'hlsFpsDropLevelCapping',\n // Identifier for an error event - data: { type : error type, details : error details, fatal : if true, hls.js cannot/will not try to recover, if false, hls.js will try to recover,other error specific data }\n ERROR: 'hlsError',\n // fired when hls.js instance starts destroying. Different from MEDIA_DETACHED as one could want to detach and reattach a media to the instance of hls.js to handle mid-rolls for example - data: { }\n DESTROYING: 'hlsDestroying',\n // fired when a decrypt key loading starts - data: { frag : fragment object }\n KEY_LOADING: 'hlsKeyLoading',\n // fired when a decrypt key loading is completed - data: { frag : fragment object, payload : key payload, stats : { trequest, tfirst, tload, length } }\n KEY_LOADED: 'hlsKeyLoaded',\n // fired upon stream controller state transitions - data: { previousState, nextState }\n STREAM_STATE_TRANSITION: 'hlsStreamStateTransition'\n};\nexports.default = HlsEvents;\n\n\n/***/ }),\n\n/***/ \"./src/hls.js\":\n/*!********************!*\\\n !*** ./src/hls.js ***!\n \\********************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar errors_1 = __webpack_require__(/*! ./errors */ \"./src/errors.js\");\nvar playlist_loader_1 = __webpack_require__(/*! ./loader/playlist-loader */ \"./src/loader/playlist-loader.js\");\nvar fragment_loader_1 = __webpack_require__(/*! ./loader/fragment-loader */ \"./src/loader/fragment-loader.js\");\nvar key_loader_1 = __webpack_require__(/*! ./loader/key-loader */ \"./src/loader/key-loader.js\");\nvar fragment_tracker_1 = __webpack_require__(/*! ./controller/fragment-tracker */ \"./src/controller/fragment-tracker.js\");\nvar stream_controller_1 = __webpack_require__(/*! ./controller/stream-controller */ \"./src/controller/stream-controller.js\");\nvar level_controller_1 = __webpack_require__(/*! ./controller/level-controller */ \"./src/controller/level-controller.js\");\nvar id3_track_controller_1 = __webpack_require__(/*! ./controller/id3-track-controller */ \"./src/controller/id3-track-controller.js\");\nvar is_supported_1 = __webpack_require__(/*! ./is-supported */ \"./src/is-supported.js\");\nvar logger_1 = __webpack_require__(/*! ./utils/logger */ \"./src/utils/logger.js\");\nvar config_1 = __webpack_require__(/*! ./config */ \"./src/config.js\");\nvar events_1 = __webpack_require__(/*! ./events */ \"./src/events.js\");\nvar observer_1 = __webpack_require__(/*! ./observer */ \"./src/observer.js\");\n/**\n * @module Hls\n * @class\n * @constructor\n */\nvar Hls = /** @class */ (function (_super) {\n __extends(Hls, _super);\n /**\n * Creates an instance of an HLS client that can attach to exactly one `HTMLMediaElement`.\n *\n * @constructs Hls\n * @param {HlsConfig} config\n */\n function Hls(config) {\n if (config === void 0) { config = {}; }\n var _this = _super.call(this) || this;\n var defaultConfig = Hls.DefaultConfig;\n if ((config.liveSyncDurationCount || config.liveMaxLatencyDurationCount) && (config.liveSyncDuration || config.liveMaxLatencyDuration)) {\n throw new Error('Illegal hls.js config: don\\'t mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration');\n }\n for (var prop in defaultConfig) {\n if (prop in config)\n continue;\n config[prop] = defaultConfig[prop];\n }\n if (config.liveMaxLatencyDurationCount !== undefined && config.liveMaxLatencyDurationCount <= config.liveSyncDurationCount) {\n throw new Error('Illegal hls.js config: \"liveMaxLatencyDurationCount\" must be gt \"liveSyncDurationCount\"');\n }\n if (config.liveMaxLatencyDuration !== undefined && (config.liveMaxLatencyDuration <= config.liveSyncDuration || config.liveSyncDuration === undefined)) {\n throw new Error('Illegal hls.js config: \"liveMaxLatencyDuration\" must be gt \"liveSyncDuration\"');\n }\n logger_1.enableLogs(config.debug);\n _this.config = config;\n _this._autoLevelCapping = -1;\n // core controllers and network loaders\n /**\n * @member {AbrController} abrController\n */\n var abrController = _this.abrController = new config.abrController(_this);\n var bufferController = new config.bufferController(_this);\n var capLevelController = new config.capLevelController(_this);\n var fpsController = new config.fpsController(_this);\n var playListLoader = new playlist_loader_1.default(_this);\n var fragmentLoader = new fragment_loader_1.default(_this);\n var keyLoader = new key_loader_1.default(_this);\n var id3TrackController = new id3_track_controller_1.default(_this);\n // network controllers\n /**\n * @member {LevelController} levelController\n */\n var levelController = _this.levelController = new level_controller_1.default(_this);\n // FIXME: FragmentTracker must be defined before StreamController because the order of event handling is important\n var fragmentTracker = new fragment_tracker_1.FragmentTracker(_this);\n /**\n * @member {StreamController} streamController\n */\n var streamController = _this.streamController = new stream_controller_1.default(_this, fragmentTracker);\n var networkControllers = [levelController, streamController];\n // optional audio stream controller\n /**\n * @var {ICoreComponent | Controller}\n */\n var Controller = config.audioStreamController;\n if (Controller) {\n networkControllers.push(new Controller(_this, fragmentTracker));\n }\n /**\n * @member {INetworkController[]} networkControllers\n */\n _this.networkControllers = networkControllers;\n /**\n * @var {ICoreComponent[]}\n */\n var coreComponents = [\n playListLoader,\n fragmentLoader,\n keyLoader,\n abrController,\n bufferController,\n capLevelController,\n fpsController,\n id3TrackController,\n fragmentTracker\n ];\n // optional audio track and subtitle controller\n Controller = config.audioTrackController;\n if (Controller) {\n var audioTrackController = new Controller(_this);\n /**\n * @member {AudioTrackController} audioTrackController\n */\n _this.audioTrackController = audioTrackController;\n coreComponents.push(audioTrackController);\n }\n Controller = config.subtitleTrackController;\n if (Controller) {\n var subtitleTrackController = new Controller(_this);\n /**\n * @member {SubtitleTrackController} subtitleTrackController\n */\n _this.subtitleTrackController = subtitleTrackController;\n coreComponents.push(subtitleTrackController);\n }\n Controller = config.emeController;\n if (Controller) {\n var emeController = new Controller(_this);\n /**\n * @member {EMEController} emeController\n */\n _this.emeController = emeController;\n coreComponents.push(emeController);\n }\n // optional subtitle controllers\n Controller = config.subtitleStreamController;\n if (Controller) {\n coreComponents.push(new Controller(_this, fragmentTracker));\n }\n Controller = config.timelineController;\n if (Controller) {\n coreComponents.push(new Controller(_this));\n }\n /**\n * @member {ICoreComponent[]}\n */\n _this.coreComponents = coreComponents;\n return _this;\n }\n Object.defineProperty(Hls, \"version\", {\n /**\n * @type {string}\n */\n get: function () {\n return \"0.12.2\";\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @type {boolean}\n */\n Hls.isSupported = function () {\n return is_supported_1.isSupported();\n };\n Object.defineProperty(Hls, \"Events\", {\n /**\n * @type {HlsEvents}\n */\n get: function () {\n return events_1.default;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls, \"ErrorTypes\", {\n /**\n * @type {HlsErrorTypes}\n */\n get: function () {\n return errors_1.ErrorTypes;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls, \"ErrorDetails\", {\n /**\n * @type {HlsErrorDetails}\n */\n get: function () {\n return errors_1.ErrorDetails;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls, \"DefaultConfig\", {\n /**\n * @type {HlsConfig}\n */\n get: function () {\n if (!Hls.defaultConfig) {\n return config_1.hlsDefaultConfig;\n }\n return Hls.defaultConfig;\n },\n /**\n * @type {HlsConfig}\n */\n set: function (defaultConfig) {\n Hls.defaultConfig = defaultConfig;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Dispose of the instance\n */\n Hls.prototype.destroy = function () {\n logger_1.logger.log('destroy');\n this.trigger(events_1.default.DESTROYING);\n this.detachMedia();\n this.coreComponents.concat(this.networkControllers).forEach(function (component) {\n component.destroy();\n });\n this.url = null;\n this.removeAllListeners();\n this._autoLevelCapping = -1;\n };\n /**\n * Attach a media element\n * @param {HTMLMediaElement} media\n */\n Hls.prototype.attachMedia = function (media) {\n logger_1.logger.log('attachMedia');\n this.media = media;\n this.trigger(events_1.default.MEDIA_ATTACHING, { media: media });\n };\n /**\n * Detach from the media\n */\n Hls.prototype.detachMedia = function () {\n logger_1.logger.log('detachMedia');\n this.trigger(events_1.default.MEDIA_DETACHING);\n this.media = null;\n };\n /**\n * Set the source URL. Can be relative or absolute.\n * @param {string} url\n */\n Hls.prototype.loadSource = function (url) {\n url = URLToolkit.buildAbsoluteURL(window.location.href, url, { alwaysNormalize: true });\n logger_1.logger.log(\"loadSource:\" + url);\n this.url = url;\n // when attaching to a source URL, trigger a playlist load\n this.trigger(events_1.default.MANIFEST_LOADING, { url: url });\n };\n /**\n * Start loading data from the stream source.\n * Depending on default config, client starts loading automatically when a source is set.\n *\n * @param {number} startPosition Set the start position to stream from\n * @default -1 None (from earliest point)\n */\n Hls.prototype.startLoad = function (startPosition) {\n if (startPosition === void 0) { startPosition = -1; }\n logger_1.logger.log(\"startLoad(\" + startPosition + \")\");\n this.networkControllers.forEach(function (controller) {\n controller.startLoad(startPosition);\n });\n };\n /**\n * Stop loading of any stream data.\n */\n Hls.prototype.stopLoad = function () {\n logger_1.logger.log('stopLoad');\n this.networkControllers.forEach(function (controller) {\n controller.stopLoad();\n });\n };\n /**\n * Swap through possible audio codecs in the stream (for example to switch from stereo to 5.1)\n */\n Hls.prototype.swapAudioCodec = function () {\n logger_1.logger.log('swapAudioCodec');\n this.streamController.swapAudioCodec();\n };\n /**\n * When the media-element fails, this allows to detach and then re-attach it\n * as one call (convenience method).\n *\n * Automatic recovery of media-errors by this process is configurable.\n */\n Hls.prototype.recoverMediaError = function () {\n logger_1.logger.log('recoverMediaError');\n var media = this.media;\n this.detachMedia();\n this.attachMedia(media);\n };\n Object.defineProperty(Hls.prototype, \"levels\", {\n /**\n * @type {QualityLevel[]}\n */\n get: function () {\n return this.levelController.levels;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"currentLevel\", {\n /**\n * Index of quality level currently played\n * @type {number}\n */\n get: function () {\n return this.streamController.currentLevel;\n },\n /**\n * Set quality level index immediately .\n * This will flush the current buffer to replace the quality asap.\n * That means playback will interrupt at least shortly to re-buffer and re-sync eventually.\n * @type {number} -1 for automatic level selection\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set currentLevel:\" + newLevel);\n this.loadLevel = newLevel;\n this.streamController.immediateLevelSwitch();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"nextLevel\", {\n /**\n * Index of next quality level loaded as scheduled by stream controller.\n * @type {number}\n */\n get: function () {\n return this.streamController.nextLevel;\n },\n /**\n * Set quality level index for next loaded data.\n * This will switch the video quality asap, without interrupting playback.\n * May abort current loading of data, and flush parts of buffer (outside currently played fragment region).\n * @type {number} -1 for automatic level selection\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set nextLevel:\" + newLevel);\n this.levelController.manualLevel = newLevel;\n this.streamController.nextLevelSwitch();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"loadLevel\", {\n /**\n * Return the quality level of the currently or last (of none is loaded currently) segment\n * @type {number}\n */\n get: function () {\n return this.levelController.level;\n },\n /**\n * Set quality level index for next loaded data in a conservative way.\n * This will switch the quality without flushing, but interrupt current loading.\n * Thus the moment when the quality switch will appear in effect will only be after the already existing buffer.\n * @type {number} newLevel -1 for automatic level selection\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set loadLevel:\" + newLevel);\n this.levelController.manualLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"nextLoadLevel\", {\n /**\n * get next quality level loaded\n * @type {number}\n */\n get: function () {\n return this.levelController.nextLoadLevel;\n },\n /**\n * Set quality level of next loaded segment in a fully \"non-destructive\" way.\n * Same as `loadLevel` but will wait for next switch (until current loading is done).\n * @type {number} level\n */\n set: function (level) {\n this.levelController.nextLoadLevel = level;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"firstLevel\", {\n /**\n * Return \"first level\": like a default level, if not set,\n * falls back to index of first level referenced in manifest\n * @type {number}\n */\n get: function () {\n return Math.max(this.levelController.firstLevel, this.minAutoLevel);\n },\n /**\n * Sets \"first-level\", see getter.\n * @type {number}\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set firstLevel:\" + newLevel);\n this.levelController.firstLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"startLevel\", {\n /**\n * Return start level (level of first fragment that will be played back)\n * if not overrided by user, first level appearing in manifest will be used as start level\n * if -1 : automatic start level selection, playback will start from level matching download bandwidth\n * (determined from download of first segment)\n * @type {number}\n */\n get: function () {\n return this.levelController.startLevel;\n },\n /**\n * set start level (level of first fragment that will be played back)\n * if not overrided by user, first level appearing in manifest will be used as start level\n * if -1 : automatic start level selection, playback will start from level matching download bandwidth\n * (determined from download of first segment)\n * @type {number} newLevel\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set startLevel:\" + newLevel);\n var hls = this;\n // if not in automatic start level detection, ensure startLevel is greater than minAutoLevel\n if (newLevel !== -1) {\n newLevel = Math.max(newLevel, hls.minAutoLevel);\n }\n hls.levelController.startLevel = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"autoLevelCapping\", {\n /**\n * Capping/max level value that should be used by automatic level selection algorithm (`ABRController`)\n * @type {number}\n */\n get: function () {\n return this._autoLevelCapping;\n },\n /**\n * Capping/max level value that should be used by automatic level selection algorithm (`ABRController`)\n * @type {number}\n */\n set: function (newLevel) {\n logger_1.logger.log(\"set autoLevelCapping:\" + newLevel);\n this._autoLevelCapping = newLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"autoLevelEnabled\", {\n /**\n * True when automatic level selection enabled\n * @type {boolean}\n */\n get: function () {\n return (this.levelController.manualLevel === -1);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"manualLevel\", {\n /**\n * Level set manually (if any)\n * @type {number}\n */\n get: function () {\n return this.levelController.manualLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"minAutoLevel\", {\n /**\n * min level selectable in auto mode according to config.minAutoBitrate\n * @type {number}\n */\n get: function () {\n var hls = this, levels = hls.levels, minAutoBitrate = hls.config.minAutoBitrate, len = levels ? levels.length : 0;\n for (var i = 0; i < len; i++) {\n var levelNextBitrate = levels[i].realBitrate ? Math.max(levels[i].realBitrate, levels[i].bitrate) : levels[i].bitrate;\n if (levelNextBitrate > minAutoBitrate) {\n return i;\n }\n }\n return 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"maxAutoLevel\", {\n /**\n * max level selectable in auto mode according to autoLevelCapping\n * @type {number}\n */\n get: function () {\n var hls = this;\n var levels = hls.levels;\n var autoLevelCapping = hls.autoLevelCapping;\n var maxAutoLevel;\n if (autoLevelCapping === -1 && levels && levels.length) {\n maxAutoLevel = levels.length - 1;\n }\n else {\n maxAutoLevel = autoLevelCapping;\n }\n return maxAutoLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"nextAutoLevel\", {\n /**\n * next automatically selected quality level\n * @type {number}\n */\n get: function () {\n var hls = this;\n // ensure next auto level is between min and max auto level\n return Math.min(Math.max(hls.abrController.nextAutoLevel, hls.minAutoLevel), hls.maxAutoLevel);\n },\n /**\n * this setter is used to force next auto level.\n * this is useful to force a switch down in auto mode:\n * in case of load error on level N, hls.js can set nextAutoLevel to N-1 for example)\n * forced value is valid for one fragment. upon succesful frag loading at forced level,\n * this value will be resetted to -1 by ABR controller.\n * @type {number}\n */\n set: function (nextLevel) {\n var hls = this;\n hls.abrController.nextAutoLevel = Math.max(hls.minAutoLevel, nextLevel);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"audioTracks\", {\n /**\n * @type {AudioTrack[]}\n */\n get: function () {\n var audioTrackController = this.audioTrackController;\n return audioTrackController ? audioTrackController.audioTracks : [];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"audioTrack\", {\n /**\n * index of the selected audio track (index in audio track lists)\n * @type {number}\n */\n get: function () {\n var audioTrackController = this.audioTrackController;\n return audioTrackController ? audioTrackController.audioTrack : -1;\n },\n /**\n * selects an audio track, based on its index in audio track lists\n * @type {number}\n */\n set: function (audioTrackId) {\n var audioTrackController = this.audioTrackController;\n if (audioTrackController) {\n audioTrackController.audioTrack = audioTrackId;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"liveSyncPosition\", {\n /**\n * @type {Seconds}\n */\n get: function () {\n return this.streamController.liveSyncPosition;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"subtitleTracks\", {\n /**\n * get alternate subtitle tracks list from playlist\n * @type {SubtitleTrack[]}\n */\n get: function () {\n var subtitleTrackController = this.subtitleTrackController;\n return subtitleTrackController ? subtitleTrackController.subtitleTracks : [];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"subtitleTrack\", {\n /**\n * index of the selected subtitle track (index in subtitle track lists)\n * @type {number}\n */\n get: function () {\n var subtitleTrackController = this.subtitleTrackController;\n return subtitleTrackController ? subtitleTrackController.subtitleTrack : -1;\n },\n /**\n * select an subtitle track, based on its index in subtitle track lists\n * @type{number}\n */\n set: function (subtitleTrackId) {\n var subtitleTrackController = this.subtitleTrackController;\n if (subtitleTrackController) {\n subtitleTrackController.subtitleTrack = subtitleTrackId;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Hls.prototype, \"subtitleDisplay\", {\n /**\n * @type {boolean}\n */\n get: function () {\n var subtitleTrackController = this.subtitleTrackController;\n return subtitleTrackController ? subtitleTrackController.subtitleDisplay : false;\n },\n /**\n * Enable/disable subtitle display rendering\n * @type {boolean}\n */\n set: function (value) {\n var subtitleTrackController = this.subtitleTrackController;\n if (subtitleTrackController) {\n subtitleTrackController.subtitleDisplay = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n return Hls;\n}(observer_1.Observer));\nexports.default = Hls;\n\n\n/***/ }),\n\n/***/ \"./src/is-supported.js\":\n/*!*****************************!*\\\n !*** ./src/is-supported.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mediasource_helper_1 = __webpack_require__(/*! ./utils/mediasource-helper */ \"./src/utils/mediasource-helper.js\");\nfunction isSupported() {\n var mediaSource = mediasource_helper_1.getMediaSource();\n var sourceBuffer = window.SourceBuffer || window.WebKitSourceBuffer;\n var isTypeSupported = mediaSource &&\n typeof mediaSource.isTypeSupported === 'function' &&\n mediaSource.isTypeSupported('video/mp4; codecs=\"avc1.42E01E,mp4a.40.2\"');\n // if SourceBuffer is exposed ensure its API is valid\n // safari and old version of Chrome doe not expose SourceBuffer globally so checking SourceBuffer.prototype is impossible\n var sourceBufferValidAPI = !sourceBuffer ||\n (sourceBuffer.prototype &&\n typeof sourceBuffer.prototype.appendBuffer === 'function' &&\n typeof sourceBuffer.prototype.remove === 'function');\n return !!isTypeSupported && !!sourceBufferValidAPI;\n}\nexports.isSupported = isSupported;\n\n\n/***/ }),\n\n/***/ \"./src/loader/fragment-loader.js\":\n/*!***************************************!*\\\n !*** ./src/loader/fragment-loader.js ***!\n \\***************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/*\n * Fragment Loader\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar FragmentLoader = /** @class */ (function (_super) {\n __extends(FragmentLoader, _super);\n function FragmentLoader(hls) {\n var _this = _super.call(this, hls, events_1.default.FRAG_LOADING) || this;\n _this.loaders = {};\n return _this;\n }\n FragmentLoader.prototype.destroy = function () {\n var loaders = this.loaders;\n for (var loaderName in loaders) {\n var loader = loaders[loaderName];\n if (loader) {\n loader.destroy();\n }\n }\n this.loaders = {};\n _super.prototype.destroy.call(this);\n };\n FragmentLoader.prototype.onFragLoading = function (data) {\n var frag = data.frag, type = frag.type, loaders = this.loaders, config = this.hls.config, FragmentILoader = config.fLoader, DefaultILoader = config.loader;\n // reset fragment state\n frag.loaded = 0;\n var loader = loaders[type];\n if (loader) {\n logger_1.logger.warn(\"abort previous fragment loader for type: \" + type);\n loader.abort();\n }\n loader = loaders[type] = frag.loader =\n config.fLoader ? new FragmentILoader(config) : new DefaultILoader(config);\n var loaderContext, loaderConfig, loaderCallbacks;\n loaderContext = { url: frag.url, frag: frag, responseType: 'arraybuffer', progressData: false };\n var start = frag.byteRangeStartOffset, end = frag.byteRangeEndOffset;\n if (Number.isFinite(start) && Number.isFinite(end)) {\n loaderContext.rangeStart = start;\n loaderContext.rangeEnd = end;\n }\n loaderConfig = {\n timeout: config.fragLoadingTimeOut,\n maxRetry: 0,\n retryDelay: 0,\n maxRetryDelay: config.fragLoadingMaxRetryTimeout\n };\n loaderCallbacks = {\n onSuccess: this.loadsuccess.bind(this),\n onError: this.loaderror.bind(this),\n onTimeout: this.loadtimeout.bind(this),\n onProgress: this.loadprogress.bind(this)\n };\n loader.load(loaderContext, loaderConfig, loaderCallbacks);\n };\n FragmentLoader.prototype.loadsuccess = function (response, stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var payload = response.data, frag = context.frag;\n // detach fragment loader on load success\n frag.loader = undefined;\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.FRAG_LOADED, { payload: payload, frag: frag, stats: stats, networkDetails: networkDetails });\n };\n FragmentLoader.prototype.loaderror = function (response, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var frag = context.frag;\n var loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.FRAG_LOAD_ERROR, fatal: false, frag: context.frag, response: response, networkDetails: networkDetails });\n };\n FragmentLoader.prototype.loadtimeout = function (stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var frag = context.frag;\n var loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.FRAG_LOAD_TIMEOUT, fatal: false, frag: context.frag, networkDetails: networkDetails });\n };\n // data will be used for progressive parsing\n FragmentLoader.prototype.loadprogress = function (stats, context, data, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n var frag = context.frag;\n frag.loaded = stats.loaded;\n this.hls.trigger(events_1.default.FRAG_LOAD_PROGRESS, { frag: frag, stats: stats, networkDetails: networkDetails });\n };\n return FragmentLoader;\n}(event_handler_1.default));\nexports.default = FragmentLoader;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/fragment.js\":\n/*!********************************!*\\\n !*** ./src/loader/fragment.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar level_key_1 = __webpack_require__(/*! ./level-key */ \"./src/loader/level-key.js\");\nvar Fragment = /** @class */ (function () {\n function Fragment() {\n var _a;\n this._url = null;\n this._byteRange = null;\n this._decryptdata = null;\n this.tagList = [];\n this.programDateTime = null;\n this.rawProgramDateTime = null;\n // Holds the types of data this fragment supports\n this._elementaryStreams = (_a = {},\n _a[Fragment.ElementaryStreamTypes.AUDIO] = false,\n _a[Fragment.ElementaryStreamTypes.VIDEO] = false,\n _a);\n }\n Object.defineProperty(Fragment, \"ElementaryStreamTypes\", {\n /**\n * `type` property for this._elementaryStreams\n *\n * @enum\n */\n get: function () {\n return {\n AUDIO: 'audio',\n VIDEO: 'video'\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"url\", {\n get: function () {\n if (!this._url && this.relurl) {\n this._url = URLToolkit.buildAbsoluteURL(this.baseurl, this.relurl, { alwaysNormalize: true });\n }\n return this._url;\n },\n set: function (value) {\n this._url = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"byteRange\", {\n get: function () {\n if (!this._byteRange && !this.rawByteRange) {\n return [];\n }\n if (this._byteRange) {\n return this._byteRange;\n }\n var byteRange = [];\n if (this.rawByteRange) {\n var params = this.rawByteRange.split('@', 2);\n if (params.length === 1) {\n var lastByteRangeEndOffset = this.lastByteRangeEndOffset;\n byteRange[0] = lastByteRangeEndOffset || 0;\n }\n else {\n byteRange[0] = parseInt(params[1]);\n }\n byteRange[1] = parseInt(params[0]) + byteRange[0];\n this._byteRange = byteRange;\n }\n return byteRange;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"byteRangeStartOffset\", {\n /**\n * @type {number}\n */\n get: function () {\n return this.byteRange[0];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"byteRangeEndOffset\", {\n get: function () {\n return this.byteRange[1];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"decryptdata\", {\n get: function () {\n if (!this._decryptdata) {\n this._decryptdata = this.fragmentDecryptdataFromLevelkey(this.levelkey, this.sn);\n }\n return this._decryptdata;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"endProgramDateTime\", {\n get: function () {\n if (!Number.isFinite(this.programDateTime)) {\n return null;\n }\n var duration = !Number.isFinite(this.duration) ? 0 : this.duration;\n return this.programDateTime + (duration * 1000);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Fragment.prototype, \"encrypted\", {\n get: function () {\n return !!((this.decryptdata && this.decryptdata.uri !== null) && (this.decryptdata.key === null));\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @param {ElementaryStreamType} type\n */\n Fragment.prototype.addElementaryStream = function (type) {\n this._elementaryStreams[type] = true;\n };\n /**\n * @param {ElementaryStreamType} type\n */\n Fragment.prototype.hasElementaryStream = function (type) {\n return this._elementaryStreams[type] === true;\n };\n /**\n * Utility method for parseLevelPlaylist to create an initialization vector for a given segment\n * @returns {Uint8Array}\n */\n Fragment.prototype.createInitializationVector = function (segmentNumber) {\n var uint8View = new Uint8Array(16);\n for (var i = 12; i < 16; i++) {\n uint8View[i] = (segmentNumber >> 8 * (15 - i)) & 0xff;\n }\n return uint8View;\n };\n /**\n * Utility method for parseLevelPlaylist to get a fragment's decryption data from the currently parsed encryption key data\n * @param levelkey - a playlist's encryption info\n * @param segmentNumber - the fragment's segment number\n * @returns {*} - an object to be applied as a fragment's decryptdata\n */\n Fragment.prototype.fragmentDecryptdataFromLevelkey = function (levelkey, segmentNumber) {\n var decryptdata = levelkey;\n if (levelkey && levelkey.method && levelkey.uri && !levelkey.iv) {\n decryptdata = new level_key_1.default();\n decryptdata.method = levelkey.method;\n decryptdata.baseuri = levelkey.baseuri;\n decryptdata.reluri = levelkey.reluri;\n decryptdata.iv = this.createInitializationVector(segmentNumber);\n }\n return decryptdata;\n };\n return Fragment;\n}());\nexports.default = Fragment;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/key-loader.js\":\n/*!**********************************!*\\\n !*** ./src/loader/key-loader.js ***!\n \\**********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * Decrypt key Loader\n*/\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar KeyLoader = /** @class */ (function (_super) {\n __extends(KeyLoader, _super);\n function KeyLoader(hls) {\n var _this = _super.call(this, hls, events_1.default.KEY_LOADING) || this;\n _this.loaders = {};\n _this.decryptkey = null;\n _this.decrypturl = null;\n return _this;\n }\n KeyLoader.prototype.destroy = function () {\n for (var loaderName in this.loaders) {\n var loader = this.loaders[loaderName];\n if (loader) {\n loader.destroy();\n }\n }\n this.loaders = {};\n event_handler_1.default.prototype.destroy.call(this);\n };\n KeyLoader.prototype.onKeyLoading = function (data) {\n var frag = data.frag, type = frag.type, loader = this.loaders[type], decryptdata = frag.decryptdata, uri = decryptdata.uri;\n // if uri is different from previous one or if decrypt key not retrieved yet\n if (uri !== this.decrypturl || this.decryptkey === null) {\n var config = this.hls.config;\n if (loader) {\n logger_1.logger.warn(\"abort previous key loader for type:\" + type);\n loader.abort();\n }\n frag.loader = this.loaders[type] = new config.loader(config);\n this.decrypturl = uri;\n this.decryptkey = null;\n var loaderContext = void 0, loaderConfig = void 0, loaderCallbacks = void 0;\n loaderContext = { url: uri, frag: frag, responseType: 'arraybuffer' };\n // maxRetry is 0 so that instead of retrying the same key on the same variant multiple times,\n // key-loader will trigger an error and rely on stream-controller to handle retry logic.\n // this will also align retry logic with fragment-loader\n loaderConfig = { timeout: config.fragLoadingTimeOut, maxRetry: 0, retryDelay: config.fragLoadingRetryDelay, maxRetryDelay: config.fragLoadingMaxRetryTimeout };\n loaderCallbacks = { onSuccess: this.loadsuccess.bind(this), onError: this.loaderror.bind(this), onTimeout: this.loadtimeout.bind(this) };\n frag.loader.load(loaderContext, loaderConfig, loaderCallbacks);\n }\n else if (this.decryptkey) {\n // we already loaded this key, return it\n decryptdata.key = this.decryptkey;\n this.hls.trigger(events_1.default.KEY_LOADED, { frag: frag });\n }\n };\n KeyLoader.prototype.loadsuccess = function (response, stats, context) {\n var frag = context.frag;\n this.decryptkey = frag.decryptdata.key = new Uint8Array(response.data);\n // detach fragment loader on load success\n frag.loader = undefined;\n this.loaders[frag.type] = undefined;\n this.hls.trigger(events_1.default.KEY_LOADED, { frag: frag });\n };\n KeyLoader.prototype.loaderror = function (response, context) {\n var frag = context.frag, loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[context.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.KEY_LOAD_ERROR, fatal: false, frag: frag, response: response });\n };\n KeyLoader.prototype.loadtimeout = function (stats, context) {\n var frag = context.frag, loader = frag.loader;\n if (loader) {\n loader.abort();\n }\n this.loaders[context.type] = undefined;\n this.hls.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.NETWORK_ERROR, details: errors_1.ErrorDetails.KEY_LOAD_TIMEOUT, fatal: false, frag: frag });\n };\n return KeyLoader;\n}(event_handler_1.default));\nexports.default = KeyLoader;\n\n\n/***/ }),\n\n/***/ \"./src/loader/level-key.js\":\n/*!*********************************!*\\\n !*** ./src/loader/level-key.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar LevelKey = /** @class */ (function () {\n function LevelKey() {\n this.method = null;\n this.key = null;\n this.iv = null;\n this._uri = null;\n }\n Object.defineProperty(LevelKey.prototype, \"uri\", {\n get: function () {\n if (!this._uri && this.reluri) {\n this._uri = URLToolkit.buildAbsoluteURL(this.baseuri, this.reluri, { alwaysNormalize: true });\n }\n return this._uri;\n },\n enumerable: true,\n configurable: true\n });\n return LevelKey;\n}());\nexports.default = LevelKey;\n\n\n/***/ }),\n\n/***/ \"./src/loader/level.js\":\n/*!*****************************!*\\\n !*** ./src/loader/level.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Level = /** @class */ (function () {\n function Level(baseUrl) {\n // Please keep properties in alphabetical order\n this.endCC = 0;\n this.endSN = 0;\n this.fragments = [];\n this.initSegment = null;\n this.live = true;\n this.needSidxRanges = false;\n this.startCC = 0;\n this.startSN = 0;\n this.startTimeOffset = null;\n this.targetduration = 0;\n this.totalduration = 0;\n this.type = null;\n this.url = baseUrl;\n this.version = null;\n }\n Object.defineProperty(Level.prototype, \"hasProgramDateTime\", {\n get: function () {\n return !!(this.fragments[0] && Number.isFinite(this.fragments[0].programDateTime));\n },\n enumerable: true,\n configurable: true\n });\n return Level;\n}());\nexports.default = Level;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/m3u8-parser.js\":\n/*!***********************************!*\\\n !*** ./src/loader/m3u8-parser.js ***!\n \\***********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar URLToolkit = __webpack_require__(/*! url-toolkit */ \"./node_modules/url-toolkit/src/url-toolkit.js\");\nvar fragment_1 = __webpack_require__(/*! ./fragment */ \"./src/loader/fragment.js\");\nvar level_1 = __webpack_require__(/*! ./level */ \"./src/loader/level.js\");\nvar level_key_1 = __webpack_require__(/*! ./level-key */ \"./src/loader/level-key.js\");\nvar attr_list_1 = __webpack_require__(/*! ../utils/attr-list */ \"./src/utils/attr-list.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar codecs_1 = __webpack_require__(/*! ../utils/codecs */ \"./src/utils/codecs.js\");\n/**\n * M3U8 parser\n * @module\n */\n// https://regex101.com is your friend\nvar MASTER_PLAYLIST_REGEX = /#EXT-X-STREAM-INF:([^\\n\\r]*)[\\r\\n]+([^\\r\\n]+)/g;\nvar MASTER_PLAYLIST_MEDIA_REGEX = /#EXT-X-MEDIA:(.*)/g;\nvar LEVEL_PLAYLIST_REGEX_FAST = new RegExp([\n /#EXTINF:\\s*(\\d*(?:\\.\\d+)?)(?:,(.*)\\s+)?/.source,\n /|(?!#)([\\S+ ?]+)/.source,\n /|#EXT-X-BYTERANGE:*(.+)/.source,\n /|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,\n /|#.*/.source // All other non-segment oriented tags will match with all groups empty\n].join(''), 'g');\nvar LEVEL_PLAYLIST_REGEX_SLOW = /(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\\d+))|(?:#EXT-X-(TARGETDURATION): *(\\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)([^:]*):(.*))|(?:(#)(.*))(?:.*)\\r?\\n?/;\nvar MP4_REGEX_SUFFIX = /\\.(mp4|m4s|m4v|m4a)$/i;\nvar M3U8Parser = /** @class */ (function () {\n function M3U8Parser() {\n }\n M3U8Parser.findGroup = function (groups, mediaGroupId) {\n if (!groups) {\n return null;\n }\n var matchingGroup = null;\n for (var i = 0; i < groups.length; i++) {\n var group = groups[i];\n if (group.id === mediaGroupId) {\n matchingGroup = group;\n }\n }\n return matchingGroup;\n };\n M3U8Parser.convertAVC1ToAVCOTI = function (codec) {\n var result, avcdata = codec.split('.');\n if (avcdata.length > 2) {\n result = avcdata.shift() + '.';\n result += parseInt(avcdata.shift()).toString(16);\n result += ('000' + parseInt(avcdata.shift()).toString(16)).substr(-4);\n }\n else {\n result = codec;\n }\n return result;\n };\n M3U8Parser.resolve = function (url, baseUrl) {\n return URLToolkit.buildAbsoluteURL(baseUrl, url, { alwaysNormalize: true });\n };\n M3U8Parser.parseMasterPlaylist = function (string, baseurl) {\n var levels = [], result;\n MASTER_PLAYLIST_REGEX.lastIndex = 0;\n function setCodecs(codecs, level) {\n ['video', 'audio'].forEach(function (type) {\n var filtered = codecs.filter(function (codec) { return codecs_1.isCodecType(codec, type); });\n if (filtered.length) {\n var preferred = filtered.filter(function (codec) {\n return codec.lastIndexOf('avc1', 0) === 0 || codec.lastIndexOf('mp4a', 0) === 0;\n });\n level[type + \"Codec\"] = preferred.length > 0 ? preferred[0] : filtered[0];\n // remove from list\n codecs = codecs.filter(function (codec) { return filtered.indexOf(codec) === -1; });\n }\n });\n level.unknownCodecs = codecs;\n }\n while ((result = MASTER_PLAYLIST_REGEX.exec(string)) != null) {\n var level = {};\n var attrs = level.attrs = new attr_list_1.default(result[1]);\n level.url = M3U8Parser.resolve(result[2], baseurl);\n var resolution = attrs.decimalResolution('RESOLUTION');\n if (resolution) {\n level.width = resolution.width;\n level.height = resolution.height;\n }\n level.bitrate = attrs.decimalInteger('AVERAGE-BANDWIDTH') || attrs.decimalInteger('BANDWIDTH');\n level.name = attrs.NAME;\n setCodecs([].concat((attrs.CODECS || '').split(/[ ,]+/)), level);\n if (level.videoCodec && level.videoCodec.indexOf('avc1') !== -1) {\n level.videoCodec = M3U8Parser.convertAVC1ToAVCOTI(level.videoCodec);\n }\n levels.push(level);\n }\n return levels;\n };\n M3U8Parser.parseMasterPlaylistMedia = function (string, baseurl, type, audioGroups) {\n if (audioGroups === void 0) { audioGroups = []; }\n var result;\n var medias = [];\n var id = 0;\n MASTER_PLAYLIST_MEDIA_REGEX.lastIndex = 0;\n while ((result = MASTER_PLAYLIST_MEDIA_REGEX.exec(string)) !== null) {\n var media = {};\n var attrs = new attr_list_1.default(result[1]);\n if (attrs.TYPE === type) {\n media.groupId = attrs['GROUP-ID'];\n media.name = attrs.NAME;\n media.type = type;\n media.default = (attrs.DEFAULT === 'YES');\n media.autoselect = (attrs.AUTOSELECT === 'YES');\n media.forced = (attrs.FORCED === 'YES');\n if (attrs.URI) {\n media.url = M3U8Parser.resolve(attrs.URI, baseurl);\n }\n media.lang = attrs.LANGUAGE;\n if (!media.name) {\n media.name = media.lang;\n }\n if (audioGroups.length) {\n var groupCodec = M3U8Parser.findGroup(audioGroups, media.groupId);\n media.audioCodec = groupCodec ? groupCodec.codec : audioGroups[0].codec;\n }\n media.id = id++;\n medias.push(media);\n }\n }\n return medias;\n };\n M3U8Parser.parseLevelPlaylist = function (string, baseurl, id, type, levelUrlId) {\n var currentSN = 0;\n var totalduration = 0;\n var level = new level_1.default(baseurl);\n var levelkey = new level_key_1.default();\n var cc = 0;\n var prevFrag = null;\n var frag = new fragment_1.default();\n var result;\n var i;\n var firstPdtIndex = null;\n LEVEL_PLAYLIST_REGEX_FAST.lastIndex = 0;\n while ((result = LEVEL_PLAYLIST_REGEX_FAST.exec(string)) !== null) {\n var duration = result[1];\n if (duration) { // INF\n frag.duration = parseFloat(duration);\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n var title = (' ' + result[2]).slice(1);\n frag.title = title || null;\n frag.tagList.push(title ? ['INF', duration, title] : ['INF', duration]);\n }\n else if (result[3]) { // url\n if (Number.isFinite(frag.duration)) {\n var sn = currentSN++;\n frag.type = type;\n frag.start = totalduration;\n frag.levelkey = levelkey;\n frag.sn = sn;\n frag.level = id;\n frag.cc = cc;\n frag.urlId = levelUrlId;\n frag.baseurl = baseurl;\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n frag.relurl = (' ' + result[3]).slice(1);\n assignProgramDateTime(frag, prevFrag);\n level.fragments.push(frag);\n prevFrag = frag;\n totalduration += frag.duration;\n frag = new fragment_1.default();\n }\n }\n else if (result[4]) { // X-BYTERANGE\n frag.rawByteRange = (' ' + result[4]).slice(1);\n if (prevFrag) {\n var lastByteRangeEndOffset = prevFrag.byteRangeEndOffset;\n if (lastByteRangeEndOffset) {\n frag.lastByteRangeEndOffset = lastByteRangeEndOffset;\n }\n }\n }\n else if (result[5]) { // PROGRAM-DATE-TIME\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n frag.rawProgramDateTime = (' ' + result[5]).slice(1);\n frag.tagList.push(['PROGRAM-DATE-TIME', frag.rawProgramDateTime]);\n if (firstPdtIndex === null) {\n firstPdtIndex = level.fragments.length;\n }\n }\n else {\n result = result[0].match(LEVEL_PLAYLIST_REGEX_SLOW);\n for (i = 1; i < result.length; i++) {\n if (result[i] !== undefined) {\n break;\n }\n }\n // avoid sliced strings https://github.com/video-dev/hls.js/issues/939\n var value1 = (' ' + result[i + 1]).slice(1);\n var value2 = (' ' + result[i + 2]).slice(1);\n switch (result[i]) {\n case '#':\n frag.tagList.push(value2 ? [value1, value2] : [value1]);\n break;\n case 'PLAYLIST-TYPE':\n level.type = value1.toUpperCase();\n break;\n case 'MEDIA-SEQUENCE':\n currentSN = level.startSN = parseInt(value1);\n break;\n case 'TARGETDURATION':\n level.targetduration = parseFloat(value1);\n break;\n case 'VERSION':\n level.version = parseInt(value1);\n break;\n case 'EXTM3U':\n break;\n case 'ENDLIST':\n level.live = false;\n break;\n case 'DIS':\n cc++;\n frag.tagList.push(['DIS']);\n break;\n case 'DISCONTINUITY-SEQ':\n cc = parseInt(value1);\n break;\n case 'KEY':\n // https://tools.ietf.org/html/draft-pantos-http-live-streaming-08#section-3.4.4\n var decryptparams = value1;\n var keyAttrs = new attr_list_1.default(decryptparams);\n var decryptmethod = keyAttrs.enumeratedString('METHOD'), decrypturi = keyAttrs.URI, decryptiv = keyAttrs.hexadecimalInteger('IV');\n if (decryptmethod) {\n levelkey = new level_key_1.default();\n if ((decrypturi) && (['AES-128', 'SAMPLE-AES', 'SAMPLE-AES-CENC'].indexOf(decryptmethod) >= 0)) {\n levelkey.method = decryptmethod;\n // URI to get the key\n levelkey.baseuri = baseurl;\n levelkey.reluri = decrypturi;\n levelkey.key = null;\n // Initialization Vector (IV)\n levelkey.iv = decryptiv;\n }\n }\n break;\n case 'START':\n var startParams = value1;\n var startAttrs = new attr_list_1.default(startParams);\n var startTimeOffset = startAttrs.decimalFloatingPoint('TIME-OFFSET');\n // TIME-OFFSET can be 0\n if (Number.isFinite(startTimeOffset)) {\n level.startTimeOffset = startTimeOffset;\n }\n break;\n case 'MAP':\n var mapAttrs = new attr_list_1.default(value1);\n frag.relurl = mapAttrs.URI;\n frag.rawByteRange = mapAttrs.BYTERANGE;\n frag.baseurl = baseurl;\n frag.level = id;\n frag.type = type;\n frag.sn = 'initSegment';\n level.initSegment = frag;\n frag = new fragment_1.default();\n frag.rawProgramDateTime = level.initSegment.rawProgramDateTime;\n break;\n default:\n logger_1.logger.warn(\"line parsed but not handled: \" + result);\n break;\n }\n }\n }\n frag = prevFrag;\n // logger.log('found ' + level.fragments.length + ' fragments');\n if (frag && !frag.relurl) {\n level.fragments.pop();\n totalduration -= frag.duration;\n }\n level.totalduration = totalduration;\n level.averagetargetduration = totalduration / level.fragments.length;\n level.endSN = currentSN - 1;\n level.startCC = level.fragments[0] ? level.fragments[0].cc : 0;\n level.endCC = cc;\n if (!level.initSegment && level.fragments.length) {\n // this is a bit lurky but HLS really has no other way to tell us\n // if the fragments are TS or MP4, except if we download them :/\n // but this is to be able to handle SIDX.\n if (level.fragments.every(function (frag) { return MP4_REGEX_SUFFIX.test(frag.relurl); })) {\n logger_1.logger.warn('MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX');\n frag = new fragment_1.default();\n frag.relurl = level.fragments[0].relurl;\n frag.baseurl = baseurl;\n frag.level = id;\n frag.type = type;\n frag.sn = 'initSegment';\n level.initSegment = frag;\n level.needSidxRanges = true;\n }\n }\n /**\n * Backfill any missing PDT values\n \"If the first EXT-X-PROGRAM-DATE-TIME tag in a Playlist appears after\n one or more Media Segment URIs, the client SHOULD extrapolate\n backward from that tag (using EXTINF durations and/or media\n timestamps) to associate dates with those segments.\"\n * We have already extrapolated forward, but all fragments up to the first instance of PDT do not have their PDTs\n * computed.\n */\n if (firstPdtIndex) {\n backfillProgramDateTimes(level.fragments, firstPdtIndex);\n }\n return level;\n };\n return M3U8Parser;\n}());\nexports.default = M3U8Parser;\nfunction backfillProgramDateTimes(fragments, startIndex) {\n var fragPrev = fragments[startIndex];\n for (var i = startIndex - 1; i >= 0; i--) {\n var frag = fragments[i];\n frag.programDateTime = fragPrev.programDateTime - (frag.duration * 1000);\n fragPrev = frag;\n }\n}\nfunction assignProgramDateTime(frag, prevFrag) {\n if (frag.rawProgramDateTime) {\n frag.programDateTime = Date.parse(frag.rawProgramDateTime);\n }\n else if (prevFrag && prevFrag.programDateTime) {\n frag.programDateTime = prevFrag.endProgramDateTime;\n }\n if (!Number.isFinite(frag.programDateTime)) {\n frag.programDateTime = null;\n frag.rawProgramDateTime = null;\n }\n}\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/loader/playlist-loader.js\":\n/*!***************************************!*\\\n !*** ./src/loader/playlist-loader.js ***!\n \\***************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\n/**\n * PlaylistLoader - delegate for media manifest/playlist loading tasks. Takes care of parsing media to internal data-models.\n *\n * Once loaded, dispatches events with parsed data-models of manifest/levels/audio/subtitle tracks.\n *\n * Uses loader(s) set in config to do actual internal loading of resource tasks.\n *\n * @module\n *\n */\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar event_handler_1 = __webpack_require__(/*! ../event-handler */ \"./src/event-handler.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar mp4demuxer_1 = __webpack_require__(/*! ../demux/mp4demuxer */ \"./src/demux/mp4demuxer.js\");\nvar m3u8_parser_1 = __webpack_require__(/*! ./m3u8-parser */ \"./src/loader/m3u8-parser.js\");\nvar performance = window.performance;\n/**\n * `type` property values for this loaders' context object\n * @enum\n *\n */\nvar ContextType = {\n MANIFEST: 'manifest',\n LEVEL: 'level',\n AUDIO_TRACK: 'audioTrack',\n SUBTITLE_TRACK: 'subtitleTrack'\n};\n/**\n * @enum {string}\n */\nvar LevelType = {\n MAIN: 'main',\n AUDIO: 'audio',\n SUBTITLE: 'subtitle'\n};\n/**\n * @constructor\n */\nvar PlaylistLoader = /** @class */ (function (_super) {\n __extends(PlaylistLoader, _super);\n /**\n * @constructs\n * @param {Hls} hls\n */\n function PlaylistLoader(hls) {\n var _this = _super.call(this, hls, events_1.default.MANIFEST_LOADING, events_1.default.LEVEL_LOADING, events_1.default.AUDIO_TRACK_LOADING, events_1.default.SUBTITLE_TRACK_LOADING) || this;\n _this.loaders = {};\n return _this;\n }\n Object.defineProperty(PlaylistLoader, \"ContextType\", {\n get: function () {\n return ContextType;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlaylistLoader, \"LevelType\", {\n get: function () {\n return LevelType;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * @param {ContextType} type\n * @returns {boolean}\n */\n PlaylistLoader.canHaveQualityLevels = function (type) {\n return (type !== ContextType.AUDIO_TRACK &&\n type !== ContextType.SUBTITLE_TRACK);\n };\n /**\n * Map context.type to LevelType\n * @param {{type: ContextType}} context\n * @returns {LevelType}\n */\n PlaylistLoader.mapContextToLevelType = function (context) {\n var type = context.type;\n switch (type) {\n case ContextType.AUDIO_TRACK:\n return LevelType.AUDIO;\n case ContextType.SUBTITLE_TRACK:\n return LevelType.SUBTITLE;\n default:\n return LevelType.MAIN;\n }\n };\n PlaylistLoader.getResponseUrl = function (response, context) {\n var url = response.url;\n // responseURL not supported on some browsers (it is used to detect URL redirection)\n // data-uri mode also not supported (but no need to detect redirection)\n if (url === undefined || url.indexOf('data:') === 0) {\n // fallback to initial URL\n url = context.url;\n }\n return url;\n };\n /**\n * Returns defaults or configured loader-type overloads (pLoader and loader config params)\n * Default loader is XHRLoader (see utils)\n * @param {object} context\n * @returns {XHRLoader} or other compatible configured overload\n */\n PlaylistLoader.prototype.createInternalLoader = function (context) {\n var config = this.hls.config;\n var PLoader = config.pLoader;\n var Loader = config.loader;\n var InternalLoader = PLoader || Loader;\n var loader = new InternalLoader(config);\n context.loader = loader;\n this.loaders[context.type] = loader;\n return loader;\n };\n PlaylistLoader.prototype.getInternalLoader = function (context) {\n return this.loaders[context.type];\n };\n PlaylistLoader.prototype.resetInternalLoader = function (contextType) {\n if (this.loaders[contextType]) {\n delete this.loaders[contextType];\n }\n };\n /**\n * Call `destroy` on all internal loader instances mapped (one per context type)\n */\n PlaylistLoader.prototype.destroyInternalLoaders = function () {\n for (var contextType in this.loaders) {\n var loader = this.loaders[contextType];\n if (loader) {\n loader.destroy();\n }\n this.resetInternalLoader(contextType);\n }\n };\n PlaylistLoader.prototype.destroy = function () {\n this.destroyInternalLoaders();\n _super.prototype.destroy.call(this);\n };\n PlaylistLoader.prototype.onManifestLoading = function (data) {\n this.load(data.url, { type: ContextType.MANIFEST, level: 0, id: null });\n };\n PlaylistLoader.prototype.onLevelLoading = function (data) {\n this.load(data.url, { type: ContextType.LEVEL, level: data.level, id: data.id });\n };\n PlaylistLoader.prototype.onAudioTrackLoading = function (data) {\n this.load(data.url, { type: ContextType.AUDIO_TRACK, level: null, id: data.id });\n };\n PlaylistLoader.prototype.onSubtitleTrackLoading = function (data) {\n this.load(data.url, { type: ContextType.SUBTITLE_TRACK, level: null, id: data.id });\n };\n PlaylistLoader.prototype.load = function (url, context) {\n var config = this.hls.config;\n logger_1.logger.debug(\"Loading playlist of type \" + context.type + \", level: \" + context.level + \", id: \" + context.id);\n // Check if a loader for this context already exists\n var loader = this.getInternalLoader(context);\n if (loader) {\n var loaderContext = loader.context;\n if (loaderContext && loaderContext.url === url) { // same URL can't overlap\n logger_1.logger.trace('playlist request ongoing');\n return false;\n }\n else {\n logger_1.logger.warn(\"aborting previous loader for type: \" + context.type);\n loader.abort();\n }\n }\n var maxRetry, timeout, retryDelay, maxRetryDelay;\n // apply different configs for retries depending on\n // context (manifest, level, audio/subs playlist)\n switch (context.type) {\n case ContextType.MANIFEST:\n maxRetry = config.manifestLoadingMaxRetry;\n timeout = config.manifestLoadingTimeOut;\n retryDelay = config.manifestLoadingRetryDelay;\n maxRetryDelay = config.manifestLoadingMaxRetryTimeout;\n break;\n case ContextType.LEVEL:\n // Disable internal loader retry logic, since we are managing retries in Level Controller\n maxRetry = 0;\n timeout = config.levelLoadingTimeOut;\n // TODO Introduce retry settings for audio-track and subtitle-track, it should not use level retry config\n break;\n default:\n maxRetry = config.levelLoadingMaxRetry;\n timeout = config.levelLoadingTimeOut;\n retryDelay = config.levelLoadingRetryDelay;\n maxRetryDelay = config.levelLoadingMaxRetryTimeout;\n break;\n }\n loader = this.createInternalLoader(context);\n context.url = url;\n context.responseType = context.responseType || ''; // FIXME: (should not be necessary to do this)\n var loaderConfig = {\n timeout: timeout,\n maxRetry: maxRetry,\n retryDelay: retryDelay,\n maxRetryDelay: maxRetryDelay\n };\n var loaderCallbacks = {\n onSuccess: this.loadsuccess.bind(this),\n onError: this.loaderror.bind(this),\n onTimeout: this.loadtimeout.bind(this)\n };\n logger_1.logger.debug(\"Calling internal loader delegate for URL: \" + url);\n loader.load(context, loaderConfig, loaderCallbacks);\n return true;\n };\n PlaylistLoader.prototype.loadsuccess = function (response, stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n if (context.isSidxRequest) {\n this._handleSidxRequest(response, context);\n this._handlePlaylistLoaded(response, stats, context, networkDetails);\n return;\n }\n this.resetInternalLoader(context.type);\n var string = response.data;\n stats.tload = performance.now();\n // stats.mtime = new Date(target.getResponseHeader('Last-Modified'));\n // Validate if it is an M3U8 at all\n if (string.indexOf('#EXTM3U') !== 0) {\n this._handleManifestParsingError(response, context, 'no EXTM3U delimiter', networkDetails);\n return;\n }\n // Check if chunk-list or master. handle empty chunk list case (first EXTINF not signaled, but TARGETDURATION present)\n if (string.indexOf('#EXTINF:') > 0 || string.indexOf('#EXT-X-TARGETDURATION:') > 0) {\n this._handleTrackOrLevelPlaylist(response, stats, context, networkDetails);\n }\n else {\n this._handleMasterPlaylist(response, stats, context, networkDetails);\n }\n };\n PlaylistLoader.prototype.loaderror = function (response, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n this._handleNetworkError(context, networkDetails, false, response);\n };\n PlaylistLoader.prototype.loadtimeout = function (stats, context, networkDetails) {\n if (networkDetails === void 0) { networkDetails = null; }\n this._handleNetworkError(context, networkDetails, true);\n };\n PlaylistLoader.prototype._handleMasterPlaylist = function (response, stats, context, networkDetails) {\n var hls = this.hls;\n var string = response.data;\n var url = PlaylistLoader.getResponseUrl(response, context);\n var levels = m3u8_parser_1.default.parseMasterPlaylist(string, url);\n if (!levels.length) {\n this._handleManifestParsingError(response, context, 'no level found in manifest', networkDetails);\n return;\n }\n // multi level playlist, parse level info\n var audioGroups = levels.map(function (level) { return ({\n id: level.attrs.AUDIO,\n codec: level.audioCodec\n }); });\n var audioTracks = m3u8_parser_1.default.parseMasterPlaylistMedia(string, url, 'AUDIO', audioGroups);\n var subtitles = m3u8_parser_1.default.parseMasterPlaylistMedia(string, url, 'SUBTITLES');\n if (audioTracks.length) {\n // check if we have found an audio track embedded in main playlist (audio track without URI attribute)\n var embeddedAudioFound_1 = false;\n audioTracks.forEach(function (audioTrack) {\n if (!audioTrack.url) {\n embeddedAudioFound_1 = true;\n }\n });\n // if no embedded audio track defined, but audio codec signaled in quality level,\n // we need to signal this main audio track this could happen with playlists with\n // alt audio rendition in which quality levels (main)\n // contains both audio+video. but with mixed audio track not signaled\n if (embeddedAudioFound_1 === false && levels[0].audioCodec && !levels[0].attrs.AUDIO) {\n logger_1.logger.log('audio codec signaled in quality level, but no embedded audio track signaled, create one');\n audioTracks.unshift({\n type: 'main',\n name: 'main'\n });\n }\n }\n hls.trigger(events_1.default.MANIFEST_LOADED, {\n levels: levels,\n audioTracks: audioTracks,\n subtitles: subtitles,\n url: url,\n stats: stats,\n networkDetails: networkDetails\n });\n };\n PlaylistLoader.prototype._handleTrackOrLevelPlaylist = function (response, stats, context, networkDetails) {\n var hls = this.hls;\n var id = context.id, level = context.level, type = context.type;\n var url = PlaylistLoader.getResponseUrl(response, context);\n var levelUrlId = Number.isFinite(id) ? id : 0;\n var levelId = Number.isFinite(level) ? level : levelUrlId;\n var levelType = PlaylistLoader.mapContextToLevelType(context);\n var levelDetails = m3u8_parser_1.default.parseLevelPlaylist(response.data, url, levelId, levelType, levelUrlId);\n // set stats on level structure\n levelDetails.tload = stats.tload;\n // We have done our first request (Manifest-type) and receive\n // not a master playlist but a chunk-list (track/level)\n // We fire the manifest-loaded event anyway with the parsed level-details\n // by creating a single-level structure for it.\n if (type === ContextType.MANIFEST) {\n var singleLevel = {\n url: url,\n details: levelDetails\n };\n hls.trigger(events_1.default.MANIFEST_LOADED, {\n levels: [singleLevel],\n audioTracks: [],\n url: url,\n stats: stats,\n networkDetails: networkDetails\n });\n }\n // save parsing time\n stats.tparsed = performance.now();\n // in case we need SIDX ranges\n // return early after calling load for\n // the SIDX box.\n if (levelDetails.needSidxRanges) {\n var sidxUrl = levelDetails.initSegment.url;\n this.load(sidxUrl, {\n isSidxRequest: true,\n type: type,\n level: level,\n levelDetails: levelDetails,\n id: id,\n rangeStart: 0,\n rangeEnd: 2048,\n responseType: 'arraybuffer'\n });\n return;\n }\n // extend the context with the new levelDetails property\n context.levelDetails = levelDetails;\n this._handlePlaylistLoaded(response, stats, context, networkDetails);\n };\n PlaylistLoader.prototype._handleSidxRequest = function (response, context) {\n var sidxInfo = mp4demuxer_1.default.parseSegmentIndex(new Uint8Array(response.data));\n // if provided fragment does not contain sidx, early return\n if (!sidxInfo) {\n return;\n }\n var sidxReferences = sidxInfo.references;\n var levelDetails = context.levelDetails;\n sidxReferences.forEach(function (segmentRef, index) {\n var segRefInfo = segmentRef.info;\n var frag = levelDetails.fragments[index];\n if (frag.byteRange.length === 0) {\n frag.rawByteRange = String(1 + segRefInfo.end - segRefInfo.start) + '@' + String(segRefInfo.start);\n }\n });\n levelDetails.initSegment.rawByteRange = String(sidxInfo.moovEndOffset) + '@0';\n };\n PlaylistLoader.prototype._handleManifestParsingError = function (response, context, reason, networkDetails) {\n this.hls.trigger(events_1.default.ERROR, {\n type: errors_1.ErrorTypes.NETWORK_ERROR,\n details: errors_1.ErrorDetails.MANIFEST_PARSING_ERROR,\n fatal: true,\n url: response.url,\n reason: reason,\n networkDetails: networkDetails\n });\n };\n PlaylistLoader.prototype._handleNetworkError = function (context, networkDetails, timeout, response) {\n if (timeout === void 0) { timeout = false; }\n if (response === void 0) { response = null; }\n logger_1.logger.info(\"A network error occured while loading a \" + context.type + \"-type playlist\");\n var details;\n var fatal;\n var loader = this.getInternalLoader(context);\n switch (context.type) {\n case ContextType.MANIFEST:\n details = (timeout ? errors_1.ErrorDetails.MANIFEST_LOAD_TIMEOUT : errors_1.ErrorDetails.MANIFEST_LOAD_ERROR);\n fatal = true;\n break;\n case ContextType.LEVEL:\n details = (timeout ? errors_1.ErrorDetails.LEVEL_LOAD_TIMEOUT : errors_1.ErrorDetails.LEVEL_LOAD_ERROR);\n fatal = false;\n break;\n case ContextType.AUDIO_TRACK:\n details = (timeout ? errors_1.ErrorDetails.AUDIO_TRACK_LOAD_TIMEOUT : errors_1.ErrorDetails.AUDIO_TRACK_LOAD_ERROR);\n fatal = false;\n break;\n default:\n // details = ...?\n fatal = false;\n }\n if (loader) {\n loader.abort();\n this.resetInternalLoader(context.type);\n }\n var errorData = {\n type: errors_1.ErrorTypes.NETWORK_ERROR,\n details: details,\n fatal: fatal,\n url: loader.url,\n loader: loader,\n context: context,\n networkDetails: networkDetails\n };\n if (response) {\n errorData.response = response;\n }\n this.hls.trigger(events_1.default.ERROR, errorData);\n };\n PlaylistLoader.prototype._handlePlaylistLoaded = function (response, stats, context, networkDetails) {\n var type = context.type, level = context.level, id = context.id, levelDetails = context.levelDetails;\n if (!levelDetails.targetduration) {\n this._handleManifestParsingError(response, context, 'invalid target duration', networkDetails);\n return;\n }\n var canHaveLevels = PlaylistLoader.canHaveQualityLevels(context.type);\n if (canHaveLevels) {\n this.hls.trigger(events_1.default.LEVEL_LOADED, {\n details: levelDetails,\n level: level || 0,\n id: id || 0,\n stats: stats,\n networkDetails: networkDetails\n });\n }\n else {\n switch (type) {\n case ContextType.AUDIO_TRACK:\n this.hls.trigger(events_1.default.AUDIO_TRACK_LOADED, {\n details: levelDetails,\n id: id,\n stats: stats,\n networkDetails: networkDetails\n });\n break;\n case ContextType.SUBTITLE_TRACK:\n this.hls.trigger(events_1.default.SUBTITLE_TRACK_LOADED, {\n details: levelDetails,\n id: id,\n stats: stats,\n networkDetails: networkDetails\n });\n break;\n }\n }\n };\n return PlaylistLoader;\n}(event_handler_1.default));\nexports.default = PlaylistLoader;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/observer.js\":\n/*!*************************!*\\\n !*** ./src/observer.js ***!\n \\*************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar eventemitter3_1 = __webpack_require__(/*! eventemitter3 */ \"./node_modules/eventemitter3/index.js\");\n/**\n * @class\n *\n * Simple adapter sub-class of Nodejs-like EventEmitter.\n *\n * We simply want to pass along the event-name itself\n * in every call to a handler, which is the purpose of our `trigger` method\n * extending the standard API.\n *\n */\nvar Observer = /** @class */ (function (_super) {\n __extends(Observer, _super);\n function Observer() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n /**\n *\n * @param {string} event\n * @param {any} data\n */\n Observer.prototype.trigger = function (event) {\n var data = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n data[_i - 1] = arguments[_i];\n }\n this.emit.apply(this, [event, event].concat(data));\n };\n return Observer;\n}(eventemitter3_1.EventEmitter));\nexports.Observer = Observer;\n\n\n/***/ }),\n\n/***/ \"./src/polyfills/number.js\":\n/*!*********************************!*\\\n !*** ./src/polyfills/number.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar get_self_scope_1 = __webpack_require__(/*! ../utils/get-self-scope */ \"./src/utils/get-self-scope.js\");\nvar self = get_self_scope_1.getSelfScope();\nvar Number = self.Number;\nexports.Number = Number;\n// TODO: get rid of global polyfills and replace them with wrappers (\"ponyfills\")\nNumber.isFinite = Number.isFinite || function (value) {\n return typeof value === 'number' && isFinite(value);\n};\n\n\n/***/ }),\n\n/***/ \"./src/remux/aac-helper.js\":\n/*!*********************************!*\\\n !*** ./src/remux/aac-helper.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * AAC helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar AAC = /** @class */ (function () {\n function AAC() {\n }\n AAC.getSilentFrame = function (codec, channelCount) {\n switch (codec) {\n case 'mp4a.40.2':\n if (channelCount === 1) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x23, 0x80]);\n }\n else if (channelCount === 2) {\n return new Uint8Array([0x21, 0x00, 0x49, 0x90, 0x02, 0x19, 0x00, 0x23, 0x80]);\n }\n else if (channelCount === 3) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x8e]);\n }\n else if (channelCount === 4) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x80, 0x2c, 0x80, 0x08, 0x02, 0x38]);\n }\n else if (channelCount === 5) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x38]);\n }\n else if (channelCount === 6) {\n return new Uint8Array([0x00, 0xc8, 0x00, 0x80, 0x20, 0x84, 0x01, 0x26, 0x40, 0x08, 0x64, 0x00, 0x82, 0x30, 0x04, 0x99, 0x00, 0x21, 0x90, 0x02, 0x00, 0xb2, 0x00, 0x20, 0x08, 0xe0]);\n }\n break;\n // handle HE-AAC below (mp4a.40.5 / mp4a.40.29)\n default:\n if (channelCount === 1) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0:d=0.05\" -c:a libfdk_aac -profile:a aac_he -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x4e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x1c, 0x6, 0xf1, 0xc1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n else if (channelCount === 2) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0|0:d=0.05\" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n else if (channelCount === 3) {\n // ffmpeg -y -f lavfi -i \"aevalsrc=0|0|0:d=0.05\" -c:a libfdk_aac -profile:a aac_he_v2 -b:a 4k output.aac && hexdump -v -e '16/1 \"0x%x,\" \"\\n\"' -v output.aac\n return new Uint8Array([0x1, 0x40, 0x22, 0x80, 0xa3, 0x5e, 0xe6, 0x80, 0xba, 0x8, 0x0, 0x0, 0x0, 0x0, 0x95, 0x0, 0x6, 0xf1, 0xa1, 0xa, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5a, 0x5e]);\n }\n break;\n }\n return null;\n };\n return AAC;\n}());\nexports.default = AAC;\n\n\n/***/ }),\n\n/***/ \"./src/remux/mp4-generator.js\":\n/*!************************************!*\\\n !*** ./src/remux/mp4-generator.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * Generate MP4 Box\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar UINT32_MAX = Math.pow(2, 32) - 1;\nvar MP4 = /** @class */ (function () {\n function MP4() {\n }\n MP4.init = function () {\n MP4.types = {\n avc1: [],\n avcC: [],\n btrt: [],\n dinf: [],\n dref: [],\n esds: [],\n ftyp: [],\n hdlr: [],\n mdat: [],\n mdhd: [],\n mdia: [],\n mfhd: [],\n minf: [],\n moof: [],\n moov: [],\n mp4a: [],\n '.mp3': [],\n mvex: [],\n mvhd: [],\n pasp: [],\n sdtp: [],\n stbl: [],\n stco: [],\n stsc: [],\n stsd: [],\n stsz: [],\n stts: [],\n tfdt: [],\n tfhd: [],\n traf: [],\n trak: [],\n trun: [],\n trex: [],\n tkhd: [],\n vmhd: [],\n smhd: []\n };\n var i;\n for (i in MP4.types) {\n if (MP4.types.hasOwnProperty(i)) {\n MP4.types[i] = [\n i.charCodeAt(0),\n i.charCodeAt(1),\n i.charCodeAt(2),\n i.charCodeAt(3)\n ];\n }\n }\n var videoHdlr = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x76, 0x69, 0x64, 0x65,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x56, 0x69, 0x64, 0x65,\n 0x6f, 0x48, 0x61, 0x6e,\n 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'VideoHandler'\n ]);\n var audioHdlr = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x73, 0x6f, 0x75, 0x6e,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x53, 0x6f, 0x75, 0x6e,\n 0x64, 0x48, 0x61, 0x6e,\n 0x64, 0x6c, 0x65, 0x72, 0x00 // name: 'SoundHandler'\n ]);\n MP4.HDLR_TYPES = {\n 'video': videoHdlr,\n 'audio': audioHdlr\n };\n var dref = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x0c,\n 0x75, 0x72, 0x6c, 0x20,\n 0x00,\n 0x00, 0x00, 0x01 // entry_flags\n ]);\n var stco = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00 // entry_count\n ]);\n MP4.STTS = MP4.STSC = MP4.STCO = stco;\n MP4.STSZ = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00 // sample_count\n ]);\n MP4.VMHD = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x01,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00 // opcolor\n ]);\n MP4.SMHD = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00 // reserved\n ]);\n MP4.STSD = new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x01\n ]); // entry_count\n var majorBrand = new Uint8Array([105, 115, 111, 109]); // isom\n var avc1Brand = new Uint8Array([97, 118, 99, 49]); // avc1\n var minorVersion = new Uint8Array([0, 0, 0, 1]);\n MP4.FTYP = MP4.box(MP4.types.ftyp, majorBrand, minorVersion, majorBrand, avc1Brand);\n MP4.DINF = MP4.box(MP4.types.dinf, MP4.box(MP4.types.dref, dref));\n };\n MP4.box = function (type) {\n var payload = Array.prototype.slice.call(arguments, 1), size = 8, i = payload.length, len = i, result;\n // calculate the total size we need to allocate\n while (i--) {\n size += payload[i].byteLength;\n }\n result = new Uint8Array(size);\n result[0] = (size >> 24) & 0xff;\n result[1] = (size >> 16) & 0xff;\n result[2] = (size >> 8) & 0xff;\n result[3] = size & 0xff;\n result.set(type, 4);\n // copy the payload into the result\n for (i = 0, size = 8; i < len; i++) {\n // copy payload[i] array @ offset size\n result.set(payload[i], size);\n size += payload[i].byteLength;\n }\n return result;\n };\n MP4.hdlr = function (type) {\n return MP4.box(MP4.types.hdlr, MP4.HDLR_TYPES[type]);\n };\n MP4.mdat = function (data) {\n return MP4.box(MP4.types.mdat, data);\n };\n MP4.mdhd = function (timescale, duration) {\n duration *= timescale;\n var upperWordDuration = Math.floor(duration / (UINT32_MAX + 1));\n var lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));\n return MP4.box(MP4.types.mdhd, new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,\n (timescale >> 24) & 0xFF,\n (timescale >> 16) & 0xFF,\n (timescale >> 8) & 0xFF,\n timescale & 0xFF,\n (upperWordDuration >> 24),\n (upperWordDuration >> 16) & 0xFF,\n (upperWordDuration >> 8) & 0xFF,\n upperWordDuration & 0xFF,\n (lowerWordDuration >> 24),\n (lowerWordDuration >> 16) & 0xFF,\n (lowerWordDuration >> 8) & 0xFF,\n lowerWordDuration & 0xFF,\n 0x55, 0xc4,\n 0x00, 0x00\n ]));\n };\n MP4.mdia = function (track) {\n return MP4.box(MP4.types.mdia, MP4.mdhd(track.timescale, track.duration), MP4.hdlr(track.type), MP4.minf(track));\n };\n MP4.mfhd = function (sequenceNumber) {\n return MP4.box(MP4.types.mfhd, new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n (sequenceNumber >> 24),\n (sequenceNumber >> 16) & 0xFF,\n (sequenceNumber >> 8) & 0xFF,\n sequenceNumber & 0xFF // sequence_number\n ]));\n };\n MP4.minf = function (track) {\n if (track.type === 'audio') {\n return MP4.box(MP4.types.minf, MP4.box(MP4.types.smhd, MP4.SMHD), MP4.DINF, MP4.stbl(track));\n }\n else {\n return MP4.box(MP4.types.minf, MP4.box(MP4.types.vmhd, MP4.VMHD), MP4.DINF, MP4.stbl(track));\n }\n };\n MP4.moof = function (sn, baseMediaDecodeTime, track) {\n return MP4.box(MP4.types.moof, MP4.mfhd(sn), MP4.traf(track, baseMediaDecodeTime));\n };\n /**\n * @param tracks... (optional) {array} the tracks associated with this movie\n */\n MP4.moov = function (tracks) {\n var i = tracks.length, boxes = [];\n while (i--) {\n boxes[i] = MP4.trak(tracks[i]);\n }\n return MP4.box.apply(null, [MP4.types.moov, MP4.mvhd(tracks[0].timescale, tracks[0].duration)].concat(boxes).concat(MP4.mvex(tracks)));\n };\n MP4.mvex = function (tracks) {\n var i = tracks.length, boxes = [];\n while (i--) {\n boxes[i] = MP4.trex(tracks[i]);\n }\n return MP4.box.apply(null, [MP4.types.mvex].concat(boxes));\n };\n MP4.mvhd = function (timescale, duration) {\n duration *= timescale;\n var upperWordDuration = Math.floor(duration / (UINT32_MAX + 1));\n var lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));\n var bytes = new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,\n (timescale >> 24) & 0xFF,\n (timescale >> 16) & 0xFF,\n (timescale >> 8) & 0xFF,\n timescale & 0xFF,\n (upperWordDuration >> 24),\n (upperWordDuration >> 16) & 0xFF,\n (upperWordDuration >> 8) & 0xFF,\n upperWordDuration & 0xFF,\n (lowerWordDuration >> 24),\n (lowerWordDuration >> 16) & 0xFF,\n (lowerWordDuration >> 8) & 0xFF,\n lowerWordDuration & 0xFF,\n 0x00, 0x01, 0x00, 0x00,\n 0x01, 0x00,\n 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x40, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0xff, 0xff, 0xff, 0xff // next_track_ID\n ]);\n return MP4.box(MP4.types.mvhd, bytes);\n };\n MP4.sdtp = function (track) {\n var samples = track.samples || [], bytes = new Uint8Array(4 + samples.length), flags, i;\n // leave the full box header (4 bytes) all zero\n // write the sample table\n for (i = 0; i < samples.length; i++) {\n flags = samples[i].flags;\n bytes[i + 4] = (flags.dependsOn << 4) |\n (flags.isDependedOn << 2) |\n (flags.hasRedundancy);\n }\n return MP4.box(MP4.types.sdtp, bytes);\n };\n MP4.stbl = function (track) {\n return MP4.box(MP4.types.stbl, MP4.stsd(track), MP4.box(MP4.types.stts, MP4.STTS), MP4.box(MP4.types.stsc, MP4.STSC), MP4.box(MP4.types.stsz, MP4.STSZ), MP4.box(MP4.types.stco, MP4.STCO));\n };\n MP4.avc1 = function (track) {\n var sps = [], pps = [], i, data, len;\n // assemble the SPSs\n for (i = 0; i < track.sps.length; i++) {\n data = track.sps[i];\n len = data.byteLength;\n sps.push((len >>> 8) & 0xFF);\n sps.push((len & 0xFF));\n // SPS\n sps = sps.concat(Array.prototype.slice.call(data));\n }\n // assemble the PPSs\n for (i = 0; i < track.pps.length; i++) {\n data = track.pps[i];\n len = data.byteLength;\n pps.push((len >>> 8) & 0xFF);\n pps.push((len & 0xFF));\n pps = pps.concat(Array.prototype.slice.call(data));\n }\n var avcc = MP4.box(MP4.types.avcC, new Uint8Array([\n 0x01,\n sps[3],\n sps[4],\n sps[5],\n 0xfc | 3,\n 0xE0 | track.sps.length // 3bit reserved (111) + numOfSequenceParameterSets\n ].concat(sps).concat([\n track.pps.length // numOfPictureParameterSets\n ]).concat(pps))), // \"PPS\"\n width = track.width, height = track.height, hSpacing = track.pixelRatio[0], vSpacing = track.pixelRatio[1];\n return MP4.box(MP4.types.avc1, new Uint8Array([\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n (width >> 8) & 0xFF,\n width & 0xff,\n (height >> 8) & 0xFF,\n height & 0xff,\n 0x00, 0x48, 0x00, 0x00,\n 0x00, 0x48, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x12,\n 0x64, 0x61, 0x69, 0x6C,\n 0x79, 0x6D, 0x6F, 0x74,\n 0x69, 0x6F, 0x6E, 0x2F,\n 0x68, 0x6C, 0x73, 0x2E,\n 0x6A, 0x73, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x18,\n 0x11, 0x11\n ]), // pre_defined = -1\n avcc, MP4.box(MP4.types.btrt, new Uint8Array([\n 0x00, 0x1c, 0x9c, 0x80,\n 0x00, 0x2d, 0xc6, 0xc0,\n 0x00, 0x2d, 0xc6, 0xc0\n ])), // avgBitrate\n MP4.box(MP4.types.pasp, new Uint8Array([\n (hSpacing >> 24),\n (hSpacing >> 16) & 0xFF,\n (hSpacing >> 8) & 0xFF,\n hSpacing & 0xFF,\n (vSpacing >> 24),\n (vSpacing >> 16) & 0xFF,\n (vSpacing >> 8) & 0xFF,\n vSpacing & 0xFF\n ])));\n };\n MP4.esds = function (track) {\n var configlen = track.config.length;\n return new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n 0x03,\n 0x17 + configlen,\n 0x00, 0x01,\n 0x00,\n 0x04,\n 0x0f + configlen,\n 0x40,\n 0x15,\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x05 // descriptor_type\n ].concat([configlen]).concat(track.config).concat([0x06, 0x01, 0x02])); // GASpecificConfig)); // length + audio config descriptor\n };\n MP4.mp4a = function (track) {\n var samplerate = track.samplerate;\n return MP4.box(MP4.types.mp4a, new Uint8Array([\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, track.channelCount,\n 0x00, 0x10,\n 0x00, 0x00, 0x00, 0x00,\n (samplerate >> 8) & 0xFF,\n samplerate & 0xff,\n 0x00, 0x00\n ]), MP4.box(MP4.types.esds, MP4.esds(track)));\n };\n MP4.mp3 = function (track) {\n var samplerate = track.samplerate;\n return MP4.box(MP4.types['.mp3'], new Uint8Array([\n 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00,\n 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, track.channelCount,\n 0x00, 0x10,\n 0x00, 0x00, 0x00, 0x00,\n (samplerate >> 8) & 0xFF,\n samplerate & 0xff,\n 0x00, 0x00\n ]));\n };\n MP4.stsd = function (track) {\n if (track.type === 'audio') {\n if (!track.isAAC && track.codec === 'mp3') {\n return MP4.box(MP4.types.stsd, MP4.STSD, MP4.mp3(track));\n }\n return MP4.box(MP4.types.stsd, MP4.STSD, MP4.mp4a(track));\n }\n else {\n return MP4.box(MP4.types.stsd, MP4.STSD, MP4.avc1(track));\n }\n };\n MP4.tkhd = function (track) {\n var id = track.id, duration = track.duration * track.timescale, width = track.width, height = track.height, upperWordDuration = Math.floor(duration / (UINT32_MAX + 1)), lowerWordDuration = Math.floor(duration % (UINT32_MAX + 1));\n return MP4.box(MP4.types.tkhd, new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x07,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,\n 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03,\n (id >> 24) & 0xFF,\n (id >> 16) & 0xFF,\n (id >> 8) & 0xFF,\n id & 0xFF,\n 0x00, 0x00, 0x00, 0x00,\n (upperWordDuration >> 24),\n (upperWordDuration >> 16) & 0xFF,\n (upperWordDuration >> 8) & 0xFF,\n upperWordDuration & 0xFF,\n (lowerWordDuration >> 24),\n (lowerWordDuration >> 16) & 0xFF,\n (lowerWordDuration >> 8) & 0xFF,\n lowerWordDuration & 0xFF,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x40, 0x00, 0x00, 0x00,\n (width >> 8) & 0xFF,\n width & 0xFF,\n 0x00, 0x00,\n (height >> 8) & 0xFF,\n height & 0xFF,\n 0x00, 0x00 // height\n ]));\n };\n MP4.traf = function (track, baseMediaDecodeTime) {\n var sampleDependencyTable = MP4.sdtp(track), id = track.id, upperWordBaseMediaDecodeTime = Math.floor(baseMediaDecodeTime / (UINT32_MAX + 1)), lowerWordBaseMediaDecodeTime = Math.floor(baseMediaDecodeTime % (UINT32_MAX + 1));\n return MP4.box(MP4.types.traf, MP4.box(MP4.types.tfhd, new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n (id >> 24),\n (id >> 16) & 0XFF,\n (id >> 8) & 0XFF,\n (id & 0xFF) // track_ID\n ])), MP4.box(MP4.types.tfdt, new Uint8Array([\n 0x01,\n 0x00, 0x00, 0x00,\n (upperWordBaseMediaDecodeTime >> 24),\n (upperWordBaseMediaDecodeTime >> 16) & 0XFF,\n (upperWordBaseMediaDecodeTime >> 8) & 0XFF,\n (upperWordBaseMediaDecodeTime & 0xFF),\n (lowerWordBaseMediaDecodeTime >> 24),\n (lowerWordBaseMediaDecodeTime >> 16) & 0XFF,\n (lowerWordBaseMediaDecodeTime >> 8) & 0XFF,\n (lowerWordBaseMediaDecodeTime & 0xFF)\n ])), MP4.trun(track, sampleDependencyTable.length +\n 16 + // tfhd\n 20 + // tfdt\n 8 + // traf header\n 16 + // mfhd\n 8 + // moof header\n 8), // mdat header\n sampleDependencyTable);\n };\n /**\n * Generate a track box.\n * @param track {object} a track definition\n * @return {Uint8Array} the track box\n */\n MP4.trak = function (track) {\n track.duration = track.duration || 0xffffffff;\n return MP4.box(MP4.types.trak, MP4.tkhd(track), MP4.mdia(track));\n };\n MP4.trex = function (track) {\n var id = track.id;\n return MP4.box(MP4.types.trex, new Uint8Array([\n 0x00,\n 0x00, 0x00, 0x00,\n (id >> 24),\n (id >> 16) & 0XFF,\n (id >> 8) & 0XFF,\n (id & 0xFF),\n 0x00, 0x00, 0x00, 0x01,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x00, 0x00, 0x00,\n 0x00, 0x01, 0x00, 0x01 // default_sample_flags\n ]));\n };\n MP4.trun = function (track, offset) {\n var samples = track.samples || [], len = samples.length, arraylen = 12 + (16 * len), array = new Uint8Array(arraylen), i, sample, duration, size, flags, cts;\n offset += 8 + arraylen;\n array.set([\n 0x00,\n 0x00, 0x0f, 0x01,\n (len >>> 24) & 0xFF,\n (len >>> 16) & 0xFF,\n (len >>> 8) & 0xFF,\n len & 0xFF,\n (offset >>> 24) & 0xFF,\n (offset >>> 16) & 0xFF,\n (offset >>> 8) & 0xFF,\n offset & 0xFF // data_offset\n ], 0);\n for (i = 0; i < len; i++) {\n sample = samples[i];\n duration = sample.duration;\n size = sample.size;\n flags = sample.flags;\n cts = sample.cts;\n array.set([\n (duration >>> 24) & 0xFF,\n (duration >>> 16) & 0xFF,\n (duration >>> 8) & 0xFF,\n duration & 0xFF,\n (size >>> 24) & 0xFF,\n (size >>> 16) & 0xFF,\n (size >>> 8) & 0xFF,\n size & 0xFF,\n (flags.isLeading << 2) | flags.dependsOn,\n (flags.isDependedOn << 6) |\n (flags.hasRedundancy << 4) |\n (flags.paddingValue << 1) |\n flags.isNonSync,\n flags.degradPrio & 0xF0 << 8,\n flags.degradPrio & 0x0F,\n (cts >>> 24) & 0xFF,\n (cts >>> 16) & 0xFF,\n (cts >>> 8) & 0xFF,\n cts & 0xFF // sample_composition_time_offset\n ], 12 + 16 * i);\n }\n return MP4.box(MP4.types.trun, array);\n };\n MP4.initSegment = function (tracks) {\n if (!MP4.types) {\n MP4.init();\n }\n var movie = MP4.moov(tracks), result;\n result = new Uint8Array(MP4.FTYP.byteLength + movie.byteLength);\n result.set(MP4.FTYP);\n result.set(movie, MP4.FTYP.byteLength);\n return result;\n };\n return MP4;\n}());\nexports.default = MP4;\n\n\n/***/ }),\n\n/***/ \"./src/remux/mp4-remuxer.js\":\n/*!**********************************!*\\\n !*** ./src/remux/mp4-remuxer.js ***!\n \\**********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * fMP4 remuxer\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar aac_helper_1 = __webpack_require__(/*! ./aac-helper */ \"./src/remux/aac-helper.js\");\nvar mp4_generator_1 = __webpack_require__(/*! ./mp4-generator */ \"./src/remux/mp4-generator.js\");\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar errors_1 = __webpack_require__(/*! ../errors */ \"./src/errors.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\n// 10 seconds\nvar MAX_SILENT_FRAME_DURATION = 10 * 1000;\nvar MP4Remuxer = /** @class */ (function () {\n function MP4Remuxer(observer, config, typeSupported, vendor) {\n this.observer = observer;\n this.config = config;\n this.typeSupported = typeSupported;\n var userAgent = navigator.userAgent;\n this.isSafari = vendor && vendor.indexOf('Apple') > -1 && userAgent && !userAgent.match('CriOS');\n this.ISGenerated = false;\n }\n MP4Remuxer.prototype.destroy = function () {\n };\n MP4Remuxer.prototype.resetTimeStamp = function (defaultTimeStamp) {\n this._initPTS = this._initDTS = defaultTimeStamp;\n };\n MP4Remuxer.prototype.resetInitSegment = function () {\n this.ISGenerated = false;\n };\n MP4Remuxer.prototype.remux = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset) {\n // generate Init Segment if needed\n if (!this.ISGenerated) {\n this.generateIS(audioTrack, videoTrack, timeOffset);\n }\n if (this.ISGenerated) {\n var nbAudioSamples = audioTrack.samples.length;\n var nbVideoSamples = videoTrack.samples.length;\n var audioTimeOffset = timeOffset;\n var videoTimeOffset = timeOffset;\n if (nbAudioSamples && nbVideoSamples) {\n // timeOffset is expected to be the offset of the first timestamp of this fragment (first DTS)\n // if first audio DTS is not aligned with first video DTS then we need to take that into account\n // when providing timeOffset to remuxAudio / remuxVideo. if we don't do that, there might be a permanent / small\n // drift between audio and video streams\n var audiovideoDeltaDts = (audioTrack.samples[0].pts - videoTrack.samples[0].pts) / videoTrack.inputTimeScale;\n audioTimeOffset += Math.max(0, audiovideoDeltaDts);\n videoTimeOffset += Math.max(0, -audiovideoDeltaDts);\n }\n // Purposefully remuxing audio before video, so that remuxVideo can use nextAudioPts, which is\n // calculated in remuxAudio.\n // logger.log('nb AAC samples:' + audioTrack.samples.length);\n if (nbAudioSamples) {\n // if initSegment was generated without video samples, regenerate it again\n if (!audioTrack.timescale) {\n logger_1.logger.warn('regenerate InitSegment as audio detected');\n this.generateIS(audioTrack, videoTrack, timeOffset);\n }\n var audioData = this.remuxAudio(audioTrack, audioTimeOffset, contiguous, accurateTimeOffset);\n // logger.log('nb AVC samples:' + videoTrack.samples.length);\n if (nbVideoSamples) {\n var audioTrackLength = void 0;\n if (audioData) {\n audioTrackLength = audioData.endPTS - audioData.startPTS;\n }\n // if initSegment was generated without video samples, regenerate it again\n if (!videoTrack.timescale) {\n logger_1.logger.warn('regenerate InitSegment as video detected');\n this.generateIS(audioTrack, videoTrack, timeOffset);\n }\n this.remuxVideo(videoTrack, videoTimeOffset, contiguous, audioTrackLength, accurateTimeOffset);\n }\n }\n else {\n // logger.log('nb AVC samples:' + videoTrack.samples.length);\n if (nbVideoSamples) {\n var videoData = this.remuxVideo(videoTrack, videoTimeOffset, contiguous, 0, accurateTimeOffset);\n if (videoData && audioTrack.codec) {\n this.remuxEmptyAudio(audioTrack, audioTimeOffset, contiguous, videoData);\n }\n }\n }\n }\n // logger.log('nb ID3 samples:' + audioTrack.samples.length);\n if (id3Track.samples.length) {\n this.remuxID3(id3Track, timeOffset);\n }\n // logger.log('nb ID3 samples:' + audioTrack.samples.length);\n if (textTrack.samples.length) {\n this.remuxText(textTrack, timeOffset);\n }\n // notify end of parsing\n this.observer.trigger(events_1.default.FRAG_PARSED);\n };\n MP4Remuxer.prototype.generateIS = function (audioTrack, videoTrack, timeOffset) {\n var observer = this.observer, audioSamples = audioTrack.samples, videoSamples = videoTrack.samples, typeSupported = this.typeSupported, container = 'audio/mp4', tracks = {}, data = { tracks: tracks }, computePTSDTS = (this._initPTS === undefined), initPTS, initDTS;\n if (computePTSDTS) {\n initPTS = initDTS = Infinity;\n }\n if (audioTrack.config && audioSamples.length) {\n // let's use audio sampling rate as MP4 time scale.\n // rationale is that there is a integer nb of audio frames per audio sample (1024 for AAC)\n // using audio sampling rate here helps having an integer MP4 frame duration\n // this avoids potential rounding issue and AV sync issue\n audioTrack.timescale = audioTrack.samplerate;\n logger_1.logger.log(\"audio sampling rate : \" + audioTrack.samplerate);\n if (!audioTrack.isAAC) {\n if (typeSupported.mpeg) { // Chrome and Safari\n container = 'audio/mpeg';\n audioTrack.codec = '';\n }\n else if (typeSupported.mp3) { // Firefox\n audioTrack.codec = 'mp3';\n }\n }\n tracks.audio = {\n container: container,\n codec: audioTrack.codec,\n initSegment: !audioTrack.isAAC && typeSupported.mpeg ? new Uint8Array() : mp4_generator_1.default.initSegment([audioTrack]),\n metadata: {\n channelCount: audioTrack.channelCount\n }\n };\n if (computePTSDTS) {\n // remember first PTS of this demuxing context. for audio, PTS = DTS\n initPTS = initDTS = audioSamples[0].pts - audioTrack.inputTimeScale * timeOffset;\n }\n }\n if (videoTrack.sps && videoTrack.pps && videoSamples.length) {\n // let's use input time scale as MP4 video timescale\n // we use input time scale straight away to avoid rounding issues on frame duration / cts computation\n var inputTimeScale = videoTrack.inputTimeScale;\n videoTrack.timescale = inputTimeScale;\n tracks.video = {\n container: 'video/mp4',\n codec: videoTrack.codec,\n initSegment: mp4_generator_1.default.initSegment([videoTrack]),\n metadata: {\n width: videoTrack.width,\n height: videoTrack.height\n }\n };\n if (computePTSDTS) {\n initPTS = Math.min(initPTS, videoSamples[0].pts - inputTimeScale * timeOffset);\n initDTS = Math.min(initDTS, videoSamples[0].dts - inputTimeScale * timeOffset);\n this.observer.trigger(events_1.default.INIT_PTS_FOUND, { initPTS: initPTS });\n }\n }\n if (Object.keys(tracks).length) {\n observer.trigger(events_1.default.FRAG_PARSING_INIT_SEGMENT, data);\n this.ISGenerated = true;\n if (computePTSDTS) {\n this._initPTS = initPTS;\n this._initDTS = initDTS;\n }\n }\n else {\n observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MEDIA_ERROR, details: errors_1.ErrorDetails.FRAG_PARSING_ERROR, fatal: false, reason: 'no audio/video samples found' });\n }\n };\n MP4Remuxer.prototype.remuxVideo = function (track, timeOffset, contiguous, audioTrackLength, accurateTimeOffset) {\n var offset = 8;\n var mp4SampleDuration;\n var mdat;\n var moof;\n var firstPTS;\n var firstDTS;\n var lastPTS;\n var lastDTS;\n var timeScale = track.timescale;\n var inputSamples = track.samples;\n var outputSamples = [];\n var nbSamples = inputSamples.length;\n var ptsNormalize = this._PTSNormalize;\n var initPTS = this._initPTS;\n // if parsed fragment is contiguous with last one, let's use last DTS value as reference\n var nextAvcDts = this.nextAvcDts;\n var isSafari = this.isSafari;\n if (nbSamples === 0) {\n return;\n }\n // Safari does not like overlapping DTS on consecutive fragments. let's use nextAvcDts to overcome this if fragments are consecutive\n if (isSafari) {\n // also consider consecutive fragments as being contiguous (even if a level switch occurs),\n // for sake of clarity:\n // consecutive fragments are frags with\n // - less than 100ms gaps between new time offset (if accurate) and next expected PTS OR\n // - less than 200 ms PTS gaps (timeScale/5)\n contiguous |= (inputSamples.length && nextAvcDts &&\n ((accurateTimeOffset && Math.abs(timeOffset - nextAvcDts / timeScale) < 0.1) ||\n Math.abs((inputSamples[0].pts - nextAvcDts - initPTS)) < timeScale / 5));\n }\n if (!contiguous) {\n // if not contiguous, let's use target timeOffset\n nextAvcDts = timeOffset * timeScale;\n }\n // PTS is coded on 33bits, and can loop from -2^32 to 2^32\n // ptsNormalize will make PTS/DTS value monotonic, we use last known DTS value as reference value\n inputSamples.forEach(function (sample) {\n sample.pts = ptsNormalize(sample.pts - initPTS, nextAvcDts);\n sample.dts = ptsNormalize(sample.dts - initPTS, nextAvcDts);\n });\n // sort video samples by DTS then PTS then demux id order\n inputSamples.sort(function (a, b) {\n var deltadts = a.dts - b.dts;\n var deltapts = a.pts - b.pts;\n return deltadts || (deltapts || (a.id - b.id));\n });\n // handle broken streams with PTS < DTS, tolerance up 200ms (18000 in 90kHz timescale)\n var PTSDTSshift = inputSamples.reduce(function (prev, curr) { return Math.max(Math.min(prev, curr.pts - curr.dts), -18000); }, 0);\n if (PTSDTSshift < 0) {\n logger_1.logger.warn(\"PTS < DTS detected in video samples, shifting DTS by \" + Math.round(PTSDTSshift / 90) + \" ms to overcome this issue\");\n for (var i = 0; i < inputSamples.length; i++) {\n inputSamples[i].dts += PTSDTSshift;\n }\n }\n // compute first DTS and last DTS, normalize them against reference value\n var sample = inputSamples[0];\n firstDTS = Math.max(sample.dts, 0);\n firstPTS = Math.max(sample.pts, 0);\n // check timestamp continuity accross consecutive fragments (this is to remove inter-fragment gap/hole)\n var delta = Math.round((firstDTS - nextAvcDts) / 90);\n // if fragment are contiguous, detect hole/overlapping between fragments\n if (contiguous) {\n if (delta) {\n if (delta > 1) {\n logger_1.logger.log(\"AVC:\" + delta + \" ms hole between fragments detected,filling it\");\n }\n else if (delta < -1) {\n logger_1.logger.log(\"AVC:\" + (-delta) + \" ms overlapping between fragments detected\");\n }\n // remove hole/gap : set DTS to next expected DTS\n firstDTS = nextAvcDts;\n inputSamples[0].dts = firstDTS;\n // offset PTS as well, ensure that PTS is smaller or equal than new DTS\n firstPTS = Math.max(firstPTS - delta, nextAvcDts);\n inputSamples[0].pts = firstPTS;\n logger_1.logger.log(\"Video/PTS/DTS adjusted: \" + Math.round(firstPTS / 90) + \"/\" + Math.round(firstDTS / 90) + \",delta:\" + delta + \" ms\");\n }\n }\n // compute lastPTS/lastDTS\n sample = inputSamples[inputSamples.length - 1];\n lastDTS = Math.max(sample.dts, 0);\n lastPTS = Math.max(sample.pts, 0, lastDTS);\n // on Safari let's signal the same sample duration for all samples\n // sample duration (as expected by trun MP4 boxes), should be the delta between sample DTS\n // set this constant duration as being the avg delta between consecutive DTS.\n if (isSafari) {\n mp4SampleDuration = Math.round((lastDTS - firstDTS) / (inputSamples.length - 1));\n }\n var nbNalu = 0, naluLen = 0;\n for (var i = 0; i < nbSamples; i++) {\n // compute total/avc sample length and nb of NAL units\n var sample_1 = inputSamples[i], units = sample_1.units, nbUnits = units.length, sampleLen = 0;\n for (var j = 0; j < nbUnits; j++) {\n sampleLen += units[j].data.length;\n }\n naluLen += sampleLen;\n nbNalu += nbUnits;\n sample_1.length = sampleLen;\n // normalize PTS/DTS\n if (isSafari) {\n // sample DTS is computed using a constant decoding offset (mp4SampleDuration) between samples\n sample_1.dts = firstDTS + i * mp4SampleDuration;\n }\n else {\n // ensure sample monotonic DTS\n sample_1.dts = Math.max(sample_1.dts, firstDTS);\n }\n // ensure that computed value is greater or equal than sample DTS\n sample_1.pts = Math.max(sample_1.pts, sample_1.dts);\n }\n /* concatenate the video data and construct the mdat in place\n (need 8 more bytes to fill length and mpdat type) */\n var mdatSize = naluLen + (4 * nbNalu) + 8;\n try {\n mdat = new Uint8Array(mdatSize);\n }\n catch (err) {\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MUX_ERROR, details: errors_1.ErrorDetails.REMUX_ALLOC_ERROR, fatal: false, bytes: mdatSize, reason: \"fail allocating video mdat \" + mdatSize });\n return;\n }\n var view = new DataView(mdat.buffer);\n view.setUint32(0, mdatSize);\n mdat.set(mp4_generator_1.default.types.mdat, 4);\n for (var i = 0; i < nbSamples; i++) {\n var avcSample = inputSamples[i], avcSampleUnits = avcSample.units, mp4SampleLength = 0, compositionTimeOffset = void 0;\n // convert NALU bitstream to MP4 format (prepend NALU with size field)\n for (var j = 0, nbUnits = avcSampleUnits.length; j < nbUnits; j++) {\n var unit = avcSampleUnits[j], unitData = unit.data, unitDataLen = unit.data.byteLength;\n view.setUint32(offset, unitDataLen);\n offset += 4;\n mdat.set(unitData, offset);\n offset += unitDataLen;\n mp4SampleLength += 4 + unitDataLen;\n }\n if (!isSafari) {\n // expected sample duration is the Decoding Timestamp diff of consecutive samples\n if (i < nbSamples - 1) {\n mp4SampleDuration = inputSamples[i + 1].dts - avcSample.dts;\n }\n else {\n var config = this.config, lastFrameDuration = avcSample.dts - inputSamples[i > 0 ? i - 1 : i].dts;\n if (config.stretchShortVideoTrack) {\n // In some cases, a segment's audio track duration may exceed the video track duration.\n // Since we've already remuxed audio, and we know how long the audio track is, we look to\n // see if the delta to the next segment is longer than maxBufferHole.\n // If so, playback would potentially get stuck, so we artificially inflate\n // the duration of the last frame to minimize any potential gap between segments.\n var maxBufferHole = config.maxBufferHole, gapTolerance = Math.floor(maxBufferHole * timeScale), deltaToFrameEnd = (audioTrackLength ? firstPTS + audioTrackLength * timeScale : this.nextAudioPts) - avcSample.pts;\n if (deltaToFrameEnd > gapTolerance) {\n // We subtract lastFrameDuration from deltaToFrameEnd to try to prevent any video\n // frame overlap. maxBufferHole should be >> lastFrameDuration anyway.\n mp4SampleDuration = deltaToFrameEnd - lastFrameDuration;\n if (mp4SampleDuration < 0) {\n mp4SampleDuration = lastFrameDuration;\n }\n logger_1.logger.log(\"It is approximately \" + deltaToFrameEnd / 90 + \" ms to the next segment; using duration \" + mp4SampleDuration / 90 + \" ms for the last video frame.\");\n }\n else {\n mp4SampleDuration = lastFrameDuration;\n }\n }\n else {\n mp4SampleDuration = lastFrameDuration;\n }\n }\n compositionTimeOffset = Math.round(avcSample.pts - avcSample.dts);\n }\n else {\n compositionTimeOffset = Math.max(0, mp4SampleDuration * Math.round((avcSample.pts - avcSample.dts) / mp4SampleDuration));\n }\n // console.log('PTS/DTS/initDTS/normPTS/normDTS/relative PTS : ${avcSample.pts}/${avcSample.dts}/${initDTS}/${ptsnorm}/${dtsnorm}/${(avcSample.pts/4294967296).toFixed(3)}');\n outputSamples.push({\n size: mp4SampleLength,\n // constant duration\n duration: mp4SampleDuration,\n cts: compositionTimeOffset,\n flags: {\n isLeading: 0,\n isDependedOn: 0,\n hasRedundancy: 0,\n degradPrio: 0,\n dependsOn: avcSample.key ? 2 : 1,\n isNonSync: avcSample.key ? 0 : 1\n }\n });\n }\n // next AVC sample DTS should be equal to last sample DTS + last sample duration (in PES timescale)\n this.nextAvcDts = lastDTS + mp4SampleDuration;\n var dropped = track.dropped;\n track.len = 0;\n track.nbNalu = 0;\n track.dropped = 0;\n if (outputSamples.length && navigator.userAgent.toLowerCase().indexOf('chrome') > -1) {\n var flags = outputSamples[0].flags;\n // chrome workaround, mark first sample as being a Random Access Point to avoid sourcebuffer append issue\n // https://code.google.com/p/chromium/issues/detail?id=229412\n flags.dependsOn = 2;\n flags.isNonSync = 0;\n }\n track.samples = outputSamples;\n moof = mp4_generator_1.default.moof(track.sequenceNumber++, firstDTS, track);\n track.samples = [];\n var data = {\n data1: moof,\n data2: mdat,\n startPTS: firstPTS / timeScale,\n endPTS: (lastPTS + mp4SampleDuration) / timeScale,\n startDTS: firstDTS / timeScale,\n endDTS: this.nextAvcDts / timeScale,\n type: 'video',\n hasAudio: false,\n hasVideo: true,\n nb: outputSamples.length,\n dropped: dropped\n };\n this.observer.trigger(events_1.default.FRAG_PARSING_DATA, data);\n return data;\n };\n MP4Remuxer.prototype.remuxAudio = function (track, timeOffset, contiguous, accurateTimeOffset) {\n var inputTimeScale = track.inputTimeScale;\n var mp4timeScale = track.timescale;\n var scaleFactor = inputTimeScale / mp4timeScale;\n var mp4SampleDuration = track.isAAC ? 1024 : 1152;\n var inputSampleDuration = mp4SampleDuration * scaleFactor;\n var ptsNormalize = this._PTSNormalize;\n var initPTS = this._initPTS;\n var rawMPEG = !track.isAAC && this.typeSupported.mpeg;\n var offset, mp4Sample, fillFrame, mdat, moof, firstPTS, lastPTS, inputSamples = track.samples, outputSamples = [], nextAudioPts = this.nextAudioPts;\n // for audio samples, also consider consecutive fragments as being contiguous (even if a level switch occurs),\n // for sake of clarity:\n // consecutive fragments are frags with\n // - less than 100ms gaps between new time offset (if accurate) and next expected PTS OR\n // - less than 20 audio frames distance\n // contiguous fragments are consecutive fragments from same quality level (same level, new SN = old SN + 1)\n // this helps ensuring audio continuity\n // and this also avoids audio glitches/cut when switching quality, or reporting wrong duration on first audio frame\n contiguous |= (inputSamples.length && nextAudioPts &&\n ((accurateTimeOffset && Math.abs(timeOffset - nextAudioPts / inputTimeScale) < 0.1) ||\n Math.abs((inputSamples[0].pts - nextAudioPts - initPTS)) < 20 * inputSampleDuration));\n // compute normalized PTS\n inputSamples.forEach(function (sample) {\n sample.pts = sample.dts = ptsNormalize(sample.pts - initPTS, timeOffset * inputTimeScale);\n });\n // filter out sample with negative PTS that are not playable anyway\n // if we don't remove these negative samples, they will shift all audio samples forward.\n // leading to audio overlap between current / next fragment\n inputSamples = inputSamples.filter(function (sample) {\n return sample.pts >= 0;\n });\n // in case all samples have negative PTS, and have been filtered out, return now\n if (inputSamples.length === 0) {\n return;\n }\n if (!contiguous) {\n if (!accurateTimeOffset) {\n // if frag are mot contiguous and if we cant trust time offset, let's use first sample PTS as next audio PTS\n nextAudioPts = inputSamples[0].pts;\n }\n else {\n // if timeOffset is accurate, let's use it as predicted next audio PTS\n nextAudioPts = timeOffset * inputTimeScale;\n }\n }\n // If the audio track is missing samples, the frames seem to get \"left-shifted\" within the\n // resulting mp4 segment, causing sync issues and leaving gaps at the end of the audio segment.\n // In an effort to prevent this from happening, we inject frames here where there are gaps.\n // When possible, we inject a silent frame; when that's not possible, we duplicate the last\n // frame.\n if (track.isAAC) {\n var maxAudioFramesDrift = this.config.maxAudioFramesDrift;\n for (var i = 0, nextPts = nextAudioPts; i < inputSamples.length;) {\n // First, let's see how far off this frame is from where we expect it to be\n var sample = inputSamples[i], delta;\n var pts = sample.pts;\n delta = pts - nextPts;\n var duration = Math.abs(1000 * delta / inputTimeScale);\n // If we're overlapping by more than a duration, drop this sample\n if (delta <= -maxAudioFramesDrift * inputSampleDuration) {\n logger_1.logger.warn(\"Dropping 1 audio frame @ \" + (nextPts / inputTimeScale).toFixed(3) + \"s due to \" + Math.round(duration) + \" ms overlap.\");\n inputSamples.splice(i, 1);\n track.len -= sample.unit.length;\n // Don't touch nextPtsNorm or i\n } // eslint-disable-line brace-style\n // Insert missing frames if:\n // 1: We're more than maxAudioFramesDrift frame away\n // 2: Not more than MAX_SILENT_FRAME_DURATION away\n // 3: currentTime (aka nextPtsNorm) is not 0\n else if (delta >= maxAudioFramesDrift * inputSampleDuration && duration < MAX_SILENT_FRAME_DURATION && nextPts) {\n var missing = Math.round(delta / inputSampleDuration);\n logger_1.logger.warn(\"Injecting \" + missing + \" audio frame @ \" + (nextPts / inputTimeScale).toFixed(3) + \"s due to \" + Math.round(1000 * delta / inputTimeScale) + \" ms gap.\");\n for (var j = 0; j < missing; j++) {\n var newStamp = Math.max(nextPts, 0);\n fillFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n if (!fillFrame) {\n logger_1.logger.log('Unable to get silent frame for given audio codec; duplicating last frame instead.');\n fillFrame = sample.unit.subarray();\n }\n inputSamples.splice(i, 0, { unit: fillFrame, pts: newStamp, dts: newStamp });\n track.len += fillFrame.length;\n nextPts += inputSampleDuration;\n i++;\n }\n // Adjust sample to next expected pts\n sample.pts = sample.dts = nextPts;\n nextPts += inputSampleDuration;\n i++;\n }\n else {\n // Otherwise, just adjust pts\n if (Math.abs(delta) > (0.1 * inputSampleDuration)) {\n // logger.log(`Invalid frame delta ${Math.round(delta + inputSampleDuration)} at PTS ${Math.round(pts / 90)} (should be ${Math.round(inputSampleDuration)}).`);\n }\n sample.pts = sample.dts = nextPts;\n nextPts += inputSampleDuration;\n i++;\n }\n }\n }\n for (var j = 0, nbSamples_1 = inputSamples.length; j < nbSamples_1; j++) {\n var audioSample = inputSamples[j];\n var unit = audioSample.unit;\n var pts = audioSample.pts;\n // logger.log(`Audio/PTS:${Math.round(pts/90)}`);\n // if not first sample\n if (lastPTS !== undefined) {\n mp4Sample.duration = Math.round((pts - lastPTS) / scaleFactor);\n }\n else {\n var delta_1 = Math.round(1000 * (pts - nextAudioPts) / inputTimeScale), numMissingFrames = 0;\n // if fragment are contiguous, detect hole/overlapping between fragments\n // contiguous fragments are consecutive fragments from same quality level (same level, new SN = old SN + 1)\n if (contiguous && track.isAAC) {\n // log delta\n if (delta_1) {\n if (delta_1 > 0 && delta_1 < MAX_SILENT_FRAME_DURATION) {\n numMissingFrames = Math.round((pts - nextAudioPts) / inputSampleDuration);\n logger_1.logger.log(delta_1 + \" ms hole between AAC samples detected,filling it\");\n if (numMissingFrames > 0) {\n fillFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n if (!fillFrame) {\n fillFrame = unit.subarray();\n }\n track.len += numMissingFrames * fillFrame.length;\n }\n // if we have frame overlap, overlapping for more than half a frame duraion\n }\n else if (delta_1 < -12) {\n // drop overlapping audio frames... browser will deal with it\n logger_1.logger.log(\"drop overlapping AAC sample, expected/parsed/delta:\" + (nextAudioPts / inputTimeScale).toFixed(3) + \"s/\" + (pts / inputTimeScale).toFixed(3) + \"s/\" + (-delta_1) + \"ms\");\n track.len -= unit.byteLength;\n continue;\n }\n // set PTS/DTS to expected PTS/DTS\n pts = nextAudioPts;\n }\n }\n // remember first PTS of our audioSamples\n firstPTS = pts;\n if (track.len > 0) {\n /* concatenate the audio data and construct the mdat in place\n (need 8 more bytes to fill length and mdat type) */\n var mdatSize = rawMPEG ? track.len : track.len + 8;\n offset = rawMPEG ? 0 : 8;\n try {\n mdat = new Uint8Array(mdatSize);\n }\n catch (err) {\n this.observer.trigger(events_1.default.ERROR, { type: errors_1.ErrorTypes.MUX_ERROR, details: errors_1.ErrorDetails.REMUX_ALLOC_ERROR, fatal: false, bytes: mdatSize, reason: \"fail allocating audio mdat \" + mdatSize });\n return;\n }\n if (!rawMPEG) {\n var view = new DataView(mdat.buffer);\n view.setUint32(0, mdatSize);\n mdat.set(mp4_generator_1.default.types.mdat, 4);\n }\n }\n else {\n // no audio samples\n return;\n }\n for (var i = 0; i < numMissingFrames; i++) {\n fillFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n if (!fillFrame) {\n logger_1.logger.log('Unable to get silent frame for given audio codec; duplicating this frame instead.');\n fillFrame = unit.subarray();\n }\n mdat.set(fillFrame, offset);\n offset += fillFrame.byteLength;\n mp4Sample = {\n size: fillFrame.byteLength,\n cts: 0,\n duration: 1024,\n flags: {\n isLeading: 0,\n isDependedOn: 0,\n hasRedundancy: 0,\n degradPrio: 0,\n dependsOn: 1\n }\n };\n outputSamples.push(mp4Sample);\n }\n }\n mdat.set(unit, offset);\n var unitLen = unit.byteLength;\n offset += unitLen;\n // console.log('PTS/DTS/initDTS/normPTS/normDTS/relative PTS : ${audioSample.pts}/${audioSample.dts}/${initDTS}/${ptsnorm}/${dtsnorm}/${(audioSample.pts/4294967296).toFixed(3)}');\n mp4Sample = {\n size: unitLen,\n cts: 0,\n duration: 0,\n flags: {\n isLeading: 0,\n isDependedOn: 0,\n hasRedundancy: 0,\n degradPrio: 0,\n dependsOn: 1\n }\n };\n outputSamples.push(mp4Sample);\n lastPTS = pts;\n }\n var lastSampleDuration = 0;\n var nbSamples = outputSamples.length;\n // set last sample duration as being identical to previous sample\n if (nbSamples >= 2) {\n lastSampleDuration = outputSamples[nbSamples - 2].duration;\n mp4Sample.duration = lastSampleDuration;\n }\n if (nbSamples) {\n // next audio sample PTS should be equal to last sample PTS + duration\n this.nextAudioPts = nextAudioPts = lastPTS + scaleFactor * lastSampleDuration;\n // logger.log('Audio/PTS/PTSend:' + audioSample.pts.toFixed(0) + '/' + this.nextAacDts.toFixed(0));\n track.len = 0;\n track.samples = outputSamples;\n if (rawMPEG) {\n moof = new Uint8Array();\n }\n else {\n moof = mp4_generator_1.default.moof(track.sequenceNumber++, firstPTS / scaleFactor, track);\n }\n track.samples = [];\n var start = firstPTS / inputTimeScale;\n var end = nextAudioPts / inputTimeScale;\n var audioData = {\n data1: moof,\n data2: mdat,\n startPTS: start,\n endPTS: end,\n startDTS: start,\n endDTS: end,\n type: 'audio',\n hasAudio: true,\n hasVideo: false,\n nb: nbSamples\n };\n this.observer.trigger(events_1.default.FRAG_PARSING_DATA, audioData);\n return audioData;\n }\n return null;\n };\n MP4Remuxer.prototype.remuxEmptyAudio = function (track, timeOffset, contiguous, videoData) {\n var inputTimeScale = track.inputTimeScale, mp4timeScale = track.samplerate ? track.samplerate : inputTimeScale, scaleFactor = inputTimeScale / mp4timeScale, nextAudioPts = this.nextAudioPts, \n // sync with video's timestamp\n startDTS = (nextAudioPts !== undefined ? nextAudioPts : videoData.startDTS * inputTimeScale) + this._initDTS, endDTS = videoData.endDTS * inputTimeScale + this._initDTS, \n // one sample's duration value\n sampleDuration = 1024, frameDuration = scaleFactor * sampleDuration, \n // samples count of this segment's duration\n nbSamples = Math.ceil((endDTS - startDTS) / frameDuration), \n // silent frame\n silentFrame = aac_helper_1.default.getSilentFrame(track.manifestCodec || track.codec, track.channelCount);\n logger_1.logger.warn('remux empty Audio');\n // Can't remux if we can't generate a silent frame...\n if (!silentFrame) {\n logger_1.logger.trace('Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!');\n return;\n }\n var samples = [];\n for (var i = 0; i < nbSamples; i++) {\n var stamp = startDTS + i * frameDuration;\n samples.push({ unit: silentFrame, pts: stamp, dts: stamp });\n track.len += silentFrame.length;\n }\n track.samples = samples;\n this.remuxAudio(track, timeOffset, contiguous);\n };\n MP4Remuxer.prototype.remuxID3 = function (track) {\n var length = track.samples.length, sample;\n var inputTimeScale = track.inputTimeScale;\n var initPTS = this._initPTS;\n var initDTS = this._initDTS;\n // consume samples\n if (length) {\n for (var index = 0; index < length; index++) {\n sample = track.samples[index];\n // setting id3 pts, dts to relative time\n // using this._initPTS and this._initDTS to calculate relative time\n sample.pts = ((sample.pts - initPTS) / inputTimeScale);\n sample.dts = ((sample.dts - initDTS) / inputTimeScale);\n }\n this.observer.trigger(events_1.default.FRAG_PARSING_METADATA, {\n samples: track.samples\n });\n }\n track.samples = [];\n };\n MP4Remuxer.prototype.remuxText = function (track) {\n track.samples.sort(function (a, b) {\n return (a.pts - b.pts);\n });\n var length = track.samples.length, sample;\n var inputTimeScale = track.inputTimeScale;\n var initPTS = this._initPTS;\n // consume samples\n if (length) {\n for (var index = 0; index < length; index++) {\n sample = track.samples[index];\n // setting text pts, dts to relative time\n // using this._initPTS and this._initDTS to calculate relative time\n sample.pts = ((sample.pts - initPTS) / inputTimeScale);\n }\n this.observer.trigger(events_1.default.FRAG_PARSING_USERDATA, {\n samples: track.samples\n });\n }\n track.samples = [];\n };\n MP4Remuxer.prototype._PTSNormalize = function (value, reference) {\n var offset;\n if (reference === undefined) {\n return value;\n }\n if (reference < value) {\n // - 2^33\n offset = -8589934592;\n }\n else {\n // + 2^33\n offset = 8589934592;\n }\n /* PTS is 33bit (from 0 to 2^33 -1)\n if diff between value and reference is bigger than half of the amplitude (2^32) then it means that\n PTS looping occured. fill the gap */\n while (Math.abs(value - reference) > 4294967296) {\n value += offset;\n }\n return value;\n };\n return MP4Remuxer;\n}());\nexports.default = MP4Remuxer;\n\n\n/***/ }),\n\n/***/ \"./src/remux/passthrough-remuxer.js\":\n/*!******************************************!*\\\n !*** ./src/remux/passthrough-remuxer.js ***!\n \\******************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * passthrough remuxer\n*/\nvar events_1 = __webpack_require__(/*! ../events */ \"./src/events.js\");\nvar PassThroughRemuxer = /** @class */ (function () {\n function PassThroughRemuxer(observer) {\n this.observer = observer;\n }\n PassThroughRemuxer.prototype.destroy = function () {\n };\n PassThroughRemuxer.prototype.resetTimeStamp = function () {\n };\n PassThroughRemuxer.prototype.resetInitSegment = function () {\n };\n PassThroughRemuxer.prototype.remux = function (audioTrack, videoTrack, id3Track, textTrack, timeOffset, contiguous, accurateTimeOffset, rawData) {\n var observer = this.observer;\n var streamType = '';\n if (audioTrack) {\n streamType += 'audio';\n }\n if (videoTrack) {\n streamType += 'video';\n }\n observer.trigger(events_1.default.FRAG_PARSING_DATA, {\n data1: rawData,\n startPTS: timeOffset,\n startDTS: timeOffset,\n type: streamType,\n hasAudio: !!audioTrack,\n hasVideo: !!videoTrack,\n nb: 1,\n dropped: 0\n });\n // notify end of parsing\n observer.trigger(events_1.default.FRAG_PARSED);\n };\n return PassThroughRemuxer;\n}());\nexports.default = PassThroughRemuxer;\n\n\n/***/ }),\n\n/***/ \"./src/task-loop.js\":\n/*!**************************!*\\\n !*** ./src/task-loop.js ***!\n \\**************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar event_handler_1 = __webpack_require__(/*! ./event-handler */ \"./src/event-handler.js\");\n/**\n * Sub-class specialization of EventHandler base class.\n *\n * TaskLoop allows to schedule a task function being called (optionnaly repeatedly) on the main loop,\n * scheduled asynchroneously, avoiding recursive calls in the same tick.\n *\n * The task itself is implemented in `doTick`. It can be requested and called for single execution\n * using the `tick` method.\n *\n * It will be assured that the task execution method (`tick`) only gets called once per main loop \"tick\",\n * no matter how often it gets requested for execution. Execution in further ticks will be scheduled accordingly.\n *\n * If further execution requests have already been scheduled on the next tick, it can be checked with `hasNextTick`,\n * and cancelled with `clearNextTick`.\n *\n * The task can be scheduled as an interval repeatedly with a period as parameter (see `setInterval`, `clearInterval`).\n *\n * Sub-classes need to implement the `doTick` method which will effectively have the task execution routine.\n *\n * Further explanations:\n *\n * The baseclass has a `tick` method that will schedule the doTick call. It may be called synchroneously\n * only for a stack-depth of one. On re-entrant calls, sub-sequent calls are scheduled for next main loop ticks.\n *\n * When the task execution (`tick` method) is called in re-entrant way this is detected and\n * we are limiting the task execution per call stack to exactly one, but scheduling/post-poning further\n * task processing on the next main loop iteration (also known as \"next tick\" in the Node/JS runtime lingo).\n */\nvar TaskLoop = /** @class */ (function (_super) {\n __extends(TaskLoop, _super);\n function TaskLoop(hls) {\n var events = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n events[_i - 1] = arguments[_i];\n }\n var _this = _super.apply(this, [hls].concat(events)) || this;\n _this._tickInterval = null;\n _this._tickTimer = null;\n _this._tickCallCount = 0;\n _this._boundTick = _this.tick.bind(_this);\n return _this;\n }\n /**\n * @override\n */\n TaskLoop.prototype.onHandlerDestroying = function () {\n // clear all timers before unregistering from event bus\n this.clearNextTick();\n this.clearInterval();\n };\n /**\n * @returns {boolean}\n */\n TaskLoop.prototype.hasInterval = function () {\n return !!this._tickInterval;\n };\n /**\n * @returns {boolean}\n */\n TaskLoop.prototype.hasNextTick = function () {\n return !!this._tickTimer;\n };\n /**\n * @param {number} millis Interval time (ms)\n * @returns {boolean} True when interval has been scheduled, false when already scheduled (no effect)\n */\n TaskLoop.prototype.setInterval = function (millis) {\n if (!this._tickInterval) {\n this._tickInterval = setInterval(this._boundTick, millis);\n return true;\n }\n return false;\n };\n /**\n * @returns {boolean} True when interval was cleared, false when none was set (no effect)\n */\n TaskLoop.prototype.clearInterval = function () {\n if (this._tickInterval) {\n clearInterval(this._tickInterval);\n this._tickInterval = null;\n return true;\n }\n return false;\n };\n /**\n * @returns {boolean} True when timeout was cleared, false when none was set (no effect)\n */\n TaskLoop.prototype.clearNextTick = function () {\n if (this._tickTimer) {\n clearTimeout(this._tickTimer);\n this._tickTimer = null;\n return true;\n }\n return false;\n };\n /**\n * Will call the subclass doTick implementation in this main loop tick\n * or in the next one (via setTimeout(,0)) in case it has already been called\n * in this tick (in case this is a re-entrant call).\n */\n TaskLoop.prototype.tick = function () {\n this._tickCallCount++;\n if (this._tickCallCount === 1) {\n this.doTick();\n // re-entrant call to tick from previous doTick call stack\n // -> schedule a call on the next main loop iteration to process this task processing request\n if (this._tickCallCount > 1) {\n // make sure only one timer exists at any time at max\n this.clearNextTick();\n this._tickTimer = setTimeout(this._boundTick, 0);\n }\n this._tickCallCount = 0;\n }\n };\n /**\n * For subclass to implement task logic\n * @abstract\n */\n TaskLoop.prototype.doTick = function () { };\n return TaskLoop;\n}(event_handler_1.default));\nexports.default = TaskLoop;\n\n\n/***/ }),\n\n/***/ \"./src/utils/attr-list.js\":\n/*!********************************!*\\\n !*** ./src/utils/attr-list.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DECIMAL_RESOLUTION_REGEX = /^(\\d+)x(\\d+)$/; // eslint-disable-line no-useless-escape\nvar ATTR_LIST_REGEX = /\\s*(.+?)\\s*=((?:\\\".*?\\\")|.*?)(?:,|$)/g; // eslint-disable-line no-useless-escape\n// adapted from https://github.com/kanongil/node-m3u8parse/blob/master/attrlist.js\nvar AttrList = /** @class */ (function () {\n function AttrList(attrs) {\n if (typeof attrs === 'string') {\n attrs = AttrList.parseAttrList(attrs);\n }\n for (var attr in attrs) {\n if (attrs.hasOwnProperty(attr)) {\n this[attr] = attrs[attr];\n }\n }\n }\n AttrList.prototype.decimalInteger = function (attrName) {\n var intValue = parseInt(this[attrName], 10);\n if (intValue > Number.MAX_SAFE_INTEGER) {\n return Infinity;\n }\n return intValue;\n };\n AttrList.prototype.hexadecimalInteger = function (attrName) {\n if (this[attrName]) {\n var stringValue = (this[attrName] || '0x').slice(2);\n stringValue = ((stringValue.length & 1) ? '0' : '') + stringValue;\n var value = new Uint8Array(stringValue.length / 2);\n for (var i = 0; i < stringValue.length / 2; i++) {\n value[i] = parseInt(stringValue.slice(i * 2, i * 2 + 2), 16);\n }\n return value;\n }\n else {\n return null;\n }\n };\n AttrList.prototype.hexadecimalIntegerAsNumber = function (attrName) {\n var intValue = parseInt(this[attrName], 16);\n if (intValue > Number.MAX_SAFE_INTEGER) {\n return Infinity;\n }\n return intValue;\n };\n AttrList.prototype.decimalFloatingPoint = function (attrName) {\n return parseFloat(this[attrName]);\n };\n AttrList.prototype.enumeratedString = function (attrName) {\n return this[attrName];\n };\n AttrList.prototype.decimalResolution = function (attrName) {\n var res = DECIMAL_RESOLUTION_REGEX.exec(this[attrName]);\n if (res === null) {\n return undefined;\n }\n return {\n width: parseInt(res[1], 10),\n height: parseInt(res[2], 10)\n };\n };\n AttrList.parseAttrList = function (input) {\n var match, attrs = {};\n ATTR_LIST_REGEX.lastIndex = 0;\n while ((match = ATTR_LIST_REGEX.exec(input)) !== null) {\n var value = match[2], quote = '\"';\n if (value.indexOf(quote) === 0 &&\n value.lastIndexOf(quote) === (value.length - 1)) {\n value = value.slice(1, -1);\n }\n attrs[match[1]] = value;\n }\n return attrs;\n };\n return AttrList;\n}());\nexports.default = AttrList;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/utils/binary-search.js\":\n/*!************************************!*\\\n !*** ./src/utils/binary-search.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BinarySearch = {\n /**\n * Searches for an item in an array which matches a certain condition.\n * This requires the condition to only match one item in the array,\n * and for the array to be ordered.\n *\n * @param {Array} list The array to search.\n * @param {Function} comparisonFunction\n * Called and provided a candidate item as the first argument.\n * Should return:\n * > -1 if the item should be located at a lower index than the provided item.\n * > 1 if the item should be located at a higher index than the provided item.\n * > 0 if the item is the item you're looking for.\n *\n * @return {*} The object if it is found or null otherwise.\n */\n search: function (list, comparisonFunction) {\n var minIndex = 0;\n var maxIndex = list.length - 1;\n var currentIndex = null;\n var currentElement = null;\n while (minIndex <= maxIndex) {\n currentIndex = (minIndex + maxIndex) / 2 | 0;\n currentElement = list[currentIndex];\n var comparisonResult = comparisonFunction(currentElement);\n if (comparisonResult > 0) {\n minIndex = currentIndex + 1;\n }\n else if (comparisonResult < 0) {\n maxIndex = currentIndex - 1;\n }\n else {\n return currentElement;\n }\n }\n return null;\n }\n};\nexports.default = BinarySearch;\n\n\n/***/ }),\n\n/***/ \"./src/utils/buffer-helper.js\":\n/*!************************************!*\\\n !*** ./src/utils/buffer-helper.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * @module BufferHelper\n *\n * Providing methods dealing with buffer length retrieval for example.\n *\n * In general, a helper around HTML5 MediaElement TimeRanges gathered from `buffered` property.\n *\n * Also @see https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/buffered\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar BufferHelper = /** @class */ (function () {\n function BufferHelper() {\n }\n /**\n * Return true if `media`'s buffered include `position`\n * @param {HTMLMediaElement|SourceBuffer} media\n * @param {number} position\n * @returns {boolean}\n */\n BufferHelper.isBuffered = function (media, position) {\n try {\n if (media) {\n var buffered = media.buffered;\n for (var i = 0; i < buffered.length; i++) {\n if (position >= buffered.start(i) && position <= buffered.end(i)) {\n return true;\n }\n }\n }\n }\n catch (error) {\n // this is to catch\n // InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer':\n // This SourceBuffer has been removed from the parent media source\n }\n return false;\n };\n BufferHelper.bufferInfo = function (media, pos, maxHoleDuration) {\n try {\n if (media) {\n var vbuffered = media.buffered, buffered = [], i = void 0;\n for (i = 0; i < vbuffered.length; i++) {\n buffered.push({ start: vbuffered.start(i), end: vbuffered.end(i) });\n }\n return this.bufferedInfo(buffered, pos, maxHoleDuration);\n }\n }\n catch (error) {\n // this is to catch\n // InvalidStateError: Failed to read the 'buffered' property from 'SourceBuffer':\n // This SourceBuffer has been removed from the parent media source\n }\n return { len: 0, start: pos, end: pos, nextStart: undefined };\n };\n BufferHelper.bufferedInfo = function (buffered, pos, maxHoleDuration) {\n var buffered2 = [], \n // bufferStart and bufferEnd are buffer boundaries around current video position\n bufferLen, bufferStart, bufferEnd, bufferStartNext, i;\n // sort on buffer.start/smaller end (IE does not always return sorted buffered range)\n buffered.sort(function (a, b) {\n var diff = a.start - b.start;\n if (diff) {\n return diff;\n }\n else {\n return b.end - a.end;\n }\n });\n // there might be some small holes between buffer time range\n // consider that holes smaller than maxHoleDuration are irrelevant and build another\n // buffer time range representations that discards those holes\n for (i = 0; i < buffered.length; i++) {\n var buf2len = buffered2.length;\n if (buf2len) {\n var buf2end = buffered2[buf2len - 1].end;\n // if small hole (value between 0 or maxHoleDuration ) or overlapping (negative)\n if ((buffered[i].start - buf2end) < maxHoleDuration) {\n // merge overlapping time ranges\n // update lastRange.end only if smaller than item.end\n // e.g. [ 1, 15] with [ 2,8] => [ 1,15] (no need to modify lastRange.end)\n // whereas [ 1, 8] with [ 2,15] => [ 1,15] ( lastRange should switch from [1,8] to [1,15])\n if (buffered[i].end > buf2end) {\n buffered2[buf2len - 1].end = buffered[i].end;\n }\n }\n else {\n // big hole\n buffered2.push(buffered[i]);\n }\n }\n else {\n // first value\n buffered2.push(buffered[i]);\n }\n }\n for (i = 0, bufferLen = 0, bufferStart = bufferEnd = pos; i < buffered2.length; i++) {\n var start = buffered2[i].start, end = buffered2[i].end;\n // logger.log('buf start/end:' + buffered.start(i) + '/' + buffered.end(i));\n if ((pos + maxHoleDuration) >= start && pos < end) {\n // play position is inside this buffer TimeRange, retrieve end of buffer position and buffer length\n bufferStart = start;\n bufferEnd = end;\n bufferLen = bufferEnd - pos;\n }\n else if ((pos + maxHoleDuration) < start) {\n bufferStartNext = start;\n break;\n }\n }\n return { len: bufferLen, start: bufferStart, end: bufferEnd, nextStart: bufferStartNext };\n };\n return BufferHelper;\n}());\nexports.BufferHelper = BufferHelper;\n\n\n/***/ }),\n\n/***/ \"./src/utils/cea-608-parser.js\":\n/*!*************************************!*\\\n !*** ./src/utils/cea-608-parser.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n *\n * This code was ported from the dash.js project at:\n * https://github.com/Dash-Industry-Forum/dash.js/blob/development/externals/cea608-parser.js\n * https://github.com/Dash-Industry-Forum/dash.js/commit/8269b26a761e0853bb21d78780ed945144ecdd4d#diff-71bc295a2d6b6b7093a1d3290d53a4b2\n *\n * The original copyright appears below:\n *\n * The copyright in this software is being made available under the BSD License,\n * included below. This software may be subject to other third party and contributor\n * rights, including patent rights, and no such rights are granted under this license.\n *\n * Copyright (c) 2015-2016, DASH Industry Forum.\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification,\n * are permitted provided that the following conditions are met:\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n * * Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation and/or\n * other materials provided with the distribution.\n * 2. Neither the name of Dash Industry Forum nor the names of its\n * contributors may be used to endorse or promote products derived from this software\n * without specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS AS IS AND ANY\n * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\n * IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\n * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT\n * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\n * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\n * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\n * POSSIBILITY OF SUCH DAMAGE.\n */\n/**\n * Exceptions from regular ASCII. CodePoints are mapped to UTF-16 codes\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar specialCea608CharsCodes = {\n 0x2a: 0xe1,\n 0x5c: 0xe9,\n 0x5e: 0xed,\n 0x5f: 0xf3,\n 0x60: 0xfa,\n 0x7b: 0xe7,\n 0x7c: 0xf7,\n 0x7d: 0xd1,\n 0x7e: 0xf1,\n 0x7f: 0x2588,\n // THIS BLOCK INCLUDES THE 16 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS\n // THAT COME FROM HI BYTE=0x11 AND LOW BETWEEN 0x30 AND 0x3F\n // THIS MEANS THAT \\x50 MUST BE ADDED TO THE VALUES\n 0x80: 0xae,\n 0x81: 0xb0,\n 0x82: 0xbd,\n 0x83: 0xbf,\n 0x84: 0x2122,\n 0x85: 0xa2,\n 0x86: 0xa3,\n 0x87: 0x266a,\n 0x88: 0xe0,\n 0x89: 0x20,\n 0x8a: 0xe8,\n 0x8b: 0xe2,\n 0x8c: 0xea,\n 0x8d: 0xee,\n 0x8e: 0xf4,\n 0x8f: 0xfb,\n // THIS BLOCK INCLUDES THE 32 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS\n // THAT COME FROM HI BYTE=0x12 AND LOW BETWEEN 0x20 AND 0x3F\n 0x90: 0xc1,\n 0x91: 0xc9,\n 0x92: 0xd3,\n 0x93: 0xda,\n 0x94: 0xdc,\n 0x95: 0xfc,\n 0x96: 0x2018,\n 0x97: 0xa1,\n 0x98: 0x2a,\n 0x99: 0x2019,\n 0x9a: 0x2501,\n 0x9b: 0xa9,\n 0x9c: 0x2120,\n 0x9d: 0x2022,\n 0x9e: 0x201c,\n 0x9f: 0x201d,\n 0xa0: 0xc0,\n 0xa1: 0xc2,\n 0xa2: 0xc7,\n 0xa3: 0xc8,\n 0xa4: 0xca,\n 0xa5: 0xcb,\n 0xa6: 0xeb,\n 0xa7: 0xce,\n 0xa8: 0xcf,\n 0xa9: 0xef,\n 0xaa: 0xd4,\n 0xab: 0xd9,\n 0xac: 0xf9,\n 0xad: 0xdb,\n 0xae: 0xab,\n 0xaf: 0xbb,\n // THIS BLOCK INCLUDES THE 32 EXTENDED (TWO-BYTE) LINE 21 CHARACTERS\n // THAT COME FROM HI BYTE=0x13 AND LOW BETWEEN 0x20 AND 0x3F\n 0xb0: 0xc3,\n 0xb1: 0xe3,\n 0xb2: 0xcd,\n 0xb3: 0xcc,\n 0xb4: 0xec,\n 0xb5: 0xd2,\n 0xb6: 0xf2,\n 0xb7: 0xd5,\n 0xb8: 0xf5,\n 0xb9: 0x7b,\n 0xba: 0x7d,\n 0xbb: 0x5c,\n 0xbc: 0x5e,\n 0xbd: 0x5f,\n 0xbe: 0x7c,\n 0xbf: 0x223c,\n 0xc0: 0xc4,\n 0xc1: 0xe4,\n 0xc2: 0xd6,\n 0xc3: 0xf6,\n 0xc4: 0xdf,\n 0xc5: 0xa5,\n 0xc6: 0xa4,\n 0xc7: 0x2503,\n 0xc8: 0xc5,\n 0xc9: 0xe5,\n 0xca: 0xd8,\n 0xcb: 0xf8,\n 0xcc: 0x250f,\n 0xcd: 0x2513,\n 0xce: 0x2517,\n 0xcf: 0x251b // Box drawings heavy up and left\n};\n/**\n * Utils\n */\nvar getCharForByte = function (byte) {\n var charCode = byte;\n if (specialCea608CharsCodes.hasOwnProperty(byte)) {\n charCode = specialCea608CharsCodes[byte];\n }\n return String.fromCharCode(charCode);\n};\nvar NR_ROWS = 15, NR_COLS = 100;\n// Tables to look up row from PAC data\nvar rowsLowCh1 = { 0x11: 1, 0x12: 3, 0x15: 5, 0x16: 7, 0x17: 9, 0x10: 11, 0x13: 12, 0x14: 14 };\nvar rowsHighCh1 = { 0x11: 2, 0x12: 4, 0x15: 6, 0x16: 8, 0x17: 10, 0x13: 13, 0x14: 15 };\nvar rowsLowCh2 = { 0x19: 1, 0x1A: 3, 0x1D: 5, 0x1E: 7, 0x1F: 9, 0x18: 11, 0x1B: 12, 0x1C: 14 };\nvar rowsHighCh2 = { 0x19: 2, 0x1A: 4, 0x1D: 6, 0x1E: 8, 0x1F: 10, 0x1B: 13, 0x1C: 15 };\nvar backgroundColors = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta', 'black', 'transparent'];\n/**\n * Simple logger class to be able to write with time-stamps and filter on level.\n */\nvar logger = {\n verboseFilter: { 'DATA': 3, 'DEBUG': 3, 'INFO': 2, 'WARNING': 2, 'TEXT': 1, 'ERROR': 0 },\n time: null,\n verboseLevel: 0,\n setTime: function (newTime) {\n this.time = newTime;\n },\n log: function (severity, msg) {\n var minLevel = this.verboseFilter[severity];\n if (this.verboseLevel >= minLevel) {\n // console.log(this.time + ' [' + severity + '] ' + msg);\n }\n }\n};\nvar numArrayToHexArray = function (numArray) {\n var hexArray = [];\n for (var j = 0; j < numArray.length; j++) {\n hexArray.push(numArray[j].toString(16));\n }\n return hexArray;\n};\nvar PenState = /** @class */ (function () {\n function PenState(foreground, underline, italics, background, flash) {\n this.foreground = foreground || 'white';\n this.underline = underline || false;\n this.italics = italics || false;\n this.background = background || 'black';\n this.flash = flash || false;\n }\n PenState.prototype.reset = function () {\n this.foreground = 'white';\n this.underline = false;\n this.italics = false;\n this.background = 'black';\n this.flash = false;\n };\n PenState.prototype.setStyles = function (styles) {\n var attribs = ['foreground', 'underline', 'italics', 'background', 'flash'];\n for (var i = 0; i < attribs.length; i++) {\n var style = attribs[i];\n if (styles.hasOwnProperty(style)) {\n this[style] = styles[style];\n }\n }\n };\n PenState.prototype.isDefault = function () {\n return (this.foreground === 'white' && !this.underline && !this.italics &&\n this.background === 'black' && !this.flash);\n };\n PenState.prototype.equals = function (other) {\n return ((this.foreground === other.foreground) &&\n (this.underline === other.underline) &&\n (this.italics === other.italics) &&\n (this.background === other.background) &&\n (this.flash === other.flash));\n };\n PenState.prototype.copy = function (newPenState) {\n this.foreground = newPenState.foreground;\n this.underline = newPenState.underline;\n this.italics = newPenState.italics;\n this.background = newPenState.background;\n this.flash = newPenState.flash;\n };\n PenState.prototype.toString = function () {\n return ('color=' + this.foreground + ', underline=' + this.underline + ', italics=' + this.italics +\n ', background=' + this.background + ', flash=' + this.flash);\n };\n return PenState;\n}());\n/**\n * Unicode character with styling and background.\n * @constructor\n */\nvar StyledUnicodeChar = /** @class */ (function () {\n function StyledUnicodeChar(uchar, foreground, underline, italics, background, flash) {\n this.uchar = uchar || ' '; // unicode character\n this.penState = new PenState(foreground, underline, italics, background, flash);\n }\n StyledUnicodeChar.prototype.reset = function () {\n this.uchar = ' ';\n this.penState.reset();\n };\n StyledUnicodeChar.prototype.setChar = function (uchar, newPenState) {\n this.uchar = uchar;\n this.penState.copy(newPenState);\n };\n StyledUnicodeChar.prototype.setPenState = function (newPenState) {\n this.penState.copy(newPenState);\n };\n StyledUnicodeChar.prototype.equals = function (other) {\n return this.uchar === other.uchar && this.penState.equals(other.penState);\n };\n StyledUnicodeChar.prototype.copy = function (newChar) {\n this.uchar = newChar.uchar;\n this.penState.copy(newChar.penState);\n };\n StyledUnicodeChar.prototype.isEmpty = function () {\n return this.uchar === ' ' && this.penState.isDefault();\n };\n return StyledUnicodeChar;\n}());\n/**\n * CEA-608 row consisting of NR_COLS instances of StyledUnicodeChar.\n * @constructor\n */\nvar Row = /** @class */ (function () {\n function Row() {\n this.chars = [];\n for (var i = 0; i < NR_COLS; i++) {\n this.chars.push(new StyledUnicodeChar());\n }\n this.pos = 0;\n this.currPenState = new PenState();\n }\n Row.prototype.equals = function (other) {\n var equal = true;\n for (var i = 0; i < NR_COLS; i++) {\n if (!this.chars[i].equals(other.chars[i])) {\n equal = false;\n break;\n }\n }\n return equal;\n };\n Row.prototype.copy = function (other) {\n for (var i = 0; i < NR_COLS; i++) {\n this.chars[i].copy(other.chars[i]);\n }\n };\n Row.prototype.isEmpty = function () {\n var empty = true;\n for (var i = 0; i < NR_COLS; i++) {\n if (!this.chars[i].isEmpty()) {\n empty = false;\n break;\n }\n }\n return empty;\n };\n /**\n * Set the cursor to a valid column.\n */\n Row.prototype.setCursor = function (absPos) {\n if (this.pos !== absPos) {\n this.pos = absPos;\n }\n if (this.pos < 0) {\n logger.log('ERROR', 'Negative cursor position ' + this.pos);\n this.pos = 0;\n }\n else if (this.pos > NR_COLS) {\n logger.log('ERROR', 'Too large cursor position ' + this.pos);\n this.pos = NR_COLS;\n }\n };\n /**\n * Move the cursor relative to current position.\n */\n Row.prototype.moveCursor = function (relPos) {\n var newPos = this.pos + relPos;\n if (relPos > 1) {\n for (var i = this.pos + 1; i < newPos + 1; i++) {\n this.chars[i].setPenState(this.currPenState);\n }\n }\n this.setCursor(newPos);\n };\n /**\n * Backspace, move one step back and clear character.\n */\n Row.prototype.backSpace = function () {\n this.moveCursor(-1);\n this.chars[this.pos].setChar(' ', this.currPenState);\n };\n Row.prototype.insertChar = function (byte) {\n if (byte >= 0x90) { // Extended char\n this.backSpace();\n }\n var char = getCharForByte(byte);\n if (this.pos >= NR_COLS) {\n logger.log('ERROR', 'Cannot insert ' + byte.toString(16) +\n ' (' + char + ') at position ' + this.pos + '. Skipping it!');\n return;\n }\n this.chars[this.pos].setChar(char, this.currPenState);\n this.moveCursor(1);\n };\n Row.prototype.clearFromPos = function (startPos) {\n var i;\n for (i = startPos; i < NR_COLS; i++) {\n this.chars[i].reset();\n }\n };\n Row.prototype.clear = function () {\n this.clearFromPos(0);\n this.pos = 0;\n this.currPenState.reset();\n };\n Row.prototype.clearToEndOfRow = function () {\n this.clearFromPos(this.pos);\n };\n Row.prototype.getTextString = function () {\n var chars = [];\n var empty = true;\n for (var i = 0; i < NR_COLS; i++) {\n var char = this.chars[i].uchar;\n if (char !== ' ') {\n empty = false;\n }\n chars.push(char);\n }\n if (empty) {\n return '';\n }\n else {\n return chars.join('');\n }\n };\n Row.prototype.setPenStyles = function (styles) {\n this.currPenState.setStyles(styles);\n var currChar = this.chars[this.pos];\n currChar.setPenState(this.currPenState);\n };\n return Row;\n}());\n/**\n * Keep a CEA-608 screen of 32x15 styled characters\n * @constructor\n*/\nvar CaptionScreen = /** @class */ (function () {\n function CaptionScreen() {\n this.rows = [];\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows.push(new Row());\n } // Note that we use zero-based numbering (0-14)\n this.currRow = NR_ROWS - 1;\n this.nrRollUpRows = null;\n this.reset();\n }\n CaptionScreen.prototype.reset = function () {\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows[i].clear();\n }\n this.currRow = NR_ROWS - 1;\n };\n CaptionScreen.prototype.equals = function (other) {\n var equal = true;\n for (var i = 0; i < NR_ROWS; i++) {\n if (!this.rows[i].equals(other.rows[i])) {\n equal = false;\n break;\n }\n }\n return equal;\n };\n CaptionScreen.prototype.copy = function (other) {\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows[i].copy(other.rows[i]);\n }\n };\n CaptionScreen.prototype.isEmpty = function () {\n var empty = true;\n for (var i = 0; i < NR_ROWS; i++) {\n if (!this.rows[i].isEmpty()) {\n empty = false;\n break;\n }\n }\n return empty;\n };\n CaptionScreen.prototype.backSpace = function () {\n var row = this.rows[this.currRow];\n row.backSpace();\n };\n CaptionScreen.prototype.clearToEndOfRow = function () {\n var row = this.rows[this.currRow];\n row.clearToEndOfRow();\n };\n /**\n * Insert a character (without styling) in the current row.\n */\n CaptionScreen.prototype.insertChar = function (char) {\n var row = this.rows[this.currRow];\n row.insertChar(char);\n };\n CaptionScreen.prototype.setPen = function (styles) {\n var row = this.rows[this.currRow];\n row.setPenStyles(styles);\n };\n CaptionScreen.prototype.moveCursor = function (relPos) {\n var row = this.rows[this.currRow];\n row.moveCursor(relPos);\n };\n CaptionScreen.prototype.setCursor = function (absPos) {\n logger.log('INFO', 'setCursor: ' + absPos);\n var row = this.rows[this.currRow];\n row.setCursor(absPos);\n };\n CaptionScreen.prototype.setPAC = function (pacData) {\n logger.log('INFO', 'pacData = ' + JSON.stringify(pacData));\n var newRow = pacData.row - 1;\n if (this.nrRollUpRows && newRow < this.nrRollUpRows - 1) {\n newRow = this.nrRollUpRows - 1;\n }\n // Make sure this only affects Roll-up Captions by checking this.nrRollUpRows\n if (this.nrRollUpRows && this.currRow !== newRow) {\n // clear all rows first\n for (var i = 0; i < NR_ROWS; i++) {\n this.rows[i].clear();\n }\n // Copy this.nrRollUpRows rows from lastOutputScreen and place it in the newRow location\n // topRowIndex - the start of rows to copy (inclusive index)\n var topRowIndex = this.currRow + 1 - (this.nrRollUpRows);\n // We only copy if the last position was already shown.\n // We use the cueStartTime value to check this.\n var lastOutputScreen = this.lastOutputScreen;\n if (lastOutputScreen) {\n var prevLineTime = lastOutputScreen.rows[topRowIndex].cueStartTime;\n if (prevLineTime && prevLineTime < logger.time) {\n for (var i = 0; i < this.nrRollUpRows; i++) {\n this.rows[newRow - this.nrRollUpRows + i + 1].copy(lastOutputScreen.rows[topRowIndex + i]);\n }\n }\n }\n }\n this.currRow = newRow;\n var row = this.rows[this.currRow];\n if (pacData.indent !== null) {\n var indent = pacData.indent;\n var prevPos = Math.max(indent - 1, 0);\n row.setCursor(pacData.indent);\n pacData.color = row.chars[prevPos].penState.foreground;\n }\n var styles = { foreground: pacData.color, underline: pacData.underline, italics: pacData.italics, background: 'black', flash: false };\n this.setPen(styles);\n };\n /**\n * Set background/extra foreground, but first do back_space, and then insert space (backwards compatibility).\n */\n CaptionScreen.prototype.setBkgData = function (bkgData) {\n logger.log('INFO', 'bkgData = ' + JSON.stringify(bkgData));\n this.backSpace();\n this.setPen(bkgData);\n this.insertChar(0x20); // Space\n };\n CaptionScreen.prototype.setRollUpRows = function (nrRows) {\n this.nrRollUpRows = nrRows;\n };\n CaptionScreen.prototype.rollUp = function () {\n if (this.nrRollUpRows === null) {\n logger.log('DEBUG', 'roll_up but nrRollUpRows not set yet');\n return; // Not properly setup\n }\n logger.log('TEXT', this.getDisplayText());\n var topRowIndex = this.currRow + 1 - this.nrRollUpRows;\n var topRow = this.rows.splice(topRowIndex, 1)[0];\n topRow.clear();\n this.rows.splice(this.currRow, 0, topRow);\n logger.log('INFO', 'Rolling up');\n // logger.log('TEXT', this.get_display_text())\n };\n /**\n * Get all non-empty rows with as unicode text.\n */\n CaptionScreen.prototype.getDisplayText = function (asOneRow) {\n asOneRow = asOneRow || false;\n var displayText = [];\n var text = '';\n var rowNr = -1;\n for (var i = 0; i < NR_ROWS; i++) {\n var rowText = this.rows[i].getTextString();\n if (rowText) {\n rowNr = i + 1;\n if (asOneRow) {\n displayText.push('Row ' + rowNr + ': \\'' + rowText + '\\'');\n }\n else {\n displayText.push(rowText.trim());\n }\n }\n }\n if (displayText.length > 0) {\n if (asOneRow) {\n text = '[' + displayText.join(' | ') + ']';\n }\n else {\n text = displayText.join('\\n');\n }\n }\n return text;\n };\n CaptionScreen.prototype.getTextAndFormat = function () {\n return this.rows;\n };\n return CaptionScreen;\n}());\n// var modes = ['MODE_ROLL-UP', 'MODE_POP-ON', 'MODE_PAINT-ON', 'MODE_TEXT'];\nvar Cea608Channel = /** @class */ (function () {\n function Cea608Channel(channelNumber, outputFilter) {\n this.chNr = channelNumber;\n this.outputFilter = outputFilter;\n this.mode = null;\n this.verbose = 0;\n this.displayedMemory = new CaptionScreen();\n this.nonDisplayedMemory = new CaptionScreen();\n this.lastOutputScreen = new CaptionScreen();\n this.currRollUpRow = this.displayedMemory.rows[NR_ROWS - 1];\n this.writeScreen = this.displayedMemory;\n this.mode = null;\n this.cueStartTime = null; // Keeps track of where a cue started.\n }\n Cea608Channel.prototype.reset = function () {\n this.mode = null;\n this.displayedMemory.reset();\n this.nonDisplayedMemory.reset();\n this.lastOutputScreen.reset();\n this.currRollUpRow = this.displayedMemory.rows[NR_ROWS - 1];\n this.writeScreen = this.displayedMemory;\n this.mode = null;\n this.cueStartTime = null;\n this.lastCueEndTime = null;\n };\n Cea608Channel.prototype.getHandler = function () {\n return this.outputFilter;\n };\n Cea608Channel.prototype.setHandler = function (newHandler) {\n this.outputFilter = newHandler;\n };\n Cea608Channel.prototype.setPAC = function (pacData) {\n this.writeScreen.setPAC(pacData);\n };\n Cea608Channel.prototype.setBkgData = function (bkgData) {\n this.writeScreen.setBkgData(bkgData);\n };\n Cea608Channel.prototype.setMode = function (newMode) {\n if (newMode === this.mode) {\n return;\n }\n this.mode = newMode;\n logger.log('INFO', 'MODE=' + newMode);\n if (this.mode === 'MODE_POP-ON') {\n this.writeScreen = this.nonDisplayedMemory;\n }\n else {\n this.writeScreen = this.displayedMemory;\n this.writeScreen.reset();\n }\n if (this.mode !== 'MODE_ROLL-UP') {\n this.displayedMemory.nrRollUpRows = null;\n this.nonDisplayedMemory.nrRollUpRows = null;\n }\n this.mode = newMode;\n };\n Cea608Channel.prototype.insertChars = function (chars) {\n for (var i = 0; i < chars.length; i++) {\n this.writeScreen.insertChar(chars[i]);\n }\n var screen = this.writeScreen === this.displayedMemory ? 'DISP' : 'NON_DISP';\n logger.log('INFO', screen + ': ' + this.writeScreen.getDisplayText(true));\n if (this.mode === 'MODE_PAINT-ON' || this.mode === 'MODE_ROLL-UP') {\n logger.log('TEXT', 'DISPLAYED: ' + this.displayedMemory.getDisplayText(true));\n this.outputDataUpdate();\n }\n };\n Cea608Channel.prototype.ccRCL = function () {\n logger.log('INFO', 'RCL - Resume Caption Loading');\n this.setMode('MODE_POP-ON');\n };\n Cea608Channel.prototype.ccBS = function () {\n logger.log('INFO', 'BS - BackSpace');\n if (this.mode === 'MODE_TEXT') {\n return;\n }\n this.writeScreen.backSpace();\n if (this.writeScreen === this.displayedMemory) {\n this.outputDataUpdate();\n }\n };\n Cea608Channel.prototype.ccAOF = function () {\n };\n Cea608Channel.prototype.ccAON = function () {\n };\n Cea608Channel.prototype.ccDER = function () {\n logger.log('INFO', 'DER- Delete to End of Row');\n this.writeScreen.clearToEndOfRow();\n this.outputDataUpdate();\n };\n Cea608Channel.prototype.ccRU = function (nrRows) {\n logger.log('INFO', 'RU(' + nrRows + ') - Roll Up');\n this.writeScreen = this.displayedMemory;\n this.setMode('MODE_ROLL-UP');\n this.writeScreen.setRollUpRows(nrRows);\n };\n Cea608Channel.prototype.ccFON = function () {\n logger.log('INFO', 'FON - Flash On');\n this.writeScreen.setPen({ flash: true });\n };\n Cea608Channel.prototype.ccRDC = function () {\n logger.log('INFO', 'RDC - Resume Direct Captioning');\n this.setMode('MODE_PAINT-ON');\n };\n Cea608Channel.prototype.ccTR = function () {\n logger.log('INFO', 'TR');\n this.setMode('MODE_TEXT');\n };\n Cea608Channel.prototype.ccRTD = function () {\n logger.log('INFO', 'RTD');\n this.setMode('MODE_TEXT');\n };\n Cea608Channel.prototype.ccEDM = function () {\n logger.log('INFO', 'EDM - Erase Displayed Memory');\n this.displayedMemory.reset();\n this.outputDataUpdate(true);\n };\n Cea608Channel.prototype.ccCR = function () {\n logger.log('CR - Carriage Return');\n this.writeScreen.rollUp();\n this.outputDataUpdate(true);\n };\n Cea608Channel.prototype.ccENM = function () {\n logger.log('INFO', 'ENM - Erase Non-displayed Memory');\n this.nonDisplayedMemory.reset();\n };\n Cea608Channel.prototype.ccEOC = function () {\n logger.log('INFO', 'EOC - End Of Caption');\n if (this.mode === 'MODE_POP-ON') {\n var tmp = this.displayedMemory;\n this.displayedMemory = this.nonDisplayedMemory;\n this.nonDisplayedMemory = tmp;\n this.writeScreen = this.nonDisplayedMemory;\n logger.log('TEXT', 'DISP: ' + this.displayedMemory.getDisplayText());\n }\n this.outputDataUpdate(true);\n };\n Cea608Channel.prototype.ccTO = function (nrCols) {\n logger.log('INFO', 'TO(' + nrCols + ') - Tab Offset');\n this.writeScreen.moveCursor(nrCols);\n };\n Cea608Channel.prototype.ccMIDROW = function (secondByte) {\n var styles = { flash: false };\n styles.underline = secondByte % 2 === 1;\n styles.italics = secondByte >= 0x2e;\n if (!styles.italics) {\n var colorIndex = Math.floor(secondByte / 2) - 0x10;\n var colors = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta'];\n styles.foreground = colors[colorIndex];\n }\n else {\n styles.foreground = 'white';\n }\n logger.log('INFO', 'MIDROW: ' + JSON.stringify(styles));\n this.writeScreen.setPen(styles);\n };\n Cea608Channel.prototype.outputDataUpdate = function (dispatch) {\n if (dispatch === void 0) { dispatch = false; }\n var t = logger.time;\n if (t === null) {\n return;\n }\n if (this.outputFilter) {\n if (this.cueStartTime === null && !this.displayedMemory.isEmpty()) { // Start of a new cue\n this.cueStartTime = t;\n }\n else {\n if (!this.displayedMemory.equals(this.lastOutputScreen)) {\n if (this.outputFilter.newCue) {\n this.outputFilter.newCue(this.cueStartTime, t, this.lastOutputScreen);\n if (dispatch === true && this.outputFilter.dispatchCue) {\n this.outputFilter.dispatchCue();\n }\n }\n this.cueStartTime = this.displayedMemory.isEmpty() ? null : t;\n }\n }\n this.lastOutputScreen.copy(this.displayedMemory);\n }\n };\n Cea608Channel.prototype.cueSplitAtTime = function (t) {\n if (this.outputFilter) {\n if (!this.displayedMemory.isEmpty()) {\n if (this.outputFilter.newCue) {\n this.outputFilter.newCue(this.cueStartTime, t, this.displayedMemory);\n }\n this.cueStartTime = t;\n }\n }\n };\n return Cea608Channel;\n}());\nvar Cea608Parser = /** @class */ (function () {\n function Cea608Parser(field, out1, out2) {\n this.field = field || 1;\n this.outputs = [out1, out2];\n this.channels = [new Cea608Channel(1, out1), new Cea608Channel(2, out2)];\n this.currChNr = -1; // Will be 1 or 2\n this.lastCmdA = null; // First byte of last command\n this.lastCmdB = null; // Second byte of last command\n this.bufferedData = [];\n this.startTime = null;\n this.lastTime = null;\n this.dataCounters = { 'padding': 0, 'char': 0, 'cmd': 0, 'other': 0 };\n }\n Cea608Parser.prototype.getHandler = function (index) {\n return this.channels[index].getHandler();\n };\n Cea608Parser.prototype.setHandler = function (index, newHandler) {\n this.channels[index].setHandler(newHandler);\n };\n /**\n * Add data for time t in forms of list of bytes (unsigned ints). The bytes are treated as pairs.\n */\n Cea608Parser.prototype.addData = function (t, byteList) {\n var cmdFound, a, b, charsFound = false;\n this.lastTime = t;\n logger.setTime(t);\n for (var i = 0; i < byteList.length; i += 2) {\n a = byteList[i] & 0x7f;\n b = byteList[i + 1] & 0x7f;\n if (a === 0 && b === 0) {\n this.dataCounters.padding += 2;\n continue;\n }\n else {\n logger.log('DATA', '[' + numArrayToHexArray([byteList[i], byteList[i + 1]]) + '] -> (' + numArrayToHexArray([a, b]) + ')');\n }\n cmdFound = this.parseCmd(a, b);\n if (!cmdFound) {\n cmdFound = this.parseMidrow(a, b);\n }\n if (!cmdFound) {\n cmdFound = this.parsePAC(a, b);\n }\n if (!cmdFound) {\n cmdFound = this.parseBackgroundAttributes(a, b);\n }\n if (!cmdFound) {\n charsFound = this.parseChars(a, b);\n if (charsFound) {\n if (this.currChNr && this.currChNr >= 0) {\n var channel = this.channels[this.currChNr - 1];\n channel.insertChars(charsFound);\n }\n else {\n logger.log('WARNING', 'No channel found yet. TEXT-MODE?');\n }\n }\n }\n if (cmdFound) {\n this.dataCounters.cmd += 2;\n }\n else if (charsFound) {\n this.dataCounters.char += 2;\n }\n else {\n this.dataCounters.other += 2;\n logger.log('WARNING', 'Couldn\\'t parse cleaned data ' + numArrayToHexArray([a, b]) +\n ' orig: ' + numArrayToHexArray([byteList[i], byteList[i + 1]]));\n }\n }\n };\n /**\n * Parse Command.\n * @returns {Boolean} Tells if a command was found\n */\n Cea608Parser.prototype.parseCmd = function (a, b) {\n var chNr = null;\n var cond1 = (a === 0x14 || a === 0x1C) && (b >= 0x20 && b <= 0x2F);\n var cond2 = (a === 0x17 || a === 0x1F) && (b >= 0x21 && b <= 0x23);\n if (!(cond1 || cond2)) {\n return false;\n }\n if (a === this.lastCmdA && b === this.lastCmdB) {\n this.lastCmdA = null;\n this.lastCmdB = null; // Repeated commands are dropped (once)\n logger.log('DEBUG', 'Repeated command (' + numArrayToHexArray([a, b]) + ') is dropped');\n return true;\n }\n if (a === 0x14 || a === 0x17) {\n chNr = 1;\n }\n else {\n chNr = 2;\n } // (a === 0x1C || a=== 0x1f)\n var channel = this.channels[chNr - 1];\n if (a === 0x14 || a === 0x1C) {\n if (b === 0x20) {\n channel.ccRCL();\n }\n else if (b === 0x21) {\n channel.ccBS();\n }\n else if (b === 0x22) {\n channel.ccAOF();\n }\n else if (b === 0x23) {\n channel.ccAON();\n }\n else if (b === 0x24) {\n channel.ccDER();\n }\n else if (b === 0x25) {\n channel.ccRU(2);\n }\n else if (b === 0x26) {\n channel.ccRU(3);\n }\n else if (b === 0x27) {\n channel.ccRU(4);\n }\n else if (b === 0x28) {\n channel.ccFON();\n }\n else if (b === 0x29) {\n channel.ccRDC();\n }\n else if (b === 0x2A) {\n channel.ccTR();\n }\n else if (b === 0x2B) {\n channel.ccRTD();\n }\n else if (b === 0x2C) {\n channel.ccEDM();\n }\n else if (b === 0x2D) {\n channel.ccCR();\n }\n else if (b === 0x2E) {\n channel.ccENM();\n }\n else if (b === 0x2F) {\n channel.ccEOC();\n }\n }\n else { // a == 0x17 || a == 0x1F\n channel.ccTO(b - 0x20);\n }\n this.lastCmdA = a;\n this.lastCmdB = b;\n this.currChNr = chNr;\n return true;\n };\n /**\n * Parse midrow styling command\n * @returns {Boolean}\n */\n Cea608Parser.prototype.parseMidrow = function (a, b) {\n var chNr = null;\n if (((a === 0x11) || (a === 0x19)) && b >= 0x20 && b <= 0x2f) {\n if (a === 0x11) {\n chNr = 1;\n }\n else {\n chNr = 2;\n }\n if (chNr !== this.currChNr) {\n logger.log('ERROR', 'Mismatch channel in midrow parsing');\n return false;\n }\n var channel = this.channels[chNr - 1];\n channel.ccMIDROW(b);\n logger.log('DEBUG', 'MIDROW (' + numArrayToHexArray([a, b]) + ')');\n return true;\n }\n return false;\n };\n /**\n * Parse Preable Access Codes (Table 53).\n * @returns {Boolean} Tells if PAC found\n */\n Cea608Parser.prototype.parsePAC = function (a, b) {\n var chNr = null;\n var row = null;\n var case1 = ((a >= 0x11 && a <= 0x17) || (a >= 0x19 && a <= 0x1F)) && (b >= 0x40 && b <= 0x7F);\n var case2 = (a === 0x10 || a === 0x18) && (b >= 0x40 && b <= 0x5F);\n if (!(case1 || case2)) {\n return false;\n }\n if (a === this.lastCmdA && b === this.lastCmdB) {\n this.lastCmdA = null;\n this.lastCmdB = null;\n return true; // Repeated commands are dropped (once)\n }\n chNr = (a <= 0x17) ? 1 : 2;\n if (b >= 0x40 && b <= 0x5F) {\n row = (chNr === 1) ? rowsLowCh1[a] : rowsLowCh2[a];\n }\n else { // 0x60 <= b <= 0x7F\n row = (chNr === 1) ? rowsHighCh1[a] : rowsHighCh2[a];\n }\n var pacData = this.interpretPAC(row, b);\n var channel = this.channels[chNr - 1];\n channel.setPAC(pacData);\n this.lastCmdA = a;\n this.lastCmdB = b;\n this.currChNr = chNr;\n return true;\n };\n /**\n * Interpret the second byte of the pac, and return the information.\n * @returns {Object} pacData with style parameters.\n */\n Cea608Parser.prototype.interpretPAC = function (row, byte) {\n var pacIndex = byte;\n var pacData = { color: null, italics: false, indent: null, underline: false, row: row };\n if (byte > 0x5F) {\n pacIndex = byte - 0x60;\n }\n else {\n pacIndex = byte - 0x40;\n }\n pacData.underline = (pacIndex & 1) === 1;\n if (pacIndex <= 0xd) {\n pacData.color = ['white', 'green', 'blue', 'cyan', 'red', 'yellow', 'magenta', 'white'][Math.floor(pacIndex / 2)];\n }\n else if (pacIndex <= 0xf) {\n pacData.italics = true;\n pacData.color = 'white';\n }\n else {\n pacData.indent = (Math.floor((pacIndex - 0x10) / 2)) * 4;\n }\n return pacData; // Note that row has zero offset. The spec uses 1.\n };\n /**\n * Parse characters.\n * @returns An array with 1 to 2 codes corresponding to chars, if found. null otherwise.\n */\n Cea608Parser.prototype.parseChars = function (a, b) {\n var channelNr = null, charCodes = null, charCode1 = null;\n if (a >= 0x19) {\n channelNr = 2;\n charCode1 = a - 8;\n }\n else {\n channelNr = 1;\n charCode1 = a;\n }\n if (charCode1 >= 0x11 && charCode1 <= 0x13) {\n // Special character\n var oneCode = b;\n if (charCode1 === 0x11) {\n oneCode = b + 0x50;\n }\n else if (charCode1 === 0x12) {\n oneCode = b + 0x70;\n }\n else {\n oneCode = b + 0x90;\n }\n logger.log('INFO', 'Special char \\'' + getCharForByte(oneCode) + '\\' in channel ' + channelNr);\n charCodes = [oneCode];\n }\n else if (a >= 0x20 && a <= 0x7f) {\n charCodes = (b === 0) ? [a] : [a, b];\n }\n if (charCodes) {\n var hexCodes = numArrayToHexArray(charCodes);\n logger.log('DEBUG', 'Char codes = ' + hexCodes.join(','));\n this.lastCmdA = null;\n this.lastCmdB = null;\n }\n return charCodes;\n };\n /**\n * Parse extended background attributes as well as new foreground color black.\n * @returns{Boolean} Tells if background attributes are found\n */\n Cea608Parser.prototype.parseBackgroundAttributes = function (a, b) {\n var bkgData, index, chNr, channel;\n var case1 = (a === 0x10 || a === 0x18) && (b >= 0x20 && b <= 0x2f);\n var case2 = (a === 0x17 || a === 0x1f) && (b >= 0x2d && b <= 0x2f);\n if (!(case1 || case2)) {\n return false;\n }\n bkgData = {};\n if (a === 0x10 || a === 0x18) {\n index = Math.floor((b - 0x20) / 2);\n bkgData.background = backgroundColors[index];\n if (b % 2 === 1) {\n bkgData.background = bkgData.background + '_semi';\n }\n }\n else if (b === 0x2d) {\n bkgData.background = 'transparent';\n }\n else {\n bkgData.foreground = 'black';\n if (b === 0x2f) {\n bkgData.underline = true;\n }\n }\n chNr = (a < 0x18) ? 1 : 2;\n channel = this.channels[chNr - 1];\n channel.setBkgData(bkgData);\n this.lastCmdA = null;\n this.lastCmdB = null;\n return true;\n };\n /**\n * Reset state of parser and its channels.\n */\n Cea608Parser.prototype.reset = function () {\n for (var i = 0; i < this.channels.length; i++) {\n if (this.channels[i]) {\n this.channels[i].reset();\n }\n }\n this.lastCmdA = null;\n this.lastCmdB = null;\n };\n /**\n * Trigger the generation of a cue, and the start of a new one if displayScreens are not empty.\n */\n Cea608Parser.prototype.cueSplitAtTime = function (t) {\n for (var i = 0; i < this.channels.length; i++) {\n if (this.channels[i]) {\n this.channels[i].cueSplitAtTime(t);\n }\n }\n };\n return Cea608Parser;\n}());\nexports.default = Cea608Parser;\n\n\n/***/ }),\n\n/***/ \"./src/utils/codecs.js\":\n/*!*****************************!*\\\n !*** ./src/utils/codecs.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// from http://mp4ra.org/codecs.html\nvar sampleEntryCodesISO = {\n audio: {\n 'a3ds': true,\n 'ac-3': true,\n 'ac-4': true,\n 'alac': true,\n 'alaw': true,\n 'dra1': true,\n 'dts+': true,\n 'dts-': true,\n 'dtsc': true,\n 'dtse': true,\n 'dtsh': true,\n 'ec-3': true,\n 'enca': true,\n 'g719': true,\n 'g726': true,\n 'm4ae': true,\n 'mha1': true,\n 'mha2': true,\n 'mhm1': true,\n 'mhm2': true,\n 'mlpa': true,\n 'mp4a': true,\n 'raw ': true,\n 'Opus': true,\n 'samr': true,\n 'sawb': true,\n 'sawp': true,\n 'sevc': true,\n 'sqcp': true,\n 'ssmv': true,\n 'twos': true,\n 'ulaw': true\n },\n video: {\n 'avc1': true,\n 'avc2': true,\n 'avc3': true,\n 'avc4': true,\n 'avcp': true,\n 'drac': true,\n 'dvav': true,\n 'dvhe': true,\n 'encv': true,\n 'hev1': true,\n 'hvc1': true,\n 'mjp2': true,\n 'mp4v': true,\n 'mvc1': true,\n 'mvc2': true,\n 'mvc3': true,\n 'mvc4': true,\n 'resv': true,\n 'rv60': true,\n 's263': true,\n 'svc1': true,\n 'svc2': true,\n 'vc-1': true,\n 'vp08': true,\n 'vp09': true\n }\n};\nfunction isCodecType(codec, type) {\n var typeCodes = sampleEntryCodesISO[type];\n return !!typeCodes && typeCodes[codec.slice(0, 4)] === true;\n}\nexports.isCodecType = isCodecType;\nfunction isCodecSupportedInMp4(codec, type) {\n return window.MediaSource.isTypeSupported((type || 'video') + \"/mp4;codecs=\\\"\" + codec + \"\\\"\");\n}\nexports.isCodecSupportedInMp4 = isCodecSupportedInMp4;\n\n\n/***/ }),\n\n/***/ \"./src/utils/cues.js\":\n/*!***************************!*\\\n !*** ./src/utils/cues.js ***!\n \\***************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar vttparser_1 = __webpack_require__(/*! ./vttparser */ \"./src/utils/vttparser.js\");\nfunction newCue(track, startTime, endTime, captionScreen) {\n var row;\n var cue;\n var indenting;\n var indent;\n var text;\n var VTTCue = window.VTTCue || window.TextTrackCue;\n for (var r = 0; r < captionScreen.rows.length; r++) {\n row = captionScreen.rows[r];\n indenting = true;\n indent = 0;\n text = '';\n if (!row.isEmpty()) {\n for (var c = 0; c < row.chars.length; c++) {\n if (row.chars[c].uchar.match(/\\s/) && indenting) {\n indent++;\n }\n else {\n text += row.chars[c].uchar;\n indenting = false;\n }\n }\n // To be used for cleaning-up orphaned roll-up captions\n row.cueStartTime = startTime;\n // Give a slight bump to the endTime if it's equal to startTime to avoid a SyntaxError in IE\n if (startTime === endTime) {\n endTime += 0.0001;\n }\n cue = new VTTCue(startTime, endTime, vttparser_1.fixLineBreaks(text.trim()));\n if (indent >= 16) {\n indent--;\n }\n else {\n indent++;\n }\n // VTTCue.line get's flakey when using controls, so let's now include line 13&14\n // also, drop line 1 since it's to close to the top\n if (navigator.userAgent.match(/Firefox\\//)) {\n cue.line = r + 1;\n }\n else {\n cue.line = (r > 7 ? r - 2 : r + 1);\n }\n cue.align = 'left';\n // Clamp the position between 0 and 100 - if out of these bounds, Firefox throws an exception and captions break\n cue.position = Math.max(0, Math.min(100, 100 * (indent / 32) + (navigator.userAgent.match(/Firefox\\//) ? 50 : 0)));\n track.addCue(cue);\n }\n }\n}\nexports.newCue = newCue;\n\n\n/***/ }),\n\n/***/ \"./src/utils/discontinuities.js\":\n/*!**************************************!*\\\n !*** ./src/utils/discontinuities.js ***!\n \\**************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar binary_search_1 = __webpack_require__(/*! ./binary-search */ \"./src/utils/binary-search.js\");\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nfunction findFirstFragWithCC(fragments, cc) {\n var firstFrag = null;\n for (var i = 0; i < fragments.length; i += 1) {\n var currentFrag = fragments[i];\n if (currentFrag && currentFrag.cc === cc) {\n firstFrag = currentFrag;\n break;\n }\n }\n return firstFrag;\n}\nexports.findFirstFragWithCC = findFirstFragWithCC;\nfunction findFragWithCC(fragments, CC) {\n return binary_search_1.default.search(fragments, function (candidate) {\n if (candidate.cc < CC) {\n return 1;\n }\n else if (candidate.cc > CC) {\n return -1;\n }\n else {\n return 0;\n }\n });\n}\nexports.findFragWithCC = findFragWithCC;\nfunction shouldAlignOnDiscontinuities(lastFrag, lastLevel, details) {\n var shouldAlign = false;\n if (lastLevel && lastLevel.details && details) {\n if (details.endCC > details.startCC || (lastFrag && lastFrag.cc < details.startCC)) {\n shouldAlign = true;\n }\n }\n return shouldAlign;\n}\nexports.shouldAlignOnDiscontinuities = shouldAlignOnDiscontinuities;\n// Find the first frag in the previous level which matches the CC of the first frag of the new level\nfunction findDiscontinuousReferenceFrag(prevDetails, curDetails) {\n var prevFrags = prevDetails.fragments;\n var curFrags = curDetails.fragments;\n if (!curFrags.length || !prevFrags.length) {\n logger_1.logger.log('No fragments to align');\n return;\n }\n var prevStartFrag = findFirstFragWithCC(prevFrags, curFrags[0].cc);\n if (!prevStartFrag || (prevStartFrag && !prevStartFrag.startPTS)) {\n logger_1.logger.log('No frag in previous level to align on');\n return;\n }\n return prevStartFrag;\n}\nexports.findDiscontinuousReferenceFrag = findDiscontinuousReferenceFrag;\nfunction adjustPts(sliding, details) {\n details.fragments.forEach(function (frag) {\n if (frag) {\n var start = frag.start + sliding;\n frag.start = frag.startPTS = start;\n frag.endPTS = start + frag.duration;\n }\n });\n details.PTSKnown = true;\n}\nexports.adjustPts = adjustPts;\n/**\n * Using the parameters of the last level, this function computes PTS' of the new fragments so that they form a\n * contiguous stream with the last fragments.\n * The PTS of a fragment lets Hls.js know where it fits into a stream - by knowing every PTS, we know which fragment to\n * download at any given time. PTS is normally computed when the fragment is demuxed, so taking this step saves us time\n * and an extra download.\n * @param lastFrag\n * @param lastLevel\n * @param details\n */\nfunction alignStream(lastFrag, lastLevel, details) {\n alignDiscontinuities(lastFrag, details, lastLevel);\n if (!details.PTSKnown && lastLevel) {\n // If the PTS wasn't figured out via discontinuity sequence that means there was no CC increase within the level.\n // Aligning via Program Date Time should therefore be reliable, since PDT should be the same within the same\n // discontinuity sequence.\n alignPDT(details, lastLevel.details);\n }\n}\nexports.alignStream = alignStream;\n/**\n * Computes the PTS if a new level's fragments using the PTS of a fragment in the last level which shares the same\n * discontinuity sequence.\n * @param lastLevel - The details of the last loaded level\n * @param details - The details of the new level\n */\nfunction alignDiscontinuities(lastFrag, details, lastLevel) {\n if (shouldAlignOnDiscontinuities(lastFrag, lastLevel, details)) {\n var referenceFrag = findDiscontinuousReferenceFrag(lastLevel.details, details);\n if (referenceFrag) {\n logger_1.logger.log('Adjusting PTS using last level due to CC increase within current level');\n adjustPts(referenceFrag.start, details);\n }\n }\n}\nexports.alignDiscontinuities = alignDiscontinuities;\n/**\n * Computes the PTS of a new level's fragments using the difference in Program Date Time from the last level.\n * @param details - The details of the new level\n * @param lastDetails - The details of the last loaded level\n */\nfunction alignPDT(details, lastDetails) {\n if (lastDetails && lastDetails.fragments.length) {\n if (!details.hasProgramDateTime || !lastDetails.hasProgramDateTime) {\n return;\n }\n // if last level sliding is 1000 and its first frag PROGRAM-DATE-TIME is 2017-08-20 1:10:00 AM\n // and if new details first frag PROGRAM DATE-TIME is 2017-08-20 1:10:08 AM\n // then we can deduce that playlist B sliding is 1000+8 = 1008s\n var lastPDT = lastDetails.fragments[0].programDateTime;\n var newPDT = details.fragments[0].programDateTime;\n // date diff is in ms. frag.start is in seconds\n var sliding = (newPDT - lastPDT) / 1000 + lastDetails.fragments[0].start;\n if (Number.isFinite(sliding)) {\n logger_1.logger.log(\"adjusting PTS using programDateTime delta, sliding:\" + sliding.toFixed(3));\n adjustPts(sliding, details);\n }\n }\n}\nexports.alignPDT = alignPDT;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/utils/ewma-bandwidth-estimator.js\":\n/*!***********************************************!*\\\n !*** ./src/utils/ewma-bandwidth-estimator.js ***!\n \\***********************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * EWMA Bandwidth Estimator\n * - heavily inspired from shaka-player\n * Tracks bandwidth samples and estimates available bandwidth.\n * Based on the minimum of two exponentially-weighted moving averages with\n * different half-lives.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar ewma_1 = __webpack_require__(/*! ../utils/ewma */ \"./src/utils/ewma.js\");\nvar EwmaBandWidthEstimator = /** @class */ (function () {\n function EwmaBandWidthEstimator(hls, slow, fast, defaultEstimate) {\n this.hls = hls;\n this.defaultEstimate_ = defaultEstimate;\n this.minWeight_ = 0.001;\n this.minDelayMs_ = 50;\n this.slow_ = new ewma_1.default(slow);\n this.fast_ = new ewma_1.default(fast);\n }\n EwmaBandWidthEstimator.prototype.sample = function (durationMs, numBytes) {\n durationMs = Math.max(durationMs, this.minDelayMs_);\n var bandwidth = 8000 * numBytes / durationMs, \n // console.log('instant bw:'+ Math.round(bandwidth));\n // we weight sample using loading duration....\n weight = durationMs / 1000;\n this.fast_.sample(weight, bandwidth);\n this.slow_.sample(weight, bandwidth);\n };\n EwmaBandWidthEstimator.prototype.canEstimate = function () {\n var fast = this.fast_;\n return (fast && fast.getTotalWeight() >= this.minWeight_);\n };\n EwmaBandWidthEstimator.prototype.getEstimate = function () {\n if (this.canEstimate()) {\n // console.log('slow estimate:'+ Math.round(this.slow_.getEstimate()));\n // console.log('fast estimate:'+ Math.round(this.fast_.getEstimate()));\n // Take the minimum of these two estimates. This should have the effect of\n // adapting down quickly, but up more slowly.\n return Math.min(this.fast_.getEstimate(), this.slow_.getEstimate());\n }\n else {\n return this.defaultEstimate_;\n }\n };\n EwmaBandWidthEstimator.prototype.destroy = function () {\n };\n return EwmaBandWidthEstimator;\n}());\nexports.default = EwmaBandWidthEstimator;\n\n\n/***/ }),\n\n/***/ \"./src/utils/ewma.js\":\n/*!***************************!*\\\n !*** ./src/utils/ewma.js ***!\n \\***************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * compute an Exponential Weighted moving average\n * - https://en.wikipedia.org/wiki/Moving_average#Exponential_moving_average\n * - heavily inspired from shaka-player\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EWMA = /** @class */ (function () {\n // About half of the estimated value will be from the last |halfLife| samples by weight.\n function EWMA(halfLife) {\n // Larger values of alpha expire historical data more slowly.\n this.alpha_ = halfLife ? Math.exp(Math.log(0.5) / halfLife) : 0;\n this.estimate_ = 0;\n this.totalWeight_ = 0;\n }\n EWMA.prototype.sample = function (weight, value) {\n var adjAlpha = Math.pow(this.alpha_, weight);\n this.estimate_ = value * (1 - adjAlpha) + adjAlpha * this.estimate_;\n this.totalWeight_ += weight;\n };\n EWMA.prototype.getTotalWeight = function () {\n return this.totalWeight_;\n };\n EWMA.prototype.getEstimate = function () {\n if (this.alpha_) {\n var zeroFactor = 1 - Math.pow(this.alpha_, this.totalWeight_);\n return this.estimate_ / zeroFactor;\n }\n else {\n return this.estimate_;\n }\n };\n return EWMA;\n}());\nexports.default = EWMA;\n\n\n/***/ }),\n\n/***/ \"./src/utils/get-self-scope.js\":\n/*!*************************************!*\\\n !*** ./src/utils/get-self-scope.js ***!\n \\*************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getSelfScope() {\n // see https://stackoverflow.com/a/11237259/589493\n if (typeof window === 'undefined') {\n /* eslint-disable-next-line no-undef */\n return self;\n }\n else {\n return window;\n }\n}\nexports.getSelfScope = getSelfScope;\n\n\n/***/ }),\n\n/***/ \"./src/utils/logger.js\":\n/*!*****************************!*\\\n !*** ./src/utils/logger.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar get_self_scope_1 = __webpack_require__(/*! ./get-self-scope */ \"./src/utils/get-self-scope.js\");\nfunction noop() { }\nvar fakeLogger = {\n trace: noop,\n debug: noop,\n log: noop,\n warn: noop,\n info: noop,\n error: noop\n};\nvar exportedLogger = fakeLogger;\n// let lastCallTime;\n// function formatMsgWithTimeInfo(type, msg) {\n// const now = Date.now();\n// const diff = lastCallTime ? '+' + (now - lastCallTime) : '0';\n// lastCallTime = now;\n// msg = (new Date(now)).toISOString() + ' | [' + type + '] > ' + msg + ' ( ' + diff + ' ms )';\n// return msg;\n// }\nfunction formatMsg(type, msg) {\n msg = '[' + type + '] > ' + msg;\n return msg;\n}\nvar global = get_self_scope_1.getSelfScope();\nfunction consolePrintFn(type) {\n var func = global.console[type];\n if (func) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n if (args[0]) {\n args[0] = formatMsg(type, args[0]);\n }\n func.apply(global.console, args);\n };\n }\n return noop;\n}\nfunction exportLoggerFunctions(debugConfig) {\n var functions = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n functions[_i - 1] = arguments[_i];\n }\n functions.forEach(function (type) {\n exportedLogger[type] = debugConfig[type] ? debugConfig[type].bind(debugConfig) : consolePrintFn(type);\n });\n}\nexports.enableLogs = function (debugConfig) {\n if (debugConfig === true || typeof debugConfig === 'object') {\n exportLoggerFunctions(debugConfig, \n // Remove out from list here to hard-disable a log-level\n // 'trace',\n 'debug', 'log', 'info', 'warn', 'error');\n // Some browsers don't allow to use bind on console object anyway\n // fallback to default if needed\n try {\n exportedLogger.log();\n }\n catch (e) {\n exportedLogger = fakeLogger;\n }\n }\n else {\n exportedLogger = fakeLogger;\n }\n};\nexports.logger = exportedLogger;\n\n\n/***/ }),\n\n/***/ \"./src/utils/mediakeys-helper.js\":\n/*!***************************************!*\\\n !*** ./src/utils/mediakeys-helper.js ***!\n \\***************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar requestMediaKeySystemAccess = (function () {\n if (typeof window !== 'undefined' && window.navigator && window.navigator.requestMediaKeySystemAccess) {\n return window.navigator.requestMediaKeySystemAccess.bind(window.navigator);\n }\n else {\n return null;\n }\n})();\nexports.requestMediaKeySystemAccess = requestMediaKeySystemAccess;\n\n\n/***/ }),\n\n/***/ \"./src/utils/mediasource-helper.js\":\n/*!*****************************************!*\\\n !*** ./src/utils/mediasource-helper.js ***!\n \\*****************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * MediaSource helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getMediaSource() {\n if (typeof window !== 'undefined') {\n return window.MediaSource || window.WebKitMediaSource;\n }\n}\nexports.getMediaSource = getMediaSource;\n\n\n/***/ }),\n\n/***/ \"./src/utils/output-filter.js\":\n/*!************************************!*\\\n !*** ./src/utils/output-filter.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar OutputFilter = /** @class */ (function () {\n function OutputFilter(timelineController, trackName) {\n this.timelineController = timelineController;\n this.trackName = trackName;\n this.startTime = null;\n this.endTime = null;\n this.screen = null;\n }\n OutputFilter.prototype.dispatchCue = function () {\n if (this.startTime === null) {\n return;\n }\n this.timelineController.addCues(this.trackName, this.startTime, this.endTime, this.screen);\n this.startTime = null;\n };\n OutputFilter.prototype.newCue = function (startTime, endTime, screen) {\n if (this.startTime === null || this.startTime > startTime) {\n this.startTime = startTime;\n }\n this.endTime = endTime;\n this.screen = screen;\n this.timelineController.createCaptionsTrack(this.trackName);\n };\n return OutputFilter;\n}());\nexports.default = OutputFilter;\n\n\n/***/ }),\n\n/***/ \"./src/utils/texttrack-utils.js\":\n/*!**************************************!*\\\n !*** ./src/utils/texttrack-utils.js ***!\n \\**************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction sendAddTrackEvent(track, videoEl) {\n var event = null;\n try {\n event = new window.Event('addtrack');\n }\n catch (err) {\n // for IE11\n event = document.createEvent('Event');\n event.initEvent('addtrack', false, false);\n }\n event.track = track;\n videoEl.dispatchEvent(event);\n}\nexports.sendAddTrackEvent = sendAddTrackEvent;\nfunction clearCurrentCues(track) {\n if (track && track.cues) {\n while (track.cues.length > 0) {\n track.removeCue(track.cues[0]);\n }\n }\n}\nexports.clearCurrentCues = clearCurrentCues;\n\n\n/***/ }),\n\n/***/ \"./src/utils/time-ranges.js\":\n/*!**********************************!*\\\n !*** ./src/utils/time-ranges.js ***!\n \\**********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * TimeRanges to string helper\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar TimeRanges = {\n toString: function (r) {\n var log = '', len = r.length;\n for (var i = 0; i < len; i++) {\n log += '[' + r.start(i).toFixed(3) + ',' + r.end(i).toFixed(3) + ']';\n }\n return log;\n }\n};\nexports.default = TimeRanges;\n\n\n/***/ }),\n\n/***/ \"./src/utils/vttcue.js\":\n/*!*****************************!*\\\n !*** ./src/utils/vttcue.js ***!\n \\*****************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * Copyright 2013 vtt.js Contributors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function () {\n if (typeof window !== 'undefined' && window.VTTCue) {\n return window.VTTCue;\n }\n var autoKeyword = 'auto';\n var directionSetting = {\n '': true,\n lr: true,\n rl: true\n };\n var alignSetting = {\n start: true,\n middle: true,\n end: true,\n left: true,\n right: true\n };\n function findDirectionSetting(value) {\n if (typeof value !== 'string') {\n return false;\n }\n var dir = directionSetting[value.toLowerCase()];\n return dir ? value.toLowerCase() : false;\n }\n function findAlignSetting(value) {\n if (typeof value !== 'string') {\n return false;\n }\n var align = alignSetting[value.toLowerCase()];\n return align ? value.toLowerCase() : false;\n }\n function extend(obj) {\n var i = 1;\n for (; i < arguments.length; i++) {\n var cobj = arguments[i];\n for (var p in cobj) {\n obj[p] = cobj[p];\n }\n }\n return obj;\n }\n function VTTCue(startTime, endTime, text) {\n var cue = this;\n var isIE8 = (function () {\n if (typeof navigator === 'undefined') {\n return;\n }\n return (/MSIE\\s8\\.0/).test(navigator.userAgent);\n })();\n var baseObj = {};\n if (isIE8) {\n cue = document.createElement('custom');\n }\n else {\n baseObj.enumerable = true;\n }\n /**\n * Shim implementation specific properties. These properties are not in\n * the spec.\n */\n // Lets us know when the VTTCue's data has changed in such a way that we need\n // to recompute its display state. This lets us compute its display state\n // lazily.\n cue.hasBeenReset = false;\n /**\n * VTTCue and TextTrackCue properties\n * http://dev.w3.org/html5/webvtt/#vttcue-interface\n */\n var _id = '';\n var _pauseOnExit = false;\n var _startTime = startTime;\n var _endTime = endTime;\n var _text = text;\n var _region = null;\n var _vertical = '';\n var _snapToLines = true;\n var _line = 'auto';\n var _lineAlign = 'start';\n var _position = 50;\n var _positionAlign = 'middle';\n var _size = 50;\n var _align = 'middle';\n Object.defineProperty(cue, 'id', extend({}, baseObj, {\n get: function () {\n return _id;\n },\n set: function (value) {\n _id = '' + value;\n }\n }));\n Object.defineProperty(cue, 'pauseOnExit', extend({}, baseObj, {\n get: function () {\n return _pauseOnExit;\n },\n set: function (value) {\n _pauseOnExit = !!value;\n }\n }));\n Object.defineProperty(cue, 'startTime', extend({}, baseObj, {\n get: function () {\n return _startTime;\n },\n set: function (value) {\n if (typeof value !== 'number') {\n throw new TypeError('Start time must be set to a number.');\n }\n _startTime = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'endTime', extend({}, baseObj, {\n get: function () {\n return _endTime;\n },\n set: function (value) {\n if (typeof value !== 'number') {\n throw new TypeError('End time must be set to a number.');\n }\n _endTime = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'text', extend({}, baseObj, {\n get: function () {\n return _text;\n },\n set: function (value) {\n _text = '' + value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'region', extend({}, baseObj, {\n get: function () {\n return _region;\n },\n set: function (value) {\n _region = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'vertical', extend({}, baseObj, {\n get: function () {\n return _vertical;\n },\n set: function (value) {\n var setting = findDirectionSetting(value);\n // Have to check for false because the setting an be an empty string.\n if (setting === false) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _vertical = setting;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'snapToLines', extend({}, baseObj, {\n get: function () {\n return _snapToLines;\n },\n set: function (value) {\n _snapToLines = !!value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'line', extend({}, baseObj, {\n get: function () {\n return _line;\n },\n set: function (value) {\n if (typeof value !== 'number' && value !== autoKeyword) {\n throw new SyntaxError('An invalid number or illegal string was specified.');\n }\n _line = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'lineAlign', extend({}, baseObj, {\n get: function () {\n return _lineAlign;\n },\n set: function (value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _lineAlign = setting;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'position', extend({}, baseObj, {\n get: function () {\n return _position;\n },\n set: function (value) {\n if (value < 0 || value > 100) {\n throw new Error('Position must be between 0 and 100.');\n }\n _position = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'positionAlign', extend({}, baseObj, {\n get: function () {\n return _positionAlign;\n },\n set: function (value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _positionAlign = setting;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'size', extend({}, baseObj, {\n get: function () {\n return _size;\n },\n set: function (value) {\n if (value < 0 || value > 100) {\n throw new Error('Size must be between 0 and 100.');\n }\n _size = value;\n this.hasBeenReset = true;\n }\n }));\n Object.defineProperty(cue, 'align', extend({}, baseObj, {\n get: function () {\n return _align;\n },\n set: function (value) {\n var setting = findAlignSetting(value);\n if (!setting) {\n throw new SyntaxError('An invalid or illegal string was specified.');\n }\n _align = setting;\n this.hasBeenReset = true;\n }\n }));\n /**\n * Other <track> spec defined properties\n */\n // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#text-track-cue-display-state\n cue.displayState = undefined;\n if (isIE8) {\n return cue;\n }\n }\n /**\n * VTTCue methods\n */\n VTTCue.prototype.getCueAsHTML = function () {\n // Assume WebVTT.convertCueToDOMTree is on the global.\n var WebVTT = window.WebVTT;\n return WebVTT.convertCueToDOMTree(window, this.text);\n };\n return VTTCue;\n})();\n\n\n/***/ }),\n\n/***/ \"./src/utils/vttparser.js\":\n/*!********************************!*\\\n !*** ./src/utils/vttparser.js ***!\n \\********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/*\n * Source: https://github.com/mozilla/vtt.js/blob/master/dist/vtt.js#L1716\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar vttcue_1 = __webpack_require__(/*! ./vttcue */ \"./src/utils/vttcue.js\");\nvar StringDecoder = function StringDecoder() {\n return {\n decode: function (data) {\n if (!data) {\n return '';\n }\n if (typeof data !== 'string') {\n throw new Error('Error - expected string data.');\n }\n return decodeURIComponent(encodeURIComponent(data));\n }\n };\n};\nfunction VTTParser() {\n this.window = window;\n this.state = 'INITIAL';\n this.buffer = '';\n this.decoder = new StringDecoder();\n this.regionList = [];\n}\n// Try to parse input as a time stamp.\nfunction parseTimeStamp(input) {\n function computeSeconds(h, m, s, f) {\n return (h | 0) * 3600 + (m | 0) * 60 + (s | 0) + (f | 0) / 1000;\n }\n var m = input.match(/^(\\d+):(\\d{2})(:\\d{2})?\\.(\\d{3})/);\n if (!m) {\n return null;\n }\n if (m[3]) {\n // Timestamp takes the form of [hours]:[minutes]:[seconds].[milliseconds]\n return computeSeconds(m[1], m[2], m[3].replace(':', ''), m[4]);\n }\n else if (m[1] > 59) {\n // Timestamp takes the form of [hours]:[minutes].[milliseconds]\n // First position is hours as it's over 59.\n return computeSeconds(m[1], m[2], 0, m[4]);\n }\n else {\n // Timestamp takes the form of [minutes]:[seconds].[milliseconds]\n return computeSeconds(0, m[1], m[2], m[4]);\n }\n}\n// A settings object holds key/value pairs and will ignore anything but the first\n// assignment to a specific key.\nfunction Settings() {\n this.values = Object.create(null);\n}\nSettings.prototype = {\n // Only accept the first assignment to any key.\n set: function (k, v) {\n if (!this.get(k) && v !== '') {\n this.values[k] = v;\n }\n },\n // Return the value for a key, or a default value.\n // If 'defaultKey' is passed then 'dflt' is assumed to be an object with\n // a number of possible default values as properties where 'defaultKey' is\n // the key of the property that will be chosen; otherwise it's assumed to be\n // a single value.\n get: function (k, dflt, defaultKey) {\n if (defaultKey) {\n return this.has(k) ? this.values[k] : dflt[defaultKey];\n }\n return this.has(k) ? this.values[k] : dflt;\n },\n // Check whether we have a value for a key.\n has: function (k) {\n return k in this.values;\n },\n // Accept a setting if its one of the given alternatives.\n alt: function (k, v, a) {\n for (var n = 0; n < a.length; ++n) {\n if (v === a[n]) {\n this.set(k, v);\n break;\n }\n }\n },\n // Accept a setting if its a valid (signed) integer.\n integer: function (k, v) {\n if (/^-?\\d+$/.test(v)) { // integer\n this.set(k, parseInt(v, 10));\n }\n },\n // Accept a setting if its a valid percentage.\n percent: function (k, v) {\n var m;\n if ((m = v.match(/^([\\d]{1,3})(\\.[\\d]*)?%$/))) {\n v = parseFloat(v);\n if (v >= 0 && v <= 100) {\n this.set(k, v);\n return true;\n }\n }\n return false;\n }\n};\n// Helper function to parse input into groups separated by 'groupDelim', and\n// interprete each group as a key/value pair separated by 'keyValueDelim'.\nfunction parseOptions(input, callback, keyValueDelim, groupDelim) {\n var groups = groupDelim ? input.split(groupDelim) : [input];\n for (var i in groups) {\n if (typeof groups[i] !== 'string') {\n continue;\n }\n var kv = groups[i].split(keyValueDelim);\n if (kv.length !== 2) {\n continue;\n }\n var k = kv[0];\n var v = kv[1];\n callback(k, v);\n }\n}\nvar defaults = new vttcue_1.default(0, 0, 0);\n// 'middle' was changed to 'center' in the spec: https://github.com/w3c/webvtt/pull/244\n// Safari doesn't yet support this change, but FF and Chrome do.\nvar center = defaults.align === 'middle' ? 'middle' : 'center';\nfunction parseCue(input, cue, regionList) {\n // Remember the original input if we need to throw an error.\n var oInput = input;\n // 4.1 WebVTT timestamp\n function consumeTimeStamp() {\n var ts = parseTimeStamp(input);\n if (ts === null) {\n throw new Error('Malformed timestamp: ' + oInput);\n }\n // Remove time stamp from input.\n input = input.replace(/^[^\\sa-zA-Z-]+/, '');\n return ts;\n }\n // 4.4.2 WebVTT cue settings\n function consumeCueSettings(input, cue) {\n var settings = new Settings();\n parseOptions(input, function (k, v) {\n switch (k) {\n case 'region':\n // Find the last region we parsed with the same region id.\n for (var i = regionList.length - 1; i >= 0; i--) {\n if (regionList[i].id === v) {\n settings.set(k, regionList[i].region);\n break;\n }\n }\n break;\n case 'vertical':\n settings.alt(k, v, ['rl', 'lr']);\n break;\n case 'line':\n var vals = v.split(','), vals0 = vals[0];\n settings.integer(k, vals0);\n if (settings.percent(k, vals0)) {\n settings.set('snapToLines', false);\n }\n settings.alt(k, vals0, ['auto']);\n if (vals.length === 2) {\n settings.alt('lineAlign', vals[1], ['start', center, 'end']);\n }\n break;\n case 'position':\n vals = v.split(',');\n settings.percent(k, vals[0]);\n if (vals.length === 2) {\n settings.alt('positionAlign', vals[1], ['start', center, 'end', 'line-left', 'line-right', 'auto']);\n }\n break;\n case 'size':\n settings.percent(k, v);\n break;\n case 'align':\n settings.alt(k, v, ['start', center, 'end', 'left', 'right']);\n break;\n }\n }, /:/, /\\s/);\n // Apply default values for any missing fields.\n cue.region = settings.get('region', null);\n cue.vertical = settings.get('vertical', '');\n var line = settings.get('line', 'auto');\n if (line === 'auto' && defaults.line === -1) {\n // set numeric line number for Safari\n line = -1;\n }\n cue.line = line;\n cue.lineAlign = settings.get('lineAlign', 'start');\n cue.snapToLines = settings.get('snapToLines', true);\n cue.size = settings.get('size', 100);\n cue.align = settings.get('align', center);\n var position = settings.get('position', 'auto');\n if (position === 'auto' && defaults.position === 50) {\n // set numeric position for Safari\n position = cue.align === 'start' || cue.align === 'left' ? 0 : cue.align === 'end' || cue.align === 'right' ? 100 : 50;\n }\n cue.position = position;\n }\n function skipWhitespace() {\n input = input.replace(/^\\s+/, '');\n }\n // 4.1 WebVTT cue timings.\n skipWhitespace();\n cue.startTime = consumeTimeStamp(); // (1) collect cue start time\n skipWhitespace();\n if (input.substr(0, 3) !== '-->') { // (3) next characters must match '-->'\n throw new Error('Malformed time stamp (time stamps must be separated by \\'-->\\'): ' +\n oInput);\n }\n input = input.substr(3);\n skipWhitespace();\n cue.endTime = consumeTimeStamp(); // (5) collect cue end time\n // 4.1 WebVTT cue settings list.\n skipWhitespace();\n consumeCueSettings(input, cue);\n}\nfunction fixLineBreaks(input) {\n return input.replace(/<br(?: \\/)?>/gi, '\\n');\n}\nexports.fixLineBreaks = fixLineBreaks;\nVTTParser.prototype = {\n parse: function (data) {\n var self = this;\n // If there is no data then we won't decode it, but will just try to parse\n // whatever is in buffer already. This may occur in circumstances, for\n // example when flush() is called.\n if (data) {\n // Try to decode the data that we received.\n self.buffer += self.decoder.decode(data, { stream: true });\n }\n function collectNextLine() {\n var buffer = self.buffer;\n var pos = 0;\n buffer = fixLineBreaks(buffer);\n while (pos < buffer.length && buffer[pos] !== '\\r' && buffer[pos] !== '\\n') {\n ++pos;\n }\n var line = buffer.substr(0, pos);\n // Advance the buffer early in case we fail below.\n if (buffer[pos] === '\\r') {\n ++pos;\n }\n if (buffer[pos] === '\\n') {\n ++pos;\n }\n self.buffer = buffer.substr(pos);\n return line;\n }\n // 3.2 WebVTT metadata header syntax\n function parseHeader(input) {\n parseOptions(input, function (k, v) {\n switch (k) {\n case 'Region':\n // 3.3 WebVTT region metadata header syntax\n // console.log('parse region', v);\n // parseRegion(v);\n break;\n }\n }, /:/);\n }\n // 5.1 WebVTT file parsing.\n try {\n var line = void 0;\n if (self.state === 'INITIAL') {\n // We can't start parsing until we have the first line.\n if (!/\\r\\n|\\n/.test(self.buffer)) {\n return this;\n }\n line = collectNextLine();\n // strip of UTF-8 BOM if any\n // https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8\n var m = line.match(/^()?WEBVTT([ \\t].*)?$/);\n if (!m || !m[0]) {\n throw new Error('Malformed WebVTT signature.');\n }\n self.state = 'HEADER';\n }\n var alreadyCollectedLine = false;\n while (self.buffer) {\n // We can't parse a line until we have the full line.\n if (!/\\r\\n|\\n/.test(self.buffer)) {\n return this;\n }\n if (!alreadyCollectedLine) {\n line = collectNextLine();\n }\n else {\n alreadyCollectedLine = false;\n }\n switch (self.state) {\n case 'HEADER':\n // 13-18 - Allow a header (metadata) under the WEBVTT line.\n if (/:/.test(line)) {\n parseHeader(line);\n }\n else if (!line) {\n // An empty line terminates the header and starts the body (cues).\n self.state = 'ID';\n }\n continue;\n case 'NOTE':\n // Ignore NOTE blocks.\n if (!line) {\n self.state = 'ID';\n }\n continue;\n case 'ID':\n // Check for the start of NOTE blocks.\n if (/^NOTE($|[ \\t])/.test(line)) {\n self.state = 'NOTE';\n break;\n }\n // 19-29 - Allow any number of line terminators, then initialize new cue values.\n if (!line) {\n continue;\n }\n self.cue = new vttcue_1.default(0, 0, '');\n self.state = 'CUE';\n // 30-39 - Check if self line contains an optional identifier or timing data.\n if (line.indexOf('-->') === -1) {\n self.cue.id = line;\n continue;\n }\n // Process line as start of a cue.\n /* falls through */\n case 'CUE':\n // 40 - Collect cue timings and settings.\n try {\n parseCue(line, self.cue, self.regionList);\n }\n catch (e) {\n // In case of an error ignore rest of the cue.\n self.cue = null;\n self.state = 'BADCUE';\n continue;\n }\n self.state = 'CUETEXT';\n continue;\n case 'CUETEXT':\n var hasSubstring = line.indexOf('-->') !== -1;\n // 34 - If we have an empty line then report the cue.\n // 35 - If we have the special substring '-->' then report the cue,\n // but do not collect the line as we need to process the current\n // one as a new cue.\n if (!line || hasSubstring && (alreadyCollectedLine = true)) {\n // We are done parsing self cue.\n if (self.oncue) {\n self.oncue(self.cue);\n }\n self.cue = null;\n self.state = 'ID';\n continue;\n }\n if (self.cue.text) {\n self.cue.text += '\\n';\n }\n self.cue.text += line;\n continue;\n case 'BADCUE': // BADCUE\n // 54-62 - Collect and discard the remaining cue.\n if (!line) {\n self.state = 'ID';\n }\n continue;\n }\n }\n }\n catch (e) {\n // If we are currently parsing a cue, report what we have.\n if (self.state === 'CUETEXT' && self.cue && self.oncue) {\n self.oncue(self.cue);\n }\n self.cue = null;\n // Enter BADWEBVTT state if header was not parsed correctly otherwise\n // another exception occurred so enter BADCUE state.\n self.state = self.state === 'INITIAL' ? 'BADWEBVTT' : 'BADCUE';\n }\n return this;\n },\n flush: function () {\n var self = this;\n try {\n // Finish decoding the stream.\n self.buffer += self.decoder.decode();\n // Synthesize the end of the current cue or region.\n if (self.cue || self.state === 'HEADER') {\n self.buffer += '\\n\\n';\n self.parse();\n }\n // If we've flushed, parsed, and we're still on the INITIAL state then\n // that means we don't have enough of the stream to parse the first\n // line.\n if (self.state === 'INITIAL') {\n throw new Error('Malformed WebVTT signature.');\n }\n }\n catch (e) {\n throw e;\n }\n if (self.onflush) {\n self.onflush();\n }\n return this;\n }\n};\nexports.default = VTTParser;\n\n\n/***/ }),\n\n/***/ \"./src/utils/webvtt-parser.js\":\n/*!************************************!*\\\n !*** ./src/utils/webvtt-parser.js ***!\n \\************************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(Number) {\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar vttparser_1 = __webpack_require__(/*! ./vttparser */ \"./src/utils/vttparser.js\");\nvar id3_1 = __webpack_require__(/*! ../demux/id3 */ \"./src/demux/id3.js\");\n// String.prototype.startsWith is not supported in IE11\nvar startsWith = function (inputString, searchString, position) {\n return inputString.substr(position || 0, searchString.length) === searchString;\n};\nvar cueString2millis = function (timeString) {\n var ts = parseInt(timeString.substr(-3));\n var secs = parseInt(timeString.substr(-6, 2));\n var mins = parseInt(timeString.substr(-9, 2));\n var hours = timeString.length > 9 ? parseInt(timeString.substr(0, timeString.indexOf(':'))) : 0;\n if (!Number.isFinite(ts) || !Number.isFinite(secs) || !Number.isFinite(mins) || !Number.isFinite(hours)) {\n return -1;\n }\n ts += 1000 * secs;\n ts += 60 * 1000 * mins;\n ts += 60 * 60 * 1000 * hours;\n return ts;\n};\n// From https://github.com/darkskyapp/string-hash\nvar hash = function (text) {\n var hash = 5381;\n var i = text.length;\n while (i) {\n hash = (hash * 33) ^ text.charCodeAt(--i);\n }\n return (hash >>> 0).toString();\n};\nvar calculateOffset = function (vttCCs, cc, presentationTime) {\n var currCC = vttCCs[cc];\n var prevCC = vttCCs[currCC.prevCC];\n // This is the first discontinuity or cues have been processed since the last discontinuity\n // Offset = current discontinuity time\n if (!prevCC || (!prevCC.new && currCC.new)) {\n vttCCs.ccOffset = vttCCs.presentationOffset = currCC.start;\n currCC.new = false;\n return;\n }\n // There have been discontinuities since cues were last parsed.\n // Offset = time elapsed\n while (prevCC && prevCC.new) {\n vttCCs.ccOffset += currCC.start - prevCC.start;\n currCC.new = false;\n currCC = prevCC;\n prevCC = vttCCs[currCC.prevCC];\n }\n vttCCs.presentationOffset = presentationTime;\n};\nvar WebVTTParser = {\n parse: function (vttByteArray, syncPTS, vttCCs, cc, callBack, errorCallBack) {\n // Convert byteArray into string, replacing any somewhat exotic linefeeds with \"\\n\", then split on that character.\n var re = /\\r\\n|\\n\\r|\\n|\\r/g;\n // Uint8Array.prototype.reduce is not implemented in IE11\n var vttLines = id3_1.utf8ArrayToStr(new Uint8Array(vttByteArray)).trim().replace(re, '\\n').split('\\n');\n var cueTime = '00:00.000';\n var mpegTs = 0;\n var localTime = 0;\n var presentationTime = 0;\n var cues = [];\n var parsingError;\n var inHeader = true;\n // let VTTCue = VTTCue || window.TextTrackCue;\n // Create parser object using VTTCue with TextTrackCue fallback on certain browsers.\n var parser = new vttparser_1.default();\n parser.oncue = function (cue) {\n // Adjust cue timing; clamp cues to start no earlier than - and drop cues that don't end after - 0 on timeline.\n var currCC = vttCCs[cc];\n var cueOffset = vttCCs.ccOffset;\n // Update offsets for new discontinuities\n if (currCC && currCC.new) {\n if (localTime !== undefined) {\n // When local time is provided, offset = discontinuity start time - local time\n cueOffset = vttCCs.ccOffset = currCC.start;\n }\n else {\n calculateOffset(vttCCs, cc, presentationTime);\n }\n }\n if (presentationTime) {\n // If we have MPEGTS, offset = presentation time + discontinuity offset\n cueOffset = presentationTime - vttCCs.presentationOffset;\n }\n cue.startTime += cueOffset - localTime;\n cue.endTime += cueOffset - localTime;\n // Create a unique hash id for a cue based on start/end times and text.\n // This helps timeline-controller to avoid showing repeated captions.\n cue.id = hash(cue.startTime.toString()) + hash(cue.endTime.toString()) + hash(cue.text);\n // Fix encoding of special characters. TODO: Test with all sorts of weird characters.\n cue.text = decodeURIComponent(encodeURIComponent(cue.text));\n if (cue.endTime > 0) {\n cues.push(cue);\n }\n };\n parser.onparsingerror = function (e) {\n parsingError = e;\n };\n parser.onflush = function () {\n if (parsingError && errorCallBack) {\n errorCallBack(parsingError);\n return;\n }\n callBack(cues);\n };\n // Go through contents line by line.\n vttLines.forEach(function (line) {\n if (inHeader) {\n // Look for X-TIMESTAMP-MAP in header.\n if (startsWith(line, 'X-TIMESTAMP-MAP=')) {\n // Once found, no more are allowed anyway, so stop searching.\n inHeader = false;\n // Extract LOCAL and MPEGTS.\n line.substr(16).split(',').forEach(function (timestamp) {\n if (startsWith(timestamp, 'LOCAL:')) {\n cueTime = timestamp.substr(6);\n }\n else if (startsWith(timestamp, 'MPEGTS:')) {\n mpegTs = parseInt(timestamp.substr(7));\n }\n });\n try {\n // Calculate subtitle offset in milliseconds.\n if (syncPTS + ((vttCCs[cc].start * 90000) || 0) < 0) {\n syncPTS += 8589934592;\n }\n // Adjust MPEGTS by sync PTS.\n mpegTs -= syncPTS;\n // Convert cue time to seconds\n localTime = cueString2millis(cueTime) / 1000;\n // Convert MPEGTS to seconds from 90kHz.\n presentationTime = mpegTs / 90000;\n if (localTime === -1) {\n parsingError = new Error(\"Malformed X-TIMESTAMP-MAP: \" + line);\n }\n }\n catch (e) {\n parsingError = new Error(\"Malformed X-TIMESTAMP-MAP: \" + line);\n }\n // Return without parsing X-TIMESTAMP-MAP line.\n return;\n }\n else if (line === '') {\n inHeader = false;\n }\n }\n // Parse line by default.\n parser.parse(line + '\\n');\n });\n parser.flush();\n }\n};\nexports.default = WebVTTParser;\n\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./src/polyfills/number */ \"./src/polyfills/number.js\")[\"Number\"]))\n\n/***/ }),\n\n/***/ \"./src/utils/xhr-loader.js\":\n/*!*********************************!*\\\n !*** ./src/utils/xhr-loader.js ***!\n \\*********************************/\n/*! no static exports found */\n/*! ModuleConcatenation bailout: Module is not an ECMAScript module */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n/**\n * XHR based logger\n*/\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar logger_1 = __webpack_require__(/*! ../utils/logger */ \"./src/utils/logger.js\");\nvar performance = window.performance, XMLHttpRequest = window.XMLHttpRequest;\nvar XhrLoader = /** @class */ (function () {\n function XhrLoader(config) {\n if (config && config.xhrSetup) {\n this.xhrSetup = config.xhrSetup;\n }\n }\n XhrLoader.prototype.destroy = function () {\n this.abort();\n this.loader = null;\n };\n XhrLoader.prototype.abort = function () {\n var loader = this.loader;\n if (loader && loader.readyState !== 4) {\n this.stats.aborted = true;\n loader.abort();\n }\n window.clearTimeout(this.requestTimeout);\n this.requestTimeout = null;\n window.clearTimeout(this.retryTimeout);\n this.retryTimeout = null;\n };\n XhrLoader.prototype.load = function (context, config, callbacks) {\n this.context = context;\n this.config = config;\n this.callbacks = callbacks;\n this.stats = { trequest: performance.now(), retry: 0 };\n this.retryDelay = config.retryDelay;\n this.loadInternal();\n };\n XhrLoader.prototype.loadInternal = function () {\n var xhr, context = this.context;\n xhr = this.loader = new XMLHttpRequest();\n var stats = this.stats;\n stats.tfirst = 0;\n stats.loaded = 0;\n var xhrSetup = this.xhrSetup;\n try {\n if (xhrSetup) {\n try {\n xhrSetup(xhr, context.url);\n }\n catch (e) {\n // fix xhrSetup: (xhr, url) => {xhr.setRequestHeader(\"Content-Language\", \"test\");}\n // not working, as xhr.setRequestHeader expects xhr.readyState === OPEN\n xhr.open('GET', context.url, true);\n xhrSetup(xhr, context.url);\n }\n }\n if (!xhr.readyState) {\n xhr.open('GET', context.url, true);\n }\n }\n catch (e) {\n // IE11 throws an exception on xhr.open if attempting to access an HTTP resource over HTTPS\n this.callbacks.onError({ code: xhr.status, text: e.message }, context, xhr);\n return;\n }\n if (context.rangeEnd) {\n xhr.setRequestHeader('Range', 'bytes=' + context.rangeStart + '-' + (context.rangeEnd - 1));\n }\n xhr.onreadystatechange = this.readystatechange.bind(this);\n xhr.onprogress = this.loadprogress.bind(this);\n xhr.responseType = context.responseType;\n // setup timeout before we perform request\n this.requestTimeout = window.setTimeout(this.loadtimeout.bind(this), this.config.timeout);\n xhr.send();\n };\n XhrLoader.prototype.readystatechange = function (event) {\n var xhr = event.currentTarget, readyState = xhr.readyState, stats = this.stats, context = this.context, config = this.config;\n // don't proceed if xhr has been aborted\n if (stats.aborted) {\n return;\n }\n // >= HEADERS_RECEIVED\n if (readyState >= 2) {\n // clear xhr timeout and rearm it if readyState less than 4\n window.clearTimeout(this.requestTimeout);\n if (stats.tfirst === 0) {\n stats.tfirst = Math.max(performance.now(), stats.trequest);\n }\n if (readyState === 4) {\n var status_1 = xhr.status;\n // http status between 200 to 299 are all successful\n if (status_1 >= 200 && status_1 < 300) {\n stats.tload = Math.max(stats.tfirst, performance.now());\n var data = void 0, len = void 0;\n if (context.responseType === 'arraybuffer') {\n data = xhr.response;\n len = data.byteLength;\n }\n else {\n data = xhr.responseText;\n len = data.length;\n }\n stats.loaded = stats.total = len;\n var response = { url: xhr.responseURL, data: data };\n this.callbacks.onSuccess(response, stats, context, xhr);\n }\n else {\n // if max nb of retries reached or if http status between 400 and 499 (such error cannot be recovered, retrying is useless), return error\n if (stats.retry >= config.maxRetry || (status_1 >= 400 && status_1 < 499)) {\n logger_1.logger.error(status_1 + \" while loading \" + context.url);\n this.callbacks.onError({ code: status_1, text: xhr.statusText }, context, xhr);\n }\n else {\n // retry\n logger_1.logger.warn(status_1 + \" while loading \" + context.url + \", retrying in \" + this.retryDelay + \"...\");\n // aborts and resets internal state\n this.destroy();\n // schedule retry\n this.retryTimeout = window.setTimeout(this.loadInternal.bind(this), this.retryDelay);\n // set exponential backoff\n this.retryDelay = Math.min(2 * this.retryDelay, config.maxRetryDelay);\n stats.retry++;\n }\n }\n }\n else {\n // readyState >= 2 AND readyState !==4 (readyState = HEADERS_RECEIVED || LOADING) rearm timeout as xhr not finished yet\n this.requestTimeout = window.setTimeout(this.loadtimeout.bind(this), config.timeout);\n }\n }\n };\n XhrLoader.prototype.loadtimeout = function () {\n logger_1.logger.warn(\"timeout while loading \" + this.context.url);\n this.callbacks.onTimeout(this.stats, this.context, null);\n };\n XhrLoader.prototype.loadprogress = function (event) {\n var xhr = event.currentTarget, stats = this.stats;\n stats.loaded = event.loaded;\n if (event.lengthComputable) {\n stats.total = event.total;\n }\n var onProgress = this.callbacks.onProgress;\n if (onProgress) {\n // third arg is to provide on progress data\n onProgress(stats, this.context, null, xhr);\n }\n };\n return XhrLoader;\n}());\nexports.default = XhrLoader;\n\n\n/***/ })\n\n/******/ })[\"default\"];\n});\n//# sourceMappingURL=hls.js.map\n\n/***/ }),\n\n/***/ \"./node_modules/node-libs-browser/node_modules/process/browser.js\":\n/*!************************************************************************!*\\\n !*** ./node_modules/node-libs-browser/node_modules/process/browser.js ***!\n \\************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n/***/ }),\n\n/***/ \"./node_modules/style-loader/lib/addStyles.js\":\n/*!****************************************************!*\\\n !*** ./node_modules/style-loader/lib/addStyles.js ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\nvar stylesInDom = {};\n\nvar\tmemoize = function (fn) {\n\tvar memo;\n\n\treturn function () {\n\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\treturn memo;\n\t};\n};\n\nvar isOldIE = memoize(function () {\n\t// Test for IE <= 9 as proposed by Browserhacks\n\t// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n\t// Tests for existence of standard globals is to allow style-loader\n\t// to operate correctly into non-standard environments\n\t// @see https://github.com/webpack-contrib/style-loader/issues/177\n\treturn window && document && document.all && !window.atob;\n});\n\nvar getTarget = function (target) {\n return document.querySelector(target);\n};\n\nvar getElement = (function (fn) {\n\tvar memo = {};\n\n\treturn function(target) {\n // If passing function in options, then use it for resolve \"head\" element.\n // Useful for Shadow Root style i.e\n // {\n // insertInto: function () { return document.querySelector(\"#foo\").shadowRoot }\n // }\n if (typeof target === 'function') {\n return target();\n }\n if (typeof memo[target] === \"undefined\") {\n\t\t\tvar styleTarget = getTarget.call(this, target);\n\t\t\t// Special case to return head of iframe instead of iframe itself\n\t\t\tif (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n\t\t\t\ttry {\n\t\t\t\t\t// This will throw an exception if access to iframe is blocked\n\t\t\t\t\t// due to cross-origin restrictions\n\t\t\t\t\tstyleTarget = styleTarget.contentDocument.head;\n\t\t\t\t} catch(e) {\n\t\t\t\t\tstyleTarget = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tmemo[target] = styleTarget;\n\t\t}\n\t\treturn memo[target]\n\t};\n})();\n\nvar singleton = null;\nvar\tsingletonCounter = 0;\nvar\tstylesInsertedAtTop = [];\n\nvar\tfixUrls = __webpack_require__(/*! ./urls */ \"./node_modules/style-loader/lib/urls.js\");\n\nmodule.exports = function(list, options) {\n\tif (typeof DEBUG !== \"undefined\" && DEBUG) {\n\t\tif (typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t}\n\n\toptions = options || {};\n\n\toptions.attrs = typeof options.attrs === \"object\" ? options.attrs : {};\n\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n\t// tags it will allow on a page\n\tif (!options.singleton && typeof options.singleton !== \"boolean\") options.singleton = isOldIE();\n\n\t// By default, add <style> tags to the <head> element\n if (!options.insertInto) options.insertInto = \"head\";\n\n\t// By default, add <style> tags to the bottom of the target\n\tif (!options.insertAt) options.insertAt = \"bottom\";\n\n\tvar styles = listToStyles(list, options);\n\n\taddStylesToDom(styles, options);\n\n\treturn function update (newList) {\n\t\tvar mayRemove = [];\n\n\t\tfor (var i = 0; i < styles.length; i++) {\n\t\t\tvar item = styles[i];\n\t\t\tvar domStyle = stylesInDom[item.id];\n\n\t\t\tdomStyle.refs--;\n\t\t\tmayRemove.push(domStyle);\n\t\t}\n\n\t\tif(newList) {\n\t\t\tvar newStyles = listToStyles(newList, options);\n\t\t\taddStylesToDom(newStyles, options);\n\t\t}\n\n\t\tfor (var i = 0; i < mayRemove.length; i++) {\n\t\t\tvar domStyle = mayRemove[i];\n\n\t\t\tif(domStyle.refs === 0) {\n\t\t\t\tfor (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j]();\n\n\t\t\t\tdelete stylesInDom[domStyle.id];\n\t\t\t}\n\t\t}\n\t};\n};\n\nfunction addStylesToDom (styles, options) {\n\tfor (var i = 0; i < styles.length; i++) {\n\t\tvar item = styles[i];\n\t\tvar domStyle = stylesInDom[item.id];\n\n\t\tif(domStyle) {\n\t\t\tdomStyle.refs++;\n\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\n\t\t\t}\n\n\t\t\tfor(; j < item.parts.length; j++) {\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\n\t\t\t}\n\t\t} else {\n\t\t\tvar parts = [];\n\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\n\t\t\t}\n\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\n\t\t}\n\t}\n}\n\nfunction listToStyles (list, options) {\n\tvar styles = [];\n\tvar newStyles = {};\n\n\tfor (var i = 0; i < list.length; i++) {\n\t\tvar item = list[i];\n\t\tvar id = options.base ? item[0] + options.base : item[0];\n\t\tvar css = item[1];\n\t\tvar media = item[2];\n\t\tvar sourceMap = item[3];\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\n\n\t\tif(!newStyles[id]) styles.push(newStyles[id] = {id: id, parts: [part]});\n\t\telse newStyles[id].parts.push(part);\n\t}\n\n\treturn styles;\n}\n\nfunction insertStyleElement (options, style) {\n\tvar target = getElement(options.insertInto)\n\n\tif (!target) {\n\t\tthrow new Error(\"Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.\");\n\t}\n\n\tvar lastStyleElementInsertedAtTop = stylesInsertedAtTop[stylesInsertedAtTop.length - 1];\n\n\tif (options.insertAt === \"top\") {\n\t\tif (!lastStyleElementInsertedAtTop) {\n\t\t\ttarget.insertBefore(style, target.firstChild);\n\t\t} else if (lastStyleElementInsertedAtTop.nextSibling) {\n\t\t\ttarget.insertBefore(style, lastStyleElementInsertedAtTop.nextSibling);\n\t\t} else {\n\t\t\ttarget.appendChild(style);\n\t\t}\n\t\tstylesInsertedAtTop.push(style);\n\t} else if (options.insertAt === \"bottom\") {\n\t\ttarget.appendChild(style);\n\t} else if (typeof options.insertAt === \"object\" && options.insertAt.before) {\n\t\tvar nextSibling = getElement(options.insertInto + \" \" + options.insertAt.before);\n\t\ttarget.insertBefore(style, nextSibling);\n\t} else {\n\t\tthrow new Error(\"[Style Loader]\\n\\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\\n Must be 'top', 'bottom', or Object.\\n (https://github.com/webpack-contrib/style-loader#insertat)\\n\");\n\t}\n}\n\nfunction removeStyleElement (style) {\n\tif (style.parentNode === null) return false;\n\tstyle.parentNode.removeChild(style);\n\n\tvar idx = stylesInsertedAtTop.indexOf(style);\n\tif(idx >= 0) {\n\t\tstylesInsertedAtTop.splice(idx, 1);\n\t}\n}\n\nfunction createStyleElement (options) {\n\tvar style = document.createElement(\"style\");\n\n\toptions.attrs.type = \"text/css\";\n\n\taddAttrs(style, options.attrs);\n\tinsertStyleElement(options, style);\n\n\treturn style;\n}\n\nfunction createLinkElement (options) {\n\tvar link = document.createElement(\"link\");\n\n\toptions.attrs.type = \"text/css\";\n\toptions.attrs.rel = \"stylesheet\";\n\n\taddAttrs(link, options.attrs);\n\tinsertStyleElement(options, link);\n\n\treturn link;\n}\n\nfunction addAttrs (el, attrs) {\n\tObject.keys(attrs).forEach(function (key) {\n\t\tel.setAttribute(key, attrs[key]);\n\t});\n}\n\nfunction addStyle (obj, options) {\n\tvar style, update, remove, result;\n\n\t// If a transform function was defined, run it on the css\n\tif (options.transform && obj.css) {\n\t result = options.transform(obj.css);\n\n\t if (result) {\n\t \t// If transform returns a value, use that instead of the original css.\n\t \t// This allows running runtime transformations on the css.\n\t \tobj.css = result;\n\t } else {\n\t \t// If the transform function returns a falsy value, don't add this css.\n\t \t// This allows conditional loading of css\n\t \treturn function() {\n\t \t\t// noop\n\t \t};\n\t }\n\t}\n\n\tif (options.singleton) {\n\t\tvar styleIndex = singletonCounter++;\n\n\t\tstyle = singleton || (singleton = createStyleElement(options));\n\n\t\tupdate = applyToSingletonTag.bind(null, style, styleIndex, false);\n\t\tremove = applyToSingletonTag.bind(null, style, styleIndex, true);\n\n\t} else if (\n\t\tobj.sourceMap &&\n\t\ttypeof URL === \"function\" &&\n\t\ttypeof URL.createObjectURL === \"function\" &&\n\t\ttypeof URL.revokeObjectURL === \"function\" &&\n\t\ttypeof Blob === \"function\" &&\n\t\ttypeof btoa === \"function\"\n\t) {\n\t\tstyle = createLinkElement(options);\n\t\tupdate = updateLink.bind(null, style, options);\n\t\tremove = function () {\n\t\t\tremoveStyleElement(style);\n\n\t\t\tif(style.href) URL.revokeObjectURL(style.href);\n\t\t};\n\t} else {\n\t\tstyle = createStyleElement(options);\n\t\tupdate = applyToTag.bind(null, style);\n\t\tremove = function () {\n\t\t\tremoveStyleElement(style);\n\t\t};\n\t}\n\n\tupdate(obj);\n\n\treturn function updateStyle (newObj) {\n\t\tif (newObj) {\n\t\t\tif (\n\t\t\t\tnewObj.css === obj.css &&\n\t\t\t\tnewObj.media === obj.media &&\n\t\t\t\tnewObj.sourceMap === obj.sourceMap\n\t\t\t) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tupdate(obj = newObj);\n\t\t} else {\n\t\t\tremove();\n\t\t}\n\t};\n}\n\nvar replaceText = (function () {\n\tvar textStore = [];\n\n\treturn function (index, replacement) {\n\t\ttextStore[index] = replacement;\n\n\t\treturn textStore.filter(Boolean).join('\\n');\n\t};\n})();\n\nfunction applyToSingletonTag (style, index, remove, obj) {\n\tvar css = remove ? \"\" : obj.css;\n\n\tif (style.styleSheet) {\n\t\tstyle.styleSheet.cssText = replaceText(index, css);\n\t} else {\n\t\tvar cssNode = document.createTextNode(css);\n\t\tvar childNodes = style.childNodes;\n\n\t\tif (childNodes[index]) style.removeChild(childNodes[index]);\n\n\t\tif (childNodes.length) {\n\t\t\tstyle.insertBefore(cssNode, childNodes[index]);\n\t\t} else {\n\t\t\tstyle.appendChild(cssNode);\n\t\t}\n\t}\n}\n\nfunction applyToTag (style, obj) {\n\tvar css = obj.css;\n\tvar media = obj.media;\n\n\tif(media) {\n\t\tstyle.setAttribute(\"media\", media)\n\t}\n\n\tif(style.styleSheet) {\n\t\tstyle.styleSheet.cssText = css;\n\t} else {\n\t\twhile(style.firstChild) {\n\t\t\tstyle.removeChild(style.firstChild);\n\t\t}\n\n\t\tstyle.appendChild(document.createTextNode(css));\n\t}\n}\n\nfunction updateLink (link, options, obj) {\n\tvar css = obj.css;\n\tvar sourceMap = obj.sourceMap;\n\n\t/*\n\t\tIf convertToAbsoluteUrls isn't defined, but sourcemaps are enabled\n\t\tand there is no publicPath defined then lets turn convertToAbsoluteUrls\n\t\ton by default. Otherwise default to the convertToAbsoluteUrls option\n\t\tdirectly\n\t*/\n\tvar autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap;\n\n\tif (options.convertToAbsoluteUrls || autoFixUrls) {\n\t\tcss = fixUrls(css);\n\t}\n\n\tif (sourceMap) {\n\t\t// http://stackoverflow.com/a/26603875\n\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\n\t}\n\n\tvar blob = new Blob([css], { type: \"text/css\" });\n\n\tvar oldSrc = link.href;\n\n\tlink.href = URL.createObjectURL(blob);\n\n\tif(oldSrc) URL.revokeObjectURL(oldSrc);\n}\n\n\n/***/ }),\n\n/***/ \"./node_modules/style-loader/lib/urls.js\":\n/*!***********************************************!*\\\n !*** ./node_modules/style-loader/lib/urls.js ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\n\n/**\n * When source maps are enabled, `style-loader` uses a link element with a data-uri to\n * embed the css on the page. This breaks all relative urls because now they are relative to a\n * bundle instead of the current page.\n *\n * One solution is to only use full urls, but that may be impossible.\n *\n * Instead, this function \"fixes\" the relative urls to be absolute according to the current page location.\n *\n * A rudimentary test suite is located at `test/fixUrls.js` and can be run via the `npm test` command.\n *\n */\n\nmodule.exports = function (css) {\n // get current location\n var location = typeof window !== \"undefined\" && window.location;\n\n if (!location) {\n throw new Error(\"fixUrls requires window.location\");\n }\n\n\t// blank or null?\n\tif (!css || typeof css !== \"string\") {\n\t return css;\n }\n\n var baseUrl = location.protocol + \"//\" + location.host;\n var currentDir = baseUrl + location.pathname.replace(/\\/[^\\/]*$/, \"/\");\n\n\t// convert each url(...)\n\t/*\n\tThis regular expression is just a way to recursively match brackets within\n\ta string.\n\n\t /url\\s*\\( = Match on the word \"url\" with any whitespace after it and then a parens\n\t ( = Start a capturing group\n\t (?: = Start a non-capturing group\n\t [^)(] = Match anything that isn't a parentheses\n\t | = OR\n\t \\( = Match a start parentheses\n\t (?: = Start another non-capturing groups\n\t [^)(]+ = Match anything that isn't a parentheses\n\t | = OR\n\t \\( = Match a start parentheses\n\t [^)(]* = Match anything that isn't a parentheses\n\t \\) = Match a end parentheses\n\t ) = End Group\n *\\) = Match anything and then a close parens\n ) = Close non-capturing group\n * = Match anything\n ) = Close capturing group\n\t \\) = Match a close parens\n\n\t /gi = Get all matches, not the first. Be case insensitive.\n\t */\n\tvar fixedCss = css.replace(/url\\s*\\(((?:[^)(]|\\((?:[^)(]+|\\([^)(]*\\))*\\))*)\\)/gi, function(fullMatch, origUrl) {\n\t\t// strip quotes (if they exist)\n\t\tvar unquotedOrigUrl = origUrl\n\t\t\t.trim()\n\t\t\t.replace(/^\"(.*)\"$/, function(o, $1){ return $1; })\n\t\t\t.replace(/^'(.*)'$/, function(o, $1){ return $1; });\n\n\t\t// already a full url? no change\n\t\tif (/^(#|data:|http:\\/\\/|https:\\/\\/|file:\\/\\/\\/|\\s*$)/i.test(unquotedOrigUrl)) {\n\t\t return fullMatch;\n\t\t}\n\n\t\t// convert the url to a full url\n\t\tvar newUrl;\n\n\t\tif (unquotedOrigUrl.indexOf(\"//\") === 0) {\n\t\t \t//TODO: should we add protocol?\n\t\t\tnewUrl = unquotedOrigUrl;\n\t\t} else if (unquotedOrigUrl.indexOf(\"/\") === 0) {\n\t\t\t// path should be relative to the base url\n\t\t\tnewUrl = baseUrl + unquotedOrigUrl; // already starts with '/'\n\t\t} else {\n\t\t\t// path should be relative to current directory\n\t\t\tnewUrl = currentDir + unquotedOrigUrl.replace(/^\\.\\//, \"\"); // Strip leading './'\n\t\t}\n\n\t\t// send back the fixed url(...)\n\t\treturn \"url(\" + JSON.stringify(newUrl) + \")\";\n\t});\n\n\t// send back the fixed css\n\treturn fixedCss;\n};\n\n\n/***/ }),\n\n/***/ \"./src/base/base_object.js\":\n/*!*********************************!*\\\n !*** ./src/base/base_object.js ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _events = __webpack_require__(/*! ./events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * @class BaseObject\n * @constructor\n * @extends Events\n * @module base\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar BaseObject = function (_Events) {\n (0, _inherits3.default)(BaseObject, _Events);\n (0, _createClass3.default)(BaseObject, [{\n key: 'options',\n\n /**\n * returns the object options\n * @property options\n * @type Object\n */\n get: function get() {\n return this._options;\n }\n\n /**\n * @method constructor\n * @param {Object} options\n */\n\n }]);\n\n function BaseObject() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n (0, _classCallCheck3.default)(this, BaseObject);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Events.call(this, options));\n\n _this._options = options;\n _this.uniqueId = (0, _utils.uniqueId)('o');\n return _this;\n }\n /**\n * a unique id prefixed with `'o'`, `o1, o232`\n *\n * @property uniqueId\n * @type String\n */\n\n\n return BaseObject;\n}(_events2.default);\n\nexports.default = BaseObject;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/container_plugin.js\":\n/*!**************************************!*\\\n !*** ./src/base/container_plugin.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ./base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The base class for a container plugin\n * @class ContainerPlugin\n * @constructor\n * @extends BaseObject\n * @module base\n */\nvar ContainerPlugin = function (_BaseObject) {\n (0, _inherits3.default)(ContainerPlugin, _BaseObject);\n (0, _createClass3.default)(ContainerPlugin, [{\n key: 'playerError',\n get: function get() {\n return this.container.playerError;\n }\n }]);\n\n function ContainerPlugin(container) {\n (0, _classCallCheck3.default)(this, ContainerPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, container.options));\n\n _this.container = container;\n _this.enabled = true;\n _this.bindEvents();\n return _this;\n }\n\n ContainerPlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.enabled = true;\n }\n };\n\n ContainerPlugin.prototype.disable = function disable() {\n if (this.enabled) {\n this.stopListening();\n this.enabled = false;\n }\n };\n\n ContainerPlugin.prototype.bindEvents = function bindEvents() {};\n\n ContainerPlugin.prototype.destroy = function destroy() {\n this.stopListening();\n };\n\n return ContainerPlugin;\n}(_base_object2.default);\n\nexports.default = ContainerPlugin;\n\n\n(0, _assign2.default)(ContainerPlugin.prototype, _error_mixin2.default);\n\nContainerPlugin.extend = function (properties) {\n return (0, _utils.extend)(ContainerPlugin, properties);\n};\n\nContainerPlugin.type = 'container';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/core_plugin.js\":\n/*!*********************************!*\\\n !*** ./src/base/core_plugin.js ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _base_object = __webpack_require__(/*! ./base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar CorePlugin = function (_BaseObject) {\n (0, _inherits3.default)(CorePlugin, _BaseObject);\n (0, _createClass3.default)(CorePlugin, [{\n key: 'playerError',\n get: function get() {\n return this.core.playerError;\n }\n }]);\n\n function CorePlugin(core) {\n (0, _classCallCheck3.default)(this, CorePlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, core.options));\n\n _this.core = core;\n _this.enabled = true;\n _this.bindEvents();\n return _this;\n }\n\n CorePlugin.prototype.bindEvents = function bindEvents() {};\n\n CorePlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.enabled = true;\n }\n };\n\n CorePlugin.prototype.disable = function disable() {\n if (this.enabled) {\n this.stopListening();\n this.enabled = false;\n }\n };\n\n CorePlugin.prototype.getExternalInterface = function getExternalInterface() {\n return {};\n };\n\n CorePlugin.prototype.destroy = function destroy() {\n this.stopListening();\n };\n\n return CorePlugin;\n}(_base_object2.default);\n\nexports.default = CorePlugin;\n\n\n(0, _assign2.default)(CorePlugin.prototype, _error_mixin2.default);\n\nCorePlugin.extend = function (properties) {\n return (0, _utils.extend)(CorePlugin, properties);\n};\n\nCorePlugin.type = 'core';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/error_mixin.js\":\n/*!*********************************!*\\\n !*** ./src/base/error_mixin.js ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _log = __webpack_require__(/*! ../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _error = __webpack_require__(/*! ../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ErrorMixin = {\n /**\n * creates an error.\n * @method createError\n * @param {Object} error should be an object with code, description, level and raw error.\n * @return {Object} Object with formatted error data including origin and scope\n */\n createError: function createError(error) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { useCodePrefix: true };\n\n var scope = this.constructor && this.constructor.type || '';\n var origin = this.name || scope;\n var i18n = this.i18n || this.core && this.core.i18n || this.container && this.container.i18n;\n\n var prefixedCode = origin + ':' + (error && error.code || 'unknown');\n var defaultError = {\n description: '',\n level: _error2.default.Levels.FATAL,\n origin: origin,\n scope: scope,\n raw: {}\n };\n\n var errorData = (0, _assign2.default)({}, defaultError, error, {\n code: options.useCodePrefix ? prefixedCode : error.code\n });\n\n if (i18n && errorData.level == _error2.default.Levels.FATAL && !errorData.UI) {\n var defaultUI = {\n title: i18n.t('default_error_title'),\n message: i18n.t('default_error_message')\n };\n errorData.UI = defaultUI;\n }\n\n if (this.playerError) this.playerError.createError(errorData);else _log2.default.warn(origin, 'PlayerError is not defined. Error: ', errorData);\n\n return errorData;\n }\n};\n\nexports.default = ErrorMixin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/events.js\":\n/*!****************************!*\\\n !*** ./src/base/events.js ***!\n \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _log = __webpack_require__(/*! ../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar slice = Array.prototype.slice;\n\nvar eventSplitter = /\\s+/;\n\nvar eventsApi = function eventsApi(obj, action, name, rest) {\n if (!name) return true;\n\n // Handle event maps.\n if ((typeof name === 'undefined' ? 'undefined' : (0, _typeof3.default)(name)) === 'object') {\n for (var key in name) {\n obj[action].apply(obj, [key, name[key]].concat(rest));\n }return false;\n }\n\n // Handle space separated event names.\n if (eventSplitter.test(name)) {\n var names = name.split(eventSplitter);\n for (var i = 0, l = names.length; i < l; i++) {\n obj[action].apply(obj, [names[i]].concat(rest));\n }return false;\n }\n\n return true;\n};\n\nvar triggerEvents = function triggerEvents(events, args, klass, name) {\n var ev = void 0,\n i = -1;\n var l = events.length,\n a1 = args[0],\n a2 = args[1],\n a3 = args[2];\n run();\n\n function run() {\n try {\n switch (args.length) {\n /* eslint-disable curly */\n case 0:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx);\n }return;\n case 1:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx, a1);\n }return;\n case 2:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx, a1, a2);\n }return;\n case 3:\n while (++i < l) {\n (ev = events[i]).callback.call(ev.ctx, a1, a2, a3);\n }return;\n default:\n while (++i < l) {\n (ev = events[i]).callback.apply(ev.ctx, args);\n }return;\n }\n } catch (exception) {\n _log2.default.error.apply(_log2.default, [klass, 'error on event', name, 'trigger', '-', exception]);\n run();\n }\n }\n};\n\n/**\n * @class Events\n * @constructor\n * @module base\n */\n\nvar Events = function () {\n function Events() {\n (0, _classCallCheck3.default)(this, Events);\n }\n\n /**\n * listen to an event indefinitely, if you want to stop you need to call `off`\n * @method on\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n */\n Events.prototype.on = function on(name, callback, context) {\n if (!eventsApi(this, 'on', name, [callback, context]) || !callback) return this;\n this._events || (this._events = {});\n var events = this._events[name] || (this._events[name] = []);\n events.push({ callback: callback, context: context, ctx: context || this });\n return this;\n };\n\n /**\n * listen to an event only once\n * @method once\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n */\n\n\n Events.prototype.once = function once(name, callback, context) {\n var _this = this;\n\n var _once = void 0;\n if (!eventsApi(this, 'once', name, [callback, context]) || !callback) return this;\n var off = function off() {\n return _this.off(name, _once);\n };\n _once = function once() {\n off(name, _once);\n callback.apply(this, arguments);\n };\n return this.on(name, _once, context);\n };\n\n /**\n * stop listening to an event\n * @method off\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n */\n\n\n Events.prototype.off = function off(name, callback, context) {\n var retain = void 0,\n ev = void 0,\n events = void 0,\n names = void 0,\n i = void 0,\n l = void 0,\n j = void 0,\n k = void 0;\n if (!this._events || !eventsApi(this, 'off', name, [callback, context])) return this;\n if (!name && !callback && !context) {\n this._events = void 0;\n return this;\n }\n names = name ? [name] : (0, _keys2.default)(this._events);\n // jshint maxdepth:5\n for (i = 0, l = names.length; i < l; i++) {\n name = names[i];\n events = this._events[name];\n if (events) {\n this._events[name] = retain = [];\n if (callback || context) {\n for (j = 0, k = events.length; j < k; j++) {\n ev = events[j];\n if (callback && callback !== ev.callback && callback !== ev.callback._callback || context && context !== ev.context) retain.push(ev);\n }\n }\n if (!retain.length) delete this._events[name];\n }\n }\n return this;\n };\n\n /**\n * triggers an event given its `name`\n * @method trigger\n * @param {String} name\n */\n\n\n Events.prototype.trigger = function trigger(name) {\n var klass = this.name || this.constructor.name;\n _log2.default.debug.apply(_log2.default, [klass].concat(Array.prototype.slice.call(arguments)));\n if (!this._events) return this;\n var args = slice.call(arguments, 1);\n if (!eventsApi(this, 'trigger', name, args)) return this;\n var events = this._events[name];\n var allEvents = this._events.all;\n if (events) triggerEvents(events, args, klass, name);\n if (allEvents) triggerEvents(allEvents, arguments, klass, name);\n return this;\n };\n\n /**\n * stop listening an event for a given object\n * @method stopListening\n * @param {Object} obj\n * @param {String} name\n * @param {Function} callback\n */\n\n\n Events.prototype.stopListening = function stopListening(obj, name, callback) {\n var listeningTo = this._listeningTo;\n if (!listeningTo) return this;\n var remove = !name && !callback;\n if (!callback && (typeof name === 'undefined' ? 'undefined' : (0, _typeof3.default)(name)) === 'object') callback = this;\n if (obj) (listeningTo = {})[obj._listenId] = obj;\n for (var id in listeningTo) {\n obj = listeningTo[id];\n obj.off(name, callback, this);\n if (remove || (0, _keys2.default)(obj._events).length === 0) delete this._listeningTo[id];\n }\n return this;\n };\n\n Events.register = function register(eventName) {\n Events.Custom || (Events.Custom = {});\n var property = typeof eventName === 'string' && eventName.toUpperCase().trim();\n\n if (property && !Events.Custom[property]) {\n Events.Custom[property] = property.toLowerCase().split('_').map(function (value, index) {\n return index === 0 ? value : value = value[0].toUpperCase() + value.slice(1);\n }).join('');\n } else _log2.default.error('Events', 'Error when register event: ' + eventName);\n };\n\n Events.listAvailableCustomEvents = function listAvailableCustomEvents() {\n Events.Custom || (Events.Custom = {});\n return (0, _keys2.default)(Events.Custom).filter(function (property) {\n return typeof Events.Custom[property] === 'string';\n });\n };\n\n return Events;\n}();\n\n/**\n * listen to an event indefinitely for a given `obj`\n * @method listenTo\n * @param {Object} obj\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n * @example\n * ```javascript\n * this.listenTo(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)\n * ```\n */\n/**\n * listen to an event once for a given `obj`\n * @method listenToOnce\n * @param {Object} obj\n * @param {String} name\n * @param {Function} callback\n * @param {Object} context\n * @example\n * ```javascript\n * this.listenToOnce(this.core.playback, Events.PLAYBACK_PAUSE, this.callback)\n * ```\n */\n\n\nexports.default = Events;\nvar listenMethods = { listenTo: 'on', listenToOnce: 'once' };\n\n(0, _keys2.default)(listenMethods).forEach(function (method) {\n Events.prototype[method] = function (obj, name, callback) {\n var listeningTo = this._listeningTo || (this._listeningTo = {});\n var id = obj._listenId || (obj._listenId = (0, _utils.uniqueId)('l'));\n listeningTo[id] = obj;\n if (!callback && (typeof name === 'undefined' ? 'undefined' : (0, _typeof3.default)(name)) === 'object') callback = this;\n obj[listenMethods[method]](name, callback, this);\n return this;\n };\n});\n\n// PLAYER EVENTS\n/**\n * Fired when the player is ready on startup\n *\n * @event PLAYER_READY\n */\nEvents.PLAYER_READY = 'ready';\n/**\n * Fired when player resizes\n *\n * @event PLAYER_RESIZE\n * @param {Object} currentSize an object with the current size\n */\nEvents.PLAYER_RESIZE = 'resize';\n/**\n * Fired when player changes its fullscreen state\n *\n * @event PLAYER_FULLSCREEN\n * @param {Boolean} whether or not the player is on fullscreen mode\n */\nEvents.PLAYER_FULLSCREEN = 'fullscreen';\n/**\n * Fired when player starts to play\n *\n * @event PLAYER_PLAY\n */\nEvents.PLAYER_PLAY = 'play';\n/**\n * Fired when player pauses\n *\n * @event PLAYER_PAUSE\n */\nEvents.PLAYER_PAUSE = 'pause';\n/**\n * Fired when player stops\n *\n * @event PLAYER_STOP\n */\nEvents.PLAYER_STOP = 'stop';\n/**\n * Fired when player ends the video\n *\n * @event PLAYER_ENDED\n */\nEvents.PLAYER_ENDED = 'ended';\n/**\n * Fired when player seeks the video\n *\n * @event PLAYER_SEEK\n * @param {Number} time the current time in seconds\n */\nEvents.PLAYER_SEEK = 'seek';\n/**\n * Fired when player receives an error\n *\n * @event PLAYER_ERROR\n * @param {Object} error the error\n */\nEvents.PLAYER_ERROR = 'playererror';\n/**\n * Fired when there is an error\n *\n * @event ERROR\n * @param {Object} error\n * the error with the following format `{code, description, level, raw, origin, scope}`\n * @param {String} [options.code]\n * error's code: code to identify error in the following format: origin:code\n * @param {String} [options.description]\n * error's description: description of the error\n * @param {String} [options.level]\n * error's level: FATAL or WARN.\n * @param {String} [options.origin]\n * error's origin. Example: hls, html5, etc\n * @param {String} [options.scope]\n * error's scope. Example: playback, container, etc\n * @param {String} [options.raw]\n * raw error: the initial error received\n */\nEvents.ERROR = 'error';\n/**\n * Fired when the time is updated on player\n *\n * @event PLAYER_TIMEUPDATE\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.current]\n * current time (in seconds)\n * @param {Number} [progress.total]\n * total time (in seconds)\n */\nEvents.PLAYER_TIMEUPDATE = 'timeupdate';\n/**\n * Fired when player updates its volume\n *\n * @event PLAYER_VOLUMEUPDATE\n * @param {Number} volume the current volume\n */\nEvents.PLAYER_VOLUMEUPDATE = 'volumeupdate';\n\n/**\n * Fired when subtitle is available\n *\n * @event PLAYER_SUBTITLE_AVAILABLE\n */\nEvents.PLAYER_SUBTITLE_AVAILABLE = 'subtitleavailable';\n\n// Playback Events\n/**\n * Fired when the playback is downloading the media\n *\n * @event PLAYBACK_PROGRESS\n * @param progress {Object}\n * Data progress object\n * @param [progress.start] {Number}\n * start position of buffered content at current position\n * @param [progress.current] {Number}\n * end position of buffered content at current position\n * @param [progress.total] {Number}\n * total content to be downloaded\n * @param buffered {Array}\n * array of buffered segments ({start, end}). [Only for supported playbacks]\n */\nEvents.PLAYBACK_PROGRESS = 'playback:progress';\n/**\n * Fired when the time is updated on playback\n *\n * @event PLAYBACK_TIMEUPDATE\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.current]\n * current time (in seconds)\n * @param {Number} [progress.total]\n * total time (in seconds)\n */\nEvents.PLAYBACK_TIMEUPDATE = 'playback:timeupdate';\n/**\n * Fired when playback is ready\n *\n * @event PLAYBACK_READY\n */\nEvents.PLAYBACK_READY = 'playback:ready';\n/**\n * Fired when the playback starts having to buffer because\n * playback can currently not be smooth.\n *\n * This corresponds to the playback `buffering` property being\n * `true`.\n *\n * @event PLAYBACK_BUFFERING\n */\nEvents.PLAYBACK_BUFFERING = 'playback:buffering';\n/**\n * Fired when the playback has enough in the buffer to be\n * able to play smoothly, after previously being unable to\n * do this.\n *\n * This corresponds to the playback `buffering` property being\n * `false`.\n *\n * @event PLAYBACK_BUFFERFULL\n */\nEvents.PLAYBACK_BUFFERFULL = 'playback:bufferfull';\n/**\n * Fired when playback changes any settings (volume, seek and etc)\n *\n * @event PLAYBACK_SETTINGSUPDATE\n */\nEvents.PLAYBACK_SETTINGSUPDATE = 'playback:settingsupdate';\n/**\n * Fired when playback loaded its metadata\n *\n * @event PLAYBACK_LOADEDMETADATA\n * @param {Object} metadata Data\n * settings object\n * @param {Number} [metadata.duration]\n * the playback duration\n * @param {Object} [metadata.data]\n * extra meta data\n */\nEvents.PLAYBACK_LOADEDMETADATA = 'playback:loadedmetadata';\n/**\n * Fired when playback updates its video quality\n *\n * @event PLAYBACK_HIGHDEFINITIONUPDATE\n * @param {Boolean} isHD\n * true when is on HD, false otherwise\n */\nEvents.PLAYBACK_HIGHDEFINITIONUPDATE = 'playback:highdefinitionupdate';\n/**\n * Fired when playback updates its bitrate\n *\n * @event PLAYBACK_BITRATE\n * @param {Object} bitrate Data\n * bitrate object\n * @param {Number} [bitrate.bandwidth]\n * bitrate bandwidth when it's available\n * @param {Number} [bitrate.width]\n * playback width (ex: 720, 640, 1080)\n * @param {Number} [bitrate.height]\n * playback height (ex: 240, 480, 720)\n * @param {Number} [bitrate.level]\n * playback level when it's available, it could be just a map for width (0 => 240, 1 => 480, 2 => 720)\n */\nEvents.PLAYBACK_BITRATE = 'playback:bitrate';\n/**\n * Fired when the playback has its levels\n *\n * @event PLAYBACK_LEVELS_AVAILABLE\n * @param {Array} levels\n * the ordered levels, each one with the following format `{id: 1, label: '500kbps'}` ps: id should be a number >= 0\n * @param {Number} initial\n * the initial level otherwise -1 (AUTO)\n */\nEvents.PLAYBACK_LEVELS_AVAILABLE = 'playback:levels:available';\n/**\n * Fired when the playback starts to switch level\n *\n * @event PLAYBACK_LEVEL_SWITCH_START\n *\n */\nEvents.PLAYBACK_LEVEL_SWITCH_START = 'playback:levels:switch:start';\n/**\n * Fired when the playback ends the level switch\n *\n * @event PLAYBACK_LEVEL_SWITCH_END\n *\n */\nEvents.PLAYBACK_LEVEL_SWITCH_END = 'playback:levels:switch:end';\n\n/**\n * Fired when playback internal state changes\n *\n * @event PLAYBACK_PLAYBACKSTATE\n * @param {Object} state Data\n * state object\n * @param {String} [state.type]\n * the playback type\n */\nEvents.PLAYBACK_PLAYBACKSTATE = 'playback:playbackstate';\n/**\n * Fired when DVR becomes enabled/disabled.\n *\n * @event PLAYBACK_DVR\n * @param {boolean} state true if dvr enabled\n */\nEvents.PLAYBACK_DVR = 'playback:dvr';\n// TODO doc\nEvents.PLAYBACK_MEDIACONTROL_DISABLE = 'playback:mediacontrol:disable';\n// TODO doc\nEvents.PLAYBACK_MEDIACONTROL_ENABLE = 'playback:mediacontrol:enable';\n/**\n * Fired when the media for a playback ends.\n *\n * @event PLAYBACK_ENDED\n * @param {String} name the name of the playback\n */\nEvents.PLAYBACK_ENDED = 'playback:ended';\n/**\n * Fired when user requests `play()`\n *\n * @event PLAYBACK_PLAY_INTENT\n */\nEvents.PLAYBACK_PLAY_INTENT = 'playback:play:intent';\n/**\n * Fired when the media for a playback starts playing.\n * This is not necessarily when the user requests `play()`\n * The media may have to buffer first.\n * I.e. `isPlaying()` might return `true` before this event is fired,\n * because `isPlaying()` represents the intended state.\n *\n * @event PLAYBACK_PLAY\n */\nEvents.PLAYBACK_PLAY = 'playback:play';\n/**\n * Fired when the media for a playback pauses.\n *\n * @event PLAYBACK_PAUSE\n */\nEvents.PLAYBACK_PAUSE = 'playback:pause';\n/**\n * Fired when the media for a playback is seeking.\n *\n * @event PLAYBACK_SEEK\n */\nEvents.PLAYBACK_SEEK = 'playback:seek';\n/**\n * Fired when the media for a playback is seeked.\n *\n * @event PLAYBACK_SEEKED\n */\nEvents.PLAYBACK_SEEKED = 'playback:seeked';\n/**\n * Fired when the media for a playback is stopped.\n *\n * @event PLAYBACK_STOP\n */\nEvents.PLAYBACK_STOP = 'playback:stop';\n/**\n * Fired if an error occurs in the playback.\n *\n * @event PLAYBACK_ERROR\n * @param {Object} error An object containing the error details\n * @param {String} name Playback name\n */\nEvents.PLAYBACK_ERROR = 'playback:error';\n// TODO doc\nEvents.PLAYBACK_STATS_ADD = 'playback:stats:add';\n// TODO doc\nEvents.PLAYBACK_FRAGMENT_LOADED = 'playback:fragment:loaded';\n// TODO doc\nEvents.PLAYBACK_LEVEL_SWITCH = 'playback:level:switch';\n/**\n * Fired when subtitle is available on playback for display\n *\n * @event PLAYBACK_SUBTITLE_AVAILABLE\n */\nEvents.PLAYBACK_SUBTITLE_AVAILABLE = 'playback:subtitle:available';\n/**\n * Fired when playback subtitle track has changed\n *\n * @event CONTAINER_SUBTITLE_CHANGED\n * @param {Object} track Data\n * track object\n * @param {Number} [track.id]\n * selected track id\n */\nEvents.PLAYBACK_SUBTITLE_CHANGED = 'playback:subtitle:changed';\n\n// Core Events\n/**\n * Fired when the containers are created\n *\n * @event CORE_CONTAINERS_CREATED\n */\nEvents.CORE_CONTAINERS_CREATED = 'core:containers:created';\n/**\n * Fired when the active container changed\n *\n * @event CORE_ACTIVE_CONTAINER_CHANGED\n */\nEvents.CORE_ACTIVE_CONTAINER_CHANGED = 'core:active:container:changed';\n/**\n * Fired when the options were changed for the core\n *\n * @event CORE_OPTIONS_CHANGE\n * @param {Object} new options provided to configure() method\n */\nEvents.CORE_OPTIONS_CHANGE = 'core:options:change';\n/**\n * Fired after creating containers, when the core is ready\n *\n * @event CORE_READY\n */\nEvents.CORE_READY = 'core:ready';\n/**\n * Fired when the fullscreen state change\n *\n * @event CORE_FULLSCREEN\n * @param {Boolean} whether or not the player is on fullscreen mode\n */\nEvents.CORE_FULLSCREEN = 'core:fullscreen';\n/**\n * Fired when core updates size\n *\n * @event CORE_RESIZE\n * @param {Object} currentSize an object with the current size\n */\nEvents.CORE_RESIZE = 'core:resize';\n/**\n * Fired when the screen orientation has changed.\n * This event is trigger only for mobile devices.\n *\n * @event CORE_SCREEN_ORIENTATION_CHANGED\n * @param {Object} screen An object with screen orientation\n * screen object\n * @param {Object} [screen.event]\n * window resize event object\n * @param {String} [screen.orientation]\n * screen orientation (ie: 'landscape' or 'portrait')\n */\nEvents.CORE_SCREEN_ORIENTATION_CHANGED = 'core:screen:orientation:changed';\n/**\n * Fired when occurs mouse move event on core element\n *\n * @event CORE_MOUSE_MOVE\n * @param {Object} event a DOM event\n */\nEvents.CORE_MOUSE_MOVE = 'core:mousemove';\n/**\n * Fired when occurs mouse leave event on core element\n *\n * @event CORE_MOUSE_LEAVE\n * @param {Object} event a DOM event\n */\nEvents.CORE_MOUSE_LEAVE = 'core:mouseleave';\n\n// Container Events\n/**\n * Fired when the container internal state changes\n *\n * @event CONTAINER_PLAYBACKSTATE\n * @param {Object} state Data\n * state object\n * @param {String} [state.type]\n * the playback type\n */\nEvents.CONTAINER_PLAYBACKSTATE = 'container:playbackstate';\nEvents.CONTAINER_PLAYBACKDVRSTATECHANGED = 'container:dvr';\n/**\n * Fired when the container updates its bitrate\n *\n * @event CONTAINER_BITRATE\n * @param {Object} bitrate Data\n * bitrate object\n * @param {Number} [bitrate.bandwidth]\n * bitrate bandwidth when it's available\n * @param {Number} [bitrate.width]\n * playback width (ex: 720, 640, 1080)\n * @param {Number} [bitrate.height]\n * playback height (ex: 240, 480, 720)\n * @param {Number} [bitrate.level]\n * playback level when it's available, it could be just a map for width (0 => 240, 1 => 480, 2 => 720)\n */\nEvents.CONTAINER_BITRATE = 'container:bitrate';\nEvents.CONTAINER_STATS_REPORT = 'container:stats:report';\nEvents.CONTAINER_DESTROYED = 'container:destroyed';\n/**\n * Fired when the container is ready\n *\n * @event CONTAINER_READY\n */\nEvents.CONTAINER_READY = 'container:ready';\nEvents.CONTAINER_ERROR = 'container:error';\n/**\n * Fired when the container loaded its metadata\n *\n * @event CONTAINER_LOADEDMETADATA\n * @param {Object} metadata Data\n * settings object\n * @param {Number} [metadata.duration]\n * the playback duration\n * @param {Object} [metadata.data]\n * extra meta data\n */\nEvents.CONTAINER_LOADEDMETADATA = 'container:loadedmetadata';\n\n/**\n * Fired when subtitle is available on container for display\n *\n * @event CONTAINER_SUBTITLE_AVAILABLE\n */\nEvents.CONTAINER_SUBTITLE_AVAILABLE = 'container:subtitle:available';\n/**\n * Fired when subtitle track has changed\n *\n * @event CONTAINER_SUBTITLE_CHANGED\n * @param {Object} track Data\n * track object\n * @param {Number} [track.id]\n * selected track id\n */\nEvents.CONTAINER_SUBTITLE_CHANGED = 'container:subtitle:changed';\n\n/**\n * Fired when the time is updated on container\n *\n * @event CONTAINER_TIMEUPDATE\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.current]\n * current time (in seconds)\n * @param {Number} [progress.total]\n * total time (in seconds)\n */\nEvents.CONTAINER_TIMEUPDATE = 'container:timeupdate';\n/**\n * Fired when the container is downloading the media\n *\n * @event CONTAINER_PROGRESS\n * @param {Object} progress Data\n * progress object\n * @param {Number} [progress.start]\n * initial downloaded content\n * @param {Number} [progress.current]\n * current dowloaded content\n * @param {Number} [progress.total]\n * total content to be downloaded\n */\nEvents.CONTAINER_PROGRESS = 'container:progress';\nEvents.CONTAINER_PLAY = 'container:play';\nEvents.CONTAINER_STOP = 'container:stop';\nEvents.CONTAINER_PAUSE = 'container:pause';\nEvents.CONTAINER_ENDED = 'container:ended';\nEvents.CONTAINER_CLICK = 'container:click';\nEvents.CONTAINER_DBLCLICK = 'container:dblclick';\nEvents.CONTAINER_CONTEXTMENU = 'container:contextmenu';\nEvents.CONTAINER_MOUSE_ENTER = 'container:mouseenter';\nEvents.CONTAINER_MOUSE_LEAVE = 'container:mouseleave';\n/**\n * Fired when the container seeks the video\n *\n * @event CONTAINER_SEEK\n * @param {Number} time the current time in seconds\n */\nEvents.CONTAINER_SEEK = 'container:seek';\n/**\n * Fired when the container was finished the seek video\n *\n * @event CONTAINER_SEEKED\n * @param {Number} time the current time in seconds\n */\nEvents.CONTAINER_SEEKED = 'container:seeked';\nEvents.CONTAINER_VOLUME = 'container:volume';\nEvents.CONTAINER_FULLSCREEN = 'container:fullscreen';\n/**\n * Fired when container is buffering\n *\n * @event CONTAINER_STATE_BUFFERING\n */\nEvents.CONTAINER_STATE_BUFFERING = 'container:state:buffering';\n/**\n * Fired when the container filled the buffer\n *\n * @event CONTAINER_STATE_BUFFERFULL\n */\nEvents.CONTAINER_STATE_BUFFERFULL = 'container:state:bufferfull';\n/**\n * Fired when the container changes any settings (volume, seek and etc)\n *\n * @event CONTAINER_SETTINGSUPDATE\n */\nEvents.CONTAINER_SETTINGSUPDATE = 'container:settingsupdate';\n/**\n * Fired when container updates its video quality\n *\n * @event CONTAINER_HIGHDEFINITIONUPDATE\n * @param {Boolean} isHD\n * true when is on HD, false otherwise\n */\nEvents.CONTAINER_HIGHDEFINITIONUPDATE = 'container:highdefinitionupdate';\n\n/**\n * Fired when the media control shows\n *\n * @event CONTAINER_MEDIACONTROL_SHOW\n */\nEvents.CONTAINER_MEDIACONTROL_SHOW = 'container:mediacontrol:show';\n/**\n * Fired when the media control hides\n *\n * @event CONTAINER_MEDIACONTROL_HIDE\n */\nEvents.CONTAINER_MEDIACONTROL_HIDE = 'container:mediacontrol:hide';\n\nEvents.CONTAINER_MEDIACONTROL_DISABLE = 'container:mediacontrol:disable';\nEvents.CONTAINER_MEDIACONTROL_ENABLE = 'container:mediacontrol:enable';\nEvents.CONTAINER_STATS_ADD = 'container:stats:add';\n/**\n * Fired when the options were changed for the container\n *\n * @event CONTAINER_OPTIONS_CHANGE\n */\nEvents.CONTAINER_OPTIONS_CHANGE = 'container:options:change';\n\n// MediaControl Events\nEvents.MEDIACONTROL_RENDERED = 'mediacontrol:rendered';\n/**\n * Fired when the player enters/exit on fullscreen\n *\n * @event MEDIACONTROL_FULLSCREEN\n */\nEvents.MEDIACONTROL_FULLSCREEN = 'mediacontrol:fullscreen';\n/**\n * Fired when the media control shows\n *\n * @event MEDIACONTROL_SHOW\n */\nEvents.MEDIACONTROL_SHOW = 'mediacontrol:show';\n/**\n * Fired when the media control hides\n *\n * @event MEDIACONTROL_HIDE\n */\nEvents.MEDIACONTROL_HIDE = 'mediacontrol:hide';\n/**\n * Fired when mouse enters on the seekbar\n *\n * @event MEDIACONTROL_MOUSEMOVE_SEEKBAR\n * @param {Object} event\n * the javascript event\n */\nEvents.MEDIACONTROL_MOUSEMOVE_SEEKBAR = 'mediacontrol:mousemove:seekbar';\n/**\n * Fired when mouse leaves the seekbar\n *\n * @event MEDIACONTROL_MOUSELEAVE_SEEKBAR\n * @param {Object} event\n * the javascript event\n */\nEvents.MEDIACONTROL_MOUSELEAVE_SEEKBAR = 'mediacontrol:mouseleave:seekbar';\n/**\n * Fired when the media is being played\n *\n * @event MEDIACONTROL_PLAYING\n */\nEvents.MEDIACONTROL_PLAYING = 'mediacontrol:playing';\n/**\n * Fired when the media is not being played\n *\n * @event MEDIACONTROL_NOTPLAYING\n */\nEvents.MEDIACONTROL_NOTPLAYING = 'mediacontrol:notplaying';\n/**\n * Fired when the container was changed\n *\n * @event MEDIACONTROL_CONTAINERCHANGED\n */\nEvents.MEDIACONTROL_CONTAINERCHANGED = 'mediacontrol:containerchanged';\n/**\n * Fired when the options were changed for the mediacontrol\n *\n * @event MEDIACONTROL_OPTIONS_CHANGE\n */\nEvents.MEDIACONTROL_OPTIONS_CHANGE = 'mediacontrol:options:change';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/media.js\":\n/*!***************************!*\\\n !*** ./src/base/media.js ***!\n \\***************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n// https://github.com/mathiasbynens/small\nvar mp4 = exports.mp4 = 'data:video/mp4;base64,AAAAHGZ0eXBpc29tAAACAGlzb21pc28ybXA0MQAAAAhmcmVlAAAC721kYXQhEAUgpBv/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA3pwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcCEQBSCkG//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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QWAgIACEhAGgICAAQIAAAAYc3R0cwAAAAAAAAABAAAAAgAABAAAAAAcc3RzYwAAAAAAAAABAAAAAQAAAAIAAAABAAAAHHN0c3oAAAAAAAAAAAAAAAIAAAFzAAABdAAAABRzdGNvAAAAAAAAAAEAAAAsAAAAYnVkdGEAAABabWV0YQAAAAAAAAAhaGRscgAAAAAAAAAAbWRpcmFwcGwAAAAAAAAAAAAAAAAtaWxzdAAAACWpdG9vAAAAHWRhdGEAAAABAAAAAExhdmY1Ni40MC4xMDE=';\n\nexports.default = {\n mp4: mp4\n};\n\n/***/ }),\n\n/***/ \"./src/base/playback.js\":\n/*!******************************!*\\\n !*** ./src/base/playback.js ***!\n \\******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _ui_object = __webpack_require__(/*! ./ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * An abstraction to represent a generic playback, it's like an interface to be implemented by subclasses.\n * @class Playback\n * @constructor\n * @extends UIObject\n * @module base\n */\nvar Playback = function (_UIObject) {\n (0, _inherits3.default)(Playback, _UIObject);\n (0, _createClass3.default)(Playback, [{\n key: 'isAudioOnly',\n\n /**\n * Determine if the playback does not contain video/has video but video should be ignored.\n * @property isAudioOnly\n * @type Boolean\n */\n get: function get() {\n return false;\n }\n }, {\n key: 'isAdaptive',\n get: function get() {\n return false;\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return false;\n }\n\n /**\n * The internationalization plugin.\n * @property i18n\n * @type {Strings}\n */\n\n }, {\n key: 'i18n',\n get: function get() {\n return this._i18n;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * (i.e if a live stream is playing smoothly, this will be false)\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return false;\n }\n\n /**\n * Determine if the playback has user consent.\n * @property consented\n * @type Boolean\n */\n\n }, {\n key: 'consented',\n get: function get() {\n return this._consented;\n }\n\n /**\n * @method constructor\n * @param {Object} options the options object\n * @param {Strings} i18n the internationalization component\n */\n\n }]);\n\n function Playback(options, i18n, playerError) {\n (0, _classCallCheck3.default)(this, Playback);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, options));\n\n _this.settings = {};\n _this._i18n = i18n;\n _this.playerError = playerError;\n _this._consented = false;\n return _this;\n }\n\n /**\n * Gives user consent to playback (mobile devices).\n * @method consent\n */\n\n\n Playback.prototype.consent = function consent() {\n this._consented = true;\n };\n\n /**\n * plays the playback.\n * @method play\n */\n\n\n Playback.prototype.play = function play() {};\n\n /**\n * pauses the playback.\n * @method pause\n */\n\n\n Playback.prototype.pause = function pause() {};\n\n /**\n * stops the playback.\n * @method stop\n */\n\n\n Playback.prototype.stop = function stop() {};\n\n /**\n * seeks the playback to a given `time` in seconds\n * @method seek\n * @param {Number} time should be a number between 0 and the video duration\n */\n\n\n Playback.prototype.seek = function seek(time) {}; // eslint-disable-line no-unused-vars\n\n /**\n * seeks the playback to a given `percentage` in percentage\n * @method seekPercentage\n * @param {Number} time should be a number between 0 and 100\n */\n\n\n Playback.prototype.seekPercentage = function seekPercentage(percentage) {}; // eslint-disable-line no-unused-vars\n\n /**\n * The time that \"0\" now represents relative to when playback started.\n * For a stream with a sliding window this will increase as content is\n * removed from the beginning.\n * @method getStartTimeOffset\n * @return {Number} time (in seconds) that time \"0\" represents.\n */\n\n\n Playback.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return 0;\n };\n\n /**\n * gets the duration in seconds\n * @method getDuration\n * @return {Number} duration (in seconds) of the current source\n */\n\n\n Playback.prototype.getDuration = function getDuration() {\n return 0;\n };\n\n /**\n * checks if the playback is playing.\n * @method isPlaying\n * @return {Boolean} `true` if the current playback is playing, otherwise `false`\n */\n\n\n Playback.prototype.isPlaying = function isPlaying() {\n return false;\n };\n\n /**\n * checks if the playback is ready.\n * @property isReady\n * @type {Boolean} `true` if the current playback is ready, otherwise `false`\n */\n\n\n // eslint-disable-line no-unused-vars\n\n /**\n * gets the playback type (`'vod', 'live', 'aod'`)\n * @method getPlaybackType\n * @return {String} you should write the playback type otherwise it'll assume `'no_op'`\n * @example\n * ```javascript\n * html5VideoPlayback.getPlaybackType() //vod\n * html5AudioPlayback.getPlaybackType() //aod\n * html5VideoPlayback.getPlaybackType() //live\n * flashHlsPlayback.getPlaybackType() //live\n * ```\n */\n Playback.prototype.getPlaybackType = function getPlaybackType() {\n return Playback.NO_OP;\n };\n\n /**\n * checks if the playback is in HD.\n * @method isHighDefinitionInUse\n * @return {Boolean} `true` if the playback is playing in HD, otherwise `false`\n */\n\n\n Playback.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return false;\n };\n\n /**\n * sets the volume for the playback\n * @method volume\n * @param {Number} value a number between 0 (`muted`) to 100 (`max`)\n */\n\n\n Playback.prototype.volume = function volume(value) {}; // eslint-disable-line no-unused-vars\n\n /**\n * enables to configure the playback after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n Playback.prototype.configure = function configure(options) {\n this._options = _clapprZepto2.default.extend(this._options, options);\n };\n\n /**\n * attempt to autoplays the playback.\n * @method attemptAutoPlay\n */\n\n\n Playback.prototype.attemptAutoPlay = function attemptAutoPlay() {\n var _this2 = this;\n\n this.canAutoPlay(function (result, error) {\n // eslint-disable-line no-unused-vars\n result && _this2.play();\n });\n };\n\n /**\n * checks if the playback can autoplay.\n * @method canAutoPlay\n * @param {Function} callback function where first param is Boolean and second param is playback Error or null\n */\n\n\n Playback.prototype.canAutoPlay = function canAutoPlay(cb) {\n cb(true, null); // Assume playback can autoplay by default\n };\n\n (0, _createClass3.default)(Playback, [{\n key: 'isReady',\n get: function get() {\n return false;\n }\n\n /**\n * checks if the playback has closed caption tracks.\n * @property hasClosedCaptionsTracks\n * @type {Boolean}\n */\n\n }, {\n key: 'hasClosedCaptionsTracks',\n get: function get() {\n return this.closedCaptionsTracks.length > 0;\n }\n\n /**\n * gets the playback available closed caption tracks.\n * @property closedCaptionsTracks\n * @type {Array} an array of objects with at least 'id' and 'name' properties\n */\n\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n return [];\n }\n\n /**\n * gets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return -1;\n }\n\n /**\n * sets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n ,\n set: function set(trackId) {}\n }]);\n return Playback;\n}(_ui_object2.default);\n\nexports.default = Playback;\n\n\n(0, _assign2.default)(Playback.prototype, _error_mixin2.default);\n\nPlayback.extend = function (properties) {\n return (0, _utils.extend)(Playback, properties);\n};\n\n/**\n * checks if the playback can play a given `source`\n * If a mimeType is provided then this will be used instead of inferring the mimetype\n * from the source extension.\n * @method canPlay\n * @static\n * @param {String} source the given source ex: `http://example.com/play.mp4`\n * @param {String} [mimeType] the given mime type, ex: `'application/vnd.apple.mpegurl'`\n * @return {Boolean} `true` if the playback is playable, otherwise `false`\n */\nPlayback.canPlay = function (source, mimeType) {\n // eslint-disable-line no-unused-vars\n return false;\n};\n\n/**\n * a playback type for video on demand\n *\n * @property VOD\n * @static\n * @type String\n */\nPlayback.VOD = 'vod';\n/**\n * a playback type for audio on demand\n *\n * @property AOD\n * @static\n * @type String\n */\nPlayback.AOD = 'aod';\n/**\n * a playback type for live video\n *\n * @property LIVE\n * @static\n * @type String\n */\nPlayback.LIVE = 'live';\n/**\n * a default playback type\n *\n * @property NO_OP\n * @static\n * @type String\n */\nPlayback.NO_OP = 'no_op';\n/**\n * the plugin type\n *\n * @property type\n * @static\n * @type String\n */\nPlayback.type = 'playback';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/polyfills.js\":\n/*!*******************************!*\\\n !*** ./src/base/polyfills.js ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * Array.prototype.find\n *\n * Original source : https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n * See also : https://tc39.github.io/ecma262/#sec-array.prototype.find\n */\nif (!Array.prototype.find) {\n // eslint-disable-next-line\n Object.defineProperty(Array.prototype, 'find', {\n // Note: ES6 arrow function syntax is not used on purpose to avoid this to be undefined\n value: function value(predicate) {\n // 1. Let O be ? ToObject(this value).\n if (this == null) throw new TypeError('\"this\" is null or not defined');\n\n var o = Object(this);\n\n // 2. Let len be ? ToLength(? Get(O, \"length\")).\n var len = o.length >>> 0;\n\n // 3. If IsCallable(predicate) is false, throw a TypeError exception.\n if (typeof predicate !== 'function') throw new TypeError('predicate must be a function');\n\n // 4. If thisArg was supplied, let T be thisArg; else let T be undefined.\n var thisArg = arguments[1];\n\n // 5. Let k be 0.\n var k = 0;\n\n // 6. Repeat, while k < len\n while (k < len) {\n // a. Let Pk be ! ToString(k).\n // b. Let kValue be ? Get(O, Pk).\n // c. Let testResult be ToBoolean(? Call(predicate, T, « kValue, k, O »)).\n // d. If testResult is true, return kValue.\n var kValue = o[k];\n if (predicate.call(thisArg, kValue, k, o)) return kValue;\n\n // e. Increase k by 1.\n k++;\n }\n\n // 7. Return undefined.\n return undefined;\n }\n });\n}\n\n/***/ }),\n\n/***/ \"./src/base/styler.js\":\n/*!****************************!*\\\n !*** ./src/base/styler.js ***!\n \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _template = __webpack_require__(/*! ./template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Styler = {\n getStyleFor: function getStyleFor(style) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : { baseUrl: '' };\n\n return (0, _clapprZepto2.default)('<style class=\"clappr-style\"></style>').html((0, _template2.default)(style.toString())(options));\n }\n};\n\nexports.default = Styler;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/svg_icons.js\":\n/*!*******************************!*\\\n !*** ./src/base/svg_icons.js ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.volumeMute = exports.volume = exports.stop = exports.reload = exports.play = exports.pause = exports.hd = exports.fullscreen = exports.exitFullscreen = exports.cc = undefined;\n\nvar _play = __webpack_require__(/*! ../icons/01-play.svg */ \"./src/icons/01-play.svg\");\n\nvar _play2 = _interopRequireDefault(_play);\n\nvar _pause = __webpack_require__(/*! ../icons/02-pause.svg */ \"./src/icons/02-pause.svg\");\n\nvar _pause2 = _interopRequireDefault(_pause);\n\nvar _stop = __webpack_require__(/*! ../icons/03-stop.svg */ \"./src/icons/03-stop.svg\");\n\nvar _stop2 = _interopRequireDefault(_stop);\n\nvar _volume = __webpack_require__(/*! ../icons/04-volume.svg */ \"./src/icons/04-volume.svg\");\n\nvar _volume2 = _interopRequireDefault(_volume);\n\nvar _mute = __webpack_require__(/*! ../icons/05-mute.svg */ \"./src/icons/05-mute.svg\");\n\nvar _mute2 = _interopRequireDefault(_mute);\n\nvar _expand = __webpack_require__(/*! ../icons/06-expand.svg */ \"./src/icons/06-expand.svg\");\n\nvar _expand2 = _interopRequireDefault(_expand);\n\nvar _shrink = __webpack_require__(/*! ../icons/07-shrink.svg */ \"./src/icons/07-shrink.svg\");\n\nvar _shrink2 = _interopRequireDefault(_shrink);\n\nvar _hd = __webpack_require__(/*! ../icons/08-hd.svg */ \"./src/icons/08-hd.svg\");\n\nvar _hd2 = _interopRequireDefault(_hd);\n\nvar _cc = __webpack_require__(/*! ../icons/09-cc.svg */ \"./src/icons/09-cc.svg\");\n\nvar _cc2 = _interopRequireDefault(_cc);\n\nvar _reload = __webpack_require__(/*! ../icons/10-reload.svg */ \"./src/icons/10-reload.svg\");\n\nvar _reload2 = _interopRequireDefault(_reload);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar cc = exports.cc = _cc2.default;\nvar exitFullscreen = exports.exitFullscreen = _shrink2.default;\nvar fullscreen = exports.fullscreen = _expand2.default;\nvar hd = exports.hd = _hd2.default;\nvar pause = exports.pause = _pause2.default;\nvar play = exports.play = _play2.default;\nvar reload = exports.reload = _reload2.default;\nvar stop = exports.stop = _stop2.default;\nvar volume = exports.volume = _volume2.default;\nvar volumeMute = exports.volumeMute = _mute2.default;\n\nexports.default = {\n cc: _cc2.default,\n exitFullscreen: _shrink2.default,\n fullscreen: _expand2.default,\n hd: _hd2.default,\n pause: _pause2.default,\n play: _play2.default,\n reload: _reload2.default,\n stop: _stop2.default,\n volume: _volume2.default,\n volumeMute: _mute2.default\n};\n\n/***/ }),\n\n/***/ \"./src/base/template.js\":\n/*!******************************!*\\\n !*** ./src/base/template.js ***!\n \\******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable no-var */\n// Simple JavaScript Templating\n// Paul Miller (http://paulmillr.com)\n// http://underscorejs.org\n// (c) 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n\n// By default, Underscore uses ERB-style template delimiters, change the\n// following template settings to use alternative delimiters.\nvar settings = {\n evaluate: /<%([\\s\\S]+?)%>/g,\n interpolate: /<%=([\\s\\S]+?)%>/g,\n escape: /<%-([\\s\\S]+?)%>/g\n\n // When customizing `templateSettings`, if you don't want to define an\n // interpolation, evaluation or escaping regex, we need one that is\n // guaranteed not to match.\n};var noMatch = /(.)^/;\n\n// Certain characters need to be escaped so that they can be put into a\n// string literal.\nvar escapes = {\n '\\'': '\\'',\n '\\\\': '\\\\',\n '\\r': 'r',\n '\\n': 'n',\n '\\t': 't',\n '\\u2028': 'u2028',\n '\\u2029': 'u2029'\n};\n\nvar escaper = /\\\\|'|\\r|\\n|\\t|\\u2028|\\u2029/g;\n\n// List of HTML entities for escaping.\nvar htmlEntities = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n '\\'': '&#x27;'\n};\n\nvar entityRe = new RegExp('[&<>\"\\']', 'g');\n\nvar escapeExpr = function escapeExpr(string) {\n if (string === null) return '';\n return ('' + string).replace(entityRe, function (match) {\n return htmlEntities[match];\n });\n};\n\nvar counter = 0;\n\n// JavaScript micro-templating, similar to John Resig's implementation.\n// Underscore templating handles arbitrary delimiters, preserves whitespace,\n// and correctly escapes quotes within interpolated code.\nvar tmpl = function tmpl(text, data) {\n var render;\n\n // Combine delimiters into one regular expression via alternation.\n var matcher = new RegExp([(settings.escape || noMatch).source, (settings.interpolate || noMatch).source, (settings.evaluate || noMatch).source].join('|') + '|$', 'g');\n\n // Compile the template source, escaping string literals appropriately.\n var index = 0;\n var source = '__p+=\\'';\n text.replace(matcher, function (match, escape, interpolate, evaluate, offset) {\n source += text.slice(index, offset).replace(escaper, function (match) {\n return '\\\\' + escapes[match];\n });\n\n if (escape) source += '\\'+\\n((__t=(' + escape + '))==null?\\'\\':escapeExpr(__t))+\\n\\'';\n\n if (interpolate) source += '\\'+\\n((__t=(' + interpolate + '))==null?\\'\\':__t)+\\n\\'';\n\n if (evaluate) source += '\\';\\n' + evaluate + '\\n__p+=\\'';\n\n index = offset + match.length;\n return match;\n });\n source += '\\';\\n';\n\n // If a variable is not specified, place data values in local scope.\n if (!settings.variable) source = 'with(obj||{}){\\n' + source + '}\\n';\n\n source = 'var __t,__p=\\'\\',__j=Array.prototype.join,' + 'print=function(){__p+=__j.call(arguments,\\'\\');};\\n' + source + 'return __p;\\n//# sourceURL=/microtemplates/source[' + counter++ + ']';\n\n try {\n /*jshint -W054 */\n // TODO: find a way to avoid eval\n render = new Function(settings.variable || 'obj', 'escapeExpr', source);\n } catch (e) {\n e.source = source;\n throw e;\n }\n\n if (data) return render(data, escapeExpr);\n var template = function template(data) {\n return render.call(this, data, escapeExpr);\n };\n\n // Provide the compiled function source as a convenience for precompilation.\n template.source = 'function(' + (settings.variable || 'obj') + '){\\n' + source + '}';\n\n return template;\n};\ntmpl.settings = settings;\n\nexports.default = tmpl;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/ui_container_plugin.js\":\n/*!*****************************************!*\\\n !*** ./src/base/ui_container_plugin.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _ui_object = __webpack_require__(/*! ./ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The base class for an ui container plugin\n * @class UIContainerPlugin\n * @constructor\n * @extends UIObject\n * @module base\n */\nvar UIContainerPlugin = function (_UIObject) {\n (0, _inherits3.default)(UIContainerPlugin, _UIObject);\n (0, _createClass3.default)(UIContainerPlugin, [{\n key: 'playerError',\n get: function get() {\n return this.container.playerError;\n }\n }]);\n\n function UIContainerPlugin(container) {\n (0, _classCallCheck3.default)(this, UIContainerPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, container.options));\n\n _this.container = container;\n _this.enabled = true;\n _this.bindEvents();\n return _this;\n }\n\n UIContainerPlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.$el.show();\n this.enabled = true;\n }\n };\n\n UIContainerPlugin.prototype.disable = function disable() {\n this.stopListening();\n this.$el.hide();\n this.enabled = false;\n };\n\n UIContainerPlugin.prototype.bindEvents = function bindEvents() {};\n\n return UIContainerPlugin;\n}(_ui_object2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = UIContainerPlugin;\n\n\n(0, _assign2.default)(UIContainerPlugin.prototype, _error_mixin2.default);\n\nUIContainerPlugin.extend = function (properties) {\n return (0, _utils.extend)(UIContainerPlugin, properties);\n};\n\nUIContainerPlugin.type = 'container';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/ui_core_plugin.js\":\n/*!************************************!*\\\n !*** ./src/base/ui_core_plugin.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _ui_object = __webpack_require__(/*! ./ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ./error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar UICorePlugin = function (_UIObject) {\n (0, _inherits3.default)(UICorePlugin, _UIObject);\n (0, _createClass3.default)(UICorePlugin, [{\n key: 'playerError',\n get: function get() {\n return this.core.playerError;\n }\n }]);\n\n function UICorePlugin(core) {\n (0, _classCallCheck3.default)(this, UICorePlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, core.options));\n\n _this.core = core;\n _this.enabled = true;\n _this.bindEvents();\n _this.render();\n return _this;\n }\n\n UICorePlugin.prototype.bindEvents = function bindEvents() {};\n\n UICorePlugin.prototype.getExternalInterface = function getExternalInterface() {\n return {};\n };\n\n UICorePlugin.prototype.enable = function enable() {\n if (!this.enabled) {\n this.bindEvents();\n this.$el.show();\n this.enabled = true;\n }\n };\n\n UICorePlugin.prototype.disable = function disable() {\n this.stopListening();\n this.$el.hide();\n this.enabled = false;\n };\n\n UICorePlugin.prototype.render = function render() {\n return this;\n };\n\n return UICorePlugin;\n}(_ui_object2.default);\n\nexports.default = UICorePlugin;\n\n\n(0, _assign2.default)(UICorePlugin.prototype, _error_mixin2.default);\n\nUICorePlugin.extend = function (properties) {\n return (0, _utils.extend)(UICorePlugin, properties);\n};\n\nUICorePlugin.type = 'core';\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/ui_object.js\":\n/*!*******************************!*\\\n !*** ./src/base/ui_object.js ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _utils = __webpack_require__(/*! ./utils */ \"./src/base/utils.js\");\n\nvar _base_object = __webpack_require__(/*! ./base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar delegateEventSplitter = /^(\\S+)\\s*(.*)$/;\n\n/**\n * A base class to create ui object.\n * @class UIObject\n * @constructor\n * @extends BaseObject\n * @module base\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar UIObject = function (_BaseObject) {\n (0, _inherits3.default)(UIObject, _BaseObject);\n (0, _createClass3.default)(UIObject, [{\n key: 'tagName',\n\n /**\n * a unique id prefixed with `'c'`, `c1, c232`\n *\n * @property cid\n * @type String\n */\n /**\n * the dom element itself\n *\n * @property el\n * @type HTMLElement\n */\n /**\n * the dom element wrapped by `$`\n *\n * @property $el\n * @type HTMLElement\n */\n\n /**\n * gets the tag name for the ui component\n * @method tagName\n * @default div\n * @return {String} tag's name\n */\n get: function get() {\n return 'div';\n }\n /**\n * a literal object mapping element's events to methods\n * @property events\n * @type Object\n * @example\n *\n *```javascript\n *\n * class MyButton extends UIObject {\n * constructor(options) {\n * super(options)\n * this.myId = 0\n * }\n * get events() { return { 'click': 'myClick' } }\n * myClick(){ this.myId = 42 }\n * }\n *\n * // when you click on MyButton the method `myClick` will be called\n *```\n */\n\n }, {\n key: 'events',\n get: function get() {\n return {};\n }\n /**\n * a literal object mapping attributes and values to the element\n * element's attribute name and the value the attribute value\n * @property attributes\n * @type Object\n * @example\n *\n *```javascript\n *\n * class MyButton extends UIObject {\n * constructor(options) { super(options) }\n * get attributes() { return { class: 'my-button'} }\n * }\n *\n * // MyButton.el.className will be 'my-button'\n * ```\n */\n\n }, {\n key: 'attributes',\n get: function get() {\n return {};\n }\n\n /**\n * it builds an ui component by:\n * * creating an id for the component `cid`\n * * making sure the element is created `$el`\n * * delegating all `events` to the element\n * @method constructor\n * @param {Object} options the options object\n */\n\n }]);\n\n function UIObject(options) {\n (0, _classCallCheck3.default)(this, UIObject);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n _this.cid = (0, _utils.uniqueId)('c');\n _this._ensureElement();\n _this.delegateEvents();\n return _this;\n }\n\n /**\n * selects within the component.\n * @method $\n * @param {String} selector a selector to find within the component.\n * @return {HTMLElement} an element, if it exists.\n * @example\n * ```javascript\n * fullScreenBarUIComponent.$('.button-full') //will return only `.button-full` within the component\n * ```\n */\n\n\n UIObject.prototype.$ = function $(selector) {\n return this.$el.find(selector);\n };\n\n /**\n * render the component, usually attach it to a real existent `element`\n * @method render\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.render = function render() {\n return this;\n };\n\n /**\n * removes the ui component from DOM\n * @method destroy\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.destroy = function destroy() {\n this.$el.remove();\n this.stopListening();\n this.undelegateEvents();\n return this;\n };\n\n /**\n * set element to `el` and `$el`\n * @method setElement\n * @param {HTMLElement} element\n * @param {Boolean} delegate whether is delegate or not\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.setElement = function setElement(element, delegate) {\n if (this.$el) this.undelegateEvents();\n this.$el = _clapprZepto2.default.zepto.isZ(element) ? element : (0, _clapprZepto2.default)(element);\n this.el = this.$el[0];\n if (delegate !== false) this.delegateEvents();\n return this;\n };\n\n /**\n * delegates all the original `events` on `element` to its callbacks\n * @method delegateEvents\n * @param {Object} events\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.delegateEvents = function delegateEvents(events) {\n if (!(events || (events = this.events))) return this;\n this.undelegateEvents();\n for (var key in events) {\n var method = events[key];\n if (method && method.constructor !== Function) method = this[events[key]];\n if (!method) continue;\n\n var match = key.match(delegateEventSplitter);\n var eventName = match[1],\n selector = match[2];\n eventName += '.delegateEvents' + this.cid;\n if (selector === '') this.$el.on(eventName, method.bind(this));else this.$el.on(eventName, selector, method.bind(this));\n }\n return this;\n };\n\n /**\n * undelegats all the `events`\n * @method undelegateEvents\n * @return {UIObject} itself\n */\n\n\n UIObject.prototype.undelegateEvents = function undelegateEvents() {\n this.$el.off('.delegateEvents' + this.cid);\n return this;\n };\n\n /**\n * ensures the creation of this ui component\n * @method _ensureElement\n * @private\n */\n\n\n UIObject.prototype._ensureElement = function _ensureElement() {\n if (!this.el) {\n var attrs = _clapprZepto2.default.extend({}, this.attributes);\n if (this.id) attrs.id = this.id;\n if (this.className) attrs['class'] = this.className;\n var $el = _utils.DomRecycler.create(this.tagName).attr(attrs);\n this.setElement($el, false);\n } else {\n this.setElement(this.el, false);\n }\n };\n\n return UIObject;\n}(_base_object2.default);\n\nexports.default = UIObject;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/base/utils.js\":\n/*!***************************!*\\\n !*** ./src/base/utils.js ***!\n \\***************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.SvgIcons = exports.DoubleEventHandler = exports.DomRecycler = exports.cancelAnimationFrame = exports.requestAnimationFrame = exports.QueryString = exports.Config = exports.Fullscreen = undefined;\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _defineProperty = __webpack_require__(/*! babel-runtime/core-js/object/define-property */ \"./node_modules/babel-runtime/core-js/object/define-property.js\");\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nvar _getOwnPropertyDescriptor = __webpack_require__(/*! babel-runtime/core-js/object/get-own-property-descriptor */ \"./node_modules/babel-runtime/core-js/object/get-own-property-descriptor.js\");\n\nvar _getOwnPropertyDescriptor2 = _interopRequireDefault(_getOwnPropertyDescriptor);\n\nexports.assign = assign;\nexports.extend = extend;\nexports.formatTime = formatTime;\nexports.seekStringToSeconds = seekStringToSeconds;\nexports.uniqueId = uniqueId;\nexports.isNumber = isNumber;\nexports.currentScriptUrl = currentScriptUrl;\nexports.getBrowserLanguage = getBrowserLanguage;\nexports.now = now;\nexports.removeArrayItem = removeArrayItem;\nexports.listContainsIgnoreCase = listContainsIgnoreCase;\nexports.canAutoPlayMedia = canAutoPlayMedia;\n\n__webpack_require__(/*! ./polyfills */ \"./src/base/polyfills.js\");\n\nvar _browser = __webpack_require__(/*! ../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _media = __webpack_require__(/*! ./media */ \"./src/base/media.js\");\n\nvar _media2 = _interopRequireDefault(_media);\n\nvar _svg_icons = __webpack_require__(/*! ./svg_icons */ \"./src/base/svg_icons.js\");\n\nvar _svg_icons2 = _interopRequireDefault(_svg_icons);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction assign(obj, source) {\n if (source) {\n for (var prop in source) {\n var propDescriptor = (0, _getOwnPropertyDescriptor2.default)(source, prop);\n propDescriptor ? (0, _defineProperty2.default)(obj, prop, propDescriptor) : obj[prop] = source[prop];\n }\n }\n return obj;\n} // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n/*jshint -W079 */\n\nfunction extend(parent, properties) {\n var Surrogate = function (_parent) {\n (0, _inherits3.default)(Surrogate, _parent);\n\n function Surrogate() {\n (0, _classCallCheck3.default)(this, Surrogate);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _parent.call.apply(_parent, [this].concat(args)));\n\n if (properties.initialize) properties.initialize.apply(_this, args);\n\n return _this;\n }\n\n return Surrogate;\n }(parent);\n\n assign(Surrogate.prototype, properties);\n return Surrogate;\n}\n\nfunction formatTime(time, paddedHours) {\n if (!isFinite(time)) return '--:--';\n\n time = time * 1000;\n time = parseInt(time / 1000);\n var seconds = time % 60;\n time = parseInt(time / 60);\n var minutes = time % 60;\n time = parseInt(time / 60);\n var hours = time % 24;\n var days = parseInt(time / 24);\n var out = '';\n if (days && days > 0) {\n out += days + ':';\n if (hours < 1) out += '00:';\n }\n if (hours && hours > 0 || paddedHours) out += ('0' + hours).slice(-2) + ':';\n out += ('0' + minutes).slice(-2) + ':';\n out += ('0' + seconds).slice(-2);\n return out.trim();\n}\n\nvar Fullscreen = exports.Fullscreen = {\n fullscreenElement: function fullscreenElement() {\n return document.fullscreenElement || document.webkitFullscreenElement || document.mozFullScreenElement || document.msFullscreenElement;\n },\n requestFullscreen: function requestFullscreen(el) {\n if (el.requestFullscreen) el.requestFullscreen();else if (el.webkitRequestFullscreen) el.webkitRequestFullscreen();else if (el.mozRequestFullScreen) el.mozRequestFullScreen();else if (el.msRequestFullscreen) el.msRequestFullscreen();else if (el.querySelector && el.querySelector('video') && el.querySelector('video').webkitEnterFullScreen) el.querySelector('video').webkitEnterFullScreen();else if (el.webkitEnterFullScreen) el.webkitEnterFullScreen();\n },\n cancelFullscreen: function cancelFullscreen() {\n var el = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : document;\n\n if (el.exitFullscreen) el.exitFullscreen();else if (el.webkitCancelFullScreen) el.webkitCancelFullScreen();else if (el.webkitExitFullscreen) el.webkitExitFullscreen();else if (el.mozCancelFullScreen) el.mozCancelFullScreen();else if (el.msExitFullscreen) el.msExitFullscreen();\n },\n fullscreenEnabled: function fullscreenEnabled() {\n return !!(document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled);\n }\n};\n\nvar Config = exports.Config = function () {\n function Config() {\n (0, _classCallCheck3.default)(this, Config);\n }\n\n Config._defaultConfig = function _defaultConfig() {\n return {\n volume: {\n value: 100,\n parse: parseInt\n }\n };\n };\n\n Config._defaultValueFor = function _defaultValueFor(key) {\n try {\n return this._defaultConfig()[key].parse(this._defaultConfig()[key].value);\n } catch (e) {\n return undefined;\n }\n };\n\n Config._createKeyspace = function _createKeyspace(key) {\n return 'clappr.' + document.domain + '.' + key;\n };\n\n Config.restore = function restore(key) {\n if (_browser2.default.hasLocalstorage && localStorage[this._createKeyspace(key)]) return this._defaultConfig()[key].parse(localStorage[this._createKeyspace(key)]);\n\n return this._defaultValueFor(key);\n };\n\n Config.persist = function persist(key, value) {\n if (_browser2.default.hasLocalstorage) {\n try {\n localStorage[this._createKeyspace(key)] = value;\n return true;\n } catch (e) {\n return false;\n }\n }\n };\n\n return Config;\n}();\n\nvar QueryString = exports.QueryString = function () {\n function QueryString() {\n (0, _classCallCheck3.default)(this, QueryString);\n }\n\n QueryString.parse = function parse(paramsString) {\n var match = void 0;\n var pl = /\\+/g,\n // Regex for replacing addition symbol with a space\n search = /([^&=]+)=?([^&]*)/g,\n decode = function decode(s) {\n return decodeURIComponent(s.replace(pl, ' '));\n },\n params = {};\n while (match = search.exec(paramsString)) {\n // eslint-disable-line no-cond-assign\n params[decode(match[1]).toLowerCase()] = decode(match[2]);\n }\n return params;\n };\n\n (0, _createClass3.default)(QueryString, null, [{\n key: 'params',\n get: function get() {\n var query = window.location.search.substring(1);\n if (query !== this.query) {\n this._urlParams = this.parse(query);\n this.query = query;\n }\n return this._urlParams;\n }\n }, {\n key: 'hashParams',\n get: function get() {\n var hash = window.location.hash.substring(1);\n if (hash !== this.hash) {\n this._hashParams = this.parse(hash);\n this.hash = hash;\n }\n return this._hashParams;\n }\n }]);\n return QueryString;\n}();\n\nfunction seekStringToSeconds() {\n var paramName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 't';\n\n var seconds = 0;\n var seekString = QueryString.params[paramName] || QueryString.hashParams[paramName] || '';\n var parts = seekString.match(/[0-9]+[hms]+/g) || [];\n if (parts.length > 0) {\n var factor = { 'h': 3600, 'm': 60, 's': 1 };\n parts.forEach(function (el) {\n if (el) {\n var suffix = el[el.length - 1];\n var time = parseInt(el.slice(0, el.length - 1), 10);\n seconds += time * factor[suffix];\n }\n });\n } else if (seekString) {\n seconds = parseInt(seekString, 10);\n }\n\n return seconds;\n}\n\nvar idsCounter = {};\n\nfunction uniqueId(prefix) {\n idsCounter[prefix] || (idsCounter[prefix] = 0);\n var id = ++idsCounter[prefix];\n return prefix + id;\n}\n\nfunction isNumber(value) {\n return value - parseFloat(value) + 1 >= 0;\n}\n\nfunction currentScriptUrl() {\n var scripts = document.getElementsByTagName('script');\n return scripts.length ? scripts[scripts.length - 1].src : '';\n}\n\nvar requestAnimationFrame = exports.requestAnimationFrame = (window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || function (fn) {\n window.setTimeout(fn, 1000 / 60);\n}).bind(window);\n\nvar cancelAnimationFrame = exports.cancelAnimationFrame = (window.cancelAnimationFrame || window.mozCancelAnimationFrame || window.webkitCancelAnimationFrame || window.clearTimeout).bind(window);\n\nfunction getBrowserLanguage() {\n return window.navigator && window.navigator.language;\n}\n\nfunction now() {\n if (window.performance && window.performance.now) return performance.now();\n\n return Date.now();\n}\n\n// remove the item from the array if it exists in the array\nfunction removeArrayItem(arr, item) {\n var i = arr.indexOf(item);\n if (i >= 0) arr.splice(i, 1);\n}\n\n// find an item regardless of its letter case\nfunction listContainsIgnoreCase(item, items) {\n if (item === undefined || items === undefined) return false;\n return items.find(function (itemEach) {\n return item.toLowerCase() === itemEach.toLowerCase();\n }) !== undefined;\n}\n\n// https://github.com/video-dev/can-autoplay\nfunction canAutoPlayMedia(cb, options) {\n options = (0, _assign2.default)({\n inline: false,\n muted: false,\n timeout: 250,\n type: 'video',\n source: _media2.default.mp4,\n element: null\n }, options);\n\n var element = options.element ? options.element : document.createElement(options.type);\n\n element.muted = options.muted;\n if (options.muted === true) element.setAttribute('muted', 'muted');\n\n if (options.inline === true) element.setAttribute('playsinline', 'playsinline');\n\n element.src = options.source;\n\n var promise = element.play();\n\n var timeoutId = setTimeout(function () {\n setResult(false, new Error('Timeout ' + options.timeout + ' ms has been reached'));\n }, options.timeout);\n\n var setResult = function setResult(result) {\n var error = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n clearTimeout(timeoutId);\n cb(result, error);\n };\n\n if (promise !== undefined) {\n promise.then(function () {\n return setResult(true);\n }).catch(function (err) {\n return setResult(false, err);\n });\n } else {\n setResult(true);\n }\n}\n\n// Simple Zepto element factory with video recycle feature.\nvar videoStack = [];\n\nvar DomRecycler = exports.DomRecycler = function () {\n function DomRecycler() {\n (0, _classCallCheck3.default)(this, DomRecycler);\n }\n\n DomRecycler.configure = function configure(options) {\n this.options = _clapprZepto2.default.extend(this.options, options);\n };\n\n DomRecycler.create = function create(name) {\n if (this.options.recycleVideo && name === 'video' && videoStack.length > 0) return videoStack.shift();\n\n return (0, _clapprZepto2.default)('<' + name + '>');\n };\n\n DomRecycler.garbage = function garbage($el) {\n // Expect Zepto collection with single element (does not iterate!)\n if (!this.options.recycleVideo || $el[0].tagName.toUpperCase() !== 'VIDEO') return;\n $el.children().remove();\n videoStack.push($el);\n };\n\n return DomRecycler;\n}();\n\nDomRecycler.options = { recycleVideo: false };\n\nvar DoubleEventHandler = exports.DoubleEventHandler = function () {\n function DoubleEventHandler() {\n var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 500;\n (0, _classCallCheck3.default)(this, DoubleEventHandler);\n\n this.delay = delay;\n this.lastTime = 0;\n }\n\n DoubleEventHandler.prototype.handle = function handle(event, cb) {\n var prevented = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n\n // Based on http://jsfiddle.net/brettwp/J4djY/\n var currentTime = new Date().getTime();\n var diffTime = currentTime - this.lastTime;\n\n if (diffTime < this.delay && diffTime > 0) {\n cb();\n prevented && event.preventDefault();\n }\n\n this.lastTime = currentTime;\n };\n\n return DoubleEventHandler;\n}();\n\nvar SvgIcons = exports.SvgIcons = _svg_icons2.default;\n\nexports.default = {\n Config: Config,\n Fullscreen: Fullscreen,\n QueryString: QueryString,\n DomRecycler: DomRecycler,\n extend: extend,\n formatTime: formatTime,\n seekStringToSeconds: seekStringToSeconds,\n uniqueId: uniqueId,\n currentScriptUrl: currentScriptUrl,\n isNumber: isNumber,\n requestAnimationFrame: requestAnimationFrame,\n cancelAnimationFrame: cancelAnimationFrame,\n getBrowserLanguage: getBrowserLanguage,\n now: now,\n removeArrayItem: removeArrayItem,\n canAutoPlayMedia: canAutoPlayMedia,\n Media: _media2.default,\n DoubleEventHandler: DoubleEventHandler,\n SvgIcons: _svg_icons2.default\n};\n\n/***/ }),\n\n/***/ \"./src/components/browser/browser.js\":\n/*!*******************************************!*\\\n !*** ./src/components/browser/browser.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getDevice = exports.getViewportSize = exports.getOsData = exports.getBrowserData = exports.getBrowserInfo = undefined;\n\nvar _getIterator2 = __webpack_require__(/*! babel-runtime/core-js/get-iterator */ \"./node_modules/babel-runtime/core-js/get-iterator.js\");\n\nvar _getIterator3 = _interopRequireDefault(_getIterator2);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _browser_data = __webpack_require__(/*! ./browser_data */ \"./src/components/browser/browser_data.js\");\n\nvar _browser_data2 = _interopRequireDefault(_browser_data);\n\nvar _os_data = __webpack_require__(/*! ./os_data */ \"./src/components/browser/os_data.js\");\n\nvar _os_data2 = _interopRequireDefault(_os_data);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar Browser = {};\n\nvar hasLocalstorage = function hasLocalstorage() {\n try {\n localStorage.setItem('clappr', 'clappr');\n localStorage.removeItem('clappr');\n return true;\n } catch (e) {\n return false;\n }\n};\n\nvar hasFlash = function hasFlash() {\n try {\n var fo = new ActiveXObject('ShockwaveFlash.ShockwaveFlash');\n return !!fo;\n } catch (e) {\n return !!(navigator.mimeTypes && navigator.mimeTypes['application/x-shockwave-flash'] !== undefined && navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin);\n }\n};\n\nvar getBrowserInfo = exports.getBrowserInfo = function getBrowserInfo(ua) {\n var parts = ua.match(/\\b(playstation 4|nx|opera|chrome|safari|firefox|msie|trident(?=\\/))\\/?\\s*(\\d+)/i) || [],\n extra = void 0;\n if (/trident/i.test(parts[1])) {\n extra = /\\brv[ :]+(\\d+)/g.exec(ua) || [];\n return {\n name: 'IE',\n version: parseInt(extra[1] || '')\n };\n } else if (parts[1] === 'Chrome') {\n extra = ua.match(/\\bOPR\\/(\\d+)/);\n if (extra != null) return { name: 'Opera', version: parseInt(extra[1]) };\n\n extra = ua.match(/\\bEdge\\/(\\d+)/);\n if (extra != null) return { name: 'Edge', version: parseInt(extra[1]) };\n } else if (/android/i.test(ua) && (extra = ua.match(/version\\/(\\d+)/i))) {\n parts.splice(1, 1, 'Android WebView');\n parts.splice(2, 1, extra[1]);\n }\n parts = parts[2] ? [parts[1], parts[2]] : [navigator.appName, navigator.appVersion, '-?'];\n\n return {\n name: parts[0],\n version: parseInt(parts[1])\n };\n};\n\n// Get browser data\nvar getBrowserData = exports.getBrowserData = function getBrowserData() {\n var browserObject = {};\n var userAgent = Browser.userAgent.toLowerCase();\n\n // Check browser type\n var _iteratorNormalCompletion = true;\n var _didIteratorError = false;\n var _iteratorError = undefined;\n\n try {\n for (var _iterator = (0, _getIterator3.default)(_browser_data2.default), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var browser = _step.value;\n\n var browserRegExp = new RegExp(browser.identifier.toLowerCase());\n var browserRegExpResult = browserRegExp.exec(userAgent);\n\n if (browserRegExpResult != null && browserRegExpResult[1]) {\n browserObject.name = browser.name;\n browserObject.group = browser.group;\n\n // Check version\n if (browser.versionIdentifier) {\n var versionRegExp = new RegExp(browser.versionIdentifier.toLowerCase());\n var versionRegExpResult = versionRegExp.exec(userAgent);\n\n if (versionRegExpResult != null && versionRegExpResult[1]) setBrowserVersion(versionRegExpResult[1], browserObject);\n } else {\n setBrowserVersion(browserRegExpResult[1], browserObject);\n }\n break;\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n\n return browserObject;\n};\n\n// Set browser version\nvar setBrowserVersion = function setBrowserVersion(version, browserObject) {\n var splitVersion = version.split('.', 2);\n browserObject.fullVersion = version;\n\n // Major version\n if (splitVersion[0]) browserObject.majorVersion = parseInt(splitVersion[0]);\n\n // Minor version\n if (splitVersion[1]) browserObject.minorVersion = parseInt(splitVersion[1]);\n};\n\n// Get OS data\nvar getOsData = exports.getOsData = function getOsData() {\n var osObject = {};\n var userAgent = Browser.userAgent.toLowerCase();\n\n // Check browser type\n var _iteratorNormalCompletion2 = true;\n var _didIteratorError2 = false;\n var _iteratorError2 = undefined;\n\n try {\n for (var _iterator2 = (0, _getIterator3.default)(_os_data2.default), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = true) {\n var os = _step2.value;\n\n var osRegExp = new RegExp(os.identifier.toLowerCase());\n var osRegExpResult = osRegExp.exec(userAgent);\n\n if (osRegExpResult != null) {\n osObject.name = os.name;\n osObject.group = os.group;\n\n // Version defined\n if (os.version) {\n setOsVersion(os.version, os.versionSeparator ? os.versionSeparator : '.', osObject);\n\n // Version detected\n } else if (osRegExpResult[1]) {\n setOsVersion(osRegExpResult[1], os.versionSeparator ? os.versionSeparator : '.', osObject);\n\n // Version identifier\n } else if (os.versionIdentifier) {\n var versionRegExp = new RegExp(os.versionIdentifier.toLowerCase());\n var versionRegExpResult = versionRegExp.exec(userAgent);\n\n if (versionRegExpResult != null && versionRegExpResult[1]) setOsVersion(versionRegExpResult[1], os.versionSeparator ? os.versionSeparator : '.', osObject);\n }\n break;\n }\n }\n } catch (err) {\n _didIteratorError2 = true;\n _iteratorError2 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion2 && _iterator2.return) {\n _iterator2.return();\n }\n } finally {\n if (_didIteratorError2) {\n throw _iteratorError2;\n }\n }\n }\n\n return osObject;\n};\n\n// Set OS version\nvar setOsVersion = function setOsVersion(version, separator, osObject) {\n var finalSeparator = separator.substr(0, 1) == '[' ? new RegExp(separator, 'g') : separator;\n var splitVersion = version.split(finalSeparator, 2);\n\n if (separator != '.') version = version.replace(new RegExp(separator, 'g'), '.');\n\n osObject.fullVersion = version;\n\n // Major version\n if (splitVersion && splitVersion[0]) osObject.majorVersion = parseInt(splitVersion[0]);\n\n // Minor version\n if (splitVersion && splitVersion[1]) osObject.minorVersion = parseInt(splitVersion[1]);\n};\n\n// Set viewport size\nvar getViewportSize = exports.getViewportSize = function getViewportSize() {\n var viewportObject = {};\n\n viewportObject.width = (0, _clapprZepto2.default)(window).width();\n viewportObject.height = (0, _clapprZepto2.default)(window).height();\n\n return viewportObject;\n};\n\n// Set viewport orientation\nvar setViewportOrientation = function setViewportOrientation() {\n switch (window.orientation) {\n case -90:\n case 90:\n Browser.viewport.orientation = 'landscape';\n break;\n default:\n Browser.viewport.orientation = 'portrait';\n break;\n }\n};\n\nvar getDevice = exports.getDevice = function getDevice(ua) {\n var platformRegExp = /\\((iP(?:hone|ad|od))?(?:[^;]*; ){0,2}([^)]+(?=\\)))/;\n var matches = platformRegExp.exec(ua);\n var device = matches && (matches[1] || matches[2]) || '';\n return device;\n};\n\nvar browserInfo = getBrowserInfo(navigator.userAgent);\n\nBrowser.isEdge = /edge/i.test(navigator.userAgent);\nBrowser.isChrome = /chrome|CriOS/i.test(navigator.userAgent) && !Browser.isEdge;\nBrowser.isSafari = /safari/i.test(navigator.userAgent) && !Browser.isChrome && !Browser.isEdge;\nBrowser.isFirefox = /firefox/i.test(navigator.userAgent);\nBrowser.isLegacyIE = !!window.ActiveXObject;\nBrowser.isIE = Browser.isLegacyIE || /trident.*rv:1\\d/i.test(navigator.userAgent);\nBrowser.isIE11 = /trident.*rv:11/i.test(navigator.userAgent);\nBrowser.isChromecast = Browser.isChrome && /CrKey/i.test(navigator.userAgent);\nBrowser.isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone|IEMobile|Mobile Safari|Opera Mini/i.test(navigator.userAgent);\nBrowser.isiOS = /iPad|iPhone|iPod/i.test(navigator.userAgent);\nBrowser.isAndroid = /Android/i.test(navigator.userAgent);\nBrowser.isWindowsPhone = /Windows Phone/i.test(navigator.userAgent);\nBrowser.isWin8App = /MSAppHost/i.test(navigator.userAgent);\nBrowser.isWiiU = /WiiU/i.test(navigator.userAgent);\nBrowser.isPS4 = /PlayStation 4/i.test(navigator.userAgent);\nBrowser.hasLocalstorage = hasLocalstorage();\nBrowser.hasFlash = hasFlash();\n\n/**\n* @deprecated\n* This parameter currently exists for retrocompatibility reasons.\n* Use Browser.data.name instead.\n*/\nBrowser.name = browserInfo.name;\n\n/**\n* @deprecated\n* This parameter currently exists for retrocompatibility reasons.\n* Use Browser.data.fullVersion instead.\n*/\nBrowser.version = browserInfo.version;\n\nBrowser.userAgent = navigator.userAgent;\nBrowser.data = getBrowserData();\nBrowser.os = getOsData();\nBrowser.viewport = getViewportSize();\nBrowser.device = getDevice(Browser.userAgent);\ntypeof window.orientation !== 'undefined' && setViewportOrientation();\n\nexports.default = Browser;\n\n/***/ }),\n\n/***/ \"./src/components/browser/browser_data.js\":\n/*!************************************************!*\\\n !*** ./src/components/browser/browser_data.js ***!\n \\************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable no-useless-escape */\n// The order of the following arrays is important, be careful if you change it.\n\nvar BROWSER_DATA = [{\n name: 'Chromium',\n group: 'Chrome',\n identifier: 'Chromium/([0-9\\.]*)'\n}, {\n name: 'Chrome Mobile',\n group: 'Chrome',\n identifier: 'Chrome/([0-9\\.]*) Mobile',\n versionIdentifier: 'Chrome/([0-9\\.]*)'\n}, {\n name: 'Chrome',\n group: 'Chrome',\n identifier: 'Chrome/([0-9\\.]*)'\n}, {\n name: 'Chrome for iOS',\n group: 'Chrome',\n identifier: 'CriOS/([0-9\\.]*)'\n}, {\n name: 'Android Browser',\n group: 'Chrome',\n identifier: 'CrMo/([0-9\\.]*)'\n}, {\n name: 'Firefox',\n group: 'Firefox',\n identifier: 'Firefox/([0-9\\.]*)'\n}, {\n name: 'Opera Mini',\n group: 'Opera',\n identifier: 'Opera Mini/([0-9\\.]*)'\n}, {\n name: 'Opera',\n group: 'Opera',\n identifier: 'Opera ([0-9\\.]*)'\n}, {\n name: 'Opera',\n group: 'Opera',\n identifier: 'Opera/([0-9\\.]*)',\n versionIdentifier: 'Version/([0-9\\.]*)'\n}, {\n name: 'IEMobile',\n group: 'Explorer',\n identifier: 'IEMobile/([0-9\\.]*)'\n}, {\n name: 'Internet Explorer',\n group: 'Explorer',\n identifier: 'MSIE ([a-zA-Z0-9\\.]*)'\n}, {\n name: 'Internet Explorer',\n group: 'Explorer',\n identifier: 'Trident/([0-9\\.]*)',\n versionIdentifier: 'rv:([0-9\\.]*)'\n}, {\n name: 'Spartan',\n group: 'Spartan',\n identifier: 'Edge/([0-9\\.]*)',\n versionIdentifier: 'Edge/([0-9\\.]*)'\n}, {\n name: 'Safari',\n group: 'Safari',\n identifier: 'Safari/([0-9\\.]*)',\n versionIdentifier: 'Version/([0-9\\.]*)'\n}];\n\nexports.default = BROWSER_DATA;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/browser/index.js\":\n/*!*****************************************!*\\\n !*** ./src/components/browser/index.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _browser = __webpack_require__(/*! ./browser */ \"./src/components/browser/browser.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _browser2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/browser/os_data.js\":\n/*!*******************************************!*\\\n !*** ./src/components/browser/os_data.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable no-useless-escape */\n// The order of the following arrays is important, be careful if you change it.\n\nvar OS_DATA = [{\n name: 'Windows 2000',\n group: 'Windows',\n identifier: 'Windows NT 5.0',\n version: '5.0'\n}, {\n name: 'Windows XP',\n group: 'Windows',\n identifier: 'Windows NT 5.1',\n version: '5.1'\n}, {\n name: 'Windows Vista',\n group: 'Windows',\n identifier: 'Windows NT 6.0',\n version: '6.0'\n}, {\n name: 'Windows 7',\n group: 'Windows',\n identifier: 'Windows NT 6.1',\n version: '7.0'\n}, {\n name: 'Windows 8',\n group: 'Windows',\n identifier: 'Windows NT 6.2',\n version: '8.0'\n}, {\n name: 'Windows 8.1',\n group: 'Windows',\n identifier: 'Windows NT 6.3',\n version: '8.1'\n}, {\n name: 'Windows 10',\n group: 'Windows',\n identifier: 'Windows NT 10.0',\n version: '10.0'\n}, {\n name: 'Windows Phone',\n group: 'Windows Phone',\n identifier: 'Windows Phone ([0-9\\.]*)'\n}, {\n name: 'Windows Phone',\n group: 'Windows Phone',\n identifier: 'Windows Phone OS ([0-9\\.]*)'\n}, {\n name: 'Windows',\n group: 'Windows',\n identifier: 'Windows'\n}, {\n name: 'Chrome OS',\n group: 'Chrome OS',\n identifier: 'CrOS'\n}, {\n name: 'Android',\n group: 'Android',\n identifier: 'Android',\n versionIdentifier: 'Android ([a-zA-Z0-9\\.-]*)'\n}, {\n name: 'iPad',\n group: 'iOS',\n identifier: 'iPad',\n versionIdentifier: 'OS ([0-9_]*)',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'iPod',\n group: 'iOS',\n identifier: 'iPod',\n versionIdentifier: 'OS ([0-9_]*)',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'iPhone',\n group: 'iOS',\n identifier: 'iPhone OS',\n versionIdentifier: 'OS ([0-9_]*)',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X High Sierra',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])13([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Sierra',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])12([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X El Capitan',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])11([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Yosemite',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])10([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Mavericks',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])9([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Mountain Lion',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])8([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Lion',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])7([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Snow Leopard',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])6([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Leopard',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])5([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Tiger',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])4([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Panther',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])3([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Jaguar',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])2([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Puma',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])1([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS X Cheetah',\n group: 'Mac OS',\n identifier: 'Mac OS X (10([_|\\.])0([0-9_\\.]*))',\n versionSeparator: '[_|\\.]'\n}, {\n name: 'Mac OS',\n group: 'Mac OS',\n identifier: 'Mac OS'\n}, {\n name: 'Ubuntu',\n group: 'Linux',\n identifier: 'Ubuntu',\n versionIdentifier: 'Ubuntu/([0-9\\.]*)'\n}, {\n name: 'Debian',\n group: 'Linux',\n identifier: 'Debian'\n}, {\n name: 'Gentoo',\n group: 'Linux',\n identifier: 'Gentoo'\n}, {\n name: 'Linux',\n group: 'Linux',\n identifier: 'Linux'\n}, {\n name: 'BlackBerry',\n group: 'BlackBerry',\n identifier: 'BlackBerry'\n}];\n\nexports.default = OS_DATA;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container/container.js\":\n/*!***********************************************!*\\\n !*** ./src/components/container/container.js ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_object = __webpack_require__(/*! ../../base/ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _error_mixin = __webpack_require__(/*! ../../base/error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/components/container/public/style.scss\");\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * An abstraction to represent a container for a given playback\n * TODO: describe its responsabilities\n * @class Container\n * @constructor\n * @extends UIObject\n * @module base\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * Container is responsible for the video rendering and state\n */\n\nvar Container = function (_UIObject) {\n (0, _inherits3.default)(Container, _UIObject);\n (0, _createClass3.default)(Container, [{\n key: 'name',\n\n /**\n * container's name\n * @method name\n * @default Container\n * @return {String} container's name\n */\n get: function get() {\n return 'Container';\n }\n }, {\n key: 'attributes',\n get: function get() {\n return { class: 'container', 'data-container': '' };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click': 'clicked',\n 'dblclick': 'dblClicked',\n 'touchend': 'dblTap',\n 'contextmenu': 'onContextMenu',\n 'mouseenter': 'mouseEnter',\n 'mouseleave': 'mouseLeave'\n };\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this.playback.ended;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * (i.e if a live stream is playing smoothly, this will be false)\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return this.playback.buffering;\n }\n\n /**\n * The internationalization plugin.\n * @property i18n\n * @type {Strings}\n */\n\n }, {\n key: 'i18n',\n get: function get() {\n return this._i18n;\n }\n\n /**\n * checks if has closed caption tracks.\n * @property hasClosedCaptionsTracks\n * @type {Boolean}\n */\n\n }, {\n key: 'hasClosedCaptionsTracks',\n get: function get() {\n return this.playback.hasClosedCaptionsTracks;\n }\n\n /**\n * gets the available closed caption tracks.\n * @property closedCaptionsTracks\n * @type {Array} an array of objects with at least 'id' and 'name' properties\n */\n\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n return this.playback.closedCaptionsTracks;\n }\n\n /**\n * gets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return this.playback.closedCaptionsTrackId;\n }\n\n /**\n * sets the selected closed caption track index. (-1 is disabled)\n * @property closedCaptionsTrackId\n * @type {Number}\n */\n ,\n set: function set(trackId) {\n this.playback.closedCaptionsTrackId = trackId;\n }\n\n /**\n * it builds a container\n * @method constructor\n * @param {Object} options the options object\n * @param {Strings} i18n the internationalization component\n */\n\n }]);\n\n function Container(options, i18n, playerError) {\n (0, _classCallCheck3.default)(this, Container);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, options));\n\n _this._i18n = i18n;\n _this.currentTime = 0;\n _this.volume = 100;\n _this.playback = options.playback;\n _this.playerError = playerError;\n _this.settings = _clapprZepto2.default.extend({}, _this.playback.settings);\n _this.isReady = false;\n _this.mediaControlDisabled = false;\n _this.plugins = [_this.playback];\n _this.dblTapHandler = new _utils.DoubleEventHandler(500);\n _this.clickTimer = null;\n _this.clickDelay = 200; // FIXME: could be a player option\n _this.bindEvents();\n return _this;\n }\n\n /**\n * binds playback events to the methods of the container.\n * it listens to playback's events and triggers them as container events.\n *\n * | Playback |\n * |----------|\n * | progress |\n * | timeupdate |\n * | ready |\n * | buffering |\n * | bufferfull |\n * | settingsupdate |\n * | loadedmetadata |\n * | highdefinitionupdate |\n * | bitrate |\n * | playbackstate |\n * | dvr |\n * | mediacontrol_disable |\n * | mediacontrol_enable |\n * | ended |\n * | play |\n * | pause |\n * | error |\n *\n * ps: the events usually translate from PLABACK_x to CONTAINER_x, you can check all the events at `Event` class.\n *\n * @method bindEvents\n */\n\n\n Container.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.playback, _events2.default.PLAYBACK_PROGRESS, this.onProgress);\n this.listenTo(this.playback, _events2.default.PLAYBACK_TIMEUPDATE, this.timeUpdated);\n this.listenTo(this.playback, _events2.default.PLAYBACK_READY, this.ready);\n this.listenTo(this.playback, _events2.default.PLAYBACK_BUFFERING, this.onBuffering);\n this.listenTo(this.playback, _events2.default.PLAYBACK_BUFFERFULL, this.bufferfull);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SETTINGSUPDATE, this.settingsUpdate);\n this.listenTo(this.playback, _events2.default.PLAYBACK_LOADEDMETADATA, this.loadedMetadata);\n this.listenTo(this.playback, _events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinitionUpdate);\n this.listenTo(this.playback, _events2.default.PLAYBACK_BITRATE, this.updateBitrate);\n this.listenTo(this.playback, _events2.default.PLAYBACK_PLAYBACKSTATE, this.playbackStateChanged);\n this.listenTo(this.playback, _events2.default.PLAYBACK_DVR, this.playbackDvrStateChanged);\n this.listenTo(this.playback, _events2.default.PLAYBACK_MEDIACONTROL_DISABLE, this.disableMediaControl);\n this.listenTo(this.playback, _events2.default.PLAYBACK_MEDIACONTROL_ENABLE, this.enableMediaControl);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SEEKED, this.onSeeked);\n this.listenTo(this.playback, _events2.default.PLAYBACK_ENDED, this.onEnded);\n this.listenTo(this.playback, _events2.default.PLAYBACK_PLAY, this.playing);\n this.listenTo(this.playback, _events2.default.PLAYBACK_PAUSE, this.paused);\n this.listenTo(this.playback, _events2.default.PLAYBACK_STOP, this.stopped);\n this.listenTo(this.playback, _events2.default.PLAYBACK_ERROR, this.error);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SUBTITLE_AVAILABLE, this.subtitleAvailable);\n this.listenTo(this.playback, _events2.default.PLAYBACK_SUBTITLE_CHANGED, this.subtitleChanged);\n };\n\n Container.prototype.subtitleAvailable = function subtitleAvailable() {\n this.trigger(_events2.default.CONTAINER_SUBTITLE_AVAILABLE);\n };\n\n Container.prototype.subtitleChanged = function subtitleChanged(track) {\n this.trigger(_events2.default.CONTAINER_SUBTITLE_CHANGED, track);\n };\n\n Container.prototype.playbackStateChanged = function playbackStateChanged(state) {\n this.trigger(_events2.default.CONTAINER_PLAYBACKSTATE, state);\n };\n\n Container.prototype.playbackDvrStateChanged = function playbackDvrStateChanged(dvrInUse) {\n this.settings = this.playback.settings;\n this.dvrInUse = dvrInUse;\n this.trigger(_events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, dvrInUse);\n };\n\n Container.prototype.updateBitrate = function updateBitrate(newBitrate) {\n this.trigger(_events2.default.CONTAINER_BITRATE, newBitrate);\n };\n\n Container.prototype.statsReport = function statsReport(metrics) {\n this.trigger(_events2.default.CONTAINER_STATS_REPORT, metrics);\n };\n\n Container.prototype.getPlaybackType = function getPlaybackType() {\n return this.playback.getPlaybackType();\n };\n\n /**\n * returns `true` if DVR is enable otherwise `false`.\n * @method isDvrEnabled\n * @return {Boolean}\n */\n\n\n Container.prototype.isDvrEnabled = function isDvrEnabled() {\n return !!this.playback.dvrEnabled;\n };\n\n /**\n * returns `true` if DVR is in use otherwise `false`.\n * @method isDvrInUse\n * @return {Boolean}\n */\n\n\n Container.prototype.isDvrInUse = function isDvrInUse() {\n return !!this.dvrInUse;\n };\n\n /**\n * destroys the container\n * @method destroy\n */\n\n\n Container.prototype.destroy = function destroy() {\n this.trigger(_events2.default.CONTAINER_DESTROYED, this, this.name);\n this.stopListening();\n this.plugins.forEach(function (plugin) {\n return plugin.destroy();\n });\n this.$el.remove();\n };\n\n Container.prototype.setStyle = function setStyle(style) {\n this.$el.css(style);\n };\n\n Container.prototype.animate = function animate(style, duration) {\n return this.$el.animate(style, duration).promise();\n };\n\n Container.prototype.ready = function ready() {\n this.isReady = true;\n this.trigger(_events2.default.CONTAINER_READY, this.name);\n };\n\n Container.prototype.isPlaying = function isPlaying() {\n return this.playback.isPlaying();\n };\n\n Container.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return this.playback.getStartTimeOffset();\n };\n\n Container.prototype.getCurrentTime = function getCurrentTime() {\n return this.currentTime;\n };\n\n Container.prototype.getDuration = function getDuration() {\n return this.playback.getDuration();\n };\n\n Container.prototype.error = function error(_error) {\n if (!this.isReady) this.ready();\n\n this.trigger(_events2.default.CONTAINER_ERROR, _error, this.name);\n };\n\n Container.prototype.loadedMetadata = function loadedMetadata(metadata) {\n this.trigger(_events2.default.CONTAINER_LOADEDMETADATA, metadata);\n };\n\n Container.prototype.timeUpdated = function timeUpdated(timeProgress) {\n this.currentTime = timeProgress.current;\n this.trigger(_events2.default.CONTAINER_TIMEUPDATE, timeProgress, this.name);\n };\n\n Container.prototype.onProgress = function onProgress() {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n this.trigger.apply(this, [_events2.default.CONTAINER_PROGRESS].concat(args, [this.name]));\n };\n\n Container.prototype.playing = function playing() {\n this.trigger(_events2.default.CONTAINER_PLAY, this.name);\n };\n\n Container.prototype.paused = function paused() {\n this.trigger(_events2.default.CONTAINER_PAUSE, this.name);\n };\n\n /**\n * plays the playback\n * @method play\n */\n\n\n Container.prototype.play = function play() {\n this.playback.play();\n };\n\n /**\n * stops the playback\n * @method stop\n */\n\n\n Container.prototype.stop = function stop() {\n this.playback.stop();\n this.currentTime = 0;\n };\n\n /**\n * pauses the playback\n * @method pause\n */\n\n\n Container.prototype.pause = function pause() {\n this.playback.pause();\n };\n\n Container.prototype.onEnded = function onEnded() {\n this.trigger(_events2.default.CONTAINER_ENDED, this, this.name);\n this.currentTime = 0;\n };\n\n Container.prototype.stopped = function stopped() {\n this.trigger(_events2.default.CONTAINER_STOP);\n };\n\n Container.prototype.clicked = function clicked() {\n var _this2 = this;\n\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n // The event is delayed because it can be canceled by a double-click event\n // An example of use is to prevent playback from pausing when switching to full screen\n this.clickTimer = setTimeout(function () {\n _this2.clickTimer && _this2.trigger(_events2.default.CONTAINER_CLICK, _this2, _this2.name);\n }, this.clickDelay);\n }\n };\n\n Container.prototype.cancelClicked = function cancelClicked() {\n clearTimeout(this.clickTimer);\n this.clickTimer = null;\n };\n\n Container.prototype.dblClicked = function dblClicked() {\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n this.cancelClicked();\n this.trigger(_events2.default.CONTAINER_DBLCLICK, this, this.name);\n }\n };\n\n Container.prototype.dblTap = function dblTap(evt) {\n var _this3 = this;\n\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n this.dblTapHandler.handle(evt, function () {\n _this3.cancelClicked();\n _this3.trigger(_events2.default.CONTAINER_DBLCLICK, _this3, _this3.name);\n });\n }\n };\n\n Container.prototype.onContextMenu = function onContextMenu(event) {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.trigger(_events2.default.CONTAINER_CONTEXTMENU, event, this.name);\n };\n\n Container.prototype.seek = function seek(time) {\n this.trigger(_events2.default.CONTAINER_SEEK, time, this.name);\n this.playback.seek(time);\n };\n\n Container.prototype.onSeeked = function onSeeked() {\n this.trigger(_events2.default.CONTAINER_SEEKED, this.name);\n };\n\n Container.prototype.seekPercentage = function seekPercentage(percentage) {\n var duration = this.getDuration();\n if (percentage >= 0 && percentage <= 100) {\n var time = duration * (percentage / 100);\n this.seek(time);\n }\n };\n\n Container.prototype.setVolume = function setVolume(value) {\n this.volume = parseFloat(value);\n this.trigger(_events2.default.CONTAINER_VOLUME, this.volume, this.name);\n this.playback.volume(this.volume);\n };\n\n Container.prototype.fullscreen = function fullscreen() {\n this.trigger(_events2.default.CONTAINER_FULLSCREEN, this.name);\n };\n\n Container.prototype.onBuffering = function onBuffering() {\n this.trigger(_events2.default.CONTAINER_STATE_BUFFERING, this.name);\n };\n\n Container.prototype.bufferfull = function bufferfull() {\n this.trigger(_events2.default.CONTAINER_STATE_BUFFERFULL, this.name);\n };\n\n /**\n * adds plugin to the container\n * @method addPlugin\n * @param {Object} plugin\n */\n\n\n Container.prototype.addPlugin = function addPlugin(plugin) {\n this.plugins.push(plugin);\n };\n\n /**\n * checks if a plugin, given its name, exist\n * @method hasPlugin\n * @param {String} name\n * @return {Boolean}\n */\n\n\n Container.prototype.hasPlugin = function hasPlugin(name) {\n return !!this.getPlugin(name);\n };\n\n /**\n * get the plugin given its name\n * @method getPlugin\n * @param {String} name\n */\n\n\n Container.prototype.getPlugin = function getPlugin(name) {\n return this.plugins.filter(function (plugin) {\n return plugin.name === name;\n })[0];\n };\n\n Container.prototype.mouseEnter = function mouseEnter() {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.trigger(_events2.default.CONTAINER_MOUSE_ENTER);\n };\n\n Container.prototype.mouseLeave = function mouseLeave() {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.trigger(_events2.default.CONTAINER_MOUSE_LEAVE);\n };\n\n Container.prototype.settingsUpdate = function settingsUpdate() {\n this.settings = this.playback.settings;\n this.trigger(_events2.default.CONTAINER_SETTINGSUPDATE);\n };\n\n Container.prototype.highDefinitionUpdate = function highDefinitionUpdate(isHD) {\n this.trigger(_events2.default.CONTAINER_HIGHDEFINITIONUPDATE, isHD);\n };\n\n Container.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return this.playback.isHighDefinitionInUse();\n };\n\n Container.prototype.disableMediaControl = function disableMediaControl() {\n if (!this.mediaControlDisabled) {\n this.mediaControlDisabled = true;\n this.trigger(_events2.default.CONTAINER_MEDIACONTROL_DISABLE);\n }\n };\n\n Container.prototype.enableMediaControl = function enableMediaControl() {\n if (this.mediaControlDisabled) {\n this.mediaControlDisabled = false;\n this.trigger(_events2.default.CONTAINER_MEDIACONTROL_ENABLE);\n }\n };\n\n Container.prototype.updateStyle = function updateStyle() {\n if (!this.options.chromeless || this.options.allowUserInteraction) this.$el.removeClass('chromeless');else this.$el.addClass('chromeless');\n };\n\n /**\n * enables to configure the container after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n Container.prototype.configure = function configure(options) {\n this._options = _clapprZepto2.default.extend(this._options, options);\n this.updateStyle();\n this.playback.configure(this.options);\n this.trigger(_events2.default.CONTAINER_OPTIONS_CHANGE);\n };\n\n Container.prototype.render = function render() {\n this.$el.append(this.playback.render().el);\n this.updateStyle();\n return this;\n };\n\n return Container;\n}(_ui_object2.default);\n\nexports.default = Container;\n\n\n(0, _assign2.default)(Container.prototype, _error_mixin2.default);\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container/index.js\":\n/*!*******************************************!*\\\n !*** ./src/components/container/index.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _container = __webpack_require__(/*! ./container */ \"./src/components/container/container.js\");\n\nvar _container2 = _interopRequireDefault(_container);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _container2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container/public/style.scss\":\n/*!****************************************************!*\\\n !*** ./src/components/container/public/style.scss ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/container/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/components/container_factory/container_factory.js\":\n/*!***************************************************************!*\\\n !*** ./src/components/container_factory/container_factory.js ***!\n \\***************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof2 = __webpack_require__(/*! babel-runtime/helpers/typeof */ \"./node_modules/babel-runtime/helpers/typeof.js\");\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _container = __webpack_require__(/*! ../../components/container */ \"./src/components/container/index.js\");\n\nvar _container2 = _interopRequireDefault(_container);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * The ContainerFactory is responsible for manage playback bootstrap and create containers.\n */\n\nvar ContainerFactory = function (_BaseObject) {\n (0, _inherits3.default)(ContainerFactory, _BaseObject);\n (0, _createClass3.default)(ContainerFactory, [{\n key: 'options',\n get: function get() {\n return this._options;\n },\n set: function set(options) {\n this._options = options;\n }\n }]);\n\n function ContainerFactory(options, loader, i18n, playerError) {\n (0, _classCallCheck3.default)(this, ContainerFactory);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n _this._i18n = i18n;\n _this.loader = loader;\n _this.playerError = playerError;\n return _this;\n }\n\n ContainerFactory.prototype.createContainers = function createContainers() {\n var _this2 = this;\n\n return _clapprZepto2.default.Deferred(function (promise) {\n promise.resolve(_this2.options.sources.map(function (source) {\n return _this2.createContainer(source);\n }));\n });\n };\n\n ContainerFactory.prototype.findPlaybackPlugin = function findPlaybackPlugin(source, mimeType) {\n return this.loader.playbackPlugins.filter(function (p) {\n return p.canPlay(source, mimeType);\n })[0];\n };\n\n ContainerFactory.prototype.createContainer = function createContainer(source) {\n var resolvedSource = null,\n mimeType = this.options.mimeType;\n if ((typeof source === 'undefined' ? 'undefined' : (0, _typeof3.default)(source)) === 'object') {\n resolvedSource = source.source.toString();\n if (source.mimeType) mimeType = source.mimeType;\n } else {\n resolvedSource = source.toString();\n }\n\n if (resolvedSource.match(/^\\/\\//)) resolvedSource = window.location.protocol + resolvedSource;\n\n var options = _clapprZepto2.default.extend({}, this.options, {\n src: resolvedSource,\n mimeType: mimeType\n });\n var playbackPlugin = this.findPlaybackPlugin(resolvedSource, mimeType);\n var playback = new playbackPlugin(options, this._i18n, this.playerError);\n\n options = _clapprZepto2.default.extend({}, options, { playback: playback });\n\n var container = new _container2.default(options, this._i18n, this.playerError);\n var defer = _clapprZepto2.default.Deferred();\n defer.promise(container);\n this.addContainerPlugins(container);\n this.listenToOnce(container, _events2.default.CONTAINER_READY, function () {\n return defer.resolve(container);\n });\n return container;\n };\n\n ContainerFactory.prototype.addContainerPlugins = function addContainerPlugins(container) {\n this.loader.containerPlugins.forEach(function (Plugin) {\n container.addPlugin(new Plugin(container));\n });\n };\n\n return ContainerFactory;\n}(_base_object2.default);\n\nexports.default = ContainerFactory;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/container_factory/index.js\":\n/*!***************************************************!*\\\n !*** ./src/components/container_factory/index.js ***!\n \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _container_factory = __webpack_require__(/*! ./container_factory */ \"./src/components/container_factory/container_factory.js\");\n\nvar _container_factory2 = _interopRequireDefault(_container_factory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _container_factory2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core/core.js\":\n/*!*************************************!*\\\n !*** ./src/components/core/core.js ***!\n \\*************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _styler = __webpack_require__(/*! ../../base/styler */ \"./src/base/styler.js\");\n\nvar _styler2 = _interopRequireDefault(_styler);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_object = __webpack_require__(/*! ../../base/ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _container_factory = __webpack_require__(/*! ../../components/container_factory */ \"./src/components/container_factory/index.js\");\n\nvar _container_factory2 = _interopRequireDefault(_container_factory);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _player_info = __webpack_require__(/*! ../../components/player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _error_mixin = __webpack_require__(/*! ../../base/error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/components/core/public/style.scss\");\n\nvar _fonts = __webpack_require__(/*! ./public/fonts.css */ \"./src/components/core/public/fonts.css\");\n\nvar _fonts2 = _interopRequireDefault(_fonts);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar style = void 0;\n\n/**\n * The Core is responsible to manage Containers, the mediator, MediaControl\n * and the player state.\n * @class Core\n * @constructor\n * @extends UIObject\n * @module components\n */\n\nvar Core = function (_UIObject) {\n (0, _inherits3.default)(Core, _UIObject);\n (0, _createClass3.default)(Core, [{\n key: 'events',\n get: function get() {\n return {\n 'webkitfullscreenchange': 'handleFullscreenChange',\n 'mousemove': 'onMouseMove',\n 'mouseleave': 'onMouseLeave'\n };\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-player': '',\n tabindex: 9999\n };\n }\n\n /**\n * checks if the core is ready.\n * @property isReady\n * @type {Boolean} `true` if the core is ready, otherwise `false`\n */\n\n }, {\n key: 'isReady',\n get: function get() {\n return !!this.ready;\n }\n\n /**\n * The internationalization plugin.\n * @property i18n\n * @type {Strings}\n */\n\n }, {\n key: 'i18n',\n get: function get() {\n return this.getPlugin('strings') || { t: function t(key) {\n return key;\n } };\n }\n\n /**\n * @deprecated\n * This property currently exists for retrocompatibility reasons.\n * If you want to access the media control instance, use the method getPlugin('media_control').\n */\n\n }, {\n key: 'mediaControl',\n get: function get() {\n return this.getPlugin('media_control') || this.dummyMediaControl;\n }\n }, {\n key: 'dummyMediaControl',\n get: function get() {\n if (this._dummyMediaControl) return this._dummyMediaControl;\n this._dummyMediaControl = new _ui_core_plugin2.default(this);\n return this._dummyMediaControl;\n }\n\n /**\n * gets the active container reference.\n * @property activeContainer\n * @type {Object}\n */\n\n }, {\n key: 'activeContainer',\n get: function get() {\n return this._activeContainer;\n }\n\n /**\n * sets the active container reference and trigger a event with the new reference.\n * @property activeContainer\n * @type {Object}\n */\n ,\n set: function set(container) {\n this._activeContainer = container;\n this.trigger(_events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this._activeContainer);\n }\n\n /**\n * gets the active playback reference.\n * @property activePlayback\n * @type {Object}\n */\n\n }, {\n key: 'activePlayback',\n get: function get() {\n return this.activeContainer && this.activeContainer.playback;\n }\n }]);\n\n function Core(options) {\n (0, _classCallCheck3.default)(this, Core);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIObject.call(this, options));\n\n _this.playerError = new _error2.default(options, _this);\n _this.configureDomRecycler();\n _this.playerInfo = _player_info2.default.getInstance(options.playerId);\n _this.firstResize = true;\n _this.plugins = [];\n _this.containers = [];\n //FIXME fullscreen api sucks\n _this._boundFullscreenHandler = function () {\n return _this.handleFullscreenChange();\n };\n (0, _clapprZepto2.default)(document).bind('fullscreenchange', _this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).bind('MSFullscreenChange', _this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).bind('mozfullscreenchange', _this._boundFullscreenHandler);\n _browser2.default.isMobile && (0, _clapprZepto2.default)(window).bind('resize', function (o) {\n _this.handleWindowResize(o);\n });\n return _this;\n }\n\n Core.prototype.configureDomRecycler = function configureDomRecycler() {\n var recycleVideo = this.options && this.options.playback && this.options.playback.recycleVideo;\n _utils.DomRecycler.configure({ recycleVideo: recycleVideo });\n };\n\n Core.prototype.createContainers = function createContainers(options) {\n this.defer = _clapprZepto2.default.Deferred();\n this.defer.promise(this);\n this.containerFactory = new _container_factory2.default(options, options.loader, this.i18n, this.playerError);\n this.prepareContainers();\n };\n\n Core.prototype.prepareContainers = function prepareContainers() {\n var _this2 = this;\n\n this.containerFactory.createContainers().then(function (containers) {\n return _this2.setupContainers(containers);\n }).then(function (containers) {\n return _this2.resolveOnContainersReady(containers);\n });\n };\n\n Core.prototype.updateSize = function updateSize() {\n this.isFullscreen() ? this.setFullscreen() : this.setPlayerSize();\n };\n\n Core.prototype.setFullscreen = function setFullscreen() {\n if (!_browser2.default.isiOS) {\n this.$el.addClass('fullscreen');\n this.$el.removeAttr('style');\n this.playerInfo.previousSize = { width: this.options.width, height: this.options.height };\n this.playerInfo.currentSize = { width: (0, _clapprZepto2.default)(window).width(), height: (0, _clapprZepto2.default)(window).height() };\n }\n };\n\n Core.prototype.setPlayerSize = function setPlayerSize() {\n this.$el.removeClass('fullscreen');\n this.playerInfo.currentSize = this.playerInfo.previousSize;\n this.playerInfo.previousSize = { width: (0, _clapprZepto2.default)(window).width(), height: (0, _clapprZepto2.default)(window).height() };\n this.resize(this.playerInfo.currentSize);\n };\n\n Core.prototype.resize = function resize(options) {\n if (!(0, _utils.isNumber)(options.height) && !(0, _utils.isNumber)(options.width)) {\n this.el.style.height = '' + options.height;\n this.el.style.width = '' + options.width;\n } else {\n this.el.style.height = options.height + 'px';\n this.el.style.width = options.width + 'px';\n }\n this.playerInfo.previousSize = { width: this.options.width, height: this.options.height };\n this.options.width = options.width;\n this.options.height = options.height;\n this.playerInfo.currentSize = options;\n this.triggerResize(this.playerInfo.currentSize);\n };\n\n Core.prototype.enableResizeObserver = function enableResizeObserver() {\n var _this3 = this;\n\n var checkSizeCallback = function checkSizeCallback() {\n _this3.triggerResize({ width: _this3.el.clientWidth, height: _this3.el.clientHeight });\n };\n this.resizeObserverInterval = setInterval(checkSizeCallback, 500);\n };\n\n Core.prototype.triggerResize = function triggerResize(newSize) {\n var thereWasChange = this.firstResize || this.oldHeight !== newSize.height || this.oldWidth !== newSize.width;\n if (thereWasChange) {\n this.oldHeight = newSize.height;\n this.oldWidth = newSize.width;\n this.playerInfo.computedSize = newSize;\n this.firstResize = false;\n _mediator2.default.trigger(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, newSize);\n this.trigger(_events2.default.CORE_RESIZE, newSize);\n }\n };\n\n Core.prototype.disableResizeObserver = function disableResizeObserver() {\n this.resizeObserverInterval && clearInterval(this.resizeObserverInterval);\n };\n\n Core.prototype.resolveOnContainersReady = function resolveOnContainersReady(containers) {\n var _this4 = this;\n\n _clapprZepto2.default.when.apply(_clapprZepto2.default, containers).done(function () {\n _this4.defer.resolve(_this4);\n _this4.ready = true;\n _this4.trigger(_events2.default.CORE_READY);\n });\n };\n\n Core.prototype.addPlugin = function addPlugin(plugin) {\n this.plugins.push(plugin);\n };\n\n Core.prototype.hasPlugin = function hasPlugin(name) {\n return !!this.getPlugin(name);\n };\n\n Core.prototype.getPlugin = function getPlugin(name) {\n return this.plugins.filter(function (plugin) {\n return plugin.name === name;\n })[0];\n };\n\n Core.prototype.load = function load(sources, mimeType) {\n this.options.mimeType = mimeType;\n sources = sources && sources.constructor === Array ? sources : [sources];\n this.options.sources = sources;\n this.containers.forEach(function (container) {\n return container.destroy();\n });\n this.containerFactory.options = _clapprZepto2.default.extend(this.options, { sources: sources });\n this.prepareContainers();\n };\n\n Core.prototype.destroy = function destroy() {\n this.disableResizeObserver();\n this.containers.forEach(function (container) {\n return container.destroy();\n });\n this.plugins.forEach(function (plugin) {\n return plugin.destroy();\n });\n this.$el.remove();\n (0, _clapprZepto2.default)(document).unbind('fullscreenchange', this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).unbind('MSFullscreenChange', this._boundFullscreenHandler);\n (0, _clapprZepto2.default)(document).unbind('mozfullscreenchange', this._boundFullscreenHandler);\n this.stopListening();\n };\n\n Core.prototype.handleFullscreenChange = function handleFullscreenChange() {\n this.trigger(_events2.default.CORE_FULLSCREEN, this.isFullscreen());\n this.updateSize();\n };\n\n Core.prototype.handleWindowResize = function handleWindowResize(event) {\n var orientation = window.innerWidth > window.innerHeight ? 'landscape' : 'portrait';\n if (this._screenOrientation === orientation) return;\n this._screenOrientation = orientation;\n this.triggerResize({ width: this.el.clientWidth, height: this.el.clientHeight });\n this.trigger(_events2.default.CORE_SCREEN_ORIENTATION_CHANGED, {\n event: event,\n orientation: this._screenOrientation\n });\n };\n\n Core.prototype.removeContainer = function removeContainer(container) {\n this.stopListening(container);\n this.containers = this.containers.filter(function (c) {\n return c !== container;\n });\n };\n\n Core.prototype.setupContainer = function setupContainer(container) {\n this.listenTo(container, _events2.default.CONTAINER_DESTROYED, this.removeContainer);\n this.containers.push(container);\n };\n\n Core.prototype.setupContainers = function setupContainers(containers) {\n containers.forEach(this.setupContainer.bind(this));\n this.trigger(_events2.default.CORE_CONTAINERS_CREATED);\n this.renderContainers();\n this.activeContainer = containers[0];\n this.render();\n this.appendToParent();\n return this.containers;\n };\n\n Core.prototype.renderContainers = function renderContainers() {\n var _this5 = this;\n\n this.containers.forEach(function (container) {\n return _this5.el.appendChild(container.render().el);\n });\n };\n\n Core.prototype.createContainer = function createContainer(source, options) {\n var container = this.containerFactory.createContainer(source, options);\n this.setupContainer(container);\n this.el.appendChild(container.render().el);\n return container;\n };\n\n /**\n * @deprecated\n * This method currently exists for retrocompatibility reasons.\n * If you want the current container reference, use the activeContainer getter.\n */\n\n\n Core.prototype.getCurrentContainer = function getCurrentContainer() {\n return this.activeContainer;\n };\n\n /**\n * @deprecated\n * This method currently exists for retrocompatibility reasons.\n * If you want the current playback reference, use the activePlayback getter.\n */\n\n\n Core.prototype.getCurrentPlayback = function getCurrentPlayback() {\n return this.activePlayback;\n };\n\n Core.prototype.getPlaybackType = function getPlaybackType() {\n return this.activeContainer && this.activeContainer.getPlaybackType();\n };\n\n Core.prototype.isFullscreen = function isFullscreen() {\n // Ensure current instance is in fullscreen mode by checking fullscreen element\n var el = _browser2.default.isiOS ? this.activeContainer && this.activeContainer.el || this.el : this.el;\n return _utils.Fullscreen.fullscreenElement() === el;\n };\n\n Core.prototype.toggleFullscreen = function toggleFullscreen() {\n if (this.isFullscreen()) {\n _utils.Fullscreen.cancelFullscreen();\n !_browser2.default.isiOS && this.$el.removeClass('fullscreen nocursor');\n } else {\n _utils.Fullscreen.requestFullscreen(_browser2.default.isiOS ? this.activeContainer.el : this.el);\n !_browser2.default.isiOS && this.$el.addClass('fullscreen');\n }\n };\n\n Core.prototype.onMouseMove = function onMouseMove(event) {\n this.trigger(_events2.default.CORE_MOUSE_MOVE, event);\n };\n\n Core.prototype.onMouseLeave = function onMouseLeave(event) {\n this.trigger(_events2.default.CORE_MOUSE_LEAVE, event);\n };\n\n /**\n * enables to configure the container after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n Core.prototype.configure = function configure(options) {\n var _this6 = this;\n\n this._options = _clapprZepto2.default.extend(this._options, options);\n this.configureDomRecycler();\n\n var sources = options.source || options.sources;\n sources && this.load(sources, options.mimeType || this.options.mimeType);\n\n this.trigger(_events2.default.CORE_OPTIONS_CHANGE, options); // Trigger with newly provided options\n this.containers.forEach(function (container) {\n return container.configure(_this6.options);\n });\n };\n\n Core.prototype.appendToParent = function appendToParent() {\n var hasCoreParent = this.$el.parent() && this.$el.parent().length;\n !hasCoreParent && this.$el.appendTo(this.options.parentElement);\n };\n\n Core.prototype.render = function render() {\n if (!style) style = _styler2.default.getStyleFor(_fonts2.default, { baseUrl: this.options.baseUrl });\n\n (0, _clapprZepto2.default)('head').append(style);\n\n this.options.width = this.options.width || this.$el.width();\n this.options.height = this.options.height || this.$el.height();\n var size = { width: this.options.width, height: this.options.height };\n this.playerInfo.previousSize = this.playerInfo.currentSize = this.playerInfo.computedSize = size;\n this.updateSize();\n\n this.previousSize = { width: this.$el.width(), height: this.$el.height() };\n\n this.enableResizeObserver();\n\n return this;\n };\n\n return Core;\n}(_ui_object2.default);\n\nexports.default = Core;\n\n\n(0, _assign2.default)(Core.prototype, _error_mixin2.default);\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core/index.js\":\n/*!**************************************!*\\\n !*** ./src/components/core/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _core = __webpack_require__(/*! ./core */ \"./src/components/core/core.js\");\n\nvar _core2 = _interopRequireDefault(_core);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _core2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core/public/Roboto.ttf\":\n/*!***********************************************!*\\\n !*** ./src/components/core/public/Roboto.ttf ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/38861cba61c66739c1452c3a71e39852.ttf\";\n\n/***/ }),\n\n/***/ \"./src/components/core/public/fonts.css\":\n/*!**********************************************!*\\\n !*** ./src/components/core/public/fonts.css ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar escape = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/url/escape.js */ \"./node_modules/css-loader/lib/url/escape.js\");\nexports = module.exports = __webpack_require__(/*! ../../../../node_modules/css-loader/lib/css-base.js */ \"./node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.i, \"@font-face {\\n font-family: \\\"Roboto\\\";\\n font-style: normal;\\n font-weight: 400;\\n src: local(\\\"Roboto\\\"), local(\\\"Roboto-Regular\\\"), url(\" + escape(__webpack_require__(/*! ./Roboto.ttf */ \"./src/components/core/public/Roboto.ttf\")) + \") format(\\\"truetype\\\");\\n}\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n\n/***/ \"./src/components/core/public/style.scss\":\n/*!***********************************************!*\\\n !*** ./src/components/core/public/style.scss ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/components/core/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/components/core_factory/core_factory.js\":\n/*!*****************************************************!*\\\n !*** ./src/components/core_factory/core_factory.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _core = __webpack_require__(/*! ../core */ \"./src/components/core/index.js\");\n\nvar _core2 = _interopRequireDefault(_core);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The Core Factory is responsible for instantiate the core and it's plugins.\n * @class CoreFactory\n * @constructor\n * @extends BaseObject\n * @module components\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar CoreFactory = function (_BaseObject) {\n (0, _inherits3.default)(CoreFactory, _BaseObject);\n (0, _createClass3.default)(CoreFactory, [{\n key: 'loader',\n get: function get() {\n return this.player.loader;\n }\n\n /**\n * it builds the core factory\n * @method constructor\n * @param {Player} player the player object\n */\n\n }]);\n\n function CoreFactory(player) {\n (0, _classCallCheck3.default)(this, CoreFactory);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this));\n\n _this.player = player;\n _this._options = player.options;\n return _this;\n }\n\n /**\n * creates a core and its plugins\n * @method create\n * @return {Core} created core\n */\n\n\n CoreFactory.prototype.create = function create() {\n this.options.loader = this.loader;\n this.core = new _core2.default(this.options);\n this.addCorePlugins();\n this.core.createContainers(this.options);\n return this.core;\n };\n\n /**\n * given the core plugins (`loader.corePlugins`) it builds each one\n * @method addCorePlugins\n * @return {Core} the core with all plugins\n */\n\n\n CoreFactory.prototype.addCorePlugins = function addCorePlugins() {\n var _this2 = this;\n\n this.loader.corePlugins.forEach(function (Plugin) {\n var plugin = new Plugin(_this2.core);\n _this2.core.addPlugin(plugin);\n _this2.setupExternalInterface(plugin);\n });\n return this.core;\n };\n\n CoreFactory.prototype.setupExternalInterface = function setupExternalInterface(plugin) {\n var externalFunctions = plugin.getExternalInterface();\n for (var key in externalFunctions) {\n this.player[key] = externalFunctions[key].bind(plugin);\n this.core[key] = externalFunctions[key].bind(plugin);\n }\n };\n\n return CoreFactory;\n}(_base_object2.default);\n\nexports.default = CoreFactory;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/core_factory/index.js\":\n/*!**********************************************!*\\\n !*** ./src/components/core_factory/index.js ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _core_factory = __webpack_require__(/*! ./core_factory */ \"./src/components/core_factory/core_factory.js\");\n\nvar _core_factory2 = _interopRequireDefault(_core_factory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _core_factory2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/error/error.js\":\n/*!***************************************!*\\\n !*** ./src/components/error/error.js ***!\n \\***************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _log = __webpack_require__(/*! ../../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The PlayerError is responsible to receive and propagate errors.\n * @class PlayerError\n * @constructor\n * @extends BaseObject\n * @module components\n */\nvar PlayerError = function (_BaseObject) {\n (0, _inherits3.default)(PlayerError, _BaseObject);\n (0, _createClass3.default)(PlayerError, [{\n key: 'name',\n get: function get() {\n return 'error';\n }\n\n /**\n * @property Levels\n * @type {Object} object with error levels\n */\n\n }], [{\n key: 'Levels',\n get: function get() {\n return {\n FATAL: 'FATAL',\n WARN: 'WARN',\n INFO: 'INFO'\n };\n }\n }]);\n\n function PlayerError() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var core = arguments[1];\n (0, _classCallCheck3.default)(this, PlayerError);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n _this.core = core;\n return _this;\n }\n\n /**\n * creates and trigger an error.\n * @method createError\n * @param {Object} err should be an object with code, description, level, origin, scope and raw error.\n */\n\n\n PlayerError.prototype.createError = function createError(err) {\n if (!this.core) {\n _log2.default.warn(this.name, 'Core is not set. Error: ', err);\n return;\n }\n this.core.trigger(_events2.default.ERROR, err);\n };\n\n return PlayerError;\n}(_base_object2.default);\n\nexports.default = PlayerError;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/error/index.js\":\n/*!***************************************!*\\\n !*** ./src/components/error/index.js ***!\n \\***************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _error = __webpack_require__(/*! ./error */ \"./src/components/error/error.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _error2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/loader/index.js\":\n/*!****************************************!*\\\n !*** ./src/components/loader/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _loader = __webpack_require__(/*! ./loader */ \"./src/components/loader/loader.js\");\n\nvar _loader2 = _interopRequireDefault(_loader);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _loader2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/loader/loader.js\":\n/*!*****************************************!*\\\n !*** ./src/components/loader/loader.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _create = __webpack_require__(/*! babel-runtime/core-js/object/create */ \"./node_modules/babel-runtime/core-js/object/create.js\");\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_object = __webpack_require__(/*! ../../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _player_info = __webpack_require__(/*! ../player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _html5_video = __webpack_require__(/*! ../../playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nvar _flash = __webpack_require__(/*! ../../playbacks/flash */ \"./src/playbacks/flash/index.js\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\nvar _html5_audio = __webpack_require__(/*! ../../playbacks/html5_audio */ \"./src/playbacks/html5_audio/index.js\");\n\nvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\nvar _flashls = __webpack_require__(/*! ../../playbacks/flashls */ \"./src/playbacks/flashls/index.js\");\n\nvar _flashls2 = _interopRequireDefault(_flashls);\n\nvar _hls = __webpack_require__(/*! ../../playbacks/hls */ \"./src/playbacks/hls/index.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nvar _html_img = __webpack_require__(/*! ../../playbacks/html_img */ \"./src/playbacks/html_img/index.js\");\n\nvar _html_img2 = _interopRequireDefault(_html_img);\n\nvar _no_op = __webpack_require__(/*! ../../playbacks/no_op */ \"./src/playbacks/no_op/index.js\");\n\nvar _no_op2 = _interopRequireDefault(_no_op);\n\nvar _spinner_three_bounce = __webpack_require__(/*! ../../plugins/spinner_three_bounce */ \"./src/plugins/spinner_three_bounce/index.js\");\n\nvar _spinner_three_bounce2 = _interopRequireDefault(_spinner_three_bounce);\n\nvar _stats = __webpack_require__(/*! ../../plugins/stats */ \"./src/plugins/stats/index.js\");\n\nvar _stats2 = _interopRequireDefault(_stats);\n\nvar _watermark = __webpack_require__(/*! ../../plugins/watermark */ \"./src/plugins/watermark/index.js\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\nvar _poster = __webpack_require__(/*! ../../plugins/poster */ \"./src/plugins/poster/index.js\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nvar _google_analytics = __webpack_require__(/*! ../../plugins/google_analytics */ \"./src/plugins/google_analytics/index.js\");\n\nvar _google_analytics2 = _interopRequireDefault(_google_analytics);\n\nvar _click_to_pause = __webpack_require__(/*! ../../plugins/click_to_pause */ \"./src/plugins/click_to_pause/index.js\");\n\nvar _click_to_pause2 = _interopRequireDefault(_click_to_pause);\n\nvar _media_control = __webpack_require__(/*! ../../plugins/media_control */ \"./src/plugins/media_control/index.js\");\n\nvar _media_control2 = _interopRequireDefault(_media_control);\n\nvar _dvr_controls = __webpack_require__(/*! ../../plugins/dvr_controls */ \"./src/plugins/dvr_controls/index.js\");\n\nvar _dvr_controls2 = _interopRequireDefault(_dvr_controls);\n\nvar _closed_captions = __webpack_require__(/*! ../../plugins/closed_captions */ \"./src/plugins/closed_captions/index.js\");\n\nvar _closed_captions2 = _interopRequireDefault(_closed_captions);\n\nvar _favicon = __webpack_require__(/*! ../../plugins/favicon */ \"./src/plugins/favicon/index.js\");\n\nvar _favicon2 = _interopRequireDefault(_favicon);\n\nvar _seek_time = __webpack_require__(/*! ../../plugins/seek_time */ \"./src/plugins/seek_time/index.js\");\n\nvar _seek_time2 = _interopRequireDefault(_seek_time);\n\nvar _sources = __webpack_require__(/*! ../../plugins/sources */ \"./src/plugins/sources.js\");\n\nvar _sources2 = _interopRequireDefault(_sources);\n\nvar _end_video = __webpack_require__(/*! ../../plugins/end_video */ \"./src/plugins/end_video.js\");\n\nvar _end_video2 = _interopRequireDefault(_end_video);\n\nvar _strings = __webpack_require__(/*! ../../plugins/strings */ \"./src/plugins/strings.js\");\n\nvar _strings2 = _interopRequireDefault(_strings);\n\nvar _error_screen = __webpack_require__(/*! ../../plugins/error_screen */ \"./src/plugins/error_screen/index.js\");\n\nvar _error_screen2 = _interopRequireDefault(_error_screen);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * It keeps a list of the default plugins (playback, container, core) and it merges external plugins with its internals.\n * @class Loader\n * @constructor\n * @extends BaseObject\n * @module components\n */\n\n\n/* Playback Plugins */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Loader = function (_BaseObject) {\n (0, _inherits3.default)(Loader, _BaseObject);\n\n /**\n * builds the loader\n * @method constructor\n * @param {Object} externalPlugins the external plugins\n * @param {Number} playerId you can embed multiple instances of clappr, therefore this is the unique id of each one.\n */\n function Loader() {\n var externalPlugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var playerId = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n var useOnlyPlainHtml5Plugins = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;\n (0, _classCallCheck3.default)(this, Loader);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this));\n\n _this.playerId = playerId;\n _this.playbackPlugins = [];\n\n if (!useOnlyPlainHtml5Plugins) {\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_hls2.default]);\n }\n\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_html5_video2.default, _html5_audio2.default]);\n\n if (!useOnlyPlainHtml5Plugins) {\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_flash2.default, _flashls2.default]);\n }\n\n _this.playbackPlugins = [].concat((0, _toConsumableArray3.default)(_this.playbackPlugins), [_html_img2.default, _no_op2.default]);\n\n _this.containerPlugins = [_spinner_three_bounce2.default, _watermark2.default, _poster2.default, _stats2.default, _google_analytics2.default, _click_to_pause2.default];\n _this.corePlugins = [_media_control2.default, _dvr_controls2.default, _closed_captions2.default, _favicon2.default, _seek_time2.default, _sources2.default, _end_video2.default, _error_screen2.default, _strings2.default];\n\n if (!Array.isArray(externalPlugins)) _this.validateExternalPluginsType(externalPlugins);\n\n _this.addExternalPlugins(externalPlugins);\n return _this;\n }\n\n /**\n * groups by type the external plugins that were passed through `options.plugins` it they're on a flat array\n * @method addExternalPlugins\n * @private\n * @param {Object} an config object or an array of plugins\n * @return {Object} plugins the config object with the plugins separated by type\n */\n\n\n Loader.prototype.groupPluginsByType = function groupPluginsByType(plugins) {\n if (Array.isArray(plugins)) {\n plugins = plugins.reduce(function (memo, plugin) {\n memo[plugin.type] || (memo[plugin.type] = []);\n memo[plugin.type].push(plugin);\n return memo;\n }, {});\n }\n return plugins;\n };\n\n Loader.prototype.removeDups = function removeDups(list) {\n var groupUp = function groupUp(plugins, plugin) {\n plugins[plugin.prototype.name] && delete plugins[plugin.prototype.name];\n plugins[plugin.prototype.name] = plugin;\n return plugins;\n };\n var pluginsMap = list.reduceRight(groupUp, (0, _create2.default)(null));\n\n var plugins = [];\n for (var key in pluginsMap) {\n plugins.unshift(pluginsMap[key]);\n }return plugins;\n };\n\n /**\n * adds all the external plugins that were passed through `options.plugins`\n * @method addExternalPlugins\n * @private\n * @param {Object} plugins the config object with all plugins\n */\n\n\n Loader.prototype.addExternalPlugins = function addExternalPlugins(plugins) {\n plugins = this.groupPluginsByType(plugins);\n if (plugins.playback) this.playbackPlugins = this.removeDups(plugins.playback.concat(this.playbackPlugins));\n\n if (plugins.container) this.containerPlugins = this.removeDups(plugins.container.concat(this.containerPlugins));\n\n if (plugins.core) this.corePlugins = this.removeDups(plugins.core.concat(this.corePlugins));\n\n _player_info2.default.getInstance(this.playerId).playbackPlugins = this.playbackPlugins;\n };\n\n /**\n * validate if the external plugins that were passed through `options.plugins` are associated to the correct type\n * @method validateExternalPluginsType\n * @private\n * @param {Object} plugins the config object with all plugins\n */\n\n\n Loader.prototype.validateExternalPluginsType = function validateExternalPluginsType(plugins) {\n var plugintypes = ['playback', 'container', 'core'];\n plugintypes.forEach(function (type) {\n (plugins[type] || []).forEach(function (el) {\n var errorMessage = 'external ' + el.type + ' plugin on ' + type + ' array';\n if (el.type !== type) throw new ReferenceError(errorMessage);\n });\n });\n };\n\n return Loader;\n}(_base_object2.default);\n\n/* Core Plugins */\n\n\n/* Container Plugins */\n\n\nexports.default = Loader;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/mediator.js\":\n/*!************************************!*\\\n !*** ./src/components/mediator.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar events = new _events2.default(); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * The mediator is a singleton for handling global events.\n */\n\nvar Mediator = function Mediator() {\n (0, _classCallCheck3.default)(this, Mediator);\n};\n\nexports.default = Mediator;\n\n\nMediator.on = function (name, callback, context) {\n events.on(name, callback, context);\n return;\n};\n\nMediator.once = function (name, callback, context) {\n events.once(name, callback, context);\n return;\n};\n\nMediator.off = function (name, callback, context) {\n events.off(name, callback, context);\n return;\n};\n\nMediator.trigger = function (name) {\n for (var _len = arguments.length, opts = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n opts[_key - 1] = arguments[_key];\n }\n\n events.trigger.apply(events, [name].concat(opts));\n return;\n};\n\nMediator.stopListening = function (obj, name, callback) {\n events.stopListening(obj, name, callback);\n return;\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/player.js\":\n/*!**********************************!*\\\n !*** ./src/components/player.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _assign = __webpack_require__(/*! babel-runtime/core-js/object/assign */ \"./node_modules/babel-runtime/core-js/object/assign.js\");\n\nvar _assign2 = _interopRequireDefault(_assign);\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../base/utils */ \"./src/base/utils.js\");\n\nvar _base_object = __webpack_require__(/*! ../base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _browser = __webpack_require__(/*! ./browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _core_factory = __webpack_require__(/*! ./core_factory */ \"./src/components/core_factory/index.js\");\n\nvar _core_factory2 = _interopRequireDefault(_core_factory);\n\nvar _loader = __webpack_require__(/*! ./loader */ \"./src/components/loader/index.js\");\n\nvar _loader2 = _interopRequireDefault(_loader);\n\nvar _player_info = __webpack_require__(/*! ./player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _error_mixin = __webpack_require__(/*! ../base/error_mixin */ \"./src/base/error_mixin.js\");\n\nvar _error_mixin2 = _interopRequireDefault(_error_mixin);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar baseUrl = (0, _utils.currentScriptUrl)().replace(/\\/[^/]+$/, '');\n\n/**\n * @class Player\n * @constructor\n * @extends BaseObject\n * @module components\n * @example\n * ### Using the Player\n *\n * Add the following script on your HTML:\n * ```html\n * <head>\n * <script type=\"text/javascript\" src=\"http://cdn.clappr.io/latest/clappr.min.js\"></script>\n * </head>\n * ```\n * Now, create the player:\n * ```html\n * <body>\n * <div id=\"player\"></div>\n * <script>\n * var player = new Clappr.Player({source: \"http://your.video/here.mp4\", parentId: \"#player\"});\n * </script>\n * </body>\n * ```\n */\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Player = function (_BaseObject) {\n (0, _inherits3.default)(Player, _BaseObject);\n (0, _createClass3.default)(Player, [{\n key: 'loader',\n set: function set(loader) {\n this._loader = loader;\n },\n get: function get() {\n if (!this._loader) this._loader = new _loader2.default(this.options.plugins || {}, this.options.playerId);\n\n return this._loader;\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this.core.activeContainer.ended;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * (i.e if a live stream is playing smoothly, this will be false)\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return this.core.activeContainer.buffering;\n }\n\n /*\n * determine if the player is ready.\n * @property isReady\n * @type {Boolean} `true` if the player is ready. ie PLAYER_READY event has fired\n */\n\n }, {\n key: 'isReady',\n get: function get() {\n return !!this._ready;\n }\n\n /**\n * An events map that allows the user to add custom callbacks in player's options.\n * @property eventsMapping\n * @type {Object}\n */\n\n }, {\n key: 'eventsMapping',\n get: function get() {\n return {\n onReady: _events2.default.PLAYER_READY,\n onResize: _events2.default.PLAYER_RESIZE,\n onPlay: _events2.default.PLAYER_PLAY,\n onPause: _events2.default.PLAYER_PAUSE,\n onStop: _events2.default.PLAYER_STOP,\n onEnded: _events2.default.PLAYER_ENDED,\n onSeek: _events2.default.PLAYER_SEEK,\n onError: _events2.default.PLAYER_ERROR,\n onTimeUpdate: _events2.default.PLAYER_TIMEUPDATE,\n onVolumeUpdate: _events2.default.PLAYER_VOLUMEUPDATE,\n onSubtitleAvailable: _events2.default.PLAYER_SUBTITLE_AVAILABLE\n };\n }\n\n /**\n * @typedef {Object} PlaybackConfig\n * @prop {boolean} disableContextMenu\n * disables the context menu (right click) on the video element if a HTML5Video playback is used.\n * @prop {boolean} preload\n * video will be preloaded according to `preload` attribute options **default**: `'metadata'`\n * @prop {boolean} controls\n * enabled/disables displaying controls\n * @prop {boolean} crossOrigin\n * enables cross-origin capability for media-resources\n * @prop {boolean} playInline\n * enables in-line video elements\n * @prop {boolean} audioOnly\n * enforce audio-only playback (when possible)\n * @prop {Object} externalTracks\n * pass externaly loaded track to playback\n * @prop {Number} [maxBufferLength]\n * The default behavior for the **HLS playback** is to keep buffering indefinitely, even on VoD.\n * This replicates the behavior for progressive download, which continues buffering when pausing the video, thus making the video available for playback even on slow networks.\n * To change this behavior use `maxBufferLength` where **value is in seconds**.\n * @prop {Number} [maxBackBufferLength]\n * After how much distance of the playhead data should be pruned from the buffer (influences memory consumption\n * of adaptive media-engines like Hls.js or Shaka)\n * @prop {Number} [minBufferLength]\n * After how much data in the buffer at least we attempt to consume it (influences QoS-related behavior\n * of adaptive media-engines like Hls.js or Shaka). If this is too low, and the available bandwidth is varying a lot\n * and too close to the streamed bitrate, we may continuously hit under-runs.\n * @prop {Number} [initialBandwidthEstimate]\n * define an initial bandwidth \"guess\" (or previously stored/established value) for underlying adaptive-bitreate engines\n * of adaptive playback implementations, like Hls.js or Shaka\n * @prop {Number} [maxAdaptiveBitrate]\n * Limits the streamed bitrate (for adaptive media-engines in underlying playback implementations)\n * @prop {Object} [maxAdaptiveVideoDimensions]\n * Limits the video dimensions in adaptive media-engines. Should be a literal object with `height` and `width`.\n * @prop {Boolean}[enableAutomaticABR] **default**: `true`\n * Allows to enable/disable automatic bitrate switching in adaptive media-engines\n * @prop {String} [preferredTextLanguage] **default**: `'pt-BR'`\n * Allows to set a preferred text language, that may be enabled by the media-engine if available.\n * @prop {String} [preferredAudioLanguage] **default**: `'pt-BR'`\n * Allows to set a preferred audio language, that may be enabled by the media-engine if available.\n */\n\n /**\n * ## Player's constructor\n *\n * You might pass the options object to build the player.\n * ```javascript\n * var options = {source: \"http://example.com/video.mp4\", param1: \"val1\"};\n * var player = new Clappr.Player(options);\n * ```\n *\n * @method constructor\n * @param {Object} options Data\n * options to build a player instance\n * @param {Number} [options.width]\n * player's width **default**: `640`\n * @param {Number} [options.height]\n * player's height **default**: `360`\n * @param {String} [options.parentId]\n * the id of the element on the page that the player should be inserted into\n * @param {Object} [options.parent]\n * a reference to a dom element that the player should be inserted into\n * @param {String} [options.source]\n * The media source URL, or {source: <<source URL>>, mimeType: <<source mime type>>}\n * @param {Object} [options.sources]\n * An array of media source URL's, or an array of {source: <<source URL>>, mimeType: <<source mime type>>}\n * @param {Boolean} [options.autoPlay]\n * automatically play after page load **default**: `false`\n * @param {Boolean} [options.loop]\n * automatically replay after it ends **default**: `false`\n * @param {Boolean} [options.chromeless]\n * player acts in chromeless mode **default**: `false`\n * @param {Boolean} [options.allowUserInteraction]\n * whether or not the player should handle click events when in chromeless mode **default**: `false` on desktops browsers, `true` on mobile.\n * @param {Boolean} [options.disableKeyboardShortcuts]\n * disable keyboard shortcuts. **default**: `false`. `true` if `allowUserInteraction` is `false`.\n * @param {Boolean} [options.mute]\n * start the video muted **default**: `false`\n * @param {String} [options.mimeType]\n * add `mimeType: \"application/vnd.apple.mpegurl\"` if you need to use a url without extension.\n * @param {Boolean} [options.actualLiveTime]\n * show duration and seek time relative to actual time.\n * @param {String} [options.actualLiveServerTime]\n * specify server time as a string, format: \"2015/11/26 06:01:03\". This option is meant to be used with actualLiveTime.\n * @param {Boolean} [options.persistConfig]\n * persist player's settings (volume) through the same domain **default**: `true`\n * @param {String} [options.preload] @deprecated\n * video will be preloaded according to `preload` attribute options **default**: `'metadata'`\n * @param {Number} [options.maxBufferLength] @deprecated\n * the default behavior for the **HLS playback** is to keep buffering indefinitely, even on VoD.\n * This replicates the behavior for progressive download, which continues buffering when pausing the video, thus making the video available for playback even on slow networks.\n * To change this behavior use `maxBufferLength` where **value is in seconds**.\n * @param {String} [options.gaAccount]\n * enable Google Analytics events dispatch **(play/pause/stop/buffering/etc)** by adding your `gaAccount`\n * @param {String} [options.gaTrackerName]\n * besides `gaAccount` you can optionally, pass your favorite trackerName as `gaTrackerName`\n * @param {Object} [options.mediacontrol]\n * customize control bar colors, example: `mediacontrol: {seekbar: \"#E113D3\", buttons: \"#66B2FF\"}`\n * @param {Boolean} [options.hideMediaControl]\n * control media control auto hide **default**: `true`\n * @param {Boolean} [options.hideVolumeBar]\n * when embedded with width less than 320, volume bar will hide. You can force this behavior for all sizes by adding `true` **default**: `false`\n * @param {String} [options.watermark]\n * put `watermark: 'http://url/img.png'` on your embed parameters to automatically add watermark on your video.\n * You can customize corner position by defining position parameter. Positions can be `bottom-left`, `bottom-right`, `top-left` and `top-right`.\n * @param {String} [options.watermarkLink]\n * `watermarkLink: 'http://example.net/'` - define URL to open when the watermark is clicked. If not provided watermark will not be clickable.\n * @param {Boolean} [options.disableVideoTagContextMenu] @deprecated\n * disables the context menu (right click) on the video element if a HTML5Video playback is used.\n * @param {Boolean} [options.autoSeekFromUrl]\n * Automatically seek to the seconds provided in the url (e.g example.com?t=100) **default**: `true`\n * @param {Boolean} [options.exitFullscreenOnEnd]\n * Automatically exit full screen when the media finishes. **default**: `true`\n * @param {String} [options.poster]\n * define a poster by adding its address `poster: 'http://url/img.png'`. It will appear after video embed, disappear on play and go back when user stops the video.\n * @param {String} [options.playbackNotSupportedMessage]\n * define a custom message to be displayed when a playback is not supported.\n * @param {Object} [options.events]\n * Specify listeners which will be registered with their corresponding player events.\n * E.g. onReady -> \"PLAYER_READY\", onTimeUpdate -> \"PLAYER_TIMEUPDATE\"\n * @param {PlaybackConfig} [options.playback]\n * Generic `Playback` component related configuration\n * @param {Boolean} [options.disableErrorScreen]\n * disables the error screen plugin.\n * @param {Number} [options.autoPlayTimeout]\n * autoplay check timeout.\n */\n\n }]);\n\n function Player(options) {\n (0, _classCallCheck3.default)(this, Player);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseObject.call(this, options));\n\n var playbackDefaultOptions = { recycleVideo: true };\n var defaultOptions = {\n playerId: (0, _utils.uniqueId)(''),\n persistConfig: true,\n width: 640,\n height: 360,\n baseUrl: baseUrl,\n allowUserInteraction: _browser2.default.isMobile,\n playback: playbackDefaultOptions\n };\n _this._options = _clapprZepto2.default.extend(defaultOptions, options);\n _this.options.sources = _this._normalizeSources(options);\n if (!_this.options.chromeless) {\n // \"allowUserInteraction\" cannot be false if not in chromeless mode.\n _this.options.allowUserInteraction = true;\n }\n if (!_this.options.allowUserInteraction) {\n // if user iteraction is not allowed ensure keyboard shortcuts are disabled\n _this.options.disableKeyboardShortcuts = true;\n }\n _this._registerOptionEventListeners(_this.options.events);\n _this._coreFactory = new _core_factory2.default(_this);\n _this.playerInfo = _player_info2.default.getInstance(_this.options.playerId);\n _this.playerInfo.currentSize = { width: options.width, height: options.height };\n _this.playerInfo.options = _this.options;\n if (_this.options.parentId) _this.setParentId(_this.options.parentId);else if (_this.options.parent) _this.attachTo(_this.options.parent);\n\n return _this;\n }\n\n /**\n * Specify a `parentId` to the player.\n * @method setParentId\n * @param {String} parentId the element parent id.\n * @return {Player} itself\n */\n\n\n Player.prototype.setParentId = function setParentId(parentId) {\n var el = document.querySelector(parentId);\n if (el) this.attachTo(el);\n\n return this;\n };\n\n /**\n * You can use this method to attach the player to a given element. You don't need to do this when you specify it during the player instantiation passing the `parentId` param.\n * @method attachTo\n * @param {Object} element a given element.\n * @return {Player} itself\n */\n\n\n Player.prototype.attachTo = function attachTo(element) {\n this.options.parentElement = element;\n this.core = this._coreFactory.create();\n this._addEventListeners();\n return this;\n };\n\n Player.prototype._addEventListeners = function _addEventListeners() {\n if (!this.core.isReady) this.listenToOnce(this.core, _events2.default.CORE_READY, this._onReady);else this._onReady();\n\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this._containerChanged);\n this.listenTo(this.core, _events2.default.CORE_FULLSCREEN, this._onFullscreenChange);\n this.listenTo(this.core, _events2.default.CORE_RESIZE, this._onResize);\n return this;\n };\n\n Player.prototype._addContainerEventListeners = function _addContainerEventListeners() {\n var container = this.core.activeContainer;\n if (container) {\n this.listenTo(container, _events2.default.CONTAINER_PLAY, this._onPlay);\n this.listenTo(container, _events2.default.CONTAINER_PAUSE, this._onPause);\n this.listenTo(container, _events2.default.CONTAINER_STOP, this._onStop);\n this.listenTo(container, _events2.default.CONTAINER_ENDED, this._onEnded);\n this.listenTo(container, _events2.default.CONTAINER_SEEK, this._onSeek);\n this.listenTo(container, _events2.default.CONTAINER_ERROR, this._onError);\n this.listenTo(container, _events2.default.CONTAINER_TIMEUPDATE, this._onTimeUpdate);\n this.listenTo(container, _events2.default.CONTAINER_VOLUME, this._onVolumeUpdate);\n this.listenTo(container, _events2.default.CONTAINER_SUBTITLE_AVAILABLE, this._onSubtitleAvailable);\n }\n return this;\n };\n\n Player.prototype._registerOptionEventListeners = function _registerOptionEventListeners() {\n var _this2 = this;\n\n var newEvents = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var events = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n var hasNewEvents = (0, _keys2.default)(newEvents).length > 0;\n hasNewEvents && (0, _keys2.default)(events).forEach(function (userEvent) {\n var eventType = _this2.eventsMapping[userEvent];\n eventType && _this2.off(eventType, events[userEvent]);\n });\n\n (0, _keys2.default)(newEvents).forEach(function (userEvent) {\n var eventType = _this2.eventsMapping[userEvent];\n if (eventType) {\n var eventFunction = newEvents[userEvent];\n eventFunction = typeof eventFunction === 'function' && eventFunction;\n eventFunction && _this2.on(eventType, eventFunction);\n }\n });\n return this;\n };\n\n Player.prototype._containerChanged = function _containerChanged() {\n this.stopListening();\n this._addEventListeners();\n };\n\n Player.prototype._onReady = function _onReady() {\n this._ready = true;\n this._addContainerEventListeners();\n this.trigger(_events2.default.PLAYER_READY);\n };\n\n Player.prototype._onFullscreenChange = function _onFullscreenChange(fullscreen) {\n this.trigger(_events2.default.PLAYER_FULLSCREEN, fullscreen);\n };\n\n Player.prototype._onVolumeUpdate = function _onVolumeUpdate(volume) {\n this.trigger(_events2.default.PLAYER_VOLUMEUPDATE, volume);\n };\n\n Player.prototype._onSubtitleAvailable = function _onSubtitleAvailable() {\n this.trigger(_events2.default.PLAYER_SUBTITLE_AVAILABLE);\n };\n\n Player.prototype._onResize = function _onResize(size) {\n this.trigger(_events2.default.PLAYER_RESIZE, size);\n };\n\n Player.prototype._onPlay = function _onPlay() {\n this.trigger(_events2.default.PLAYER_PLAY);\n };\n\n Player.prototype._onPause = function _onPause() {\n this.trigger(_events2.default.PLAYER_PAUSE);\n };\n\n Player.prototype._onStop = function _onStop() {\n this.trigger(_events2.default.PLAYER_STOP, this.getCurrentTime());\n };\n\n Player.prototype._onEnded = function _onEnded() {\n this.trigger(_events2.default.PLAYER_ENDED);\n };\n\n Player.prototype._onSeek = function _onSeek(time) {\n this.trigger(_events2.default.PLAYER_SEEK, time);\n };\n\n Player.prototype._onTimeUpdate = function _onTimeUpdate(timeProgress) {\n this.trigger(_events2.default.PLAYER_TIMEUPDATE, timeProgress);\n };\n\n Player.prototype._onError = function _onError(error) {\n this.trigger(_events2.default.PLAYER_ERROR, error);\n };\n\n Player.prototype._normalizeSources = function _normalizeSources(options) {\n var sources = options.sources || (options.source !== undefined ? [options.source] : []);\n return sources.length === 0 ? [{ source: '', mimeType: '' }] : sources;\n };\n\n /**\n * resizes the current player canvas.\n * @method resize\n * @param {Object} size should be a literal object with `height` and `width`.\n * @return {Player} itself\n * @example\n * ```javascript\n * player.resize({height: 360, width: 640})\n * ```\n */\n\n\n Player.prototype.resize = function resize(size) {\n this.core.resize(size);\n return this;\n };\n\n /**\n * loads a new source.\n * @method load\n * @param {Array|String} sources source or sources of video.\n * An array item can be a string or {source: <<source URL>>, mimeType: <<source mime type>>}\n * @param {String} mimeType a mime type, example: `'application/vnd.apple.mpegurl'`\n * @param {Boolean} [autoPlay=false] whether playing should be started immediately\n * @return {Player} itself\n */\n\n\n Player.prototype.load = function load(sources, mimeType, autoPlay) {\n if (autoPlay !== undefined) this.configure({ autoPlay: !!autoPlay });\n\n this.core.load(sources, mimeType);\n return this;\n };\n\n /**\n * destroys the current player and removes it from the DOM.\n * @method destroy\n * @return {Player} itself\n */\n\n\n Player.prototype.destroy = function destroy() {\n this.stopListening();\n this.core.destroy();\n return this;\n };\n\n /**\n * Gives user consent to playback. Required by mobile device after a click event before Player.load().\n * @method consent\n * @return {Player} itself\n */\n\n\n Player.prototype.consent = function consent() {\n this.core.getCurrentPlayback().consent();\n return this;\n };\n\n /**\n * plays the current video (`source`).\n * @method play\n * @return {Player} itself\n */\n\n\n Player.prototype.play = function play() {\n this.core.activeContainer.play();\n return this;\n };\n\n /**\n * pauses the current video (`source`).\n * @method pause\n * @return {Player} itself\n */\n\n\n Player.prototype.pause = function pause() {\n this.core.activeContainer.pause();\n return this;\n };\n\n /**\n * stops the current video (`source`).\n * @method stop\n * @return {Player} itself\n */\n\n\n Player.prototype.stop = function stop() {\n this.core.activeContainer.stop();\n return this;\n };\n\n /**\n * seeks the current video (`source`). For example, `player.seek(120)` will seek to second 120 (2minutes) of the current video.\n * @method seek\n * @param {Number} time should be a number between 0 and the video duration.\n * @return {Player} itself\n */\n\n\n Player.prototype.seek = function seek(time) {\n this.core.activeContainer.seek(time);\n return this;\n };\n\n /**\n * seeks the current video (`source`). For example, `player.seek(50)` will seek to the middle of the current video.\n * @method seekPercentage\n * @param {Number} time should be a number between 0 and 100.\n * @return {Player} itself\n */\n\n\n Player.prototype.seekPercentage = function seekPercentage(percentage) {\n this.core.activeContainer.seekPercentage(percentage);\n return this;\n };\n\n /**\n * mutes the current video (`source`).\n * @method mute\n * @return {Player} itself\n */\n\n\n Player.prototype.mute = function mute() {\n this._mutedVolume = this.getVolume();\n this.setVolume(0);\n return this;\n };\n\n /**\n * unmutes the current video (`source`).\n * @method unmute\n * @return {Player} itself\n */\n\n\n Player.prototype.unmute = function unmute() {\n this.setVolume(typeof this._mutedVolume === 'number' ? this._mutedVolume : 100);\n this._mutedVolume = null;\n return this;\n };\n\n /**\n * checks if the player is playing.\n * @method isPlaying\n * @return {Boolean} `true` if the current source is playing, otherwise `false`\n */\n\n\n Player.prototype.isPlaying = function isPlaying() {\n return this.core.activeContainer.isPlaying();\n };\n\n /**\n * returns `true` if DVR is enable otherwise `false`.\n * @method isDvrEnabled\n * @return {Boolean}\n */\n\n\n Player.prototype.isDvrEnabled = function isDvrEnabled() {\n return this.core.activeContainer.isDvrEnabled();\n };\n\n /**\n * returns `true` if DVR is in use otherwise `false`.\n * @method isDvrInUse\n * @return {Boolean}\n */\n\n\n Player.prototype.isDvrInUse = function isDvrInUse() {\n return this.core.activeContainer.isDvrInUse();\n };\n\n /**\n * enables to configure a player after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n * @return {Player} itself\n */\n\n\n Player.prototype.configure = function configure() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this._registerOptionEventListeners(options.events, this.options.events);\n this.core.configure(options);\n return this;\n };\n\n /**\n * get a plugin by its name.\n * @method getPlugin\n * @param {String} name of the plugin.\n * @return {Object} the plugin instance\n * @example\n * ```javascript\n * var poster = player.getPlugin('poster');\n * poster.hidePlayButton();\n * ```\n */\n\n\n Player.prototype.getPlugin = function getPlugin(name) {\n var plugins = this.core.plugins.concat(this.core.activeContainer.plugins);\n return plugins.filter(function (plugin) {\n return plugin.name === name;\n })[0];\n };\n\n /**\n * the current time in seconds.\n * @method getCurrentTime\n * @return {Number} current time (in seconds) of the current source\n */\n\n\n Player.prototype.getCurrentTime = function getCurrentTime() {\n return this.core.activeContainer.getCurrentTime();\n };\n\n /**\n * The time that \"0\" now represents relative to when playback started.\n * For a stream with a sliding window this will increase as content is\n * removed from the beginning.\n * @method getStartTimeOffset\n * @return {Number} time (in seconds) that time \"0\" represents.\n */\n\n\n Player.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return this.core.activeContainer.getStartTimeOffset();\n };\n\n /**\n * the duration time in seconds.\n * @method getDuration\n * @return {Number} duration time (in seconds) of the current source\n */\n\n\n Player.prototype.getDuration = function getDuration() {\n return this.core.activeContainer.getDuration();\n };\n\n return Player;\n}(_base_object2.default);\n\nexports.default = Player;\n\n\n(0, _assign2.default)(Player.prototype, _error_mixin2.default);\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/components/player_info.js\":\n/*!***************************************!*\\\n !*** ./src/components/player_info.js ***!\n \\***************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar PlayerInfo = function PlayerInfo() {\n (0, _classCallCheck3.default)(this, PlayerInfo);\n\n this.options = {};\n this.playbackPlugins = [];\n this.currentSize = { width: 0, height: 0 };\n};\n\nPlayerInfo._players = {};\n\nPlayerInfo.getInstance = function (playerId) {\n return PlayerInfo._players[playerId] || (PlayerInfo._players[playerId] = new PlayerInfo());\n};\n\nexports.default = PlayerInfo;\nmodule.exports = exports[\"default\"];\n\n/***/ }),\n\n/***/ \"./src/icons/01-play.svg\":\n/*!*******************************!*\\\n !*** ./src/icons/01-play.svg ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M1.425.35L14.575 8l-13.15 7.65V.35z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/02-pause.svg\":\n/*!********************************!*\\\n !*** ./src/icons/02-pause.svg ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M1.712 14.76H6.43V1.24H1.71v13.52zm7.86-13.52v13.52h4.716V1.24H9.573z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/03-stop.svg\":\n/*!*******************************!*\\\n !*** ./src/icons/03-stop.svg ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M1.712 1.24h12.6v13.52h-12.6z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/04-volume.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/04-volume.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M11.5 11h-.002v1.502L7.798 10H4.5V6h3.297l3.7-2.502V4.5h.003V11zM11 4.49L7.953 6.5H5v3h2.953L11 11.51V4.49z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/05-mute.svg\":\n/*!*******************************!*\\\n !*** ./src/icons/05-mute.svg ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill-rule=\\\"evenodd\\\" clip-rule=\\\"evenodd\\\" fill=\\\"#010101\\\" d=\\\"M9.75 11.51L6.7 9.5H3.75v-3H6.7L9.75 4.49v.664l.497.498V3.498L6.547 6H3.248v4h3.296l3.7 2.502v-2.154l-.497.5v.662zm3-5.165L12.404 6l-1.655 1.653L9.093 6l-.346.345L10.402 8 8.747 9.654l.346.347 1.655-1.653L12.403 10l.348-.346L11.097 8l1.655-1.655z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/06-expand.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/06-expand.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M7.156 8L4 11.156V8.5H3V13h4.5v-1H4.844L8 8.844 7.156 8zM8.5 3v1h2.657L8 7.157 8.846 8 12 4.844V7.5h1V3H8.5z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/07-shrink.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/07-shrink.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M13.5 3.344l-.844-.844L9.5 5.656V3h-1v4.5H13v-1h-2.656L13.5 3.344zM3 9.5h2.656L2.5 12.656l.844.844L6.5 10.344V13h1V8.5H3v1z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/08-hd.svg\":\n/*!*****************************!*\\\n !*** ./src/icons/08-hd.svg ***!\n \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 16 16\\\"><path fill=\\\"#010101\\\" d=\\\"M5.375 7.062H2.637V4.26H.502v7.488h2.135V8.9h2.738v2.848h2.133V4.26H5.375v2.802zm5.97-2.81h-2.84v7.496h2.798c2.65 0 4.195-1.607 4.195-3.77v-.022c0-2.162-1.523-3.704-4.154-3.704zm2.06 3.758c0 1.21-.81 1.896-2.03 1.896h-.83V6.093h.83c1.22 0 2.03.696 2.03 1.896v.02z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/09-cc.svg\":\n/*!*****************************!*\\\n !*** ./src/icons/09-cc.svg ***!\n \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg version=\\\"1.1\\\" id=\\\"Layer_1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" x=\\\"0px\\\" y=\\\"0px\\\" viewBox=\\\"0 0 49 41.8\\\" style=\\\"enable-background:new 0 0 49 41.8;\\\" xml:space=\\\"preserve\\\"><path d=\\\"M47.1,0H3.2C1.6,0,0,1.2,0,2.8v31.5C0,35.9,1.6,37,3.2,37h11.9l3.2,1.9l4.7,2.7c0.9,0.5,2-0.1,2-1.1V37h22.1 c1.6,0,1.9-1.1,1.9-2.7V2.8C49,1.2,48.7,0,47.1,0z M7.2,18.6c0-4.8,3.5-9.3,9.9-9.3c4.8,0,7.1,2.7,7.1,2.7l-2.5,4 c0,0-1.7-1.7-4.2-1.7c-2.8,0-4.3,2.1-4.3,4.3c0,2.1,1.5,4.4,4.5,4.4c2.5,0,4.9-2.1,4.9-2.1l2.2,4.2c0,0-2.7,2.9-7.6,2.9 C10.8,27.9,7.2,23.5,7.2,18.6z M36.9,27.9c-6.4,0-9.9-4.4-9.9-9.3c0-4.8,3.5-9.3,9.9-9.3C41.7,9.3,44,12,44,12l-2.5,4 c0,0-1.7-1.7-4.2-1.7c-2.8,0-4.3,2.1-4.3,4.3c0,2.1,1.5,4.4,4.5,4.4c2.5,0,4.9-2.1,4.9-2.1l2.2,4.2C44.5,25,41.9,27.9,36.9,27.9z\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/icons/10-reload.svg\":\n/*!*********************************!*\\\n !*** ./src/icons/10-reload.svg ***!\n \\*********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<svg fill=\\\"#FFFFFF\\\" viewBox=\\\"0 0 24 24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z\\\"></path><path d=\\\"M0 0h24v24H0z\\\" fill=\\\"none\\\"></path></svg>\"\n\n/***/ }),\n\n/***/ \"./src/main.js\":\n/*!*********************!*\\\n !*** ./src/main.js ***!\n \\*********************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _player = __webpack_require__(/*! ./components/player */ \"./src/components/player.js\");\n\nvar _player2 = _interopRequireDefault(_player);\n\nvar _utils = __webpack_require__(/*! ./base/utils */ \"./src/base/utils.js\");\n\nvar _utils2 = _interopRequireDefault(_utils);\n\nvar _events = __webpack_require__(/*! ./base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ./base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _container_plugin = __webpack_require__(/*! ./base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _core_plugin = __webpack_require__(/*! ./base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nvar _ui_core_plugin = __webpack_require__(/*! ./base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _ui_container_plugin = __webpack_require__(/*! ./base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _base_object = __webpack_require__(/*! ./base/base_object */ \"./src/base/base_object.js\");\n\nvar _base_object2 = _interopRequireDefault(_base_object);\n\nvar _ui_object = __webpack_require__(/*! ./base/ui_object */ \"./src/base/ui_object.js\");\n\nvar _ui_object2 = _interopRequireDefault(_ui_object);\n\nvar _browser = __webpack_require__(/*! ./components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _container = __webpack_require__(/*! ./components/container */ \"./src/components/container/index.js\");\n\nvar _container2 = _interopRequireDefault(_container);\n\nvar _core = __webpack_require__(/*! ./components/core */ \"./src/components/core/index.js\");\n\nvar _core2 = _interopRequireDefault(_core);\n\nvar _error = __webpack_require__(/*! ./components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _loader = __webpack_require__(/*! ./components/loader */ \"./src/components/loader/index.js\");\n\nvar _loader2 = _interopRequireDefault(_loader);\n\nvar _mediator = __webpack_require__(/*! ./components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _player_info = __webpack_require__(/*! ./components/player_info */ \"./src/components/player_info.js\");\n\nvar _player_info2 = _interopRequireDefault(_player_info);\n\nvar _base_flash_playback = __webpack_require__(/*! ./playbacks/base_flash_playback */ \"./src/playbacks/base_flash_playback/index.js\");\n\nvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\nvar _flash = __webpack_require__(/*! ./playbacks/flash */ \"./src/playbacks/flash/index.js\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\nvar _flashls = __webpack_require__(/*! ./playbacks/flashls */ \"./src/playbacks/flashls/index.js\");\n\nvar _flashls2 = _interopRequireDefault(_flashls);\n\nvar _hls = __webpack_require__(/*! ./playbacks/hls */ \"./src/playbacks/hls/index.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nvar _html5_audio = __webpack_require__(/*! ./playbacks/html5_audio */ \"./src/playbacks/html5_audio/index.js\");\n\nvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\nvar _html5_video = __webpack_require__(/*! ./playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nvar _html_img = __webpack_require__(/*! ./playbacks/html_img */ \"./src/playbacks/html_img/index.js\");\n\nvar _html_img2 = _interopRequireDefault(_html_img);\n\nvar _no_op = __webpack_require__(/*! ./playbacks/no_op */ \"./src/playbacks/no_op/index.js\");\n\nvar _no_op2 = _interopRequireDefault(_no_op);\n\nvar _media_control = __webpack_require__(/*! ./plugins/media_control */ \"./src/plugins/media_control/index.js\");\n\nvar _media_control2 = _interopRequireDefault(_media_control);\n\nvar _click_to_pause = __webpack_require__(/*! ./plugins/click_to_pause */ \"./src/plugins/click_to_pause/index.js\");\n\nvar _click_to_pause2 = _interopRequireDefault(_click_to_pause);\n\nvar _dvr_controls = __webpack_require__(/*! ./plugins/dvr_controls */ \"./src/plugins/dvr_controls/index.js\");\n\nvar _dvr_controls2 = _interopRequireDefault(_dvr_controls);\n\nvar _favicon = __webpack_require__(/*! ./plugins/favicon */ \"./src/plugins/favicon/index.js\");\n\nvar _favicon2 = _interopRequireDefault(_favicon);\n\nvar _log = __webpack_require__(/*! ./plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _poster = __webpack_require__(/*! ./plugins/poster */ \"./src/plugins/poster/index.js\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nvar _spinner_three_bounce = __webpack_require__(/*! ./plugins/spinner_three_bounce */ \"./src/plugins/spinner_three_bounce/index.js\");\n\nvar _spinner_three_bounce2 = _interopRequireDefault(_spinner_three_bounce);\n\nvar _watermark = __webpack_require__(/*! ./plugins/watermark */ \"./src/plugins/watermark/index.js\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\nvar _styler = __webpack_require__(/*! ./base/styler */ \"./src/base/styler.js\");\n\nvar _styler2 = _interopRequireDefault(_styler);\n\nvar _vendor = __webpack_require__(/*! ./vendor */ \"./src/vendor/index.js\");\n\nvar _vendor2 = _interopRequireDefault(_vendor);\n\nvar _template = __webpack_require__(/*! ./base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar version = \"0.3.12\"; // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = {\n Player: _player2.default,\n Mediator: _mediator2.default,\n Events: _events2.default,\n Browser: _browser2.default,\n PlayerInfo: _player_info2.default,\n MediaControl: _media_control2.default,\n ContainerPlugin: _container_plugin2.default,\n UIContainerPlugin: _ui_container_plugin2.default,\n CorePlugin: _core_plugin2.default,\n UICorePlugin: _ui_core_plugin2.default,\n Playback: _playback2.default,\n Container: _container2.default,\n Core: _core2.default,\n PlayerError: _error2.default,\n Loader: _loader2.default,\n BaseObject: _base_object2.default,\n UIObject: _ui_object2.default,\n Utils: _utils2.default,\n BaseFlashPlayback: _base_flash_playback2.default,\n Flash: _flash2.default,\n FlasHLS: _flashls2.default,\n HLS: _hls2.default,\n HTML5Audio: _html5_audio2.default,\n HTML5Video: _html5_video2.default,\n HTMLImg: _html_img2.default,\n NoOp: _no_op2.default,\n ClickToPausePlugin: _click_to_pause2.default,\n DVRControls: _dvr_controls2.default,\n Favicon: _favicon2.default,\n Log: _log2.default,\n Poster: _poster2.default,\n SpinnerThreeBouncePlugin: _spinner_three_bounce2.default,\n WaterMarkPlugin: _watermark2.default,\n Styler: _styler2.default,\n Vendor: _vendor2.default,\n version: version,\n template: _template2.default,\n $: _clapprZepto2.default\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/base_flash_playback.js\":\n/*!******************************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/base_flash_playback.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _flash = __webpack_require__(/*! ./public/flash.html */ \"./src/playbacks/base_flash_playback/public/flash.html\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\n__webpack_require__(/*! ./public/flash.scss */ \"./src/playbacks/base_flash_playback/public/flash.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar IE_CLASSID = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000'; // Copyright 2015 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar BaseFlashPlayback = function (_Playback) {\n (0, _inherits3.default)(BaseFlashPlayback, _Playback);\n\n function BaseFlashPlayback() {\n (0, _classCallCheck3.default)(this, BaseFlashPlayback);\n return (0, _possibleConstructorReturn3.default)(this, _Playback.apply(this, arguments));\n }\n\n BaseFlashPlayback.prototype.setElement = function setElement(element) {\n this.$el = element;\n this.el = element[0];\n };\n\n BaseFlashPlayback.prototype.render = function render() {\n this.$el.attr('data', this.swfPath);\n this.$el.html(this.template({\n cid: this.cid,\n swfPath: this.swfPath,\n baseUrl: this.baseUrl,\n playbackId: this.uniqueId,\n wmode: this.wmode,\n callbackName: 'window.Clappr.flashlsCallbacks.' + this.cid }));\n\n if (_browser2.default.isIE) {\n this.$('embed').remove();\n\n if (_browser2.default.isLegacyIE) this.$el.attr('classid', IE_CLASSID);\n }\n\n this.el.id = this.cid;\n\n return this;\n };\n\n (0, _createClass3.default)(BaseFlashPlayback, [{\n key: 'tagName',\n get: function get() {\n return 'object';\n }\n }, {\n key: 'swfPath',\n get: function get() {\n return '';\n }\n }, {\n key: 'wmode',\n get: function get() {\n return 'transparent';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_flash2.default);\n }\n }, {\n key: 'attributes',\n get: function get() {\n var type = 'application/x-shockwave-flash';\n\n if (_browser2.default.isLegacyIE) type = '';\n\n return {\n class: 'clappr-flash-playback',\n type: type,\n width: '100%',\n height: '100%',\n data: this.swfPath,\n 'data-flash-playback': this.name\n };\n }\n }]);\n return BaseFlashPlayback;\n}(_playback2.default);\n\nexports.default = BaseFlashPlayback;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/index.js\":\n/*!****************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/index.js ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = __webpack_require__(/*! ./base_flash_playback */ \"./src/playbacks/base_flash_playback/base_flash_playback.js\");\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/public/flash.html\":\n/*!*************************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/public/flash.html ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<param name=\\\"movie\\\" value=\\\"<%= swfPath %>\\\">\\n<param name=\\\"quality\\\" value=\\\"autohigh\\\">\\n<param name=\\\"swliveconnect\\\" value=\\\"true\\\">\\n<param name=\\\"allowScriptAccess\\\" value=\\\"always\\\">\\n<param name=\\\"bgcolor\\\" value=\\\"#000000\\\">\\n<param name=\\\"allowFullScreen\\\" value=\\\"false\\\">\\n<param name=\\\"wmode\\\" value=\\\"<%= wmode %>\\\">\\n<param name=\\\"tabindex\\\" value=\\\"1\\\">\\n<param name=\\\"FlashVars\\\" value=\\\"playbackId=<%= playbackId %>&callback=<%= callbackName %>\\\">\\n<embed\\n name=\\\"<%= cid %>\\\"\\n type=\\\"application/x-shockwave-flash\\\"\\n disabled=\\\"disabled\\\"\\n tabindex=\\\"-1\\\"\\n enablecontextmenu=\\\"false\\\"\\n allowScriptAccess=\\\"always\\\"\\n quality=\\\"autohigh\\\"\\n pluginspage=\\\"http://www.macromedia.com/go/getflashplayer\\\"\\n wmode=\\\"<%= wmode %>\\\"\\n swliveconnect=\\\"true\\\"\\n allowfullscreen=\\\"false\\\"\\n bgcolor=\\\"#000000\\\"\\n FlashVars=\\\"playbackId=<%= playbackId %>&callback=<%= callbackName %>\\\"\\n data=\\\"<%= swfPath %>\\\"\\n src=\\\"<%= swfPath %>\\\"\\n width=\\\"100%\\\"\\n height=\\\"100%\\\">\\n</embed>\\n\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/base_flash_playback/public/flash.scss\":\n/*!*************************************************************!*\\\n !*** ./src/playbacks/base_flash_playback/public/flash.scss ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./flash.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/base_flash_playback/public/flash.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/playbacks/flash/flash.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/flash/flash.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _base_flash_playback = __webpack_require__(/*! ../../playbacks/base_flash_playback */ \"./src/playbacks/base_flash_playback/index.js\");\n\nvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _Player = __webpack_require__(/*! ./public/Player.swf */ \"./src/playbacks/flash/public/Player.swf\");\n\nvar _Player2 = _interopRequireDefault(_Player);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar MAX_ATTEMPTS = 60; // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar Flash = function (_BaseFlashPlayback) {\n (0, _inherits3.default)(Flash, _BaseFlashPlayback);\n (0, _createClass3.default)(Flash, [{\n key: 'name',\n get: function get() {\n return 'flash';\n }\n }, {\n key: 'swfPath',\n get: function get() {\n return (0, _template2.default)(_Player2.default)({ baseUrl: this._baseUrl });\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this._currentState === 'ENDED';\n }\n\n /**\n * Determine if the playback is buffering.\n * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return !!this._bufferingState && this._currentState !== 'ENDED';\n }\n }]);\n\n function Flash() {\n (0, _classCallCheck3.default)(this, Flash);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseFlashPlayback.call.apply(_BaseFlashPlayback, [this].concat(args)));\n\n _this._src = _this.options.src;\n _this._baseUrl = _this.options.baseUrl;\n _this._autoPlay = _this.options.autoPlay;\n _this.settings = { default: ['seekbar'] };\n _this.settings.left = ['playpause', 'position', 'duration'];\n _this.settings.right = ['fullscreen', 'volume'];\n _this.settings.seekEnabled = true;\n _this._isReadyState = false;\n _this._addListeners();\n return _this;\n }\n\n Flash.prototype._bootstrap = function _bootstrap() {\n var _this2 = this;\n\n if (this.el.playerPlay) {\n this.el.width = '100%';\n this.el.height = '100%';\n if (this._currentState === 'PLAYING') {\n this._firstPlay();\n } else {\n this._currentState = 'IDLE';\n this._autoPlay && this.play();\n }\n (0, _clapprZepto2.default)('<div style=\"position: absolute; top: 0; left: 0; width: 100%; height: 100%\" />').insertAfter(this.$el);\n if (this.getDuration() > 0) this._metadataLoaded();else _mediator2.default.once(this.uniqueId + ':timeupdate', this._metadataLoaded, this);\n } else {\n this._attempts = this._attempts || 0;\n if (++this._attempts <= MAX_ATTEMPTS) setTimeout(function () {\n return _this2._bootstrap();\n }, 50);else this.trigger(_events2.default.PLAYBACK_ERROR, { message: 'Max number of attempts reached' }, this.name);\n }\n };\n\n Flash.prototype._metadataLoaded = function _metadataLoaded() {\n this._isReadyState = true;\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE, this.name);\n };\n\n Flash.prototype.getPlaybackType = function getPlaybackType() {\n return _playback2.default.VOD;\n };\n\n Flash.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return false;\n };\n\n Flash.prototype._updateTime = function _updateTime() {\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: this.el.getPosition(), total: this.el.getDuration() }, this.name);\n };\n\n Flash.prototype._addListeners = function _addListeners() {\n _mediator2.default.on(this.uniqueId + ':progress', this._progress, this);\n _mediator2.default.on(this.uniqueId + ':timeupdate', this._updateTime, this);\n _mediator2.default.on(this.uniqueId + ':statechanged', this._checkState, this);\n _mediator2.default.on(this.uniqueId + ':flashready', this._bootstrap, this);\n };\n\n Flash.prototype.stopListening = function stopListening() {\n _BaseFlashPlayback.prototype.stopListening.call(this);\n _mediator2.default.off(this.uniqueId + ':progress');\n _mediator2.default.off(this.uniqueId + ':timeupdate');\n _mediator2.default.off(this.uniqueId + ':statechanged');\n _mediator2.default.off(this.uniqueId + ':flashready');\n };\n\n Flash.prototype._checkState = function _checkState() {\n if (this._isIdle || this._currentState === 'PAUSED') {\n return;\n } else if (this._currentState !== 'PLAYING_BUFFERING' && this.el.getState() === 'PLAYING_BUFFERING') {\n this._bufferingState = true;\n this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);\n this._currentState = 'PLAYING_BUFFERING';\n } else if (this.el.getState() === 'PLAYING') {\n this._bufferingState = false;\n this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n this._currentState = 'PLAYING';\n } else if (this.el.getState() === 'IDLE') {\n this._currentState = 'IDLE';\n } else if (this.el.getState() === 'ENDED') {\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: this.el.getDuration() }, this.name);\n this._currentState = 'ENDED';\n this._isIdle = true;\n }\n };\n\n Flash.prototype._progress = function _progress() {\n if (this._currentState !== 'IDLE' && this._currentState !== 'ENDED') {\n this.trigger(_events2.default.PLAYBACK_PROGRESS, {\n start: 0,\n current: this.el.getBytesLoaded(),\n total: this.el.getBytesTotal()\n });\n }\n };\n\n Flash.prototype._firstPlay = function _firstPlay() {\n var _this3 = this;\n\n if (this.el.playerPlay) {\n this._isIdle = false;\n this.el.playerPlay(this._src);\n this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this3._checkInitialSeek();\n });\n this._currentState = 'PLAYING';\n } else {\n this.listenToOnce(this, _events2.default.PLAYBACK_READY, this._firstPlay);\n }\n };\n\n Flash.prototype._checkInitialSeek = function _checkInitialSeek() {\n var seekTime = (0, _utils.seekStringToSeconds)(window.location.href);\n if (seekTime !== 0) this.seekSeconds(seekTime);\n };\n\n Flash.prototype.play = function play() {\n this.trigger(_events2.default.PLAYBACK_PLAY_INTENT);\n if (this._currentState === 'PAUSED' || this._currentState === 'PLAYING_BUFFERING') {\n this._currentState = 'PLAYING';\n this.el.playerResume();\n this.trigger(_events2.default.PLAYBACK_PLAY, this.name);\n } else if (this._currentState !== 'PLAYING') {\n this._firstPlay();\n this.trigger(_events2.default.PLAYBACK_PLAY, this.name);\n }\n };\n\n Flash.prototype.volume = function volume(value) {\n var _this4 = this;\n\n if (this.isReady) this.el.playerVolume(value);else this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this4.volume(value);\n });\n };\n\n Flash.prototype.pause = function pause() {\n this._currentState = 'PAUSED';\n this.el.playerPause();\n this.trigger(_events2.default.PLAYBACK_PAUSE, this.name);\n };\n\n Flash.prototype.stop = function stop() {\n this.el.playerStop();\n this.trigger(_events2.default.PLAYBACK_STOP);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: 0 }, this.name);\n };\n\n Flash.prototype.isPlaying = function isPlaying() {\n return !!(this.isReady && this._currentState.indexOf('PLAYING') > -1);\n };\n\n Flash.prototype.getDuration = function getDuration() {\n return this.el.getDuration();\n };\n\n Flash.prototype.seekPercentage = function seekPercentage(percentage) {\n var _this5 = this;\n\n if (this.el.getDuration() > 0) {\n var seekSeconds = this.el.getDuration() * (percentage / 100);\n this.seek(seekSeconds);\n } else {\n this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this5.seekPercentage(percentage);\n });\n }\n };\n\n Flash.prototype.seek = function seek(time) {\n var _this6 = this;\n\n if (this.isReady && this.el.playerSeek) {\n this.el.playerSeek(time);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: time, total: this.el.getDuration() }, this.name);\n if (this._currentState === 'PAUSED') this.el.playerPause();\n } else {\n this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this6.seek(time);\n });\n }\n };\n\n Flash.prototype.destroy = function destroy() {\n clearInterval(this.bootstrapId);\n _BaseFlashPlayback.prototype.stopListening.call(this);\n this.$el.remove();\n };\n\n (0, _createClass3.default)(Flash, [{\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }]);\n return Flash;\n}(_base_flash_playback2.default);\n\nexports.default = Flash;\n\n\nFlash.canPlay = function (resource) {\n if (!_browser2.default.hasFlash || !resource || resource.constructor !== String) {\n return false;\n } else {\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n return resourceParts.length > 1 && !_browser2.default.isMobile && resourceParts[1].toLowerCase().match(/^(mp4|mov|f4v|3gpp|3gp)$/);\n }\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flash/index.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/flash/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _flash = __webpack_require__(/*! ./flash */ \"./src/playbacks/flash/flash.js\");\n\nvar _flash2 = _interopRequireDefault(_flash);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _flash2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flash/public/Player.swf\":\n/*!***********************************************!*\\\n !*** ./src/playbacks/flash/public/Player.swf ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/4b76590b32dab62bc95c1b7951efae78.swf\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/flashls.js\":\n/*!******************************************!*\\\n !*** ./src/playbacks/flashls/flashls.js ***!\n \\******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _base_flash_playback = __webpack_require__(/*! ../../playbacks/base_flash_playback */ \"./src/playbacks/base_flash_playback/index.js\");\n\nvar _base_flash_playback2 = _interopRequireDefault(_base_flash_playback);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _flashls_events = __webpack_require__(/*! ./flashls_events */ \"./src/playbacks/flashls/flashls_events.js\");\n\nvar _flashls_events2 = _interopRequireDefault(_flashls_events);\n\nvar _HLSPlayer = __webpack_require__(/*! ./public/HLSPlayer.swf */ \"./src/playbacks/flashls/public/HLSPlayer.swf\");\n\nvar _HLSPlayer2 = _interopRequireDefault(_HLSPlayer);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar MAX_ATTEMPTS = 60;\nvar AUTO = -1;\n\nvar FlasHLS = function (_BaseFlashPlayback) {\n (0, _inherits3.default)(FlasHLS, _BaseFlashPlayback);\n (0, _createClass3.default)(FlasHLS, [{\n key: 'name',\n get: function get() {\n return 'flashls';\n }\n }, {\n key: 'swfPath',\n get: function get() {\n return (0, _template2.default)(_HLSPlayer2.default)({ baseUrl: this._baseUrl });\n }\n }, {\n key: 'levels',\n get: function get() {\n return this._levels || [];\n }\n }, {\n key: 'currentLevel',\n get: function get() {\n if (this._currentLevel === null || this._currentLevel === undefined) return AUTO;else return this._currentLevel; //0 is a valid level ID\n },\n set: function set(id) {\n this._currentLevel = id;\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_START);\n this.el.playerSetCurrentLevel(id);\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this._hasEnded;\n }\n\n /**\n * Determine if the playback is buffering.\n * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return !!this._bufferingState && !this._hasEnded;\n }\n }]);\n\n function FlasHLS() {\n (0, _classCallCheck3.default)(this, FlasHLS);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _BaseFlashPlayback.call.apply(_BaseFlashPlayback, [this].concat(args)));\n\n _this._src = _this.options.src;\n _this._baseUrl = _this.options.baseUrl;\n _this._initHlsParameters(_this.options);\n // TODO can this be private?\n _this.highDefinition = false;\n _this._autoPlay = _this.options.autoPlay;\n _this._loop = _this.options.loop;\n _this._defaultSettings = {\n left: ['playstop'],\n default: ['seekbar'],\n right: ['fullscreen', 'volume', 'hd-indicator'],\n seekEnabled: false\n };\n _this.settings = _clapprZepto2.default.extend({}, _this._defaultSettings);\n _this._playbackType = _playback2.default.LIVE;\n _this._hasEnded = false;\n _this._addListeners();\n return _this;\n }\n\n FlasHLS.prototype._initHlsParameters = function _initHlsParameters(options) {\n this._autoStartLoad = options.autoStartLoad === undefined ? true : options.autoStartLoad;\n this._capLevelToStage = options.capLevelToStage === undefined ? false : options.capLevelToStage;\n this._maxLevelCappingMode = options.maxLevelCappingMode === undefined ? 'downscale' : options.maxLevelCappingMode;\n this._minBufferLength = options.minBufferLength === undefined ? -1 : options.minBufferLength;\n this._minBufferLengthCapping = options.minBufferLengthCapping === undefined ? -1 : options.minBufferLengthCapping;\n this._maxBufferLength = options.maxBufferLength === undefined ? 120 : options.maxBufferLength;\n this._maxBackBufferLength = options.maxBackBufferLength === undefined ? 30 : options.maxBackBufferLength;\n this._lowBufferLength = options.lowBufferLength === undefined ? 3 : options.lowBufferLength;\n this._mediaTimePeriod = options.mediaTimePeriod === undefined ? 100 : options.mediaTimePeriod;\n this._fpsDroppedMonitoringPeriod = options.fpsDroppedMonitoringPeriod === undefined ? 5000 : options.fpsDroppedMonitoringPeriod;\n this._fpsDroppedMonitoringThreshold = options.fpsDroppedMonitoringThreshold === undefined ? 0.2 : options.fpsDroppedMonitoringThreshold;\n this._capLevelonFPSDrop = options.capLevelonFPSDrop === undefined ? false : options.capLevelonFPSDrop;\n this._smoothAutoSwitchonFPSDrop = options.smoothAutoSwitchonFPSDrop === undefined ? this.capLevelonFPSDrop : options.smoothAutoSwitchonFPSDrop;\n this._switchDownOnLevelError = options.switchDownOnLevelError === undefined ? true : options.switchDownOnLevelError;\n this._seekMode = options.seekMode === undefined ? 'ACCURATE' : options.seekMode;\n this._keyLoadMaxRetry = options.keyLoadMaxRetry === undefined ? 3 : options.keyLoadMaxRetry;\n this._keyLoadMaxRetryTimeout = options.keyLoadMaxRetryTimeout === undefined ? 64000 : options.keyLoadMaxRetryTimeout;\n this._fragmentLoadMaxRetry = options.fragmentLoadMaxRetry === undefined ? 3 : options.fragmentLoadMaxRetry;\n this._fragmentLoadMaxRetryTimeout = options.fragmentLoadMaxRetryTimeout === undefined ? 4000 : options.fragmentLoadMaxRetryTimeout;\n this._fragmentLoadSkipAfterMaxRetry = options.fragmentLoadSkipAfterMaxRetry === undefined ? true : options.fragmentLoadSkipAfterMaxRetry;\n this._maxSkippedFragments = options.maxSkippedFragments === undefined ? 5 : options.maxSkippedFragments;\n this._flushLiveURLCache = options.flushLiveURLCache === undefined ? false : options.flushLiveURLCache;\n this._initialLiveManifestSize = options.initialLiveManifestSize === undefined ? 1 : options.initialLiveManifestSize;\n this._manifestLoadMaxRetry = options.manifestLoadMaxRetry === undefined ? 3 : options.manifestLoadMaxRetry;\n this._manifestLoadMaxRetryTimeout = options.manifestLoadMaxRetryTimeout === undefined ? 64000 : options.manifestLoadMaxRetryTimeout;\n this._manifestRedundantLoadmaxRetry = options.manifestRedundantLoadmaxRetry === undefined ? 3 : options.manifestRedundantLoadmaxRetry;\n this._startFromBitrate = options.startFromBitrate === undefined ? -1 : options.startFromBitrate;\n this._startFromLevel = options.startFromLevel === undefined ? -1 : options.startFromLevel;\n this._autoStartMaxDuration = options.autoStartMaxDuration === undefined ? -1 : options.autoStartMaxDuration;\n this._seekFromLevel = options.seekFromLevel === undefined ? -1 : options.seekFromLevel;\n this._useHardwareVideoDecoder = options.useHardwareVideoDecoder === undefined ? false : options.useHardwareVideoDecoder;\n this._hlsLogEnabled = options.hlsLogEnabled === undefined ? true : options.hlsLogEnabled;\n this._logDebug = options.logDebug === undefined ? false : options.logDebug;\n this._logDebug2 = options.logDebug2 === undefined ? false : options.logDebug2;\n this._logWarn = options.logWarn === undefined ? true : options.logWarn;\n this._logError = options.logError === undefined ? true : options.logError;\n this._hlsMinimumDvrSize = options.hlsMinimumDvrSize === undefined ? 60 : options.hlsMinimumDvrSize;\n };\n\n FlasHLS.prototype._addListeners = function _addListeners() {\n var _this2 = this;\n\n _mediator2.default.on(this.cid + ':flashready', function () {\n return _this2._bootstrap();\n });\n _mediator2.default.on(this.cid + ':timeupdate', function (timeMetrics) {\n return _this2._updateTime(timeMetrics);\n });\n _mediator2.default.on(this.cid + ':playbackstate', function (state) {\n return _this2._setPlaybackState(state);\n });\n _mediator2.default.on(this.cid + ':levelchanged', function (level) {\n return _this2._levelChanged(level);\n });\n _mediator2.default.on(this.cid + ':error', function (code, url, message) {\n return _this2._flashPlaybackError(code, url, message);\n });\n _mediator2.default.on(this.cid + ':fragmentloaded', function (loadmetrics) {\n return _this2._onFragmentLoaded(loadmetrics);\n });\n _mediator2.default.on(this.cid + ':levelendlist', function (level) {\n return _this2._onLevelEndlist(level);\n });\n };\n\n FlasHLS.prototype.stopListening = function stopListening() {\n _BaseFlashPlayback.prototype.stopListening.call(this);\n _mediator2.default.off(this.cid + ':flashready');\n _mediator2.default.off(this.cid + ':timeupdate');\n _mediator2.default.off(this.cid + ':playbackstate');\n _mediator2.default.off(this.cid + ':levelchanged');\n _mediator2.default.off(this.cid + ':playbackerror');\n _mediator2.default.off(this.cid + ':fragmentloaded');\n _mediator2.default.off(this.cid + ':manifestloaded');\n _mediator2.default.off(this.cid + ':levelendlist');\n };\n\n FlasHLS.prototype._bootstrap = function _bootstrap() {\n var _this3 = this;\n\n if (this.el.playerLoad) {\n this.el.width = '100%';\n this.el.height = '100%';\n this._isReadyState = true;\n this._srcLoaded = false;\n this._currentState = 'IDLE';\n this._setFlashSettings();\n this._updatePlaybackType();\n if (this._autoPlay || this._shouldPlayOnManifestLoaded) this.play();\n\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n } else {\n this._bootstrapAttempts = this._bootstrapAttempts || 0;\n if (++this._bootstrapAttempts <= MAX_ATTEMPTS) {\n setTimeout(function () {\n return _this3._bootstrap();\n }, 50);\n } else {\n var formattedError = this.createError({\n code: 'playerLoadFail_maxNumberAttemptsReached',\n description: this.name + ' error: Max number of attempts reached',\n level: _error2.default.Levels.FATAL,\n raw: {}\n });\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n }\n }\n };\n\n FlasHLS.prototype._setFlashSettings = function _setFlashSettings() {\n this.el.playerSetAutoStartLoad(this._autoStartLoad);\n this.el.playerSetCapLevelToStage(this._capLevelToStage);\n this.el.playerSetMaxLevelCappingMode(this._maxLevelCappingMode);\n this.el.playerSetMinBufferLength(this._minBufferLength);\n this.el.playerSetMinBufferLengthCapping(this._minBufferLengthCapping);\n this.el.playerSetMaxBufferLength(this._maxBufferLength);\n this.el.playerSetMaxBackBufferLength(this._maxBackBufferLength);\n this.el.playerSetLowBufferLength(this._lowBufferLength);\n this.el.playerSetMediaTimePeriod(this._mediaTimePeriod);\n this.el.playerSetFpsDroppedMonitoringPeriod(this._fpsDroppedMonitoringPeriod);\n this.el.playerSetFpsDroppedMonitoringThreshold(this._fpsDroppedMonitoringThreshold);\n this.el.playerSetCapLevelonFPSDrop(this._capLevelonFPSDrop);\n this.el.playerSetSmoothAutoSwitchonFPSDrop(this._smoothAutoSwitchonFPSDrop);\n this.el.playerSetSwitchDownOnLevelError(this._switchDownOnLevelError);\n this.el.playerSetSeekMode(this._seekMode);\n this.el.playerSetKeyLoadMaxRetry(this._keyLoadMaxRetry);\n this.el.playerSetKeyLoadMaxRetryTimeout(this._keyLoadMaxRetryTimeout);\n this.el.playerSetFragmentLoadMaxRetry(this._fragmentLoadMaxRetry);\n this.el.playerSetFragmentLoadMaxRetryTimeout(this._fragmentLoadMaxRetryTimeout);\n this.el.playerSetFragmentLoadSkipAfterMaxRetry(this._fragmentLoadSkipAfterMaxRetry);\n this.el.playerSetMaxSkippedFragments(this._maxSkippedFragments);\n this.el.playerSetFlushLiveURLCache(this._flushLiveURLCache);\n this.el.playerSetInitialLiveManifestSize(this._initialLiveManifestSize);\n this.el.playerSetManifestLoadMaxRetry(this._manifestLoadMaxRetry);\n this.el.playerSetManifestLoadMaxRetryTimeout(this._manifestLoadMaxRetryTimeout);\n this.el.playerSetManifestRedundantLoadmaxRetry(this._manifestRedundantLoadmaxRetry);\n this.el.playerSetStartFromBitrate(this._startFromBitrate);\n this.el.playerSetStartFromLevel(this._startFromLevel);\n this.el.playerSetAutoStartMaxDuration(this._autoStartMaxDuration);\n this.el.playerSetSeekFromLevel(this._seekFromLevel);\n this.el.playerSetUseHardwareVideoDecoder(this._useHardwareVideoDecoder);\n this.el.playerSetLogInfo(this._hlsLogEnabled);\n this.el.playerSetLogDebug(this._logDebug);\n this.el.playerSetLogDebug2(this._logDebug2);\n this.el.playerSetLogWarn(this._logWarn);\n this.el.playerSetLogError(this._logError);\n };\n\n FlasHLS.prototype.setAutoStartLoad = function setAutoStartLoad(autoStartLoad) {\n this._autoStartLoad = autoStartLoad;\n this.el.playerSetAutoStartLoad(this._autoStartLoad);\n };\n\n FlasHLS.prototype.setCapLevelToStage = function setCapLevelToStage(capLevelToStage) {\n this._capLevelToStage = capLevelToStage;\n this.el.playerSetCapLevelToStage(this._capLevelToStage);\n };\n\n FlasHLS.prototype.setMaxLevelCappingMode = function setMaxLevelCappingMode(maxLevelCappingMode) {\n this._maxLevelCappingMode = maxLevelCappingMode;\n this.el.playerSetMaxLevelCappingMode(this._maxLevelCappingMode);\n };\n\n FlasHLS.prototype.setSetMinBufferLength = function setSetMinBufferLength(minBufferLength) {\n this._minBufferLength = minBufferLength;\n this.el.playerSetMinBufferLength(this._minBufferLength);\n };\n\n FlasHLS.prototype.setMinBufferLengthCapping = function setMinBufferLengthCapping(minBufferLengthCapping) {\n this._minBufferLengthCapping = minBufferLengthCapping;\n this.el.playerSetMinBufferLengthCapping(this._minBufferLengthCapping);\n };\n\n FlasHLS.prototype.setMaxBufferLength = function setMaxBufferLength(maxBufferLength) {\n this._maxBufferLength = maxBufferLength;\n this.el.playerSetMaxBufferLength(this._maxBufferLength);\n };\n\n FlasHLS.prototype.setMaxBackBufferLength = function setMaxBackBufferLength(maxBackBufferLength) {\n this._maxBackBufferLength = maxBackBufferLength;\n this.el.playerSetMaxBackBufferLength(this._maxBackBufferLength);\n };\n\n FlasHLS.prototype.setLowBufferLength = function setLowBufferLength(lowBufferLength) {\n this._lowBufferLength = lowBufferLength;\n this.el.playerSetLowBufferLength(this._lowBufferLength);\n };\n\n FlasHLS.prototype.setMediaTimePeriod = function setMediaTimePeriod(mediaTimePeriod) {\n this._mediaTimePeriod = mediaTimePeriod;\n this.el.playerSetMediaTimePeriod(this._mediaTimePeriod);\n };\n\n FlasHLS.prototype.setFpsDroppedMonitoringPeriod = function setFpsDroppedMonitoringPeriod(fpsDroppedMonitoringPeriod) {\n this._fpsDroppedMonitoringPeriod = fpsDroppedMonitoringPeriod;\n this.el.playerSetFpsDroppedMonitoringPeriod(this._fpsDroppedMonitoringPeriod);\n };\n\n FlasHLS.prototype.setFpsDroppedMonitoringThreshold = function setFpsDroppedMonitoringThreshold(fpsDroppedMonitoringThreshold) {\n this._fpsDroppedMonitoringThreshold = fpsDroppedMonitoringThreshold;\n this.el.playerSetFpsDroppedMonitoringThreshold(this._fpsDroppedMonitoringThreshold);\n };\n\n FlasHLS.prototype.setCapLevelonFPSDrop = function setCapLevelonFPSDrop(capLevelonFPSDrop) {\n this._capLevelonFPSDrop = capLevelonFPSDrop;\n this.el.playerSetCapLevelonFPSDrop(this._capLevelonFPSDrop);\n };\n\n FlasHLS.prototype.setSmoothAutoSwitchonFPSDrop = function setSmoothAutoSwitchonFPSDrop(smoothAutoSwitchonFPSDrop) {\n this._smoothAutoSwitchonFPSDrop = smoothAutoSwitchonFPSDrop;\n this.el.playerSetSmoothAutoSwitchonFPSDrop(this._smoothAutoSwitchonFPSDrop);\n };\n\n FlasHLS.prototype.setSwitchDownOnLevelError = function setSwitchDownOnLevelError(switchDownOnLevelError) {\n this._switchDownOnLevelError = switchDownOnLevelError;\n this.el.playerSetSwitchDownOnLevelError(this._switchDownOnLevelError);\n };\n\n FlasHLS.prototype.setSeekMode = function setSeekMode(seekMode) {\n this._seekMode = seekMode;\n this.el.playerSetSeekMode(this._seekMode);\n };\n\n FlasHLS.prototype.setKeyLoadMaxRetry = function setKeyLoadMaxRetry(keyLoadMaxRetry) {\n this._keyLoadMaxRetry = keyLoadMaxRetry;\n this.el.playerSetKeyLoadMaxRetry(this._keyLoadMaxRetry);\n };\n\n FlasHLS.prototype.setKeyLoadMaxRetryTimeout = function setKeyLoadMaxRetryTimeout(keyLoadMaxRetryTimeout) {\n this._keyLoadMaxRetryTimeout = keyLoadMaxRetryTimeout;\n this.el.playerSetKeyLoadMaxRetryTimeout(this._keyLoadMaxRetryTimeout);\n };\n\n FlasHLS.prototype.setFragmentLoadMaxRetry = function setFragmentLoadMaxRetry(fragmentLoadMaxRetry) {\n this._fragmentLoadMaxRetry = fragmentLoadMaxRetry;\n this.el.playerSetFragmentLoadMaxRetry(this._fragmentLoadMaxRetry);\n };\n\n FlasHLS.prototype.setFragmentLoadMaxRetryTimeout = function setFragmentLoadMaxRetryTimeout(fragmentLoadMaxRetryTimeout) {\n this._fragmentLoadMaxRetryTimeout = fragmentLoadMaxRetryTimeout;\n this.el.playerSetFragmentLoadMaxRetryTimeout(this._fragmentLoadMaxRetryTimeout);\n };\n\n FlasHLS.prototype.setFragmentLoadSkipAfterMaxRetry = function setFragmentLoadSkipAfterMaxRetry(fragmentLoadSkipAfterMaxRetry) {\n this._fragmentLoadSkipAfterMaxRetry = fragmentLoadSkipAfterMaxRetry;\n this.el.playerSetFragmentLoadSkipAfterMaxRetry(this._fragmentLoadSkipAfterMaxRetry);\n };\n\n FlasHLS.prototype.setMaxSkippedFragments = function setMaxSkippedFragments(maxSkippedFragments) {\n this._maxSkippedFragments = maxSkippedFragments;\n this.el.playerSetMaxSkippedFragments(this._maxSkippedFragments);\n };\n\n FlasHLS.prototype.setFlushLiveURLCache = function setFlushLiveURLCache(flushLiveURLCache) {\n this._flushLiveURLCache = flushLiveURLCache;\n this.el.playerSetFlushLiveURLCache(this._flushLiveURLCache);\n };\n\n FlasHLS.prototype.setInitialLiveManifestSize = function setInitialLiveManifestSize(initialLiveManifestSize) {\n this._initialLiveManifestSize = initialLiveManifestSize;\n this.el.playerSetInitialLiveManifestSize(this._initialLiveManifestSize);\n };\n\n FlasHLS.prototype.setManifestLoadMaxRetry = function setManifestLoadMaxRetry(manifestLoadMaxRetry) {\n this._manifestLoadMaxRetry = manifestLoadMaxRetry;\n this.el.playerSetManifestLoadMaxRetry(this._manifestLoadMaxRetry);\n };\n\n FlasHLS.prototype.setManifestLoadMaxRetryTimeout = function setManifestLoadMaxRetryTimeout(manifestLoadMaxRetryTimeout) {\n this._manifestLoadMaxRetryTimeout = manifestLoadMaxRetryTimeout;\n this.el.playerSetManifestLoadMaxRetryTimeout(this._manifestLoadMaxRetryTimeout);\n };\n\n FlasHLS.prototype.setManifestRedundantLoadmaxRetry = function setManifestRedundantLoadmaxRetry(manifestRedundantLoadmaxRetry) {\n this._manifestRedundantLoadmaxRetry = manifestRedundantLoadmaxRetry;\n this.el.playerSetManifestRedundantLoadmaxRetry(this._manifestRedundantLoadmaxRetry);\n };\n\n FlasHLS.prototype.setStartFromBitrate = function setStartFromBitrate(startFromBitrate) {\n this._startFromBitrate = startFromBitrate;\n this.el.playerSetStartFromBitrate(this._startFromBitrate);\n };\n\n FlasHLS.prototype.setStartFromLevel = function setStartFromLevel(startFromLevel) {\n this._startFromLevel = startFromLevel;\n this.el.playerSetStartFromLevel(this._startFromLevel);\n };\n\n FlasHLS.prototype.setAutoStartMaxDuration = function setAutoStartMaxDuration(autoStartMaxDuration) {\n this._autoStartMaxDuration = autoStartMaxDuration;\n this.el.playerSetAutoStartMaxDuration(this._autoStartMaxDuration);\n };\n\n FlasHLS.prototype.setSeekFromLevel = function setSeekFromLevel(seekFromLevel) {\n this._seekFromLevel = seekFromLevel;\n this.el.playerSetSeekFromLevel(this._seekFromLevel);\n };\n\n FlasHLS.prototype.setUseHardwareVideoDecoder = function setUseHardwareVideoDecoder(useHardwareVideoDecoder) {\n this._useHardwareVideoDecoder = useHardwareVideoDecoder;\n this.el.playerSetUseHardwareVideoDecoder(this._useHardwareVideoDecoder);\n };\n\n FlasHLS.prototype.setSetLogInfo = function setSetLogInfo(hlsLogEnabled) {\n this._hlsLogEnabled = hlsLogEnabled;\n this.el.playerSetLogInfo(this._hlsLogEnabled);\n };\n\n FlasHLS.prototype.setLogDebug = function setLogDebug(logDebug) {\n this._logDebug = logDebug;\n this.el.playerSetLogDebug(this._logDebug);\n };\n\n FlasHLS.prototype.setLogDebug2 = function setLogDebug2(logDebug2) {\n this._logDebug2 = logDebug2;\n this.el.playerSetLogDebug2(this._logDebug2);\n };\n\n FlasHLS.prototype.setLogWarn = function setLogWarn(logWarn) {\n this._logWarn = logWarn;\n this.el.playerSetLogWarn(this._logWarn);\n };\n\n FlasHLS.prototype.setLogError = function setLogError(logError) {\n this._logError = logError;\n this.el.playerSetLogError(this._logError);\n };\n\n FlasHLS.prototype._levelChanged = function _levelChanged(level) {\n var currentLevel = this.el.getLevels()[level];\n if (currentLevel) {\n this.highDefinition = currentLevel.height >= 720 || currentLevel.bitrate / 1000 >= 2000;\n this.trigger(_events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n\n if (!this._levels || this._levels.length === 0) this._fillLevels();\n\n this.trigger(_events2.default.PLAYBACK_BITRATE, {\n height: currentLevel.height,\n width: currentLevel.width,\n bandwidth: currentLevel.bitrate,\n bitrate: currentLevel.bitrate,\n level: level\n });\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_END);\n }\n };\n\n FlasHLS.prototype._updateTime = function _updateTime(timeMetrics) {\n if (this._currentState === 'IDLE') return;\n\n var duration = this._normalizeDuration(timeMetrics.duration);\n var position = Math.min(Math.max(timeMetrics.position, 0), duration);\n var previousDVRStatus = this._dvrEnabled;\n var livePlayback = this._playbackType === _playback2.default.LIVE;\n this._dvrEnabled = livePlayback && duration > this._hlsMinimumDvrSize;\n\n if (duration === 100 || livePlayback === undefined) return;\n\n if (this._dvrEnabled !== previousDVRStatus) {\n this._updateSettings();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE, this.name);\n }\n\n if (livePlayback && !this._dvrEnabled) position = duration;\n\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: position, total: duration }, this.name);\n };\n\n FlasHLS.prototype.play = function play() {\n this.trigger(_events2.default.PLAYBACK_PLAY_INTENT);\n if (this._currentState === 'PAUSED') this.el.playerResume();else if (!this._srcLoaded && this._currentState !== 'PLAYING') this._firstPlay();else this.el.playerPlay();\n };\n\n FlasHLS.prototype.getPlaybackType = function getPlaybackType() {\n return this._playbackType ? this._playbackType : null;\n };\n\n FlasHLS.prototype.getCurrentTime = function getCurrentTime() {\n return this.el.getPosition();\n };\n\n FlasHLS.prototype.getCurrentLevelIndex = function getCurrentLevelIndex() {\n return this._currentLevel;\n };\n\n FlasHLS.prototype.getCurrentLevel = function getCurrentLevel() {\n return this.levels[this.currentLevel];\n };\n\n FlasHLS.prototype.getCurrentBitrate = function getCurrentBitrate() {\n return this.levels[this.currentLevel].bitrate;\n };\n\n FlasHLS.prototype.setCurrentLevel = function setCurrentLevel(level) {\n this.currentLevel = level;\n };\n\n FlasHLS.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return this.highDefinition;\n };\n\n FlasHLS.prototype.getLevels = function getLevels() {\n return this.levels;\n };\n\n FlasHLS.prototype._setPlaybackState = function _setPlaybackState(state) {\n if (['PLAYING_BUFFERING', 'PAUSED_BUFFERING'].indexOf(state) >= 0) {\n this._bufferingState = true;\n this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);\n this._updateCurrentState(state);\n } else if (['PLAYING', 'PAUSED'].indexOf(state) >= 0) {\n if (['PLAYING_BUFFERING', 'PAUSED_BUFFERING', 'IDLE'].indexOf(this._currentState) >= 0) {\n this._bufferingState = false;\n this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n }\n this._updateCurrentState(state);\n } else if (state === 'IDLE') {\n this._srcLoaded = false;\n if (this._loop && ['PLAYING_BUFFERING', 'PLAYING'].indexOf(this._currentState) >= 0) {\n this.play();\n this.seek(0);\n } else {\n this._updateCurrentState(state);\n this._hasEnded = true;\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: this.getDuration() }, this.name);\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n }\n }\n };\n\n FlasHLS.prototype._updateCurrentState = function _updateCurrentState(state) {\n this._currentState = state;\n if (state !== 'IDLE') this._hasEnded = false;\n\n this._updatePlaybackType();\n if (state === 'PLAYING') this.trigger(_events2.default.PLAYBACK_PLAY, this.name);else if (state === 'PAUSED') this.trigger(_events2.default.PLAYBACK_PAUSE, this.name);\n };\n\n FlasHLS.prototype._updatePlaybackType = function _updatePlaybackType() {\n this._playbackType = this.el.getType();\n if (this._playbackType) {\n this._playbackType = this._playbackType.toLowerCase();\n if (this._playbackType === _playback2.default.VOD) this._startReportingProgress();else this._stopReportingProgress();\n }\n this.trigger(_events2.default.PLAYBACK_PLAYBACKSTATE, { type: this._playbackType });\n };\n\n FlasHLS.prototype._startReportingProgress = function _startReportingProgress() {\n if (!this._reportingProgress) this._reportingProgress = true;\n };\n\n FlasHLS.prototype._stopReportingProgress = function _stopReportingProgress() {\n this._reportingProgress = false;\n };\n\n FlasHLS.prototype._onFragmentLoaded = function _onFragmentLoaded(loadmetrics) {\n this.trigger(_events2.default.PLAYBACK_FRAGMENT_LOADED, loadmetrics);\n if (this._reportingProgress && this.getCurrentTime()) {\n var buffered = this.getCurrentTime() + this.el.getbufferLength();\n this.trigger(_events2.default.PLAYBACK_PROGRESS, {\n start: this.getCurrentTime(),\n current: buffered,\n total: this.el.getDuration()\n });\n }\n };\n\n FlasHLS.prototype._onLevelEndlist = function _onLevelEndlist() {\n this._updatePlaybackType();\n };\n\n FlasHLS.prototype._firstPlay = function _firstPlay() {\n var _this4 = this;\n\n this._shouldPlayOnManifestLoaded = true;\n if (this.el.playerLoad) {\n _mediator2.default.once(this.cid + ':manifestloaded', function (duration, loadmetrics) {\n return _this4._manifestLoaded(duration, loadmetrics);\n });\n this._setFlashSettings(); //ensure flushLiveURLCache will work (#327)\n this.el.playerLoad(this._src);\n this._srcLoaded = true;\n }\n };\n\n FlasHLS.prototype.volume = function volume(value) {\n var _this5 = this;\n\n if (this.isReady) this.el.playerVolume(value);else this.listenToOnce(this, _events2.default.PLAYBACK_BUFFERFULL, function () {\n return _this5.volume(value);\n });\n };\n\n FlasHLS.prototype.pause = function pause() {\n if (this._playbackType !== _playback2.default.LIVE || this._dvrEnabled) {\n this.el.playerPause();\n if (this._playbackType === _playback2.default.LIVE && this._dvrEnabled) this._updateDvr(true);\n }\n };\n\n FlasHLS.prototype.stop = function stop() {\n this._srcLoaded = false;\n this.el.playerStop();\n this.trigger(_events2.default.PLAYBACK_STOP);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 0, total: 0 }, this.name);\n };\n\n FlasHLS.prototype.isPlaying = function isPlaying() {\n if (this._currentState) return !!this._currentState.match(/playing/i);\n\n return false;\n };\n\n FlasHLS.prototype.getDuration = function getDuration() {\n return this._normalizeDuration(this.el.getDuration());\n };\n\n FlasHLS.prototype._normalizeDuration = function _normalizeDuration(duration) {\n if (this._playbackType === _playback2.default.LIVE) {\n // estimate 10 seconds of buffer time for live streams for seek positions\n duration = Math.max(0, duration - 10);\n }\n return duration;\n };\n\n FlasHLS.prototype.seekPercentage = function seekPercentage(percentage) {\n var duration = this.el.getDuration();\n var time = 0;\n if (percentage > 0) time = duration * percentage / 100;\n\n this.seek(time);\n };\n\n FlasHLS.prototype.seek = function seek(time) {\n var duration = this.getDuration();\n if (this._playbackType === _playback2.default.LIVE) {\n // seek operations to a time within 3 seconds from live stream will position playhead back to live\n var dvrInUse = duration - time > 3;\n this._updateDvr(dvrInUse);\n }\n this.el.playerSeek(time);\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: time, total: duration }, this.name);\n };\n\n FlasHLS.prototype._updateDvr = function _updateDvr(dvrInUse) {\n var previousDvrInUse = !!this._dvrInUse;\n this._dvrInUse = dvrInUse;\n if (this._dvrInUse !== previousDvrInUse) {\n this._updateSettings();\n this.trigger(_events2.default.PLAYBACK_DVR, this._dvrInUse);\n this.trigger(_events2.default.PLAYBACK_STATS_ADD, { 'dvr': this._dvrInUse });\n }\n };\n\n FlasHLS.prototype._flashPlaybackError = function _flashPlaybackError(code, url, message) {\n var error = {\n code: code,\n description: message,\n level: _error2.default.Levels.FATAL,\n raw: { code: code, url: url, message: message }\n };\n var formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.trigger(_events2.default.PLAYBACK_STOP);\n };\n\n FlasHLS.prototype._manifestLoaded = function _manifestLoaded(duration, loadmetrics) {\n if (this._shouldPlayOnManifestLoaded) {\n this._shouldPlayOnManifestLoaded = false;\n // this method initialises the player (and starts playback)\n // this needs to happen before PLAYBACK_LOADEDMETADATA is fired\n // as the user may call seek() in a LOADEDMETADATA listener.\n /// when playerPlay() is called the player seeks to 0\n this.el.playerPlay();\n }\n\n this._fillLevels();\n this.trigger(_events2.default.PLAYBACK_LOADEDMETADATA, { duration: duration, data: loadmetrics });\n };\n\n FlasHLS.prototype._fillLevels = function _fillLevels() {\n var levels = this.el.getLevels();\n var levelsLength = levels.length;\n this._levels = [];\n\n for (var index = 0; index < levelsLength; index++) {\n this._levels.push({ id: index, label: levels[index].height + 'p', level: levels[index] });\n }this.trigger(_events2.default.PLAYBACK_LEVELS_AVAILABLE, this._levels);\n };\n\n FlasHLS.prototype.destroy = function destroy() {\n this.stopListening();\n this.$el.remove();\n };\n\n FlasHLS.prototype._updateSettings = function _updateSettings() {\n this.settings = _clapprZepto2.default.extend({}, this._defaultSettings);\n if (this._playbackType === _playback2.default.VOD || this._dvrInUse) {\n this.settings.left = ['playpause', 'position', 'duration'];\n this.settings.seekEnabled = true;\n } else if (this._dvrEnabled) {\n this.settings.left = ['playpause'];\n this.settings.seekEnabled = true;\n } else {\n this.settings.seekEnabled = false;\n }\n };\n\n FlasHLS.prototype._createCallbacks = function _createCallbacks() {\n var _this6 = this;\n\n if (!window.Clappr) window.Clappr = {};\n\n if (!window.Clappr.flashlsCallbacks) window.Clappr.flashlsCallbacks = {};\n\n this.flashlsEvents = new _flashls_events2.default(this.cid);\n window.Clappr.flashlsCallbacks[this.cid] = function (eventName, args) {\n _this6.flashlsEvents[eventName].apply(_this6.flashlsEvents, args);\n };\n };\n\n FlasHLS.prototype.render = function render() {\n _BaseFlashPlayback.prototype.render.call(this);\n this._createCallbacks();\n return this;\n };\n\n (0, _createClass3.default)(FlasHLS, [{\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }, {\n key: 'dvrEnabled',\n get: function get() {\n return !!this._dvrEnabled;\n }\n }]);\n return FlasHLS;\n}(_base_flash_playback2.default);\n\nexports.default = FlasHLS;\n\n\nFlasHLS.canPlay = function (resource, mimeType) {\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n return _browser2.default.hasFlash && (resourceParts.length > 1 && resourceParts[1].toLowerCase() === 'm3u8' || mimeType === 'application/x-mpegURL' || mimeType === 'application/vnd.apple.mpegurl');\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/flashls_events.js\":\n/*!*************************************************!*\\\n !*** ./src/playbacks/flashls/flashls_events.js ***!\n \\*************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HLSEvents = function () {\n function HLSEvents(instanceId) {\n (0, _classCallCheck3.default)(this, HLSEvents);\n\n this.instanceId = instanceId;\n }\n\n HLSEvents.prototype.ready = function ready() {\n _mediator2.default.trigger(this.instanceId + ':flashready');\n };\n\n HLSEvents.prototype.videoSize = function videoSize(width, height) {\n _mediator2.default.trigger(this.instanceId + ':videosizechanged', width, height);\n };\n\n HLSEvents.prototype.complete = function complete() {\n _mediator2.default.trigger(this.instanceId + ':complete');\n };\n\n HLSEvents.prototype.error = function error(code, url, message) {\n _mediator2.default.trigger(this.instanceId + ':error', code, url, message);\n };\n\n HLSEvents.prototype.manifest = function manifest(duration, loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':manifestloaded', duration, loadmetrics);\n };\n\n HLSEvents.prototype.audioLevelLoaded = function audioLevelLoaded(loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':audiolevelloaded', loadmetrics);\n };\n\n HLSEvents.prototype.levelLoaded = function levelLoaded(loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':levelloaded', loadmetrics);\n };\n\n HLSEvents.prototype.levelEndlist = function levelEndlist(level) {\n _mediator2.default.trigger(this.instanceId + ':levelendlist', level);\n };\n\n HLSEvents.prototype.fragmentLoaded = function fragmentLoaded(loadmetrics) {\n _mediator2.default.trigger(this.instanceId + ':fragmentloaded', loadmetrics);\n };\n\n HLSEvents.prototype.fragmentPlaying = function fragmentPlaying(playmetrics) {\n _mediator2.default.trigger(this.instanceId + ':fragmentplaying', playmetrics);\n };\n\n HLSEvents.prototype.position = function position(timemetrics) {\n _mediator2.default.trigger(this.instanceId + ':timeupdate', timemetrics);\n };\n\n HLSEvents.prototype.state = function state(newState) {\n _mediator2.default.trigger(this.instanceId + ':playbackstate', newState);\n };\n\n HLSEvents.prototype.seekState = function seekState(newState) {\n _mediator2.default.trigger(this.instanceId + ':seekstate', newState);\n };\n\n HLSEvents.prototype.switch = function _switch(newLevel) {\n _mediator2.default.trigger(this.instanceId + ':levelchanged', newLevel);\n };\n\n HLSEvents.prototype.audioTracksListChange = function audioTracksListChange(trackList) {\n _mediator2.default.trigger(this.instanceId + ':audiotracklistchanged', trackList);\n };\n\n HLSEvents.prototype.audioTrackChange = function audioTrackChange(trackId) {\n _mediator2.default.trigger(this.instanceId + ':audiotrackchanged', trackId);\n };\n\n return HLSEvents;\n}();\n\nexports.default = HLSEvents;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/index.js\":\n/*!****************************************!*\\\n !*** ./src/playbacks/flashls/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _flashls = __webpack_require__(/*! ./flashls */ \"./src/playbacks/flashls/flashls.js\");\n\nvar _flashls2 = _interopRequireDefault(_flashls);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _flashls2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/flashls/public/HLSPlayer.swf\":\n/*!****************************************************!*\\\n !*** ./src/playbacks/flashls/public/HLSPlayer.swf ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/8fa12a459188502b9f0d39b8a67d9e6c.swf\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/hls/hls.js\":\n/*!**********************************!*\\\n !*** ./src/playbacks/hls/hls.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _stringify = __webpack_require__(/*! babel-runtime/core-js/json/stringify */ \"./node_modules/babel-runtime/core-js/json/stringify.js\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _extends2 = __webpack_require__(/*! babel-runtime/helpers/extends */ \"./node_modules/babel-runtime/helpers/extends.js\");\n\nvar _extends3 = _interopRequireDefault(_extends2);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _html5_video = __webpack_require__(/*! ../../playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nvar _hls = __webpack_require__(/*! hls.js */ \"./node_modules/hls.js/dist/hls.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _log = __webpack_require__(/*! ../../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar AUTO = -1; // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar HLS = function (_HTML5VideoPlayback) {\n (0, _inherits3.default)(HLS, _HTML5VideoPlayback);\n (0, _createClass3.default)(HLS, [{\n key: 'name',\n get: function get() {\n return 'hls';\n }\n }, {\n key: 'levels',\n get: function get() {\n return this._levels || [];\n }\n }, {\n key: 'currentLevel',\n get: function get() {\n if (this._currentLevel === null || this._currentLevel === undefined) return AUTO;else return this._currentLevel; //0 is a valid level ID\n },\n set: function set(id) {\n this._currentLevel = id;\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_START);\n if (this.options.playback.hlsUseNextLevel) this._hls.nextLevel = this._currentLevel;else this._hls.currentLevel = this._currentLevel;\n }\n }, {\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }, {\n key: '_startTime',\n get: function get() {\n if (this._playbackType === _playback2.default.LIVE && this._playlistType !== 'EVENT') return this._extrapolatedStartTime;\n\n return this._playableRegionStartTime;\n }\n }, {\n key: '_now',\n get: function get() {\n return (0, _utils.now)();\n }\n\n // the time in the video element which should represent the start of the sliding window\n // extrapolated to increase in real time (instead of jumping as the early segments are removed)\n\n }, {\n key: '_extrapolatedStartTime',\n get: function get() {\n if (!this._localStartTimeCorrelation) return this._playableRegionStartTime;\n\n var corr = this._localStartTimeCorrelation;\n var timePassed = this._now - corr.local;\n var extrapolatedWindowStartTime = (corr.remote + timePassed) / 1000;\n // cap at the end of the extrapolated window duration\n return Math.min(extrapolatedWindowStartTime, this._playableRegionStartTime + this._extrapolatedWindowDuration);\n }\n\n // the time in the video element which should represent the end of the content\n // extrapolated to increase in real time (instead of jumping as segments are added)\n\n }, {\n key: '_extrapolatedEndTime',\n get: function get() {\n var actualEndTime = this._playableRegionStartTime + this._playableRegionDuration;\n if (!this._localEndTimeCorrelation) return actualEndTime;\n\n var corr = this._localEndTimeCorrelation;\n var timePassed = this._now - corr.local;\n var extrapolatedEndTime = (corr.remote + timePassed) / 1000;\n return Math.max(actualEndTime - this._extrapolatedWindowDuration, Math.min(extrapolatedEndTime, actualEndTime));\n }\n }, {\n key: '_duration',\n get: function get() {\n return this._extrapolatedEndTime - this._startTime;\n }\n\n // Returns the duration (seconds) of the window that the extrapolated start time is allowed\n // to move in before being capped.\n // The extrapolated start time should never reach the cap at the end of the window as the\n // window should slide as chunks are removed from the start.\n // This also applies to the extrapolated end time in the same way.\n //\n // If chunks aren't being removed for some reason that the start time will reach and remain fixed at\n // playableRegionStartTime + extrapolatedWindowDuration\n //\n // <-- window duration -->\n // I.e playableRegionStartTime |-----------------------|\n // | --> . . .\n // . --> | --> . .\n // . . --> | --> .\n // . . . --> |\n // . . . .\n // extrapolatedStartTime\n\n }, {\n key: '_extrapolatedWindowDuration',\n get: function get() {\n if (this._segmentTargetDuration === null) return 0;\n\n return this._extrapolatedWindowNumSegments * this._segmentTargetDuration;\n }\n }], [{\n key: 'HLSJS',\n get: function get() {\n return _hls2.default;\n }\n }]);\n\n function HLS() {\n (0, _classCallCheck3.default)(this, HLS);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // backwards compatibility (TODO: remove on 0.3.0)\n var _this = (0, _possibleConstructorReturn3.default)(this, _HTML5VideoPlayback.call.apply(_HTML5VideoPlayback, [this].concat(args)));\n\n _this.options.playback = (0, _extends3.default)({}, _this.options, _this.options.playback);\n _this._minDvrSize = typeof _this.options.hlsMinimumDvrSize === 'undefined' ? 60 : _this.options.hlsMinimumDvrSize;\n // The size of the start time extrapolation window measured as a multiple of segments.\n // Should be 2 or higher, or 0 to disable. Should only need to be increased above 2 if more than one segment is\n // removed from the start of the playlist at a time. E.g if the playlist is cached for 10 seconds and new chunks are\n // added/removed every 5.\n _this._extrapolatedWindowNumSegments = !_this.options.playback || typeof _this.options.playback.extrapolatedWindowNumSegments === 'undefined' ? 2 : _this.options.playback.extrapolatedWindowNumSegments;\n\n _this._playbackType = _playback2.default.VOD;\n _this._lastTimeUpdate = { current: 0, total: 0 };\n _this._lastDuration = null;\n // for hls streams which have dvr with a sliding window,\n // the content at the start of the playlist is removed as new\n // content is appended at the end.\n // this means the actual playable start time will increase as the\n // start content is deleted\n // For streams with dvr where the entire recording is kept from the\n // beginning this should stay as 0\n _this._playableRegionStartTime = 0;\n // {local, remote} remote is the time in the video element that should represent 0\n // local is the system time when the 'remote' measurment took place\n _this._localStartTimeCorrelation = null;\n // {local, remote} remote is the time in the video element that should represents the end\n // local is the system time when the 'remote' measurment took place\n _this._localEndTimeCorrelation = null;\n // if content is removed from the beginning then this empty area should\n // be ignored. \"playableRegionDuration\" excludes the empty area\n _this._playableRegionDuration = 0;\n // #EXT-X-PROGRAM-DATE-TIME\n _this._programDateTime = 0;\n // true when the actual duration is longer than hlsjs's live sync point\n // when this is false playableRegionDuration will be the actual duration\n // when this is true playableRegionDuration will exclude the time after the sync point\n _this._durationExcludesAfterLiveSyncPoint = false;\n // #EXT-X-TARGETDURATION\n _this._segmentTargetDuration = null;\n // #EXT-X-PLAYLIST-TYPE\n _this._playlistType = null;\n _this._recoverAttemptsRemaining = _this.options.hlsRecoverAttempts || 16;\n return _this;\n }\n\n HLS.prototype._setup = function _setup() {\n var _this2 = this;\n\n this._ccIsSetup = false;\n this._ccTracksUpdated = false;\n this._hls = new _hls2.default((0, _utils.assign)({}, this.options.playback.hlsjsConfig));\n this._hls.on(_hls2.default.Events.MEDIA_ATTACHED, function () {\n return _this2._hls.loadSource(_this2.options.src);\n });\n this._hls.on(_hls2.default.Events.LEVEL_LOADED, function (evt, data) {\n return _this2._updatePlaybackType(evt, data);\n });\n this._hls.on(_hls2.default.Events.LEVEL_UPDATED, function (evt, data) {\n return _this2._onLevelUpdated(evt, data);\n });\n this._hls.on(_hls2.default.Events.LEVEL_SWITCHING, function (evt, data) {\n return _this2._onLevelSwitch(evt, data);\n });\n this._hls.on(_hls2.default.Events.FRAG_LOADED, function (evt, data) {\n return _this2._onFragmentLoaded(evt, data);\n });\n this._hls.on(_hls2.default.Events.ERROR, function (evt, data) {\n return _this2._onHLSJSError(evt, data);\n });\n this._hls.on(_hls2.default.Events.SUBTITLE_TRACK_LOADED, function (evt, data) {\n return _this2._onSubtitleLoaded(evt, data);\n });\n this._hls.on(_hls2.default.Events.SUBTITLE_TRACKS_UPDATED, function () {\n return _this2._ccTracksUpdated = true;\n });\n this._hls.attachMedia(this.el);\n };\n\n HLS.prototype.render = function render() {\n this._ready();\n return _HTML5VideoPlayback.prototype.render.call(this);\n };\n\n HLS.prototype._ready = function _ready() {\n this._isReadyState = true;\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n };\n\n HLS.prototype._recover = function _recover(evt, data, error) {\n if (!this._recoveredDecodingError) {\n this._recoveredDecodingError = true;\n this._hls.recoverMediaError();\n } else if (!this._recoveredAudioCodecError) {\n this._recoveredAudioCodecError = true;\n this._hls.swapAudioCodec();\n this._hls.recoverMediaError();\n } else {\n _log2.default.error('hlsjs: failed to recover', { evt: evt, data: data });\n error.level = _error2.default.Levels.FATAL;\n var formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n }\n };\n\n // override\n\n\n HLS.prototype._setupSrc = function _setupSrc(srcUrl) {// eslint-disable-line no-unused-vars\n // this playback manages the src on the video element itself\n };\n\n HLS.prototype._startTimeUpdateTimer = function _startTimeUpdateTimer() {\n var _this3 = this;\n\n if (this._timeUpdateTimer) return;\n\n this._timeUpdateTimer = setInterval(function () {\n _this3._onDurationChange();\n _this3._onTimeUpdate();\n }, 100);\n };\n\n HLS.prototype._stopTimeUpdateTimer = function _stopTimeUpdateTimer() {\n if (!this._timeUpdateTimer) return;\n\n clearInterval(this._timeUpdateTimer);\n this._timeUpdateTimer = null;\n };\n\n HLS.prototype.getProgramDateTime = function getProgramDateTime() {\n return this._programDateTime;\n };\n // the duration on the video element itself should not be used\n // as this does not necesarily represent the duration of the stream\n // https://github.com/clappr/clappr/issues/668#issuecomment-157036678\n\n\n HLS.prototype.getDuration = function getDuration() {\n return this._duration;\n };\n\n HLS.prototype.getCurrentTime = function getCurrentTime() {\n // e.g. can be < 0 if user pauses near the start\n // eventually they will then be kicked to the end by hlsjs if they run out of buffer\n // before the official start time\n return Math.max(0, this.el.currentTime - this._startTime);\n };\n\n // the time that \"0\" now represents relative to when playback started\n // for a stream with a sliding window this will increase as content is\n // removed from the beginning\n\n\n HLS.prototype.getStartTimeOffset = function getStartTimeOffset() {\n return this._startTime;\n };\n\n HLS.prototype.seekPercentage = function seekPercentage(percentage) {\n var seekTo = this._duration;\n if (percentage > 0) seekTo = this._duration * (percentage / 100);\n\n this.seek(seekTo);\n };\n\n HLS.prototype.seek = function seek(time) {\n if (time < 0) {\n _log2.default.warn('Attempt to seek to a negative time. Resetting to live point. Use seekToLivePoint() to seek to the live point.');\n time = this.getDuration();\n }\n // assume live if time within 3 seconds of end of stream\n this.dvrEnabled && this._updateDvr(time < this.getDuration() - 3);\n time += this._startTime;\n _HTML5VideoPlayback.prototype.seek.call(this, time);\n };\n\n HLS.prototype.seekToLivePoint = function seekToLivePoint() {\n this.seek(this.getDuration());\n };\n\n HLS.prototype._updateDvr = function _updateDvr(status) {\n this.trigger(_events2.default.PLAYBACK_DVR, status);\n this.trigger(_events2.default.PLAYBACK_STATS_ADD, { 'dvr': status });\n };\n\n HLS.prototype._updateSettings = function _updateSettings() {\n if (this._playbackType === _playback2.default.VOD) this.settings.left = ['playpause', 'position', 'duration'];else if (this.dvrEnabled) this.settings.left = ['playpause'];else this.settings.left = ['playstop'];\n\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n };\n\n HLS.prototype._onHLSJSError = function _onHLSJSError(evt, data) {\n var error = {\n code: data.type + '_' + data.details,\n description: this.name + ' error: type: ' + data.type + ', details: ' + data.details,\n raw: data\n };\n var formattedError = void 0;\n if (data.response) error.description += ', response: ' + (0, _stringify2.default)(data.response);\n // only report/handle errors if they are fatal\n // hlsjs should automatically handle non fatal errors\n if (data.fatal) {\n if (this._recoverAttemptsRemaining > 0) {\n this._recoverAttemptsRemaining -= 1;\n switch (data.type) {\n case _hls2.default.ErrorTypes.NETWORK_ERROR:\n switch (data.details) {\n // The following network errors cannot be recovered with HLS.startLoad()\n // For more details, see https://github.com/video-dev/hls.js/blob/master/doc/design.md#error-detection-and-handling\n // For \"level load\" fatal errors, see https://github.com/video-dev/hls.js/issues/1138\n case _hls2.default.ErrorDetails.MANIFEST_LOAD_ERROR:\n case _hls2.default.ErrorDetails.MANIFEST_LOAD_TIMEOUT:\n case _hls2.default.ErrorDetails.MANIFEST_PARSING_ERROR:\n case _hls2.default.ErrorDetails.LEVEL_LOAD_ERROR:\n case _hls2.default.ErrorDetails.LEVEL_LOAD_TIMEOUT:\n _log2.default.error('hlsjs: unrecoverable network fatal error.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n break;\n default:\n _log2.default.warn('hlsjs: trying to recover from network error.', { evt: evt, data: data });\n error.level = _error2.default.Levels.WARN;\n this.createError(error);\n this._hls.startLoad();\n break;\n }\n break;\n case _hls2.default.ErrorTypes.MEDIA_ERROR:\n _log2.default.warn('hlsjs: trying to recover from media error.', { evt: evt, data: data });\n error.level = _error2.default.Levels.WARN;\n this.createError(error);\n this._recover(evt, data, error);\n break;\n default:\n _log2.default.error('hlsjs: could not recover from error.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n break;\n }\n } else {\n _log2.default.error('hlsjs: could not recover from error after maximum number of attempts.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n }\n } else {\n // Transforms HLSJS.ErrorDetails.KEY_LOAD_ERROR non-fatal error to\n // playback fatal error if triggerFatalErrorOnResourceDenied playback\n // option is set. HLSJS.ErrorTypes.KEY_SYSTEM_ERROR are fatal errors\n // and therefore already handled.\n if (this.options.playback.triggerFatalErrorOnResourceDenied && this._keyIsDenied(data)) {\n _log2.default.error('hlsjs: could not load decrypt key.', { evt: evt, data: data });\n formattedError = this.createError(error);\n this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n this.stop();\n return;\n }\n\n error.level = _error2.default.Levels.WARN;\n this.createError(error);\n _log2.default.warn('hlsjs: non-fatal error occurred', { evt: evt, data: data });\n }\n };\n\n HLS.prototype._keyIsDenied = function _keyIsDenied(data) {\n return data.type === _hls2.default.ErrorTypes.NETWORK_ERROR && data.details === _hls2.default.ErrorDetails.KEY_LOAD_ERROR && data.response && data.response.code >= 400;\n };\n\n HLS.prototype._onTimeUpdate = function _onTimeUpdate() {\n var update = { current: this.getCurrentTime(), total: this.getDuration(), firstFragDateTime: this.getProgramDateTime() };\n var isSame = this._lastTimeUpdate && update.current === this._lastTimeUpdate.current && update.total === this._lastTimeUpdate.total;\n if (isSame) return;\n\n this._lastTimeUpdate = update;\n this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, update, this.name);\n };\n\n HLS.prototype._onDurationChange = function _onDurationChange() {\n var duration = this.getDuration();\n if (this._lastDuration === duration) return;\n\n this._lastDuration = duration;\n _HTML5VideoPlayback.prototype._onDurationChange.call(this);\n };\n\n HLS.prototype._onProgress = function _onProgress() {\n if (!this.el.buffered.length) return;\n\n var buffered = [];\n var bufferedPos = 0;\n for (var i = 0; i < this.el.buffered.length; i++) {\n buffered = [].concat((0, _toConsumableArray3.default)(buffered), [{\n // for a stream with sliding window dvr something that is buffered my slide off the start of the timeline\n start: Math.max(0, this.el.buffered.start(i) - this._playableRegionStartTime),\n end: Math.max(0, this.el.buffered.end(i) - this._playableRegionStartTime)\n }]);\n if (this.el.currentTime >= buffered[i].start && this.el.currentTime <= buffered[i].end) bufferedPos = i;\n }\n var progress = {\n start: buffered[bufferedPos].start,\n current: buffered[bufferedPos].end,\n total: this.getDuration()\n };\n this.trigger(_events2.default.PLAYBACK_PROGRESS, progress, buffered);\n };\n\n HLS.prototype.play = function play() {\n if (!this._hls) this._setup();\n\n _HTML5VideoPlayback.prototype.play.call(this);\n this._startTimeUpdateTimer();\n };\n\n HLS.prototype.pause = function pause() {\n if (!this._hls) return;\n\n _HTML5VideoPlayback.prototype.pause.call(this);\n if (this.dvrEnabled) this._updateDvr(true);\n };\n\n HLS.prototype.stop = function stop() {\n this._stopTimeUpdateTimer();\n if (this._hls) {\n _HTML5VideoPlayback.prototype.stop.call(this);\n this._hls.destroy();\n delete this._hls;\n }\n };\n\n HLS.prototype.destroy = function destroy() {\n this._stopTimeUpdateTimer();\n if (this._hls) {\n this._hls.destroy();\n delete this._hls;\n }\n _HTML5VideoPlayback.prototype.destroy.call(this);\n };\n\n HLS.prototype._updatePlaybackType = function _updatePlaybackType(evt, data) {\n this._playbackType = data.details.live ? _playback2.default.LIVE : _playback2.default.VOD;\n this._onLevelUpdated(evt, data);\n\n // Live stream subtitle tracks detection hack (may not immediately available)\n if (this._ccTracksUpdated && this._playbackType === _playback2.default.LIVE && this.hasClosedCaptionsTracks) this._onSubtitleLoaded();\n };\n\n HLS.prototype._fillLevels = function _fillLevels() {\n this._levels = this._hls.levels.map(function (level, index) {\n return { id: index, level: level, label: level.bitrate / 1000 + 'Kbps' };\n });\n this.trigger(_events2.default.PLAYBACK_LEVELS_AVAILABLE, this._levels);\n };\n\n HLS.prototype._onLevelUpdated = function _onLevelUpdated(evt, data) {\n this._segmentTargetDuration = data.details.targetduration;\n this._playlistType = data.details.type || null;\n\n var startTimeChanged = false;\n var durationChanged = false;\n var fragments = data.details.fragments;\n var previousPlayableRegionStartTime = this._playableRegionStartTime;\n var previousPlayableRegionDuration = this._playableRegionDuration;\n\n if (fragments.length === 0) return;\n\n // #EXT-X-PROGRAM-DATE-TIME\n if (fragments[0].rawProgramDateTime) this._programDateTime = fragments[0].rawProgramDateTime;\n\n if (this._playableRegionStartTime !== fragments[0].start) {\n startTimeChanged = true;\n this._playableRegionStartTime = fragments[0].start;\n }\n\n if (startTimeChanged) {\n if (!this._localStartTimeCorrelation) {\n // set the correlation to map to middle of the extrapolation window\n this._localStartTimeCorrelation = {\n local: this._now,\n remote: (fragments[0].start + this._extrapolatedWindowDuration / 2) * 1000\n };\n } else {\n // check if the correlation still works\n var corr = this._localStartTimeCorrelation;\n var timePassed = this._now - corr.local;\n // this should point to a time within the extrapolation window\n var startTime = (corr.remote + timePassed) / 1000;\n if (startTime < fragments[0].start) {\n // our start time is now earlier than the first chunk\n // (maybe the chunk was removed early)\n // reset correlation so that it sits at the beginning of the first available chunk\n this._localStartTimeCorrelation = {\n local: this._now,\n remote: fragments[0].start * 1000\n };\n } else if (startTime > previousPlayableRegionStartTime + this._extrapolatedWindowDuration) {\n // start time was past the end of the old extrapolation window (so would have been capped)\n // see if now that time would be inside the window, and if it would be set the correlation\n // so that it resumes from the time it was at at the end of the old window\n // update the correlation so that the time starts counting again from the value it's on now\n this._localStartTimeCorrelation = {\n local: this._now,\n remote: Math.max(fragments[0].start, previousPlayableRegionStartTime + this._extrapolatedWindowDuration) * 1000\n };\n }\n }\n }\n\n var newDuration = data.details.totalduration;\n // if it's a live stream then shorten the duration to remove access\n // to the area after hlsjs's live sync point\n // seeks to areas after this point sometimes have issues\n if (this._playbackType === _playback2.default.LIVE) {\n var fragmentTargetDuration = data.details.targetduration;\n var hlsjsConfig = this.options.playback.hlsjsConfig || {};\n var liveSyncDurationCount = hlsjsConfig.liveSyncDurationCount || _hls2.default.DefaultConfig.liveSyncDurationCount;\n var hiddenAreaDuration = fragmentTargetDuration * liveSyncDurationCount;\n if (hiddenAreaDuration <= newDuration) {\n newDuration -= hiddenAreaDuration;\n this._durationExcludesAfterLiveSyncPoint = true;\n } else {\n this._durationExcludesAfterLiveSyncPoint = false;\n }\n }\n\n if (newDuration !== this._playableRegionDuration) {\n durationChanged = true;\n this._playableRegionDuration = newDuration;\n }\n\n // Note the end time is not the playableRegionDuration\n // The end time will always increase even if content is removed from the beginning\n var endTime = fragments[0].start + newDuration;\n var previousEndTime = previousPlayableRegionStartTime + previousPlayableRegionDuration;\n var endTimeChanged = endTime !== previousEndTime;\n if (endTimeChanged) {\n if (!this._localEndTimeCorrelation) {\n // set the correlation to map to the end\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: endTime * 1000\n };\n } else {\n // check if the correlation still works\n var _corr = this._localEndTimeCorrelation;\n var _timePassed = this._now - _corr.local;\n // this should point to a time within the extrapolation window from the end\n var extrapolatedEndTime = (_corr.remote + _timePassed) / 1000;\n if (extrapolatedEndTime > endTime) {\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: endTime * 1000\n };\n } else if (extrapolatedEndTime < endTime - this._extrapolatedWindowDuration) {\n // our extrapolated end time is now earlier than the extrapolation window from the actual end time\n // (maybe a chunk became available early)\n // reset correlation so that it sits at the beginning of the extrapolation window from the end time\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: (endTime - this._extrapolatedWindowDuration) * 1000\n };\n } else if (extrapolatedEndTime > previousEndTime) {\n // end time was past the old end time (so would have been capped)\n // set the correlation so that it resumes from the time it was at at the end of the old window\n this._localEndTimeCorrelation = {\n local: this._now,\n remote: previousEndTime * 1000\n };\n }\n }\n }\n\n // now that the values have been updated call any methods that use on them so they get the updated values\n // immediately\n durationChanged && this._onDurationChange();\n startTimeChanged && this._onProgress();\n };\n\n HLS.prototype._onFragmentLoaded = function _onFragmentLoaded(evt, data) {\n this.trigger(_events2.default.PLAYBACK_FRAGMENT_LOADED, data);\n };\n\n HLS.prototype._onSubtitleLoaded = function _onSubtitleLoaded() {\n // This event may be triggered multiple times\n // Setup CC only once (disable CC by default)\n if (!this._ccIsSetup) {\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_AVAILABLE);\n var trackId = this._playbackType === _playback2.default.LIVE ? -1 : this.closedCaptionsTrackId;\n this.closedCaptionsTrackId = trackId;\n this._ccIsSetup = true;\n }\n };\n\n HLS.prototype._onLevelSwitch = function _onLevelSwitch(evt, data) {\n if (!this.levels.length) this._fillLevels();\n\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH_END);\n this.trigger(_events2.default.PLAYBACK_LEVEL_SWITCH, data);\n var currentLevel = this._hls.levels[data.level];\n if (currentLevel) {\n // TODO should highDefinition be private and maybe have a read only accessor if it's used somewhere\n this.highDefinition = currentLevel.height >= 720 || currentLevel.bitrate / 1000 >= 2000;\n this.trigger(_events2.default.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n this.trigger(_events2.default.PLAYBACK_BITRATE, {\n height: currentLevel.height,\n width: currentLevel.width,\n bandwidth: currentLevel.bitrate,\n bitrate: currentLevel.bitrate,\n level: data.level\n });\n }\n };\n\n HLS.prototype.getPlaybackType = function getPlaybackType() {\n return this._playbackType;\n };\n\n HLS.prototype.isSeekEnabled = function isSeekEnabled() {\n return this._playbackType === _playback2.default.VOD || this.dvrEnabled;\n };\n\n (0, _createClass3.default)(HLS, [{\n key: 'dvrEnabled',\n get: function get() {\n // enabled when:\n // - the duration does not include content after hlsjs's live sync point\n // - the playable region duration is longer than the configured duration to enable dvr after\n // - the playback type is LIVE.\n return this._durationExcludesAfterLiveSyncPoint && this._duration >= this._minDvrSize && this.getPlaybackType() === _playback2.default.LIVE;\n }\n }]);\n return HLS;\n}(_html5_video2.default);\n\nexports.default = HLS;\n\n\nHLS.canPlay = function (resource, mimeType) {\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n var isHls = resourceParts.length > 1 && resourceParts[1].toLowerCase() === 'm3u8' || (0, _utils.listContainsIgnoreCase)(mimeType, ['application/vnd.apple.mpegurl', 'application/x-mpegURL']);\n\n return !!(_hls2.default.isSupported() && isHls);\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/hls/index.js\":\n/*!************************************!*\\\n !*** ./src/playbacks/hls/index.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _hls = __webpack_require__(/*! ./hls */ \"./src/playbacks/hls/hls.js\");\n\nvar _hls2 = _interopRequireDefault(_hls);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _hls2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_audio/html5_audio.js\":\n/*!**************************************************!*\\\n !*** ./src/playbacks/html5_audio/html5_audio.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _html5_video = __webpack_require__(/*! ../../playbacks/html5_video */ \"./src/playbacks/html5_video/index.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// TODO: remove this playback and change HTML5Video to HTML5Playback (breaking change, only after 0.3.0)\nvar HTML5Audio = function (_HTML5Video) {\n (0, _inherits3.default)(HTML5Audio, _HTML5Video);\n\n function HTML5Audio() {\n (0, _classCallCheck3.default)(this, HTML5Audio);\n return (0, _possibleConstructorReturn3.default)(this, _HTML5Video.apply(this, arguments));\n }\n\n HTML5Audio.prototype.updateSettings = function updateSettings() {\n this.settings.left = ['playpause', 'position', 'duration'];\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n };\n\n HTML5Audio.prototype.getPlaybackType = function getPlaybackType() {\n return _playback2.default.AOD;\n };\n\n (0, _createClass3.default)(HTML5Audio, [{\n key: 'name',\n get: function get() {\n return 'html5_audio';\n }\n }, {\n key: 'tagName',\n get: function get() {\n return 'audio';\n }\n }, {\n key: 'isAudioOnly',\n get: function get() {\n return true;\n }\n }]);\n return HTML5Audio;\n}(_html5_video2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = HTML5Audio;\n\n\nHTML5Audio.canPlay = function (resourceUrl, mimeType) {\n var mimetypes = {\n 'wav': ['audio/wav'],\n 'mp3': ['audio/mp3', 'audio/mpeg;codecs=\"mp3\"'],\n 'aac': ['audio/mp4;codecs=\"mp4a.40.5\"'],\n 'oga': ['audio/ogg']\n };\n return _html5_video2.default._canPlay('audio', mimetypes, resourceUrl, mimeType);\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_audio/index.js\":\n/*!********************************************!*\\\n !*** ./src/playbacks/html5_audio/index.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _html5_audio = __webpack_require__(/*! ./html5_audio */ \"./src/playbacks/html5_audio/html5_audio.js\");\n\nvar _html5_audio2 = _interopRequireDefault(_html5_audio);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _html5_audio2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/html5_video.js\":\n/*!**************************************************!*\\\n !*** ./src/playbacks/html5_video/html5_video.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _from = __webpack_require__(/*! babel-runtime/core-js/array/from */ \"./node_modules/babel-runtime/core-js/array/from.js\");\n\nvar _from2 = _interopRequireDefault(_from);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _toConsumableArray2 = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ \"./node_modules/babel-runtime/helpers/toConsumableArray.js\");\n\nvar _toConsumableArray3 = _interopRequireDefault(_toConsumableArray2);\n\nvar _keys = __webpack_require__(/*! babel-runtime/core-js/object/keys */ \"./node_modules/babel-runtime/core-js/object/keys.js\");\n\nvar _keys2 = _interopRequireDefault(_keys);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _error = __webpack_require__(/*! ../../components/error */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _log = __webpack_require__(/*! ../../plugins/log */ \"./src/plugins/log/index.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _tracks = __webpack_require__(/*! ./public/tracks.html */ \"./src/playbacks/html5_video/public/tracks.html\");\n\nvar _tracks2 = _interopRequireDefault(_tracks);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/playbacks/html5_video/public/style.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar MIMETYPES = {\n 'mp4': ['avc1.42E01E', 'avc1.58A01E', 'avc1.4D401E', 'avc1.64001E', 'mp4v.20.8', 'mp4v.20.240', 'mp4a.40.2'].map(function (codec) {\n return 'video/mp4; codecs=\"' + codec + ', mp4a.40.2\"';\n }),\n 'ogg': ['video/ogg; codecs=\"theora, vorbis\"', 'video/ogg; codecs=\"dirac\"', 'video/ogg; codecs=\"theora, speex\"'],\n '3gpp': ['video/3gpp; codecs=\"mp4v.20.8, samr\"'],\n 'webm': ['video/webm; codecs=\"vp8, vorbis\"'],\n 'mkv': ['video/x-matroska; codecs=\"theora, vorbis\"'],\n 'm3u8': ['application/x-mpegurl']\n};\nMIMETYPES['ogv'] = MIMETYPES['ogg'];\nMIMETYPES['3gp'] = MIMETYPES['3gpp'];\n\nvar AUDIO_MIMETYPES = {\n 'wav': ['audio/wav'],\n 'mp3': ['audio/mp3', 'audio/mpeg;codecs=\"mp3\"'],\n 'aac': ['audio/mp4;codecs=\"mp4a.40.5\"'],\n 'oga': ['audio/ogg']\n};\n\nvar KNOWN_AUDIO_MIMETYPES = (0, _keys2.default)(AUDIO_MIMETYPES).reduce(function (acc, k) {\n return [].concat((0, _toConsumableArray3.default)(acc), (0, _toConsumableArray3.default)(AUDIO_MIMETYPES[k]));\n}, []);\n\nvar UNKNOWN_ERROR = { code: 'unknown', message: 'unknown'\n\n // TODO: rename this Playback to HTML5Playback (breaking change, only after 0.3.0)\n};\nvar HTML5Video = function (_Playback) {\n (0, _inherits3.default)(HTML5Video, _Playback);\n (0, _createClass3.default)(HTML5Video, [{\n key: 'name',\n get: function get() {\n return 'html5_video';\n }\n }, {\n key: 'tagName',\n get: function get() {\n return this.isAudioOnly ? 'audio' : 'video';\n }\n }, {\n key: 'isAudioOnly',\n get: function get() {\n var resourceUrl = this.options.src;\n var mimeTypes = HTML5Video._mimeTypesForUrl(resourceUrl, AUDIO_MIMETYPES, this.options.mimeType);\n return this.options.playback && this.options.playback.audioOnly || this.options.audioOnly || KNOWN_AUDIO_MIMETYPES.indexOf(mimeTypes[0]) >= 0;\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-html5-video': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'canplay': '_onCanPlay',\n 'canplaythrough': '_handleBufferingEvents',\n 'durationchange': '_onDurationChange',\n 'ended': '_onEnded',\n 'error': '_onError',\n 'loadeddata': '_onLoadedData',\n 'loadedmetadata': '_onLoadedMetadata',\n 'pause': '_onPause',\n 'playing': '_onPlaying',\n 'progress': '_onProgress',\n 'seeking': '_onSeeking',\n 'seeked': '_onSeeked',\n 'stalled': '_handleBufferingEvents',\n 'timeupdate': '_onTimeUpdate',\n 'waiting': '_onWaiting'\n };\n }\n\n /**\n * Determine if the playback has ended.\n * @property ended\n * @type Boolean\n */\n\n }, {\n key: 'ended',\n get: function get() {\n return this.el.ended;\n }\n\n /**\n * Determine if the playback is having to buffer in order for\n * playback to be smooth.\n * This is related to the PLAYBACK_BUFFERING and PLAYBACK_BUFFERFULL events\n * @property buffering\n * @type Boolean\n */\n\n }, {\n key: 'buffering',\n get: function get() {\n return this._isBuffering;\n }\n }]);\n\n function HTML5Video() {\n (0, _classCallCheck3.default)(this, HTML5Video);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Playback.call.apply(_Playback, [this].concat(args)));\n\n _this._destroyed = false;\n _this._loadStarted = false;\n _this._isBuffering = false;\n _this._playheadMoving = false;\n _this._playheadMovingTimer = null;\n _this._stopped = false;\n _this._ccTrackId = -1;\n _this._setupSrc(_this.options.src);\n // backwards compatibility (TODO: remove on 0.3.0)\n _this.options.playback || (_this.options.playback = _this.options || {});\n _this.options.playback.disableContextMenu = _this.options.playback.disableContextMenu || _this.options.disableVideoTagContextMenu;\n\n var playbackConfig = _this.options.playback;\n var preload = playbackConfig.preload || (_browser2.default.isSafari ? 'auto' : _this.options.preload);\n\n var posterUrl = void 0; // FIXME: poster plugin should always convert poster to object with expected properties ?\n if (_this.options.poster) {\n if (typeof _this.options.poster === 'string') posterUrl = _this.options.poster;else if (typeof _this.options.poster.url === 'string') posterUrl = _this.options.poster.url;\n }\n\n _clapprZepto2.default.extend(_this.el, {\n muted: _this.options.mute,\n defaultMuted: _this.options.mute,\n loop: _this.options.loop,\n poster: posterUrl,\n preload: preload || 'metadata',\n controls: (playbackConfig.controls || _this.options.useVideoTagDefaultControls) && 'controls',\n crossOrigin: playbackConfig.crossOrigin,\n 'x-webkit-playsinline': playbackConfig.playInline\n });\n\n playbackConfig.playInline && _this.$el.attr({ playsinline: 'playsinline' });\n playbackConfig.crossOrigin && _this.$el.attr({ crossorigin: playbackConfig.crossOrigin });\n\n // TODO should settings be private?\n _this.settings = { default: ['seekbar'] };\n _this.settings.left = ['playpause', 'position', 'duration'];\n _this.settings.right = ['fullscreen', 'volume', 'hd-indicator'];\n\n playbackConfig.externalTracks && _this._setupExternalTracks(playbackConfig.externalTracks);\n\n _this.options.autoPlay && _this.attemptAutoPlay();\n return _this;\n }\n\n HTML5Video.prototype.configure = function configure(options) {\n _Playback.prototype.configure.call(this, options);\n this.el.loop = !!options.loop;\n };\n\n // See Playback.attemptAutoPlay()\n\n\n HTML5Video.prototype.attemptAutoPlay = function attemptAutoPlay() {\n var _this2 = this;\n\n this.canAutoPlay(function (result, error) {\n error && _log2.default.warn(_this2.name, 'autoplay error.', { result: result, error: error });\n\n // https://github.com/clappr/clappr/issues/1076\n result && process.nextTick(function () {\n return !_this2._destroyed && _this2.play();\n });\n });\n };\n\n // See Playback.canAutoPlay()\n\n\n HTML5Video.prototype.canAutoPlay = function canAutoPlay(cb) {\n if (this.options.disableCanAutoPlay) cb(true, null);\n\n var opts = {\n timeout: this.options.autoPlayTimeout || 500,\n inline: this.options.playback.playInline || false,\n muted: this.options.mute || false // Known issue: mediacontrols may asynchronously mute video\n\n\n // Use current video element if recycling feature enabled with mobile devices\n };if (_browser2.default.isMobile && _utils.DomRecycler.options.recycleVideo) opts.element = this.el;\n\n // Desktop browser autoplay policy may require user action\n // Mobile browser autoplay require user consent and video recycling feature enabled\n // It may returns a false positive with source-less player consent\n (0, _utils.canAutoPlayMedia)(cb, opts);\n };\n\n HTML5Video.prototype._setupExternalTracks = function _setupExternalTracks(tracks) {\n this._externalTracks = tracks.map(function (track) {\n return {\n kind: track.kind || 'subtitles', // Default is 'subtitles'\n label: track.label,\n lang: track.lang,\n src: track.src\n };\n });\n };\n\n /**\n * Sets the source url on the <video> element, and also the 'src' property.\n * @method setupSrc\n * @private\n * @param {String} srcUrl The source URL.\n */\n\n\n HTML5Video.prototype._setupSrc = function _setupSrc(srcUrl) {\n if (this.el.src === srcUrl) return;\n\n this._ccIsSetup = false;\n this.el.src = srcUrl;\n this._src = this.el.src;\n };\n\n HTML5Video.prototype._onLoadedMetadata = function _onLoadedMetadata(e) {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_LOADEDMETADATA, { duration: e.target.duration, data: e });\n this._updateSettings();\n var autoSeekFromUrl = typeof this._options.autoSeekFromUrl === 'undefined' || this._options.autoSeekFromUrl;\n if (this.getPlaybackType() !== _playback2.default.LIVE && autoSeekFromUrl) this._checkInitialSeek();\n };\n\n HTML5Video.prototype._onDurationChange = function _onDurationChange() {\n this._updateSettings();\n this._onTimeUpdate();\n // onProgress uses the duration\n this._onProgress();\n };\n\n HTML5Video.prototype._updateSettings = function _updateSettings() {\n // we can't figure out if hls resource is VoD or not until it is being loaded or duration has changed.\n // that's why we check it again and update media control accordingly.\n if (this.getPlaybackType() === _playback2.default.VOD || this.getPlaybackType() === _playback2.default.AOD) this.settings.left = ['playpause', 'position', 'duration'];else this.settings.left = ['playstop'];\n\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_events2.default.PLAYBACK_SETTINGSUPDATE);\n };\n\n HTML5Video.prototype.isSeekEnabled = function isSeekEnabled() {\n return isFinite(this.getDuration());\n };\n\n HTML5Video.prototype.getPlaybackType = function getPlaybackType() {\n var onDemandType = this.tagName === 'audio' ? _playback2.default.AOD : _playback2.default.VOD;\n return [0, undefined, Infinity].indexOf(this.el.duration) >= 0 ? _playback2.default.LIVE : onDemandType;\n };\n\n HTML5Video.prototype.isHighDefinitionInUse = function isHighDefinitionInUse() {\n return false;\n };\n\n // On mobile device, HTML5 video element \"retains\" user action consent if\n // load() method is called. See Player.consent().\n\n\n HTML5Video.prototype.consent = function consent() {\n if (!this.isPlaying()) {\n _Playback.prototype.consent.call(this);\n this.el.load();\n }\n };\n\n HTML5Video.prototype.play = function play() {\n this.trigger(_events2.default.PLAYBACK_PLAY_INTENT);\n this._stopped = false;\n this._setupSrc(this._src);\n this._handleBufferingEvents();\n var promise = this.el.play();\n // For more details, see https://developers.google.com/web/updates/2016/03/play-returns-promise\n if (promise && promise.catch) promise.catch(function () {});\n };\n\n HTML5Video.prototype.pause = function pause() {\n this.el.pause();\n };\n\n HTML5Video.prototype.stop = function stop() {\n this.pause();\n this._stopped = true;\n // src will be added again in play()\n this.el.removeAttribute('src');\n this.el.load(); // load with no src to stop loading of the previous source and avoid leaks\n this._stopPlayheadMovingChecks();\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_STOP);\n };\n\n HTML5Video.prototype.volume = function volume(value) {\n if (value === 0) {\n this.$el.attr({ muted: 'true' });\n this.el.muted = true;\n } else {\n this.$el.attr({ muted: null });\n this.el.muted = false;\n this.el.volume = value / 100;\n }\n };\n\n /**\n * @deprecated\n * @private\n */\n\n\n HTML5Video.prototype.mute = function mute() {\n this.el.muted = true;\n };\n\n /**\n * @deprecated\n * @private\n */\n\n\n HTML5Video.prototype.unmute = function unmute() {\n this.el.muted = false;\n };\n\n HTML5Video.prototype.isMuted = function isMuted() {\n return this.el.muted === true || this.el.volume === 0;\n };\n\n HTML5Video.prototype.isPlaying = function isPlaying() {\n return !this.el.paused && !this.el.ended;\n };\n\n HTML5Video.prototype._startPlayheadMovingChecks = function _startPlayheadMovingChecks() {\n if (this._playheadMovingTimer !== null) return;\n\n this._playheadMovingTimeOnCheck = null;\n this._determineIfPlayheadMoving();\n this._playheadMovingTimer = setInterval(this._determineIfPlayheadMoving.bind(this), 500);\n };\n\n HTML5Video.prototype._stopPlayheadMovingChecks = function _stopPlayheadMovingChecks() {\n if (this._playheadMovingTimer === null) return;\n\n clearInterval(this._playheadMovingTimer);\n this._playheadMovingTimer = null;\n this._playheadMoving = false;\n };\n\n HTML5Video.prototype._determineIfPlayheadMoving = function _determineIfPlayheadMoving() {\n var before = this._playheadMovingTimeOnCheck;\n var now = this.el.currentTime;\n this._playheadMoving = before !== now;\n this._playheadMovingTimeOnCheck = now;\n this._handleBufferingEvents();\n };\n\n // this seems to happen when the user is having to wait\n // for something to happen AFTER A USER INTERACTION\n // e.g the player might be buffering, but when `play()` is called\n // only at this point will this be called.\n // Or the user may seek somewhere but the new area requires buffering,\n // so it will fire then as well.\n // On devices where playing is blocked until requested with a user action,\n // buffering may start, but never finish until the user initiates a play,\n // but this only happens when play is actually requested\n\n\n HTML5Video.prototype._onWaiting = function _onWaiting() {\n this._loadStarted = true;\n this._handleBufferingEvents();\n };\n\n // called after the first frame has loaded\n // note this doesn't fire on ios before the user has requested play\n // ideally the \"loadstart\" event would be used instead, but this fires\n // before a user has requested play on iOS, and also this is always fired\n // even if the preload setting is \"none\". In both these cases this causes\n // infinite buffering until the user does something which isn't great.\n\n\n HTML5Video.prototype._onLoadedData = function _onLoadedData() {\n this._loadStarted = true;\n this._handleBufferingEvents();\n };\n\n // note this doesn't fire on ios before user has requested play\n\n\n HTML5Video.prototype._onCanPlay = function _onCanPlay() {\n this._handleBufferingEvents();\n };\n\n HTML5Video.prototype._onPlaying = function _onPlaying() {\n this._checkForClosedCaptions();\n this._startPlayheadMovingChecks();\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_PLAY);\n };\n\n HTML5Video.prototype._onPause = function _onPause() {\n this._stopPlayheadMovingChecks();\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_PAUSE);\n };\n\n HTML5Video.prototype._onSeeking = function _onSeeking() {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_SEEK);\n };\n\n HTML5Video.prototype._onSeeked = function _onSeeked() {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_SEEKED);\n };\n\n HTML5Video.prototype._onEnded = function _onEnded() {\n this._handleBufferingEvents();\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n };\n\n // The playback should be classed as buffering if the following are true:\n // - the ready state is less then HAVE_FUTURE_DATA or the playhead isn't moving and it should be\n // - the media hasn't \"ended\",\n // - the media hasn't been stopped\n // - loading has started\n\n\n HTML5Video.prototype._handleBufferingEvents = function _handleBufferingEvents() {\n var playheadShouldBeMoving = !this.el.ended && !this.el.paused;\n var buffering = this._loadStarted && !this.el.ended && !this._stopped && (playheadShouldBeMoving && !this._playheadMoving || this.el.readyState < this.el.HAVE_FUTURE_DATA);\n if (this._isBuffering !== buffering) {\n this._isBuffering = buffering;\n if (buffering) this.trigger(_events2.default.PLAYBACK_BUFFERING, this.name);else this.trigger(_events2.default.PLAYBACK_BUFFERFULL, this.name);\n }\n };\n\n HTML5Video.prototype._onError = function _onError() {\n var _ref = this.el.error || UNKNOWN_ERROR,\n code = _ref.code,\n message = _ref.message;\n\n var isUnknownError = code === UNKNOWN_ERROR.code;\n\n var formattedError = this.createError({\n code: code,\n description: message,\n raw: this.el.error,\n level: isUnknownError ? _error2.default.Levels.WARN : _error2.default.Levels.FATAL\n });\n\n if (isUnknownError) _log2.default.warn(this.name, 'HTML5 unknown error: ', formattedError);else this.trigger(_events2.default.PLAYBACK_ERROR, formattedError);\n };\n\n HTML5Video.prototype.destroy = function destroy() {\n this._destroyed = true;\n this.handleTextTrackChange && this.el.textTracks.removeEventListener('change', this.handleTextTrackChange);\n _Playback.prototype.destroy.call(this);\n this.el.removeAttribute('src');\n this.el.load(); // load with no src to stop loading of the previous source and avoid leaks\n this._src = null;\n _utils.DomRecycler.garbage(this.$el);\n };\n\n HTML5Video.prototype.seek = function seek(time) {\n this.el.currentTime = time;\n };\n\n HTML5Video.prototype.seekPercentage = function seekPercentage(percentage) {\n var time = this.el.duration * (percentage / 100);\n this.seek(time);\n };\n\n HTML5Video.prototype._checkInitialSeek = function _checkInitialSeek() {\n var seekTime = (0, _utils.seekStringToSeconds)();\n if (seekTime !== 0) this.seek(seekTime);\n };\n\n HTML5Video.prototype.getCurrentTime = function getCurrentTime() {\n return this.el.currentTime;\n };\n\n HTML5Video.prototype.getDuration = function getDuration() {\n return this.el.duration;\n };\n\n HTML5Video.prototype._onTimeUpdate = function _onTimeUpdate() {\n if (this.getPlaybackType() === _playback2.default.LIVE) this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: 1, total: 1 }, this.name);else this.trigger(_events2.default.PLAYBACK_TIMEUPDATE, { current: this.el.currentTime, total: this.el.duration }, this.name);\n };\n\n HTML5Video.prototype._onProgress = function _onProgress() {\n if (!this.el.buffered.length) return;\n\n var buffered = [];\n var bufferedPos = 0;\n for (var i = 0; i < this.el.buffered.length; i++) {\n buffered = [].concat((0, _toConsumableArray3.default)(buffered), [{ start: this.el.buffered.start(i), end: this.el.buffered.end(i) }]);\n if (this.el.currentTime >= buffered[i].start && this.el.currentTime <= buffered[i].end) bufferedPos = i;\n }\n var progress = {\n start: buffered[bufferedPos].start,\n current: buffered[bufferedPos].end,\n total: this.el.duration\n };\n this.trigger(_events2.default.PLAYBACK_PROGRESS, progress, buffered);\n };\n\n HTML5Video.prototype._typeFor = function _typeFor(src) {\n var mimeTypes = HTML5Video._mimeTypesForUrl(src, MIMETYPES, this.options.mimeType);\n if (mimeTypes.length === 0) mimeTypes = HTML5Video._mimeTypesForUrl(src, AUDIO_MIMETYPES, this.options.mimeType);\n\n var mimeType = mimeTypes[0] || '';\n return mimeType.split(';')[0];\n };\n\n HTML5Video.prototype._ready = function _ready() {\n if (this._isReadyState) return;\n\n this._isReadyState = true;\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n };\n\n HTML5Video.prototype._checkForClosedCaptions = function _checkForClosedCaptions() {\n // Check if CC available only if current playback is HTML5Video\n if (this.isHTML5Video && !this._ccIsSetup) {\n if (this.hasClosedCaptionsTracks) {\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_AVAILABLE);\n var trackId = this.closedCaptionsTrackId;\n this.closedCaptionsTrackId = trackId;\n this.handleTextTrackChange = this._handleTextTrackChange.bind(this);\n this.el.textTracks.addEventListener('change', this.handleTextTrackChange);\n }\n this._ccIsSetup = true;\n }\n };\n\n HTML5Video.prototype._handleTextTrackChange = function _handleTextTrackChange() {\n var tracks = this.closedCaptionsTracks;\n var track = tracks.find(function (track) {\n return track.track.mode === 'showing';\n }) || { id: -1 };\n\n if (this._ccTrackId !== track.id) {\n this._ccTrackId = track.id;\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_CHANGED, {\n id: track.id\n });\n }\n };\n\n HTML5Video.prototype.render = function render() {\n if (this.options.playback.disableContextMenu) {\n this.$el.on('contextmenu', function () {\n return false;\n });\n }\n\n if (this._externalTracks && this._externalTracks.length > 0) {\n this.$el.html(this.template({\n tracks: this._externalTracks\n }));\n }\n\n this._ready();\n return this;\n };\n\n (0, _createClass3.default)(HTML5Video, [{\n key: 'isReady',\n get: function get() {\n return this._isReadyState;\n }\n }, {\n key: 'isHTML5Video',\n get: function get() {\n return this.name === HTML5Video.prototype.name;\n }\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n var id = 0;\n var trackId = function trackId() {\n return id++;\n };\n var textTracks = this.el.textTracks ? (0, _from2.default)(this.el.textTracks) : [];\n\n return textTracks.filter(function (track) {\n return track.kind === 'subtitles' || track.kind === 'captions';\n }).map(function (track) {\n return { id: trackId(), name: track.label, track: track };\n });\n }\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return this._ccTrackId;\n },\n set: function set(trackId) {\n if (!(0, _utils.isNumber)(trackId)) return;\n\n var tracks = this.closedCaptionsTracks;\n var showingTrack = void 0;\n\n // Note: -1 is for hide all tracks\n if (trackId !== -1) {\n showingTrack = tracks.find(function (track) {\n return track.id === trackId;\n });\n if (!showingTrack) return; // Track id not found\n\n if (showingTrack.track.mode === 'showing') return; // Track already showing\n }\n\n // Since it is possible to display multiple tracks,\n // ensure that all tracks are hidden.\n tracks.filter(function (track) {\n return track.track.mode !== 'hidden';\n }).forEach(function (track) {\n return track.track.mode = 'hidden';\n });\n\n showingTrack && (showingTrack.track.mode = 'showing');\n\n this._ccTrackId = trackId;\n this.trigger(_events2.default.PLAYBACK_SUBTITLE_CHANGED, {\n id: trackId\n });\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_tracks2.default);\n }\n }]);\n return HTML5Video;\n}(_playback2.default);\n\nexports.default = HTML5Video;\n\n\nHTML5Video._mimeTypesForUrl = function (resourceUrl, mimeTypesByExtension, mimeType) {\n var extension = (resourceUrl.split('?')[0].match(/.*\\.(.*)$/) || [])[1];\n var mimeTypes = mimeType || extension && mimeTypesByExtension[extension.toLowerCase()] || [];\n return mimeTypes.constructor === Array ? mimeTypes : [mimeTypes];\n};\n\nHTML5Video._canPlay = function (type, mimeTypesByExtension, resourceUrl, mimeType) {\n var mimeTypes = HTML5Video._mimeTypesForUrl(resourceUrl, mimeTypesByExtension, mimeType);\n var media = document.createElement(type);\n return !!mimeTypes.filter(function (mediaType) {\n return !!media.canPlayType(mediaType).replace(/no/, '');\n })[0];\n};\n\nHTML5Video.canPlay = function (resourceUrl, mimeType) {\n return HTML5Video._canPlay('audio', AUDIO_MIMETYPES, resourceUrl, mimeType) || HTML5Video._canPlay('video', MIMETYPES, resourceUrl, mimeType);\n};\nmodule.exports = exports['default'];\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/node-libs-browser/node_modules/process/browser.js */ \"./node_modules/node-libs-browser/node_modules/process/browser.js\")))\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/index.js\":\n/*!********************************************!*\\\n !*** ./src/playbacks/html5_video/index.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _html5_video = __webpack_require__(/*! ./html5_video */ \"./src/playbacks/html5_video/html5_video.js\");\n\nvar _html5_video2 = _interopRequireDefault(_html5_video);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _html5_video2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/public/style.scss\":\n/*!*****************************************************!*\\\n !*** ./src/playbacks/html5_video/public/style.scss ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html5_video/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/playbacks/html5_video/public/tracks.html\":\n/*!******************************************************!*\\\n !*** ./src/playbacks/html5_video/public/tracks.html ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<% for (var i = 0; i < tracks.length; i++) { %>\\n <track data-html5-video-track=\\\"<%= i %>\\\" kind=\\\"<%= tracks[i].kind %>\\\" label=\\\"<%= tracks[i].label %>\\\" srclang=\\\"<%= tracks[i].lang %>\\\" src=\\\"<%= tracks[i].src %>\\\" />\\n<% }; %>\\n\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/html_img/html_img.js\":\n/*!********************************************!*\\\n !*** ./src/playbacks/html_img/html_img.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/playbacks/html_img/public/style.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar HTMLImg = function (_Playback) {\n (0, _inherits3.default)(HTMLImg, _Playback);\n\n HTMLImg.prototype.getPlaybackType = function getPlaybackType() {\n return _playback2.default.NO_OP;\n };\n\n (0, _createClass3.default)(HTMLImg, [{\n key: 'name',\n get: function get() {\n return 'html_img';\n }\n }, {\n key: 'tagName',\n get: function get() {\n return 'img';\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-html-img': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'load': '_onLoad',\n 'abort': '_onError',\n 'error': '_onError'\n };\n }\n }]);\n\n function HTMLImg(params) {\n (0, _classCallCheck3.default)(this, HTMLImg);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Playback.call(this, params));\n\n _this.el.src = params.src;\n return _this;\n }\n\n HTMLImg.prototype.render = function render() {\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n return this;\n };\n\n HTMLImg.prototype._onLoad = function _onLoad() {\n this.trigger(_events2.default.PLAYBACK_ENDED, this.name);\n };\n\n HTMLImg.prototype._onError = function _onError(evt) {\n var m = evt.type === 'error' ? 'load error' : 'loading aborted';\n this.trigger(_events2.default.PLAYBACK_ERROR, { message: m }, this.name);\n };\n\n return HTMLImg;\n}(_playback2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = HTMLImg;\n\n\nHTMLImg.canPlay = function (resource) {\n return (/\\.(png|jpg|jpeg|gif|bmp|tiff|pgm|pnm|webp)(|\\?.*)$/i.test(resource)\n );\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html_img/index.js\":\n/*!*****************************************!*\\\n !*** ./src/playbacks/html_img/index.js ***!\n \\*****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _html_img = __webpack_require__(/*! ./html_img */ \"./src/playbacks/html_img/html_img.js\");\n\nvar _html_img2 = _interopRequireDefault(_html_img);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _html_img2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/html_img/public/style.scss\":\n/*!**************************************************!*\\\n !*** ./src/playbacks/html_img/public/style.scss ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/html_img/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/index.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/no_op/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _no_op = __webpack_require__(/*! ./no_op */ \"./src/playbacks/no_op/no_op.js\");\n\nvar _no_op2 = _interopRequireDefault(_no_op);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _no_op2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/no_op.js\":\n/*!**************************************!*\\\n !*** ./src/playbacks/no_op/no_op.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _error = __webpack_require__(/*! ./public/error.html */ \"./src/playbacks/no_op/public/error.html\");\n\nvar _error2 = _interopRequireDefault(_error);\n\n__webpack_require__(/*! ./public/style.scss */ \"./src/playbacks/no_op/public/style.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar NoOp = function (_Playback) {\n (0, _inherits3.default)(NoOp, _Playback);\n (0, _createClass3.default)(NoOp, [{\n key: 'name',\n get: function get() {\n return 'no_op';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_error2.default);\n }\n }, {\n key: 'attributes',\n get: function get() {\n return { 'data-no-op': '' };\n }\n }]);\n\n function NoOp() {\n (0, _classCallCheck3.default)(this, NoOp);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _Playback.call.apply(_Playback, [this].concat(args)));\n\n _this._noiseFrameNum = -1;\n return _this;\n }\n\n NoOp.prototype.render = function render() {\n var playbackNotSupported = this.options.playbackNotSupportedMessage || this.i18n.t('playback_not_supported');\n this.$el.html(this.template({ message: playbackNotSupported }));\n this.trigger(_events2.default.PLAYBACK_READY, this.name);\n var showForNoOp = !!(this.options.poster && this.options.poster.showForNoOp);\n if (this.options.autoPlay || !showForNoOp) this._animate();\n\n return this;\n };\n\n NoOp.prototype._noise = function _noise() {\n this._noiseFrameNum = (this._noiseFrameNum + 1) % 5;\n if (this._noiseFrameNum) {\n // only update noise every 5 frames to save cpu\n return;\n }\n\n var idata = this.context.createImageData(this.context.canvas.width, this.context.canvas.height);\n var buffer32 = void 0;\n try {\n buffer32 = new Uint32Array(idata.data.buffer);\n } catch (err) {\n buffer32 = new Uint32Array(this.context.canvas.width * this.context.canvas.height * 4);\n var data = idata.data;\n for (var i = 0; i < data.length; i++) {\n buffer32[i] = data[i];\n }\n }\n\n var len = buffer32.length,\n m = Math.random() * 6 + 4;\n var run = 0,\n color = 0;\n for (var _i = 0; _i < len;) {\n if (run < 0) {\n run = m * Math.random();\n var p = Math.pow(Math.random(), 0.4);\n color = 255 * p << 24;\n }\n run -= 1;\n buffer32[_i++] = color;\n }\n this.context.putImageData(idata, 0, 0);\n };\n\n NoOp.prototype._loop = function _loop() {\n var _this2 = this;\n\n if (this._stop) return;\n\n this._noise();\n this._animationHandle = (0, _utils.requestAnimationFrame)(function () {\n return _this2._loop();\n });\n };\n\n NoOp.prototype.destroy = function destroy() {\n if (this._animationHandle) {\n (0, _utils.cancelAnimationFrame)(this._animationHandle);\n this._stop = true;\n }\n };\n\n NoOp.prototype._animate = function _animate() {\n this.canvas = this.$el.find('canvas[data-no-op-canvas]')[0];\n this.context = this.canvas.getContext('2d');\n this._loop();\n };\n\n return NoOp;\n}(_playback2.default);\n\nexports.default = NoOp;\n\n\nNoOp.canPlay = function (source) {\n // eslint-disable-line no-unused-vars\n return true;\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/public/error.html\":\n/*!***********************************************!*\\\n !*** ./src/playbacks/no_op/public/error.html ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<canvas data-no-op-canvas></canvas>\\n<p data-no-op-msg><%=message%><p>\\n\";\n\n/***/ }),\n\n/***/ \"./src/playbacks/no_op/public/style.scss\":\n/*!***********************************************!*\\\n !*** ./src/playbacks/no_op/public/style.scss ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./style.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/playbacks/no_op/public/style.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/click_to_pause/click_to_pause.js\":\n/*!******************************************************!*\\\n !*** ./src/plugins/click_to_pause/click_to_pause.js ***!\n \\******************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _container_plugin = __webpack_require__(/*! ../../base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ClickToPausePlugin = function (_ContainerPlugin) {\n (0, _inherits3.default)(ClickToPausePlugin, _ContainerPlugin);\n (0, _createClass3.default)(ClickToPausePlugin, [{\n key: 'name',\n get: function get() {\n return 'click_to_pause';\n }\n }]);\n\n function ClickToPausePlugin(container) {\n (0, _classCallCheck3.default)(this, ClickToPausePlugin);\n return (0, _possibleConstructorReturn3.default)(this, _ContainerPlugin.call(this, container));\n }\n\n ClickToPausePlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container, _events2.default.CONTAINER_CLICK, this.click);\n this.listenTo(this.container, _events2.default.CONTAINER_SETTINGSUPDATE, this.settingsUpdate);\n };\n\n ClickToPausePlugin.prototype.click = function click() {\n if (this.container.getPlaybackType() !== _playback2.default.LIVE || this.container.isDvrEnabled()) {\n if (this.container.isPlaying()) this.container.pause();else this.container.play();\n }\n };\n\n ClickToPausePlugin.prototype.settingsUpdate = function settingsUpdate() {\n var pointerEnabled = this.container.getPlaybackType() !== _playback2.default.LIVE || this.container.isDvrEnabled();\n if (pointerEnabled === this.pointerEnabled) return;\n\n var method = pointerEnabled ? 'addClass' : 'removeClass';\n this.container.$el[method]('pointer-enabled');\n this.pointerEnabled = pointerEnabled;\n };\n\n return ClickToPausePlugin;\n}(_container_plugin2.default); //Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = ClickToPausePlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/click_to_pause/index.js\":\n/*!*********************************************!*\\\n !*** ./src/plugins/click_to_pause/index.js ***!\n \\*********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _click_to_pause = __webpack_require__(/*! ./click_to_pause */ \"./src/plugins/click_to_pause/click_to_pause.js\");\n\nvar _click_to_pause2 = _interopRequireDefault(_click_to_pause);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _click_to_pause2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/closed_captions.js\":\n/*!********************************************************!*\\\n !*** ./src/plugins/closed_captions/closed_captions.js ***!\n \\********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _closed_captions = __webpack_require__(/*! ./public/closed_captions.html */ \"./src/plugins/closed_captions/public/closed_captions.html\");\n\nvar _closed_captions2 = _interopRequireDefault(_closed_captions);\n\n__webpack_require__(/*! ./public/closed_captions.scss */ \"./src/plugins/closed_captions/public/closed_captions.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ClosedCaptions = function (_UICorePlugin) {\n (0, _inherits3.default)(ClosedCaptions, _UICorePlugin);\n (0, _createClass3.default)(ClosedCaptions, [{\n key: 'name',\n get: function get() {\n return 'closed_captions';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_closed_captions2.default);\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click [data-cc-button]': 'toggleContextMenu',\n 'click [data-cc-select]': 'onTrackSelect'\n };\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'cc-controls',\n 'data-cc-controls': ''\n };\n }\n }]);\n\n function ClosedCaptions(core) {\n (0, _classCallCheck3.default)(this, ClosedCaptions);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n var config = core.options.closedCaptionsConfig;\n _this._title = config && config.title ? config.title : null;\n _this._ariaLabel = config && config.ariaLabel ? config.ariaLabel : 'cc-button';\n _this._labelCb = config && config.labelCallback && typeof config.labelCallback === 'function' ? config.labelCallback : function (track) {\n return track.name;\n };\n return _this;\n }\n\n ClosedCaptions.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_RENDERED, this.render);\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_HIDE, this.hideContextMenu);\n this.container = this.core.getCurrentContainer();\n if (this.container) {\n this.listenTo(this.container, _events2.default.CONTAINER_SUBTITLE_AVAILABLE, this.onSubtitleAvailable);\n this.listenTo(this.container, _events2.default.CONTAINER_SUBTITLE_CHANGED, this.onSubtitleChanged);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onContainerStop);\n }\n };\n\n ClosedCaptions.prototype.onContainerStop = function onContainerStop() {\n this.ccAvailable(false);\n };\n\n ClosedCaptions.prototype.containerChanged = function containerChanged() {\n this.ccAvailable(false);\n this.stopListening();\n this.bindEvents();\n };\n\n ClosedCaptions.prototype.onSubtitleAvailable = function onSubtitleAvailable() {\n this.renderCcButton();\n this.ccAvailable(true);\n };\n\n ClosedCaptions.prototype.onSubtitleChanged = function onSubtitleChanged(track) {\n this.setCurrentContextMenuElement(track.id);\n };\n\n ClosedCaptions.prototype.onTrackSelect = function onTrackSelect(event) {\n var trackId = parseInt(event.target.dataset.ccSelect, 10);\n this.container.closedCaptionsTrackId = trackId;\n this.hideContextMenu();\n event.stopPropagation();\n return false;\n };\n\n ClosedCaptions.prototype.ccAvailable = function ccAvailable(hasCC) {\n var method = hasCC ? 'addClass' : 'removeClass';\n this.$el[method]('available');\n };\n\n ClosedCaptions.prototype.toggleContextMenu = function toggleContextMenu() {\n this.$el.find('ul').toggle();\n };\n\n ClosedCaptions.prototype.hideContextMenu = function hideContextMenu() {\n this.$el.find('ul').hide();\n };\n\n ClosedCaptions.prototype.contextMenuElement = function contextMenuElement(id) {\n return this.$el.find('ul a' + (!isNaN(id) ? '[data-cc-select=\"' + id + '\"]' : '')).parent();\n };\n\n ClosedCaptions.prototype.setCurrentContextMenuElement = function setCurrentContextMenuElement(trackId) {\n if (this._trackId !== trackId) {\n this.contextMenuElement().removeClass('current');\n this.contextMenuElement(trackId).addClass('current');\n var method = trackId > -1 ? 'addClass' : 'removeClass';\n this.$ccButton[method]('enabled');\n this._trackId = trackId;\n }\n };\n\n ClosedCaptions.prototype.renderCcButton = function renderCcButton() {\n var tracks = this.container ? this.container.closedCaptionsTracks : [];\n for (var i = 0; i < tracks.length; i++) {\n tracks[i].label = this._labelCb(tracks[i]);\n }this.$el.html(this.template({\n ariaLabel: this._ariaLabel,\n disabledLabel: this.core.i18n.t('disabled'),\n title: this._title,\n tracks: tracks\n }));\n\n this.$ccButton = this.$el.find('button.cc-button[data-cc-button]');\n this.$ccButton.append(_utils.SvgIcons.cc);\n this.$el.append(this.style);\n };\n\n ClosedCaptions.prototype.render = function render() {\n this.renderCcButton();\n\n var $fullscreen = this.core.mediaControl.$el.find('button[data-fullscreen]');\n if ($fullscreen[0]) this.$el.insertAfter($fullscreen);else this.core.mediaControl.$el.find('.media-control-right-panel[data-media-control]').prepend(this.$el);\n\n return this;\n };\n\n return ClosedCaptions;\n}(_ui_core_plugin2.default);\n\nexports.default = ClosedCaptions;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/index.js\":\n/*!**********************************************!*\\\n !*** ./src/plugins/closed_captions/index.js ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _closed_captions = __webpack_require__(/*! ./closed_captions */ \"./src/plugins/closed_captions/closed_captions.js\");\n\nvar _closed_captions2 = _interopRequireDefault(_closed_captions);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _closed_captions2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/public/closed_captions.html\":\n/*!*****************************************************************!*\\\n !*** ./src/plugins/closed_captions/public/closed_captions.html ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<button type=\\\"button\\\" class=\\\"cc-button media-control-button media-control-icon\\\" data-cc-button aria-label=\\\"<%= ariaLabel %>\\\"></button>\\n<ul>\\n <% if (title) { %>\\n <li data-title><%= title %></li>\\n <% }; %>\\n <li><a href=\\\"#\\\" data-cc-select=\\\"-1\\\"><%= disabledLabel %></a></li>\\n <% for (var i = 0; i < tracks.length; i++) { %>\\n <li><a href=\\\"#\\\" data-cc-select=\\\"<%= tracks[i].id %>\\\"><%= tracks[i].label %></a></li>\\n <% }; %>\\n</ul>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/closed_captions/public/closed_captions.scss\":\n/*!*****************************************************************!*\\\n !*** ./src/plugins/closed_captions/public/closed_captions.scss ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./closed_captions.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/closed_captions/public/closed_captions.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/dvr_controls.js\":\n/*!**************************************************!*\\\n !*** ./src/plugins/dvr_controls/dvr_controls.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _index = __webpack_require__(/*! ./public/index.html */ \"./src/plugins/dvr_controls/public/index.html\");\n\nvar _index2 = _interopRequireDefault(_index);\n\n__webpack_require__(/*! ./public/dvr_controls.scss */ \"./src/plugins/dvr_controls/public/dvr_controls.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar DVRControls = function (_UICorePlugin) {\n (0, _inherits3.default)(DVRControls, _UICorePlugin);\n (0, _createClass3.default)(DVRControls, [{\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_index2.default);\n }\n }, {\n key: 'name',\n get: function get() {\n return 'dvr_controls';\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click .live-button': 'click'\n };\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'dvr-controls',\n 'data-dvr-controls': ''\n };\n }\n }]);\n\n function DVRControls(core) {\n (0, _classCallCheck3.default)(this, DVRControls);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n _this.settingsUpdate();\n return _this;\n }\n\n DVRControls.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_CONTAINERCHANGED, this.containerChanged);\n this.listenTo(this.core.mediaControl, _events2.default.MEDIACONTROL_RENDERED, this.settingsUpdate);\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.render);\n if (this.core.getCurrentContainer()) {\n this.listenToOnce(this.core.getCurrentContainer(), _events2.default.CONTAINER_TIMEUPDATE, this.render);\n this.listenTo(this.core.getCurrentContainer(), _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.dvrChanged);\n }\n };\n\n DVRControls.prototype.containerChanged = function containerChanged() {\n this.stopListening();\n this.bindEvents();\n };\n\n DVRControls.prototype.dvrChanged = function dvrChanged(dvrEnabled) {\n if (this.core.getPlaybackType() !== _playback2.default.LIVE) return;\n this.settingsUpdate();\n this.core.mediaControl.$el.addClass('live');\n if (dvrEnabled) {\n this.core.mediaControl.$el.addClass('dvr');\n this.core.mediaControl.$el.find('.media-control-indicator[data-position], .media-control-indicator[data-duration]').hide();\n } else {\n this.core.mediaControl.$el.removeClass('dvr');\n }\n };\n\n DVRControls.prototype.click = function click() {\n var mediaControl = this.core.mediaControl;\n var container = mediaControl.container;\n if (!container.isPlaying()) container.play();\n\n if (mediaControl.$el.hasClass('dvr')) container.seek(container.getDuration());\n };\n\n DVRControls.prototype.settingsUpdate = function settingsUpdate() {\n var _this2 = this;\n\n this.stopListening();\n this.core.mediaControl.$el.removeClass('live');\n if (this.shouldRender()) {\n this.render();\n this.$el.click(function () {\n return _this2.click();\n });\n }\n this.bindEvents();\n };\n\n DVRControls.prototype.shouldRender = function shouldRender() {\n var useDvrControls = this.core.options.useDvrControls === undefined || !!this.core.options.useDvrControls;\n return useDvrControls && this.core.getPlaybackType() === _playback2.default.LIVE;\n };\n\n DVRControls.prototype.render = function render() {\n this.$el.html(this.template({\n live: this.core.i18n.t('live'),\n backToLive: this.core.i18n.t('back_to_live')\n }));\n if (this.shouldRender()) {\n this.core.mediaControl.$el.addClass('live');\n this.core.mediaControl.$('.media-control-left-panel[data-media-control]').append(this.$el);\n }\n return this;\n };\n\n return DVRControls;\n}(_ui_core_plugin2.default);\n\nexports.default = DVRControls;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/index.js\":\n/*!*******************************************!*\\\n !*** ./src/plugins/dvr_controls/index.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _dvr_controls = __webpack_require__(/*! ./dvr_controls */ \"./src/plugins/dvr_controls/dvr_controls.js\");\n\nvar _dvr_controls2 = _interopRequireDefault(_dvr_controls);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _dvr_controls2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/public/dvr_controls.scss\":\n/*!***********************************************************!*\\\n !*** ./src/plugins/dvr_controls/public/dvr_controls.scss ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./dvr_controls.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/dvr_controls/public/dvr_controls.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/dvr_controls/public/index.html\":\n/*!****************************************************!*\\\n !*** ./src/plugins/dvr_controls/public/index.html ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"live-info\\\"><%= live %></div>\\n<button type=\\\"button\\\" class=\\\"live-button\\\" aria-label=\\\"<%= backToLive %>\\\"><%= backToLive %></button>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/end_video.js\":\n/*!**********************************!*\\\n !*** ./src/plugins/end_video.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _core_plugin = __webpack_require__(/*! ../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar EndVideo = function (_CorePlugin) {\n (0, _inherits3.default)(EndVideo, _CorePlugin);\n\n function EndVideo() {\n (0, _classCallCheck3.default)(this, EndVideo);\n return (0, _possibleConstructorReturn3.default)(this, _CorePlugin.apply(this, arguments));\n }\n\n EndVideo.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);\n var container = this.core.activeContainer;\n if (container) {\n this.listenTo(container, _events2.default.CONTAINER_ENDED, this.ended);\n this.listenTo(container, _events2.default.CONTAINER_STOP, this.ended);\n }\n };\n\n EndVideo.prototype.containerChanged = function containerChanged() {\n this.stopListening();\n this.bindEvents();\n };\n\n EndVideo.prototype.ended = function ended() {\n var exitOnEnd = typeof this.core.options.exitFullscreenOnEnd === 'undefined' || this.core.options.exitFullscreenOnEnd;\n if (exitOnEnd && this.core.isFullscreen()) this.core.toggleFullscreen();\n };\n\n (0, _createClass3.default)(EndVideo, [{\n key: 'name',\n get: function get() {\n return 'end_video';\n }\n }]);\n return EndVideo;\n}(_core_plugin2.default);\n\nexports.default = EndVideo;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/error_screen.js\":\n/*!**************************************************!*\\\n !*** ./src/plugins/error_screen/error_screen.js ***!\n \\**************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _error = __webpack_require__(/*! ../../components/error/ */ \"./src/components/error/index.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _error_screen = __webpack_require__(/*! ./public/error_screen.html */ \"./src/plugins/error_screen/public/error_screen.html\");\n\nvar _error_screen2 = _interopRequireDefault(_error_screen);\n\n__webpack_require__(/*! ./public/error_screen.scss */ \"./src/plugins/error_screen/public/error_screen.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar ErrorScreen = function (_UICorePlugin) {\n (0, _inherits3.default)(ErrorScreen, _UICorePlugin);\n (0, _createClass3.default)(ErrorScreen, [{\n key: 'name',\n get: function get() {\n return 'error_screen';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_error_screen2.default);\n }\n }, {\n key: 'container',\n get: function get() {\n return this.core.getCurrentContainer();\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'player-error-screen',\n 'data-error-screen': ''\n };\n }\n }]);\n\n function ErrorScreen(core) {\n var _ret;\n\n (0, _classCallCheck3.default)(this, ErrorScreen);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n if (_this.options.disableErrorScreen) return _ret = _this.disable(), (0, _possibleConstructorReturn3.default)(_this, _ret);\n return _this;\n }\n\n ErrorScreen.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.ERROR, this.onError);\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.onContainerChanged);\n };\n\n ErrorScreen.prototype.bindReload = function bindReload() {\n this.reloadButton = this.$el.find('.player-error-screen__reload');\n this.reloadButton && this.reloadButton.on('click', this.reload.bind(this));\n };\n\n ErrorScreen.prototype.reload = function reload() {\n var _this2 = this;\n\n this.listenToOnce(this.core, _events2.default.CORE_READY, function () {\n return _this2.container.play();\n });\n this.core.load(this.options.sources, this.options.mimeType);\n this.unbindReload();\n };\n\n ErrorScreen.prototype.unbindReload = function unbindReload() {\n this.reloadButton && this.reloadButton.off('click');\n };\n\n ErrorScreen.prototype.onContainerChanged = function onContainerChanged() {\n this.err = null;\n this.unbindReload();\n this.hide();\n };\n\n ErrorScreen.prototype.onError = function onError() {\n var err = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n if (err.level === _error2.default.Levels.FATAL) {\n this.err = err;\n this.container.disableMediaControl();\n this.container.stop();\n this.show();\n }\n };\n\n ErrorScreen.prototype.show = function show() {\n this.render();\n this.$el.show();\n };\n\n ErrorScreen.prototype.hide = function hide() {\n this.$el.hide();\n };\n\n ErrorScreen.prototype.render = function render() {\n if (!this.err) return;\n\n this.$el.html(this.template({\n title: this.err.UI.title,\n message: this.err.UI.message,\n code: this.err.code,\n icon: this.err.UI.icon || '',\n reloadIcon: _utils.SvgIcons.reload\n }));\n\n this.core.$el.append(this.el);\n\n this.bindReload();\n\n return this;\n };\n\n return ErrorScreen;\n}(_ui_core_plugin2.default);\n\nexports.default = ErrorScreen;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/index.js\":\n/*!*******************************************!*\\\n !*** ./src/plugins/error_screen/index.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _error_screen = __webpack_require__(/*! ./error_screen */ \"./src/plugins/error_screen/error_screen.js\");\n\nvar _error_screen2 = _interopRequireDefault(_error_screen);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _error_screen2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/public/error_screen.html\":\n/*!***********************************************************!*\\\n !*** ./src/plugins/error_screen/public/error_screen.html ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"player-error-screen__content\\\" data-error-screen>\\n <% if (icon) { %>\\n <div class=\\\"player-error-screen__icon\\\" data-error-screen><%= icon %></div>\\n <% } %>\\n <div class=\\\"player-error-screen__title\\\" data-error-screen><%= title %></div>\\n <div class=\\\"player-error-screen__message\\\" data-error-screen><%= message %></div>\\n <div class=\\\"player-error-screen__code\\\" data-error-screen>Error code: <%= code %></div>\\n <div class=\\\"player-error-screen__reload\\\" data-error-screen><%= reloadIcon %></div>\\n</div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/error_screen/public/error_screen.scss\":\n/*!***********************************************************!*\\\n !*** ./src/plugins/error_screen/public/error_screen.scss ***!\n \\***********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./error_screen.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/error_screen/public/error_screen.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/favicon/favicon.js\":\n/*!****************************************!*\\\n !*** ./src/plugins/favicon/favicon.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _core_plugin = __webpack_require__(/*! ../../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar oldIcon = (0, _clapprZepto2.default)('link[rel=\"shortcut icon\"]');\n\nvar Favicon = function (_CorePlugin) {\n (0, _inherits3.default)(Favicon, _CorePlugin);\n (0, _createClass3.default)(Favicon, [{\n key: 'name',\n get: function get() {\n return 'favicon';\n }\n }, {\n key: 'oldIcon',\n get: function get() {\n return oldIcon;\n }\n }]);\n\n function Favicon(core) {\n (0, _classCallCheck3.default)(this, Favicon);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _CorePlugin.call(this, core));\n\n _this._container = null;\n _this.configure();\n return _this;\n }\n\n Favicon.prototype.configure = function configure() {\n if (this.core.options.changeFavicon) {\n if (!this.enabled) {\n this.stopListening(this.core, _events2.default.CORE_OPTIONS_CHANGE);\n this.enable();\n }\n } else if (this.enabled) {\n this.disable();\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.configure);\n }\n };\n\n Favicon.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.configure);\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.containerChanged);\n this.core.activeContainer && this.containerChanged();\n };\n\n Favicon.prototype.containerChanged = function containerChanged() {\n this._container && this.stopListening(this._container);\n this._container = this.core.activeContainer;\n this.listenTo(this._container, _events2.default.CONTAINER_PLAY, this.setPlayIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_PAUSE, this.setPauseIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_STOP, this.resetIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_ENDED, this.resetIcon);\n this.listenTo(this._container, _events2.default.CONTAINER_ERROR, this.resetIcon);\n this.resetIcon();\n };\n\n Favicon.prototype.disable = function disable() {\n _CorePlugin.prototype.disable.call(this);\n this.resetIcon();\n };\n\n Favicon.prototype.destroy = function destroy() {\n _CorePlugin.prototype.destroy.call(this);\n this.resetIcon();\n };\n\n Favicon.prototype.createIcon = function createIcon(svg) {\n var canvas = (0, _clapprZepto2.default)('<canvas/>');\n canvas[0].width = 16;\n canvas[0].height = 16;\n var ctx = canvas[0].getContext('2d');\n ctx.fillStyle = '#000';\n var d = (0, _clapprZepto2.default)(svg).find('path').attr('d');\n var path = new Path2D(d);\n ctx.fill(path);\n var icon = (0, _clapprZepto2.default)('<link rel=\"shortcut icon\" type=\"image/png\"/>');\n icon.attr('href', canvas[0].toDataURL('image/png'));\n return icon;\n };\n\n Favicon.prototype.setPlayIcon = function setPlayIcon() {\n if (!this.playIcon) this.playIcon = this.createIcon(_utils.SvgIcons.play);\n\n this.changeIcon(this.playIcon);\n };\n\n Favicon.prototype.setPauseIcon = function setPauseIcon() {\n if (!this.pauseIcon) this.pauseIcon = this.createIcon(_utils.SvgIcons.pause);\n\n this.changeIcon(this.pauseIcon);\n };\n\n Favicon.prototype.resetIcon = function resetIcon() {\n (0, _clapprZepto2.default)('link[rel=\"shortcut icon\"]').remove();\n (0, _clapprZepto2.default)('head').append(this.oldIcon);\n };\n\n Favicon.prototype.changeIcon = function changeIcon(icon) {\n if (icon) {\n (0, _clapprZepto2.default)('link[rel=\"shortcut icon\"]').remove();\n (0, _clapprZepto2.default)('head').append(icon);\n }\n };\n\n return Favicon;\n}(_core_plugin2.default);\n\nexports.default = Favicon;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/favicon/index.js\":\n/*!**************************************!*\\\n !*** ./src/plugins/favicon/index.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _favicon = __webpack_require__(/*! ./favicon.js */ \"./src/plugins/favicon/favicon.js\");\n\nvar _favicon2 = _interopRequireDefault(_favicon);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _favicon2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/google_analytics/google_analytics.js\":\n/*!**********************************************************!*\\\n !*** ./src/plugins/google_analytics/google_analytics.js ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _container_plugin = __webpack_require__(/*! ../../base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar GoogleAnalytics = function (_ContainerPlugin) {\n (0, _inherits3.default)(GoogleAnalytics, _ContainerPlugin);\n (0, _createClass3.default)(GoogleAnalytics, [{\n key: 'name',\n get: function get() {\n return 'google_analytics';\n }\n }]);\n\n function GoogleAnalytics(container) {\n (0, _classCallCheck3.default)(this, GoogleAnalytics);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _ContainerPlugin.call(this, container));\n\n if (_this.container.options.gaAccount) {\n _this.account = _this.container.options.gaAccount;\n _this.trackerName = _this.container.options.gaTrackerName ? _this.container.options.gaTrackerName + '.' : 'Clappr.';\n _this.domainName = _this.container.options.gaDomainName;\n _this.currentHDState = undefined;\n _this.embedScript();\n }\n return _this;\n }\n\n GoogleAnalytics.prototype.embedScript = function embedScript() {\n var _this2 = this;\n\n if (!window._gat) {\n var script = document.createElement('script');\n script.setAttribute('type', 'text/javascript');\n script.setAttribute('async', 'async');\n script.setAttribute('src', '//www.google-analytics.com/ga.js');\n script.onload = function () {\n return _this2.addEventListeners();\n };\n document.body.appendChild(script);\n } else {\n this.addEventListeners();\n }\n };\n\n GoogleAnalytics.prototype.addEventListeners = function addEventListeners() {\n var _this3 = this;\n\n if (this.container) {\n this.listenTo(this.container, _events2.default.CONTAINER_READY, this.onReady);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_PAUSE, this.onPause);\n this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.onEnded);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERING, this.onBuffering);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, this.onBufferFull);\n this.listenTo(this.container, _events2.default.CONTAINER_ERROR, this.onError);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAYBACKSTATE, this.onPlaybackChanged);\n this.listenTo(this.container, _events2.default.CONTAINER_VOLUME, function (event) {\n return _this3.onVolumeChanged(event);\n });\n this.listenTo(this.container, _events2.default.CONTAINER_SEEK, function (event) {\n return _this3.onSeek(event);\n });\n this.listenTo(this.container, _events2.default.CONTAINER_FULL_SCREEN, this.onFullscreen);\n this.listenTo(this.container, _events2.default.CONTAINER_HIGHDEFINITIONUPDATE, this.onHD);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.onDVR);\n }\n _gaq.push([this.trackerName + '_setAccount', this.account]);\n if (this.domainName) _gaq.push([this.trackerName + '_setDomainName', this.domainName]);\n };\n\n GoogleAnalytics.prototype.onReady = function onReady() {\n this.push(['Video', 'Playback', this.container.playback.name]);\n };\n\n GoogleAnalytics.prototype.onPlay = function onPlay() {\n this.push(['Video', 'Play', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onStop = function onStop() {\n this.push(['Video', 'Stop', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onEnded = function onEnded() {\n this.push(['Video', 'Ended', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onBuffering = function onBuffering() {\n this.push(['Video', 'Buffering', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onBufferFull = function onBufferFull() {\n this.push(['Video', 'Bufferfull', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onError = function onError() {\n this.push(['Video', 'Error', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onHD = function onHD(isHD) {\n var status = isHD ? 'ON' : 'OFF';\n if (status !== this.currentHDState) {\n this.currentHDState = status;\n this.push(['Video', 'HD - ' + status, this.container.playback.src]);\n }\n };\n\n GoogleAnalytics.prototype.onPlaybackChanged = function onPlaybackChanged(playbackState) {\n if (playbackState.type !== null) this.push(['Video', 'Playback Type - ' + playbackState.type, this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onDVR = function onDVR(dvrInUse) {\n var status = dvrInUse ? 'ON' : 'OFF';\n this.push(['Interaction', 'DVR - ' + status, this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onPause = function onPause() {\n this.push(['Video', 'Pause', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onSeek = function onSeek() {\n this.push(['Video', 'Seek', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onVolumeChanged = function onVolumeChanged() {\n this.push(['Interaction', 'Volume', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.onFullscreen = function onFullscreen() {\n this.push(['Interaction', 'Fullscreen', this.container.playback.src]);\n };\n\n GoogleAnalytics.prototype.push = function push(array) {\n var res = [this.trackerName + '_trackEvent'].concat(array);\n _gaq.push(res);\n };\n\n return GoogleAnalytics;\n}(_container_plugin2.default);\n\nexports.default = GoogleAnalytics;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/google_analytics/index.js\":\n/*!***********************************************!*\\\n !*** ./src/plugins/google_analytics/index.js ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _google_analytics = __webpack_require__(/*! ./google_analytics */ \"./src/plugins/google_analytics/google_analytics.js\");\n\nvar _google_analytics2 = _interopRequireDefault(_google_analytics);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _google_analytics2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/log/index.js\":\n/*!**********************************!*\\\n !*** ./src/plugins/log/index.js ***!\n \\**********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _log = __webpack_require__(/*! ./log */ \"./src/plugins/log/log.js\");\n\nvar _log2 = _interopRequireDefault(_log);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _log2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/log/log.js\":\n/*!********************************!*\\\n !*** ./src/plugins/log/log.js ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _vendor = __webpack_require__(/*! ../../vendor */ \"./src/vendor/index.js\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar BOLD = 'font-weight: bold; font-size: 13px;';\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar INFO = 'color: #006600;' + BOLD;\nvar DEBUG = 'color: #0000ff;' + BOLD;\nvar WARN = 'color: #ff8000;' + BOLD;\nvar ERROR = 'color: #ff0000;' + BOLD;\n\nvar LEVEL_DEBUG = 0;\nvar LEVEL_INFO = 1;\nvar LEVEL_WARN = 2;\nvar LEVEL_ERROR = 3;\nvar LEVEL_DISABLED = LEVEL_ERROR;\n\nvar COLORS = [DEBUG, INFO, WARN, ERROR, ERROR];\nvar DESCRIPTIONS = ['debug', 'info', 'warn', 'error', 'disabled'];\n\nvar Log = function () {\n function Log() {\n var _this = this;\n\n var level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : LEVEL_INFO;\n var offLevel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : LEVEL_DISABLED;\n (0, _classCallCheck3.default)(this, Log);\n\n this.kibo = new _vendor.Kibo();\n this.kibo.down(['ctrl shift d'], function () {\n return _this.onOff();\n });\n this.BLACKLIST = ['timeupdate', 'playback:timeupdate', 'playback:progress', 'container:hover', 'container:timeupdate', 'container:progress'];\n this.level = level;\n this.offLevel = offLevel;\n }\n\n Log.prototype.debug = function debug(klass) {\n this.log(klass, LEVEL_DEBUG, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.info = function info(klass) {\n this.log(klass, LEVEL_INFO, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.warn = function warn(klass) {\n this.log(klass, LEVEL_WARN, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.error = function error(klass) {\n this.log(klass, LEVEL_ERROR, Array.prototype.slice.call(arguments, 1));\n };\n\n Log.prototype.onOff = function onOff() {\n if (this.level === this.offLevel) {\n this.level = this.previousLevel;\n } else {\n this.previousLevel = this.level;\n this.level = this.offLevel;\n }\n // handle instances where console.log is unavailable\n if (window.console && window.console.log) window.console.log('%c[Clappr.Log] set log level to ' + DESCRIPTIONS[this.level], WARN);\n };\n\n Log.prototype.level = function level(newLevel) {\n this.level = newLevel;\n };\n\n Log.prototype.log = function log(klass, level, message) {\n if (this.BLACKLIST.indexOf(message[0]) >= 0) return;\n if (level < this.level) return;\n\n if (!message) {\n message = klass;\n klass = null;\n }\n var color = COLORS[level];\n var klassDescription = '';\n if (klass) klassDescription = '[' + klass + ']';\n\n if (window.console && window.console.log) window.console.log.apply(console, ['%c[' + DESCRIPTIONS[level] + ']' + klassDescription, color].concat(message));\n };\n\n return Log;\n}();\n\nexports.default = Log;\n\n\nLog.LEVEL_DEBUG = LEVEL_DEBUG;\nLog.LEVEL_INFO = LEVEL_INFO;\nLog.LEVEL_WARN = LEVEL_WARN;\nLog.LEVEL_ERROR = LEVEL_ERROR;\n\nLog.getInstance = function () {\n if (this._instance === undefined) {\n this._instance = new this();\n this._instance.previousLevel = this._instance.level;\n this._instance.level = this._instance.offLevel;\n }\n return this._instance;\n};\n\nLog.setLevel = function (level) {\n this.getInstance().level = level;\n};\n\nLog.debug = function () {\n this.getInstance().debug.apply(this.getInstance(), arguments);\n};\nLog.info = function () {\n this.getInstance().info.apply(this.getInstance(), arguments);\n};\nLog.warn = function () {\n this.getInstance().warn.apply(this.getInstance(), arguments);\n};\nLog.error = function () {\n this.getInstance().error.apply(this.getInstance(), arguments);\n};\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/index.js\":\n/*!********************************************!*\\\n !*** ./src/plugins/media_control/index.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _media_control = __webpack_require__(/*! ./media_control */ \"./src/plugins/media_control/media_control.js\");\n\nvar _media_control2 = _interopRequireDefault(_media_control);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _media_control2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/media_control.js\":\n/*!****************************************************!*\\\n !*** ./src/plugins/media_control/media_control.js ***!\n \\****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stringify = __webpack_require__(/*! babel-runtime/core-js/json/stringify */ \"./node_modules/babel-runtime/core-js/json/stringify.js\");\n\nvar _stringify2 = _interopRequireDefault(_stringify);\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _vendor = __webpack_require__(/*! ../../vendor */ \"./src/vendor/index.js\");\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _browser = __webpack_require__(/*! ../../components/browser */ \"./src/components/browser/index.js\");\n\nvar _browser2 = _interopRequireDefault(_browser);\n\nvar _mediator = __webpack_require__(/*! ../../components/mediator */ \"./src/components/mediator.js\");\n\nvar _mediator2 = _interopRequireDefault(_mediator);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\n__webpack_require__(/*! ./public/media-control.scss */ \"./src/plugins/media_control/public/media-control.scss\");\n\nvar _mediaControl = __webpack_require__(/*! ./public/media-control.html */ \"./src/plugins/media_control/public/media-control.html\");\n\nvar _mediaControl2 = _interopRequireDefault(_mediaControl);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\n/**\n * The MediaControl is responsible for displaying the Player controls.\n */\n\nvar MediaControl = function (_UICorePlugin) {\n (0, _inherits3.default)(MediaControl, _UICorePlugin);\n (0, _createClass3.default)(MediaControl, [{\n key: 'name',\n get: function get() {\n return 'media_control';\n }\n }, {\n key: 'disabled',\n get: function get() {\n var playbackIsNOOP = this.container && this.container.getPlaybackType() === _playback2.default.NO_OP;\n return this.userDisabled || playbackIsNOOP;\n }\n }, {\n key: 'container',\n get: function get() {\n return this.core && this.core.activeContainer;\n }\n }, {\n key: 'playback',\n get: function get() {\n return this.core && this.core.activePlayback;\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'media-control',\n 'data-media-control': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click [data-play]': 'play',\n 'click [data-pause]': 'pause',\n 'click [data-playpause]': 'togglePlayPause',\n 'click [data-stop]': 'stop',\n 'click [data-playstop]': 'togglePlayStop',\n 'click [data-fullscreen]': 'toggleFullscreen',\n 'click .bar-container[data-seekbar]': 'seek',\n 'click .bar-container[data-volume]': 'onVolumeClick',\n 'click .drawer-icon[data-volume]': 'toggleMute',\n 'mouseenter .drawer-container[data-volume]': 'showVolumeBar',\n 'mouseleave .drawer-container[data-volume]': 'hideVolumeBar',\n 'mousedown .bar-container[data-volume]': 'startVolumeDrag',\n 'mousemove .bar-container[data-volume]': 'mousemoveOnVolumeBar',\n 'mousedown .bar-scrubber[data-seekbar]': 'startSeekDrag',\n 'mousemove .bar-container[data-seekbar]': 'mousemoveOnSeekBar',\n 'mouseleave .bar-container[data-seekbar]': 'mouseleaveOnSeekBar',\n 'mouseenter .media-control-layer[data-controls]': 'setUserKeepVisible',\n 'mouseleave .media-control-layer[data-controls]': 'resetUserKeepVisible'\n };\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_mediaControl2.default);\n }\n }, {\n key: 'volume',\n get: function get() {\n return this.container && this.container.isReady ? this.container.volume : this.intendedVolume;\n }\n }, {\n key: 'muted',\n get: function get() {\n return this.volume === 0;\n }\n }]);\n\n function MediaControl(core) {\n (0, _classCallCheck3.default)(this, MediaControl);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n _this.persistConfig = _this.options.persistConfig;\n _this.currentPositionValue = null;\n _this.currentDurationValue = null;\n _this.keepVisible = false;\n _this.fullScreenOnVideoTagSupported = null; // unknown\n _this.setInitialVolume();\n _this.settings = {\n left: ['play', 'stop', 'pause'],\n right: ['volume'],\n default: ['position', 'seekbar', 'duration']\n };\n _this.kibo = new _vendor.Kibo(_this.options.focusElement);\n _this.bindKeyEvents();\n\n if (_this.container) {\n if (!_clapprZepto2.default.isEmptyObject(_this.container.settings)) _this.settings = _clapprZepto2.default.extend({}, _this.container.settings);\n } else {\n _this.settings = {};\n }\n\n _this.userDisabled = false;\n if (_this.container && _this.container.mediaControlDisabled || _this.options.chromeless) _this.disable();\n\n _this.stopDragHandler = function (event) {\n return _this.stopDrag(event);\n };\n _this.updateDragHandler = function (event) {\n return _this.updateDrag(event);\n };\n (0, _clapprZepto2.default)(document).bind('mouseup', _this.stopDragHandler);\n (0, _clapprZepto2.default)(document).bind('mousemove', _this.updateDragHandler);\n return _this;\n }\n\n MediaControl.prototype.getExternalInterface = function getExternalInterface() {\n var _this2 = this;\n\n return {\n setVolume: this.setVolume,\n getVolume: function getVolume() {\n return _this2.volume;\n }\n };\n };\n\n MediaControl.prototype.bindEvents = function bindEvents() {\n var _this3 = this;\n\n this.stopListening();\n this.listenTo(this.core, _events2.default.CORE_ACTIVE_CONTAINER_CHANGED, this.onActiveContainerChanged);\n this.listenTo(this.core, _events2.default.CORE_MOUSE_MOVE, this.show);\n this.listenTo(this.core, _events2.default.CORE_MOUSE_LEAVE, function () {\n return _this3.hide(_this3.options.hideMediaControlDelay);\n });\n this.listenTo(this.core, _events2.default.CORE_FULLSCREEN, this.show);\n this.listenTo(this.core, _events2.default.CORE_OPTIONS_CHANGE, this.configure);\n _mediator2.default.on(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerResize, this);\n this.bindContainerEvents();\n };\n\n MediaControl.prototype.bindContainerEvents = function bindContainerEvents() {\n if (!this.container) return;\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.changeTogglePlay);\n this.listenTo(this.container, _events2.default.CONTAINER_PAUSE, this.changeTogglePlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.changeTogglePlay);\n this.listenTo(this.container, _events2.default.CONTAINER_DBLCLICK, this.toggleFullscreen);\n this.listenTo(this.container, _events2.default.CONTAINER_TIMEUPDATE, this.onTimeUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_PROGRESS, this.updateProgressBar);\n this.listenTo(this.container, _events2.default.CONTAINER_SETTINGSUPDATE, this.settingsUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.settingsUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_HIGHDEFINITIONUPDATE, this.highDefinitionUpdate);\n this.listenTo(this.container, _events2.default.CONTAINER_MEDIACONTROL_DISABLE, this.disable);\n this.listenTo(this.container, _events2.default.CONTAINER_MEDIACONTROL_ENABLE, this.enable);\n this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.ended);\n this.listenTo(this.container, _events2.default.CONTAINER_VOLUME, this.onVolumeChanged);\n this.listenTo(this.container, _events2.default.CONTAINER_OPTIONS_CHANGE, this.setInitialVolume);\n if (this.container.playback.el.nodeName.toLowerCase() === 'video') {\n // wait until the metadata has loaded and then check if fullscreen on video tag is supported\n this.listenToOnce(this.container, _events2.default.CONTAINER_LOADEDMETADATA, this.onLoadedMetadataOnVideoTag);\n }\n };\n\n MediaControl.prototype.disable = function disable() {\n this.userDisabled = true;\n this.hide();\n this.unbindKeyEvents();\n this.$el.hide();\n };\n\n MediaControl.prototype.enable = function enable() {\n if (this.options.chromeless) return;\n this.userDisabled = false;\n this.bindKeyEvents();\n this.show();\n };\n\n MediaControl.prototype.play = function play() {\n this.container && this.container.play();\n };\n\n MediaControl.prototype.pause = function pause() {\n this.container && this.container.pause();\n };\n\n MediaControl.prototype.stop = function stop() {\n this.container && this.container.stop();\n };\n\n MediaControl.prototype.setInitialVolume = function setInitialVolume() {\n var initialVolume = this.persistConfig ? _utils.Config.restore('volume') : 100;\n var options = this.container && this.container.options || this.options;\n this.setVolume(options.mute ? 0 : initialVolume, true);\n };\n\n MediaControl.prototype.onVolumeChanged = function onVolumeChanged() {\n this.updateVolumeUI();\n };\n\n MediaControl.prototype.onLoadedMetadataOnVideoTag = function onLoadedMetadataOnVideoTag() {\n var video = this.playback && this.playback.el;\n // video.webkitSupportsFullscreen is deprecated but iOS appears to only use this\n // see https://github.com/clappr/clappr/issues/1127\n if (!_utils.Fullscreen.fullscreenEnabled() && video.webkitSupportsFullscreen) {\n this.fullScreenOnVideoTagSupported = true;\n this.settingsUpdate();\n }\n };\n\n MediaControl.prototype.updateVolumeUI = function updateVolumeUI() {\n // this will be called after a render\n if (!this.rendered) return;\n\n // update volume bar scrubber/fill on bar mode\n this.$volumeBarContainer.find('.bar-fill-2').css({});\n var containerWidth = this.$volumeBarContainer.width();\n var barWidth = this.$volumeBarBackground.width();\n var offset = (containerWidth - barWidth) / 2.0;\n var pos = barWidth * this.volume / 100.0 + offset;\n this.$volumeBarFill.css({ width: this.volume + '%' });\n this.$volumeBarScrubber.css({ left: pos });\n\n // update volume bar segments on segmented bar mode\n this.$volumeBarContainer.find('.segmented-bar-element').removeClass('fill');\n var item = Math.ceil(this.volume / 10.0);\n this.$volumeBarContainer.find('.segmented-bar-element').slice(0, item).addClass('fill');\n this.$volumeIcon.html('');\n this.$volumeIcon.removeClass('muted');\n if (!this.muted) {\n this.$volumeIcon.append(_utils.SvgIcons.volume);\n } else {\n this.$volumeIcon.append(_utils.SvgIcons.volumeMute);\n this.$volumeIcon.addClass('muted');\n }\n this.applyButtonStyle(this.$volumeIcon);\n };\n\n MediaControl.prototype.changeTogglePlay = function changeTogglePlay() {\n this.$playPauseToggle.html('');\n this.$playStopToggle.html('');\n if (this.container && this.container.isPlaying()) {\n this.$playPauseToggle.append(_utils.SvgIcons.pause);\n this.$playStopToggle.append(_utils.SvgIcons.stop);\n this.trigger(_events2.default.MEDIACONTROL_PLAYING);\n } else {\n this.$playPauseToggle.append(_utils.SvgIcons.play);\n this.$playStopToggle.append(_utils.SvgIcons.play);\n this.trigger(_events2.default.MEDIACONTROL_NOTPLAYING);\n _browser2.default.isMobile && this.show();\n }\n this.applyButtonStyle(this.$playPauseToggle);\n this.applyButtonStyle(this.$playStopToggle);\n };\n\n MediaControl.prototype.mousemoveOnSeekBar = function mousemoveOnSeekBar(event) {\n if (this.settings.seekEnabled) {\n var offsetX = event.pageX - this.$seekBarContainer.offset().left - this.$seekBarHover.width() / 2;\n this.$seekBarHover.css({ left: offsetX });\n }\n this.trigger(_events2.default.MEDIACONTROL_MOUSEMOVE_SEEKBAR, event);\n };\n\n MediaControl.prototype.mouseleaveOnSeekBar = function mouseleaveOnSeekBar(event) {\n this.trigger(_events2.default.MEDIACONTROL_MOUSELEAVE_SEEKBAR, event);\n };\n\n MediaControl.prototype.onVolumeClick = function onVolumeClick(event) {\n this.setVolume(this.getVolumeFromUIEvent(event));\n };\n\n MediaControl.prototype.mousemoveOnVolumeBar = function mousemoveOnVolumeBar(event) {\n this.draggingVolumeBar && this.setVolume(this.getVolumeFromUIEvent(event));\n };\n\n MediaControl.prototype.playerResize = function playerResize(size) {\n this.$fullscreenToggle.html('');\n var icon = this.core.isFullscreen() ? _utils.SvgIcons.exitFullscreen : _utils.SvgIcons.fullscreen;\n this.$fullscreenToggle.append(icon);\n this.applyButtonStyle(this.$fullscreenToggle);\n this.$el.find('.media-control').length !== 0 && this.$el.removeClass('w320');\n if (size.width <= 320 || this.options.hideVolumeBar) this.$el.addClass('w320');\n };\n\n MediaControl.prototype.togglePlayPause = function togglePlayPause() {\n this.container.isPlaying() ? this.container.pause() : this.container.play();\n return false;\n };\n\n MediaControl.prototype.togglePlayStop = function togglePlayStop() {\n this.container.isPlaying() ? this.container.stop() : this.container.play();\n };\n\n MediaControl.prototype.startSeekDrag = function startSeekDrag(event) {\n if (!this.settings.seekEnabled) return;\n this.draggingSeekBar = true;\n this.$el.addClass('dragging');\n this.$seekBarLoaded.addClass('media-control-notransition');\n this.$seekBarPosition.addClass('media-control-notransition');\n this.$seekBarScrubber.addClass('media-control-notransition');\n event && event.preventDefault();\n };\n\n MediaControl.prototype.startVolumeDrag = function startVolumeDrag(event) {\n this.draggingVolumeBar = true;\n this.$el.addClass('dragging');\n event && event.preventDefault();\n };\n\n MediaControl.prototype.stopDrag = function stopDrag(event) {\n this.draggingSeekBar && this.seek(event);\n this.$el.removeClass('dragging');\n this.$seekBarLoaded.removeClass('media-control-notransition');\n this.$seekBarPosition.removeClass('media-control-notransition');\n this.$seekBarScrubber.removeClass('media-control-notransition dragging');\n this.draggingSeekBar = false;\n this.draggingVolumeBar = false;\n };\n\n MediaControl.prototype.updateDrag = function updateDrag(event) {\n if (this.draggingSeekBar) {\n event.preventDefault();\n var offsetX = event.pageX - this.$seekBarContainer.offset().left;\n var pos = offsetX / this.$seekBarContainer.width() * 100;\n pos = Math.min(100, Math.max(pos, 0));\n this.setSeekPercentage(pos);\n } else if (this.draggingVolumeBar) {\n event.preventDefault();\n this.setVolume(this.getVolumeFromUIEvent(event));\n }\n };\n\n MediaControl.prototype.getVolumeFromUIEvent = function getVolumeFromUIEvent(event) {\n var offsetY = event.pageX - this.$volumeBarContainer.offset().left;\n var volumeFromUI = offsetY / this.$volumeBarContainer.width() * 100;\n return volumeFromUI;\n };\n\n MediaControl.prototype.toggleMute = function toggleMute() {\n if (this.muted) {\n this.setVolume(this._mutedVolume || 100);\n this._mutedVolume = null;\n return;\n }\n\n this._mutedVolume = this.volume;\n this.setVolume(0);\n };\n\n MediaControl.prototype.setVolume = function setVolume(value) {\n var _this4 = this;\n\n var isInitialVolume = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n value = Math.min(100, Math.max(value, 0));\n // this will hold the intended volume\n // it may not actually get set to this straight away\n // if the container is not ready etc\n this.intendedVolume = value;\n this.persistConfig && !isInitialVolume && _utils.Config.persist('volume', value);\n var setWhenContainerReady = function setWhenContainerReady() {\n if (_this4.container && _this4.container.isReady) {\n _this4.container.setVolume(value);\n } else {\n _this4.listenToOnce(_this4.container, _events2.default.CONTAINER_READY, function () {\n _this4.container.setVolume(value);\n });\n }\n };\n\n if (!this.container) this.listenToOnce(this, _events2.default.MEDIACONTROL_CONTAINERCHANGED, function () {\n return setWhenContainerReady();\n });else setWhenContainerReady();\n };\n\n MediaControl.prototype.toggleFullscreen = function toggleFullscreen() {\n this.trigger(_events2.default.MEDIACONTROL_FULLSCREEN, this.name);\n this.container.fullscreen();\n this.core.toggleFullscreen();\n this.resetUserKeepVisible();\n };\n\n MediaControl.prototype.onActiveContainerChanged = function onActiveContainerChanged() {\n this.fullScreenOnVideoTagSupported = null;\n _mediator2.default.off(this.options.playerId + ':' + _events2.default.PLAYER_RESIZE, this.playerResize, this);\n this.bindEvents();\n // set the new container to match the volume of the last one\n this.setInitialVolume();\n this.changeTogglePlay();\n this.bindContainerEvents();\n this.settingsUpdate();\n this.container && this.container.trigger(_events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.container.isDvrInUse());\n this.container && this.container.mediaControlDisabled && this.disable();\n this.trigger(_events2.default.MEDIACONTROL_CONTAINERCHANGED);\n };\n\n MediaControl.prototype.showVolumeBar = function showVolumeBar() {\n this.hideVolumeId && clearTimeout(this.hideVolumeId);\n this.$volumeBarContainer.removeClass('volume-bar-hide');\n };\n\n MediaControl.prototype.hideVolumeBar = function hideVolumeBar() {\n var _this5 = this;\n\n var timeout = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 400;\n\n if (!this.$volumeBarContainer) return;\n if (this.draggingVolumeBar) {\n this.hideVolumeId = setTimeout(function () {\n return _this5.hideVolumeBar();\n }, timeout);\n } else {\n this.hideVolumeId && clearTimeout(this.hideVolumeId);\n this.hideVolumeId = setTimeout(function () {\n return _this5.$volumeBarContainer.addClass('volume-bar-hide');\n }, timeout);\n }\n };\n\n MediaControl.prototype.ended = function ended() {\n this.changeTogglePlay();\n };\n\n MediaControl.prototype.updateProgressBar = function updateProgressBar(progress) {\n var loadedStart = progress.start / progress.total * 100;\n var loadedEnd = progress.current / progress.total * 100;\n this.$seekBarLoaded.css({ left: loadedStart + '%', width: loadedEnd - loadedStart + '%' });\n };\n\n MediaControl.prototype.onTimeUpdate = function onTimeUpdate(timeProgress) {\n if (this.draggingSeekBar) return;\n // TODO why should current time ever be negative?\n var position = timeProgress.current < 0 ? timeProgress.total : timeProgress.current;\n\n this.currentPositionValue = position;\n this.currentDurationValue = timeProgress.total;\n this.renderSeekBar();\n };\n\n MediaControl.prototype.renderSeekBar = function renderSeekBar() {\n // this will be triggered as soon as these become available\n if (this.currentPositionValue === null || this.currentDurationValue === null) return;\n\n // default to 100%\n this.currentSeekBarPercentage = 100;\n if (this.container && (this.container.getPlaybackType() !== _playback2.default.LIVE || this.container.isDvrInUse())) this.currentSeekBarPercentage = this.currentPositionValue / this.currentDurationValue * 100;\n\n this.setSeekPercentage(this.currentSeekBarPercentage);\n\n var newPosition = (0, _utils.formatTime)(this.currentPositionValue);\n var newDuration = (0, _utils.formatTime)(this.currentDurationValue);\n if (newPosition !== this.displayedPosition) {\n this.$position.text(newPosition);\n this.displayedPosition = newPosition;\n }\n if (newDuration !== this.displayedDuration) {\n this.$duration.text(newDuration);\n this.displayedDuration = newDuration;\n }\n };\n\n MediaControl.prototype.seek = function seek(event) {\n if (!this.settings.seekEnabled) return;\n var offsetX = event.pageX - this.$seekBarContainer.offset().left;\n var pos = offsetX / this.$seekBarContainer.width() * 100;\n pos = Math.min(100, Math.max(pos, 0));\n this.container && this.container.seekPercentage(pos);\n this.setSeekPercentage(pos);\n return false;\n };\n\n MediaControl.prototype.setKeepVisible = function setKeepVisible() {\n this.keepVisible = true;\n };\n\n MediaControl.prototype.resetKeepVisible = function resetKeepVisible() {\n this.keepVisible = false;\n };\n\n MediaControl.prototype.setUserKeepVisible = function setUserKeepVisible() {\n this.userKeepVisible = true;\n };\n\n MediaControl.prototype.resetUserKeepVisible = function resetUserKeepVisible() {\n this.userKeepVisible = false;\n };\n\n MediaControl.prototype.isVisible = function isVisible() {\n return !this.$el.hasClass('media-control-hide');\n };\n\n MediaControl.prototype.show = function show(event) {\n var _this6 = this;\n\n if (this.disabled) return;\n\n var timeout = 2000;\n var mousePointerMoved = event && event.clientX !== this.lastMouseX && event.clientY !== this.lastMouseY;\n if (!event || mousePointerMoved || navigator.userAgent.match(/firefox/i)) {\n clearTimeout(this.hideId);\n this.$el.show();\n this.trigger(_events2.default.MEDIACONTROL_SHOW, this.name);\n this.container && this.container.trigger(_events2.default.CONTAINER_MEDIACONTROL_SHOW, this.name);\n this.$el.removeClass('media-control-hide');\n this.hideId = setTimeout(function () {\n return _this6.hide();\n }, timeout);\n if (event) {\n this.lastMouseX = event.clientX;\n this.lastMouseY = event.clientY;\n }\n }\n var showing = true;\n this.updateCursorStyle(showing);\n };\n\n MediaControl.prototype.hide = function hide() {\n var _this7 = this;\n\n var delay = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n if (!this.isVisible()) return;\n\n var timeout = delay || 2000;\n clearTimeout(this.hideId);\n if (!this.disabled && this.options.hideMediaControl === false) return;\n\n var hasKeepVisibleRequested = this.userKeepVisible || this.keepVisible;\n var hasDraggingAction = this.draggingSeekBar || this.draggingVolumeBar;\n\n if (!this.disabled && (delay || hasKeepVisibleRequested || hasDraggingAction)) {\n this.hideId = setTimeout(function () {\n return _this7.hide();\n }, timeout);\n } else {\n this.trigger(_events2.default.MEDIACONTROL_HIDE, this.name);\n this.container && this.container.trigger(_events2.default.CONTAINER_MEDIACONTROL_HIDE, this.name);\n this.$el.addClass('media-control-hide');\n this.hideVolumeBar(0);\n var showing = false;\n this.updateCursorStyle(showing);\n }\n };\n\n MediaControl.prototype.updateCursorStyle = function updateCursorStyle(showing) {\n if (showing) this.core.$el.removeClass('nocursor');else if (this.core.isFullscreen()) this.core.$el.addClass('nocursor');\n };\n\n MediaControl.prototype.settingsUpdate = function settingsUpdate() {\n var newSettings = this.getSettings();\n if (newSettings && !this.fullScreenOnVideoTagSupported && !_utils.Fullscreen.fullscreenEnabled()) {\n // remove fullscreen from settings if it is present\n newSettings.default && (0, _utils.removeArrayItem)(newSettings.default, 'fullscreen');\n newSettings.left && (0, _utils.removeArrayItem)(newSettings.left, 'fullscreen');\n newSettings.right && (0, _utils.removeArrayItem)(newSettings.right, 'fullscreen');\n }\n var settingsChanged = (0, _stringify2.default)(this.settings) !== (0, _stringify2.default)(newSettings);\n if (settingsChanged) {\n this.settings = newSettings;\n this.render();\n }\n };\n\n MediaControl.prototype.getSettings = function getSettings() {\n return _clapprZepto2.default.extend(true, {}, this.container && this.container.settings);\n };\n\n MediaControl.prototype.highDefinitionUpdate = function highDefinitionUpdate(isHD) {\n this.isHD = isHD;\n var method = isHD ? 'addClass' : 'removeClass';\n this.$hdIndicator[method]('enabled');\n };\n\n MediaControl.prototype.createCachedElements = function createCachedElements() {\n var $layer = this.$el.find('.media-control-layer');\n this.$duration = $layer.find('.media-control-indicator[data-duration]');\n this.$fullscreenToggle = $layer.find('button.media-control-button[data-fullscreen]');\n this.$playPauseToggle = $layer.find('button.media-control-button[data-playpause]');\n this.$playStopToggle = $layer.find('button.media-control-button[data-playstop]');\n this.$position = $layer.find('.media-control-indicator[data-position]');\n this.$seekBarContainer = $layer.find('.bar-container[data-seekbar]');\n this.$seekBarHover = $layer.find('.bar-hover[data-seekbar]');\n this.$seekBarLoaded = $layer.find('.bar-fill-1[data-seekbar]');\n this.$seekBarPosition = $layer.find('.bar-fill-2[data-seekbar]');\n this.$seekBarScrubber = $layer.find('.bar-scrubber[data-seekbar]');\n this.$volumeBarContainer = $layer.find('.bar-container[data-volume]');\n this.$volumeContainer = $layer.find('.drawer-container[data-volume]');\n this.$volumeIcon = $layer.find('.drawer-icon[data-volume]');\n this.$volumeBarBackground = this.$el.find('.bar-background[data-volume]');\n this.$volumeBarFill = this.$el.find('.bar-fill-1[data-volume]');\n this.$volumeBarScrubber = this.$el.find('.bar-scrubber[data-volume]');\n this.$hdIndicator = this.$el.find('button.media-control-button[data-hd-indicator]');\n this.resetIndicators();\n this.initializeIcons();\n };\n\n MediaControl.prototype.resetIndicators = function resetIndicators() {\n this.displayedPosition = this.$position.text();\n this.displayedDuration = this.$duration.text();\n };\n\n MediaControl.prototype.initializeIcons = function initializeIcons() {\n var $layer = this.$el.find('.media-control-layer');\n $layer.find('button.media-control-button[data-play]').append(_utils.SvgIcons.play);\n $layer.find('button.media-control-button[data-pause]').append(_utils.SvgIcons.pause);\n $layer.find('button.media-control-button[data-stop]').append(_utils.SvgIcons.stop);\n this.$playPauseToggle.append(_utils.SvgIcons.play);\n this.$playStopToggle.append(_utils.SvgIcons.play);\n this.$volumeIcon.append(_utils.SvgIcons.volume);\n this.$fullscreenToggle.append(_utils.SvgIcons.fullscreen);\n this.$hdIndicator.append(_utils.SvgIcons.hd);\n };\n\n MediaControl.prototype.setSeekPercentage = function setSeekPercentage(value) {\n value = Math.max(Math.min(value, 100.0), 0);\n // not changed since last update\n if (this.displayedSeekBarPercentage === value) return;\n\n this.displayedSeekBarPercentage = value;\n this.$seekBarPosition.removeClass('media-control-notransition');\n this.$seekBarScrubber.removeClass('media-control-notransition');\n this.$seekBarPosition.css({ width: value + '%' });\n this.$seekBarScrubber.css({ left: value + '%' });\n };\n\n MediaControl.prototype.seekRelative = function seekRelative(delta) {\n if (!this.settings.seekEnabled) return;\n\n var currentTime = this.container.getCurrentTime();\n var duration = this.container.getDuration();\n var position = Math.min(Math.max(currentTime + delta, 0), duration);\n position = Math.min(position * 100 / duration, 100);\n this.container.seekPercentage(position);\n };\n\n MediaControl.prototype.bindKeyAndShow = function bindKeyAndShow(key, callback) {\n var _this8 = this;\n\n this.kibo.down(key, function () {\n _this8.show();\n return callback();\n });\n };\n\n MediaControl.prototype.bindKeyEvents = function bindKeyEvents() {\n var _this9 = this;\n\n if (_browser2.default.isMobile || this.options.disableKeyboardShortcuts) return;\n\n this.unbindKeyEvents();\n this.kibo = new _vendor.Kibo(this.options.focusElement || this.options.parentElement);\n this.bindKeyAndShow('space', function () {\n return _this9.togglePlayPause();\n });\n this.bindKeyAndShow('left', function () {\n return _this9.seekRelative(-5);\n });\n this.bindKeyAndShow('right', function () {\n return _this9.seekRelative(5);\n });\n this.bindKeyAndShow('shift left', function () {\n return _this9.seekRelative(-10);\n });\n this.bindKeyAndShow('shift right', function () {\n return _this9.seekRelative(10);\n });\n this.bindKeyAndShow('shift ctrl left', function () {\n return _this9.seekRelative(-15);\n });\n this.bindKeyAndShow('shift ctrl right', function () {\n return _this9.seekRelative(15);\n });\n var keys = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0'];\n keys.forEach(function (i) {\n _this9.bindKeyAndShow(i, function () {\n _this9.settings.seekEnabled && _this9.container && _this9.container.seekPercentage(i * 10);\n });\n });\n };\n\n MediaControl.prototype.unbindKeyEvents = function unbindKeyEvents() {\n if (this.kibo) {\n this.kibo.off('space');\n this.kibo.off('left');\n this.kibo.off('right');\n this.kibo.off('shift left');\n this.kibo.off('shift right');\n this.kibo.off('shift ctrl left');\n this.kibo.off('shift ctrl right');\n this.kibo.off(['1', '2', '3', '4', '5', '6', '7', '8', '9', '0']);\n }\n };\n\n MediaControl.prototype.parseColors = function parseColors() {\n if (this.options.mediacontrol) {\n this.buttonsColor = this.options.mediacontrol.buttons;\n var seekbarColor = this.options.mediacontrol.seekbar;\n this.$el.find('.bar-fill-2[data-seekbar]').css('background-color', seekbarColor);\n this.$el.find('.media-control-icon svg path').css('fill', this.buttonsColor);\n this.$el.find('.segmented-bar-element[data-volume]').css('boxShadow', 'inset 2px 0 0 ' + this.buttonsColor);\n }\n };\n\n MediaControl.prototype.applyButtonStyle = function applyButtonStyle(element) {\n this.buttonsColor && element && (0, _clapprZepto2.default)(element).find('svg path').css('fill', this.buttonsColor);\n };\n\n MediaControl.prototype.destroy = function destroy() {\n (0, _clapprZepto2.default)(document).unbind('mouseup', this.stopDragHandler);\n (0, _clapprZepto2.default)(document).unbind('mousemove', this.updateDragHandler);\n this.unbindKeyEvents();\n this.stopListening();\n _UICorePlugin.prototype.destroy.call(this);\n };\n\n /**\n * enables to configure the media control after its creation\n * @method configure\n * @param {Object} options all the options to change in form of a javascript object\n */\n\n\n MediaControl.prototype.configure = function configure(options) {\n // Check if chromeless mode or if configure is called with new source(s)\n if (this.options.chromeless || options.source || options.sources) this.disable();else this.enable();\n\n this.trigger(_events2.default.MEDIACONTROL_OPTIONS_CHANGE);\n };\n\n MediaControl.prototype.render = function render() {\n var _this10 = this;\n\n var timeout = this.options.hideMediaControlDelay || 2000;\n this.settings && this.$el.html(this.template({ settings: this.settings }));\n this.createCachedElements();\n this.$playPauseToggle.addClass('paused');\n this.$playStopToggle.addClass('stopped');\n\n this.changeTogglePlay();\n\n if (this.container) {\n this.hideId = setTimeout(function () {\n return _this10.hide();\n }, timeout);\n this.disabled && this.hide();\n }\n\n // Video volume cannot be changed with Safari on mobile devices\n // Display mute/unmute icon only if Safari version >= 10\n if (_browser2.default.isSafari && _browser2.default.isMobile) {\n if (_browser2.default.version < 10) this.$volumeContainer.css('display', 'none');else this.$volumeBarContainer.css('display', 'none');\n }\n\n this.$seekBarPosition.addClass('media-control-notransition');\n this.$seekBarScrubber.addClass('media-control-notransition');\n\n var previousSeekPercentage = 0;\n if (this.displayedSeekBarPercentage) previousSeekPercentage = this.displayedSeekBarPercentage;\n\n this.displayedSeekBarPercentage = null;\n this.setSeekPercentage(previousSeekPercentage);\n\n process.nextTick(function () {\n !_this10.settings.seekEnabled && _this10.$seekBarContainer.addClass('seek-disabled');\n !_browser2.default.isMobile && !_this10.options.disableKeyboardShortcuts && _this10.bindKeyEvents();\n _this10.playerResize({ width: _this10.options.width, height: _this10.options.height });\n _this10.hideVolumeBar(0);\n });\n\n this.parseColors();\n this.highDefinitionUpdate(this.isHD);\n\n this.core.$el.append(this.el);\n\n this.rendered = true;\n this.updateVolumeUI();\n this.trigger(_events2.default.MEDIACONTROL_RENDERED);\n return this;\n };\n\n return MediaControl;\n}(_ui_core_plugin2.default);\n\nexports.default = MediaControl;\n\n\nMediaControl.extend = function (properties) {\n return (0, _utils.extend)(MediaControl, properties);\n};\nmodule.exports = exports['default'];\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/node-libs-browser/node_modules/process/browser.js */ \"./node_modules/node-libs-browser/node_modules/process/browser.js\")))\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/public/closed-hand.cur\":\n/*!**********************************************************!*\\\n !*** ./src/plugins/media_control/public/closed-hand.cur ***!\n \\**********************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<%=baseUrl%>/a8c874b93b3d848f39a71260c57e3863.cur\";\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/public/media-control.html\":\n/*!*************************************************************!*\\\n !*** ./src/plugins/media_control/public/media-control.html ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"media-control-background\\\" data-background></div>\\n<div class=\\\"media-control-layer\\\" data-controls>\\n <% var renderBar = function(name) { %>\\n <div class=\\\"bar-container\\\" data-<%= name %>>\\n <div class=\\\"bar-background\\\" data-<%= name %>>\\n <div class=\\\"bar-fill-1\\\" data-<%= name %>></div>\\n <div class=\\\"bar-fill-2\\\" data-<%= name %>></div>\\n <div class=\\\"bar-hover\\\" data-<%= name %>></div>\\n </div>\\n <div class=\\\"bar-scrubber\\\" data-<%= name %>>\\n <div class=\\\"bar-scrubber-icon\\\" data-<%= name %>></div>\\n </div>\\n </div>\\n <% }; %>\\n <% var renderSegmentedBar = function(name, segments) {\\n segments = segments || 10; %>\\n <div class=\\\"bar-container\\\" data-<%= name %>>\\n <% for (var i = 0; i < segments; i++) { %>\\n <div class=\\\"segmented-bar-element\\\" data-<%= name %>></div>\\n <% } %>\\n </div>\\n <% }; %>\\n <% var renderDrawer = function(name, renderContent) { %>\\n <div class=\\\"drawer-container\\\" data-<%= name %>>\\n <div class=\\\"drawer-icon-container\\\" data-<%= name %>>\\n <div class=\\\"drawer-icon media-control-icon\\\" data-<%= name %>></div>\\n <span class=\\\"drawer-text\\\" data-<%= name %>></span>\\n </div>\\n <% renderContent(name); %>\\n </div>\\n <% }; %>\\n <% var renderIndicator = function(name) { %>\\n <div class=\\\"media-control-indicator\\\" data-<%= name %>></div>\\n <% }; %>\\n <% var renderButton = function(name) { %>\\n <button type=\\\"button\\\" class=\\\"media-control-button media-control-icon\\\" data-<%= name %> aria-label=\\\"<%= name %>\\\"></button>\\n <% }; %>\\n <% var templates = {\\n bar: renderBar,\\n segmentedBar: renderSegmentedBar,\\n };\\n var render = function(settingsList) {\\n settingsList.forEach(function(setting) {\\n if(setting === \\\"seekbar\\\") {\\n renderBar(setting);\\n } else if (setting === \\\"volume\\\") {\\n renderDrawer(setting, settings.volumeBarTemplate ? templates[settings.volumeBarTemplate] : function(name) { return renderSegmentedBar(name); });\\n } else if (setting === \\\"duration\\\" || setting === \\\"position\\\") {\\n renderIndicator(setting);\\n } else {\\n renderButton(setting);\\n }\\n });\\n }; %>\\n <% if (settings.default && settings.default.length) { %>\\n <div class=\\\"media-control-center-panel\\\" data-media-control>\\n <% render(settings.default); %>\\n </div>\\n <% } %>\\n <% if (settings.left && settings.left.length) { %>\\n <div class=\\\"media-control-left-panel\\\" data-media-control>\\n <% render(settings.left); %>\\n </div>\\n <% } %>\\n <% if (settings.right && settings.right.length) { %>\\n <div class=\\\"media-control-right-panel\\\" data-media-control>\\n <% render(settings.right); %>\\n </div>\\n <% } %>\\n</div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/media_control/public/media-control.scss\":\n/*!*************************************************************!*\\\n !*** ./src/plugins/media_control/public/media-control.scss ***!\n \\*************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./media-control.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/media_control/public/media-control.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/index.js\":\n/*!*************************************!*\\\n !*** ./src/plugins/poster/index.js ***!\n \\*************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _poster = __webpack_require__(/*! ./poster */ \"./src/plugins/poster/poster.js\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _poster2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/poster.js\":\n/*!**************************************!*\\\n !*** ./src/plugins/poster/poster.js ***!\n \\**************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_container_plugin = __webpack_require__(/*! ../../base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _error = __webpack_require__(/*! ../../components/error/error */ \"./src/components/error/error.js\");\n\nvar _error2 = _interopRequireDefault(_error);\n\nvar _poster = __webpack_require__(/*! ./public/poster.html */ \"./src/plugins/poster/public/poster.html\");\n\nvar _poster2 = _interopRequireDefault(_poster);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\n__webpack_require__(/*! ./public/poster.scss */ \"./src/plugins/poster/public/poster.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n//Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nvar PosterPlugin = function (_UIContainerPlugin) {\n (0, _inherits3.default)(PosterPlugin, _UIContainerPlugin);\n (0, _createClass3.default)(PosterPlugin, [{\n key: 'name',\n get: function get() {\n return 'poster';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_poster2.default);\n }\n }, {\n key: 'shouldRender',\n get: function get() {\n var showForNoOp = !!(this.options.poster && this.options.poster.showForNoOp);\n return this.container.playback.name !== 'html_img' && (this.container.playback.getPlaybackType() !== _playback2.default.NO_OP || showForNoOp);\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'player-poster',\n 'data-poster': ''\n };\n }\n }, {\n key: 'events',\n get: function get() {\n return {\n 'click': 'clicked'\n };\n }\n }, {\n key: 'showOnVideoEnd',\n get: function get() {\n return !this.options.poster || this.options.poster.showOnVideoEnd || this.options.poster.showOnVideoEnd === undefined;\n }\n }]);\n\n function PosterPlugin(container) {\n (0, _classCallCheck3.default)(this, PosterPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIContainerPlugin.call(this, container));\n\n _this.hasStartedPlaying = false;\n _this.playRequested = false;\n _this.render();\n process.nextTick(function () {\n return _this.update();\n });\n return _this;\n }\n\n PosterPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERING, this.update);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, this.update);\n this.listenTo(this.container, _events2.default.CONTAINER_OPTIONS_CHANGE, this.render);\n this.listenTo(this.container, _events2.default.CONTAINER_ERROR, this.onError);\n this.showOnVideoEnd && this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.onStop);\n };\n\n PosterPlugin.prototype.onError = function onError(error) {\n this.hasFatalError = error.level === _error2.default.Levels.FATAL;\n\n if (this.hasFatalError) {\n this.hasStartedPlaying = false;\n this.playRequested = false;\n this.showPlayButton();\n }\n };\n\n PosterPlugin.prototype.onPlay = function onPlay() {\n this.hasStartedPlaying = true;\n this.update();\n };\n\n PosterPlugin.prototype.onStop = function onStop() {\n this.hasStartedPlaying = false;\n this.playRequested = false;\n this.update();\n };\n\n PosterPlugin.prototype.updatePlayButton = function updatePlayButton(show) {\n if (show && (!this.options.chromeless || this.options.allowUserInteraction)) this.showPlayButton();else this.hidePlayButton();\n };\n\n PosterPlugin.prototype.showPlayButton = function showPlayButton() {\n if (this.hasFatalError && !this.options.disableErrorScreen) return;\n\n this.$playButton.show();\n this.$el.addClass('clickable');\n };\n\n PosterPlugin.prototype.hidePlayButton = function hidePlayButton() {\n this.$playButton.hide();\n this.$el.removeClass('clickable');\n };\n\n PosterPlugin.prototype.clicked = function clicked() {\n // Let \"click_to_pause\" plugin handle click event if media has started playing\n if (!this.hasStartedPlaying) {\n if (!this.options.chromeless || this.options.allowUserInteraction) {\n this.playRequested = true;\n this.update();\n this.container.play();\n }\n return false;\n }\n };\n\n PosterPlugin.prototype.shouldHideOnPlay = function shouldHideOnPlay() {\n // Audio broadcasts should keep the poster up; video should hide poster while playing.\n return !this.container.playback.isAudioOnly;\n };\n\n PosterPlugin.prototype.update = function update() {\n if (!this.shouldRender) return;\n\n var showPlayButton = !this.playRequested && !this.hasStartedPlaying && !this.container.buffering;\n this.updatePlayButton(showPlayButton);\n this.updatePoster();\n };\n\n PosterPlugin.prototype.updatePoster = function updatePoster() {\n if (!this.hasStartedPlaying) this.showPoster();else this.hidePoster();\n };\n\n PosterPlugin.prototype.showPoster = function showPoster() {\n this.container.disableMediaControl();\n this.$el.show();\n };\n\n PosterPlugin.prototype.hidePoster = function hidePoster() {\n this.container.enableMediaControl();\n if (this.shouldHideOnPlay()) this.$el.hide();\n };\n\n PosterPlugin.prototype.render = function render() {\n if (!this.shouldRender) return;\n\n this.$el.html(this.template());\n\n var isRegularPoster = this.options.poster && this.options.poster.custom === undefined;\n\n if (isRegularPoster) {\n var posterUrl = this.options.poster.url || this.options.poster;\n this.$el.css({ 'background-image': 'url(' + posterUrl + ')' });\n } else if (this.options.poster) {\n this.$el.css({ 'background': this.options.poster.custom });\n }\n\n this.container.$el.append(this.el);\n this.$playWrapper = this.$el.find('.play-wrapper');\n this.$playWrapper.append(_utils.SvgIcons.play);\n this.$playButton = this.$playWrapper.find('svg');\n this.$playButton.addClass('poster-icon');\n this.$playButton.attr('data-poster', '');\n\n var buttonsColor = this.options.mediacontrol && this.options.mediacontrol.buttons;\n if (buttonsColor) this.$el.find('svg path').css('fill', buttonsColor);\n\n if (this.options.mediacontrol && this.options.mediacontrol.buttons) {\n buttonsColor = this.options.mediacontrol.buttons;\n this.$playButton.css('color', buttonsColor);\n }\n this.update();\n return this;\n };\n\n return PosterPlugin;\n}(_ui_container_plugin2.default);\n\nexports.default = PosterPlugin;\nmodule.exports = exports['default'];\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../../node_modules/node-libs-browser/node_modules/process/browser.js */ \"./node_modules/node-libs-browser/node_modules/process/browser.js\")))\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/public/poster.html\":\n/*!***********************************************!*\\\n !*** ./src/plugins/poster/public/poster.html ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"play-wrapper\\\" data-poster></div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/poster/public/poster.scss\":\n/*!***********************************************!*\\\n !*** ./src/plugins/poster/public/poster.scss ***!\n \\***********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./poster.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/poster/public/poster.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/index.js\":\n/*!****************************************!*\\\n !*** ./src/plugins/seek_time/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _seek_time = __webpack_require__(/*! ./seek_time */ \"./src/plugins/seek_time/seek_time.js\");\n\nvar _seek_time2 = _interopRequireDefault(_seek_time);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _seek_time2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/public/seek_time.html\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/seek_time/public/seek_time.html ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<span data-seek-time></span>\\n<span data-duration></span>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/public/seek_time.scss\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/seek_time/public/seek_time.scss ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./seek_time.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/seek_time/public/seek_time.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/seek_time/seek_time.js\":\n/*!********************************************!*\\\n !*** ./src/plugins/seek_time/seek_time.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../../base/utils */ \"./src/base/utils.js\");\n\nvar _ui_core_plugin = __webpack_require__(/*! ../../base/ui_core_plugin */ \"./src/base/ui_core_plugin.js\");\n\nvar _ui_core_plugin2 = _interopRequireDefault(_ui_core_plugin);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _playback = __webpack_require__(/*! ../../base/playback */ \"./src/base/playback.js\");\n\nvar _playback2 = _interopRequireDefault(_playback);\n\nvar _seek_time = __webpack_require__(/*! ./public/seek_time.html */ \"./src/plugins/seek_time/public/seek_time.html\");\n\nvar _seek_time2 = _interopRequireDefault(_seek_time);\n\n__webpack_require__(/*! ./public/seek_time.scss */ \"./src/plugins/seek_time/public/seek_time.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SeekTime = function (_UICorePlugin) {\n (0, _inherits3.default)(SeekTime, _UICorePlugin);\n (0, _createClass3.default)(SeekTime, [{\n key: 'name',\n get: function get() {\n return 'seek_time';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_seek_time2.default);\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'class': 'seek-time',\n 'data-seek-time': ''\n };\n }\n }, {\n key: 'mediaControl',\n get: function get() {\n return this.core.mediaControl;\n }\n }, {\n key: 'mediaControlContainer',\n get: function get() {\n return this.mediaControl.container;\n }\n }, {\n key: 'isLiveStreamWithDvr',\n get: function get() {\n return this.mediaControlContainer && this.mediaControlContainer.getPlaybackType() === _playback2.default.LIVE && this.mediaControlContainer.isDvrEnabled();\n }\n }, {\n key: 'durationShown',\n get: function get() {\n return this.isLiveStreamWithDvr && !this.actualLiveTime;\n }\n }, {\n key: 'useActualLiveTime',\n get: function get() {\n return this.actualLiveTime && this.isLiveStreamWithDvr;\n }\n }]);\n\n function SeekTime(core) {\n (0, _classCallCheck3.default)(this, SeekTime);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UICorePlugin.call(this, core));\n\n _this.hoveringOverSeekBar = false;\n _this.hoverPosition = null;\n _this.duration = null;\n _this.firstFragDateTime = null;\n _this.actualLiveTime = !!_this.mediaControl.options.actualLiveTime;\n if (_this.actualLiveTime) {\n if (_this.mediaControl.options.actualLiveServerTime) _this.actualLiveServerTimeDiff = new Date().getTime() - new Date(_this.mediaControl.options.actualLiveServerTime).getTime();else _this.actualLiveServerTimeDiff = 0;\n }\n return _this;\n }\n\n SeekTime.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_RENDERED, this.render);\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_MOUSEMOVE_SEEKBAR, this.showTime);\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_MOUSELEAVE_SEEKBAR, this.hideTime);\n this.listenTo(this.mediaControl, _events2.default.MEDIACONTROL_CONTAINERCHANGED, this.onContainerChanged);\n if (this.mediaControlContainer) {\n this.listenTo(this.mediaControlContainer, _events2.default.CONTAINER_PLAYBACKDVRSTATECHANGED, this.update);\n this.listenTo(this.mediaControlContainer, _events2.default.CONTAINER_TIMEUPDATE, this.updateDuration);\n }\n };\n\n SeekTime.prototype.onContainerChanged = function onContainerChanged() {\n this.stopListening();\n this.bindEvents();\n };\n\n SeekTime.prototype.updateDuration = function updateDuration(timeProgress) {\n this.duration = timeProgress.total;\n this.firstFragDateTime = timeProgress.firstFragDateTime;\n this.update();\n };\n\n SeekTime.prototype.showTime = function showTime(event) {\n this.hoveringOverSeekBar = true;\n this.calculateHoverPosition(event);\n this.update();\n };\n\n SeekTime.prototype.hideTime = function hideTime() {\n this.hoveringOverSeekBar = false;\n this.update();\n };\n\n SeekTime.prototype.calculateHoverPosition = function calculateHoverPosition(event) {\n var offset = event.pageX - this.mediaControl.$seekBarContainer.offset().left;\n // proportion into the seek bar that the mouse is hovered over 0-1\n this.hoverPosition = Math.min(1, Math.max(offset / this.mediaControl.$seekBarContainer.width(), 0));\n };\n\n SeekTime.prototype.getSeekTime = function getSeekTime() {\n var seekTime = void 0,\n secondsSinceMidnight = void 0,\n d = void 0,\n e = void 0;\n if (this.useActualLiveTime) {\n if (this.firstFragDateTime) {\n e = new Date(this.firstFragDateTime);\n d = new Date(this.firstFragDateTime);\n d.setHours(0, 0, 0, 0);\n secondsSinceMidnight = (e.getTime() - d.getTime()) / 1000 + this.duration;\n } else {\n d = new Date(new Date().getTime() - this.actualLiveServerTimeDiff);\n e = new Date(d);\n secondsSinceMidnight = (e - d.setHours(0, 0, 0, 0)) / 1000;\n }\n seekTime = secondsSinceMidnight - this.duration + this.hoverPosition * this.duration;\n if (seekTime < 0) seekTime += 86400;\n } else {\n seekTime = this.hoverPosition * this.duration;\n }\n\n return { seekTime: seekTime, secondsSinceMidnight: secondsSinceMidnight };\n };\n\n SeekTime.prototype.update = function update() {\n if (!this.rendered) {\n // update() is always called after a render\n return;\n }\n if (!this.shouldBeVisible()) {\n this.$el.hide();\n this.$el.css('left', '-100%');\n } else {\n var seekTime = this.getSeekTime();\n var currentSeekTime = (0, _utils.formatTime)(seekTime.seekTime, this.useActualLiveTime);\n // only update dom if necessary, ie time actually changed\n if (currentSeekTime !== this.displayedSeekTime) {\n this.$seekTimeEl.text(currentSeekTime);\n this.displayedSeekTime = currentSeekTime;\n }\n\n if (this.durationShown) {\n this.$durationEl.show();\n var currentDuration = (0, _utils.formatTime)(this.actualLiveTime ? seekTime.secondsSinceMidnight : this.duration, this.actualLiveTime);\n if (currentDuration !== this.displayedDuration) {\n this.$durationEl.text(currentDuration);\n this.displayedDuration = currentDuration;\n }\n } else {\n this.$durationEl.hide();\n }\n\n // the element must be unhidden before its width is requested, otherwise it's width will be reported as 0\n this.$el.show();\n var containerWidth = this.mediaControl.$seekBarContainer.width();\n var elWidth = this.$el.width();\n var elLeftPos = this.hoverPosition * containerWidth;\n elLeftPos -= elWidth / 2;\n elLeftPos = Math.max(0, Math.min(elLeftPos, containerWidth - elWidth));\n this.$el.css('left', elLeftPos);\n }\n };\n\n SeekTime.prototype.shouldBeVisible = function shouldBeVisible() {\n return this.mediaControlContainer && this.mediaControlContainer.settings.seekEnabled && this.hoveringOverSeekBar && this.hoverPosition !== null && this.duration !== null;\n };\n\n SeekTime.prototype.render = function render() {\n this.rendered = true;\n this.displayedDuration = null;\n this.displayedSeekTime = null;\n this.$el.html(this.template());\n this.$el.hide();\n this.mediaControl.$el.append(this.el);\n this.$seekTimeEl = this.$el.find('[data-seek-time]');\n this.$durationEl = this.$el.find('[data-duration]');\n this.$durationEl.hide();\n this.update();\n };\n\n return SeekTime;\n}(_ui_core_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = SeekTime;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/sources.js\":\n/*!********************************!*\\\n !*** ./src/plugins/sources.js ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _core_plugin = __webpack_require__(/*! ../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nvar _events = __webpack_require__(/*! ../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SourcesPlugin = function (_CorePlugin) {\n (0, _inherits3.default)(SourcesPlugin, _CorePlugin);\n\n function SourcesPlugin() {\n (0, _classCallCheck3.default)(this, SourcesPlugin);\n return (0, _possibleConstructorReturn3.default)(this, _CorePlugin.apply(this, arguments));\n }\n\n SourcesPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.core, _events2.default.CORE_CONTAINERS_CREATED, this.onContainersCreated);\n };\n\n SourcesPlugin.prototype.onContainersCreated = function onContainersCreated() {\n var firstValidSource = this.core.containers.filter(function (container) {\n return container.playback.name !== 'no_op';\n })[0] || this.core.containers[0];\n if (firstValidSource) {\n this.core.containers.forEach(function (container) {\n if (container !== firstValidSource) container.destroy();\n });\n }\n };\n\n (0, _createClass3.default)(SourcesPlugin, [{\n key: 'name',\n get: function get() {\n return 'sources';\n }\n }]);\n return SourcesPlugin;\n}(_core_plugin2.default);\n\nexports.default = SourcesPlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/index.js\":\n/*!***************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/index.js ***!\n \\***************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _spinner_three_bounce = __webpack_require__(/*! ./spinner_three_bounce */ \"./src/plugins/spinner_three_bounce/spinner_three_bounce.js\");\n\nvar _spinner_three_bounce2 = _interopRequireDefault(_spinner_three_bounce);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _spinner_three_bounce2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/public/spinner.html\":\n/*!**************************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/public/spinner.html ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div data-bounce1></div><div data-bounce2></div><div data-bounce3></div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/public/spinner.scss\":\n/*!**************************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/public/spinner.scss ***!\n \\**************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./spinner.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/spinner_three_bounce/public/spinner.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/spinner_three_bounce/spinner_three_bounce.js\":\n/*!******************************************************************!*\\\n !*** ./src/plugins/spinner_three_bounce/spinner_three_bounce.js ***!\n \\******************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_container_plugin = __webpack_require__(/*! ../../base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _spinner = __webpack_require__(/*! ./public/spinner.html */ \"./src/plugins/spinner_three_bounce/public/spinner.html\");\n\nvar _spinner2 = _interopRequireDefault(_spinner);\n\n__webpack_require__(/*! ./public/spinner.scss */ \"./src/plugins/spinner_three_bounce/public/spinner.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar SpinnerThreeBouncePlugin = function (_UIContainerPlugin) {\n (0, _inherits3.default)(SpinnerThreeBouncePlugin, _UIContainerPlugin);\n (0, _createClass3.default)(SpinnerThreeBouncePlugin, [{\n key: 'name',\n get: function get() {\n return 'spinner';\n }\n }, {\n key: 'attributes',\n get: function get() {\n return {\n 'data-spinner': '',\n 'class': 'spinner-three-bounce'\n };\n }\n }]);\n\n function SpinnerThreeBouncePlugin(container) {\n (0, _classCallCheck3.default)(this, SpinnerThreeBouncePlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIContainerPlugin.call(this, container));\n\n _this.template = (0, _template2.default)(_spinner2.default);\n _this.showTimeout = null;\n _this.listenTo(_this.container, _events2.default.CONTAINER_STATE_BUFFERING, _this.onBuffering);\n _this.listenTo(_this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, _this.onBufferFull);\n _this.listenTo(_this.container, _events2.default.CONTAINER_STOP, _this.onStop);\n _this.listenTo(_this.container, _events2.default.CONTAINER_ENDED, _this.onStop);\n _this.listenTo(_this.container, _events2.default.CONTAINER_ERROR, _this.onStop);\n _this.render();\n return _this;\n }\n\n SpinnerThreeBouncePlugin.prototype.onBuffering = function onBuffering() {\n this.show();\n };\n\n SpinnerThreeBouncePlugin.prototype.onBufferFull = function onBufferFull() {\n this.hide();\n };\n\n SpinnerThreeBouncePlugin.prototype.onStop = function onStop() {\n this.hide();\n };\n\n SpinnerThreeBouncePlugin.prototype.show = function show() {\n var _this2 = this;\n\n if (this.showTimeout === null) this.showTimeout = setTimeout(function () {\n return _this2.$el.show();\n }, 300);\n };\n\n SpinnerThreeBouncePlugin.prototype.hide = function hide() {\n if (this.showTimeout !== null) {\n clearTimeout(this.showTimeout);\n this.showTimeout = null;\n }\n this.$el.hide();\n };\n\n SpinnerThreeBouncePlugin.prototype.render = function render() {\n this.$el.html(this.template());\n this.container.$el.append(this.$el);\n this.$el.hide();\n if (this.container.buffering) this.onBuffering();\n\n return this;\n };\n\n return SpinnerThreeBouncePlugin;\n}(_ui_container_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = SpinnerThreeBouncePlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/stats/index.js\":\n/*!************************************!*\\\n !*** ./src/plugins/stats/index.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _stats = __webpack_require__(/*! ./stats */ \"./src/plugins/stats/stats.js\");\n\nvar _stats2 = _interopRequireDefault(_stats);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _stats2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/stats/stats.js\":\n/*!************************************!*\\\n !*** ./src/plugins/stats/stats.js ***!\n \\************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _container_plugin = __webpack_require__(/*! ../../base/container_plugin */ \"./src/base/container_plugin.js\");\n\nvar _container_plugin2 = _interopRequireDefault(_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar StatsPlugin = function (_ContainerPlugin) {\n (0, _inherits3.default)(StatsPlugin, _ContainerPlugin);\n (0, _createClass3.default)(StatsPlugin, [{\n key: 'name',\n get: function get() {\n return 'stats';\n }\n }]);\n\n function StatsPlugin(container) {\n (0, _classCallCheck3.default)(this, StatsPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _ContainerPlugin.call(this, container));\n\n _this.setInitialAttrs();\n _this.reportInterval = _this.options.reportInterval || 5000;\n _this.state = 'IDLE';\n return _this;\n }\n\n StatsPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container.playback, _events2.default.PLAYBACK_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_ENDED, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_DESTROYED, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERING, this.onBuffering);\n this.listenTo(this.container, _events2.default.CONTAINER_STATE_BUFFERFULL, this.onBufferFull);\n this.listenTo(this.container, _events2.default.CONTAINER_STATS_ADD, this.onStatsAdd);\n this.listenTo(this.container, _events2.default.CONTAINER_BITRATE, this.onStatsAdd);\n this.listenTo(this.container.playback, _events2.default.PLAYBACK_STATS_ADD, this.onStatsAdd);\n };\n\n StatsPlugin.prototype.setInitialAttrs = function setInitialAttrs() {\n this.firstPlay = true;\n this.startupTime = 0;\n this.rebufferingTime = 0;\n this.watchingTime = 0;\n this.rebuffers = 0;\n this.externalMetrics = {};\n };\n\n StatsPlugin.prototype.onPlay = function onPlay() {\n this.state = 'PLAYING';\n this.watchingTimeInit = Date.now();\n if (!this.intervalId) this.intervalId = setInterval(this.report.bind(this), this.reportInterval);\n };\n\n StatsPlugin.prototype.onStop = function onStop() {\n clearInterval(this.intervalId);\n this.report();\n this.intervalId = undefined;\n this.state = 'STOPPED';\n };\n\n StatsPlugin.prototype.onBuffering = function onBuffering() {\n if (this.firstPlay) this.startupTimeInit = Date.now();else this.rebufferingTimeInit = Date.now();\n\n this.state = 'BUFFERING';\n this.rebuffers++;\n };\n\n StatsPlugin.prototype.onBufferFull = function onBufferFull() {\n if (this.firstPlay && this.startupTimeInit) {\n this.firstPlay = false;\n this.startupTime = Date.now() - this.startupTimeInit;\n this.watchingTimeInit = Date.now();\n } else if (this.rebufferingTimeInit) {\n this.rebufferingTime += this.getRebufferingTime();\n }\n\n this.rebufferingTimeInit = undefined;\n this.state = 'PLAYING';\n };\n\n StatsPlugin.prototype.getRebufferingTime = function getRebufferingTime() {\n return Date.now() - this.rebufferingTimeInit;\n };\n\n StatsPlugin.prototype.getWatchingTime = function getWatchingTime() {\n var totalTime = Date.now() - this.watchingTimeInit;\n return totalTime - this.rebufferingTime;\n };\n\n StatsPlugin.prototype.isRebuffering = function isRebuffering() {\n return !!this.rebufferingTimeInit;\n };\n\n StatsPlugin.prototype.onStatsAdd = function onStatsAdd(metric) {\n _clapprZepto2.default.extend(this.externalMetrics, metric);\n };\n\n StatsPlugin.prototype.getStats = function getStats() {\n var metrics = {\n startupTime: this.startupTime,\n rebuffers: this.rebuffers,\n rebufferingTime: this.isRebuffering() ? this.rebufferingTime + this.getRebufferingTime() : this.rebufferingTime,\n watchingTime: this.isRebuffering() ? this.getWatchingTime() - this.getRebufferingTime() : this.getWatchingTime()\n };\n _clapprZepto2.default.extend(metrics, this.externalMetrics);\n return metrics;\n };\n\n StatsPlugin.prototype.report = function report() {\n this.container.statsReport(this.getStats());\n };\n\n return StatsPlugin;\n}(_container_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = StatsPlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/strings.js\":\n/*!********************************!*\\\n !*** ./src/plugins/strings.js ***!\n \\********************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _utils = __webpack_require__(/*! ../base/utils */ \"./src/base/utils.js\");\n\nvar _clapprZepto = __webpack_require__(/*! clappr-zepto */ \"./node_modules/clappr-zepto/zepto.js\");\n\nvar _clapprZepto2 = _interopRequireDefault(_clapprZepto);\n\nvar _core_plugin = __webpack_require__(/*! ../base/core_plugin */ \"./src/base/core_plugin.js\");\n\nvar _core_plugin2 = _interopRequireDefault(_core_plugin);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n/**\n * The internationalization (i18n) plugin\n * @class Strings\n * @constructor\n * @extends CorePlugin\n * @module plugins\n */\nvar Strings = function (_CorePlugin) {\n (0, _inherits3.default)(Strings, _CorePlugin);\n (0, _createClass3.default)(Strings, [{\n key: 'name',\n get: function get() {\n return 'strings';\n }\n }]);\n\n function Strings(core) {\n (0, _classCallCheck3.default)(this, Strings);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _CorePlugin.call(this, core));\n\n _this._initializeMessages();\n return _this;\n }\n /**\n * Gets a translated string for the given key.\n * @method t\n * @param {String} key the key to all messages\n * @return {String} translated label\n */\n\n\n Strings.prototype.t = function t(key) {\n var lang = this._language();\n var fallbackLang = this._messages['en'];\n var i18n = lang && this._messages[lang] || fallbackLang;\n return i18n[key] || fallbackLang[key] || key;\n };\n\n Strings.prototype._language = function _language() {\n return this.core.options.language || (0, _utils.getBrowserLanguage)();\n };\n\n Strings.prototype._initializeMessages = function _initializeMessages() {\n var defaultMessages = {\n 'en': {\n 'live': 'live',\n 'back_to_live': 'back to live',\n 'disabled': 'Disabled',\n 'playback_not_supported': 'Your browser does not support the playback of this video. Please try using a different browser.',\n 'default_error_title': 'Could not play video.',\n 'default_error_message': 'There was a problem trying to load the video.'\n },\n 'pt': {\n 'live': 'ao vivo',\n 'back_to_live': 'voltar para o ao vivo',\n 'disabled': 'Desativado',\n 'playback_not_supported': 'Seu navegador não supporta a reprodução deste video. Por favor, tente usar um navegador diferente.',\n 'default_error_title': 'Não foi possível reproduzir o vídeo.',\n 'default_error_message': 'Ocorreu um problema ao tentar carregar o vídeo.'\n },\n 'es': {\n 'live': 'vivo',\n 'back_to_live': 'volver en vivo',\n 'disabled': 'Discapacitado',\n 'playback_not_supported': 'Su navegador no soporta la reproducción de un video. Por favor, trate de usar un navegador diferente.'\n },\n 'ru': {\n 'live': 'прямой эфир',\n 'back_to_live': 'к прямому эфиру',\n 'disabled': 'Отключено',\n 'playback_not_supported': 'Ваш браузер не поддерживает воспроизведение этого видео. Пожалуйста, попробуйте другой браузер.'\n },\n 'fr': {\n 'live': 'en direct',\n 'back_to_live': 'retour au direct',\n 'disabled': 'Désactivé',\n 'playback_not_supported': 'Votre navigateur ne supporte pas la lecture de cette vidéo. Merci de tenter sur un autre navigateur.',\n 'default_error_title': 'Impossible de lire la vidéo.',\n 'default_error_message': 'Un problème est survenu lors du chargement de la vidéo.'\n },\n 'tr': {\n 'live': 'canlı',\n 'back_to_live': 'canlı yayına dön',\n 'disabled': 'Engelli',\n 'playback_not_supported': 'Tarayıcınız bu videoyu oynatma desteğine sahip değil. Lütfen farklı bir tarayıcı ile deneyin.'\n },\n 'et': {\n 'live': 'Otseülekanne',\n 'back_to_live': 'Tagasi otseülekande juurde',\n 'disabled': 'Keelatud',\n 'playback_not_supported': 'Teie brauser ei toeta selle video taasesitust. Proovige kasutada muud brauserit.'\n },\n 'ar': {\n 'live': 'مباشر',\n 'back_to_live': 'الرجوع إلى المباشر',\n 'disabled': 'معطّل',\n 'playback_not_supported': 'المتصفح الذي تستخدمه لا يدعم تشغيل هذا الفيديو. الرجاء إستخدام متصفح آخر.',\n 'default_error_title': 'غير قادر الى التشغيل.',\n 'default_error_message': 'حدثت مشكلة أثناء تحميل الفيديو.'\n }\n };\n\n this._messages = _clapprZepto2.default.extend(true, defaultMessages, this.core.options.strings || {});\n this._messages['pt-BR'] = this._messages['pt'];\n this._messages['en-US'] = this._messages['en'];\n this._messages['es-419'] = this._messages['es'];\n this._messages['fr-FR'] = this._messages['fr'];\n this._messages['tr-TR'] = this._messages['tr'];\n this._messages['et-EE'] = this._messages['et'];\n this._messages['ar-IQ'] = this._messages['ar'];\n };\n\n return Strings;\n}(_core_plugin2.default);\n\nexports.default = Strings;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/index.js\":\n/*!****************************************!*\\\n !*** ./src/plugins/watermark/index.js ***!\n \\****************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _watermark = __webpack_require__(/*! ./watermark */ \"./src/plugins/watermark/watermark.js\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = _watermark2.default;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/public/watermark.html\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/watermark/public/watermark.html ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<div class=\\\"clappr-watermark\\\" data-watermark data-watermark-<%=position %>>\\n<% if(typeof imageLink !== 'undefined') { %>\\n<a target=_blank href=\\\"<%= imageLink %>\\\">\\n<% } %>\\n<img src=\\\"<%= imageUrl %>\\\">\\n<% if(typeof imageLink !== 'undefined') { %>\\n</a>\\n<% } %>\\n</div>\\n\";\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/public/watermark.scss\":\n/*!*****************************************************!*\\\n !*** ./src/plugins/watermark/public/watermark.scss ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\nvar content = __webpack_require__(/*! !../../../../node_modules/css-loader!../../../../node_modules/postcss-loader/lib!../../../../node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./watermark.scss */ \"./node_modules/css-loader/index.js!./node_modules/postcss-loader/lib/index.js!./node_modules/sass-loader/lib/loader.js?includePaths[]=/Users/bruno/workspace/clappr/clappr/src/base/scss!./src/plugins/watermark/public/watermark.scss\");\n\nif(typeof content === 'string') content = [[module.i, content, '']];\n\nvar transform;\nvar insertInto;\n\n\n\nvar options = {\"singleton\":true,\"hmr\":true}\n\noptions.transform = transform\noptions.insertInto = undefined;\n\nvar update = __webpack_require__(/*! ../../../../node_modules/style-loader/lib/addStyles.js */ \"./node_modules/style-loader/lib/addStyles.js\")(content, options);\n\nif(content.locals) module.exports = content.locals;\n\nif(false) {}\n\n/***/ }),\n\n/***/ \"./src/plugins/watermark/watermark.js\":\n/*!********************************************!*\\\n !*** ./src/plugins/watermark/watermark.js ***!\n \\********************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _classCallCheck2 = __webpack_require__(/*! babel-runtime/helpers/classCallCheck */ \"./node_modules/babel-runtime/helpers/classCallCheck.js\");\n\nvar _classCallCheck3 = _interopRequireDefault(_classCallCheck2);\n\nvar _possibleConstructorReturn2 = __webpack_require__(/*! babel-runtime/helpers/possibleConstructorReturn */ \"./node_modules/babel-runtime/helpers/possibleConstructorReturn.js\");\n\nvar _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);\n\nvar _createClass2 = __webpack_require__(/*! babel-runtime/helpers/createClass */ \"./node_modules/babel-runtime/helpers/createClass.js\");\n\nvar _createClass3 = _interopRequireDefault(_createClass2);\n\nvar _inherits2 = __webpack_require__(/*! babel-runtime/helpers/inherits */ \"./node_modules/babel-runtime/helpers/inherits.js\");\n\nvar _inherits3 = _interopRequireDefault(_inherits2);\n\nvar _ui_container_plugin = __webpack_require__(/*! ../../base/ui_container_plugin */ \"./src/base/ui_container_plugin.js\");\n\nvar _ui_container_plugin2 = _interopRequireDefault(_ui_container_plugin);\n\nvar _events = __webpack_require__(/*! ../../base/events */ \"./src/base/events.js\");\n\nvar _events2 = _interopRequireDefault(_events);\n\nvar _template = __webpack_require__(/*! ../../base/template */ \"./src/base/template.js\");\n\nvar _template2 = _interopRequireDefault(_template);\n\nvar _watermark = __webpack_require__(/*! ./public/watermark.html */ \"./src/plugins/watermark/public/watermark.html\");\n\nvar _watermark2 = _interopRequireDefault(_watermark);\n\n__webpack_require__(/*! ./public/watermark.scss */ \"./src/plugins/watermark/public/watermark.scss\");\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar WaterMarkPlugin = function (_UIContainerPlugin) {\n (0, _inherits3.default)(WaterMarkPlugin, _UIContainerPlugin);\n (0, _createClass3.default)(WaterMarkPlugin, [{\n key: 'name',\n get: function get() {\n return 'watermark';\n }\n }, {\n key: 'template',\n get: function get() {\n return (0, _template2.default)(_watermark2.default);\n }\n }]);\n\n function WaterMarkPlugin(container) {\n (0, _classCallCheck3.default)(this, WaterMarkPlugin);\n\n var _this = (0, _possibleConstructorReturn3.default)(this, _UIContainerPlugin.call(this, container));\n\n _this.configure();\n return _this;\n }\n\n WaterMarkPlugin.prototype.bindEvents = function bindEvents() {\n this.listenTo(this.container, _events2.default.CONTAINER_PLAY, this.onPlay);\n this.listenTo(this.container, _events2.default.CONTAINER_STOP, this.onStop);\n this.listenTo(this.container, _events2.default.CONTAINER_OPTIONS_CHANGE, this.configure);\n };\n\n WaterMarkPlugin.prototype.configure = function configure() {\n this.position = this.options.position || 'bottom-right';\n if (this.options.watermark) {\n this.imageUrl = this.options.watermark;\n this.imageLink = this.options.watermarkLink;\n this.render();\n } else {\n this.$el.remove();\n }\n };\n\n WaterMarkPlugin.prototype.onPlay = function onPlay() {\n if (!this.hidden) this.$el.show();\n };\n\n WaterMarkPlugin.prototype.onStop = function onStop() {\n this.$el.hide();\n };\n\n WaterMarkPlugin.prototype.render = function render() {\n this.$el.hide();\n var templateOptions = { position: this.position, imageUrl: this.imageUrl, imageLink: this.imageLink };\n this.$el.html(this.template(templateOptions));\n this.container.$el.append(this.$el);\n return this;\n };\n\n return WaterMarkPlugin;\n}(_ui_container_plugin2.default); // Copyright 2014 Globo.com Player authors. All rights reserved.\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file.\n\nexports.default = WaterMarkPlugin;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/vendor/index.js\":\n/*!*****************************!*\\\n !*** ./src/vendor/index.js ***!\n \\*****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _kibo = __webpack_require__(/*! ./kibo */ \"./src/vendor/kibo.js\");\n\nvar _kibo2 = _interopRequireDefault(_kibo);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = { Kibo: _kibo2.default };\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"./src/vendor/kibo.js\":\n/*!****************************!*\\\n !*** ./src/vendor/kibo.js ***!\n \\****************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* eslint-disable */\n// Kibo is released under the MIT License. Copyright (c) 2013 marquete.\n// see https://github.com/marquete/kibo\n\nvar Kibo = function Kibo(element) {\n this.element = element || window.document;\n this.initialize();\n};\n\nKibo.KEY_NAMES_BY_CODE = {\n 8: 'backspace', 9: 'tab', 13: 'enter',\n 16: 'shift', 17: 'ctrl', 18: 'alt',\n 20: 'caps_lock',\n 27: 'esc',\n 32: 'space',\n 37: 'left', 38: 'up', 39: 'right', 40: 'down',\n 48: '0', 49: '1', 50: '2', 51: '3', 52: '4', 53: '5', 54: '6', 55: '7', 56: '8', 57: '9',\n 65: 'a', 66: 'b', 67: 'c', 68: 'd', 69: 'e', 70: 'f', 71: 'g', 72: 'h', 73: 'i', 74: 'j',\n 75: 'k', 76: 'l', 77: 'm', 78: 'n', 79: 'o', 80: 'p', 81: 'q', 82: 'r', 83: 's', 84: 't',\n 85: 'u', 86: 'v', 87: 'w', 88: 'x', 89: 'y', 90: 'z', 112: 'f1', 113: 'f2', 114: 'f3',\n 115: 'f4', 116: 'f5', 117: 'f6', 118: 'f7', 119: 'f8', 120: 'f9', 121: 'f10', 122: 'f11', 123: 'f12'\n};\n\nKibo.KEY_CODES_BY_NAME = {};\n(function () {\n for (var key in Kibo.KEY_NAMES_BY_CODE) {\n if (Object.prototype.hasOwnProperty.call(Kibo.KEY_NAMES_BY_CODE, key)) {\n Kibo.KEY_CODES_BY_NAME[Kibo.KEY_NAMES_BY_CODE[key]] = +key;\n }\n }\n})();\n\nKibo.MODIFIERS = ['shift', 'ctrl', 'alt'];\n\nKibo.registerEvent = function () {\n if (document.addEventListener) {\n return function (element, eventName, func) {\n element.addEventListener(eventName, func, false);\n };\n } else if (document.attachEvent) {\n return function (element, eventName, func) {\n element.attachEvent('on' + eventName, func);\n };\n }\n}();\n\nKibo.unregisterEvent = function () {\n if (document.removeEventListener) {\n return function (element, eventName, func) {\n element.removeEventListener(eventName, func, false);\n };\n } else if (document.detachEvent) {\n return function (element, eventName, func) {\n element.detachEvent('on' + eventName, func);\n };\n }\n}();\n\nKibo.stringContains = function (string, substring) {\n return string.indexOf(substring) !== -1;\n};\n\nKibo.neatString = function (string) {\n return string.replace(/^\\s+|\\s+$/g, '').replace(/\\s+/g, ' ');\n};\n\nKibo.capitalize = function (string) {\n return string.toLowerCase().replace(/^./, function (match) {\n return match.toUpperCase();\n });\n};\n\nKibo.isString = function (what) {\n return Kibo.stringContains(Object.prototype.toString.call(what), 'String');\n};\n\nKibo.arrayIncludes = function () {\n if (Array.prototype.indexOf) {\n return function (haystack, needle) {\n return haystack.indexOf(needle) !== -1;\n };\n } else {\n return function (haystack, needle) {\n for (var i = 0; i < haystack.length; i++) {\n if (haystack[i] === needle) {\n return true;\n }\n }\n return false;\n };\n }\n}();\n\nKibo.extractModifiers = function (keyCombination) {\n var modifiers, i;\n modifiers = [];\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n if (Kibo.stringContains(keyCombination, Kibo.MODIFIERS[i])) {\n modifiers.push(Kibo.MODIFIERS[i]);\n }\n }\n return modifiers;\n};\n\nKibo.extractKey = function (keyCombination) {\n var keys, i;\n keys = Kibo.neatString(keyCombination).split(' ');\n for (i = 0; i < keys.length; i++) {\n if (!Kibo.arrayIncludes(Kibo.MODIFIERS, keys[i])) {\n return keys[i];\n }\n }\n};\n\nKibo.modifiersAndKey = function (keyCombination) {\n var result, key;\n\n if (Kibo.stringContains(keyCombination, 'any')) {\n return Kibo.neatString(keyCombination).split(' ').slice(0, 2).join(' ');\n }\n\n result = Kibo.extractModifiers(keyCombination);\n\n key = Kibo.extractKey(keyCombination);\n if (key && !Kibo.arrayIncludes(Kibo.MODIFIERS, key)) {\n result.push(key);\n }\n\n return result.join(' ');\n};\n\nKibo.keyName = function (keyCode) {\n return Kibo.KEY_NAMES_BY_CODE[keyCode + ''];\n};\n\nKibo.keyCode = function (keyName) {\n return +Kibo.KEY_CODES_BY_NAME[keyName];\n};\n\nKibo.prototype.initialize = function () {\n var i,\n that = this;\n\n this.lastKeyCode = -1;\n this.lastModifiers = {};\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n this.lastModifiers[Kibo.MODIFIERS[i]] = false;\n }\n\n this.keysDown = { any: [] };\n this.keysUp = { any: [] };\n this.downHandler = this.handler('down');\n this.upHandler = this.handler('up');\n\n Kibo.registerEvent(this.element, 'keydown', this.downHandler);\n Kibo.registerEvent(this.element, 'keyup', this.upHandler);\n Kibo.registerEvent(window, 'unload', function unloader() {\n Kibo.unregisterEvent(that.element, 'keydown', that.downHandler);\n Kibo.unregisterEvent(that.element, 'keyup', that.upHandler);\n Kibo.unregisterEvent(window, 'unload', unloader);\n });\n};\n\nKibo.prototype.handler = function (upOrDown) {\n var that = this;\n return function (e) {\n var i, registeredKeys, lastModifiersAndKey;\n\n e = e || window.event;\n\n that.lastKeyCode = e.keyCode;\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n that.lastModifiers[Kibo.MODIFIERS[i]] = e[Kibo.MODIFIERS[i] + 'Key'];\n }\n if (Kibo.arrayIncludes(Kibo.MODIFIERS, Kibo.keyName(that.lastKeyCode))) {\n that.lastModifiers[Kibo.keyName(that.lastKeyCode)] = true;\n }\n\n registeredKeys = that['keys' + Kibo.capitalize(upOrDown)];\n\n for (i = 0; i < registeredKeys.any.length; i++) {\n if (registeredKeys.any[i](e) === false && e.preventDefault) {\n e.preventDefault();\n }\n }\n\n lastModifiersAndKey = that.lastModifiersAndKey();\n if (registeredKeys[lastModifiersAndKey]) {\n for (i = 0; i < registeredKeys[lastModifiersAndKey].length; i++) {\n if (registeredKeys[lastModifiersAndKey][i](e) === false && e.preventDefault) {\n e.preventDefault();\n }\n }\n }\n };\n};\n\nKibo.prototype.registerKeys = function (upOrDown, newKeys, func) {\n var i,\n keys,\n registeredKeys = this['keys' + Kibo.capitalize(upOrDown)];\n\n if (Kibo.isString(newKeys)) {\n newKeys = [newKeys];\n }\n\n for (i = 0; i < newKeys.length; i++) {\n keys = newKeys[i];\n keys = Kibo.modifiersAndKey(keys + '');\n\n if (registeredKeys[keys]) {\n registeredKeys[keys].push(func);\n } else {\n registeredKeys[keys] = [func];\n }\n }\n\n return this;\n};\n\n// jshint maxdepth:5\nKibo.prototype.unregisterKeys = function (upOrDown, newKeys, func) {\n var i,\n j,\n keys,\n registeredKeys = this['keys' + Kibo.capitalize(upOrDown)];\n\n if (Kibo.isString(newKeys)) {\n newKeys = [newKeys];\n }\n\n for (i = 0; i < newKeys.length; i++) {\n keys = newKeys[i];\n keys = Kibo.modifiersAndKey(keys + '');\n\n if (func === null) {\n delete registeredKeys[keys];\n } else {\n if (registeredKeys[keys]) {\n for (j = 0; j < registeredKeys[keys].length; j++) {\n if (String(registeredKeys[keys][j]) === String(func)) {\n registeredKeys[keys].splice(j, 1);\n break;\n }\n }\n }\n }\n }\n\n return this;\n};\n\nKibo.prototype.off = function (keys) {\n return this.unregisterKeys('down', keys, null);\n};\n\nKibo.prototype.delegate = function (upOrDown, keys, func) {\n return func !== null || func !== undefined ? this.registerKeys(upOrDown, keys, func) : this.unregisterKeys(upOrDown, keys, func);\n};\n\nKibo.prototype.down = function (keys, func) {\n return this.delegate('down', keys, func);\n};\n\nKibo.prototype.up = function (keys, func) {\n return this.delegate('up', keys, func);\n};\n\nKibo.prototype.lastKey = function (modifier) {\n if (!modifier) {\n return Kibo.keyName(this.lastKeyCode);\n }\n\n return this.lastModifiers[modifier];\n};\n\nKibo.prototype.lastModifiersAndKey = function () {\n var result, i;\n\n result = [];\n for (i = 0; i < Kibo.MODIFIERS.length; i++) {\n if (this.lastKey(Kibo.MODIFIERS[i])) {\n result.push(Kibo.MODIFIERS[i]);\n }\n }\n\n if (!Kibo.arrayIncludes(result, this.lastKey())) {\n result.push(this.lastKey());\n }\n\n return result.join(' ');\n};\n\nexports.default = Kibo;\nmodule.exports = exports['default'];\n\n/***/ })\n\n/******/ });\n});\n//# sourceMappingURL=clappr.js.map","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"clappr\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"clappr\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"DashShakaPlayback\"] = factory(require(\"clappr\"));\n\telse\n\t\troot[\"DashShakaPlayback\"] = factory(root[\"Clappr\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE_clappr__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"dist/\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/clappr-dash-shaka-playback.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/shaka-player/dist/shaka-player.compiled.js\":\n/*!*****************************************************************!*\\\n !*** ./node_modules/shaka-player/dist/shaka-player.compiled.js ***!\n \\*****************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* WEBPACK VAR INJECTION */(function(global, module) {(function(){var innerGlobal=typeof window!=\"undefined\"?window:global;var exportTo={};(function(window,global){var q,ca=\"function\"==typeof Object.defineProperties?Object.defineProperty:function(b,c,d){b!=Array.prototype&&b!=Object.prototype&&(b[c]=d.value)},da=\"undefined\"!=typeof window&&window===this?this:\"undefined\"!=typeof global&&null!=global?global:this;function ea(){ea=function(){};da.Symbol||(da.Symbol=fa)}var fa=function(){var b=0;return function(c){return\"jscomp_symbol_\"+(c||\"\")+b++}}();\nfunction ia(){ea();var b=da.Symbol.iterator;b||(b=da.Symbol.iterator=da.Symbol(\"iterator\"));\"function\"!=typeof Array.prototype[b]&&ca(Array.prototype,b,{configurable:!0,writable:!0,value:function(){return ja(this)}});ia=function(){}}function ja(b){var c=0;return ka(function(){return c<b.length?{done:!1,value:b[c++]}:{done:!0}})}function ka(b){ia();b={next:b};b[da.Symbol.iterator]=function(){return this};return b}function r(b){ia();var c=b[Symbol.iterator];return c?c.call(b):ja(b)}\nfunction la(b,c){if(c){for(var d=da,e=b.split(\".\"),f=0;f<e.length-1;f++){var g=e[f];g in d||(d[g]={});d=d[g]}e=e[e.length-1];f=d[e];g=c(f);g!=f&&null!=g&&ca(d,e,{configurable:!0,writable:!0,value:g})}}\nla(\"Promise\",function(b){function c(b){this.b=0;this.g=void 0;this.a=[];var c=this.c();try{b(c.resolve,c.reject)}catch(l){c.reject(l)}}function d(){this.a=null}function e(b){return b instanceof c?b:new c(function(c){c(b)})}if(b)return b;d.prototype.b=function(b){null==this.a&&(this.a=[],this.f());this.a.push(b)};d.prototype.f=function(){var b=this;this.c(function(){b.h()})};var f=da.setTimeout;d.prototype.c=function(b){f(b,0)};d.prototype.h=function(){for(;this.a&&this.a.length;){var b=this.a;this.a=\n[];for(var c=0;c<b.length;++c){var d=b[c];b[c]=null;try{d()}catch(m){this.g(m)}}}this.a=null};d.prototype.g=function(b){this.c(function(){throw b;})};c.prototype.c=function(){function b(b){return function(e){d||(d=!0,b.call(c,e))}}var c=this,d=!1;return{resolve:b(this.s),reject:b(this.f)}};c.prototype.s=function(b){if(b===this)this.f(new TypeError(\"A Promise cannot resolve to itself\"));else if(b instanceof c)this.u(b);else{a:switch(typeof b){case \"object\":var d=null!=b;break a;case \"function\":d=!0;\nbreak a;default:d=!1}d?this.m(b):this.h(b)}};c.prototype.m=function(b){var c=void 0;try{c=b.then}catch(l){this.f(l);return}\"function\"==typeof c?this.B(c,b):this.h(b)};c.prototype.f=function(b){this.i(2,b)};c.prototype.h=function(b){this.i(1,b)};c.prototype.i=function(b,c){if(0!=this.b)throw Error(\"Cannot settle(\"+b+\", \"+c+\"): Promise already settled in state\"+this.b);this.b=b;this.g=c;this.l()};c.prototype.l=function(){if(null!=this.a){for(var b=0;b<this.a.length;++b)g.b(this.a[b]);this.a=null}};\nvar g=new d;c.prototype.u=function(b){var c=this.c();b.cc(c.resolve,c.reject)};c.prototype.B=function(b,c){var d=this.c();try{b.call(c,d.resolve,d.reject)}catch(m){d.reject(m)}};c.prototype.then=function(b,d){function e(b,c){return\"function\"==typeof b?function(c){try{f(b(c))}catch(y){g(y)}}:c}var f,g,h=new c(function(b,c){f=b;g=c});this.cc(e(b,f),e(d,g));return h};c.prototype[\"catch\"]=function(b){return this.then(void 0,b)};c.prototype.cc=function(b,c){function d(){switch(e.b){case 1:b(e.g);break;\ncase 2:c(e.g);break;default:throw Error(\"Unexpected state: \"+e.b);}}var e=this;null==this.a?g.b(d):this.a.push(d)};c.resolve=e;c.reject=function(b){return new c(function(c,d){d(b)})};c.race=function(b){return new c(function(c,d){for(var f=r(b),g=f.next();!g.done;g=f.next())e(g.value).cc(c,d)})};c.all=function(b){var d=r(b),f=d.next();return f.done?e([]):new c(function(b,c){function g(c){return function(d){h[c]=d;k--;0==k&&b(h)}}var h=[],k=0;do h.push(void 0),k++,e(f.value).cc(g(h.length-1),c),f=d.next();\nwhile(!f.done)})};return c});la(\"Promise.prototype.finally\",function(b){return b?b:function(b){return this.then(function(c){return Promise.resolve(b()).then(function(){return c})},function(c){return Promise.resolve(b()).then(function(){throw c;})})}});function ma(b){function c(c){return b.next(c)}function d(c){return b[\"throw\"](c)}return new Promise(function(e,f){function g(b){b.done?e(b.value):Promise.resolve(b.value).then(c,d).then(g,f)}g(b.next())})}function t(b){return ma(b())}\nvar na=\"function\"==typeof Object.create?Object.create:function(b){function c(){}c.prototype=b;return new c},pa;if(\"function\"==typeof Object.setPrototypeOf)pa=Object.setPrototypeOf;else{var qa;a:{var ra={Ae:!0},ta={};try{ta.__proto__=ra;qa=ta.Ae;break a}catch(b){}qa=!1}pa=qa?function(b,c){b.__proto__=c;if(b.__proto__!==c)throw new TypeError(b+\" is not extensible\");return b}:null}var ua=pa;\nfunction va(b,c){b.prototype=na(c.prototype);b.prototype.constructor=b;if(ua)ua(b,c);else for(var d in c)if(\"prototype\"!=d)if(Object.defineProperties){var e=Object.getOwnPropertyDescriptor(c,d);e&&Object.defineProperty(b,d,e)}else b[d]=c[d];b.tg=c.prototype}function wa(){this.g=!1;this.c=null;this.o=void 0;this.j=1;this.b=this.f=0;this.i=this.a=null}function xa(b){if(b.g)throw new TypeError(\"Generator is already running\");b.g=!0}wa.prototype.h=function(b){this.o=b};\nfunction ya(b,c){b.a={Ld:c,Wd:!0};b.j=b.f||b.b}wa.prototype[\"return\"]=function(b){this.a={\"return\":b};this.j=this.b};function u(b,c,d){b.j=d;return{value:c}}wa.prototype.A=function(b){this.j=b};function w(b){b.j=0}function za(b,c,d){b.f=c;void 0!=d&&(b.b=d)}function Aa(b,c){b.f=0;b.b=c||0}function Ba(b,c){b.j=c;b.f=0}function Ca(b){b.f=0;var c=b.a.Ld;b.a=null;return c}function Fa(b){b.i=[b.a];b.f=0;b.b=0}\nfunction Ga(b,c){var d=b.i.splice(0)[0];(d=b.a=b.a||d)?d.Wd?b.j=b.f||b.b:void 0!=d.A&&b.b<d.A?(b.j=d.A,b.a=null):b.j=b.b:b.j=c}function Ha(b){this.a=new wa;this.b=b}function Ia(b,c){xa(b.a);var d=b.a.c;if(d)return Ja(b,\"return\"in d?d[\"return\"]:function(b){return{value:b,done:!0}},c,b.a[\"return\"]);b.a[\"return\"](c);return Ma(b)}\nfunction Ja(b,c,d,e){try{var f=c.call(b.a.c,d);if(!(f instanceof Object))throw new TypeError(\"Iterator result \"+f+\" is not an object\");if(!f.done)return b.a.g=!1,f;var g=f.value}catch(h){return b.a.c=null,ya(b.a,h),Ma(b)}b.a.c=null;e.call(b.a,g);return Ma(b)}\nfunction Ma(b){for(;b.a.j;)try{var c=b.b(b.a);if(c)return b.a.g=!1,{value:c.value,done:!1}}catch(d){b.a.o=void 0,ya(b.a,d)}b.a.g=!1;if(b.a.a){c=b.a.a;b.a.a=null;if(c.Wd)throw c.Ld;return{value:c[\"return\"],done:!0}}return{value:void 0,done:!0}}\nfunction Na(b){this.next=function(c){xa(b.a);b.a.c?c=Ja(b,b.a.c.next,c,b.a.h):(b.a.h(c),c=Ma(b));return c};this[\"throw\"]=function(c){xa(b.a);b.a.c?c=Ja(b,b.a.c[\"throw\"],c,b.a.h):(ya(b.a,c),c=Ma(b));return c};this[\"return\"]=function(c){return Ia(b,c)};ia();this[Symbol.iterator]=function(){return this}}function z(b,c){Na.prototype=b.prototype;return new Na(new Ha(c))}function Oa(b){for(var c,d=[];!(c=b.next()).done;)d.push(c.value);return d}\nfunction Pa(b,c){return Object.prototype.hasOwnProperty.call(b,c)}\nla(\"WeakMap\",function(b){function c(b){this.a=(g+=Math.random()+1).toString();if(b){ea();ia();b=r(b);for(var c;!(c=b.next()).done;)c=c.value,this.set(c[0],c[1])}}function d(b){Pa(b,f)||ca(b,f,{value:{}})}function e(b){var c=Object[b];c&&(Object[b]=function(b){d(b);return c(b)})}if(function(){if(!b||!Object.seal)return!1;try{var c=Object.seal({}),d=Object.seal({}),e=new b([[c,2],[d,3]]);if(2!=e.get(c)||3!=e.get(d))return!1;e[\"delete\"](c);e.set(d,4);return!e.has(c)&&4==e.get(d)}catch(m){return!1}}())return b;\nvar f=\"$jscomp_hidden_\"+Math.random();e(\"freeze\");e(\"preventExtensions\");e(\"seal\");var g=0;c.prototype.set=function(b,c){d(b);if(!Pa(b,f))throw Error(\"WeakMap key fail: \"+b);b[f][this.a]=c;return this};c.prototype.get=function(b){return Pa(b,f)?b[f][this.a]:void 0};c.prototype.has=function(b){return Pa(b,f)&&Pa(b[f],this.a)};c.prototype[\"delete\"]=function(b){return Pa(b,f)&&Pa(b[f],this.a)?delete b[f][this.a]:!1};return c});\nla(\"Map\",function(b){function c(){var b={};return b.Fa=b.next=b.head=b}function d(b,c){var d=b.a;return ka(function(){if(d){for(;d.head!=b.a;)d=d.Fa;for(;d.next!=d.head;)return d=d.next,{done:!1,value:c(d)};d=null}return{done:!0,value:void 0}})}function e(b,c){var d=c&&typeof c;\"object\"==d||\"function\"==d?g.has(c)?d=g.get(c):(d=\"\"+ ++h,g.set(c,d)):d=\"p_\"+c;var e=b.b[d];if(e&&Pa(b.b,d))for(var f=0;f<e.length;f++){var k=e[f];if(c!==c&&k.key!==k.key||c===k.key)return{id:d,list:e,index:f,X:k}}return{id:d,\nlist:e,index:-1,X:void 0}}function f(b){this.b={};this.a=c();this.size=0;if(b){b=r(b);for(var d;!(d=b.next()).done;)d=d.value,this.set(d[0],d[1])}}if(function(){if(!b||\"function\"!=typeof b||!b.prototype.entries||\"function\"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),d=new b(r([[c,\"s\"]]));if(\"s\"!=d.get(c)||1!=d.size||d.get({x:4})||d.set({x:4},\"t\")!=d||2!=d.size)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||\"s\"!=f.value[1])return!1;f=e.next();return f.done||4!=f.value[0].x||\n\"t\"!=f.value[1]||!e.next().done?!1:!0}catch(p){return!1}}())return b;ea();ia();var g=new WeakMap;f.prototype.set=function(b,c){var d=e(this,b);d.list||(d.list=this.b[d.id]=[]);d.X?d.X.value=c:(d.X={next:this.a,Fa:this.a.Fa,head:this.a,key:b,value:c},d.list.push(d.X),this.a.Fa.next=d.X,this.a.Fa=d.X,this.size++);return this};f.prototype[\"delete\"]=function(b){b=e(this,b);return b.X&&b.list?(b.list.splice(b.index,1),b.list.length||delete this.b[b.id],b.X.Fa.next=b.X.next,b.X.next.Fa=b.X.Fa,b.X.head=\nnull,this.size--,!0):!1};f.prototype.clear=function(){this.b={};this.a=this.a.Fa=c();this.size=0};f.prototype.has=function(b){return!!e(this,b).X};f.prototype.get=function(b){return(b=e(this,b).X)&&b.value};f.prototype.entries=function(){return d(this,function(b){return[b.key,b.value]})};f.prototype.keys=function(){return d(this,function(b){return b.key})};f.prototype.values=function(){return d(this,function(b){return b.value})};f.prototype.forEach=function(b,c){for(var d=this.entries(),e;!(e=d.next()).done;)e=\ne.value,b.call(c,e[1],e[0],this)};f.prototype[Symbol.iterator]=f.prototype.entries;var h=0;return f});\nla(\"Set\",function(b){function c(b){this.a=new Map;if(b){b=r(b);for(var c;!(c=b.next()).done;)this.add(c.value)}this.size=this.a.size}if(function(){if(!b||\"function\"!=typeof b||!b.prototype.entries||\"function\"!=typeof Object.seal)return!1;try{var c=Object.seal({x:4}),e=new b(r([c]));if(!e.has(c)||1!=e.size||e.add(c)!=e||1!=e.size||e.add({x:4})!=e||2!=e.size)return!1;var f=e.entries(),g=f.next();if(g.done||g.value[0]!=c||g.value[1]!=c)return!1;g=f.next();return g.done||g.value[0]==c||4!=g.value[0].x||\ng.value[1]!=g.value[0]?!1:f.next().done}catch(h){return!1}}())return b;ea();ia();c.prototype.add=function(b){this.a.set(b,b);this.size=this.a.size;return this};c.prototype[\"delete\"]=function(b){b=this.a[\"delete\"](b);this.size=this.a.size;return b};c.prototype.clear=function(){this.a.clear();this.size=0};c.prototype.has=function(b){return this.a.has(b)};c.prototype.entries=function(){return this.a.entries()};c.prototype.values=function(){return this.a.values()};c.prototype.keys=c.prototype.values;\nc.prototype[Symbol.iterator]=c.prototype.values;c.prototype.forEach=function(b,c){var d=this;this.a.forEach(function(e){return b.call(c,e,e,d)})};return c});function Qa(b,c,d){b instanceof String&&(b=String(b));for(var e=b.length,f=0;f<e;f++){var g=b[f];if(c.call(d,g,f,b))return{Td:f,ve:g}}return{Td:-1,ve:void 0}}la(\"Array.prototype.findIndex\",function(b){return b?b:function(b,d){return Qa(this,b,d).Td}});\nfunction Ra(b,c){ia();b instanceof String&&(b+=\"\");var d=0,e={next:function(){if(d<b.length){var f=d++;return{value:c(f,b[f]),done:!1}}e.next=function(){return{done:!0,value:void 0}};return e.next()}};e[Symbol.iterator]=function(){return e};return e}la(\"Array.prototype.keys\",function(b){return b?b:function(){return Ra(this,function(b){return b})}});la(\"Object.is\",function(b){return b?b:function(b,d){return b===d?0!==b||1/b===1/d:b!==b&&d!==d}});\nla(\"Array.prototype.includes\",function(b){return b?b:function(b,d){var c=this;c instanceof String&&(c=String(c));var f=c.length,g=d||0;for(0>g&&(g=Math.max(g+f,0));g<f;g++){var h=c[g];if(h===b||Object.is(h,b))return!0}return!1}});function Sa(b,c,d){if(null==b)throw new TypeError(\"The 'this' value for String.prototype.\"+d+\" must not be null or undefined\");if(c instanceof RegExp)throw new TypeError(\"First argument to String.prototype.\"+d+\" must not be a regular expression\");return b+\"\"}\nla(\"String.prototype.includes\",function(b){return b?b:function(b,d){return-1!==Sa(this,b,\"includes\").indexOf(b,d||0)}});la(\"Array.from\",function(b){return b?b:function(b,d,e){ia();d=null!=d?d:function(b){return b};var c=[],g=b[Symbol.iterator];if(\"function\"==typeof g)for(b=g.call(b);!(g=b.next()).done;)c.push(d.call(e,g.value));else{g=b.length;for(var h=0;h<g;h++)c.push(d.call(e,b[h]))}return c}});\nla(\"String.prototype.startsWith\",function(b){return b?b:function(b,d){for(var c=Sa(this,b,\"startsWith\"),f=c.length,g=b.length,h=Math.max(0,Math.min(d|0,c.length)),k=0;k<g&&h<f;)if(c[h++]!=b[k++])return!1;return k>=g}});la(\"Array.prototype.find\",function(b){return b?b:function(b,d){return Qa(this,b,d).ve}});var Ta=\"function\"==typeof Object.assign?Object.assign:function(b,c){for(var d=1;d<arguments.length;d++){var e=arguments[d];if(e)for(var f in e)Pa(e,f)&&(b[f]=e[f])}return b};\nla(\"Object.assign\",function(b){return b||Ta});var Wa=this;Wa.a=!0;function A(b,c){var d=b.split(\".\"),e=Wa;d[0]in e||!e.execScript||e.execScript(\"var \"+d[0]);for(var f;d.length&&(f=d.shift());)d.length||void 0===c?e[f]?e=e[f]:e=e[f]={}:e[f]=c}function Xa(b,c){function d(){}d.prototype=c.prototype;b.tg=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.Eg=function(b,d,g){return c.prototype[d].apply(b,Array.prototype.slice.call(arguments,2))}};/*\n\n Copyright 2016 Google Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nfunction Ya(b){this.c=Math.exp(Math.log(.5)/b);this.b=this.a=0}function Za(b,c,d){var e=Math.pow(b.c,c);d=d*(1-e)+e*b.a;isNaN(d)||(b.a=d,b.b+=c)}function $a(b){return b.a/(1-Math.pow(b.c,b.b))};function ab(){this.b=new Ya(2);this.c=new Ya(5);this.a=0}ab.prototype.getBandwidthEstimate=function(b){return 128E3>this.a?b:Math.min($a(this.b),$a(this.c))};function bb(){}function cb(){}function db(){}window.console&&window.console.log.bind&&(cb=console.warn.bind(console),bb=console.error.bind(console));var hb=/^(?:([^:/?#.]+):)?(?:\\/\\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#(.*))?$/;function ib(b){var c;b instanceof ib?(jb(this,b.ta),this.bb=b.bb,this.sa=b.sa,kb(this,b.Ab),this.ja=b.ja,lb(this,b.a.clone()),this.Sa=b.Sa):b&&(c=String(b).match(hb))?(jb(this,c[1]||\"\",!0),this.bb=mb(c[2]||\"\"),this.sa=mb(c[3]||\"\",!0),kb(this,c[4]),this.ja=mb(c[5]||\"\",!0),lb(this,c[6]||\"\",!0),this.Sa=mb(c[7]||\"\")):this.a=new nb(null)}q=ib.prototype;q.ta=\"\";q.bb=\"\";q.sa=\"\";q.Ab=null;q.ja=\"\";q.Sa=\"\";\nq.toString=function(){var b=[],c=this.ta;c&&b.push(ob(c,pb,!0),\":\");if(c=this.sa){b.push(\"//\");var d=this.bb;d&&b.push(ob(d,pb,!0),\"@\");b.push(encodeURIComponent(c).replace(/%25([0-9a-fA-F]{2})/g,\"%$1\"));c=this.Ab;null!=c&&b.push(\":\",String(c))}if(c=this.ja)this.sa&&\"/\"!=c.charAt(0)&&b.push(\"/\"),b.push(ob(c,\"/\"==c.charAt(0)?qb:rb,!0));(c=this.a.toString())&&b.push(\"?\",c);(c=this.Sa)&&b.push(\"#\",ob(c,sb));return b.join(\"\")};\nq.resolve=function(b){var c=this.clone();\"data\"===c.ta&&(c=new ib);var d=!!b.ta;d?jb(c,b.ta):d=!!b.bb;d?c.bb=b.bb:d=!!b.sa;d?c.sa=b.sa:d=null!=b.Ab;var e=b.ja;if(d)kb(c,b.Ab);else if(d=!!b.ja){if(\"/\"!=e.charAt(0))if(this.sa&&!this.ja)e=\"/\"+e;else{var f=c.ja.lastIndexOf(\"/\");-1!=f&&(e=c.ja.substr(0,f+1)+e)}if(\"..\"==e||\".\"==e)e=\"\";else if(-1!=e.indexOf(\"./\")||-1!=e.indexOf(\"/.\")){f=0==e.lastIndexOf(\"/\",0);e=e.split(\"/\");for(var g=[],h=0;h<e.length;){var k=e[h++];\".\"==k?f&&h==e.length&&g.push(\"\"):\"..\"==\nk?((1<g.length||1==g.length&&\"\"!=g[0])&&g.pop(),f&&h==e.length&&g.push(\"\")):(g.push(k),f=!0)}e=g.join(\"/\")}}d?c.ja=e:d=\"\"!==b.a.toString();d?lb(c,b.a.clone()):d=!!b.Sa;d&&(c.Sa=b.Sa);return c};q.clone=function(){return new ib(this)};function jb(b,c,d){b.ta=d?mb(c,!0):c;b.ta&&(b.ta=b.ta.replace(/:$/,\"\"))}function kb(b,c){if(c){c=Number(c);if(isNaN(c)||0>c)throw Error(\"Bad port number \"+c);b.Ab=c}else b.Ab=null}function lb(b,c,d){c instanceof nb?b.a=c:(d||(c=ob(c,tb)),b.a=new nb(c))}\nfunction mb(b,c){return b?c?decodeURI(b):decodeURIComponent(b):\"\"}function ob(b,c,d){return\"string\"==typeof b?(b=encodeURI(b).replace(c,yb),d&&(b=b.replace(/%25([0-9a-fA-F]{2})/g,\"%$1\")),b):null}function yb(b){b=b.charCodeAt(0);return\"%\"+(b>>4&15).toString(16)+(b&15).toString(16)}var pb=/[#\\/\\?@]/g,rb=/[#\\?:]/g,qb=/[#\\?]/g,tb=/[#\\?@]/g,sb=/#/g;function nb(b){this.a=b||null}q=nb.prototype;q.ha=null;q.fc=null;\nq.add=function(b,c){if(!this.ha&&(this.ha={},this.fc=0,this.a))for(var d=this.a.split(\"&\"),e=0;e<d.length;e++){var f=d[e].indexOf(\"=\"),g=null;if(0<=f){var h=d[e].substring(0,f);g=d[e].substring(f+1)}else h=d[e];h=decodeURIComponent(h.replace(/\\+/g,\" \"));g=g||\"\";this.add(h,decodeURIComponent(g.replace(/\\+/g,\" \")))}this.a=null;(d=this.ha.hasOwnProperty(b)&&this.ha[b])||(this.ha[b]=d=[]);d.push(c);this.fc++;return this};\nq.toString=function(){if(this.a)return this.a;if(!this.ha)return\"\";var b=[],c;for(c in this.ha)for(var d=encodeURIComponent(c),e=this.ha[c],f=0;f<e.length;f++){var g=d;\"\"!==e[f]&&(g+=\"=\"+encodeURIComponent(e[f]));b.push(g)}return this.a=b.join(\"&\")};q.clone=function(){var b=new nb;b.a=this.a;if(this.ha){var c={},d;for(d in this.ha)c[d]=this.ha[d].concat();b.ha=c;b.fc=this.fc}return b};function zb(b){this.b=b;this.a=null}zb.prototype.R=function(b){var c=this;this.stop();var d=!0,e=null;this.a=function(){window.clearTimeout(e);d=!1};e=window.setTimeout(function(){d&&c.b()},1E3*b);return this};zb.prototype.stop=function(){this.a&&(this.a(),this.a=null)};function C(b){this.b=b;this.a=null}A(\"shaka.util.Timer\",C);C.prototype.yc=function(){this.stop();this.b();return this};C.prototype.tickNow=C.prototype.yc;C.prototype.R=function(b){var c=this;this.stop();this.a=(new zb(function(){c.b()})).R(b);return this};C.prototype.tickAfter=C.prototype.R;C.prototype.Na=function(b){var c=this;this.stop();this.a=(new zb(function(){c.a.R(b);c.b()})).R(b);return this};C.prototype.tickEvery=C.prototype.Na;C.prototype.stop=function(){this.a&&(this.a.stop(),this.a=null)};\nC.prototype.stop=C.prototype.stop;function Ab(b,c){var d=Bb();this.i=null==b.maxAttempts?d.maxAttempts:b.maxAttempts;this.f=null==b.baseDelay?d.baseDelay:b.baseDelay;this.h=null==b.fuzzFactor?d.fuzzFactor:b.fuzzFactor;this.g=null==b.backoffFactor?d.backoffFactor:b.backoffFactor;this.a=0;this.b=this.f;if(this.c=void 0===c?!1:c)this.a=1}\nfunction Cb(b){return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:if(b.a>=b.i)if(b.c)b.a=1,b.b=b.f;else return d[\"return\"](Promise.reject());e=b.a;b.a++;if(0==e)return d[\"return\"]();f=b.b*(1+(2*Math.random()-1)*b.h);return u(d,new Promise(function(b){(new C(b)).R(f/1E3)}),2);case 2:b.b*=b.g,w(d)}})})}function Bb(){return{maxAttempts:2,baseDelay:1E3,backoffFactor:2,fuzzFactor:.5,timeout:0}};function D(b,c,d,e){for(var f=[],g=3;g<arguments.length;++g)f[g-3]=arguments[g];this.severity=b;this.category=c;this.code=d;this.data=f;this.handled=!1}A(\"shaka.util.Error\",D);D.prototype.toString=function(){return\"shaka.util.Error \"+JSON.stringify(this,null,\" \")};D.Severity={RECOVERABLE:1,CRITICAL:2};D.Category={NETWORK:1,TEXT:2,MEDIA:3,MANIFEST:4,STREAMING:5,DRM:6,PLAYER:7,CAST:8,STORAGE:9};\nD.Code={UNSUPPORTED_SCHEME:1E3,BAD_HTTP_STATUS:1001,HTTP_ERROR:1002,TIMEOUT:1003,MALFORMED_DATA_URI:1004,UNKNOWN_DATA_URI_ENCODING:1005,REQUEST_FILTER_ERROR:1006,RESPONSE_FILTER_ERROR:1007,MALFORMED_TEST_URI:1008,UNEXPECTED_TEST_REQUEST:1009,INVALID_TEXT_HEADER:2E3,INVALID_TEXT_CUE:2001,UNABLE_TO_DETECT_ENCODING:2003,BAD_ENCODING:2004,INVALID_XML:2005,INVALID_MP4_TTML:2007,INVALID_MP4_VTT:2008,UNABLE_TO_EXTRACT_CUE_START_TIME:2009,BUFFER_READ_OUT_OF_BOUNDS:3E3,JS_INTEGER_OVERFLOW:3001,EBML_OVERFLOW:3002,\nEBML_BAD_FLOATING_POINT_SIZE:3003,MP4_SIDX_WRONG_BOX_TYPE:3004,MP4_SIDX_INVALID_TIMESCALE:3005,MP4_SIDX_TYPE_NOT_SUPPORTED:3006,WEBM_CUES_ELEMENT_MISSING:3007,WEBM_EBML_HEADER_ELEMENT_MISSING:3008,WEBM_SEGMENT_ELEMENT_MISSING:3009,WEBM_INFO_ELEMENT_MISSING:3010,WEBM_DURATION_ELEMENT_MISSING:3011,WEBM_CUE_TRACK_POSITIONS_ELEMENT_MISSING:3012,WEBM_CUE_TIME_ELEMENT_MISSING:3013,MEDIA_SOURCE_OPERATION_FAILED:3014,MEDIA_SOURCE_OPERATION_THREW:3015,VIDEO_ERROR:3016,QUOTA_EXCEEDED_ERROR:3017,TRANSMUXING_FAILED:3018,\nUNABLE_TO_GUESS_MANIFEST_TYPE:4E3,DASH_INVALID_XML:4001,DASH_NO_SEGMENT_INFO:4002,DASH_EMPTY_ADAPTATION_SET:4003,DASH_EMPTY_PERIOD:4004,DASH_WEBM_MISSING_INIT:4005,DASH_UNSUPPORTED_CONTAINER:4006,DASH_PSSH_BAD_ENCODING:4007,DASH_NO_COMMON_KEY_SYSTEM:4008,DASH_MULTIPLE_KEY_IDS_NOT_SUPPORTED:4009,DASH_CONFLICTING_KEY_IDS:4010,UNPLAYABLE_PERIOD:4011,RESTRICTIONS_CANNOT_BE_MET:4012,NO_PERIODS:4014,HLS_PLAYLIST_HEADER_MISSING:4015,INVALID_HLS_TAG:4016,HLS_INVALID_PLAYLIST_HIERARCHY:4017,DASH_DUPLICATE_REPRESENTATION_ID:4018,\nHLS_MULTIPLE_MEDIA_INIT_SECTIONS_FOUND:4020,HLS_COULD_NOT_GUESS_MIME_TYPE:4021,HLS_MASTER_PLAYLIST_NOT_PROVIDED:4022,HLS_REQUIRED_ATTRIBUTE_MISSING:4023,HLS_REQUIRED_TAG_MISSING:4024,HLS_COULD_NOT_GUESS_CODECS:4025,HLS_KEYFORMATS_NOT_SUPPORTED:4026,DASH_UNSUPPORTED_XLINK_ACTUATE:4027,DASH_XLINK_DEPTH_LIMIT:4028,HLS_COULD_NOT_PARSE_SEGMENT_START_TIME:4030,CONTENT_UNSUPPORTED_BY_BROWSER:4032,CANNOT_ADD_EXTERNAL_TEXT_TO_LIVE_STREAM:4033,HLS_AES_128_ENCRYPTION_NOT_SUPPORTED:4034,HLS_INTERNAL_SKIP_STREAM:4035,\nINVALID_STREAMS_CHOSEN:5005,NO_RECOGNIZED_KEY_SYSTEMS:6E3,REQUESTED_KEY_SYSTEM_CONFIG_UNAVAILABLE:6001,FAILED_TO_CREATE_CDM:6002,FAILED_TO_ATTACH_TO_VIDEO:6003,INVALID_SERVER_CERTIFICATE:6004,FAILED_TO_CREATE_SESSION:6005,FAILED_TO_GENERATE_LICENSE_REQUEST:6006,LICENSE_REQUEST_FAILED:6007,LICENSE_RESPONSE_REJECTED:6008,ENCRYPTED_CONTENT_WITHOUT_DRM_INFO:6010,NO_LICENSE_SERVER_GIVEN:6012,OFFLINE_SESSION_REMOVED:6013,EXPIRED:6014,SERVER_CERTIFICATE_REQUIRED:6015,INIT_DATA_TRANSFORM_ERROR:6016,LOAD_INTERRUPTED:7E3,\nOPERATION_ABORTED:7001,NO_VIDEO_ELEMENT:7002,CAST_API_UNAVAILABLE:8E3,NO_CAST_RECEIVERS:8001,ALREADY_CASTING:8002,UNEXPECTED_CAST_ERROR:8003,CAST_CANCELED_BY_USER:8004,CAST_CONNECTION_TIMED_OUT:8005,CAST_RECEIVER_APP_UNAVAILABLE:8006,STORAGE_NOT_SUPPORTED:9E3,INDEXED_DB_ERROR:9001,DEPRECATED_OPERATION_ABORTED:9002,REQUESTED_ITEM_NOT_FOUND:9003,MALFORMED_OFFLINE_URI:9004,CANNOT_STORE_LIVE_OFFLINE:9005,STORE_ALREADY_IN_PROGRESS:9006,NO_INIT_DATA_FOR_OFFLINE:9007,LOCAL_PLAYER_INSTANCE_REQUIRED:9008,\nNEW_KEY_OPERATION_NOT_SUPPORTED:9011,KEY_NOT_FOUND:9012,MISSING_STORAGE_CELL:9013};function F(){var b,c,d=new Promise(function(d,f){b=d;c=f});d.resolve=b;d.reject=c;return d}F.prototype.resolve=function(){};F.prototype.reject=function(){};function H(b,c){this.promise=b;this.Zd=c;this.a=!1}A(\"shaka.util.AbortableOperation\",H);function Db(b){return new H(Promise.reject(b),function(){return Promise.resolve()})}H.failed=Db;function Eb(){var b=Promise.reject(new D(2,7,7001));b[\"catch\"](function(){});return new H(b,function(){return Promise.resolve()})}H.aborted=Eb;function Hb(b){return new H(Promise.resolve(b),function(){return Promise.resolve()})}H.completed=Hb;\nfunction Ib(b){return new H(b,function(){return b[\"catch\"](function(){})})}H.notAbortable=Ib;H.prototype.abort=function(){this.a=!0;return this.Zd()};H.prototype.abort=H.prototype.abort;function Jb(b){return new H(Promise.all(b.map(function(b){return b.promise})),function(){return Promise.all(b.map(function(b){return b.abort()}))})}H.all=Jb;H.prototype[\"finally\"]=function(b){this.promise.then(function(){return b(!0)},function(){return b(!1)});return this};H.prototype[\"finally\"]=H.prototype[\"finally\"];\nH.prototype.U=function(b,c){function d(){f.reject(new D(2,7,7001));return e.abort()}var e=this,f=new F;this.promise.then(function(c){e.a?f.reject(new D(2,7,7001)):b?d=Kb(b,c,f):f.resolve(c)},function(b){c?d=Kb(c,b,f):f.reject(b)});return new H(f,function(){return d()})};H.prototype.chain=H.prototype.U;\nfunction Kb(b,c,d){try{var e=b(c);if(e&&e.promise&&e.abort)return d.resolve(e.promise),function(){return e.abort()};d.resolve(e);return function(){return Promise.resolve(e).then(function(){})[\"catch\"](function(){})}}catch(f){return d.reject(f),function(){return Promise.resolve()}}};function I(b,c){c=void 0===c?{}:c;for(var d in c)this[d]=c[d];this.defaultPrevented=this.cancelable=this.bubbles=!1;this.timeStamp=window.performance&&window.performance.now?window.performance.now():Date.now();this.type=b;this.isTrusted=!1;this.target=this.currentTarget=null;this.a=!1}I.prototype.preventDefault=function(){this.cancelable&&(this.defaultPrevented=!0)};I.prototype.stopImmediatePropagation=function(){this.a=!0};I.prototype.stopPropagation=function(){};function Lb(){this.a={}}q=Lb.prototype;q.push=function(b,c){this.a.hasOwnProperty(b)?this.a[b].push(c):this.a[b]=[c]};q.get=function(b){return(b=this.a[b])?b.slice():null};q.getAll=function(){var b=[],c;for(c in this.a)b.push.apply(b,this.a[c]);return b};q.remove=function(b,c){var d=this.a[b];if(d)for(var e=0;e<d.length;++e)d[e]==c&&(d.splice(e,1),--e)};q.forEach=function(b){for(var c in this.a)b(c,this.a[c])};function Mb(){this.Jc=new Lb;this.$b=this}Mb.prototype.addEventListener=function(b,c){this.Jc.push(b,c)};Mb.prototype.removeEventListener=function(b,c){this.Jc.remove(b,c)};Mb.prototype.dispatchEvent=function(b){for(var c=this.Jc.get(b.type)||[],d=0;d<c.length;++d){b.target=this.$b;b.currentTarget=this.$b;var e=c[d];try{e.handleEvent?e.handleEvent(b):e.call(this,b)}catch(f){}if(b.a)break}return b.defaultPrevented};function Nb(b){function c(b){switch(typeof b){case \"undefined\":case \"boolean\":case \"number\":case \"string\":case \"symbol\":case \"function\":return b;default:if(!b||b.buffer&&b.buffer.constructor==ArrayBuffer)return b;if(d.has(b))return null;var e=b.constructor==Array;if(b.constructor!=Object&&!e)return null;d.add(b);var g=e?[]:{},h;for(h in b)g[h]=c(b[h]);e&&(g.length=b.length);return g}}var d=new Set;return c(b)};function Ob(b,c){return\"number\"===typeof b&&\"number\"===typeof c&&isNaN(b)&&isNaN(c)?!0:b===c}function Pb(b,c){var d=b.indexOf(c);-1<d&&b.splice(d,1)}function Qb(b,c){var d=0;b.forEach(function(b){d+=c(b)?1:0});return d}\nfunction Rb(b,c,d){d||(d=Ob);if(b.length!=c.length)return!1;c=c.slice();var e={};b=r(b);for(var f=b.next();!f.done;e={item:e.item},f=b.next()){e.item=f.value;f=c.findIndex(function(b){return function(c){return d(b.item,c)}}(e));if(-1==f)return!1;c[f]=c[c.length-1];c.pop()}return 0==c.length};function Sb(){this.a=[]}function Tb(b,c){b.a.push(c[\"finally\"](function(){Pb(b.a,c)}))}Sb.prototype.destroy=function(){var b=[];this.a.forEach(function(c){c.promise[\"catch\"](function(){});b.push(c.abort())});this.a=[];return Promise.all(b)};function J(b){Mb.call(this);this.f=!1;this.g=new Sb;this.a=new Set;this.b=new Set;this.c=b||null}Xa(J,Mb);A(\"shaka.net.NetworkingEngine\",J);J.RequestType={MANIFEST:0,SEGMENT:1,LICENSE:2,APP:3,TIMING:4};J.PluginPriority={FALLBACK:1,PREFERRED:2,APPLICATION:3};var Ub={};function Vb(b,c,d){d=d||3;var e=Ub[b];if(!e||d>=e.priority)Ub[b]={priority:d,Rf:c}}J.registerScheme=Vb;J.unregisterScheme=function(b){delete Ub[b]};J.prototype.Tf=function(b){this.a.add(b)};J.prototype.registerRequestFilter=J.prototype.Tf;\nJ.prototype.vg=function(b){this.a[\"delete\"](b)};J.prototype.unregisterRequestFilter=J.prototype.vg;J.prototype.Ie=function(){this.a.clear()};J.prototype.clearAllRequestFilters=J.prototype.Ie;J.prototype.Uf=function(b){this.b.add(b)};J.prototype.registerResponseFilter=J.prototype.Uf;J.prototype.wg=function(b){this.b[\"delete\"](b)};J.prototype.unregisterResponseFilter=J.prototype.wg;J.prototype.Je=function(){this.b.clear()};J.prototype.clearAllResponseFilters=J.prototype.Je;\nJ.defaultRetryParameters=function(){return Bb()};function Wb(b,c){return{uris:b,method:\"GET\",body:null,headers:{},allowCrossSiteCredentials:!1,retryParameters:c,licenseRequestType:null,sessionId:null}}J.makeRequest=Wb;J.prototype.destroy=function(){this.f=!0;this.a.clear();this.b.clear();return this.g.destroy()};J.prototype.destroy=J.prototype.destroy;\nJ.prototype.request=function(b,c){var d=this,e=new Xb;if(this.f){var f=Promise.reject(new D(2,7,7001));f[\"catch\"](function(){});return new Yb(f,function(){return Promise.resolve()},e)}c.method=c.method||\"GET\";c.headers=c.headers||{};c.retryParameters=c.retryParameters?Nb(c.retryParameters):Bb();c.uris=Nb(c.uris);f=Zb(this,b,c);var g=f.U(function(){return $b(d,b,c,new Ab(c.retryParameters,!1),0,null,e)}),h=g.U(function(c){return ac(d,b,c)}),k=Date.now(),l=0;f.promise.then(function(){l=Date.now()-k},\nfunction(){});var m=0;g.promise.then(function(){m=Date.now()},function(){});f=h.U(function(c){var e=Date.now()-m,f=c.response;f.timeMs+=l;f.timeMs+=e;c.qf||!d.c||f.fromCache||1!=b||d.c(f.timeMs,f.data.byteLength);return f},function(b){b&&(b.severity=2);throw b;});f=new Yb(f.promise,f.Zd,e);Tb(this.g,f);return f};J.prototype.request=J.prototype.request;\nfunction Zb(b,c,d){var e=Hb(void 0),f={};b=r(b.a);for(var g=b.next();!g.done;f={qd:f.qd},g=b.next())f.qd=g.value,e=e.U(function(b){return function(){return b.qd(c,d)}}(f));return e.U(void 0,function(b){if(b&&7001==b.code)throw b;throw new D(2,1,1006,b);})}\nfunction $b(b,c,d,e,f,g,h){var k=new ib(d.uris[f]),l=k.ta,m=!1;l||(l=location.protocol,l=l.slice(0,-1),jb(k,l),d.uris[f]=k.toString());l=l.toLowerCase();var n=(l=Ub[l])?l.Rf:null;if(!n)return Db(new D(2,1,1E3,k));var p;return Ib(Cb(e)).U(function(){if(b.f)return Eb();p=Date.now();return n(d.uris[f],d,c,function(d,e,f){b.c&&1==c&&(b.c(d,e),m=!0,h.a=f)})}).U(function(b){void 0==b.timeMs&&(b.timeMs=Date.now()-p);return{response:b,qf:m}},function(k){if(k&&7001==k.code)throw k;if(b.f)return Eb();if(k&&\n1==k.severity)return b.dispatchEvent(new I(\"retry\",{error:k instanceof D?k:null})),f=(f+1)%d.uris.length,$b(b,c,d,e,f,k,h);throw k||g;})}function ac(b,c,d){var e=Hb(void 0);b=r(b.b);for(var f=b.next();!f.done;f=b.next())e=e.U(f.value.bind(null,c,d.response));return e.U(function(){return d},function(b){if(b&&7001==b.code)throw b;var c=2;b instanceof D&&(c=b.severity);throw new D(c,1,1007,b);})}function Xb(){this.a=0}J.NumBytesRemainingClass=Xb;function Yb(b,c,d){H.call(this,b,c);this.b=d}va(Yb,H);\nJ.PendingRequest=Yb;Yb.all=Jb;Yb.notAbortable=Ib;Yb.completed=Hb;Yb.aborted=Eb;Yb.failed=Db;function bc(){}A(\"shaka.util.IReleasable\",bc);bc.prototype.release=function(){};function K(){this.a=new Lb}A(\"shaka.util.EventManager\",K);K.prototype.release=function(){this.$a();this.a=null};K.prototype.release=K.prototype.release;K.prototype.w=function(b,c,d,e){this.a&&(b=new cc(b,c,d,e),this.a.push(c,b))};K.prototype.listen=K.prototype.w;K.prototype.da=function(b,c,d,e){function f(e){g.ea(b,c,f);d(e)}var g=this;this.w(b,c,f,e)};K.prototype.listenOnce=K.prototype.da;\nK.prototype.ea=function(b,c,d){if(this.a){var e=this.a.get(c)||[];e=r(e);for(var f=e.next();!f.done;f=e.next())f=f.value,f.target!=b||d!=f.listener&&d||(f.ea(),this.a.remove(c,f))}};K.prototype.unlisten=K.prototype.ea;K.prototype.$a=function(){if(this.a){var b=this.a.getAll();b=r(b);for(var c=b.next();!c.done;c=b.next())c.value.ea();this.a.a={}}};K.prototype.removeAll=K.prototype.$a;\nfunction cc(b,c,d,e){this.target=b;this.type=c;this.listener=d;this.a=dc(b,e);this.target.addEventListener(c,d,this.a)}cc.prototype.ea=function(){this.target.removeEventListener(this.type,this.listener,this.a);this.listener=this.target=null;this.a=!1};cc.prototype.unlisten=cc.prototype.ea;function dc(b,c){if(void 0==c)return!1;if(\"boolean\"==typeof c)return c;var d=new Set([\"passive\",\"capture\"]);Object.keys(c).filter(function(b){return!d.has(b)});return ec(b)?c:c.capture||!1}\nfunction ec(b){var c=fc;if(void 0==c){c=!1;try{var d={},e={get:function(){c=!0;return!1}};Object.defineProperty(d,\"passive\",e);Object.defineProperty(d,\"capture\",e);e=function(){};b.addEventListener(\"test\",e,d);b.removeEventListener(\"test\",e,d)}catch(f){c=!1}fc=c}return c||!1}var fc=void 0;function gc(b){b=new Uint8Array(b);if((new DataView(b.buffer,b.byteOffset,b.byteLength)).getUint32(0,!0)+4!=b.byteLength)throw new RangeError(\"Malformed FairPlay init data\");b=hc(b.subarray(4),!0);return(new ib(b)).sa}A(\"shaka.util.FairPlayUtils.defaultGetContentId\",gc);\nfunction ic(b,c,d){function e(b){(new DataView(g.buffer)).setUint32(h,b.byteLength,!0);h+=4;f(b)}function f(b){g.set(b,h);h+=b.byteLength}if(!d||!d.byteLength)throw new D(2,6,6015);c=\"string\"==typeof c?new Uint8Array(jc(c,!0)):new Uint8Array(c);var g=new Uint8Array(8+b.byteLength+c.byteLength+d.byteLength),h=0;f(new Uint8Array(b));e(c);e(new Uint8Array(d));return g}A(\"shaka.util.FairPlayUtils.initDataTransform\",ic);function kc(b,c){for(var d=[],e=r(b),f=e.next();!f.done;f=e.next())d.push(c(f.value));return d}function lc(b,c){for(var d=r(b),e=d.next();!e.done;e=d.next())if(!c(e.value))return!1;return!0};function mc(b){var c=new Map;Object.keys(b).forEach(function(d){c.set(d,b[d])});return c}function nc(b){var c={};b.forEach(function(b,e){c[e]=b});return c};function oc(b,c){var d=b;c&&(d+='; codecs=\"'+c+'\"');return d}function pc(b){var c=[b.mimeType];qc.forEach(function(d,e){var f=b[e];f&&c.push(d+'=\"'+f+'\"')});return c.join(\";\")}function rc(b){b=b.split(\".\");var c=b[0];b.pop();return[c,b.join(\".\")]}var qc=(new Map).set(\"codecs\",\"codecs\").set(\"frameRate\",\"framerate\").set(\"bandwidth\",\"bitrate\").set(\"width\",\"width\").set(\"height\",\"height\").set(\"channelsCount\",\"channels\");function sc(){return window.MediaSource&&MediaSource.isTypeSupported?!0:!1}function tc(b){return\"\"!=uc().canPlayType(b)}function vc(){return!!navigator.vendor&&navigator.vendor.includes(\"Apple\")&&!wc(\"Tizen\")}function xc(){if(!vc())return null;var b=navigator.userAgent.match(/Version\\/(\\d+)/);return b?parseInt(b[1],10):(b=navigator.userAgent.match(/OS (\\d+)(?:_\\d+)?/))?parseInt(b[1],10):null}function wc(b){return(navigator.userAgent||\"\").includes(b)}\nfunction uc(){if(yc)return yc;zc||(zc=new C(function(){yc=null}));(yc=document.querySelector(\"video\")||document.querySelector(\"audio\"))||(yc=document.createElement(\"video\"));zc.R(1);return yc}var zc=null,yc=null;function Bc(b){if(!b)return\"\";b=new Uint8Array(b);239==b[0]&&187==b[1]&&191==b[2]&&(b=b.subarray(3));b=Cc(b);b=escape(b);try{return decodeURIComponent(b)}catch(c){throw new D(2,2,2004);}}A(\"shaka.util.StringUtils.fromUTF8\",Bc);\nfunction hc(b,c,d){if(!b)return\"\";if(!d&&0!=b.byteLength%2)throw new D(2,2,2004);if(b instanceof ArrayBuffer)var e=b;else d=new Uint8Array(b.byteLength),d.set(new Uint8Array(b)),e=d.buffer;b=Math.floor(b.byteLength/2);d=new Uint16Array(b);e=new DataView(e);for(var f=0;f<b;f++)d[f]=e.getUint16(2*f,c);return Cc(d)}A(\"shaka.util.StringUtils.fromUTF16\",hc);\nfunction Dc(b){var c=new Uint8Array(b);if(239==c[0]&&187==c[1]&&191==c[2])return Bc(c);if(254==c[0]&&255==c[1])return hc(c.subarray(2),!1);if(255==c[0]&&254==c[1])return hc(c.subarray(2),!0);var d=function(b,c){return b.byteLength<=c||32<=b[c]&&126>=b[c]}.bind(null,c);if(0==c[0]&&0==c[2])return hc(b,!1);if(0==c[1]&&0==c[3])return hc(b,!0);if(d(0)&&d(1)&&d(2)&&d(3))return Bc(b);throw new D(2,2,2003);}A(\"shaka.util.StringUtils.fromBytesAutoDetect\",Dc);\nfunction Ec(b){b=encodeURIComponent(b);b=unescape(b);for(var c=new Uint8Array(b.length),d=0;d<b.length;++d)c[d]=b.charCodeAt(d);return c.buffer}A(\"shaka.util.StringUtils.toUTF8\",Ec);function jc(b,c){for(var d=new Uint8Array(2*b.length),e=new DataView(d.buffer),f=0;f<b.length;++f)e.setUint16(2*f,b.charCodeAt(f),c);return d.buffer}A(\"shaka.util.StringUtils.toUTF16\",jc);\nfunction Cc(b){if(!Fc)for(var c=function(b){try{var c=new Uint8Array(b);return 0<String.fromCharCode.apply(null,c).length}catch(g){return!1}},d={size:65536};0<d.size;d={size:d.size},d.size/=2)if(c(d.size)){Fc=function(b){return function(c){for(var d=\"\",e=0;e<c.length;e+=b.size)d+=String.fromCharCode.apply(null,c.subarray(e,e+b.size));return d}}(d);break}return Fc(b)}var Fc=null;A(\"shaka.util.StringUtils.resetFromCharCode\",function(){Fc=null});var L={zc:function(b,c){var d=Cc(b);c=void 0==c?!0:c;d=window.btoa(d).replace(/\\+/g,\"-\").replace(/\\//g,\"_\");return c?d:d.replace(/=*$/,\"\")}};A(\"shaka.util.Uint8ArrayUtils.toBase64\",L.zc);L.Ba=function(b){b=window.atob(b.replace(/-/g,\"+\").replace(/_/g,\"/\"));for(var c=new Uint8Array(b.length),d=0;d<b.length;++d)c[d]=b.charCodeAt(d);return c};A(\"shaka.util.Uint8ArrayUtils.fromBase64\",L.Ba);\nL.Qc=function(b){for(var c=new Uint8Array(b.length/2),d=0;d<b.length;d+=2)c[d/2]=window.parseInt(b.substr(d,2),16);return c};A(\"shaka.util.Uint8ArrayUtils.fromHex\",L.Qc);L.Ac=function(b){for(var c=\"\",d=0;d<b.length;++d){var e=b[d].toString(16);1==e.length&&(e=\"0\"+e);c+=e}return c};A(\"shaka.util.Uint8ArrayUtils.toHex\",L.Ac);L.za=function(b,c){if(!b&&!c)return!0;if(!b||!c||b.length!=c.length)return!1;for(var d=0;d<b.length;++d)if(b[d]!=c[d])return!1;return!0};A(\"shaka.util.Uint8ArrayUtils.equal\",L.za);\nL.concat=function(b){for(var c=[],d=0;d<arguments.length;++d)c[d]=arguments[d];for(var e=d=0;e<c.length;++e)d+=c[e].length;d=new Uint8Array(d);for(var f=e=0;f<c.length;++f)d.set(c[f],e),e+=c[f].length;return d};A(\"shaka.util.Uint8ArrayUtils.concat\",L.concat);function Gc(b){var c=this;this.B=b;this.u=new Set;this.h=this.l=null;this.S=!1;this.K=0;this.a=null;this.i=new K;this.b=new Map;this.s=[];this.m=new F;this.f=null;this.g=function(d){c.m.reject(d);b.onError(d)};this.pa=new Map;this.W=new Map;this.O=new C(function(){return Hc(c)});this.c=!1;this.na=new F;this.D=!1;this.F=[];this.oa=!1;this.$=(new C(function(){Ic(c)})).Na(1);this.m[\"catch\"](function(){})}q=Gc.prototype;\nq.destroy=function(){var b=this;return t(function d(){return z(d,function(d){switch(d.j){case 1:if(b.c)return u(d,b.na,0);b.c=!0;return u(d,Jc(b),4);case 4:b.na.resolve(),d.A(0)}})})};\nfunction Jc(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:return b.i.release(),b.i=null,b.m.reject(),b.$.stop(),b.$=null,b.O.stop(),b.O=null,u(d,Kc(b),2);case 2:if(!b.h){d.A(3);break}za(d,4);return u(d,b.h.setMediaKeys(null),6);case 6:Ba(d,5);break;case 4:Ca(d);case 5:b.h=null;case 3:b.a=null,b.u.clear(),b.l=null,b.s=[],b.f=null,b.g=null,b.B=null,w(d)}})})}q.configure=function(b){this.f=b};function Lc(b,c,d){b.s=[];b.D=d;return Mc(b,c)}\nfunction Nc(b,c,d){b.s=d;b.D=0<d.length;return Mc(b,c)}function Oc(b,c,d,e,f,g){var h=new Map;h.set(c,{audioCapabilities:f,videoCapabilities:g,distinctiveIdentifier:\"optional\",persistentState:\"required\",sessionTypes:[\"persistent-license\"],label:c,drmInfos:[{keySystem:c,licenseServerUri:d,distinctiveIdentifierRequired:!1,persistentStateRequired:!0,audioRobustness:\"\",videoRobustness:\"\",serverCertificate:e,initData:null,keyIds:null}]});return Pc(b,h)}\nfunction Mc(b,c){var d=Qc(b);if(d)for(var e=r(c),f=e.next();!f.done;f=e.next())f.value.drmInfos=[d];d=c.some(function(b){return 0<b.drmInfos.length});d||(f=mc(b.f.servers),Rc(c,f));e=r(c);for(f=e.next();!f.done;f=e.next()){f=r(f.value.drmInfos);for(var g=f.next();!g.done;g=f.next())Sc(g.value,mc(b.f.servers),mc(b.f.advanced||{}))}f=Tc(b,c);if(!f.size)return b.S=!0,Promise.resolve();f=Pc(b,f);return d?f:f[\"catch\"](function(){})}\nq.Hb=function(b){var c=this;if(!this.l)return this.i.da(b,\"encrypted\",function(){c.g(new D(2,6,6010))}),Promise.resolve();this.h=b;this.i.da(this.h,\"play\",function(){for(var b=0;b<c.F.length;b++)Uc(c,c.F[b]);c.oa=!0;c.F=[]});\"webkitCurrentPlaybackTargetIsWireless\"in this.h&&this.i.w(this.h,\"webkitcurrentplaybacktargetiswirelesschanged\",function(){return Kc(c)});b=this.h.setMediaKeys(this.l);b=b[\"catch\"](function(b){return Promise.reject(new D(2,6,6003,b.message))});var d=Vc(this);return Promise.all([b,\nd]).then(function(){if(c.c)return Promise.reject();Wc(c);c.a.initData.length||c.s.length||c.i.w(c.h,\"encrypted\",function(b){return Xc(c,b.initDataType,new Uint8Array(b.initData))})})[\"catch\"](function(b){if(!c.c)return Promise.reject(b)})};\nfunction Vc(b){return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:if(!(b.l&&b.a&&b.a.serverCertificate&&b.a.serverCertificate.length)){d.A(0);break}za(d,3);return u(d,b.l.setServerCertificate(b.a.serverCertificate),5);case 5:Ba(d,0);break;case 3:return e=Ca(d),d[\"return\"](Promise.reject(new D(2,6,6004,e.message)))}})})}\nfunction Yc(b,c){return t(function e(){var f,g,h;return z(e,function(e){switch(e.j){case 1:return u(e,Zc(b,c),2);case 2:f=e.o;if(!f)return e[\"return\"]();g=[];if(h=b.b.get(f))h.ya=new F,g.push(h.ya);g.push(f.remove());return u(e,Promise.all(g),0)}})})}function Wc(b){var c=b.a?b.a.initData:[];c.forEach(function(c){return $c(b,c.initDataType,c.initData)});b.s.forEach(function(c){return Zc(b,c)});c.length||b.s.length||b.m.resolve();return b.m}\nfunction Xc(b,c,d){var e=b.b.values();e=r(e);for(var f=e.next();!f.done;f=e.next())if(L.za(d,f.value.initData)&&!wc(\"Tizen 2\"))return;$c(b,c,d)}function ad(b){return b?b.keySystem:\"\"}function bd(b,c){return wc(\"Edge/\")?!0:b.u.has(c)}function cd(b){b=b.b.keys();b=kc(b,function(b){return b.sessionId});return Array.from(b)}q.Lb=function(){var b=Infinity,c=this.b.keys();c=r(c);for(var d=c.next();!d.done;d=c.next())d=d.value,isNaN(d.expiration)||(b=Math.min(b,d.expiration));return b};\nfunction Tc(b,c){for(var d=new Set,e=r(c),f=e.next();!f.done;f=e.next()){var g=r(f.value.drmInfos);for(f=g.next();!f.done;f=g.next())d.add(f.value)}e=r(d);for(f=e.next();!f.done;f=e.next())Sc(f.value,mc(b.f.servers),mc(b.f.advanced||{}));g=b.D?\"required\":\"optional\";var h=b.D?[\"persistent-license\"]:[\"temporary\"];e=new Map;d=r(d);for(f=d.next();!f.done;f=d.next())f=f.value,e.set(f.keySystem,{audioCapabilities:[],videoCapabilities:[],distinctiveIdentifier:\"optional\",persistentState:g,sessionTypes:h,\nlabel:f.keySystem,drmInfos:[]});d=r(c);for(f=d.next();!f.done;f=d.next()){f=f.value;g=f.audio;h=f.video;var k=g?oc(g.mimeType,g.codecs):\"\",l=h?oc(h.mimeType,h.codecs):\"\",m=r(f.drmInfos);for(f=m.next();!f.done;f=m.next()){f=f.value;var n=e.get(f.keySystem);n.drmInfos.push(f);f.distinctiveIdentifierRequired&&(n.distinctiveIdentifier=\"required\");f.persistentStateRequired&&(n.persistentState=\"required\");g&&n.audioCapabilities.push({robustness:f.audioRobustness||\"\",contentType:k});h&&n.videoCapabilities.push({robustness:f.videoRobustness||\n\"\",contentType:l})}}return e}\nfunction Pc(b,c){if(1==c.size&&c.has(\"\"))return Promise.reject(new D(2,6,6E3));for(var d=r(c.values()),e=d.next();!e.done;e=d.next())e=e.value,0==e.audioCapabilities.length&&delete e.audioCapabilities,0==e.videoCapabilities.length&&delete e.videoCapabilities;var f=d=new F;[!0,!1].forEach(function(b){var d=this;c.forEach(function(c,e){c.drmInfos.some(function(b){return!!b.licenseServerUri})==b&&(f=f[\"catch\"](function(){if(!this.c)return navigator.requestMediaKeySystemAccess(e,[c])}.bind(d)))})}.bind(b));\nf=f[\"catch\"](function(){return Promise.reject(new D(2,6,6001))});f=f.then(function(b){if(this.c)return Promise.reject();this.u.clear();var d=b.getConfiguration(),e=d.videoCapabilities||[],f=r(d.audioCapabilities||[]);for(d=f.next();!d.done;d=f.next())this.u.add(d.value.contentType);e=r(e);for(d=e.next();!d.done;d=e.next())this.u.add(d.value.contentType);e=b.keySystem;d=c.get(b.keySystem);f=[];var g=[],n=[],p=[];dd(d.drmInfos,f,g,n,p);this.a={keySystem:e,licenseServerUri:f[0],distinctiveIdentifierRequired:\"required\"==\nd.distinctiveIdentifier,persistentStateRequired:\"required\"==d.persistentState,audioRobustness:(d.audioCapabilities?d.audioCapabilities[0].robustness:\"\")||\"\",videoRobustness:(d.videoCapabilities?d.videoCapabilities[0].robustness:\"\")||\"\",serverCertificate:g[0],initData:n,keyIds:p};return this.a.licenseServerUri?b.createMediaKeys():Promise.reject(new D(2,6,6012,this.a.keySystem))}.bind(b)).then(function(b){if(this.c)return Promise.reject();this.l=b;this.S=!0}.bind(b))[\"catch\"](function(b){if(!this.c)return this.a=\nnull,this.u.clear(),b instanceof D?Promise.reject(b):Promise.reject(new D(2,6,6002,b.message))}.bind(b));d.reject();return f}\nfunction Qc(b){b=mc(b.f.clearKeys);if(0==b.size)return null;var c=[],d=[];b.forEach(function(b,e){var f=L.Qc(e),g=L.Qc(b);f={kty:\"oct\",kid:L.zc(f,!1),k:L.zc(g,!1)};c.push(f);d.push(f.kid)});b=JSON.stringify({keys:c});var e=JSON.stringify({kids:d});e=[{initData:new Uint8Array(Ec(e)),initDataType:\"keyids\"}];return{keySystem:\"org.w3.clearkey\",licenseServerUri:\"data:application/json;base64,\"+window.btoa(b),distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:\"\",videoRobustness:\"\",\nserverCertificate:null,initData:e,keyIds:[]}}\nfunction Zc(b,c){try{var d=b.l.createSession(\"persistent-license\")}catch(g){var e=new D(2,6,6005,g.message);b.g(e);return Promise.reject(e)}b.i.w(d,\"message\",b.fe.bind(b));b.i.w(d,\"keystatuseschange\",b.de.bind(b));var f={initData:null,loaded:!1,hd:Infinity,ya:null};b.b.set(d,f);return d.load(c).then(function(b){if(this.c)return Promise.reject();if(b)return f.loaded=!0,ed(this)&&this.m.resolve(),d;this.b[\"delete\"](d);this.g(new D(2,6,6013))}.bind(b),function(b){this.c||(this.b[\"delete\"](d),this.g(new D(2,\n6,6005,b.message)))}.bind(b))}\nfunction $c(b,c,d){try{var e=b.D?b.l.createSession(\"persistent-license\"):b.l.createSession()}catch(f){b.g(new D(2,6,6005,f.message));return}b.i.w(e,\"message\",b.fe.bind(b));b.i.w(e,\"keystatuseschange\",b.de.bind(b));b.b.set(e,{initData:d,loaded:!1,hd:Infinity,ya:null});try{d=b.f.initDataTransform(d,b.a)}catch(f){c=f;f instanceof D||(c=new D(2,6,6016,f));b.g(c);return}e.generateRequest(c,d.buffer)[\"catch\"](function(c){if(!b.c){b.b[\"delete\"](e);if(c.errorCode&&c.errorCode.systemCode){var d=c.errorCode.systemCode;\n0>d&&(d+=Math.pow(2,32));d=\"0x\"+d.toString(16)}b.g(new D(2,6,6006,c.message,c,d))}})}function fd(b,c){if(ad(c).startsWith(\"com.apple.fps\")){var d=c.serverCertificate,e=gc(b);b=ic(b,e,d)}return b}q.fe=function(b){this.h&&this.f.delayLicenseRequestUntilPlayed&&this.h.paused&&!this.oa?this.F.push(b):Uc(this,b)};\nfunction Uc(b,c){var d=c.target,e=b.b.get(d),f=b.a.licenseServerUri,g=b.f.advanced[b.a.keySystem];\"individualization-request\"==c.messageType&&g&&g.individualizationServer&&(f=g.individualizationServer);f=Wb([f],b.f.retryParameters);f.body=c.message;f.method=\"POST\";f.licenseRequestType=c.messageType;f.sessionId=d.sessionId;\"com.microsoft.playready\"!=b.a.keySystem&&\"com.chromecast.playready\"!=b.a.keySystem||gd(f);b.a.keySystem.startsWith(\"com.apple.fps\")&&b.f.fairPlayTransform&&hd(f);var h=Date.now();\nb.B.ub.request(2,f).promise.then(function(b){if(this.c)return Promise.reject();this.a.keySystem.startsWith(\"com.apple.fps\")&&this.f.fairPlayTransform&&id(b);this.K+=(Date.now()-h)/1E3;return d.update(b.data).then(function(){var b=this;this.B.onEvent(new I(\"drmsessionupdate\"));e&&(e.ya&&e.ya.resolve(),(new C(function(){e.loaded=!0;ed(b)&&b.m.resolve()})).R(jd))}.bind(this))}.bind(b),function(b){this.c||(b=new D(2,6,6007,b),this.g(b),e&&e.ya&&e.ya.reject(b))}.bind(b))[\"catch\"](function(b){this.c||(b=\nnew D(2,6,6008,b.message),this.g(b),e&&e.ya&&e.ya.reject(b))}.bind(b))}function gd(b){var c=hc(b.body,!0,!0);if(c.includes(\"PlayReadyKeyMessage\")){c=(new DOMParser).parseFromString(c,\"application/xml\");for(var d=c.getElementsByTagName(\"HttpHeader\"),e=0;e<d.length;++e)b.headers[d[e].querySelector(\"name\").textContent]=d[e].querySelector(\"value\").textContent;b.body=L.Ba(c.querySelector(\"Challenge\").textContent).buffer}else b.headers[\"Content-Type\"]=\"text/xml; charset=utf-8\"}\nfunction hd(b){var c=new Uint8Array(b.body);c=\"spc=\"+L.zc(c);b.headers[\"Content-Type\"]=\"application/x-www-form-urlencoded\";b.body=Ec(c)}function id(b){try{var c=Bc(b.data)}catch(d){return}c=c.trim();\"<ckc>\"===c.substr(0,5)&&\"</ckc>\"===c.substr(-6)&&(c=c.slice(5,-6));try{c=JSON.parse(c).ckc}catch(d){}b.data=L.Ba(c).buffer}\nq.de=function(b){b=b.target;var c=this.b.get(b),d=!1;b.keyStatuses.forEach(function(b,e){if(\"string\"==typeof e){var f=e;e=b;b=f}if(\"com.microsoft.playready\"==this.a.keySystem&&16==e.byteLength&&!wc(\"Tizen\")&&!wc(\"VITIS\")){f=new DataView(e);var g=f.getUint32(0,!0),l=f.getUint16(4,!0),m=f.getUint16(6,!0);f.setUint32(0,g,!1);f.setUint16(4,l,!1);f.setUint16(6,m,!1)}\"com.microsoft.playready\"==this.a.keySystem&&\"status-pending\"==b&&(b=\"usable\");\"status-pending\"!=b&&(c.loaded=!0);\"expired\"==b&&(d=!0);f=\nL.Ac(new Uint8Array(e));this.pa.set(f,b)}.bind(this));var e=b.expiration-Date.now();(0>e||d&&1E3>e)&&c&&!c.ya&&(this.b[\"delete\"](b),b.close()[\"catch\"](function(){}));ed(this)&&(this.m.resolve(),this.O.R(kd))};function Hc(b){var c=b.pa,d=b.W;d.clear();c.forEach(function(b,c){return d.set(c,b)});c=Array.from(d.values());c.length&&c.every(function(b){return\"expired\"==b})&&b.g(new D(2,6,6014));b.B.qc(nc(d))}\nfunction ld(){function b(b){return t(function h(){var c,f,m;return z(h,function(h){switch(h.j){case 1:return za(h,2),u(h,navigator.requestMediaKeySystemAccess(b,d),4);case 4:return c=h.o,m=(f=c.getConfiguration().sessionTypes)?f.includes(\"persistent-license\"):!1,wc(\"Tizen 3\")&&(m=!1),e.set(b,{persistentState:m}),u(h,c.createMediaKeys(),5);case 5:Ba(h,0);break;case 2:Ca(h),e.set(b,null),w(h)}})})}var c=[{contentType:'video/mp4; codecs=\"avc1.42E01E\"'},{contentType:'video/webm; codecs=\"vp8\"'}],d=[{videoCapabilities:c,\npersistentState:\"required\",sessionTypes:[\"persistent-license\"]},{videoCapabilities:c}],e=new Map;c=\"org.w3.clearkey com.widevine.alpha com.microsoft.playready com.apple.fps.3_0 com.apple.fps.2_0 com.apple.fps.1_0 com.apple.fps com.adobe.primetime\".split(\" \").map(function(c){return b(c)});return Promise.all(c).then(function(){return nc(e)})}\nfunction md(b,c){var d=c.audio,e=c.video;if(d&&d.encrypted&&!bd(b,oc(d.mimeType,d.codecs))||e&&e.encrypted&&!bd(b,oc(e.mimeType,e.codecs)))return!1;var f=ad(b.a);return 0==c.drmInfos.length||c.drmInfos.some(function(b){return b.keySystem==f})}\nfunction nd(b,c){if(!b.length)return c;if(!c.length)return b;for(var d=[],e=0;e<b.length;e++)for(var f=0;f<c.length;f++)if(b[e].keySystem==c[f].keySystem){var g=b[e];f=c[f];var h=[];h=h.concat(g.initData||[]);h=h.concat(f.initData||[]);var k=[];k=k.concat(g.keyIds);k=k.concat(f.keyIds);d.push({keySystem:g.keySystem,licenseServerUri:g.licenseServerUri||f.licenseServerUri,distinctiveIdentifierRequired:g.distinctiveIdentifierRequired||f.distinctiveIdentifierRequired,persistentStateRequired:g.persistentStateRequired||\nf.persistentStateRequired,videoRobustness:g.videoRobustness||f.videoRobustness,audioRobustness:g.audioRobustness||f.audioRobustness,serverCertificate:g.serverCertificate||f.serverCertificate,initData:h,keyIds:k});break}return d}\nfunction Kc(b){return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:return e=Array.from(b.b.keys()),b.b.clear(),u(d,Promise.all(e.map(function(b){return t(function k(){return z(k,function(d){switch(d.j){case 1:return za(d,2),u(d,Promise.all([b.close(),b.closed]),4);case 4:Ba(d,0);break;case 2:Ca(d),w(d)}})})})),0)}})})}function Ic(b){b.b.forEach(function(c,d){var e=c.hd,f=d.expiration;isNaN(f)&&(f=Infinity);f!=e&&(b.B.onExpirationUpdated(d.sessionId,f),c.hd=f)})}\nfunction ed(b){b=b.b.values();return lc(b,function(b){return b.loaded})}function Rc(b,c){var d=[];c.forEach(function(b,c){d.push({keySystem:c,licenseServerUri:b,distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:\"\",videoRobustness:\"\",serverCertificate:null,initData:[],keyIds:[]})});for(var e=r(b),f=e.next();!f.done;f=e.next())f.value.drmInfos=d}\nfunction dd(b,c,d,e,f){b.forEach(function(b){c.includes(b.licenseServerUri)||c.push(b.licenseServerUri);b.serverCertificate&&(d.some(function(c){return L.za(c,b.serverCertificate)})||d.push(b.serverCertificate));b.initData&&b.initData.forEach(function(b){e.some(function(c){return c.keyId&&c.keyId==b.keyId?!0:c.initDataType==b.initDataType&&L.za(c.initData,b.initData)})||e.push(b)});if(b.keyIds)for(var g=0;g<b.keyIds.length;++g)f.includes(b.keyIds[g])||f.push(b.keyIds[g])})}\nfunction Sc(b,c,d){if(b.keySystem&&(\"org.w3.clearkey\"!=b.keySystem||!b.licenseServerUri)){c.size&&(c=c.get(b.keySystem)||\"\",b.licenseServerUri=c);b.keyIds||(b.keyIds=[]);if(d=d.get(b.keySystem))b.distinctiveIdentifierRequired||(b.distinctiveIdentifierRequired=d.distinctiveIdentifierRequired),b.persistentStateRequired||(b.persistentStateRequired=d.persistentStateRequired),b.videoRobustness||(b.videoRobustness=d.videoRobustness),b.audioRobustness||(b.audioRobustness=d.audioRobustness),b.serverCertificate||\n(b.serverCertificate=d.serverCertificate);window.cast&&window.cast.__platform__&&\"com.microsoft.playready\"==b.keySystem&&(b.keySystem=\"com.chromecast.playready\")}}var jd=5,kd=.5;function od(){this.a=new muxjs.mp4.CaptionParser;this.g=[];this.f={}}od.prototype.init=function(b){var c=muxjs.mp4.probe;b=new Uint8Array(b);this.g=c.videoTrackIds(b);this.f=c.timescale(b);this.a.init()};od.prototype.b=function(b,c){var d=new Uint8Array(b);(d=this.a.parse(d,this.g,this.f))&&d.captions&&c(d.captions);this.a.clearParsedCaptions()};od.prototype.c=function(){this.a.resetCaptionStream()};function pd(){}pd.prototype.init=function(){};pd.prototype.b=function(){};pd.prototype.c=function(){};function qd(b){return!b||1==b.length&&1E-6>b.end(0)-b.start(0)?null:b.length?b.end(b.length-1):null}function rd(b,c,d){d=void 0===d?0:d;return!b||!b.length||1==b.length&&1E-6>b.end(0)-b.start(0)||c>b.end(b.length-1)?!1:c+d>=b.start(0)}function sd(b,c){if(!b||!b.length||1==b.length&&1E-6>b.end(0)-b.start(0))return 0;for(var d=0,e=b.length-1;0<=e&&b.end(e)>c;--e)d+=b.end(e)-Math.max(b.start(e),c);return d}\nfunction td(b){if(!b)return[];for(var c=[],d=0;d<b.length;d++)c.push({start:b.start(d),end:b.end(d)});return c};var ud={Ke:function(b,c){return b.reduce(function(b,c,f){return c[\"catch\"](b.bind(null,f))}.bind(null,c),Promise.reject())},Gc:function(b,c){return b.concat(c)},oc:function(){},Ia:function(b){return null!=b}};function vd(b,c){if(0==c.length)return b;var d=c.map(function(b){return new ib(b)});return b.map(function(b){return new ib(b)}).map(function(b){return d.map(b.resolve.bind(b))}).reduce(ud.Gc,[]).map(function(b){return b.toString()})}function wd(b,c){return{keySystem:b,licenseServerUri:\"\",distinctiveIdentifierRequired:!1,persistentStateRequired:!1,audioRobustness:\"\",videoRobustness:\"\",serverCertificate:null,initData:c||[],keyIds:[]}}\nvar xd={Pa:\"video\",Eb:\"audio\",ra:\"text\",Cg:\"image\",Ag:\"application\"},yd=1/15;function Bd(){this.a=new muxjs.mp4.Transmuxer({keepOriginalTimestamps:!0});this.b=null;this.g=[];this.c=[];this.f=!1;this.a.on(\"data\",this.i.bind(this));this.a.on(\"done\",this.h.bind(this))}Bd.prototype.destroy=function(){this.a.dispose();this.a=null;return Promise.resolve()};function Cd(b,c){return window.muxjs&&\"mp2t\"==b.toLowerCase().split(\";\")[0].split(\"/\")[1]?c?MediaSource.isTypeSupported(Dd(c,b)):MediaSource.isTypeSupported(Dd(\"audio\",b))||MediaSource.isTypeSupported(Dd(\"video\",b)):!1}\nfunction Dd(b,c){var d=c.replace(/mp2t/i,\"mp4\");\"audio\"==b&&(d=d.replace(\"video\",\"audio\"));var e=/avc1\\.(66|77|100)\\.(\\d+)/.exec(d);if(e){var f=\"avc1.\",g=e[1],h=Number(e[2]);f=(\"66\"==g?f+\"4200\":\"77\"==g?f+\"4d00\":f+\"6400\")+(h>>4).toString(16);f+=(h&15).toString(16);d=d.replace(e[0],f)}return d}function Ed(b,c){b.f=!0;b.b=new F;b.g=[];b.c=[];var d=new Uint8Array(c);b.a.push(d);b.a.flush();b.f&&b.b.reject(new D(2,3,3018));return b.b}\nBd.prototype.i=function(b){this.c=b.captions;var c=new Uint8Array(b.data.byteLength+b.initSegment.byteLength);c.set(b.initSegment,0);c.set(b.data,b.initSegment.byteLength);this.g.push(c)};Bd.prototype.h=function(){var b={data:L.concat.apply(null,this.g),captions:this.c};this.b.resolve(b);this.f=!1};function Fd(b,c,d){this.startTime=b;this.direction=Gd;this.endTime=c;this.payload=d;this.region=new Hd;this.position=null;this.positionAlign=Id;this.size=100;this.textAlign=Jd;this.writingMode=Kd;this.lineInterpretation=Ld;this.line=null;this.lineHeight=\"\";this.lineAlign=Md;this.displayAlign=Nd;this.fontSize=this.backgroundImage=this.backgroundColor=this.color=\"\";this.fontWeight=Od;this.fontStyle=Pd;this.fontFamily=\"\";this.textDecoration=[];this.wrapLine=!0;this.id=\"\";this.nestedCues=[];this.spacer=\n!1}A(\"shaka.text.Cue\",Fd);var Id=\"auto\";Fd.positionAlign={LEFT:\"line-left\",RIGHT:\"line-right\",CENTER:\"center\",AUTO:Id};var Jd=\"center\",Qd={LEFT:\"left\",RIGHT:\"right\",CENTER:Jd,START:\"start\",END:\"end\"};Fd.textAlign=Qd;var Nd=\"after\",Rd={BEFORE:\"before\",CENTER:\"center\",AFTER:Nd};Fd.displayAlign=Rd;var Gd=\"ltr\";Fd.direction={HORIZONTAL_LEFT_TO_RIGHT:Gd,HORIZONTAL_RIGHT_TO_LEFT:\"rtl\"};var Kd=\"horizontal-tb\";Fd.writingMode={HORIZONTAL_TOP_TO_BOTTOM:Kd,VERTICAL_LEFT_TO_RIGHT:\"vertical-lr\",VERTICAL_RIGHT_TO_LEFT:\"vertical-rl\"};\nvar Ld=0;Fd.lineInterpretation={LINE_NUMBER:Ld,PERCENTAGE:1};var Md=\"start\",Sd={CENTER:\"center\",START:Md,END:\"end\"};Fd.lineAlign=Sd;var Od=400;Fd.fontWeight={NORMAL:Od,BOLD:700};var Pd=\"normal\",Td={NORMAL:Pd,ITALIC:\"italic\",OBLIQUE:\"oblique\"};Fd.fontStyle=Td;Fd.textDecoration={UNDERLINE:\"underline\",LINE_THROUGH:\"lineThrough\",OVERLINE:\"overline\"};\nfunction Hd(){this.id=\"\";this.regionAnchorY=this.regionAnchorX=this.viewportAnchorY=this.viewportAnchorX=0;this.height=this.width=100;this.viewportAnchorUnits=this.widthUnits=this.heightUnits=Ud;this.scroll=Vd}A(\"shaka.text.CueRegion\",Hd);var Ud=1;Hd.units={PX:0,PERCENTAGE:Ud,LINES:2};var Vd=\"\";Hd.scrollMode={NONE:Vd,UP:\"up\"};function Wd(b){this.g=null;this.c=b;this.f=this.m=0;this.h=Infinity;this.b=this.a=null;this.l=\"\";this.i=new Map}var Xd={};A(\"shaka.text.TextEngine.registerParser\",function(b,c){Xd[b]=c});A(\"shaka.text.TextEngine.unregisterParser\",function(b){delete Xd[b]});function Yd(b){return Xd[b]||window.muxjs&&\"application/cea-608\"==b?!0:!1}Wd.prototype.destroy=function(){this.c=this.g=null;this.i.clear();return Promise.resolve()};function Zd(b,c){\"application/cea-608\"!=c&&(b.g=new Xd[c])}\nWd.prototype.kc=function(b){var c={periodStart:0,segmentStart:null,segmentEnd:0};try{return this.g.parseMedia(new Uint8Array(b),c)[0].startTime}catch(d){throw new D(2,2,2009,d);}};\nfunction $d(b,c,d,e){return Promise.resolve().then(function(){if(this.g&&this.c)if(null==d||null==e)this.g.parseInit(new Uint8Array(c));else{var b={periodStart:this.m,segmentStart:d,segmentEnd:e};b=this.g.parseMedia(new Uint8Array(c),b).filter(function(b){return b.startTime>=this.f&&b.startTime<this.h}.bind(this));this.c.append(b);null==this.a&&(this.a=Math.max(d,this.f));this.b=Math.min(e,this.h)}}.bind(b))}\nWd.prototype.remove=function(b,c){return Promise.resolve().then(function(){!this.c||!this.c.remove(b,c)||null==this.a||c<=this.a||b>=this.b||(b<=this.a&&c>=this.b?this.a=this.b=null:b<=this.a&&c<this.b?this.a=c:b>this.a&&c>=this.b&&(this.b=b))}.bind(this))};function ae(b,c,d){b.l=c;if(c=b.i.get(c))for(var e=r(c.keys()),f=e.next();!f.done;f=e.next())(f=c.get(f.value).filter(function(b){return b.endTime<=d}))&&b.c.append(f)}\nfunction be(b,c,d,e,f){var g=d+\" \"+e,h=new Map;c=r(c);for(var k=c.next();!k.done;k=c.next()){var l=k.value;k=l.stream;h.has(k)||h.set(k,new Map);h.get(k).has(g)||h.get(k).set(g,[]);l.startTime+=f;l.endTime+=f;l.startTime>=b.f&&l.startTime<b.h&&(l=new Fd(l.startTime,l.endTime,l.text),h.get(k).get(g).push(l),k==b.l&&b.c.append([l]))}f=r(h.keys());for(g=f.next();!g.done;g=f.next())for(g=g.value,b.i.has(g)||b.i.set(g,new Map),c=r(h.get(g).keys()),k=c.next();!k.done;k=c.next())k=k.value,l=h.get(g).get(k),\nb.i.get(g).set(k,l);b.a=null==b.a?Math.max(d,b.f):Math.min(b.a,Math.max(d,b.f));b.b=Math.max(b.b,Math.min(e,b.h))};function ce(b,c,d){this.f=b;this.g=d;this.b={};this.a=null;this.c={};this.i=new K;this.u=!1;this.l={};this.m=c;b=this.s=new F;c=new MediaSource;this.i.da(c,\"sourceopen\",b.resolve);this.f.src=de(c);this.h=c}var de=window.URL.createObjectURL;function ee(b){var c=oc(b.mimeType,b.codecs),d=pc(b);return Yd(c)||MediaSource.isTypeSupported(d)||Cd(c,b.type)}q=ce.prototype;\nq.destroy=function(){var b=this;this.u=!0;var c=[],d;for(d in this.c){var e=this.c[d],f=e[0];this.c[d]=e.slice(0,1);f&&c.push(f.p[\"catch\"](ud.oc));for(f=1;f<e.length;++f)e[f].p.reject()}this.a&&c.push(this.a.destroy());this.g&&c.push(this.g.destroy());for(var g in this.l)c.push(this.l[g].destroy());return Promise.all(c).then(function(){b.i&&(b.i.release(),b.i=null);b.f&&(b.f.removeAttribute(\"src\"),b.f.load(),b.f=null);b.h=null;b.a=null;b.g=null;b.b={};b.l={};b.m=null;b.c={}})};\nq.init=function(b,c){var d=this;return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return g=xd,u(f,d.s,2);case 2:b.forEach(function(b,f){var h=oc(b.mimeType,b.codecs);f==g.ra?fe(d,h):(!c&&MediaSource.isTypeSupported(h)||!Cd(h,f)||(d.l[f]=new Bd,h=Dd(f,h)),h=d.h.addSourceBuffer(h),d.i.w(h,\"error\",d.lg.bind(d,f)),d.i.w(h,\"updateend\",d.xb.bind(d,f)),d.b[f]=h,d.c[f]=[])}),w(f)}})})};function fe(b,c){b.a||(b.a=new Wd(b.g));Zd(b.a,c)}\nfunction ge(b){return b.h?\"ended\"==b.h.readyState:!0}function he(b,c){if(\"text\"==c)var d=b.a.a;else d=ie(b,c),d=!d||1==d.length&&1E-6>d.end(0)-d.start(0)?null:1==d.length&&0>d.start(0)?0:d.length?d.start(0):null;return d}function je(b,c){return\"text\"==c?b.a.b:qd(ie(b,c))}function ke(b,c,d){if(\"text\"==c)return b=b.a,null==b.b||b.b<d?0:b.b-Math.max(d,b.a);b=ie(b,c);return sd(b,d)}\nq.Sc=function(b){b.total=td(this.f.buffered);b.audio=td(ie(this,\"audio\"));b.video=td(ie(this,\"video\"));b.text=[];if(this.a){var c=this.a.a,d=this.a.b;null!=c&&null!=d&&b.text.push({start:c,end:d})}};function ie(b,c){try{return b.b[c].buffered}catch(d){return null}}\nfunction le(b,c,d,e,f,g){if(\"text\"==c)return $d(b.a,d,e,f);if(b.l[c])return Ed(b.l[c],d).then(function(b){this.a||fe(this,\"text/vtt\");b.captions&&b.captions.length&&be(this.a,b.captions,e,f,this.b.video.timestampOffset);return me(this,c,this.re.bind(this,c,b.data.buffer))}.bind(b));g&&window.muxjs&&(b.a||fe(b,\"text/vtt\"),null==e&&null==f?b.m.init(d):b.m.b(d,function(c){c.length&&be(b.a,c,e,f,b.b.video.timestampOffset)}));return me(b,c,b.re.bind(b,c,d))}\nfunction ne(b,c){var d=je(b,\"video\")||0;ae(b.a,c,d)}q.remove=function(b,c,d){return\"text\"==b?this.a.remove(c,d):me(this,b,this.se.bind(this,b,c,d))};function oe(b,c){if(\"text\"==c){if(!b.a)return Promise.resolve();b.m.c();return b.a.remove(0,Infinity)}return me(b,c,b.se.bind(b,c,0,b.h.duration))}q.flush=function(b){return\"text\"==b?Promise.resolve():me(this,b,this.Pe.bind(this,b))};\nfunction pe(b,c,d,e,f){return\"text\"==c?(b.a.m=d,b=b.a,b.f=e,b.h=f,Promise.resolve()):Promise.all([me(b,c,b.Be.bind(b,c)),me(b,c,b.kg.bind(b,c,d)),me(b,c,b.hg.bind(b,c,e,f))])}q.endOfStream=function(b){return qe(this,function(){ge(this)||(b?this.h.endOfStream(b):this.h.endOfStream())}.bind(this))};q.xa=function(b){return qe(this,function(){this.h.duration=b}.bind(this))};q.Y=function(){return this.h.duration};q.re=function(b,c){this.b[b].appendBuffer(c)};\nq.se=function(b,c,d){d<=c?this.xb(b):this.b[b].remove(c,d)};q.Be=function(b){var c=this.b[b].appendWindowStart,d=this.b[b].appendWindowEnd;this.b[b].abort();this.b[b].appendWindowStart=c;this.b[b].appendWindowEnd=d;this.xb(b)};q.Pe=function(b){this.f.currentTime-=.001;this.xb(b)};q.kg=function(b,c){0>c&&(c+=.001);this.b[b].timestampOffset=c;this.xb(b)};q.hg=function(b,c,d){this.b[b].appendWindowStart=0;this.b[b].appendWindowEnd=d;this.b[b].appendWindowStart=c;this.xb(b)};\nq.lg=function(b){this.c[b][0].p.reject(new D(2,3,3014,this.f.error?this.f.error.code:0))};q.xb=function(b){var c=this.c[b][0];c&&(c.p.resolve(),re(this,b))};function me(b,c,d){if(b.u)return Promise.reject();d={start:d,p:new F};b.c[c].push(d);if(1==b.c[c].length)try{d.start()}catch(e){\"QuotaExceededError\"==e.name?d.p.reject(new D(2,3,3017,c)):d.p.reject(new D(2,3,3015,e)),re(b,c)}return d.p}\nfunction qe(b,c){if(b.u)return Promise.reject();var d=[],e;for(e in b.b){var f=new F,g={start:function(b){b.resolve()}.bind(null,f),p:f};b.c[e].push(g);d.push(f);1==b.c[e].length&&g.start()}return Promise.all(d).then(function(){try{c()}catch(l){var b=Promise.reject(new D(2,3,3015,l))}for(var d in this.b)re(this,d);return b}.bind(b),function(b){throw b;}.bind(b))}function re(b,c){b.c[c].shift();var d=b.c[c][0];if(d)try{d.start()}catch(e){d.p.reject(new D(2,3,3015,e)),re(b,c)}};function se(b,c){b=M(b);c=M(c);return b.split(\"-\")[0]==c.split(\"-\")[0]}function te(b,c){b=M(b);c=M(c);var d=b.split(\"-\"),e=c.split(\"-\");return d[0]==e[0]&&1==d.length&&2==e.length}function M(b){var c=b.split(\"-\");b=c[0]||\"\";c=c[1]||\"\";b=b.toLowerCase();b=ue.get(b)||b;return(c=c.toUpperCase())?b+\"-\"+c:b}function ve(b){return b.language?M(b.language):b.audio&&b.audio.language?M(b.audio.language):b.video&&b.video.language?M(b.video.language):\"und\"}\nfunction we(b,c){for(var d=M(b),e=new Set,f=r(c),g=f.next();!g.done;g=f.next())e.add(M(g.value));f=r(e);for(g=f.next();!g.done;g=f.next())if(g=g.value,g==d)return g;f=r(e);for(g=f.next();!g.done;g=f.next())if(g=g.value,te(g,d))return g;f=r(e);for(g=f.next();!g.done;g=f.next()){var h=g=g.value,k=d;h=M(h);k=M(k);h=h.split(\"-\");k=k.split(\"-\");if(2==h.length&&2==k.length&&h[0]==k[0])return g}e=r(e);for(g=e.next();!g.done;g=e.next())if(f=g.value,te(d,f))return f;return null}\nvar ue=new Map([[\"aar\",\"aa\"],[\"abk\",\"ab\"],[\"afr\",\"af\"],[\"aka\",\"ak\"],[\"alb\",\"sq\"],[\"amh\",\"am\"],[\"ara\",\"ar\"],[\"arg\",\"an\"],[\"arm\",\"hy\"],[\"asm\",\"as\"],[\"ava\",\"av\"],[\"ave\",\"ae\"],[\"aym\",\"ay\"],[\"aze\",\"az\"],[\"bak\",\"ba\"],[\"bam\",\"bm\"],[\"baq\",\"eu\"],[\"bel\",\"be\"],[\"ben\",\"bn\"],[\"bih\",\"bh\"],[\"bis\",\"bi\"],[\"bod\",\"bo\"],[\"bos\",\"bs\"],[\"bre\",\"br\"],[\"bul\",\"bg\"],[\"bur\",\"my\"],[\"cat\",\"ca\"],[\"ces\",\"cs\"],[\"cha\",\"ch\"],[\"che\",\"ce\"],[\"chi\",\"zh\"],[\"chu\",\"cu\"],[\"chv\",\"cv\"],[\"cor\",\"kw\"],[\"cos\",\"co\"],[\"cre\",\"cr\"],[\"cym\",\"cy\"],[\"cze\",\n\"cs\"],[\"dan\",\"da\"],[\"deu\",\"de\"],[\"div\",\"dv\"],[\"dut\",\"nl\"],[\"dzo\",\"dz\"],[\"ell\",\"el\"],[\"eng\",\"en\"],[\"epo\",\"eo\"],[\"est\",\"et\"],[\"eus\",\"eu\"],[\"ewe\",\"ee\"],[\"fao\",\"fo\"],[\"fas\",\"fa\"],[\"fij\",\"fj\"],[\"fin\",\"fi\"],[\"fra\",\"fr\"],[\"fre\",\"fr\"],[\"fry\",\"fy\"],[\"ful\",\"ff\"],[\"geo\",\"ka\"],[\"ger\",\"de\"],[\"gla\",\"gd\"],[\"gle\",\"ga\"],[\"glg\",\"gl\"],[\"glv\",\"gv\"],[\"gre\",\"el\"],[\"grn\",\"gn\"],[\"guj\",\"gu\"],[\"hat\",\"ht\"],[\"hau\",\"ha\"],[\"heb\",\"he\"],[\"her\",\"hz\"],[\"hin\",\"hi\"],[\"hmo\",\"ho\"],[\"hrv\",\"hr\"],[\"hun\",\"hu\"],[\"hye\",\"hy\"],[\"ibo\",\"ig\"],[\"ice\",\n\"is\"],[\"ido\",\"io\"],[\"iii\",\"ii\"],[\"iku\",\"iu\"],[\"ile\",\"ie\"],[\"ina\",\"ia\"],[\"ind\",\"id\"],[\"ipk\",\"ik\"],[\"isl\",\"is\"],[\"ita\",\"it\"],[\"jav\",\"jv\"],[\"jpn\",\"ja\"],[\"kal\",\"kl\"],[\"kan\",\"kn\"],[\"kas\",\"ks\"],[\"kat\",\"ka\"],[\"kau\",\"kr\"],[\"kaz\",\"kk\"],[\"khm\",\"km\"],[\"kik\",\"ki\"],[\"kin\",\"rw\"],[\"kir\",\"ky\"],[\"kom\",\"kv\"],[\"kon\",\"kg\"],[\"kor\",\"ko\"],[\"kua\",\"kj\"],[\"kur\",\"ku\"],[\"lao\",\"lo\"],[\"lat\",\"la\"],[\"lav\",\"lv\"],[\"lim\",\"li\"],[\"lin\",\"ln\"],[\"lit\",\"lt\"],[\"ltz\",\"lb\"],[\"lub\",\"lu\"],[\"lug\",\"lg\"],[\"mac\",\"mk\"],[\"mah\",\"mh\"],[\"mal\",\"ml\"],[\"mao\",\n\"mi\"],[\"mar\",\"mr\"],[\"may\",\"ms\"],[\"mkd\",\"mk\"],[\"mlg\",\"mg\"],[\"mlt\",\"mt\"],[\"mon\",\"mn\"],[\"mri\",\"mi\"],[\"msa\",\"ms\"],[\"mya\",\"my\"],[\"nau\",\"na\"],[\"nav\",\"nv\"],[\"nbl\",\"nr\"],[\"nde\",\"nd\"],[\"ndo\",\"ng\"],[\"nep\",\"ne\"],[\"nld\",\"nl\"],[\"nno\",\"nn\"],[\"nob\",\"nb\"],[\"nor\",\"no\"],[\"nya\",\"ny\"],[\"oci\",\"oc\"],[\"oji\",\"oj\"],[\"ori\",\"or\"],[\"orm\",\"om\"],[\"oss\",\"os\"],[\"pan\",\"pa\"],[\"per\",\"fa\"],[\"pli\",\"pi\"],[\"pol\",\"pl\"],[\"por\",\"pt\"],[\"pus\",\"ps\"],[\"que\",\"qu\"],[\"roh\",\"rm\"],[\"ron\",\"ro\"],[\"rum\",\"ro\"],[\"run\",\"rn\"],[\"rus\",\"ru\"],[\"sag\",\"sg\"],[\"san\",\n\"sa\"],[\"sin\",\"si\"],[\"slk\",\"sk\"],[\"slo\",\"sk\"],[\"slv\",\"sl\"],[\"sme\",\"se\"],[\"smo\",\"sm\"],[\"sna\",\"sn\"],[\"snd\",\"sd\"],[\"som\",\"so\"],[\"sot\",\"st\"],[\"spa\",\"es\"],[\"sqi\",\"sq\"],[\"srd\",\"sc\"],[\"srp\",\"sr\"],[\"ssw\",\"ss\"],[\"sun\",\"su\"],[\"swa\",\"sw\"],[\"swe\",\"sv\"],[\"tah\",\"ty\"],[\"tam\",\"ta\"],[\"tat\",\"tt\"],[\"tel\",\"te\"],[\"tgk\",\"tg\"],[\"tgl\",\"tl\"],[\"tha\",\"th\"],[\"tib\",\"bo\"],[\"tir\",\"ti\"],[\"ton\",\"to\"],[\"tsn\",\"tn\"],[\"tso\",\"ts\"],[\"tuk\",\"tk\"],[\"tur\",\"tr\"],[\"twi\",\"tw\"],[\"uig\",\"ug\"],[\"ukr\",\"uk\"],[\"urd\",\"ur\"],[\"uzb\",\"uz\"],[\"ven\",\"ve\"],[\"vie\",\n\"vi\"],[\"vol\",\"vo\"],[\"wel\",\"cy\"],[\"wln\",\"wa\"],[\"wol\",\"wo\"],[\"xho\",\"xh\"],[\"yid\",\"yi\"],[\"yor\",\"yo\"],[\"zha\",\"za\"],[\"zho\",\"zh\"],[\"zul\",\"zu\"]]);var N={bd:function(b,c,d){function e(b,c,d){return b>=c&&b<=d}var f=b.video;return f&&f.width&&f.height&&(!e(f.width,c.minWidth,Math.min(c.maxWidth,d.width))||!e(f.height,c.minHeight,Math.min(c.maxHeight,d.height))||!e(f.width*f.height,c.minPixels,c.maxPixels))||b&&b.frameRate&&!e(b.frameRate,c.minFrameRate,c.maxFrameRate)||!e(b.bandwidth,c.minBandwidth,c.maxBandwidth)?!1:!0},Gd:function(b,c,d){var e=!1;b.forEach(function(b){var f=b.allowedByApplication;b.allowedByApplication=N.bd(b,c,d);f!=b.allowedByApplication&&\n(e=!0)});return e},filterNewPeriod:function(b,c,d,e){e.variants=e.variants.filter(function(e){if(b&&b.S&&!md(b,e))return!1;var f=e.audio;e=e.video;return f&&!ee(f)||e&&!ee(e)||f&&c&&!N.Hd(f,c)||e&&d&&!N.Hd(e,d)?!1:!0});e.textStreams=e.textStreams.filter(function(b){return Yd(oc(b.mimeType,b.codecs))})},Hd:function(b,c){return b.mimeType!=c.mimeType||b.codecs.split(\".\")[0]!=c.codecs.split(\".\")[0]?!1:!0},Ed:function(b){var c=b.audio,d=b.video,e=c?c.codecs:null,f=d?d.codecs:null,g=[];f&&g.push(f);e&&\ng.push(e);var h=[];d&&h.push(d.mimeType);c&&h.push(c.mimeType);h=h[0]||null;var k=[];c&&k.push(c.kind);d&&k.push(d.kind);k=k[0]||null;var l=new Set;c&&c.roles.forEach(function(b){return l.add(b)});d&&d.roles.forEach(function(b){return l.add(b)});b={id:b.id,active:!1,type:\"variant\",bandwidth:b.bandwidth,language:b.language,label:null,kind:k,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:h,codecs:g.join(\", \"),audioCodec:e,videoCodec:f,primary:b.primary,roles:Array.from(l),audioRoles:null,\nvideoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null};d&&(b.videoId=d.id,b.originalVideoId=d.originalId,b.width=d.width||null,b.height=d.height||null,b.frameRate=d.frameRate||null,b.pixelAspectRatio=d.pixelAspectRatio||null,b.videoBandwidth=d.bandwidth||null);c&&(b.audioId=c.id,b.originalAudioId=c.originalId,b.channelsCount=c.channelsCount,b.audioSamplingRate=c.audioSamplingRate,b.audioBandwidth=\nc.bandwidth||null,b.label=c.label,b.audioRoles=c.roles);return b},xc:function(b){return{id:b.id,active:!1,type:\"text\",bandwidth:0,language:b.language,label:b.label,kind:b.kind||null,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:b.mimeType,codecs:b.codecs||null,audioCodec:null,videoCodec:null,primary:b.primary,roles:b.roles,audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,\noriginalTextId:b.originalId}},Wc:function(b){b.__shaka_id||(b.__shaka_id=N.yf++);return b.__shaka_id},yf:0,sf:function(b){var c=N.Sd(b);c.active=\"disabled\"!=b.mode;c.type=\"text\";c.originalTextId=b.id;\"captions\"==b.kind&&(c.mimeType=\"application/cea-608\");return c},rf:function(b){var c=N.Sd(b);c.active=b.enabled;c.type=\"variant\";c.originalAudioId=b.id;\"main\"==b.kind?(c.primary=!0,c.roles=[\"main\"],c.audioRoles=[\"main\"]):c.audioRoles=[];return c},Sd:function(b){return{id:N.Wc(b),active:!1,type:\"\",bandwidth:0,\nlanguage:M(b.language),label:b.label,kind:b.kind,width:null,height:null,frameRate:null,pixelAspectRatio:null,mimeType:null,codecs:null,audioCodec:null,videoCodec:null,primary:!1,roles:[],audioRoles:null,videoId:null,audioId:null,channelsCount:null,audioSamplingRate:null,audioBandwidth:null,videoBandwidth:null,originalVideoId:null,originalAudioId:null,originalTextId:null}},rb:function(b){return b.allowedByApplication&&b.allowedByKeySystem},df:function(b){return b.filter(function(b){return N.rb(b)})},\nNd:function(b,c){var d=b.filter(function(b){return b.audio&&b.audio.channelsCount}),e=new Map;d=r(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;var g=f.audio.channelsCount;e.has(g)||e.set(g,[]);e.get(g).push(f)}d=Array.from(e.keys());if(0==d.length)return b;f=d.filter(function(b){return b<=c});return f.length?e.get(Math.max.apply(null,f)):e.get(Math.min.apply(null,d))},Jb:function(b,c,d){var e=b,f=b.filter(function(b){return b.primary});f.length&&(e=f);var g=e.length?e[0].language:\"\";e=e.filter(function(b){return b.language==\ng});if(c){var h=we(M(c),b.map(function(b){return b.language}));h&&(e=b.filter(function(b){return M(b.language)==h}))}if(d){if(b=N.Md(e,d),b.length)return b}else if(b=e.filter(function(b){return 0==b.roles.length}),b.length)return b;b=e.map(function(b){return b.roles}).reduce(ud.Gc,[]);return b.length?N.Md(e,b[0]):e},Md:function(b,c){return b.filter(function(b){return b.roles.includes(c)})},Qd:function(b,c,d){for(var e=0;e<d.length;e++)if(d[e].audio==b&&d[e].video==c)return d[e];return null},tf:function(b){return\"audio\"==\nb.type},wf:function(b){return\"video\"==b.type},nf:function(b){var c=[];b.audio&&c.push(b.audio);b.video&&c.push(b.video);return c},Gg:function(b){return N.tf(b)?\"type=audio codecs=\"+b.codecs+\" bandwidth=\"+b.bandwidth+\" channelsCount=\"+b.channelsCount+\" audioSamplingRate=\"+b.audioSamplingRate:N.wf(b)?\"type=video codecs=\"+b.codecs+\" bandwidth=\"+b.bandwidth+\" frameRate=\"+b.frameRate+\" width=\"+b.width+\" height=\"+b.height:\"unexpected stream type\"}};function O(){this.h=null;this.f=!1;this.b=new ab;this.c=[];this.i=!1;this.a=this.g=null}A(\"shaka.abr.SimpleAbrManager\",O);O.prototype.stop=function(){this.h=null;this.f=!1;this.c=[];this.g=null};O.prototype.stop=O.prototype.stop;O.prototype.init=function(b){this.h=b};O.prototype.init=O.prototype.init;\nO.prototype.chooseVariant=function(){var b=xe(this.a.restrictions,this.c),c=this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate);this.c.length&&!b.length&&(b=xe(null,this.c),b=[b[0]]);for(var d=b[0]||null,e=0;e<b.length;++e){var f=b[e],g=(b[e+1]||{bandwidth:Infinity}).bandwidth/this.a.bandwidthUpgradeTarget;c>=f.bandwidth/this.a.bandwidthDowngradeTarget&&c<=g&&(d=f)}this.g=Date.now();return d};O.prototype.chooseVariant=O.prototype.chooseVariant;O.prototype.enable=function(){this.f=!0};\nO.prototype.enable=O.prototype.enable;O.prototype.disable=function(){this.f=!1};O.prototype.disable=O.prototype.disable;O.prototype.segmentDownloaded=function(b,c){var d=this.b;if(!(16E3>c)){var e=8E3*c/b,f=b/1E3;d.a+=c;Za(d.b,f,e);Za(d.c,f,e)}if(null!=this.g&&this.f)a:{if(!this.i){if(!(128E3<=this.b.a))break a;this.i=!0}else if(Date.now()-this.g<1E3*this.a.switchInterval)break a;d=this.chooseVariant();this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate);this.h(d)}};\nO.prototype.segmentDownloaded=O.prototype.segmentDownloaded;O.prototype.getBandwidthEstimate=function(){return this.b.getBandwidthEstimate(this.a.defaultBandwidthEstimate)};O.prototype.getBandwidthEstimate=O.prototype.getBandwidthEstimate;O.prototype.setVariants=function(b){this.c=b};O.prototype.setVariants=O.prototype.setVariants;O.prototype.configure=function(b){this.a=b};O.prototype.configure=O.prototype.configure;\nfunction xe(b,c){b&&(c=c.filter(function(c){return N.bd(c,b,{width:Infinity,height:Infinity})}));return c.sort(function(b,c){return b.bandwidth-c.bandwidth})};function ye(b,c){this.a=b;this.b=c}ye.prototype.toString=function(){return\"v\"+this.a+\".\"+this.b};function ze(b,c){var d=new ye(2,6),e=Ae,f=e.a,g=d.b-f.b;(0<(d.a-f.a||g)?e.c:e.b)(e.a,d,b,c)}function Be(b,c,d,e){cb([d,\"has been deprecated and will be removed in\",c,\". We are currently at version\",b,\". Additional information:\",e].join(\" \"))}function Ce(b,c,d,e){bb([d,\"has been deprecated and has been removed in\",c,\". We are now at version\",b,\". Additional information:\",e].join(\"\"))}var Ae=null;var De=\"ended play playing pause pausing ratechange seeked seeking timeupdate volumechange\".split(\" \"),Ee=\"buffered currentTime duration ended loop muted paused playbackRate seeking videoHeight videoWidth volume\".split(\" \"),Fe=[\"loop\",\"playbackRate\"],Ge=[\"pause\",\"play\"],He=\"abrstatuschanged adaptation buffering drmsessionupdate emsg error expirationupdated largegap loading manifestparsed onstatechange onstateidle streaming textchanged texttrackvisibility timelineregionadded timelineregionenter timelineregionexit trackschanged unloading variantchanged\".split(\" \"),\nIe={getAssetUri:2,getAudioLanguages:2,getAudioLanguagesAndRoles:2,getBufferedInfo:2,getConfiguration:2,getExpiration:2,getPlaybackRate:2,getTextLanguages:2,getTextLanguagesAndRoles:2,getTextTracks:2,getStats:5,getVariantTracks:2,isAudioOnly:10,isBuffering:1,isInProgress:1,isLive:10,isTextTrackVisible:1,keySystem:10,seekRange:1,usingEmbeddedTextTrack:2,getLoadMode:10},Je={getPlayheadTimeAsDate:1,getPresentationStartTimeAsDate:20},Ke=[[\"getConfiguration\",\"configure\"]],Le=[[\"isTextTrackVisible\",\"setTextTrackVisibility\"]],\nMe=\"addTextTrack cancelTrickPlay configure resetConfiguration retryStreaming selectAudioLanguage selectEmbeddedTextTrack selectTextLanguage selectTextTrack selectVariantTrack selectVariantsByLabel setTextTrackVisibility trickPlay\".split(\" \"),Ne=[\"attach\",\"detach\",\"load\",\"unload\"];\nfunction Oe(b){return JSON.stringify(b,function(b,d){if(\"function\"!=typeof d){if(d instanceof Event||d instanceof I){var c={},f;for(f in d){var g=d[f];g&&\"object\"==typeof g?\"detail\"==f&&(c[f]=g):f in Event||(c[f]=g)}return c}if(d instanceof TimeRanges)for(c={__type__:\"TimeRanges\",length:d.length,start:[],end:[]},f=0;f<d.length;++f)c.start.push(d.start(f)),c.end.push(d.end(f));else c=d instanceof Uint8Array?{__type__:\"Uint8Array\",entries:Array.from(d)}:\"number\"==typeof d?isNaN(d)?\"NaN\":isFinite(d)?\nd:0>d?\"-Infinity\":\"Infinity\":d;return c}})}function Pe(b){return JSON.parse(b,function(b,d){return\"NaN\"==d?NaN:\"-Infinity\"==d?-Infinity:\"Infinity\"==d?Infinity:d&&\"object\"==typeof d&&\"TimeRanges\"==d.__type__?Qe(d):d&&\"object\"==typeof d&&\"Uint8Array\"==d.__type__?new Uint8Array(d.entries):d})}function Qe(b){return{length:b.length,start:function(c){return b.start[c]},end:function(c){return b.end[c]}}};function Re(b,c,d,e,f,g){this.O=b;this.f=new C(c);this.S=d;this.l=!1;this.F=e;this.K=f;this.B=g;this.b=this.h=!1;this.D=\"\";this.i=null;this.m=this.ce.bind(this);this.s=this.Ff.bind(this);this.a={video:{},player:{}};this.u=0;this.c={};this.g=null;Se.add(this)}var Te=!1,Ue=null;q=Re.prototype;q.destroy=function(){Se[\"delete\"](this);Ve(this);Ue&&We(this);this.f&&(this.f.stop(),this.f=null);this.K=this.F=null;this.b=this.h=!1;this.s=this.m=this.g=this.c=this.a=this.i=null;return Promise.resolve()};\nq.ga=function(){return this.b};q.nd=function(){return this.D};q.init=function(){if(window.chrome&&chrome.cast&&chrome.cast.isAvailable&&this.O.length){this.h=!0;this.f.yc();var b=new chrome.cast.SessionRequest(this.O);b=new chrome.cast.ApiConfig(b,Xe.bind(this),Ye.bind(this),\"origin_scoped\");chrome.cast.initialize(b,function(){},function(){});Te&&this.f.R(.02);(b=Ue)&&b.status!=chrome.cast.SessionStatus.STOPPED?Ze(this,b):Ue=null}};q.ud=function(b){this.i=b;this.b&&$e({type:\"appData\",appData:this.i})};\nq.cast=function(b){if(!this.h)return Promise.reject(new D(1,8,8E3));if(!Te)return Promise.reject(new D(1,8,8001));if(this.b)return Promise.reject(new D(1,8,8002));this.g=new F;chrome.cast.requestSession(this.kd.bind(this,b),this.be.bind(this));return this.g};q.Kb=function(){this.b&&(Ve(this),Ue&&(We(this),Ue.stop(function(){},function(){}),Ue=null))};\nq.get=function(b,c){if(\"video\"==b){if(Ge.includes(c))return this.le.bind(this,b,c)}else if(\"player\"==b){if(Je[c]&&!this.get(\"player\",\"isLive\")())return function(){};if(Me.includes(c))return this.le.bind(this,b,c);if(Ne.includes(c))return this.Wf.bind(this,b,c);if(Ie[c])return this.ie.bind(this,b,c)}return this.ie(b,c)};q.set=function(b,c,d){this.a[b][c]=d;$e({type:\"set\",targetName:b,property:c,value:d})};\nq.kd=function(b,c){Ue=c;c.addUpdateListener(this.m);c.addMessageListener(\"urn:x-cast:com.google.shaka.v2\",this.s);this.ce();$e({type:\"init\",initState:b,appData:this.i});this.g.resolve()};q.be=function(b){var c=8003;switch(b.code){case \"cancel\":c=8004;break;case \"timeout\":c=8005;break;case \"receiver_unavailable\":c=8006}this.g.reject(new D(2,8,c,b))};q.ie=function(b,c){return this.a[b][c]};\nq.le=function(b,c,d){for(var e=[],f=2;f<arguments.length;++f)e[f-2]=arguments[f];$e({type:\"call\",targetName:b,methodName:c,args:e})};q.Wf=function(b,c,d){for(var e=[],f=2;f<arguments.length;++f)e[f-2]=arguments[f];f=new F;var g=this.u.toString();this.u++;this.c[g]=f;$e({type:\"asyncCall\",targetName:b,methodName:c,args:e,id:g});return f};function Xe(b){for(var c=r(Se),d=c.next();!d.done;d=c.next())Ze(d.value,b)}function Ze(b,c){var d=b.B();b.g=new F;b.l=!0;b.kd(d,c)}\nfunction Ye(b){for(var c=r(Se),d=c.next();!d.done;d=c.next())d=d.value,Te=\"available\"==b,d.f.yc()}function We(b){var c=Ue;c.removeUpdateListener(b.m);c.removeMessageListener(\"urn:x-cast:com.google.shaka.v2\",b.s)}q.ce=function(){var b=Ue?\"connected\"==Ue.status:!1;if(this.b&&!b){this.K();for(var c in this.a)this.a[c]={};Ve(this)}this.D=(this.b=b)?Ue.receiver.friendlyName:\"\";this.f.yc()};function Ve(b){for(var c in b.c){var d=b.c[c];delete b.c[c];d.reject(new D(1,7,7E3))}}\nq.Ff=function(b,c){var d=Pe(c);switch(d.type){case \"event\":var e=d.event;this.F(d.targetName,new I(e.type,e));break;case \"update\":e=d.update;for(var f in e){d=this.a[f]||{};for(var g in e[f])d[g]=e[f][g]}this.l&&(this.S(),this.l=!1);break;case \"asyncComplete\":if(f=d.id,d=d.error,g=this.c[f],delete this.c[f],g)if(d){f=new D(d.severity,d.category,d.code);for(e in d)f[e]=d[e];g.reject(f)}else g.resolve()}};function $e(b){b=Oe(b);Ue.sendMessage(\"urn:x-cast:com.google.shaka.v2\",b,function(){},db)}\nvar Se=new Set;window.__onGCastApiAvailable=function(b){if(b){b=r(Se);for(var c=b.next();!c.done;c=b.next())c.value.init()}};function P(b,c,d){var e=this;Mb.call(this);this.c=b;this.b=c;this.i=this.g=this.f=this.l=this.h=null;this.s=d;this.m=new Map;this.a=new Re(d,function(){return af(e)},function(){return bf(e)},function(b,c){return cf(e,b,c)},function(){return df(e)},function(){return ef(e)});ff(this)}Xa(P,Mb);A(\"shaka.cast.CastProxy\",P);\nP.prototype.destroy=function(b){b&&this.a.Kb();this.i&&(this.i.release(),this.i=null);b=[];this.b&&(b.push(this.b.destroy()),this.b=null);this.a&&(b.push(this.a.destroy()),this.a=null);this.l=this.h=this.c=null;return Promise.all(b)};P.prototype.destroy=P.prototype.destroy;P.prototype.pf=function(){return this.h};P.prototype.getVideo=P.prototype.pf;P.prototype.ff=function(){return this.l};P.prototype.getPlayer=P.prototype.ff;P.prototype.Ee=function(){return this.a.h&&Te};P.prototype.canCast=P.prototype.Ee;\nP.prototype.ga=function(){return this.a.ga()};P.prototype.isCasting=P.prototype.ga;P.prototype.nd=function(){return this.a.nd()};P.prototype.receiverName=P.prototype.nd;P.prototype.cast=function(){var b=ef(this);return this.a.cast(b).then(function(){if(this.b)return this.b.Cd()}.bind(this))};P.prototype.cast=P.prototype.cast;P.prototype.ud=function(b){this.a.ud(b)};P.prototype.setAppData=P.prototype.ud;\nP.prototype.sg=function(){var b=this.a;if(b.b){var c=b.B();chrome.cast.requestSession(b.kd.bind(b,c),b.be.bind(b))}};P.prototype.suggestDisconnect=P.prototype.sg;\nP.prototype.He=function(b){var c=this;return t(function e(){return z(e,function(e){switch(e.j){case 1:if(b==c.s)return e[\"return\"]();c.s=b;c.a.Kb();return u(e,c.a.destroy(),2);case 2:c.a=null,c.a=new Re(b,function(){return af(c)},function(){return bf(c)},function(b,e){return cf(c,b,e)},function(){return df(c)},function(){return ef(c)}),c.a.init(),w(e)}})})};P.prototype.changeReceiverId=P.prototype.He;P.prototype.Kb=function(){this.a.Kb()};P.prototype.forceDisconnect=P.prototype.Kb;\nfunction ff(b){b.a.init();b.i=new K;De.forEach(function(b){this.i.w(this.c,b,this.D.bind(this))}.bind(b));He.forEach(function(b){this.i.w(this.b,b,this.u.bind(this))}.bind(b));b.h={};for(var c in b.c)Object.defineProperty(b.h,c,{configurable:!1,enumerable:!0,get:b.B.bind(b,c),set:b.F.bind(b,c)});b.l={};gf(b,function(c){Object.defineProperty(b.l,c,{configurable:!1,enumerable:!0,get:function(){return hf(b,c)}})});jf(b);b.f=new Mb;b.f.$b=b.h;b.g=new Mb;b.g.$b=b.l}\nfunction jf(b){var c=new Map;gf(b,function(d,e){if(c.has(e)){var f=c.get(e);d.length<f.length?b.m.set(d,f):b.m.set(f,d)}else c.set(e,d)})}\nfunction gf(b,c){function d(b){return\"constructor\"==b||\"function\"!=typeof e[b]?!1:!f.has(b)}var e=b.b,f=new Set;for(g in e)d(g)&&(f.add(g),c(g,e[g]));var g=Object.getPrototypeOf(e);for(var h=Object.getPrototypeOf({});g&&g!=h;){for(var k=r(Object.getOwnPropertyNames(g)),l=k.next();!l.done;l=k.next())l=l.value,d(l)&&(f.add(l),c(l,e[l]));g=Object.getPrototypeOf(g)}}\nfunction ef(b){var c={video:{},player:{},playerAfterLoad:{},manifest:b.b.hc(),startTime:null};b.c.pause();Fe.forEach(function(b){c.video[b]=this.c[b]}.bind(b));b.c.ended||(c.startTime=b.c.currentTime);Ke.forEach(function(b){var d=b[1];b=this.b[b[0]]();c.player[d]=b}.bind(b));Le.forEach(function(b){var d=b[1];b=this.b[b[0]]();c.playerAfterLoad[d]=b}.bind(b));return c}function af(b){b.dispatchEvent(new I(\"caststatuschanged\"))}function bf(b){b.f.dispatchEvent(new I(b.h.paused?\"pause\":\"play\"))}\nfunction df(b){Ke.forEach(function(b){var c=b[1];b=this.a.get(\"player\",b[0])();this.b[c](b)}.bind(b));var c=b.a.get(\"player\",\"getAssetUri\")(),d=b.a.get(\"video\",\"ended\"),e=Promise.resolve(),f=b.c.autoplay,g=null;d||(g=b.a.get(\"video\",\"currentTime\"));c&&(b.c.autoplay=!1,e=b.b.load(c,g));var h={};Fe.forEach(function(b){h[b]=this.a.get(\"video\",b)}.bind(b));e.then(function(){b.c&&(Fe.forEach(function(b){this.c[b]=h[b]}.bind(b)),Le.forEach(function(b){var c=b[1];b=this.a.get(\"player\",b[0])();this.b[c](b)}.bind(b)),\nb.c.autoplay=f,c&&b.c.play())},function(c){b.b.dispatchEvent(new I(\"error\",{detail:c}))})}P.prototype.B=function(b){if(\"addEventListener\"==b)return this.f.addEventListener.bind(this.f);if(\"removeEventListener\"==b)return this.f.removeEventListener.bind(this.f);if(this.a.ga()&&0==Object.keys(this.a.a.video).length){var c=this.c[b];if(\"function\"!=typeof c)return c}return this.a.ga()?this.a.get(\"video\",b):(b=this.c[b],\"function\"==typeof b&&(b=b.bind(this.c)),b)};\nP.prototype.F=function(b,c){this.a.ga()?this.a.set(\"video\",b,c):this.c[b]=c};P.prototype.D=function(b){this.a.ga()||this.f.dispatchEvent(new I(b.type,b))};\nfunction hf(b,c){b.m.has(c)&&(c=b.m.get(c));if(\"addEventListener\"==c)return b.g.addEventListener.bind(b.g);if(\"removeEventListener\"==c)return b.g.removeEventListener.bind(b.g);if(\"getMediaElement\"==c)return function(){return this.h}.bind(b);if(\"getSharedConfiguration\"==c)return b.a.get(\"player\",\"getConfiguration\");if(\"getNetworkingEngine\"==c)return b.b.Mb.bind(b.b);if(b.a.ga()){if(\"getManifest\"==c||\"drmInfo\"==c)return function(){cb(c+\"() does not work while casting!\");return null};if(\"getManifestUri\"==\nc)return ze(\"getManifestUri\",'Please use \"getAssetUri\" instead.'),hf(b,\"getAssetUri\");if(\"attach\"==c||\"detach\"==c)return function(){cb(c+\"() does not work while casting!\");return Promise.resolve()}}return b.a.ga()&&0==Object.keys(b.a.a.video).length&&Ie[c]||!b.a.ga()?b.b[c].bind(b.b):b.a.get(\"player\",c)}P.prototype.u=function(b){this.a.ga()||this.g.dispatchEvent(b)};function cf(b,c,d){b.a.ga()&&(\"video\"==c?b.f.dispatchEvent(d):\"player\"==c&&b.g.dispatchEvent(d))};function kf(b,c,d,e){var f=this;Mb.call(this);this.a=b;this.b=c;this.c=new K;this.D={video:b,player:c};this.s=d||function(){};this.F=e||function(b){return b};this.u=!1;this.h=!0;this.g=0;this.m=!1;this.l=!0;this.i=this.f=null;this.B=new C(function(){lf(f)});mf(this)}Xa(kf,Mb);A(\"shaka.cast.CastReceiver\",kf);kf.prototype.isConnected=function(){return this.u};kf.prototype.isConnected=kf.prototype.isConnected;kf.prototype.vf=function(){return this.h};kf.prototype.isIdle=kf.prototype.vf;\nkf.prototype.destroy=function(){var b=this;return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return b.c&&(b.c.release(),b.c=null),e=[],b.b&&(e.push(b.b.destroy()),b.b=null),b.B&&(b.B.stop(),b.B=null),b.a=null,b.D=null,b.s=null,b.u=!1,b.h=!0,b.f=null,b.i=null,u(d,Promise.all(e),2);case 2:f=cast.receiver.CastReceiverManager.getInstance(),f.stop(),w(d)}})})};kf.prototype.destroy=kf.prototype.destroy;\nfunction mf(b){var c=cast.receiver.CastReceiverManager.getInstance();c.onSenderConnected=b.ee.bind(b);c.onSenderDisconnected=b.ee.bind(b);c.onSystemVolumeChanged=b.Oe.bind(b);b.i=c.getCastMessageBus(\"urn:x-cast:com.google.cast.media\");b.i.onMessage=b.Af.bind(b);b.f=c.getCastMessageBus(\"urn:x-cast:com.google.shaka.v2\");b.f.onMessage=b.Kf.bind(b);c.start();De.forEach(function(b){this.c.w(this.a,b,this.je.bind(this,\"video\"))}.bind(b));He.forEach(function(b){this.c.w(this.b,b,this.je.bind(this,\"player\"))}.bind(b));\ncast.__platform__&&cast.__platform__.canDisplayType('video/mp4; codecs=\"avc1.640028\"; width=3840; height=2160')?b.b.vd(3840,2160):b.b.vd(1920,1080);b.c.w(b.a,\"loadeddata\",function(){this.m=!0}.bind(b));b.c.w(b.b,\"loading\",function(){this.h=!1;nf(this)}.bind(b));b.c.w(b.a,\"playing\",function(){this.h=!1;nf(this)}.bind(b));b.c.w(b.a,\"pause\",function(){nf(this)}.bind(b));b.c.w(b.b,\"unloading\",function(){this.h=!0;nf(this)}.bind(b));b.c.w(b.a,\"ended\",function(){var b=this;(new C(function(){b.a&&b.a.ended&&\n(b.h=!0,nf(b))})).R(5)}.bind(b))}q=kf.prototype;q.ee=function(){this.g=0;this.l=!0;this.u=0!=cast.receiver.CastReceiverManager.getInstance().getSenders().length;nf(this)};function nf(b){Promise.resolve().then(function(){this.b&&(this.dispatchEvent(new I(\"caststatuschanged\")),of(this)||pf(this,0))}.bind(b))}\nfunction qf(b,c,d){for(var e in c.player)b.b[e](c.player[e]);b.s(d);d=Promise.resolve();var f=b.a.autoplay;c.manifest&&(b.a.autoplay=!1,d=b.b.load(c.manifest,c.startTime));d.then(function(){if(b.b){for(var d in c.video)b.a[d]=c.video[d];for(var e in c.playerAfterLoad)b.b[e](c.playerAfterLoad[e]);b.a.autoplay=f;c.manifest&&(b.a.play(),pf(b,0))}},function(c){b.b.dispatchEvent(new I(\"error\",{detail:c}))})}q.je=function(b,c){this.b&&(lf(this),rf(this,{type:\"event\",targetName:b,event:c},this.f))};\nfunction lf(b){b.B.R(.5);var c={video:{},player:{}};Ee.forEach(function(b){c.video[b]=this.a[b]}.bind(b));if(b.b.V())for(var d in Je)0==b.g%Je[d]&&(c.player[d]=b.b[d]());for(var e in Ie)0==b.g%Ie[e]&&(c.player[e]=b.b[e]());if(d=cast.receiver.CastReceiverManager.getInstance().getSystemVolume())c.video.volume=d.level,c.video.muted=d.muted;b.m&&(b.g+=1);rf(b,{type:\"update\",update:c},b.f);of(b)}function of(b){return b.l&&(b.a.duration||b.b.V())?(sf(b),b.l=!1,!0):!1}\nfunction sf(b){var c={contentId:b.b.hc(),streamType:b.b.V()?\"LIVE\":\"BUFFERED\",duration:b.a.duration,contentType:\"\"};pf(b,0,c)}q.Oe=function(){var b=cast.receiver.CastReceiverManager.getInstance().getSystemVolume();b&&rf(this,{type:\"update\",update:{video:{volume:b.level,muted:b.muted}}},this.f);rf(this,{type:\"event\",targetName:\"video\",event:{type:\"volumechange\"}},this.f)};\nq.Kf=function(b){var c=Pe(b.data);switch(c.type){case \"init\":this.g=0;this.m=!1;this.l=!0;qf(this,c.initState,c.appData);lf(this);break;case \"appData\":this.s(c.appData);break;case \"set\":var d=c.targetName,e=c.property;c=c.value;if(\"video\"==d){var f=cast.receiver.CastReceiverManager.getInstance();if(\"volume\"==e){f.setSystemVolumeLevel(c);break}else if(\"muted\"==e){f.setSystemVolumeMuted(c);break}}this.D[d][e]=c;break;case \"call\":d=this.D[c.targetName];d[c.methodName].apply(d,c.args);break;case \"asyncCall\":d=\nc.targetName;e=c.methodName;\"player\"==d&&\"load\"==e&&(this.g=0,this.m=!1);f=c.id;b=b.senderId;var g=this.D[d];c=g[e].apply(g,c.args);\"player\"==d&&\"load\"==e&&(c=c.then(function(){this.l=!0}.bind(this)));c.then(this.oe.bind(this,b,f,null),this.oe.bind(this,b,f))}};\nq.Af=function(b){var c=Pe(b.data);switch(c.type){case \"PLAY\":this.a.play();pf(this,0);break;case \"PAUSE\":this.a.pause();pf(this,0);break;case \"SEEK\":b=c.currentTime;var d=c.resumeState;null!=b&&(this.a.currentTime=Number(b));d&&\"PLAYBACK_START\"==d?(this.a.play(),pf(this,0)):d&&\"PLAYBACK_PAUSE\"==d&&(this.a.pause(),pf(this,0));break;case \"STOP\":this.b.Cd().then(function(){this.b&&pf(this,0)}.bind(this));break;case \"GET_STATUS\":pf(this,Number(c.requestId));break;case \"VOLUME\":d=c.volume;b=d.level;d=\nd.muted;var e=this.a.volume,f=this.a.muted;null!=b&&(this.a.volume=Number(b));null!=d&&(this.a.muted=d);e==this.a.volume&&f==this.a.muted||pf(this,0);break;case \"LOAD\":this.g=0;this.l=this.m=!1;b=c.media;d=c.currentTime;e=this.F(b.contentId);f=c.autoplay||!0;this.s(b.customData);f&&(this.a.autoplay=!0);this.b.load(e,d).then(function(){this.b&&sf(this)}.bind(this))[\"catch\"](function(b){var d=\"LOAD_FAILED\";7==b.category&&7E3==b.code&&(d=\"LOAD_CANCELLED\");rf(this,{requestId:Number(c.requestId),type:d},\nthis.i)}.bind(this));break;default:rf(this,{requestId:Number(c.requestId),type:\"INVALID_REQUEST\",reason:\"INVALID_COMMAND\"},this.i)}};q.oe=function(b,c,d){this.b&&rf(this,{type:\"asyncComplete\",id:c,error:d},this.f,b)};function rf(b,c,d,e){b.u&&(b=Oe(c),e?d.getCastChannel(e).send(b):d.broadcast(b))}\nfunction pf(b,c,d){var e=b.a.playbackRate;var f=tf;f=b.h?f.IDLE:b.b.Xc()?f.we:b.a.paused?f.ye:f.ze;e={mediaSessionId:0,playbackRate:e,playerState:f,currentTime:b.a.currentTime,supportedMediaCommands:15,volume:{level:b.a.volume,muted:b.a.muted}};d&&(e.media=d);rf(b,{requestId:c,type:\"MEDIA_STATUS\",status:[e]},b.i)}var tf={IDLE:\"IDLE\",ze:\"PLAYING\",we:\"BUFFERING\",ye:\"PAUSED\"};function Q(b,c){this.J=b;this.b=c==uf;this.a=0}A(\"shaka.util.DataViewReader\",Q);var uf=1;Q.Endianness={Bg:0,Dg:uf};Q.prototype.ua=function(){return this.a<this.J.byteLength};Q.prototype.hasMoreData=Q.prototype.ua;Q.prototype.ca=function(){return this.a};Q.prototype.getPosition=Q.prototype.ca;Q.prototype.Ve=function(){return this.J.byteLength};Q.prototype.getLength=Q.prototype.Ve;Q.prototype.la=function(){try{var b=this.J.getUint8(this.a);this.a+=1;return b}catch(c){vf()}};Q.prototype.readUint8=Q.prototype.la;\nQ.prototype.Tb=function(){try{var b=this.J.getUint16(this.a,this.b);this.a+=2;return b}catch(c){vf()}};Q.prototype.readUint16=Q.prototype.Tb;Q.prototype.G=function(){try{var b=this.J.getUint32(this.a,this.b);this.a+=4;return b}catch(c){vf()}};Q.prototype.readUint32=Q.prototype.G;Q.prototype.ke=function(){try{var b=this.J.getInt32(this.a,this.b);this.a+=4;return b}catch(c){vf()}};Q.prototype.readInt32=Q.prototype.ke;\nQ.prototype.Bb=function(){try{if(this.b){var b=this.J.getUint32(this.a,!0);var c=this.J.getUint32(this.a+4,!0)}else c=this.J.getUint32(this.a,!1),b=this.J.getUint32(this.a+4,!1)}catch(d){vf()}if(2097151<c)throw new D(2,3,3001);this.a+=8;return c*Math.pow(2,32)+b};Q.prototype.readUint64=Q.prototype.Bb;Q.prototype.Za=function(b){this.a+b>this.J.byteLength&&vf();var c=new Uint8Array(this.J.buffer,this.J.byteOffset+this.a,b);this.a+=b;return c};Q.prototype.readBytes=Q.prototype.Za;\nQ.prototype.M=function(b){this.a+b>this.J.byteLength&&vf();this.a+=b};Q.prototype.skip=Q.prototype.M;Q.prototype.me=function(b){this.a<b&&vf();this.a-=b};Q.prototype.rewind=Q.prototype.me;Q.prototype.seek=function(b){(0>b||b>this.J.byteLength)&&vf();this.a=b};Q.prototype.seek=Q.prototype.seek;Q.prototype.md=function(){for(var b=this.a;this.ua()&&0!=this.J.getUint8(this.a);)this.a+=1;b=new Uint8Array(this.J.buffer,this.J.byteOffset+b,this.a-b);this.a+=1;return Bc(b)};\nQ.prototype.readTerminatedString=Q.prototype.md;function vf(){throw new D(2,3,3E3);};function R(){this.c=[];this.b=[];this.a=!1}A(\"shaka.util.Mp4Parser\",R);R.prototype.H=function(b,c){var d=wf(b);this.c[d]=0;this.b[d]=c;return this};R.prototype.box=R.prototype.H;R.prototype.fa=function(b,c){var d=wf(b);this.c[d]=1;this.b[d]=c;return this};R.prototype.fullBox=R.prototype.fa;R.prototype.stop=function(){this.a=!0};R.prototype.stop=R.prototype.stop;\nR.prototype.parse=function(b,c){var d=new Uint8Array(b);d=new Q(new DataView(d.buffer,d.byteOffset,d.byteLength),0);for(this.a=!1;d.ua()&&!this.a;)this.sc(0,d,c)};R.prototype.parse=R.prototype.parse;\nR.prototype.sc=function(b,c,d){var e=c.ca(),f=c.G(),g=c.G();switch(f){case 0:f=c.J.byteLength-e;break;case 1:f=c.Bb()}var h=this.b[g];if(h){var k=null,l=null;1==this.c[g]&&(l=c.G(),k=l>>>24,l&=16777215);g=e+f;d&&g>c.J.byteLength&&(g=c.J.byteLength);g-=c.ca();c=0<g?c.Za(g):new Uint8Array(0);c=new Q(new DataView(c.buffer,c.byteOffset,c.byteLength),0);h({parser:this,partialOkay:d||!1,version:k,flags:l,reader:c,size:f,start:e+b})}else c.M(Math.min(e+f-c.ca(),c.J.byteLength-c.ca()))};\nR.prototype.parseNext=R.prototype.sc;function xf(b){for(var c=null!=b.flags?12:8;b.reader.ua()&&!b.parser.a;)b.parser.sc(b.start+c,b.reader,b.partialOkay)}R.children=xf;function yf(b){for(var c=null!=b.flags?12:8,d=b.reader.G();0<d&&!b.parser.a;--d)b.parser.sc(b.start+c,b.reader,b.partialOkay)}R.sampleDescription=yf;function zf(b){return function(c){b(c.reader.Za(c.reader.J.byteLength-c.reader.ca()))}}R.allData=zf;function wf(b){for(var c=0,d=0;d<b.length;d++)c=c<<8|b.charCodeAt(d);return c}\nfunction Af(b){return String.fromCharCode(b>>24&255,b>>16&255,b>>8&255,b&255)}R.typeToString=Af;function Bf(b){var c=this;this.a=[];this.b=[];this.data=[];(new R).H(\"moov\",xf).fa(\"pssh\",function(b){if(!(1<b.version)){var d=b.reader.J;d=new Uint8Array(d.buffer,d.byteOffset-12,b.size);c.data.push(d);c.a.push(L.Ac(b.reader.Za(16)));if(0<b.version){d=b.reader.G();for(var f=0;f<d;++f){var g=L.Ac(b.reader.Za(16));c.b.push(g)}}}}).parse(b)}\nfunction Cf(b){if(!b)return b;var c=new Bf(b);if(1>=c.data.length)return b;b=[];var d={};c=r(c.data);for(var e=c.next();!e.done;d={lc:d.lc},e=c.next())d.lc=e.value,b.some(function(b){return function(c){return L.za(c,b.lc)}}(d))||b.push(d.lc);return L.concat.apply(L,b instanceof Array?b:Oa(r(b)))};var S={gc:function(b,c){var d=S.P(b,c);return 1!=d.length?null:d[0]},Oc:function(b,c,d){b=S.Od(b,c,d);return 1!=b.length?null:b[0]},P:function(b,c){return Array.prototype.filter.call(b.childNodes,function(b){return b instanceof Element&&b.tagName==c})},Od:function(b,c,d){return Array.prototype.filter.call(b.childNodes,function(b){return b instanceof Element&&b.localName==d&&b.namespaceURI==c})},getAttributeNS:function(b,c,d){return b.hasAttributeNS(c,d)?b.getAttributeNS(c,d):null},ic:function(b){return Array.prototype.every.call(b.childNodes,\nfunction(b){return b.nodeType==Node.TEXT_NODE||b.nodeType==Node.CDATA_SECTION_NODE})?b.textContent.trim():null},I:function(b,c,d,e){e=void 0===e?null:e;var f=null;b=b.getAttribute(c);null!=b&&(f=d(b));return null==f?e:f},Of:function(b){if(!b)return null;/^\\d+-\\d+-\\d+T\\d+:\\d+:\\d+(\\.\\d+)?$/.test(b)&&(b+=\"Z\");b=Date.parse(b);return isNaN(b)?null:Math.floor(b/1E3)},Ea:function(b){if(!b)return null;b=/^P(?:([0-9]*)Y)?(?:([0-9]*)M)?(?:([0-9]*)D)?(?:T(?:([0-9]*)H)?(?:([0-9]*)M)?(?:([0-9.]*)S)?)?$/.exec(b);\nif(!b)return null;b=31536E3*Number(b[1]||null)+2592E3*Number(b[2]||null)+86400*Number(b[3]||null)+3600*Number(b[4]||null)+60*Number(b[5]||null)+Number(b[6]||null);return isFinite(b)?b:null},uc:function(b){var c=/([0-9]+)-([0-9]+)/.exec(b);if(!c)return null;b=Number(c[1]);if(!isFinite(b))return null;c=Number(c[2]);return isFinite(c)?{start:b,end:c}:null},parseInt:function(b){b=Number(b);return 0===b%1?b:null},tc:function(b){b=Number(b);return 0===b%1&&0<b?b:null},yb:function(b){b=Number(b);return 0===\nb%1&&0<=b?b:null},parseFloat:function(b){b=Number(b);return isNaN(b)?null:b},Me:function(b){var c;b=(c=b.match(/^(\\d+)\\/(\\d+)$/))?Number(c[1])/Number(c[2]):Number(b);return isNaN(b)?null:b},he:function(b,c){var d=new DOMParser;try{var e=d.parseFromString(b,\"text/xml\")}catch(g){}if(e&&e.documentElement.tagName==c)var f=e.documentElement;return f&&0<f.getElementsByTagName(\"parsererror\").length?null:f},ge:function(b,c){try{var d=Bc(b);return S.he(d,c)}catch(e){}}};var Df=(new Map).set(\"urn:uuid:1077efec-c0b2-4d02-ace3-3c1e52e2fb4b\",\"org.w3.clearkey\").set(\"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed\",\"com.widevine.alpha\").set(\"urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95\",\"com.microsoft.playready\").set(\"urn:uuid:f239e769-efa3-4850-9c16-a903c6932efb\",\"com.adobe.primetime\");\nfunction Ef(b,c,d){var e=Ff(b),f=null;b=[];var g=[],h=new Set(e.map(function(b){return b.keyId}));h[\"delete\"](null);if(1<h.size)throw new D(2,4,4010);d||(g=e.filter(function(b){return\"urn:mpeg:dash:mp4protection:2011\"==b.ne?(f=b.init||f,!1):!0}),g.length&&(b=Gf(f,c,g),0==b.length&&(b=[wd(\"\",f)])));if(e.length&&(d||!g.length))for(b=[],c=r(Df.values()),d=c.next();!d.done;d=c.next())d=d.value,\"org.w3.clearkey\"!=d&&b.push(wd(d,f));if(h=Array.from(h)[0]||null)for(c=r(b),d=c.next();!d.done;d=c.next())for(d=\nr(d.value.initData),e=d.next();!e.done;e=d.next())e.value.keyId=h;return{Kd:h,Fg:f,drmInfos:b,Pd:!0}}function Hf(b,c,d,e){var f=Ef(b,c,e);if(d.Pd){b=1==d.drmInfos.length&&!d.drmInfos[0].keySystem;c=0==f.drmInfos.length;if(0==d.drmInfos.length||b&&!c)d.drmInfos=f.drmInfos;d.Pd=!1}else if(0<f.drmInfos.length&&(d.drmInfos=d.drmInfos.filter(function(b){return f.drmInfos.some(function(c){return c.keySystem==b.keySystem})}),0==d.drmInfos.length))throw new D(2,4,4008);return f.Kd||d.Kd}\nfunction If(b){var c=0,d=(new DataView(b)).getUint32(c,!0);if(d!==b.byteLength)return[];c+=6;d=[];for(var e=new DataView(b);c<b.byteLength-1;){var f=e.getUint16(c,!0);c+=2;var g=e.getUint16(c,!0);c+=2;var h=new Uint8Array(b,c,g);d.push({type:f,value:h});c+=g}return d}function Jf(b){return(b=b.querySelector(\"DATA > LA_URL\"))?b.textContent:\"\"}\nfunction Gf(b,c,d){var e=[];d=r(d);for(var f=d.next();!f.done;f=d.next()){f=f.value;var g=Df.get(f.ne);if(g){var h;if(h=S.Oc(f.node,\"urn:microsoft:playready\",\"pro\")){h=L.Ba(h.textContent);var k=new Uint8Array([154,4,240,121,152,64,66,134,171,146,230,91,224,136,95,149]),l=h.length,m=k.length+16+l,n=new ArrayBuffer(m),p=new Uint8Array(n);n=new DataView(n);var v=0;n.setUint32(v,m);v+=4;n.setUint32(v,1886614376);v+=4;n.setUint32(v,0);v+=4;p.set(k,v);v+=k.length;n.setUint32(v,l);v+=4;p.set(h,v);h=[{initData:p,\ninitDataType:\"cenc\",keyId:f.keyId}]}else h=null;h=wd(g,f.init||b||h);if(g=Kf.get(g))h.licenseServerUri=g(f);e.push(h)}else for(f=c(f.node)||[],f=r(f),g=f.next();!g.done;g=f.next())e.push(g.value)}return e}\nvar Kf=(new Map).set(\"com.widevine.alpha\",function(b){return(b=S.Oc(b.node,\"urn:microsoft\",\"laurl\"))?b.getAttribute(\"licenseUrl\")||\"\":\"\"}).set(\"com.microsoft.playready\",function(b){b=S.Oc(b.node,\"urn:microsoft:playready\",\"pro\");if(!b)return\"\";b=L.Ba(b.textContent);b=If(b.buffer).filter(function(b){return 1===b.type})[0];if(!b)return\"\";b=hc(b.value,!0);return(b=S.he(b,\"WRMHEADER\"))?Jf(b):\"\"});function Ff(b){var c=[];b=r(b);for(var d=b.next();!d.done;d=b.next())(d=Lf(d.value))&&c.push(d);return c}\nfunction Lf(b){var c=b.getAttribute(\"schemeIdUri\"),d=S.getAttributeNS(b,\"urn:mpeg:cenc:2013\",\"default_KID\"),e=S.Od(b,\"urn:mpeg:cenc:2013\",\"pssh\").map(S.ic);if(!c)return null;c=c.toLowerCase();if(d&&(d=d.replace(/-/g,\"\").toLowerCase(),d.includes(\" \")))throw new D(2,4,4009);var f=[];try{f=e.map(function(b){return{initDataType:\"cenc\",initData:L.Ba(b),keyId:null}})}catch(g){throw new D(2,4,4007);}return{node:b,ne:c,keyId:d,init:0<f.length?f:null}};function Mf(b,c,d,e,f){var g={RepresentationID:c,Number:d,Bandwidth:e,Time:f};return b.replace(/\\$(RepresentationID|Number|Bandwidth|Time)?(?:%0([0-9]+)([diouxX]))?\\$/g,function(b,c,d,e){if(\"$$\"==b)return\"$\";var f=g[c];if(null==f)return b;\"RepresentationID\"==c&&d&&(d=void 0);\"Time\"==c&&(f=Math.round(f));switch(e){case void 0:case \"d\":case \"i\":case \"u\":b=f.toString();break;case \"o\":b=f.toString(8);break;case \"x\":b=f.toString(16);break;case \"X\":b=f.toString(16).toUpperCase();break;default:b=f.toString()}d=\nwindow.parseInt(d,10)||1;return Array(Math.max(0,d-b.length)+1).join(\"0\")+b})}\nfunction Nf(b,c){var d=Of(b,c,\"timescale\"),e=1;d&&(e=S.tc(d)||1);d=Of(b,c,\"duration\");(d=S.tc(d||\"\"))&&(d/=e);var f=Of(b,c,\"startNumber\"),g=Number(Of(b,c,\"presentationTimeOffset\"))||0,h=S.yb(f||\"\");if(null==f||null==h)h=1;var k=Pf(b,c,\"SegmentTimeline\");f=null;if(k){f=e;var l=b.T.duration||Infinity;k=S.P(k,\"S\");for(var m=[],n=0,p=0;p<k.length;++p){var v=k[p],x=S.I(v,\"t\",S.yb),B=S.I(v,\"d\",S.yb);v=S.I(v,\"r\",S.parseInt);null!=x&&(x-=g);if(!B)break;x=null!=x?x:n;v=v||0;if(0>v)if(p+1<k.length){v=S.I(k[p+\n1],\"t\",S.yb);if(null==v)break;else if(x>=v)break;v=Math.ceil((v-x)/B)-1}else{if(Infinity==l)break;else if(x/f>=l)break;v=Math.ceil((l*f-x)/B)-1}0<m.length&&x!=n&&(m[m.length-1].end=x/f);for(var y=0;y<=v;++y)n=x+B,m.push({start:x/f,end:n/f,xg:x}),x=n}f=m}return{timescale:e,Z:d,ab:h,ma:g/e||0,Dd:g,N:f}}function Of(b,c,d){return[c(b.C),c(b.aa),c(b.ka)].filter(ud.Ia).map(function(b){return b.getAttribute(d)}).reduce(function(b,c){return b||c})}\nfunction Pf(b,c,d){return[c(b.C),c(b.aa),c(b.ka)].filter(ud.Ia).map(function(b){return S.gc(b,d)}).reduce(function(b,c){return b||c})}\nfunction Qf(b,c,d,e,f,g){for(var h=S.getAttributeNS(b,\"http://www.w3.org/1999/xlink\",\"href\"),k=S.getAttributeNS(b,\"http://www.w3.org/1999/xlink\",\"actuate\")||\"onRequest\",l=0;l<b.attributes.length;l++){var m=b.attributes[l];\"http://www.w3.org/1999/xlink\"==m.namespaceURI&&(b.removeAttributeNS(m.namespaceURI,m.localName),--l)}if(5<=g)return Db(new D(2,4,4028));if(\"onLoad\"!=k)return Db(new D(2,4,4027));var n=vd([e],[h]);return f.request(0,Wb(n,c)).U(function(e){e=S.ge(e.data,b.tagName);if(!e)return Db(new D(2,\n4,4001,h));for(;b.childNodes.length;)b.removeChild(b.childNodes[0]);for(;e.childNodes.length;){var k=e.childNodes[0];e.removeChild(k);b.appendChild(k)}for(k=0;k<e.attributes.length;k++){var l=e.attributes[k].nodeName,m=e.getAttribute(l);b.setAttribute(l,m)}return Rf(b,c,d,n[0],f,g+1)})}\nfunction Rf(b,c,d,e,f,g){g=void 0===g?0:g;if(S.getAttributeNS(b,\"http://www.w3.org/1999/xlink\",\"href\")){var h=Qf(b,c,d,e,f,g);d&&(h=h.U(void 0,function(){return Rf(b,c,d,e,f,g)}));return h}h=[];for(var k=0;k<b.childNodes.length;k++){var l=b.childNodes[k];l instanceof Element&&(\"urn:mpeg:dash:resolve-to-zero:2013\"==S.getAttributeNS(l,\"http://www.w3.org/1999/xlink\",\"href\")?(b.removeChild(l),--k):\"SegmentTimeline\"!=l.tagName&&h.push(Rf(l,c,d,e,f,g)))}return Jb(h).U(function(){return b})};function Sf(b,c,d){this.c=b;this.b=c;this.a=d}A(\"shaka.media.InitSegmentReference\",Sf);Sf.prototype.Ic=function(){return this.c()};Sf.prototype.createUris=Sf.prototype.Ic;Sf.prototype.Uc=function(){return this.b};Sf.prototype.getStartByte=Sf.prototype.Uc;Sf.prototype.Tc=function(){return this.a};Sf.prototype.getEndByte=Sf.prototype.Tc;function T(b,c,d,e,f,g){this.position=b;this.startTime=c;this.endTime=d;this.c=e;this.b=f;this.a=g}A(\"shaka.media.SegmentReference\",T);T.prototype.ca=function(){return this.position};\nT.prototype.getPosition=T.prototype.ca;T.prototype.kc=function(){return this.startTime};T.prototype.getStartTime=T.prototype.kc;T.prototype.Te=function(){return this.endTime};T.prototype.getEndTime=T.prototype.Te;T.prototype.Ic=function(){return this.c()};T.prototype.createUris=T.prototype.Ic;T.prototype.Uc=function(){return this.b};T.prototype.getStartByte=T.prototype.Uc;T.prototype.Tc=function(){return this.a};T.prototype.getEndByte=T.prototype.Tc;function Tf(b,c,d,e){var f,g=(new R).fa(\"sidx\",function(b){f=Uf(c,e,d,b)});b&&g.parse(b);if(f)return f;throw new D(2,3,3004);}\nfunction Uf(b,c,d,e){var f=[];e.reader.M(4);var g=e.reader.G();if(0==g)throw new D(2,3,3005);if(0==e.version){var h=e.reader.G();var k=e.reader.G()}else h=e.reader.Bb(),k=e.reader.Bb();e.reader.M(2);var l=e.reader.Tb();b=b+e.size+k;for(k=0;k<l;k++){var m=e.reader.G(),n=(m&2147483648)>>>31;m&=2147483647;var p=e.reader.G();e.reader.M(4);if(1==n)throw new D(2,3,3006);f.push(new T(f.length,h/g-c,(h+p)/g-c,function(){return d},b,b+m-1));h+=p;b+=m}e.parser.stop();return f};function U(b){this.a=b}A(\"shaka.media.SegmentIndex\",U);U.prototype.destroy=function(){this.a=null;return Promise.resolve()};U.prototype.destroy=U.prototype.destroy;U.prototype.find=function(b){for(var c=this.a.length-1;0<=c;--c){var d=this.a[c];if(b>=d.startTime&&b<d.endTime)return d.position}return this.a.length&&b<this.a[0].startTime?this.a[0].position:null};U.prototype.find=U.prototype.find;\nU.prototype.get=function(b){if(0==this.a.length)return null;b-=this.a[0].position;return 0>b||b>=this.a.length?null:this.a[b]};U.prototype.get=U.prototype.get;U.prototype.offset=function(b){for(var c=0;c<this.a.length;++c)this.a[c].startTime+=b,this.a[c].endTime+=b};U.prototype.offset=U.prototype.offset;\nU.prototype.cd=function(b){for(var c=[],d=0,e=0;d<this.a.length&&e<b.length;){var f=this.a[d],g=b[e];f.startTime<g.startTime?(c.push(f),d++):(f.startTime>g.startTime?0==d&&c.push(g):(.1<Math.abs(f.endTime-g.endTime)?c.push(new T(f.position,g.startTime,g.endTime,g.c,g.b,g.a)):c.push(f),d++),e++)}for(;d<this.a.length;)c.push(this.a[d++]);if(c.length)for(d=c[c.length-1].position+1;e<b.length;)f=b[e++],f=new T(d++,f.startTime,f.endTime,f.c,f.b,f.a),c.push(f);else c=b;this.a=c};U.prototype.merge=U.prototype.cd;\nU.prototype.Lc=function(b){for(var c=0;c<this.a.length;++c)if(this.a[c].endTime>b){this.a.splice(0,c);return}this.a=[]};U.prototype.evict=U.prototype.Lc;function Vf(b,c){for(;b.a.length;)if(b.a[b.a.length-1].startTime>=c)b.a.pop();else break;for(;b.a.length;)if(0>=b.a[0].endTime)b.a.shift();else break;if(0!=b.a.length){var d=b.a[b.a.length-1];b.a[b.a.length-1]=new T(d.position,d.startTime,c,d.c,d.b,d.a)}};function Wf(b){this.b=b;this.a=new Q(b,0);Xf||(Xf=[new Uint8Array([255]),new Uint8Array([127,255]),new Uint8Array([63,255,255]),new Uint8Array([31,255,255,255]),new Uint8Array([15,255,255,255,255]),new Uint8Array([7,255,255,255,255,255]),new Uint8Array([3,255,255,255,255,255,255]),new Uint8Array([1,255,255,255,255,255,255,255])])}var Xf;Wf.prototype.ua=function(){return this.a.ua()};\nfunction Yf(b){var c=Zf(b);if(7<c.length)throw new D(2,3,3002);for(var d=0,e=0;e<c.length;e++)d=256*d+c[e];c=d;d=Zf(b);a:{e=L.za;for(var f=0;f<Xf.length;f++)if(e(d,Xf[f])){e=!0;break a}e=!1}if(e)d=b.b.byteLength-b.a.ca();else{if(8==d.length&&d[1]&224)throw new D(2,3,3001);e=d[0]&(1<<8-d.length)-1;for(f=1;f<d.length;f++)e=256*e+d[f];d=e}d=b.a.ca()+d<=b.b.byteLength?d:b.b.byteLength-b.a.ca();e=new DataView(b.b.buffer,b.b.byteOffset+b.a.ca(),d);b.a.M(d);return new $f(c,e)}\nfunction Zf(b){var c=b.a.la(),d;for(d=1;8>=d&&!(c&1<<8-d);d++);if(8<d)throw new D(2,3,3002);var e=new Uint8Array(d);e[0]=c;for(c=1;c<d;c++)e[c]=b.a.la();return e}function $f(b,c){this.id=b;this.a=c}function ag(b){if(8<b.a.byteLength)throw new D(2,3,3002);if(8==b.a.byteLength&&b.a.getUint8(0)&224)throw new D(2,3,3001);for(var c=0,d=0;d<b.a.byteLength;d++){var e=b.a.getUint8(d);c=256*c+e}return c};function bg(){}\nbg.prototype.parse=function(b,c,d,e){var f;c=new Wf(new DataView(c));if(440786851!=Yf(c).id)throw new D(2,3,3008);var g=Yf(c);if(408125543!=g.id)throw new D(2,3,3009);c=g.a.byteOffset;g=new Wf(g.a);for(f=null;g.ua();){var h=Yf(g);if(357149030==h.id){f=h;break}}if(!f)throw new D(2,3,3010);g=new Wf(f.a);f=1E6;for(h=null;g.ua();){var k=Yf(g);if(2807729==k.id)f=ag(k);else if(17545==k.id)if(h=k,4==h.a.byteLength)h=h.a.getFloat32(0);else if(8==h.a.byteLength)h=h.a.getFloat64(0);else throw new D(2,3,3003);\n}if(null==h)throw new D(2,3,3011);g=f/1E9;f=h*g;b=Yf(new Wf(new DataView(b)));if(475249515!=b.id)throw new D(2,3,3007);return cg(b,c,g,f,d,e)};function cg(b,c,d,e,f,g){function h(){return f}var k=[];b=new Wf(b.a);for(var l=null,m=null;b.ua();){var n=Yf(b);if(187==n.id){var p=dg(n);p&&(n=d*p.yg,p=c+p.Vf,null!=l&&k.push(new T(k.length,l-g,n-g,h,m,p-1)),l=n,m=p)}}null!=l&&k.push(new T(k.length,l-g,e-g,h,m,null));return k}\nfunction dg(b){var c=new Wf(b.a);b=Yf(c);if(179!=b.id)throw new D(2,3,3013);b=ag(b);c=Yf(c);if(183!=c.id)throw new D(2,3,3012);c=new Wf(c.a);for(var d=0;c.ua();){var e=Yf(c);if(241==e.id){d=ag(e);break}}return{yg:b,Vf:d}};function eg(b,c){var d=Pf(b,c,\"Initialization\");if(!d)return null;var e=b.C.qa,f=d.getAttribute(\"sourceURL\");f&&(e=vd(b.C.qa,[f]));f=0;var g=null;if(d=S.I(d,\"range\",S.uc))f=d.start,g=d.end;return new Sf(function(){return e},f,g)}\nfunction fg(b,c){var d=Number(Of(b,gg,\"presentationTimeOffset\"))||0,e=Of(b,gg,\"timescale\"),f=1;e&&(f=S.tc(e)||1);d=d/f||0;e=eg(b,gg);var g=b.C.contentType;f=b.C.mimeType.split(\"/\")[1];if(\"text\"!=g&&\"mp4\"!=f&&\"webm\"!=f)throw new D(2,4,4006);if(\"webm\"==f&&!e)throw new D(2,4,4005);g=Pf(b,gg,\"RepresentationIndex\");var h=Of(b,gg,\"indexRange\"),k=b.C.qa;h=S.uc(h||\"\");if(g){var l=g.getAttribute(\"sourceURL\");l&&(k=vd(b.C.qa,[l]));h=S.I(g,\"range\",S.uc,h)}if(!h)throw new D(2,4,4002);f=hg(b,c,e,k,h.start,h.end,\nf,d);return{createSegmentIndex:f.createSegmentIndex,findSegmentPosition:f.findSegmentPosition,getSegmentReference:f.getSegmentReference,initSegmentReference:e,ma:d}}\nfunction hg(b,c,d,e,f,g,h,k){var l=b.presentationTimeline,m=!b.mb||!b.T.Zc,n=b.T.start,p=b.T.duration,v=c,x=null;return{createSegmentIndex:function(){var b=[v(e,f,g),\"webm\"==h?v(d.c(),d.b,d.a):null];v=null;return Promise.all(b).then(function(b){var c=b[0];b=b[1]||null;c=\"mp4\"==h?Tf(c,f,e,k):(new bg).parse(c,b,e,k);l.vb(c,n);x=new U(c);m&&Vf(x,p)})},findSegmentPosition:function(b){return x.find(b)},getSegmentReference:function(b){return x.get(b)}}}function gg(b){return b.Ub};function ig(b,c){var d=eg(b,jg);var e=kg(b);var f=Nf(b,jg),g=f.ab;0==g&&(g=1);var h=0;f.Z?h=f.Z*(g-1):f.N&&0<f.N.length&&(h=f.N[0].start);e={Z:f.Z,startTime:h,ab:g,ma:f.ma,N:f.N,tb:e};if(!e.Z&&!e.N&&1<e.tb.length)throw new D(2,4,4002);if(!e.Z&&!b.T.duration&&!e.N&&1==e.tb.length)throw new D(2,4,4002);if(e.N&&0==e.N.length)throw new D(2,4,4002);g=f=null;b.ka.id&&b.C.id&&(g=b.ka.id+\",\"+b.C.id,f=c[g]);h=lg(b.T.duration,e.ab,b.C.qa,e);f?(f.cd(h),g=b.presentationTimeline.Ob(),f.Lc(g-b.T.start)):(b.presentationTimeline.vb(h,\nb.T.start),f=new U(h),g&&b.mb&&(c[g]=f));b.mb&&b.T.Zc||Vf(f,b.T.duration);return{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:f.find.bind(f),getSegmentReference:f.get.bind(f),initSegmentReference:d,ma:e.ma}}function jg(b){return b.La}\nfunction lg(b,c,d,e){var f=e.tb.length;e.N&&e.N.length!=e.tb.length&&(f=Math.min(e.N.length,e.tb.length));for(var g=[],h=e.startTime,k=0;k<f;k++){var l=e.tb[k],m=vd(d,[l.xf]),n=void 0;n=null!=e.Z?h+e.Z:e.N?e.N[k].end:h+b;g.push(new T(k+c,h,n,function(b){return b}.bind(null,m),l.start,l.end));h=n}return g}\nfunction kg(b){return[b.C.La,b.aa.La,b.ka.La].filter(ud.Ia).map(function(b){return S.P(b,\"SegmentURL\")}).reduce(function(b,d){return 0<b.length?b:d}).map(function(c){c.getAttribute(\"indexRange\")&&!b.Vd&&(b.Vd=!0);var d=c.getAttribute(\"media\");c=S.I(c,\"mediaRange\",S.uc,{start:0,end:null});return{xf:d,start:c.start,end:c.end}})};function mg(b,c,d,e){var f=ng(b);var g=Nf(b,og);var h=Of(b,og,\"media\"),k=Of(b,og,\"index\");g={Z:g.Z,timescale:g.timescale,ab:g.ab,ma:g.ma,Dd:g.Dd,N:g.N,ad:h,Qb:k};h=g.Qb?1:0;h+=g.N?1:0;h+=g.Z?1:0;if(0==h)throw new D(2,4,4002);1!=h&&(g.Qb&&(g.N=null),g.Z=null);if(!g.Qb&&!g.ad)throw new D(2,4,4002);if(g.Qb){d=b.C.mimeType.split(\"/\")[1];if(\"mp4\"!=d&&\"webm\"!=d)throw new D(2,4,4006);if(\"webm\"==d&&!f)throw new D(2,4,4005);e=Mf(g.Qb,b.C.id,null,b.bandwidth||null,null);e=vd(b.C.qa,[e]);b=hg(b,c,f,e,0,null,\nd,g.ma)}else g.Z?(e||(b.presentationTimeline.ed(g.Z),b.presentationTimeline.fd(b.T.start)),b=pg(b,g)):(h=c=null,b.ka.id&&b.C.id&&(h=b.ka.id+\",\"+b.C.id,c=d[h]),k=qg(b,g),e=!b.mb||!b.T.Zc,c?(e&&Vf(new U(k),b.T.duration),c.cd(k),d=b.presentationTimeline.Ob(),c.Lc(d-b.T.start)):(b.presentationTimeline.vb(k,b.T.start),c=new U(k),h&&b.mb&&(d[h]=c)),e&&Vf(c,b.T.duration),b={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:c.find.bind(c),getSegmentReference:c.get.bind(c)});return{createSegmentIndex:b.createSegmentIndex,\nfindSegmentPosition:b.findSegmentPosition,getSegmentReference:b.getSegmentReference,initSegmentReference:f,ma:g.ma}}function og(b){return b.Wb}\nfunction pg(b,c){var d=b.T.duration,e=c.Z,f=c.ab,g=c.timescale,h=c.ad,k=b.bandwidth||null,l=b.C.id,m=b.C.qa;return{createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(b){return 0>b||d&&b>=d?null:Math.floor(b/e)},getSegmentReference:function(b){var c=b*e,n=c+e;d&&(n=Math.min(n,d));return 0>n||d&&c>=d?null:new T(b,c,n,function(){var d=Mf(h,l,b+f,k,c*g);return vd(m,[d])},0,null)}}}\nfunction qg(b,c){for(var d=[],e=0;e<c.N.length;e++){var f=e+c.ab;d.push(new T(f,c.N[e].start,c.N[e].end,function(b,c,d,e,f,n){b=Mf(b,c,f,d,n);return vd(e,[b]).map(function(b){return b.toString()})}.bind(null,c.ad,b.C.id,b.bandwidth||null,b.C.qa,f,c.N[e].xg+c.Dd),0,null))}return d}function ng(b){var c=Of(b,og,\"initialization\");if(!c)return null;var d=b.C.id,e=b.bandwidth||null,f=b.C.qa;return new Sf(function(){var b=Mf(c,d,null,e,null);return vd(f,[b])},0,null)};var V={zb:{},Sb:{},pd:function(b,c){V.Sb[b]=c}};A(\"shaka.media.ManifestParser.registerParserByExtension\",V.pd);V.Cb=function(b,c){V.zb[b]=c};A(\"shaka.media.ManifestParser.registerParserByMime\",V.Cb);\nV.Sf=function(){var b={};if(sc()){for(var c in V.zb)b[c]=!0;for(var d in V.Sb)b[d]=!0}c={mpd:\"application/dash+xml\",m3u8:\"application/x-mpegurl\",ism:\"application/vnd.ms-sstr+xml\"};d=r([\"application/dash+xml\",\"application/x-mpegurl\",\"application/vnd.apple.mpegurl\",\"application/vnd.ms-sstr+xml\"]);for(var e=d.next();!e.done;e=d.next())e=e.value,b[e]=sc()?!!V.zb[e]:tc(e);for(var f in c)b[f]=sc()?!!V.Sb[f]:tc(c[f]);return b};\nV.create=function(b,c,d,e){return t(function g(){var h,k;return z(g,function(g){switch(g.j){case 1:return za(g,2),u(g,V.Ue(b,c,d,e),4);case 4:return h=g.o,g[\"return\"](new h);case 2:throw k=Ca(g),k.severity=2,k;}})})};\nV.Ue=function(b,c,d,e){return t(function g(){var h,k,l,m,n;return z(g,function(g){switch(g.j){case 1:h=V;if(e&&(k=h.zb[e.toLowerCase()]))return g[\"return\"](k);if(l=h.getExtension(b))if(m=h.Sb[l])return g[\"return\"](m);if(e){g.A(2);break}return u(g,h.bf(b,c,d),3);case 3:if(e=g.o)if(n=V.zb[e])return g[\"return\"](n);case 2:throw new D(2,4,4E3,b);}})})};\nV.bf=function(b,c,d){return t(function f(){var g,h,k;return z(f,function(f){switch(f.j){case 1:return g=Wb([b],d),g.method=\"HEAD\",u(f,c.request(0,g).promise,2);case 2:return h=f.o,k=h.headers[\"content-type\"],f[\"return\"](k?k.toLowerCase().split(\";\").shift():\"\")}})})};V.getExtension=function(b){b=(new ib(b)).ja.split(\"/\").pop().split(\".\");return 1==b.length?\"\":b.pop().toLowerCase()};V.isSupported=function(b,c){return sc()?c in V.zb||V.getExtension(b)in V.Sb?!0:!1:!1};function W(b,c,d){this.f=b;this.vc=c;this.h=this.g=Infinity;this.a=1;this.b=this.c=null;this.l=0;this.m=!0;this.i=0;this.s=void 0===d?!0:d}A(\"shaka.media.PresentationTimeline\",W);W.prototype.Y=function(){return this.g};W.prototype.getDuration=W.prototype.Y;W.prototype.$e=function(){return this.a};W.prototype.getMaxSegmentDuration=W.prototype.$e;W.prototype.xa=function(b){this.g=b};W.prototype.setDuration=W.prototype.xa;W.prototype.hf=function(){return this.f};\nW.prototype.getPresentationStartTime=W.prototype.hf;W.prototype.pe=function(b){this.l=b};W.prototype.setClockOffset=W.prototype.pe;W.prototype.Xb=function(b){this.m=b};W.prototype.setStatic=W.prototype.Xb;W.prototype.xd=function(b){this.h=b};W.prototype.setSegmentAvailabilityDuration=W.prototype.xd;W.prototype.ig=function(b){this.vc=b};W.prototype.setDelay=W.prototype.ig;W.prototype.Se=function(){return this.vc};W.prototype.getDelay=W.prototype.Se;\nW.prototype.vb=function(b,c){if(0!=b.length){var d=b[b.length-1].endTime+c;this.fd(b[0].startTime+c);this.a=b.reduce(function(b,c){return Math.max(b,c.endTime-c.startTime)},this.a);this.b=Math.max(this.b,d);null!=this.f&&this.s&&(this.f=(Date.now()+this.l)/1E3-this.b-this.a)}};W.prototype.notifySegments=W.prototype.vb;W.prototype.fd=function(b){this.c=null==this.c?b:Math.min(this.c,b)};W.prototype.notifyMinSegmentStartTime=W.prototype.fd;W.prototype.ed=function(b){this.a=Math.max(this.a,b)};\nW.prototype.notifyMaxSegmentDuration=W.prototype.ed;W.prototype.offset=function(b){null!=this.c&&(this.c+=b);null!=this.b&&(this.b+=b)};W.prototype.offset=W.prototype.offset;W.prototype.V=function(){return Infinity==this.g&&!this.m};W.prototype.isLive=W.prototype.V;W.prototype.Xa=function(){return Infinity!=this.g&&!this.m};W.prototype.isInProgress=W.prototype.Xa;W.prototype.Ob=function(){if(Infinity==this.h)return this.i;var b=this.pb()-this.h;return Math.max(this.i,b)};\nW.prototype.getSegmentAvailabilityStart=W.prototype.Ob;W.prototype.qe=function(b){this.i=b};W.prototype.setUserSeekStart=W.prototype.qe;W.prototype.pb=function(){return this.V()||this.Xa()?Math.min(Math.max(0,(Date.now()+this.l)/1E3-this.a-this.f),this.g):this.g};W.prototype.getSegmentAvailabilityEnd=W.prototype.pb;W.prototype.Nb=function(b){var c=Math.max(this.c,this.i);if(Infinity==this.h)return c;var d=this.pb()-this.h;b=Math.min(d+b,this.Ca());return Math.max(c,b)};\nW.prototype.getSafeSeekRangeStart=W.prototype.Nb;W.prototype.ob=function(){return this.Nb(0)};W.prototype.getSeekRangeStart=W.prototype.ob;W.prototype.Ca=function(){var b=this.V()||this.Xa()?this.vc:0;return Math.max(0,this.pb()-b)};W.prototype.getSeekRangeEnd=W.prototype.Ca;W.prototype.ue=function(){return null==this.f||null!=this.b&&this.s?!1:!0};W.prototype.usingPresentationStartTime=W.prototype.ue;function rg(b,c,d,e){b=Wb(b,e);if(0!=c||null!=d)b.headers.Range=d?\"bytes=\"+c+\"-\"+d:\"bytes=\"+c+\"-\";return b};function sg(){var b=this;this.b=this.a=null;this.f=[];this.c=null;this.l=[];this.h=1;this.m={};this.s=0;this.u=new Ya(5);this.i=new C(function(){tg(b)});this.g=new Sb}A(\"shaka.dash.DashParser\",sg);q=sg.prototype;q.configure=function(b){this.a=b};q.start=function(b,c){var d=this;return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return d.f=[b],d.b=c,u(f,ug(d),2);case 2:g=f.o;d.b&&vg(d,g);if(!d.b)throw new D(2,7,7001);return f[\"return\"](d.c)}})})};\nq.stop=function(){this.a=this.b=null;this.f=[];this.c=null;this.l=[];this.m={};null!=this.i&&(this.i.stop(),this.i=null);return this.g.destroy()};q.update=function(){ug(this)[\"catch\"](function(b){if(this.b)this.b.onError(b)}.bind(this))};q.onExpirationUpdated=function(){};\nfunction ug(b){var c=Date.now(),d=b.b.networkingEngine.request(0,Wb(b.f,b.a.retryParameters));Tb(b.g,d);return d.promise.then(function(c){if(b.b)return c.uri&&!b.f.includes(c.uri)&&b.f.unshift(c.uri),wg(b,c.data,c.uri)}).then(function(){var d=(Date.now()-c)/1E3;Za(b.u,1,d);return d})}function wg(b,c,d){c=S.ge(c,\"MPD\");if(!c)throw new D(2,4,4001,d);c=Rf(c,b.a.retryParameters,b.a.dash.xlinkFailGracefully,d,b.b.networkingEngine);Tb(b.g,c);return c.promise.then(function(c){return xg(b,c,d)})}\nfunction xg(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x,B,y,G,E,aa,sa,ba,ub,Ua,X,oa,ha,Ka,Da,Ea,vb,eb,fb;return z(f,function(f){switch(f.j){case 1:l=ud;m=S;n=[d];p=m.P(c,\"Location\").map(m.ic).filter(l.Ia);0<p.length&&(v=vd(n,p),n=b.f=v);x=m.P(c,\"BaseURL\").map(m.ic);B=vd(n,x);y=b.a.dash.ignoreMinBufferTime;G=0;y||(G=m.I(c,\"minBufferTime\",m.Ea));b.s=m.I(c,\"minimumUpdatePeriod\",m.Ea,-1);E=m.I(c,\"availabilityStartTime\",m.Of);aa=m.I(c,\"timeShiftBufferDepth\",m.Ea);sa=m.I(c,\"maxSegmentDuration\",m.Ea);\nba=c.getAttribute(\"type\")||\"static\";ub=b.a.dash.ignoreSuggestedPresentationDelay;Ua=null;ub||(Ua=m.I(c,\"suggestedPresentationDelay\",m.Ea));b.c?X=b.c.presentationTimeline:(oa=Math.max(b.a.dash.defaultPresentationDelay,1.5*G),ha=null!=Ua?Ua:oa,X=new W(E,ha,b.a.dash.autoCorrectDrift));Ka={mb:\"static\"!=ba,presentationTimeline:X,ka:null,T:null,aa:null,C:null,bandwidth:0,Vd:!1};for(var gb=Ka,zd=B,wb=S.I(c,\"mediaPresentationDuration\",S.Ea),Fb=[],La=0,Ac=S.P(c,\"Period\"),Va=0;Va<Ac.length;Va++){var Gb=Ac[Va];\nLa=S.I(Gb,\"start\",S.Ea,La);var Ad=S.I(Gb,\"duration\",S.Ea),xb=null;if(Va!=Ac.length-1){var Ph=S.I(Ac[Va+1],\"start\",S.Ea);null!=Ph&&(xb=Ph-La)}else null!=wb&&(xb=wb-La);null==xb&&(xb=Ad);Gb=yg(b,gb,zd,{start:La,duration:xb,node:Gb,Zc:null==xb||Va==Ac.length-1});Fb.push(Gb);Ad=gb.ka.id;b.l.includes(Ad)||(b.l.push(Ad),b.c&&(b.b.filterNewPeriod(Gb),b.c.periods.push(Gb)));if(null==xb){La=null;break}La+=xb}null==b.c&&b.b.filterAllPeriods(Fb);null!=wb?(g=Fb,h=wb,k=!1):(g=Fb,h=La,k=!0);Da=h;Ea=g;X.Xb(\"static\"==\nba);\"static\"!=ba&&k||X.xa(Da||Infinity);(vb=X.V())&&!isNaN(b.a.availabilityWindowOverride)&&(aa=b.a.availabilityWindowOverride);null==aa&&(aa=Infinity);X.xd(aa);X.ed(sa||1);if(b.c){f.A(0);break}b.c={presentationTimeline:X,periods:Ea,offlineSessionIds:[],minBufferTime:G||0};if(!X.ue()){f.A(0);break}eb=m.P(c,\"UTCTiming\");return u(f,zg(b,B,eb),4);case 4:fb=f.o;if(!b.b)return f[\"return\"]();X.pe(fb);w(f)}})})}\nfunction yg(b,c,d,e){c.ka=Ag(e.node,null,d);c.T=e;c.ka.id||(c.ka.id=\"__shaka_period_\"+e.start);S.P(e.node,\"EventStream\").forEach(b.Pf.bind(b,e.start,e.duration));d=S.P(e.node,\"AdaptationSet\").map(b.Nf.bind(b,c)).filter(ud.Ia);if(c.mb){c=[];for(var f=r(d),g=f.next();!g.done;g=f.next()){g=r(g.value.Yf);for(var h=g.next();!h.done;h=g.next())c.push(h.value)}if(c.length!=(new Set(c)).size)throw new D(2,4,4018);}var k=d.filter(function(b){return!b.Bd});d.filter(function(b){return b.Bd}).forEach(function(b){var c=\nb.streams[0],d=b.Bd;k.forEach(function(b){b.id==d&&b.streams.forEach(function(b){b.trickModeVideo=c})})});c=Bg(k,\"video\");f=Bg(k,\"audio\");if(!c.length&&!f.length)throw new D(2,4,4004);d=b.a.disableAudio;if(!f.length||d)f=[null];d=b.a.disableVideo;if(!c.length||d)c=[null];d=[];for(g=0;g<f.length;g++)for(h=0;h<c.length;h++)Cg(b,f[g],c[h],d);c=[];if(!b.a.disableText)for(b=Bg(k,\"text\"),f=0;f<b.length;f++)c.push.apply(c,b[f].streams);return{startTime:e.start,textStreams:c,variants:d}}\nfunction Bg(b,c){return b.filter(function(b){return b.contentType==c})}\nfunction Cg(b,c,d,e){if(c||d)if(c&&d){var f=c.drmInfos;var g=d.drmInfos;if(f.length&&g.length?0<nd(f,g).length:1){g=nd(c.drmInfos,d.drmInfos);for(var h=0;h<c.streams.length;h++)for(var k=0;k<d.streams.length;k++)f=(d.streams[k].bandwidth||0)+(c.streams[h].bandwidth||0),f={id:b.h++,language:c.language,primary:c.$c||d.$c,audio:c.streams[h],video:d.streams[k],bandwidth:f,drmInfos:g,allowedByApplication:!0,allowedByKeySystem:!0},e.push(f)}}else for(g=c||d,h=0;h<g.streams.length;h++)f=g.streams[h].bandwidth||\n0,f={id:b.h++,language:g.language||\"und\",primary:g.$c,audio:c?g.streams[h]:null,video:d?g.streams[h]:null,bandwidth:f,drmInfos:g.drmInfos,allowedByApplication:!0,allowedByKeySystem:!0},e.push(f)}\nq.Nf=function(b,c){b.aa=Ag(c,b.ka,null);if(\"image\"==b.aa.contentType)return null;var d=!1,e=S.P(c,\"Role\"),f=e.map(function(b){return b.getAttribute(\"value\")}).filter(ud.Ia),g=void 0,h=\"text\"==b.aa.contentType;h&&(g=\"subtitle\");for(var k=0;k<e.length;k++){var l=e[k].getAttribute(\"schemeIdUri\");if(null==l||\"urn:mpeg:dash:role:2011\"==l)switch(l=e[k].getAttribute(\"value\"),l){case \"main\":d=!0;break;case \"caption\":case \"subtitle\":g=l}}var m=null,n=!1;S.P(c,\"EssentialProperty\").forEach(function(b){\"http://dashif.org/guidelines/trickmode\"==\nb.getAttribute(\"schemeIdUri\")?m=b.getAttribute(\"value\"):n=!0});k=S.P(c,\"Accessibility\");var p=new Map;e={};k=r(k);for(l=k.next();!l.done;e={Ib:e.Ib},l=k.next()){var v=l.value;l=v.getAttribute(\"schemeIdUri\");v=v.getAttribute(\"value\");\"urn:scte:dash:cc:cea-608:2015\"==l||\"urn:scte:dash:cc:cea-708:2015\"==l?(e.Ib=1,null!=v?v.split(\";\").forEach(function(b){return function(c){if(c.includes(\"=\")){c=c.split(\"=\");var d=c[0].startsWith(\"CC\")?c[0]:\"CC\"+c[0];c=c[1].split(\",\")[0].split(\":\").pop()}else d=\"CC\"+b.Ib,\nb.Ib+=2;p.set(d,M(c))}}(e)):p.set(\"CC1\",\"und\")):\"urn:mpeg:dash:role:2011\"==l&&null!=v&&(f.push(v),\"captions\"==v&&(g=\"caption\"))}if(n)return null;e=S.P(c,\"ContentProtection\");var x=Ef(e,this.a.dash.customScheme,this.a.dash.ignoreDrmInfo);e=M(c.getAttribute(\"lang\")||\"und\");k=c.getAttribute(\"label\");(l=S.P(c,\"Label\"))&&l.length&&(l=l[0],l.textContent&&(k=l.textContent));l=S.P(c,\"Representation\");f=l.map(this.Qf.bind(this,b,x,g,e,k,d,f,p)).filter(function(b){return!!b});if(0==f.length){if(this.a.dash.ignoreEmptyAdaptationSet||\nh)return null;throw new D(2,4,4003);}b.aa.contentType&&\"application\"!=b.aa.contentType||(b.aa.contentType=Dg(f[0].mimeType,f[0].codecs),f.forEach(function(c){c.type=b.aa.contentType}));f.forEach(function(b){x.drmInfos.forEach(function(c){b.keyId&&c.keyIds.push(b.keyId)})});h=l.map(function(b){return b.getAttribute(\"id\")}).filter(ud.Ia);return{id:b.aa.id||\"__fake__\"+this.h++,contentType:b.aa.contentType,language:e,$c:d,streams:f,drmInfos:x.drmInfos,Bd:m,Yf:h}};\nq.Qf=function(b,c,d,e,f,g,h,k,l){b.C=Ag(l,b.aa,null);if(!Eg(b.C))return null;b.bandwidth=S.I(l,\"bandwidth\",S.tc)||0;var m=b.C.contentType;m=\"text\"==m||\"application\"==m;try{var n=this.Zf.bind(this);if(b.C.Ub)var p=fg(b,n);else if(b.C.La)p=ig(b,this.m);else if(b.C.Wb)p=mg(b,n,this.m,!!this.c);else{var v=b.C.qa,x=b.T.duration||0;p={createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(b){return 0<=b&&b<x?1:null},getSegmentReference:function(b){return 1!=b?null:new T(1,0,x,function(){return v},\n0,null)},initSegmentReference:null,ma:0}}}catch(B){if(m&&4002==B.code)return null;throw B;}l=S.P(l,\"ContentProtection\");l=Hf(l,this.a.dash.customScheme,c,this.a.dash.ignoreDrmInfo);return{id:this.h++,originalId:b.C.id,createSegmentIndex:p.createSegmentIndex,findSegmentPosition:p.findSegmentPosition,getSegmentReference:p.getSegmentReference,initSegmentReference:p.initSegmentReference,presentationTimeOffset:p.ma,mimeType:b.C.mimeType,codecs:b.C.codecs,frameRate:b.C.frameRate,pixelAspectRatio:b.C.pixelAspectRatio,\nbandwidth:b.bandwidth,width:b.C.width,height:b.C.height,kind:d,encrypted:0<c.drmInfos.length,keyId:l,language:e,label:f,type:b.aa.contentType,primary:g,trickModeVideo:null,emsgSchemeIdUris:b.C.emsgSchemeIdUris,roles:h,channelsCount:b.C.gd,audioSamplingRate:b.C.audioSamplingRate,closedCaptions:k}};\nfunction tg(b){t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return e=0,za(d,2),u(d,ug(b),4);case 4:e=d.o;Ba(d,3);break;case 2:f=Ca(d),b.b&&(f.severity=1,b.b.onError(f));case 3:if(!b.b)return d[\"return\"]();vg(b,e);w(d)}})})}function vg(b,c){0>b.s||b.i.R(Math.max(3,b.s-c,$a(b.u)))}\nfunction Ag(b,c,d){c=c||{contentType:\"\",mimeType:\"\",codecs:\"\",emsgSchemeIdUris:[],frameRate:void 0,gd:null,audioSamplingRate:null};d=d||c.qa;var e=S.yb,f=S.Me,g=S.P(b,\"BaseURL\").map(S.ic),h=b.getAttribute(\"contentType\")||c.contentType,k=b.getAttribute(\"mimeType\")||c.mimeType,l=b.getAttribute(\"codecs\")||c.codecs;f=S.I(b,\"frameRate\",f)||c.frameRate;var m=b.getAttribute(\"par\")||c.pixelAspectRatio,n=S.P(b,\"InbandEventStream\"),p=c.emsgSchemeIdUris.slice();n=r(n);for(var v=n.next();!v.done;v=n.next())v=\nv.value.getAttribute(\"schemeIdUri\"),p.includes(v)||p.push(v);n=S.P(b,\"AudioChannelConfiguration\");n=Fg(n)||c.gd;v=S.I(b,\"audioSamplingRate\",e)||c.audioSamplingRate;h||(h=Dg(k,l));return{qa:vd(d,g),Ub:S.gc(b,\"SegmentBase\")||c.Ub,La:S.gc(b,\"SegmentList\")||c.La,Wb:S.gc(b,\"SegmentTemplate\")||c.Wb,width:S.I(b,\"width\",e)||c.width,height:S.I(b,\"height\",e)||c.height,contentType:h,mimeType:k,codecs:l,frameRate:f,pixelAspectRatio:m,emsgSchemeIdUris:p,id:b.getAttribute(\"id\"),gd:n,audioSamplingRate:v}}\nfunction Fg(b){for(var c=0;c<b.length;++c){var d=b[c],e=d.getAttribute(\"schemeIdUri\");if(e&&(d=d.getAttribute(\"value\")))switch(e){case \"urn:mpeg:dash:outputChannelPositionList:2012\":return d.trim().split(/ +/).length;case \"urn:mpeg:dash:23003:3:audio_channel_configuration:2011\":case \"urn:dts:dash:audio_channel_configuration:2012\":e=parseInt(d,10);if(!e)continue;return e;case \"tag:dolby.com,2014:dash:audio_channel_configuration:2011\":case \"urn:dolby:dash:audio_channel_configuration:2011\":if(e=parseInt(d,\n16)){for(b=0;e;)e&1&&++b,e>>=1;return b}}}return null}function Eg(b){var c=b.Ub?1:0;c+=b.La?1:0;c+=b.Wb?1:0;if(0==c)return\"text\"==b.contentType||\"application\"==b.contentType?!0:!1;1!=c&&(b.Ub&&(b.La=null),b.Wb=null);return!0}\nfunction Gg(b,c,d,e){c=vd(c,[d]);c=Wb(c,b.a.retryParameters);c.method=e;c=b.b.networkingEngine.request(4,c);Tb(b.g,c);return c.promise.then(function(b){if(\"HEAD\"==e){if(!b.headers||!b.headers.date)return 0;b=b.headers.date}else b=Bc(b.data);b=Date.parse(b);return isNaN(b)?0:b-Date.now()})}\nfunction zg(b,c,d){d=d.map(function(b){return{scheme:b.getAttribute(\"schemeIdUri\"),value:b.getAttribute(\"value\")}});var e=b.a.dash.clockSyncUri;!d.length&&e&&d.push({scheme:\"urn:mpeg:dash:utc:http-head:2014\",value:e});return ud.Ke(d,function(b){var d=b.scheme;b=b.value;switch(d){case \"urn:mpeg:dash:utc:http-head:2014\":case \"urn:mpeg:dash:utc:http-head:2012\":return Gg(this,c,b,\"HEAD\");case \"urn:mpeg:dash:utc:http-xsdate:2014\":case \"urn:mpeg:dash:utc:http-iso:2014\":case \"urn:mpeg:dash:utc:http-xsdate:2012\":case \"urn:mpeg:dash:utc:http-iso:2012\":return Gg(this,\nc,b,\"GET\");case \"urn:mpeg:dash:utc:direct:2014\":case \"urn:mpeg:dash:utc:direct:2012\":return d=Date.parse(b),isNaN(d)?0:d-Date.now();case \"urn:mpeg:dash:utc:http-ntp:2014\":case \"urn:mpeg:dash:utc:ntp:2014\":case \"urn:mpeg:dash:utc:sntp:2014\":return cb(\"NTP UTCTiming scheme is not supported\"),Promise.reject();default:return cb(\"Unrecognized scheme in UTCTiming element\",d),Promise.reject()}}.bind(b))[\"catch\"](function(){cb(\"A UTCTiming element should always be given in live manifests! This content may not play on clients with bad clocks!\");\nreturn 0})}q.Pf=function(b,c,d){var e=S.yb,f=d.getAttribute(\"schemeIdUri\")||\"\",g=d.getAttribute(\"value\")||\"\",h=S.I(d,\"timescale\",e)||1;S.P(d,\"Event\").forEach(function(d){var k=S.I(d,\"presentationTime\",e)||0,m=S.I(d,\"duration\",e)||0;k=k/h+b;m=k+m/h;null!=c&&(k=Math.min(k,b+c),m=Math.min(m,b+c));d={schemeIdUri:f,value:g,startTime:k,endTime:m,id:d.getAttribute(\"id\")||\"\",eventElement:d};this.b.onTimelineRegionAdded(d)}.bind(this))};\nq.Zf=function(b,c,d){b=rg(b,c,d,this.a.retryParameters);b=this.b.networkingEngine.request(1,b);Tb(this.g,b);return b.promise.then(function(b){return b.data})};function Dg(b,c){return Yd(oc(b,c))?\"text\":b.split(\"/\")[0]}V.pd(\"mpd\",sg);V.Cb(\"application/dash+xml\",sg);V.Cb(\"video/vnd.mpeg.dash.mpd\",sg);function Hg(b,c,d,e){this.b=b;this.type=c;this.a=d;this.segments=e||null}function Ig(b,c,d,e){this.id=b;this.name=c;this.a=d;this.value=void 0===e?null:e}Ig.prototype.toString=function(){function b(b){return b.name+\"=\"+(isNaN(Number(b.value))?'\"'+b.value+'\"':b.value)}var c=\"#\"+this.name,d=this.a?this.a.map(b):[];this.value&&d.unshift(this.value);0<d.length&&(c+=\":\"+d.join(\",\"));return c};function Jg(b,c){this.name=b;this.value=c}\nIg.prototype.getAttribute=function(b){var c=this.a.filter(function(c){return c.name==b});return c.length?c[0]:null};function Kg(b,c,d){return(b=b.getAttribute(c))?b.value:d||null}function Lg(b,c){this.b=c;this.a=b};var Mg={nb:function(b,c){return b.filter(function(b){return b.name==c})},Ta:function(b,c){var d=Mg.nb(b,c);return d.length?d[0]:null},Pc:function(b,c,d){return b.filter(function(b){var e=b.getAttribute(\"TYPE\");b=b.getAttribute(\"GROUP-ID\");return e.value==c&&b.value==d})},Hc:function(b,c){return vd([b],[c])[0]},Yc:function(b){return/^#(?!EXT)/m.test(b)}};function Ng(b){this.b=b;this.a=0}function Og(b){Pg(b,/[ \\t]+/gm)}function Pg(b,c){c.lastIndex=b.a;var d=c.exec(b.b);d=null==d?null:{position:d.index,length:d[0].length,ag:d};if(b.a==b.b.length||null==d||d.position!=b.a)return null;b.a+=d.length;return d.ag}function Qg(b){return b.a==b.b.length?null:(b=Pg(b,/[^ \\t\\n]*/gm))?b[0]:null};function Rg(){this.a=0}\nfunction Sg(b,c,d){c=Bc(c);c=c.replace(/\\r\\n|\\r(?=[^\\n]|$)/gm,\"\\n\").trim();var e=c.split(/\\n+/m);if(!/^#EXTM3U($|[ \\t\\n])/m.test(e[0]))throw new D(2,4,4015);c=0;for(var f=1;f<e.length;f++)if(!Mg.Yc(e[f])){var g=Tg(b,e[f]);--b.a;if(Ug.includes(g.name)){c=1;break}else\"EXT-X-STREAM-INF\"==g.name&&(f+=1)}f=[];for(g=1;g<e.length;)if(Mg.Yc(e[g]))g+=1;else{var h=Tg(b,e[g]);if(Vg.includes(h.name)){if(1!=c)throw new D(2,4,4017);e=e.splice(g,e.length-g);b=Wg(b,d,e,f);return new Hg(d,c,f,b)}f.push(h);g+=1;\"EXT-X-STREAM-INF\"==\nh.name&&(h.a.push(new Jg(\"URI\",e[g])),g+=1)}return new Hg(d,c,f)}function Wg(b,c,d,e){var f=[],g=[];d.forEach(function(d){if(/^(#EXT)/.test(d))d=Tg(b,d),Ug.includes(d.name)?e.push(d):g.push(d);else{if(Mg.Yc(d))return[];d=Mg.Hc(c,d.trim());f.push(new Lg(d,g));g=[]}});return f}\nfunction Tg(b,c){var d=b.a++,e=c.match(/^#(EXT[^:]*)(?::(.*))?$/);if(!e)throw new D(2,4,4016,c);var f=e[1],g=e[2];e=[];var h;if(g){g=new Ng(g);var k;(k=Pg(g,/^([^,=]+)(?:,|$)/g))&&(h=k[1]);for(var l=/([^=]+)=(?:\"([^\"]*)\"|([^\",]*))(?:,|$)/g;k=Pg(g,l);)e.push(new Jg(k[1],k[2]||k[3]))}return new Ig(d,f,e,h)}var Ug=\"EXT-X-TARGETDURATION EXT-X-MEDIA-SEQUENCE EXT-X-DISCONTINUITY-SEQUENCE EXT-X-PLAYLIST-TYPE EXT-X-MAP EXT-X-I-FRAMES-ONLY EXT-X-ENDLIST\".split(\" \"),Vg=\"EXTINF EXT-X-BYTERANGE EXT-X-DISCONTINUITY EXT-X-PROGRAM-DATE-TIME EXT-X-KEY EXT-X-DATERANGE\".split(\" \");function Xg(b){try{var c=Xg.parse(b);return Hb({uri:b,ld:b,data:c.data,headers:{\"content-type\":c.contentType}})}catch(d){return Db(d)}}A(\"shaka.net.DataUriPlugin\",Xg);\nXg.parse=function(b){var c=b.split(\":\");if(2>c.length||\"data\"!=c[0])throw new D(2,1,1004,b);c=c.slice(1).join(\":\").split(\",\");if(2>c.length)throw new D(2,1,1004,b);var d=c[0];c=window.decodeURIComponent(c.slice(1).join(\",\"));d=d.split(\";\");var e=null;1<d.length&&(e=d[1]);if(\"base64\"==e)b=L.Ba(c).buffer;else{if(e)throw new D(2,1,1005,b);b=Ec(c)}return{data:b,contentType:d[0]}};Vb(\"data\",Xg);function Yg(){var b=this;this.a=this.f=null;this.$=1;this.D=new Map;this.S=new Set;this.b=new Map;this.c=null;this.u=\"\";this.s=new Rg;this.O=0;this.h=new C(function(){Zg(b)});this.g=$g;this.m=null;this.B=0;this.F=Infinity;this.i=new Sb;this.K=[];this.l=new Map;this.W=!1}A(\"shaka.hls.HlsParser\",Yg);q=Yg.prototype;q.configure=function(b){this.a=b};\nq.start=function(b,c){var d=this;return t(function f(){var g,h;return z(f,function(f){switch(f.j){case 1:return d.f=c,u(f,ah(d,Wb([b],d.a.retryParameters),0),2);case 2:return g=f.o,d.u=g.uri,u(f,bh(d,g.data),3);case 3:return h=d.O,0<h&&d.h.R(h),f[\"return\"](d.m)}})})};q.stop=function(){this.h&&(this.h.stop(),this.h=null);var b=[];this.i&&(b.push(this.i.destroy()),this.i=null);this.a=this.f=null;this.D.clear();this.S.clear();this.b.clear();this.m=null;return Promise.all(b)};\nq.update=function(){if(this.g!=ch.Qa){for(var b=[],c=r(this.b.values()),d=c.next();!d.done;d=c.next())b.push(dh(this,d.value));return Promise.all(b)}};\nfunction dh(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x,B;return z(e,function(e){switch(e.j){case 1:return f=Mg,g=ch,h=c.Ce,u(e,ah(b,Wb([h],b.a.retryParameters),0),2);case 2:k=e.o;l=Sg(b.s,k.data,k.uri);if(1!=l.type)throw new D(2,4,4017);n=(m=f.Ta(l.a,\"EXT-X-MEDIA-SEQUENCE\"))?Number(m.value):0;p=c.stream;return u(e,eh(b,c.Bc,l,n,p.mimeType,p.codecs),3);case 3:v=e.o;c.Vb.a=v;x=v[v.length-1];if(B=f.Ta(l.a,\"EXT-X-ENDLIST\"))fh(b,g.Qa),b.c.xa(x.endTime);w(e)}})})}q.onExpirationUpdated=function(){};\nfunction bh(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x,B;return z(e,function(e){switch(e.j){case 1:f=Sg(b.s,c,b.u);if(0!=f.type)throw new D(2,4,4022);return u(e,gh(b,f),2);case 2:g=e.o;if(!b.f)throw new D(2,7,7001);if(b.W&&0==g.variants.length)throw new D(2,4,4034);b.f.filterAllPeriods([g]);h=Infinity;k=0;l=Infinity;for(var y=r(b.b.values()),E=y.next();!E.done;E=y.next())m=E.value,h=Math.min(h,m.dd),k=Math.max(k,m.dd),\"text\"!=m.stream.type&&(l=Math.min(l,m.duration));b.g!=ch.Qa?(b.c=new W(0,\n3*b.B),b.c.Xb(!1)):(b.c=new W(null,0),b.c.Xb(!0));hh(b);if(b.g!=ch.Qa){b.O=b.F;n=ch;b.g==n.Fd&&(p=b.c.vc,isNaN(b.a.availabilityWindowOverride)||(p=b.a.availabilityWindowOverride),b.c.xd(p));for(v=0;95443.7176888889<=k;)v+=95443.7176888889,k-=95443.7176888889;if(v)for(y=r(b.b.values()),E=y.next();!E.done;E=y.next())x=E.value,95443.7176888889>x.dd&&(x.stream.presentationTimeOffset=-v,x.Vb.offset(v))}else for(b.c.xa(l),b.c.offset(-h),y=r(b.b.values()),E=y.next();!E.done;E=y.next())B=E.value,B.stream.presentationTimeOffset=\nh,B.Vb.offset(-h),Vf(B.Vb,l);b.m={presentationTimeline:b.c,periods:[g],offlineSessionIds:[],minBufferTime:0};w(e)}})})}\nfunction gh(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x,B,y;return z(e,function(e){switch(e.j){case 1:return f=Mg,g=ud,h=c.a,k=f.nb(c.a,\"EXT-X-MEDIA\"),l=k.filter(function(b){return\"SUBTITLES\"==ih(b,\"TYPE\")}.bind(b)),m=l.map(function(b){var c=this;return t(function ba(){var e;return z(ba,function(f){switch(f.j){case 1:if(c.a.disableText)return f[\"return\"](null);za(f,2);return u(f,jh(c,b),4);case 4:return f[\"return\"](f.o);case 2:e=Ca(f);if(c.a.hls.ignoreTextStreamFailures)return f[\"return\"](null);\nthrow e;}})})}.bind(b)),n=k.filter(function(b){return\"CLOSED-CAPTIONS\"==ih(b,\"TYPE\")}),kh(b,n),u(e,Promise.all(m),2);case 2:return p=e.o,v=f.nb(h,\"EXT-X-STREAM-INF\"),x=v.map(function(b){return lh(this,b,c)}.bind(b)),u(e,Promise.all(x),3);case 3:return B=e.o,y=B.reduce(g.Gc,[]),y=y.filter(function(b){return null!=b}),e[\"return\"]({startTime:0,variants:y,textStreams:p.filter(function(b){return null!=b})})}})})}\nfunction lh(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x,B,y,G,E,aa,sa,ba,ub,Ua,X,oa,ha,Ka,Da,Ea,vb,eb,fb;return z(f,function(f){switch(f.j){case 1:g=xd;h=Mg;k=Kg(c,\"CODECS\",\"avc1.42E01E,mp4a.40.2\");l=mh(k.split(/\\s*,\\s*/));m=c.getAttribute(\"RESOLUTION\");p=n=null;v=Kg(c,\"FRAME-RATE\");x=Number(ih(c,\"BANDWIDTH\"));m&&(B=m.value.split(\"x\"),n=B[0],p=B[1]);y=h.nb(d.a,\"EXT-X-MEDIA\");y=y.filter(function(b){return\"CLOSED-CAPTIONS\"!=ih(b,\"TYPE\")});y=y.filter(function(b){var c=Kg(b,\"URI\")||\"\";return\"SUBTITLES\"==\n(Kg(b,\"TYPE\")||\"\")||\"\"!=c});G=Kg(c,\"AUDIO\");E=Kg(c,\"VIDEO\");G?y=h.Pc(y,\"AUDIO\",G):E&&(y=h.Pc(y,\"VIDEO\",E));if(aa=nh(g.ra,l)){if(sa=Kg(c,\"SUBTITLES\"))if(ba=h.Pc(y,\"SUBTITLES\",sa),ba.length&&(ub=b.D.get(ba[0].id)))ub.stream.codecs=aa;Pb(l,aa)}Ua=y.map(function(b){return oh(this,b,l)}.bind(b));X=[];oa=[];return u(f,Promise.all(Ua),2);case 2:Ka=f.o;Ka=Ka.filter(function(b){return null!=b});G?X=Ka:E&&(oa=Ka);Ea=!1;X.length||oa.length?X.length?(eb=ih(c,\"URI\"),fb=X[0].Bc,eb==fb?(Da=g.Eb,Ea=!0):Da=g.Pa):\nDa=g.Eb:1==l.length?(vb=nh(g.Pa,l),Da=m||v||vb?g.Pa:g.Eb):(Da=g.Pa,l=[l.join(\",\")]);if(Ea){f.A(3);break}return u(f,ph(b,c,l,Da),4);case 4:ha=f.o;case 3:if(ha)ha.stream.type==g.Eb?X=[ha]:oa=[ha];else if(null===ha)return f[\"return\"]([]);oa&&qh(oa);X&&qh(X);return f[\"return\"](rh(b,X,oa,x,n,p,v))}})})}function qh(b){b.forEach(function(b){if(b){var c=b.stream.codecs.split(\",\");c=c.filter(function(b){return\"mp4a.40.34\"!=b});b.stream.codecs=c.join(\",\")}})}\nfunction rh(b,c,d,e,f,g,h){d.forEach(function(b){if(b=b.stream)b.width=Number(f)||void 0,b.height=Number(g)||void 0,b.frameRate=Number(h)||void 0}.bind(b));var k=b.a?b.a.disableAudio:!1;if(!c.length||k)c=[null];k=b.a?b.a.disableVideo:!1;if(!d.length||k)d=[null];k=[];c=r(c);for(var l=c.next();!l.done;l=c.next()){l=l.value;for(var m=r(d),n=m.next();!n.done;n=m.next()){var p=n.value;n=l?l.stream:null;var v=p?p.stream:null,x=l?l.drmInfos:null,B=p?p.drmInfos:null;p=(p?p.Bc:\"\")+\" - \"+(l?l.Bc:\"\");var y=\nvoid 0;if(n&&v)if(x.length&&B.length?0<nd(x,B).length:1)y=nd(x,B);else continue;else n?y=x:v&&(y=B);b.S.has(p)||(n=sh(b,n,v,e,y),k.push(n),b.S.add(p))}}return k}function sh(b,c,d,e,f){return{id:b.$++,language:c?c.language:\"und\",primary:!!c&&c.primary||!!d&&d.primary,audio:c,video:d,bandwidth:e,drmInfos:f,allowedByApplication:!0,allowedByKeySystem:!0}}\nfunction jh(b,c){return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return ih(c,\"TYPE\"),u(e,oh(b,c,[]),2);case 2:return f=e.o,e[\"return\"](f.stream)}})})}function kh(b,c){for(var d=r(c),e=d.next();!e.done;e=d.next()){e=e.value;ih(e,\"TYPE\");var f=Kg(e,\"LANGUAGE\")||\"und\";f=M(f);var g=ih(e,\"GROUP-ID\");e=ih(e,\"INSTREAM-ID\");b.l.get(g)||b.l.set(g,new Map);b.l.get(g).set(e,f)}}\nfunction oh(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x,B,y;return z(f,function(f){switch(f.j){case 1:g=ih(c,\"URI\");if(b.b.has(g))return f[\"return\"](b.b.get(g));h=ih(c,\"TYPE\").toLowerCase();k=xd;\"subtitles\"==h&&(h=k.ra);l=M(Kg(c,\"LANGUAGE\",\"und\"));m=Kg(c,\"NAME\");n=c.getAttribute(\"DEFAULT\");p=c.getAttribute(\"AUTOSELECT\");v=Kg(c,\"CHANNELS\");if(\"audio\"==h)if(v){var G=v.split(\"/\")[0];G=parseInt(G,10)}else G=null;else G=null;x=G;B=!!n||!!p;return u(f,th(b,g,d,h,l,B,m,x,null),2);case 2:y=f.o;if(b.b.has(g))return f[\"return\"](b.b.get(g));\nif(null==y)return f[\"return\"](null);b.D.set(c.id,y);b.b.set(g,y);return f[\"return\"](y)}})})}\nfunction ph(b,c,d,e){return t(function g(){var h,k,l,m,n;return z(g,function(g){switch(g.j){case 1:h=xd;k=ih(c,\"URI\");if(b.b.has(k))return g[\"return\"](b.b.get(k));l=Kg(c,\"CLOSED-CAPTIONS\");m=null;e==h.Pa&&l&&\"NONE\"!=l&&(m=b.l.get(l));return u(g,th(b,k,d,e,\"und\",!1,null,null,m),2);case 2:n=g.o;if(null==n)return g[\"return\"](null);if(b.b.has(k))return g[\"return\"](b.b.get(k));b.b.set(k,n);return g[\"return\"](n)}})})}\nfunction th(b,c,d,e,f,g,h,k,l){return t(function n(){var p,v,x,B,y,G,E,aa,sa,ba,ub,Ua,X,oa,ha,Ka,Da,Ea,vb,eb,fb,zd,gb,Oh,wb,Fb;return z(n,function(n){switch(n.j){case 1:return p=Mg,v=p.Hc(b.u,c),u(n,ah(b,Wb([v],b.a.retryParameters),0),2);case 2:x=n.o;v=x.uri;B=Sg(b.s,x.data,v);if(1!=B.type)throw new D(2,4,4017);y=[];B.segments.forEach(function(b){b=p.nb(b.b,\"EXT-X-KEY\");y.push.apply(y,b)});G=!1;E=[];aa=null;for(var La=r(y),Va=La.next();!Va.done;Va=La.next())if(sa=Va.value,ba=ih(sa,\"METHOD\"),\"NONE\"!=\nba){G=!0;if(\"AES-128\"==ba)return b.W=!0,n[\"return\"](null);ub=ih(sa,\"KEYFORMAT\");if(X=(Ua=uh[ub])?Ua(sa):null)X.keyIds.length&&(aa=X.keyIds[0]),E.push(X)}if(G&&!E.length)throw new D(2,4,4026);vh(b,B);oa=wh(e,d);return u(n,xh(b,e,oa,B),3);case 3:return ha=n.o,yh.includes(ha)&&(oa=\"\"),Da=(Ka=p.Ta(B.a,\"EXT-X-MEDIA-SEQUENCE\"))?Number(Ka.value):0,za(n,4),u(n,eh(b,c,B,Da,ha,oa),6);case 6:Ea=n.o;Ba(n,5);break;case 4:vb=Ca(n);if(4035==vb.code)return cb(\"Skipping unsupported HLS stream\",ha,c),n[\"return\"](null);\nthrow vb;case 5:return eb=Ea[0].startTime,fb=Ea[Ea.length-1].endTime,zd=fb-eb,gb=new U(Ea),Oh=zh(B),wb=void 0,\"text\"==e&&(wb=\"subtitle\"),Fb={id:b.$++,originalId:h,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:gb.find.bind(gb),getSegmentReference:gb.get.bind(gb),initSegmentReference:Oh,presentationTimeOffset:0,mimeType:ha,codecs:oa,kind:wb,encrypted:G,keyId:aa,language:f,label:h,type:e,primary:g,trickModeVideo:null,emsgSchemeIdUris:null,frameRate:void 0,pixelAspectRatio:void 0,\nwidth:void 0,height:void 0,bandwidth:void 0,roles:[],channelsCount:k,audioSamplingRate:null,closedCaptions:l},n[\"return\"]({stream:Fb,Vb:gb,drmInfos:E,Bc:c,Ce:v,dd:eb,Hg:fb,duration:zd})}})})}function vh(b,c){var d=ch,e=Mg.Ta(c.a,\"EXT-X-PLAYLIST-TYPE\"),f=Mg.Ta(c.a,\"EXT-X-ENDLIST\");f=e&&\"VOD\"==e.value||f;e=e&&\"EVENT\"==e.value&&!f;e=!f&&!e;f?fh(b,d.Qa):(e?fh(b,d.Fd):fh(b,d.xe),d=Ah(c.a,\"EXT-X-TARGETDURATION\"),d=Number(d.value),b.B=Math.max(d,b.B),b.F=Math.min(d,b.F))}\nfunction zh(b){var c=Mg.nb(b.a,\"EXT-X-MAP\");if(!c.length)return null;if(1<c.length)throw new D(2,4,4020);c=c[0];var d=ih(c,\"URI\"),e=Mg.Hc(b.b,d);b=0;d=null;if(c=Kg(c,\"BYTERANGE\"))b=c.split(\"@\"),c=Number(b[0]),b=Number(b[1]),d=b+c-1;return new Sf(function(){return[e]},b,d)}\nfunction Bh(b,c,d,e){var f=c.b,g=c.a;c=Ah(f,\"EXTINF\").value.split(\",\");c=e+Number(c[0]);var h=0,k=null;if(f=Mg.Ta(f,\"EXT-X-BYTERANGE\"))h=f.value.split(\"@\"),f=Number(h[0]),h=h[1]?Number(h[1]):b.a+1,k=h+f-1;return new T(d,e,c,function(){return[g]},h,k)}function hh(b){b.c&&(b.K.forEach(function(c){b.c.vb(c,0)}),b.K=[])}\nfunction eh(b,c,d,e,f,g){return t(function k(){var l,m,n,p,v,x,B,y,G,E,aa;return z(k,function(k){switch(k.j){case 1:return l=d.segments,m=[],n=l[0].a,p=Bh(null,l[0],e,0),v=zh(d),u(k,Ch(b,c,v,p,f,g),2);case 2:x=k.o;n.split(\"/\").pop();for(var ba=0;ba<l.length;++ba)B=l[ba],y=m[m.length-1],G=0==ba?x:y.endTime,E=e+ba,aa=Bh(y,B,E,G),m.push(aa);b.K.push(m);hh(b);return k[\"return\"](m)}})})}\nfunction Dh(b,c){return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:return f=1,g=rg(c.c(),c.b,c.b+2048-1,b.a.retryParameters),h=rg(c.c(),c.b,c.a,b.a.retryParameters),za(e,2),u(e,ah(b,g,f),4);case 4:return k=e.o,e[\"return\"](k);case 2:l=Ca(e);if(7001==l.code)throw l;cb(\"Unable to fetch a partial HLS segment! Falling back to a full segment request, which is expensive! Your server should support Range requests and CORS preflights.\",g.uris[0]);return u(e,ah(b,h,f),5);case 5:return m=\ne.o,e[\"return\"](m)}})})}\nfunction Ch(b,c,d,e,f,g){return t(function k(){var l,m,n,p,v,x,B,y,G;return z(k,function(k){switch(k.j){case 1:if(b.m&&(l=b.b.get(c),m=l.Vb,n=m.get(e.position)))return k[\"return\"](n.startTime);f=f.toLowerCase();if(yh.includes(f))throw cb(\"Raw formats are not yet supported. Skipping \"+f),new D(1,4,4035);if(\"video/webm\"==f)throw cb(\"WebM in HLS is not yet supported. Skipping.\"),new D(1,4,4035);if(\"video/mp4\"!=f&&\"audio/mp4\"!=f){k.A(2);break}p=[Dh(b,e)];d&&p.push(Dh(b,d));return u(k,Promise.all(p),\n3);case 3:return v=k.o,x=v[0],B=v[1]||v[0],k[\"return\"](Eh(c,x.uri,x.data,B.data));case 2:if(\"video/mp2t\"!=f){k.A(4);break}return u(k,Dh(b,e),5);case 5:return y=k.o,k[\"return\"](Fh(c,y.uri,y.data));case 4:if(\"application/mp4\"!=f&&!f.startsWith(\"text/\")){k.A(6);break}return u(k,Dh(b,e),7);case 7:return G=k.o,k[\"return\"](Gh(f,g,G.data));case 6:throw new D(2,4,4030,c);}})})}\nfunction Eh(b,c,d,e){var f=0;(new R).H(\"moov\",xf).H(\"trak\",xf).H(\"mdia\",xf).fa(\"mdhd\",function(b){b.reader.M(0==b.version?8:16);f=b.reader.G();b.parser.stop()}).parse(e,!0);if(!f)throw new D(2,4,4030,b,c);var g=0,h=!1;(new R).H(\"moof\",xf).H(\"traf\",xf).fa(\"tfdt\",function(b){g=(0==b.version?b.reader.G():b.reader.Bb())/f;h=!0;b.parser.stop()}).parse(d,!0);if(!h)throw new D(2,4,4030,b,c);return g}\nfunction Fh(b,c,d){function e(){throw new D(2,4,4030,b,c);}d=new Q(new DataView(d),0);for(var f=0,g=0;;)if(f=d.ca(),g=d.la(),71!=g&&e(),d.Tb()&16384||e(),g=(d.la()&48)>>4,0!=g&&2!=g||e(),3==g&&(g=d.la(),d.M(g)),1!=d.G()>>8)d.seek(f+188),g=d.la(),71!=g&&(d.seek(f+192),g=d.la()),71!=g&&(d.seek(f+204),g=d.la()),71!=g&&e(),d.me(1);else return d.M(3),f=d.la()>>6,0!=f&&1!=f||e(),0==d.la()&&e(),f=d.la(),g=d.Tb(),d=d.Tb(),(1073741824*((f&14)>>1)+((g&65534)<<14|(d&65534)>>1))/9E4}\nfunction Gh(b,c,d){b=oc(b,c);if(!Yd(b))return 0;c=new Wd(null);Zd(c,b);return c.kc(d)}function mh(b){var c=new Set,d=[];b=r(b);for(var e=b.next();!e.done;e=b.next()){e=e.value;var f=rc(e)[0];c.has(f)||(d.push(e),c.add(f))}return d}function nh(b,c){for(var d=Hh[b],e=0;e<d.length;e++)for(var f=0;f<c.length;f++)if(d[e].test(c[f].trim()))return c[f].trim();return\"text\"==b?\"\":null}function wh(b,c){if(1==c.length)return c[0];var d=nh(b,c);if(null!=d)return d;throw new D(2,4,4025,c);}\nfunction xh(b,c,d,e){return t(function g(){var h,k,l,m,n,p,v,x,B;return z(g,function(g){switch(g.j){case 1:h=xd;k=e.segments[0].a;l=new ib(k);m=l.ja.split(\".\").pop();n=Ih[c];if(p=n[m])return g[\"return\"](p);if(c==h.ra)return d&&\"vtt\"!=d?g[\"return\"](\"application/mp4\"):g[\"return\"](\"text/vtt\");v=Wb([k],b.a.retryParameters);v.method=\"HEAD\";return u(g,ah(b,v,1),2);case 2:x=g.o;B=x.headers[\"content-type\"];if(!B)throw new D(2,4,4021,m);return g[\"return\"](B.split(\";\")[0])}})})}\nfunction ih(b,c){var d=b.getAttribute(c);if(!d)throw new D(2,4,4023,c);return d.value}function Ah(b,c){var d=Mg.Ta(b,c);if(!d)throw new D(2,4,4024,c);return d}\nvar Hh={audio:[/^vorbis$/,/^opus$/,/^flac$/,/^mp4a/,/^[ae]c-3$/],video:[/^avc/,/^hev/,/^hvc/,/^vp0?[89]/,/^av1$/],text:[/^vtt$/,/^wvtt/,/^stpp/]},yh=[\"audio/aac\",\"audio/ac3\",\"audio/ec3\",\"audio/mpeg\"],Ih={audio:{mp4:\"audio/mp4\",m4s:\"audio/mp4\",m4i:\"audio/mp4\",m4a:\"audio/mp4\",ts:\"video/mp2t\",aac:\"audio/aac\",ac3:\"audio/ac3\",ec3:\"audio/ec3\",mp3:\"audio/mpeg\"},video:{mp4:\"video/mp4\",m4s:\"video/mp4\",m4i:\"video/mp4\",m4v:\"video/mp4\",ts:\"video/mp2t\"},text:{mp4:\"application/mp4\",m4s:\"application/mp4\",m4i:\"application/mp4\",\nvtt:\"text/vtt\",ttml:\"application/ttml+xml\"}};function Zg(b){t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:if(!b.f)return d[\"return\"]();za(d,2);return u(d,b.update(),4);case 4:e=b.O;b.h.R(e);Ba(d,0);break;case 2:f=Ca(d);if(!b.f)return d[\"return\"]();f.severity=1;b.f.onError(f);b.h.R(.1);w(d)}})})}function fh(b,c){b.g=c;b.c&&b.c.Xb(b.g==ch.Qa);b.g!=ch.Qa||b.h.stop()}function ah(b,c,d){if(!b.i)throw new D(2,7,7001);c=b.f.networkingEngine.request(d,c);Tb(b.i,c);return c.promise}\nvar uh={\"urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed\":function(b){var c=ih(b,\"METHOD\");ze(\"HLS SAMPLE-AES-CENC\",\"SAMPLE-AES-CENC will no longer be supported, see Issue #1227\");if(![\"SAMPLE-AES\",\"SAMPLE-AES-CTR\",\"SAMPLE-AES-CENC\"].includes(c))return null;c=ih(b,\"URI\");c=Xg.parse(c);c=new Uint8Array(c.data);c=wd(\"com.widevine.alpha\",[{initDataType:\"cenc\",initData:c}]);if(b=Kg(b,\"KEYID\"))c.keyIds=[b.substr(2).toLowerCase()];return c}},$g=\"VOD\",ch={Qa:$g,xe:\"EVENT\",Fd:\"LIVE\"};V.pd(\"m3u8\",Yg);\nV.Cb(\"application/x-mpegurl\",Yg);V.Cb(\"application/vnd.apple.mpegurl\",Yg);function Jh(){this.a=new Map}function Kh(b,c,d){Lh(b,c).text=d}function Lh(b,c){b.a.has(c)||b.a.set(c,new Mh);return b.a.get(c)}function Mh(){this.text=this.variant=null};function Nh(b,c){this.a=b;this.b=new Set([b]);c=c||[];for(var d=r(c),e=d.next();!e.done;e=d.next())this.add(e.value)}Nh.prototype.add=function(b){return Qh(this.a,b)?(this.b.add(b),!0):!1};function Qh(b,c){var d;if(!(d=!!b.audio!=!!c.audio||!!b.video!=!!c.video||b.language!=c.language)&&(d=b.audio&&c.audio)){d=b.audio;var e=c.audio;d=!(d.channelsCount==e.channelsCount&&Rh(d,e)&&Sh(d.roles,e.roles))}!d&&(d=b.video&&c.video)&&(d=b.video,e=c.video,d=!(Rh(d,e)&&Sh(d.roles,e.roles)));return d?!1:!0}\nNh.prototype.values=function(){return this.b.values()};function Rh(b,c){if(b.mimeType!=c.mimeType)return!1;var d=b.codecs.split(\",\").map(function(b){return rc(b)[0]}),e=c.codecs.split(\",\").map(function(b){return rc(b)[0]});if(d.length!=e.length)return!1;d.sort();e.sort();for(var f=0;f<d.length;f++)if(d[f]!=e[f])return!1;return!0}\nfunction Sh(b,c){var d=new Set(b),e=new Set(c);d[\"delete\"](\"main\");e[\"delete\"](\"main\");if(d.size!=e.size)return!1;d=r(d);for(var f=d.next();!f.done;f=d.next())if(!e.has(f.value))return!1;return!0};function Th(b){this.a=b;this.b=new Uh(b.language,\"\",b.audio&&b.audio.channelsCount?b.audio.channelsCount:0,\"\")}Th.prototype.create=function(b){var c=this,d=b.filter(function(b){return Qh(c.a,b)});return d.length?new Nh(d[0],d):this.b.create(b)};function Uh(b,c,d,e,f){this.f=b;this.c=c;this.a=d;this.b=void 0===e?\"\":e;this.g=void 0===f?\"\":f}\nUh.prototype.create=function(b){var c=[];c=Vh(b,this.f);var d=b.filter(function(b){return b.primary});c=c.length?c:d.length?d:b;this.c&&(b=Wh(c,this.c,this.g),b.length&&(c=b));this.a&&(b=N.Nd(c,this.a),b.length&&(c=b));this.b&&(b=Xh(c,this.b),b.length&&(c=b));b=new Nh(c[0]);c=r(c);for(d=c.next();!d.done;d=c.next())d=d.value,Qh(b.a,d)&&b.add(d);return b};function Vh(b,c){var d=M(c),e=we(d,b.map(function(b){return ve(b)}));return e?b.filter(function(b){return e==ve(b)}):[]}\nfunction Wh(b,c,d){return b.filter(function(b){if(d){var e=b[d];return e&&e.roles.includes(c)}e=b.audio;b=b.video;return e&&0<=e.roles.indexOf(c)||b&&0<=b.roles.indexOf(c)})}function Xh(b,c){return b.filter(function(b){return b.audio?b.audio.label.toLowerCase()==c.toLowerCase():!1})};function Yh(){this.a=Zh;this.b=(new Map).set(Zh,2).set($h,1)}function ai(b,c,d){b.b.set(Zh,d).set($h,c)}var $h=0,Zh=1;function bi(b,c){this.g=b;this.h=ci(b);this.a=b.a.currentTime;this.f=Date.now()/1E3;this.b=!1;this.i=c;this.c=function(){}}bi.prototype.release=function(){this.g=null;this.c=function(){}};function di(b,c){b.c=c}function ei(b){this.a=b}function ci(b){if(b.a.paused||0==b.a.playbackRate||null==b.a.buffered)var c=!1;else a:{c=b.a.buffered;b=b.a.currentTime;for(var d=0;d<c.length;d++){var e=c.start(d),f=c.end(d);if(!(b<e||b>f-.5)){c=!0;break a}}c=!1}return c};function fi(b,c,d,e,f){var g=this;this.a=b;this.u=c;this.s=d;this.l=f;this.f=new K;this.i=!1;this.m=b.readyState;this.c=!1;this.b=e;this.h=!1;this.f.w(b,\"waiting\",function(){return gi(g)});this.g=(new C(function(){gi(g)})).Na(.25)}fi.prototype.release=function(){this.f&&(this.f.release(),this.f=null);null!=this.g&&(this.g.stop(),this.g=null);this.b&&(this.b.release(),this.b=null);this.a=this.u=this.l=null};fi.prototype.jd=function(){this.h=!0;gi(this)};\nfunction gi(b){if(0!=b.a.readyState){if(b.a.seeking){if(!b.i)return}else b.i=!1;if(!b.a.paused){b.a.readyState!=b.m&&(b.c=!1,b.m=b.a.readyState);var c=b.s.smallGapLimit,d=b.a.currentTime,e=b.a.buffered;a:{if(e&&e.length&&!(1==e.length&&1E-6>e.end(0)-e.start(0))){var f=wc(\"Edge/\")||wc(\"Trident/\")||wc(\"Tizen\")||wc(\"CrKey\")?.5:.1;for(var g=0;g<e.length;g++)if(e.start(g)>d&&(0==g||e.end(g-1)-d<=f)){f=g;break a}}f=null}if(null==f){if(b.b){b=b.b;e=b.g;d=ci(e);f=e.a.currentTime;g=Date.now()/1E3;if(b.a!=\nf||b.h!=d)b.f=g,b.a=f,b.h=d,b.b=!1;f=g-b.f;f>=b.i&&d&&!b.b&&(b.c(b.a,f),b.b=!0,b.a=e.a.currentTime)}}else if(0!=f||b.h){g=e.start(f);var h=b.u.Ca();if(!(g>=h)){h=g-d;c=h<=c;var k=!1;.001>h||(c||b.c||(b.c=!0,d=new I(\"largegap\",{currentTime:d,gapSize:h}),d.cancelable=!0,b.l(d),b.s.jumpLargeGaps&&!d.defaultPrevented&&(k=!0)),!c&&!k)||(0!=f&&e.end(f-1),b.a.currentTime=g)}}}}};function hi(b){var c=this;this.c=b;this.a=new Set;this.b=(new C(function(){ii(c,!1)})).Na(.25)}hi.prototype.release=function(){this.b.stop();for(var b=r(this.a),c=b.next();!c.done;c=b.next())c.value.release();this.a.clear()};function ii(b,c){for(var d=r(b.a),e=d.next();!e.done;e=d.next())e.value.g(b.c.currentTime,c)};function ji(b){var c=[];b=r(b);for(var d=b.next();!d.done;d=b.next()){d=r(d.value.variants);for(var e=d.next();!e.done;e=d.next())c.push(e.value)}return c}function ki(b,c){for(var d=null,e=r(b),f=e.next();!f.done;f=e.next())f=f.value,c>=f.startTime&&(d=f);return d};function li(b){this.c=b;this.a=null;this.b=function(){}}li.prototype.release=function(){this.a=this.c=null;this.b=function(){}};li.prototype.g=function(b){var c=this.a,d=this.c.periods;b=ki(d,b)||d[0];c!=b&&this.b(b);this.a=b};function mi(b,c){b.b=c};function ni(b){var c=this;this.a=b;this.f=!1;this.c=this.a.jc();this.b=new C(function(){c.a.Yd(.25*c.c)})}ni.prototype.release=function(){this.b&&(this.b.stop(),this.b=null);this.a=null};ni.prototype.set=function(b){this.c=b;oi(this)};function oi(b){b.b.stop();var c=b.f?0:b.c;if(0<=c)try{b.a.jc()!=c&&b.a.wd(c);return}catch(d){}b.b.Na(.25);0!=b.a.jc()&&b.a.wd(0)};function pi(b,c,d){this.a=b;this.f=c;this.g=d;this.h=!1;this.b=new K;this.c=new qi(b);0<b.readyState?ri(this,d):si(this,d)}pi.prototype.release=function(){this.b&&(this.b.release(),this.b=null);null!=this.c&&(this.c.release(),this.c=null);this.f=function(){};this.a=null};function ti(b){return b.h?b.a.currentTime:b.g}function si(b,c){b.g=c;b.b.ea(b.a,\"loadedmetadata\");b.b.da(b.a,\"loadedmetadata\",function(){ri(b,c)})}\nfunction ri(b,c){.001>Math.abs(b.a.currentTime-c)?ui(b):(b.b.da(b.a,\"seeking\",function(){ui(b)}),vi(b.c,0==b.a.currentTime?c:b.a.currentTime))}function ui(b){b.h=!0;b.b.w(b.a,\"seeking\",function(){return b.f()})}function qi(b){var c=this;this.b=b;this.h=10;this.g=this.f=this.c=0;this.a=new C(function(){0>=c.c?c.a.stop():c.b.currentTime!=c.f?c.a.stop():(c.b.currentTime=c.g,c.c--)})}qi.prototype.release=function(){this.a&&(this.a.stop(),this.a=null);this.b=null};\nfunction vi(b,c){b.f=b.b.currentTime;b.g=c;b.c=b.h;b.b.currentTime=c;b.a.Na(.1)};function wi(b){function c(){null==d.c?d.f=!0:(d.b.da(d.a,\"seeking\",function(){d.f=!0}),d.a.currentTime=Math.max(0,d.a.currentTime+d.c))}var d=this;this.a=b;this.f=!1;this.c=null;this.b=new K;0==this.a.readyState?this.b.da(this.a,\"loadeddata\",c):c()}wi.prototype.release=function(){this.b&&(this.b.release(),this.b=null);this.a=null};wi.prototype.m=function(b){this.c=this.f?this.c:b};wi.prototype.h=function(){return(this.f?this.a.currentTime:this.c)||0};wi.prototype.s=function(){};\nfunction xi(b,c,d,e,f,g){var h=this;this.b=b;this.a=c.presentationTimeline;this.B=c.minBufferTime||0;this.g=d;this.u=f;this.l=null;this.f=new fi(b,c.presentationTimeline,d,yi(b,d),g);this.c=new pi(b,function(){a:{var b=h.f;b.i=!0;b.h=!1;b.c=!1;var c=ti(h.c);b=zi(h,c);if(.001<Math.abs(b-c)&&(c=(new Date).getTime()/1E3,!h.l||h.l<c-1)){h.l=c;c=h.c;0<c.a.readyState?vi(c.c,b):si(c,b);b=void 0;break a}h.u();b=void 0}return b},Ai(this,e));this.i=(new C(function(){if(0!=h.b.readyState&&!h.b.paused){var b=\nh.b.currentTime,c=h.a.ob(),d=h.a.Ca();3>d-c&&(c=d-3);b<c&&(b=zi(h,b),h.b.currentTime=b)}})).Na(.25)}xi.prototype.release=function(){this.c&&(this.c.release(),this.c=null);this.f&&(this.f.release(),this.f=null);this.i&&(this.i.stop(),this.i=null);this.b=this.c=this.a=this.g=null;this.u=function(){}};xi.prototype.m=function(b){var c=this.c;0<c.a.readyState?vi(c.c,b):si(c,b)};xi.prototype.h=function(){var b=ti(this.c);return 0<this.b.readyState&&!this.b.paused?Bi(this,b):b};\nfunction Ai(b,c){null==c?c=Infinity>b.a.Y()?b.a.ob():b.a.Ca():0>c&&(c=b.a.Ca()+c);return Ci(b,Bi(b,c))}xi.prototype.s=function(){this.f.jd()};function Ci(b,c){var d=b.a.Y();return c>=d?d-b.g.durationBackoff:c}function zi(b,c){var d=rd.bind(null,b.b.buffered),e=Math.max(b.B,b.g.rebufferingGoal),f=b.g.safeSeekOffset,g=b.a.ob(),h=b.a.Ca(),k=b.a.Y();3>h-g&&(g=h-3);var l=b.a.Nb(e),m=b.a.Nb(f);e=b.a.Nb(e+f);return c>=k?Ci(b,c):c>h?h:c<g?d(m)?m:e:c>=l||d(c)?c:e}\nfunction Bi(b,c){var d=b.a.ob();if(c<d)return d;d=b.a.Ca();return c>d?d:c}function yi(b,c){if(!c.stallEnabled)return null;var d=c.stallSkip,e=new bi(new ei(b),c.stallThreshold);di(e,function(){b.currentTime+=d});return e};function Di(){this.b=function(){};this.a=new Set}Di.prototype.release=function(){this.b=function(){};this.a.clear()};function Ei(b,c){b.b=c};function Fi(b){var c=this;this.h=b;this.f=new Map;this.a=function(){};this.b=function(){};this.c=function(){};this.i=[{eb:null,cb:Gi,Wa:function(b,e){return c.a(b,e)}},{eb:Hi,cb:Gi,Wa:function(b,e){return c.a(b,e)}},{eb:Ii,cb:Gi,Wa:function(b,e){return c.a(b,e)}},{eb:Gi,cb:Hi,Wa:function(b,e){return c.b(b,e)}},{eb:Gi,cb:Ii,Wa:function(b,e){return c.b(b,e)}},{eb:Hi,cb:Ii,Wa:function(b,e){return c.c(b,e)}},{eb:Ii,cb:Hi,Wa:function(b,e){return c.c(b,e)}}]}\nFi.prototype.release=function(){this.h=null;this.f.clear();this.a=function(){};this.b=function(){};this.c=function(){}};Fi.prototype.g=function(b,c){for(var d=r(this.h.a),e=d.next();!e.done;e=d.next()){e=e.value;var f=this.f.get(e),g=b<e.startTime?Hi:b>e.endTime?Ii:Gi;this.f.set(e,g);for(var h=r(this.i),k=h.next();!k.done;k=h.next())k=k.value,k.eb==f&&k.cb==g&&k.Wa(e,c)}};function Ji(b,c,d,e){b.a=c;b.b=d;b.c=e}var Hi=1,Gi=2,Ii=3;function Ki(b,c){this.a=c;this.c=b;this.g=null;this.l=1;this.u=Promise.resolve();this.h=[];this.i=new Map;this.b=new Map;this.s=!1;this.F=null;this.D=this.f=this.m=!1;this.B=0}Ki.prototype.destroy=function(){for(var b=r(this.b.values()),c=b.next();!c.done;c=b.next())Li(c.value);this.b.clear();this.i.clear();this.g=this.h=this.u=this.c=this.a=null;this.f=!0;return Promise.resolve()};\nKi.prototype.configure=function(b){this.g=b;this.F=new Ab({maxAttempts:Math.max(b.retryParameters.maxAttempts,2),baseDelay:b.retryParameters.baseDelay,backoffFactor:b.retryParameters.backoffFactor,fuzzFactor:b.retryParameters.fuzzFactor,timeout:0},!0)};\nKi.prototype.start=function(){var b=this;return t(function d(){var e,f,g;return z(d,function(d){switch(d.j){case 1:return e=b.a.Ua(),f=Mi(b,e),g=b.a.ae(b.c.periods[f]),g.variant||g.text?u(d,Ni(b,g.variant?g.variant.audio:null,g.variant?g.variant.video:null,g.text,e),2):d[\"return\"](new D(2,5,5005));case 2:if(b.f)return d[\"return\"]();b.a&&b.a.Cf&&b.a.Cf();w(d)}})})};function Oi(b){return Pi(b,\"audio\")}function Qi(b){return Pi(b,\"video\")}\nfunction Pi(b,c){var d=b.b.get(c);return d?d.Ka||d.stream:null}\nfunction Ri(b,c){return t(function e(){var f,g,h,k,l,m,n,p,v,x;return z(e,function(e){switch(e.j){case 1:return f=xd,u(e,oe(b.a.L,f.ra),2);case 2:return b.B++,b.D=!1,g=b.B,h=b.a.L,k=new Map,l=new Set,k.set(f.ra,c),l.add(c),u(e,h.init(k,!1),3);case 3:return b.f?e[\"return\"]():u(e,Si(b,l),4);case 4:if(b.f)return e[\"return\"]();n=(m=b.a.L.g.isTextVisible())||b.g.alwaysStreamText;b.B!=g||b.b.has(f.ra)||b.D||!n||(p=b.a.Ua(),v=Mi(b,p),x=Ti(c,v,0),b.b.set(f.ra,x),Ui(b,x,0));w(e)}})})}\nfunction Vi(b,c){var d=b.b.get(\"video\");if(d){var e=d.stream;if(e)if(c){var f=e.trickModeVideo;f&&!d.Ka&&(Wi(b,f,!1,0,!1),d.Ka=e)}else if(e=d.Ka)d.Ka=null,Wi(b,e,!0,0,!1)}}function Xi(b,c,d,e){var f=!1;if(c.video){var g=Wi(b,c.video,d,e,!1);f=f||g}c.audio&&(b=Wi(b,c.audio,d,e,!1),f=f||b);return f}\nfunction Wi(b,c,d,e,f){var g=b.b.get(c.type);if(!g&&\"text\"==c.type&&b.g.ignoreTextStreamFailures)return Ri(b,c),!0;if(!g)return!1;var h=Yi(b,c),k=Array.from(b.b.values()).every(function(b){return b.ia==g.ia});if(d&&h!=g.ia&&k)return b.b.forEach(function(c){Zi(b,c)}),!0;g.Ka&&(c.trickModeVideo?(g.Ka=c,c=c.trickModeVideo):g.Ka=null);k=b.h[h];if(!k||!k.Db)return!1;k=b.i.get(c.id);if(!k||!k.Db||g.stream==c&&!f)return!1;\"text\"==c.type&&fe(b.a.L,oc(c.mimeType,c.codecs));g.stream=c;g.nc=!0;$i(b,g,h)&&g.Rb.abort();\nd&&(g.Ra?g.Cc=!0:g.Ja?(g.Oa=!0,g.dc=e,g.Cc=!0):(Li(g),aj(b,g,!0,e)[\"catch\"](function(c){if(b.a)b.a.onError(c)})));return!0}function $i(b,c,d){if(!c.Rb)return!1;var e=b.a.Ua(),f=je(b.a.L,c.type),g=bj(b,c,e,f,d);d=g?g.a?g.a-g.b:null:null;g&&!d&&(d=(g.endTime-g.kc())*c.stream.bandwidth/8);if(isNaN(d))return!1;(g=c.stream.initSegmentReference)&&(d+=(g.a?g.a-g.b:null)||0);g=b.a.getBandwidthEstimate();return 8*d/g<f-e-Math.max(b.c.minBufferTime||0,b.g.rebufferingGoal)||c.Rb.b.a>d?!0:!1}\nfunction cj(b){function c(c){var f=b.a.L;\"text\"==c?(c=f.a,c=null==c.a||null==c.b?!1:d>=c.a&&d<c.b):(c=ie(f,c),c=rd(c,d,e));return c}var d=b.a.Ua(),e=b.g.smallGapLimit,f=Mi(b,d);if(lc(b.b.values(),function(b){return b.ia==f}))for(var g=r(b.b.keys()),h=g.next();!h.done;h=g.next())h=h.value,c(h)||Zi(b,b.b.get(h));else lc(b.b.keys(),c)||b.b.forEach(function(c){Zi(b,c)})}\nfunction Zi(b,c){c.Ra||c.Oa||(c.Ja?(c.Oa=!0,c.dc=0):null==he(b.a.L,c.type)?null==c.Ga&&Ui(b,c,0):(Li(c),aj(b,c,!1,0)[\"catch\"](function(c){if(b.a)b.a.onError(c)})))}\nfunction Ni(b,c,d,e,f){return t(function h(){var k,l,m,n,p,v,x;return z(h,function(h){switch(h.j){case 1:return k=b.a.Ua(),l=Mi(b,k),m=xd,n=new Map,p=new Set,c&&(n.set(m.Eb,c),p.add(c)),d&&(n.set(m.Pa,d),p.add(d)),e&&(n.set(m.ra,e),p.add(e)),v=b.a.L,x=b.g.forceTransmuxTS,u(h,v.init(n,x),2);case 2:if(b.f)return h[\"return\"]();dj(b);return u(h,Si(b,p),3);case 3:if(b.f)return h[\"return\"]();n.forEach(function(c,d){if(!b.b.has(d)){var e=Ti(c,l,f);b.b.set(d,e);Ui(b,e,0)}});w(h)}})})}\nfunction Ti(b,c,d){return{stream:b,type:b.type,sb:null,Da:null,Ka:null,nc:!0,ia:c,endOfStream:!1,Ja:!1,Ga:null,Oa:!1,dc:0,Cc:!1,Ra:!1,od:!1,Pb:!1,rd:d||0,Rb:null}}\nfunction ej(b,c){var d=b.h[c];if(d)return d.promise;d={promise:new F,Db:!1};b.h[c]=d;for(var e=new Set,f=r(b.c.periods[c].variants),g=f.next();!g.done;g=f.next())g=g.value,g.video&&e.add(g.video),g.video&&g.video.trickModeVideo&&e.add(g.video.trickModeVideo),g.audio&&e.add(g.audio);f=r(b.c.periods[c].textStreams);for(g=f.next();!g.done;g=f.next())e.add(g.value);b.u=b.u.then(function(){if(!this.f)return Si(this,e)}.bind(b)).then(function(){this.f||(this.h[c].promise.resolve(),this.h[c].Db=!0)}.bind(b))[\"catch\"](function(b){this.f||\n(this.h[c].promise[\"catch\"](function(){}),this.h[c].promise.reject(),delete this.h[c],this.a.onError(b))}.bind(b));return d.promise}\nfunction Si(b,c){return t(function e(){var f,g,h,k,l,m,n;return z(e,function(e){switch(e.j){case 1:f=[];for(var p=r(c),x=p.next();!x.done;x=p.next())g=x.value,(h=b.i.get(g.id))?f.push(h.promise):(b.i.set(g.id,{promise:new F,Db:!1}),f.push(g.createSegmentIndex()));za(e,2);return u(e,Promise.all(f),4);case 4:if(b.f)return e[\"return\"]();Ba(e,3);break;case 2:k=Ca(e);if(b.f)return e[\"return\"]();e=r(c);for(x=e.next();!x.done;x=e.next())l=x.value,b.i.get(l.id).promise[\"catch\"](function(){}),b.i.get(l.id).promise.reject(),\nb.i[\"delete\"](l.id);throw k;case 3:p=r(c);for(x=p.next();!x.done;x=p.next())m=x.value,n=b.i.get(m.id),n.Db||(n.promise.resolve(),n.Db=!0);w(e)}})})}function dj(b){var c=b.c.presentationTimeline.Y();Infinity>c?b.a.L.xa(c):b.a.L.xa(Math.pow(2,32))}\nfunction fj(b,c){if(!b.f&&!c.Ja&&null!=c.Ga&&!c.Ra)if(c.Ga=null,c.Oa)aj(b,c,c.Cc,c.dc);else{try{var d=gj(b,c);null!=d&&(Ui(b,c,d),c.Pb=!1)}catch(e){hj(b,e);return}d=Array.from(b.b.values());ij(b,c);b.s&&d.every(function(b){return b.endOfStream})&&b.a.L.endOfStream().then(function(){if(!this.f){var b=this.a.L.Y();0!=b&&b<this.c.presentationTimeline.Y()&&this.c.presentationTimeline.xa(b)}}.bind(b))}}\nfunction gj(b,c){if(jj(c))return ne(b.a.L,c.stream.originalId||\"\"),null;var d=b.a.Ua(),e=kj(b,c,d),f=Yi(b,c.stream),g=Mi(b,e),h=ke(b.a.L,c.type,d),k=Math.max(b.c.minBufferTime||0,b.g.rebufferingGoal,b.g.bufferingGoal)*b.l;if(e>=b.c.presentationTimeline.Y())return c.endOfStream=!0,\"video\"==c.type&&(e=b.b.get(\"text\"))&&\"application/cea-608\"==e.stream.mimeType&&(e.endOfStream=!0),null;c.endOfStream=!1;c.ia=g;if(g!=f)return null;if(h>=k)return.5;g=je(b.a.L,c.type);g=bj(b,c,d,g,f);if(!g)return 1;var l=\nInfinity;Array.from(b.b.values()).forEach(function(c){jj(c)||(c=kj(b,c,d),l=Math.min(l,c))});if(e>=l+b.c.presentationTimeline.a)return 1;c.rd=0;lj(b,c,d,f,g);return null}function kj(b,c,d){if(!c.sb||!c.Da)return Math.max(d,c.rd);d=Yi(b,c.sb);return b.c.periods[d].startTime+c.Da.endTime}\nfunction bj(b,c,d,e,f){if(c.Da&&c.stream==c.sb)return mj(b,c,f,c.Da.position+1);c.Da?(d=Yi(b,c.sb),d=c.stream.findSegmentPosition(Math.max(0,b.c.periods[d].startTime+c.Da.endTime-b.c.periods[f].startTime))):d=c.stream.findSegmentPosition(Math.max(0,(e||d)-b.c.periods[f].startTime));if(null==d)return null;var g=null;null==e&&(g=mj(b,c,f,Math.max(0,d-1)));return g||mj(b,c,f,d)}\nfunction mj(b,c,d,e){d=b.c.periods[d];c=c.stream.getSegmentReference(e);if(!c)return null;e=b.c.presentationTimeline;b=e.Ob();e=e.pb();return d.startTime+c.endTime<b||d.startTime+c.startTime>e?null:c}\nfunction lj(b,c,d,e,f){var g=b.c.periods[e],h=c.stream,k=b.c.presentationTimeline.Y(),l=b.c.periods[e+1];e=nj(b,c,e,Math.max(0,g.startTime-.1),l?l.startTime+.01:k);c.Ja=!0;c.nc=!1;k=oj(b,c,f);Promise.all([e,k]).then(function(b){if(!this.f&&!this.m)return pj(this,c,d,g,h,f,b[1])}.bind(b)).then(function(){this.f||this.m||(c.Ja=!1,c.od=!1,c.Oa||this.a.jd(),Ui(this,c,0),qj(this,h))}.bind(b))[\"catch\"](function(b){this.f||this.m||(c.Ja=!1,\"text\"==c.type&&this.g.ignoreTextStreamFailures?this.b[\"delete\"](\"text\"):\n7001==b.code?(c.Ja=!1,c.Ga=null,Ui(this,c,0)):3017==b.code?rj(this,c,b):(c.Pb=!0,b.severity=2,hj(this,b)))}.bind(b))}function rj(b,c,d){if(!Array.from(b.b.values()).some(function(b){return b!=c&&b.od})){var e=Math.round(100*b.l);if(20<e)b.l-=.2;else if(4<e)b.l-=.04;else{c.Pb=!0;b.m=!0;b.a.onError(d);return}c.od=!0}Ui(b,c,4)}\nfunction nj(b,c,d,e,f){if(!c.nc)return Promise.resolve();d=pe(b.a.L,c.type,b.c.periods[d].startTime-c.stream.presentationTimeOffset,e,f);if(!c.stream.initSegmentReference)return d;b=oj(b,c,c.stream.initSegmentReference).then(function(b){if(!this.f)return le(this.a.L,c.type,b,null,null,c.stream.closedCaptions&&0<c.stream.closedCaptions.size)}.bind(b))[\"catch\"](function(b){c.nc=!0;return Promise.reject(b)});return Promise.all([d,b])}\nfunction pj(b,c,d,e,f,g,h){var k=f.closedCaptions&&0<f.closedCaptions.size;null!=f.emsgSchemeIdUris&&0<f.emsgSchemeIdUris.length&&(new R).fa(\"emsg\",b.K.bind(b,e,g,f.emsgSchemeIdUris)).parse(h);return sj(b,c,d).then(function(){if(!this.f)return le(this.a.L,c.type,h,g.startTime+e.startTime,g.endTime+e.startTime,k)}.bind(b)).then(function(){if(!this.f)return c.sb=f,c.Da=g,Promise.resolve()}.bind(b))}\nKi.prototype.K=function(b,c,d,e){var f=e.reader.md(),g=e.reader.md(),h=e.reader.G(),k=e.reader.G(),l=e.reader.G(),m=e.reader.G();e=e.reader.Za(e.reader.J.byteLength-e.reader.ca());b=b.startTime+c.startTime+k/h;if(d.includes(f))if(\"urn:mpeg:dash:event:2012\"==f)this.a.Df();else this.a.onEvent(new I(\"emsg\",{detail:{startTime:b,endTime:b+l/h,schemeIdUri:f,value:g,timescale:h,presentationTimeDelta:k,eventDuration:l,id:m,messageData:e}}))};\nfunction sj(b,c,d){var e=Math.max(b.g.bufferBehind,b.c.presentationTimeline.a),f=he(b.a.L,c.type);if(null==f)return Promise.resolve();d=d-f-e;return 0>=d?Promise.resolve():b.a.L.remove(c.type,f,f+d).then(function(){}.bind(b))}\nfunction qj(b,c){if(!b.s){var d=Array.from(b.b.values());if(1!=d.length||\"text\"!=d[0].type)b.s=d.every(function(b){return\"text\"==b.type?!0:!b.Oa&&!b.Ra&&b.Da});if(b.s){d=Yi(b,c);b.h[d]||ej(b,d).then(function(){this.f||this.a.$d()}.bind(b))[\"catch\"](ud.oc);for(d=0;d<b.c.periods.length;++d)ej(b,d)[\"catch\"](ud.oc);b.a.Lf&&b.a.Lf()}}}\nfunction ij(b,c){var d=Yi(b,c.stream);if(c.ia!=d){var e=c.ia,f=Array.from(b.b.values());f.every(function(b){return b.ia==e||jj(b)})&&f.every(tj)&&ej(b,e).then(function(){if(!this.f&&f.every(function(b){var c=tj(b),d=Yi(this,b.stream);return jj(b)?!0:c&&b.ia==e&&d!=e}.bind(this))){var b=this.c.periods[e],c=this.a.ae(b),d=new Map;c.variant&&c.variant.video&&d.set(\"video\",c.variant.video);c.variant&&c.variant.audio&&d.set(\"audio\",c.variant.audio);c.text&&d.set(\"text\",c.text);c=r(this.b.keys());for(var l=\nc.next();!l.done;l=c.next())if(l=l.value,!d.has(l)&&\"text\"!=l){this.a.onError(new D(2,5,5005));return}c=r(Array.from(d.keys()));for(l=c.next();!l.done;l=c.next())if(l=l.value,!this.b.has(l))if(\"text\"==l)Ni(this,null,null,d.get(\"text\"),b.startTime),d[\"delete\"](l);else{this.a.onError(new D(2,5,5005));return}c=r(Array.from(this.b.keys()));for(l=c.next();!l.done;l=c.next()){l=l.value;var m=this.b.get(l),n=d.get(l);if(n){var p=jj(m);p&&(m.ia=e,m.rd=b.startTime);Wi(this,n,!1,0,!1);p&&jj(m)||Ui(this,this.b.get(l),\n0)}else this.b[\"delete\"](l)}this.a.$d()}}.bind(b))[\"catch\"](ud.oc)}}function jj(b){return b&&\"text\"==b.type&&\"application/cea-608\"==b.stream.mimeType}function tj(b){return!b.Ja&&null==b.Ga&&!b.Oa&&!b.Ra}function Mi(b,c){var d=ki(b.c.periods,c+yd);return d?b.c.periods.indexOf(d):0}\nfunction Yi(b,c){for(var d=b.c.periods,e=0;e<d.length;e++){for(var f=d[e],g=new Set,h=r(f.variants),k=h.next();!k.done;k=h.next())k=k.value,k.audio&&g.add(k.audio),k.video&&g.add(k.video),k.video&&k.video.trickModeVideo&&g.add(k.video.trickModeVideo);f=r(f.textStreams);for(h=f.next();!h.done;h=f.next())g.add(h.value);if(g.has(c))return e}return-1}function oj(b,c,d){d=rg(d.c(),d.b,d.a,b.g.retryParameters);b=b.a.ub.request(1,d);c.Rb=b;return b.promise.then(function(b){c.Rb=null;return b.data})}\nfunction aj(b,c,d,e){return t(function g(){var h,k,l;return z(g,function(g){switch(g.j){case 1:return c.Oa=!1,c.Cc=!1,c.dc=0,c.Ra=!0,e?(k=b.a.Ua(),l=b.a.L.Y(),h=b.a.L.remove(c.type,k+e,l)):h=oe(b.a.L,c.type).then(function(){if(!this.f&&d)return this.a.L.flush(c.type)}.bind(b)),u(g,h,2);case 2:if(b.f)return g[\"return\"]();c.sb=null;c.Da=null;c.Ra=!1;c.endOfStream=!1;Ui(b,c,0);w(g)}})})}\nfunction Ui(b,c,d){c.Ga=(new zb(function(){return t(function f(){var d;return z(f,function(f){switch(f.j){case 1:return za(f,2),u(f,fj(b,c),4);case 4:Ba(f,0);break;case 2:d=Ca(f);if(b.a)b.a.onError(d);w(f)}})})})).R(d)}function Li(b){null!=b.Ga&&(b.Ga.stop(),b.Ga=null)}function hj(b,c){Cb(b.F).then(function(){this.f||(this.a.onError(c),c.handled||this.g.failureCallback(c))}.bind(b))};function uj(b,c,d,e,f,g){if(200<=d&&299>=d&&202!=d)return{uri:f||e,ld:e,data:c,headers:b,fromCache:!!b[\"x-shaka-from-cache\"]};f=null;try{f=Dc(c)}catch(h){}throw new D(401==d||403==d?2:1,1,1001,e,d,f,b,g);};function vj(b,c,d,e){var f=new vj.b;mc(c.headers).forEach(function(b,c){f.append(c,b)});var g=new vj.a,h={Id:!1,te:!1};b=vj.l(b,d,{body:c.body||void 0,headers:f,method:c.method,signal:g.signal,credentials:c.allowCrossSiteCredentials?\"include\":void 0},h,e);b=new H(b,function(){h.Id=!0;g.abort();return Promise.resolve()});if(c=c.retryParameters.timeout){var k=new C(function(){h.te=!0;g.abort()});k.R(c/1E3);b[\"finally\"](function(){k.stop()})}return b}A(\"shaka.net.HttpFetchPlugin\",vj);\nvj.l=function(b,c,d,e,f){return t(function h(){var k,l,m,n,p,v,x,B,y,G,E,aa,sa,ba;return z(h,function(h){switch(h.j){case 1:return k=vj.g,l=vj.c,v=p=0,x=Date.now(),za(h,2),u(h,k(b,d),4);case 4:return m=h.o,B=m.clone().body.getReader(),G=(y=m.headers.get(\"Content-Length\"))?parseInt(y,10):0,E=function(b){function c(){return t(function ha(){var d,e;return z(ha,function(h){switch(h.j){case 1:return za(h,2),u(h,B.read(),4);case 4:d=h.o;Ba(h,3);break;case 2:return Ca(h),h[\"return\"]();case 3:d.done||(p+=\nd.value.byteLength);e=Date.now();if(100<e-x||d.done)f(e-x,p-v,G-p),v=p,x=e;d.done?b.close():(b.enqueue(d.value),c());w(h)}})})}c()},new l({start:E}),u(h,m.arrayBuffer(),5);case 5:n=h.o;Ba(h,3);break;case 2:aa=Ca(h);if(e.Id)throw new D(1,1,7001,b,c);if(e.te)throw new D(1,1,1003,b,c);throw new D(1,1,1002,b,aa,c);case 3:return sa={},ba=m.headers,ba.forEach(function(b,c){sa[c.trim()]=b}),h[\"return\"](uj(sa,n,m.status,b,m.url,c))}})})};\nvj.isSupported=function(){if(window.ReadableStream)try{new ReadableStream({})}catch(b){return!1}else return!1;return!(!window.fetch||!window.AbortController)};vj.isSupported=vj.isSupported;vj.g=window.fetch;vj.a=window.AbortController;vj.c=window.ReadableStream;vj.b=window.Headers;vj.isSupported()&&(Vb(\"http\",vj,2),Vb(\"https\",vj,2));function wj(b,c,d,e){var f=new wj.f,g=Date.now(),h=0,k=new Promise(function(k,m){f.open(c.method,b,!0);f.responseType=\"arraybuffer\";f.timeout=c.retryParameters.timeout;f.withCredentials=c.allowCrossSiteCredentials;f.onabort=function(){m(new D(1,1,7001,b,d))};f.onload=function(c){c=c.target;var e=c.getAllResponseHeaders().trim().split(\"\\r\\n\"),f={};e=r(e);for(var g=e.next();!g.done;g=e.next())g=g.value.split(\": \"),f[g[0].toLowerCase()]=g.slice(1).join(\": \");try{var h=uj(f,c.response,c.status,b,c.responseURL,\nd);k(h)}catch(G){m(G)}};f.onerror=function(c){m(new D(1,1,1002,b,c,d))};f.ontimeout=function(){m(new D(1,1,1003,b,d))};f.onprogress=function(b){var c=Date.now();if(100<c-g||b.lengthComputable&&b.loaded==b.total)e(c-g,b.loaded-h,b.total-b.loaded),h=b.loaded,g=c};for(var l in c.headers)f.setRequestHeader(l.toLowerCase(),c.headers[l]);f.send(c.body)});return new H(k,function(){f.abort();return Promise.resolve()})}A(\"shaka.net.HttpXHRPlugin\",wj);wj.f=window.XMLHttpRequest;Vb(\"http\",wj,1);\nVb(\"https\",wj,1);function xj(){this.a=this.f=this.b=0;this.c=new Map;this.g=0}function yj(b,c){b.b+=c;var d=b.g;b.g++;b.c.set(d,c);return d}xj.prototype.close=function(b,c){if(this.c.has(b)){var d=this.c.get(b);this.c[\"delete\"](b);this.f+=d;this.a+=c}};function zj(b,c,d){this.h=b;this.b=new Map;this.c=!1;this.g=c;this.f=d;this.a=new xj}zj.prototype.destroy=function(){this.c=!0;return Promise.all(this.b.values()).then(function(){},function(){})};\nfunction Aj(b,c,d,e,f,g){var h=yj(b.a,e);e=b.b.get(c)||Promise.resolve();b.b.set(c,e.then(function(){return t(function l(){var c,e,p,v,x,B;return z(l,function(l){switch(l.j){case 1:return u(l,Bj(b,d),2);case 2:c=l.o;if(b.c)throw new D(2,9,7001);if(f){e=new Uint8Array(c);p=new Bf(e);for(var m in p.data)v=Number(m),x=p.data[v],B=p.a[v],b.f(x,B)}b.a.close(h,c.byteLength);m=b.a;b.g(0==m.b?0:m.f/m.b,b.a.a);return l[\"return\"](g(c))}})})}))}\nfunction Cj(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:return u(d,Promise.all(b.b.values()),2);case 2:return d[\"return\"](b.a.a)}})})}function Bj(b,c){return t(function e(){var f,g;return z(e,function(e){switch(e.j){case 1:return f=b.h.request(1,c),u(e,f.promise,2);case 2:return g=e.o,e[\"return\"](g.data)}})})};function Dj(b,c){var d=this;this.c=b;this.b=b.objectStore(c);this.a=new F;b.onabort=function(b){b.preventDefault();d.a.reject()};b.onerror=function(b){b.preventDefault();d.a.reject()};b.oncomplete=function(){d.a.resolve()}}Dj.prototype.abort=function(){try{this.c.abort()}catch(b){}return this.a[\"catch\"](function(){})};\nfunction Ej(b,c){return new Promise(function(d,e){var f=b.b.openCursor();f.onerror=e;f.onsuccess=function(b){b=b.target.result;if(!b)return d();c(b.key,b.value,b);b[\"continue\"]()}})}Dj.prototype.store=function(){return this.b};Dj.prototype.promise=function(){return this.a};function Fj(b){this.b=b;this.a=[]}Fj.prototype.destroy=function(){return Promise.all(this.a.map(function(b){return b.abort()}))};function Gj(b,c){return Hj(b,c,\"readwrite\")}function Hj(b,c,d){d=b.b.transaction([c],d);var e=new Dj(d,c);b.a.push(e);e.promise().then(function(){Pb(b.a,e)},function(){Pb(b.a,e)});return e};function Ij(b,c,d){this.b=new Fj(b);this.c=c;this.a=d}q=Ij.prototype;q.destroy=function(){return this.b.destroy()};q.hasFixedKeySpace=function(){return!0};q.addSegments=function(){return Jj(this.c)};q.removeSegments=function(b,c){return Kj(this,this.c,b,c)};q.getSegments=function(b){var c=this;return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return u(e,Lj(c,c.c,b),2);case 2:return f=e.o,e[\"return\"](f.map(function(b){return c.Jd(b)}))}})})};q.addManifests=function(){return Jj(this.a)};\nq.updateManifestExpiration=function(b,c){var d=Gj(this.b,this.a),e=d.store();e.get(b).onsuccess=function(d){if(d=d.target.result)d.expiration=c,e.put(d,b)};return d.promise()};q.removeManifests=function(b,c){return Kj(this,this.a,b,c)};q.getManifests=function(b){var c=this;return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return u(e,Lj(c,c.a,b),2);case 2:return f=e.o,e[\"return\"](f.map(function(b){return c.ec(b)}))}})})};\nq.getAllManifests=function(){var b=this;return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return e=Hj(b.b,b.a,\"readonly\"),f=new Map,u(d,Ej(e,function(d,e){f.set(d,b.ec(e))}),2);case 2:return u(d,e.promise(),3);case 3:return d[\"return\"](f)}})})};q.Jd=function(b){return b};q.ec=function(b){return b};function Jj(b){return Promise.reject(new D(2,9,9011,\"Cannot add new value to \"+b))}\nq.add=function(b,c){var d=this;return t(function f(){var g,h,k,l,m;return z(f,function(f){switch(f.j){case 1:g=Gj(d.b,b);h=g.store();k=[];for(var n=r(c),v=n.next();!v.done;v=n.next())l=v.value,m=h.add(l),m.onsuccess=function(b){k.push(b.target.result)};return u(f,g.promise(),2);case 2:return f[\"return\"](k)}})})};\nfunction Kj(b,c,d,e){b=Gj(b.b,c);c=b.store();var f={};d=r(d);for(var g=d.next();!g.done;f={key:f.key},g=d.next())f.key=g.value,c[\"delete\"](f.key).onsuccess=function(b){return function(){return e(b.key)}}(f);return b.promise()}\nfunction Lj(b,c,d){return t(function f(){var g,h,k,l,m,n,p;return z(f,function(f){switch(f.j){case 1:g=Hj(b.b,c,\"readonly\");h=g.store();k={};l=[];m={};n=r(d);for(p=n.next();!p.done;m={request:m.request,key:m.key},p=n.next())m.key=p.value,m.request=h.get(m.key),m.request.onsuccess=function(b){return function(){void 0==b.request.result&&l.push(b.key);k[b.key]=b.request.result}}(m);return u(f,g.promise(),2);case 2:if(l.length)throw new D(2,9,9012,\"Could not find values for \"+l);return f[\"return\"](d.map(function(b){return k[b]}))}})})}\n;function Mj(b){this.a=new Fj(b)}Mj.prototype.destroy=function(){return this.a.destroy()};Mj.prototype.getAll=function(){var b=this;return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return e=Hj(b.a,\"session-ids\",\"readonly\"),f=[],u(d,Ej(e,function(b,d){f.push(d)}),2);case 2:return u(d,e.promise(),3);case 3:return d[\"return\"](f)}})})};Mj.prototype.add=function(b){var c=Gj(this.a,\"session-ids\"),d=c.store();b=r(b);for(var e=b.next();!e.done;e=b.next())d.add(e.value);return c.promise()};\nMj.prototype.remove=function(b){var c=this;return t(function e(){var f;return z(e,function(e){switch(e.j){case 1:return f=Gj(c.a,\"session-ids\"),u(e,Ej(f,function(c,e,f){0<=b.indexOf(e.sessionId)&&f[\"delete\"]()}),2);case 2:return u(e,f.promise(),0)}})})};function Nj(){this.a=new Map}Nj.prototype.destroy=function(){for(var b=[],c=r(this.a.values()),d=c.next();!d.done;d=c.next())b.push(d.value.destroy());this.a.clear();return Promise.all(b)};Nj.prototype.init=function(){var b=this;Oj.forEach(function(c,d){var e=c();e&&b.a.set(d,e)});for(var c=[],d=r(this.a.values()),e=d.next();!e.done;e=d.next())c.push(e.value.init());return Promise.all(c)};\nfunction Pj(b){var c=null;b.a.forEach(function(b,e){b.getCells().forEach(function(b,d){b.hasFixedKeySpace()||c||(c={path:{wa:e,ba:d},ba:b})})});if(c)return c;throw new D(2,9,9013,\"Could not find a cell that supports add-operations\");}function Qj(b,c){b.a.forEach(function(b,e){b.getCells().forEach(function(b,d){c({wa:e,ba:d},b)})})}\nfunction Rj(b,c,d){b=b.a.get(c);if(!b)throw new D(2,9,9013,\"Could not find mechanism with name \"+c);c=b.getCells().get(d);if(!c)throw new D(2,9,9013,\"Could not find cell with name \"+d);return c}function Sj(b,c){b.a.forEach(function(b){c(b.getEmeSessionCell())})}function Tj(b){var c=Array.from(b.a.keys());if(!c.length)throw new D(2,9,9E3,\"No supported storage mechanisms found\");return b.a.get(c[0]).getEmeSessionCell()}\nNj.prototype.erase=function(){var b=this;return t(function d(){var e,f,g;return z(d,function(d){switch(d.j){case 1:return e=Array.from(b.a.values()),f=0<e.length,f||(g=Oj,g.forEach(function(b){(b=b())&&e.push(b)})),u(d,Promise.all(e.map(function(b){return b.erase()})),2);case 2:if(f)d.A(0);else return u(d,Promise.all(e.map(function(b){return b.destroy()})),0)}})})};function Uj(b,c){Oj.set(b,c)}A(\"shaka.offline.StorageMuxer.register\",Uj);A(\"shaka.offline.StorageMuxer.unregister\",function(b){Oj[\"delete\"](b)});\nvar Oj=new Map;function Vj(b){Ij.apply(this,arguments)}va(Vj,Ij);Vj.prototype.updateManifestExpiration=function(b,c){var d=Gj(this.b,this.a),e=d.store(),f=new F;e.get(b).onsuccess=function(d){(d=d.target.result)?(d.expiration=c,e.put(d),f.resolve()):f.reject(new D(2,9,9012,\"Could not find values for \"+b))};return d.promise().then(function(){return f})};\nVj.prototype.ec=function(b){return{originalManifestUri:b.originalManifestUri,duration:b.duration,size:b.size,expiration:null==b.expiration?Infinity:b.expiration,periods:b.periods.map(Wj),sessionIds:b.sessionIds,drmInfo:b.drmInfo,appMetadata:b.appMetadata}};function Wj(b){Xj(b);b.streams.forEach(function(){});return{startTime:b.startTime,streams:b.streams.map(Yj)}}\nfunction Yj(b){var c=b.initSegmentUri?Zj(b.initSegmentUri):null;return{id:b.id,originalId:null,primary:b.primary,presentationTimeOffset:b.presentationTimeOffset,contentType:b.contentType,mimeType:b.mimeType,codecs:b.codecs,frameRate:b.frameRate,pixelAspectRatio:void 0,kind:b.kind,language:b.language,label:b.label,width:b.width,height:b.height,initSegmentKey:c,encrypted:b.encrypted,keyId:b.keyId,segments:b.segments.map(ak),variantIds:b.variantIds}}\nfunction ak(b){var c=Zj(b.uri);return{startTime:b.startTime,endTime:b.endTime,dataKey:c}}Vj.prototype.Jd=function(b){return{data:b.data}};function Zj(b){var c;if((c=/^offline:[0-9]+\\/[0-9]+\\/([0-9]+)$/.exec(b))||(c=/^offline:segment\\/([0-9]+)$/.exec(b)))return Number(c[1]);throw new D(2,9,9004,\"Could not parse uri \"+b);}\nfunction Xj(b){var c=b.streams.filter(function(b){return\"audio\"==b.contentType}),d=b.streams.filter(function(b){return\"video\"==b.contentType});if(!c.every(function(b){return b.variantIds})||!d.every(function(b){return b.variantIds})){c.forEach(function(b){b.variantIds=[]});d.forEach(function(b){b.variantIds=[]});var e=0;if(d.length&&!c.length){var f=e++;d.forEach(function(b){b.variantIds.push(f)})}if(!d.length&&c.length){var g=e++;c.forEach(function(b){b.variantIds.push(g)})}d.length&&c.length&&c.forEach(function(b){d.forEach(function(c){var d=\ne++;b.variantIds.push(d);c.variantIds.push(d)})})}};function bk(b,c,d,e){Ij.call(this,b,c,d);this.f=e}va(bk,Ij);bk.prototype.hasFixedKeySpace=function(){return this.f};bk.prototype.addSegments=function(b){return this.f?Jj(this.c):this.add(this.c,b)};bk.prototype.addManifests=function(b){return this.f?Jj(this.a):this.add(this.a,b)};bk.prototype.ec=function(b){null==b.expiration&&(b.expiration=Infinity);return b};function ck(){this.g=this.c=this.b=this.a=this.f=null}q=ck.prototype;\nq.init=function(){var b=this,c=new F,d=window.indexedDB.open(\"shaka_offline_db\",4);d.onsuccess=function(d){d=d.target.result;b.f=d;var e=d.objectStoreNames;e=e.contains(\"manifest\")&&e.contains(\"segment\")?new Vj(d,\"segment\",\"manifest\"):null;b.a=e;e=d.objectStoreNames;e=e.contains(\"manifest-v2\")&&e.contains(\"segment-v2\")?new bk(d,\"segment-v2\",\"manifest-v2\",!0):null;b.b=e;e=d.objectStoreNames;e=e.contains(\"manifest-v3\")&&e.contains(\"segment-v3\")?new bk(d,\"segment-v3\",\"manifest-v3\",!1):null;b.c=e;d=d.objectStoreNames.contains(\"session-ids\")?\nnew Mj(d):null;b.g=d;c.resolve()};d.onupgradeneeded=function(b){b=b.target.result;for(var c=r([\"segment-v3\",\"manifest-v3\",\"session-ids\"]),d=c.next();!d.done;d=c.next())d=d.value,b.objectStoreNames.contains(d)||b.createObjectStore(d,{autoIncrement:!0})};d.onerror=function(b){c.reject(new D(2,9,9001,d.error));b.preventDefault()};return c};\nq.destroy=function(){var b=this;return t(function d(){return z(d,function(d){switch(d.j){case 1:if(!b.a){d.A(2);break}return u(d,b.a.destroy(),2);case 2:if(!b.b){d.A(4);break}return u(d,b.b.destroy(),4);case 4:if(!b.c){d.A(6);break}return u(d,b.c.destroy(),6);case 6:if(!b.g){d.A(8);break}return u(d,b.g.destroy(),8);case 8:b.f&&b.f.close(),w(d)}})})};q.getCells=function(){var b=new Map;this.a&&b.set(\"v1\",this.a);this.b&&b.set(\"v2\",this.b);this.c&&b.set(\"v3\",this.c);return b};q.getEmeSessionCell=function(){return this.g};\nq.erase=function(){var b=this;return t(function d(){return z(d,function(d){switch(d.j){case 1:if(!b.a){d.A(2);break}return u(d,b.a.destroy(),2);case 2:if(!b.b){d.A(4);break}return u(d,b.b.destroy(),4);case 4:if(!b.c){d.A(6);break}return u(d,b.c.destroy(),6);case 6:return b.f&&b.f.close(),u(d,dk(),8);case 8:return b.f=null,b.a=null,b.b=null,b.c=null,u(d,b.init(),0)}})})};\nfunction dk(){var b=new F,c=window.indexedDB.deleteDatabase(\"shaka_offline_db\");c.onblocked=function(){};c.onsuccess=function(){b.resolve()};c.onerror=function(d){b.reject(new D(2,9,9001,c.error));d.preventDefault()};return b}Uj(\"idb\",function(){return window.indexedDB?new ck:null});function ek(b,c,d,e){this.a=b;this.g=c;this.f=d;this.c=e;this.b=[\"offline:\",b,\"/\",c,\"/\",d,\"/\",e].join(\"\")}ek.prototype.wa=function(){return this.g};ek.prototype.ba=function(){return this.f};ek.prototype.key=function(){return this.c};ek.prototype.toString=function(){return this.b};\nfunction fk(b){b=/^offline:([a-z]+)\\/([^/]+)\\/([^/]+)\\/([0-9]+)$/.exec(b);if(null==b)return null;var c=b[1];if(\"manifest\"!=c&&\"segment\"!=c)return null;var d=b[2];if(!d)return null;var e=b[3];return e&&null!=c?new ek(c,d,e,Number(b[4])):null};function gk(b,c){this.b=b;this.a=c}function hk(b,c){var d=new W(null,0);d.xa(c.duration);var e=c.periods.map(function(c){return ik(b,c,d)}),f=c.drmInfo?[c.drmInfo]:[];c.drmInfo&&e.forEach(function(b){b.variants.forEach(function(b){b.drmInfos=f})});return{presentationTimeline:d,minBufferTime:2,offlineSessionIds:c.sessionIds,periods:e}}\nfunction ik(b,c,d){var e=c.streams.filter(function(b){return\"audio\"==b.contentType}),f=c.streams.filter(function(b){return\"video\"==b.contentType});e=jk(b,e,f);f=c.streams.filter(function(b){return\"text\"==b.contentType}).map(function(c){return kk(b,c)});c.streams.forEach(function(e){e=e.segments.map(function(c,d){return lk(b,d,c)});d.vb(e,c.startTime)});return{startTime:c.startTime,variants:Array.from(e.values()),textStreams:f}}\nfunction jk(b,c,d){for(var e=new Set,f=r(c),g=f.next();!g.done;g=f.next()){var h=r(g.value.variantIds);for(g=h.next();!g.done;g=h.next())e.add(g.value)}f=r(d);for(g=f.next();!g.done;g=f.next())for(h=r(g.value.variantIds),g=h.next();!g.done;g=h.next())e.add(g.value);f=new Map;e=r(e);for(g=e.next();!g.done;g=e.next())g=g.value,f.set(g,{id:g,language:\"\",primary:!1,audio:null,video:null,bandwidth:0,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0});c=r(c);for(e=c.next();!e.done;e=c.next())for(e=\ne.value,g=kk(b,e),h=r(e.variantIds),e=h.next();!e.done;e=h.next())e=f.get(e.value),e.language=g.language,e.primary=e.primary||g.primary,e.audio=g;d=r(d);for(c=d.next();!c.done;c=d.next())for(e=c.value,c=kk(b,e),g=r(e.variantIds),e=g.next();!e.done;e=g.next())e=f.get(e.value),e.primary=e.primary||c.primary,e.video=c;return f}\nfunction kk(b,c){var d=c.segments.map(function(c,d){return lk(b,d,c)}),e=new U(d);d={id:c.id,originalId:c.originalId,createSegmentIndex:function(){return Promise.resolve()},findSegmentPosition:function(b){return e.find(b)},getSegmentReference:function(b){return e.get(b)},initSegmentReference:null,presentationTimeOffset:c.presentationTimeOffset,mimeType:c.mimeType,codecs:c.codecs,width:c.width||void 0,height:c.height||void 0,frameRate:c.frameRate||void 0,pixelAspectRatio:c.pixelAspectRatio||void 0,\nkind:c.kind,encrypted:c.encrypted,keyId:c.keyId,language:c.language,label:c.label||null,type:c.contentType,primary:c.primary,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null};null!=c.initSegmentKey&&(d.initSegmentReference=mk(b,c.initSegmentKey));return d}function lk(b,c,d){var e=new ek(\"segment\",b.b,b.a,d.dataKey);return new T(c,d.startTime,d.endTime,function(){return[e.toString()]},0,null)}\nfunction mk(b,c){var d=new ek(\"segment\",b.b,b.a,c);return new Sf(function(){return[d.toString()]},0,null)};function nk(){this.a=null}q=nk.prototype;q.configure=function(){};\nq.start=function(b){var c=this;return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:f=fk(b);c.a=f;if(null==f||\"manifest\"!=f.a)return e[\"return\"](Promise.reject(new D(2,1,9004,f)));g=new Nj;Aa(e,2);return u(e,g.init(),4);case 4:return u(e,Rj(g,f.wa(),f.ba()),5);case 5:return h=e.o,u(e,h.getManifests([f.key()]),6);case 6:return k=e.o,l=k[0],m=new gk(f.wa(),f.ba()),e[\"return\"](hk(m,l));case 2:return Fa(e),u(e,g.destroy(),7);case 7:Ga(e,0)}})})};q.stop=function(){return Promise.resolve()};\nq.update=function(){};\nq.onExpirationUpdated=function(b,c){var d=this;return t(function f(){var g,h,k,l,m,n,p;return z(f,function(f){switch(f.j){case 1:return g=d.a,h=new Nj,za(f,2,3),u(f,h.init(),5);case 5:return u(f,Rj(h,g.wa(),g.ba()),6);case 6:return k=f.o,u(f,k.getManifests([g.key()]),7);case 7:l=f.o;m=l[0];n=m.sessionIds.includes(b);p=void 0==m.expiration||m.expiration>c;if(!n||!p){f.A(3);break}return u(f,k.updateManifestExpiration(g.key(),c),3);case 3:return Fa(f),u(f,h.destroy(),10);case 10:Ga(f,0);break;case 2:Ca(f),\nf.A(3)}})})};V.Cb(\"application/x-offline-manifest\",nk);function ok(b){var c=fk(b);return c&&\"manifest\"==c.a?ok.h(b):c&&\"segment\"==c.a?ok.i(c.key(),c):Db(new D(2,1,9004,b))}A(\"shaka.offline.OfflineScheme\",ok);ok.h=function(b){b={uri:b,ld:b,data:new ArrayBuffer(0),headers:{\"content-type\":\"application/x-offline-manifest\"}};return Hb(b)};ok.i=function(b,c){var d=new Nj;return Hb(void 0).U(function(){return d.init()}).U(function(){return Rj(d,c.wa(),c.ba())}).U(function(b){return b.getSegments([c.key()])}).U(function(b){return{uri:c,ld:c,data:b[0].data,headers:{}}})[\"finally\"](function(){return d.destroy()})};\nVb(\"offline\",ok);function pk(b,c,d){return t(function f(){var g,h,k,l,m,n;return z(f,function(f){switch(f.j){case 1:g=[];for(var p=[],x=r(d),B=x.next();!B.done;B=x.next()){B=B.value;for(var y=!1,G=r(p),E=G.next();!E.done;E=G.next())if(E=E.value,qk(E.info,B)){E.sessionIds.push(B.sessionId);y=!0;break}y||p.push({info:B,sessionIds:[B.sessionId]})}h=r(p);k=h.next();case 2:if(k.done){f.A(4);break}l=k.value;m=rk(b,c,l);return u(f,m,5);case 5:n=f.o;g=g.concat(n);k=h.next();f.A(2);break;case 4:return f[\"return\"](g)}})})}\nfunction rk(b,c,d){return t(function f(){var g,h;return z(f,function(f){switch(f.j){case 1:return g=new Gc({ub:c,onError:function(){},qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),za(f,2),g.configure(b),u(f,Oc(g,d.info.keySystem,d.info.licenseUri,d.info.serverCertificate,d.info.audioCapabilities,d.info.videoCapabilities),4);case 4:Ba(f,3);break;case 2:return Ca(f),u(f,g.destroy(),5);case 5:return f[\"return\"]([]);case 3:return za(f,6),u(f,Vc(g),8);case 8:Ba(f,7);break;case 6:return Ca(f),\nu(f,g.destroy(),9);case 9:return f[\"return\"]([]);case 7:return h=[],u(f,Promise.all(d.sessionIds.map(function(b){return t(function n(){return z(n,function(c){switch(c.j){case 1:return za(c,2),u(c,Yc(g,b),4);case 4:h.push(b);Ba(c,0);break;case 2:Ca(c),w(c)}})})})),10);case 10:return u(f,g.destroy(),11);case 11:return f[\"return\"](h)}})})}\nfunction qk(b,c){function d(b,c){return b.robustness==c.robustness&&b.contentType==c.contentType}return b.keySystem==c.keySystem&&b.licenseUri==c.licenseUri&&Rb(b.audioCapabilities,c.audioCapabilities,d)&&Rb(b.videoCapabilities,c.videoCapabilities,d)};function sk(b,c){var d=tk(),e=this;this.g=c;this.c=b;this.i=d;this.h=null;this.f=[];this.b=this.a=null;this.l=!0;this.m=Promise.resolve().then(function(){return uk(e)})}sk.prototype.destroy=function(){var b=this;return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:return b.l=!1,b.b&&b.b.abort(),vk(b),u(d,b.m,2);case 2:b.a&&b.a.va.Ya();for(var f=r(b.f),h=f.next();!h.done;h=f.next())e=h.value,e.va.Ya();b.a=null;b.f=[];b.g=null;w(d)}})})};\nfunction wk(b,c){var d={wb:function(){},pc:function(){},Ya:function(){},onError:function(){},rc:function(){},Jg:function(){}};b.f.push({create:c,va:d});b.b&&b.b.abort();vk(b);return d}\nfunction uk(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:if(b.l){if(0==b.f.length||b.a&&!b.a.Va)var e=!1;else{b.a&&(b.a.va.Ya(),b.a=null);e=b.f.shift();var g=e.create(b.i);g?(e.va.wb(),b.a={node:g.node,payload:g.payload,Va:g.Va,va:e.va}):e.va.rc();e=!0}e?e=Promise.resolve():b.a?e=xk(b):(b.g.Bf(b.c),b.h=new F,e=b.h);return u(d,e,1)}d.A(0)}})})}\nfunction xk(b){return t(function d(){var e,f;return z(d,function(d){switch(d.j){case 1:return b.c=b.g.cf(b.c,b.i,b.a.node,b.a.payload),za(d,2),b.b=b.g.Le(b.c,b.i,b.a.payload),u(d,b.b.promise,4);case 4:b.b=null;b.c==b.a.node&&(b.a.va.pc(),b.a=null);Ba(d,0);break;case 2:e=Ca(d);if(7001==e.code)b.a.va.Ya();else b.a.va.onError(e);b.a=null;b.b=null;f=b;return u(d,b.g.handleError(b.i,e),5);case 5:f.c=d.o,w(d)}})})}function vk(b){b.h&&(b.h.resolve(),b.h=null)};function yk(b){this.a=null;for(var c=0;c<b.textTracks.length;++c){var d=b.textTracks[c];d.mode=\"disabled\";\"Shaka Player TextTrack\"==d.label&&(this.a=d)}this.a||(this.a=b.addTextTrack(\"subtitles\",\"Shaka Player TextTrack\"));this.a.mode=\"hidden\"}A(\"shaka.text.SimpleTextDisplayer\",yk);yk.prototype.remove=function(b,c){if(!this.a)return!1;zk(this.a,function(d){return d.startTime<c&&d.endTime>b});return!0};yk.prototype.remove=yk.prototype.remove;\nyk.prototype.append=function(b){for(var c=Ak,d=[],e=0;e<b.length;e++){var f=c(b[e]);f&&d.push(f)}d.slice().sort(function(b,c){return b.startTime!=c.startTime?b.startTime-c.startTime:b.endTime!=c.endTime?b.endTime-c.startTime:d.indexOf(c)-d.indexOf(b)}).forEach(function(b){this.a.addCue(b)}.bind(this))};yk.prototype.append=yk.prototype.append;yk.prototype.destroy=function(){this.a&&zk(this.a,function(){return!0});this.a=null;return Promise.resolve()};yk.prototype.destroy=yk.prototype.destroy;\nyk.prototype.isTextVisible=function(){return\"showing\"==this.a.mode};yk.prototype.isTextVisible=yk.prototype.isTextVisible;yk.prototype.setTextVisibility=function(b){this.a.mode=b?\"showing\":\"hidden\"};yk.prototype.setTextVisibility=yk.prototype.setTextVisibility;\nfunction Ak(b){if(b.startTime>=b.endTime)return null;var c=new VTTCue(b.startTime,b.endTime,b.payload);c.lineAlign=b.lineAlign;c.positionAlign=b.positionAlign;c.size=b.size;try{c.align=b.textAlign}catch(d){}\"center\"==b.textAlign&&\"center\"!=c.align&&(c.align=\"middle\");\"vertical-lr\"==b.writingMode?c.vertical=\"lr\":\"vertical-rl\"==b.writingMode&&(c.vertical=\"rl\");1==b.lineInterpretation&&(c.snapToLines=!1);null!=b.line&&(c.line=b.line);null!=b.position&&(c.position=b.position);return c}\nfunction zk(b,c){var d=b.mode;b.mode=\"showing\"==d?\"showing\":\"hidden\";for(var e=b.cues,f=e.length-1;0<=f;f--){var g=e[f];g&&c(g)&&b.removeCue(g)}b.mode=d};function Bk(b,c,d,e,f){var g=f in e,h=!0,k;for(k in c){var l=f+\".\"+k,m=g?e[f]:d[k];g||k in d?void 0===c[k]?void 0===m||g?delete b[k]:b[k]=Nb(m):m.constructor==Object&&c[k]&&c[k].constructor==Object?(b[k]||(b[k]=Nb(m)),l=Bk(b[k],c[k],m,e,l),h=h&&l):typeof c[k]!=typeof m||null==c[k]||\"function\"!=typeof c[k]&&c[k].constructor!=m.constructor?(bb(\"Invalid config, wrong type for \"+l),h=!1):(\"function\"==typeof d[k]&&d[k].length!=c[k].length&&cb(\"Unexpected number of arguments for \"+l),b[k]=c[k]):(bb(\"Invalid config, unrecognized key \"+\nl),h=!1)}return h}A(\"shaka.util.ConfigUtils.mergeConfigObjects\",Bk);function Ck(b,c){for(var d={},e=d,f=0,g=0;;){f=b.indexOf(\".\",f);if(0>f)break;if(0==f||\"\\\\\"!=b[f-1])g=b.substring(g,f).replace(/\\\\\\./g,\".\"),e[g]={},e=e[g],g=f+1;f+=1}e[b.substring(g).replace(/\\\\\\./g,\".\")]=c;return d}A(\"shaka.util.ConfigUtils.convertToConfigObject\",Ck);function Dk(){}A(\"shaka.util.PlayerConfiguration\",Dk);\nfunction Ek(){var b=5E5,c=Infinity;navigator.connection&&(b=1E6*navigator.connection.downlink,navigator.connection.saveData&&(c=360));var d={retryParameters:Bb(),servers:{},clearKeys:{},advanced:{},delayLicenseRequestUntilPlayed:!1,initDataTransform:fd,fairPlayTransform:!0},e={retryParameters:Bb(),availabilityWindowOverride:NaN,disableAudio:!1,disableVideo:!1,disableText:!1,dash:{customScheme:function(b){if(b)return null},clockSyncUri:\"\",ignoreDrmInfo:!1,xlinkFailGracefully:!1,defaultPresentationDelay:10,\nignoreMinBufferTime:!1,autoCorrectDrift:!0,ignoreSuggestedPresentationDelay:!1,ignoreEmptyAdaptationSet:!1},hls:{ignoreTextStreamFailures:!1}},f={retryParameters:Bb(),failureCallback:function(b){return[b]},rebufferingGoal:2,bufferingGoal:10,bufferBehind:30,ignoreTextStreamFailures:!1,alwaysStreamText:!1,startAtSegmentBoundary:!1,smallGapLimit:.5,jumpLargeGaps:!1,durationBackoff:1,forceTransmuxTS:!1,safeSeekOffset:5,stallEnabled:!0,stallThreshold:1,stallSkip:.1,useNativeHlsOnSafari:!0};wc(\"Web0S\")&&\n(f.stallEnabled=!1);var g={trackSelectionCallback:function(b){return t(function m(){return z(m,function(c){switch(c.j){case 1:return c[\"return\"](b)}})})},progressCallback:function(b,c){return[b,c]},usePersistentLicense:!0},h={drm:d,manifest:e,streaming:f,offline:g,abrFactory:O,abr:{enabled:!0,defaultBandwidthEstimate:b,switchInterval:8,bandwidthUpgradeTarget:.85,bandwidthDowngradeTarget:.95,restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:c,minPixels:0,maxPixels:Infinity,minFrameRate:0,\nmaxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity}},preferredAudioLanguage:\"\",preferredTextLanguage:\"\",preferredVariantRole:\"\",preferredTextRole:\"\",preferredAudioChannelCount:2,restrictions:{minWidth:0,maxWidth:Infinity,minHeight:0,maxHeight:Infinity,minPixels:0,maxPixels:Infinity,minFrameRate:0,maxFrameRate:Infinity,minBandwidth:0,maxBandwidth:Infinity},playRangeStart:0,playRangeEnd:Infinity,textDisplayFactory:function(){return null}};g.trackSelectionCallback=function(b){return t(function m(){return z(m,\nfunction(c){switch(c.j){case 1:return c[\"return\"](Fk(b,h.preferredAudioLanguage))}})})};return h}function Gk(b,c,d){var e={\".drm.servers\":\"\",\".drm.clearKeys\":\"\",\".drm.advanced\":{distinctiveIdentifierRequired:!1,persistentStateRequired:!1,videoRobustness:\"\",audioRobustness:\"\",serverCertificate:new Uint8Array(0),individualizationServer:\"\"}};return Bk(b,c,d||Ek(),e,\"\")}Dk.mergeConfigObjects=Gk;\nfunction Fk(b,c){var d=b.filter(function(b){return\"variant\"==b.type}),e=[],f=we(c,d.map(function(b){return b.language}));f&&(e=d.filter(function(b){return M(b.language)==f}));0==e.length&&(e=d.filter(function(b){return b.primary}));0==e.length&&(d.map(function(b){return b.language}),e=d);var g=e.filter(function(b){return b.height&&480>=b.height});g.length&&(g.sort(function(b,c){return c.height-b.height}),e=g.filter(function(b){return b.height==g[0].height}));d=[];if(e.length){var h=Math.floor(e.length/\n2);e.sort(function(b,c){return b.bandwidth-c.bandwidth});d.push(e[h])}e=r(b);for(h=e.next();!h.done;h=e.next())h=h.value,\"text\"==h.type&&d.push(h);return d};function Hk(){this.a=null;this.b=[]}function Ik(b,c){if(null==b.a)b.a={timestamp:Date.now()/1E3,state:c,duration:0};else{var d=Date.now()/1E3;b.a.duration=d-b.a.timestamp;b.a.state!=c&&(b.b.push(b.a),b.a={timestamp:d,state:c,duration:0})}}function Jk(b,c){var d=0;b.a&&b.a.state==c&&(d+=b.a.duration);for(var e=r(b.b),f=e.next();!f.done;f=e.next())f=f.value,d+=f.state==c?f.duration:0;return d}\nfunction Kk(b){function c(b){return{timestamp:b.timestamp,state:b.state,duration:b.duration}}for(var d=[],e=r(b.b),f=e.next();!f.done;f=e.next())d.push(c(f.value));b.a&&d.push(c(b.a));return d};function Lk(){this.b=this.c=null;this.a=[]};function Mk(){this.f=this.s=this.h=this.b=this.i=this.l=this.m=this.g=this.u=NaN;this.a=new Hk;this.c=new Lk};function Y(b,c){var d=this;Mb.call(this);this.i=Nk;this.a=null;this.gb=!1;this.g=new K;this.Dc=this.l=this.Fb=this.b=this.s=this.f=this.Yb=this.B=this.Zb=this.W=this.ib=this.m=this.D=this.h=this.K=null;this.Xd=1E9;this.ac=new Set;this.kb=!0;this.pa=null;this.Ud=!1;this.Rd=0;this.oa=null;this.$=new Jh;this.c=Ok(this);this.bc={width:Infinity,height:Infinity};this.u=null;this.Gb=new Uh(this.c.preferredAudioLanguage,this.c.preferredVariantRole,this.c.preferredAudioChannelCount);this.na=this.c.preferredTextLanguage;\nthis.fb=this.c.preferredTextRole;c&&c(this);this.K=Pk(this);this.g.w(window,\"online\",function(){d.sd()});this.F={name:\"detach\"};this.O={name:\"attach\"};this.Ha={name:\"unload\"};this.Mc={name:\"manifest-parser\"};this.Kc={name:\"manifest\"};this.hb={name:\"media-source\"};this.Ec={name:\"drm-engine\"};this.S={name:\"load\"};this.Rc={name:\"src-equals-drm-engine\"};this.jb={name:\"src-equals\"};var e=new Map;e.set(this.O,function(b,c){return Ib(Qk(d,b,c))});e.set(this.F,function(b){b.v&&(d.g.ea(b.v,\"error\"),b.v=null);\nd.a=null;b=Promise.resolve();return Ib(b)});e.set(this.Ha,function(b){return Ib(Rk(d,b))});e.set(this.hb,function(b){b=Sk(d,b);return Ib(b)});e.set(this.Mc,function(b,c){var e=Tk(d,b,c);return Ib(e)});e.set(this.Kc,function(b){return Uk(d,b)});e.set(this.Ec,function(){var b=Vk(d);return Ib(b)});e.set(this.S,function(b,c){return Ib(Wk(d,b,c))});e.set(this.Rc,function(b){b=Xk(d,b);return Ib(b)});e.set(this.jb,function(b,c){return Yk(d,b,c)});this.lb=new sk(this.F,{cf:function(b,c,e,k){var f=null;b==\nd.F&&(f=e==d.F?d.F:d.O);b==d.O&&(f=e==d.F||c.v!=k.v?d.F:e==d.O?d.O:e==d.hb||e==d.S?d.hb:e==d.jb?d.Rc:null);b==d.hb&&(f=e==d.S&&c.v==k.v?d.Mc:d.Ha);b==d.Mc&&(f=Zk(d.S,d.Kc,d.Ha,e,c,k));b==d.Kc&&(f=Zk(d.S,d.Ec,d.Ha,e,c,k));b==d.Ec&&(f=Zk(d.S,d.S,d.Ha,e,c,k));b==d.Rc&&(f=e==d.jb&&c.v==k.v?d.jb:d.Ha);if(b==d.S||b==d.jb)f=d.Ha;b==d.Ha&&(f=k.v&&c.v==k.v?d.O:d.F);return f},Le:function(b,c,h){d.dispatchEvent(new I(\"onstatechange\",{state:b.name}));return e.get(b)(c,h)},handleError:function(b){return t(function h(){return z(h,\nfunction(c){switch(c.j){case 1:return u(c,Rk(d,b),2);case 2:return c[\"return\"](b.v?d.O:d.F)}})})},Bf:function(b){d.dispatchEvent(new I(\"onstateidle\",{state:b.name}))}});b&&this.Hb(b,!0)}Xa(Y,Mb);A(\"shaka.Player\",Y);\nY.prototype.destroy=function(){var b=this;return t(function d(){var e;return z(d,function(d){switch(d.j){case 1:if(b.i==$k)return d[\"return\"]();b.i=$k;e=wk(b.lb,function(){return{node:b.F,payload:tk(),Va:!1}});return u(d,new Promise(function(d){e.wb=function(){};e.pc=function(){d();b.dispatchEvent(new I(\"loaded\"))};e.Ya=function(){d()};e.onError=function(){d()};e.rc=function(){d()}}),2);case 2:return u(d,b.lb.destroy(),3);case 3:b.g&&(b.g.release(),b.g=null);b.Dc=null;b.l=null;b.c=null;if(!b.K){d.A(0);\nbreak}return u(d,b.K.destroy(),5);case 5:b.K=null,w(d)}})})};Y.prototype.destroy=Y.prototype.destroy;Y.version=\"v2.5.10\";var al=[\"2\",\"5\"];Ae=new function(b){this.a=b;this.c=Be;this.b=Ce}(new ye(Number(al[0]),Number(al[1])));var bl=[\"output-restricted\",\"internal-error\"],cl={};Y.registerSupportPlugin=function(b,c){cl[b]=c};\nY.isBrowserSupported=function(){if(!(window.Promise&&window.Uint8Array&&Array.prototype.forEach))return!1;var b=xc();return b&&12>b||!(window.MediaKeys&&window.navigator&&window.navigator.requestMediaKeySystemAccess&&window.MediaKeySystemAccess&&window.MediaKeySystemAccess.prototype.getConfiguration)?!1:sc()?!0:tc(\"application/x-mpegurl\")};\nY.probeSupport=function(){return ld().then(function(b){for(var c=V.Sf(),d={},e=r('video/mp4; codecs=\"avc1.42E01E\",video/mp4; codecs=\"avc3.42E01E\",video/mp4; codecs=\"hev1.1.6.L93.90\",video/mp4; codecs=\"hvc1.1.6.L93.90\",video/mp4; codecs=\"hev1.2.4.L153.B0\"; eotf=\"smpte2084\",video/mp4; codecs=\"hvc1.2.4.L153.B0\"; eotf=\"smpte2084\",video/mp4; codecs=\"vp9\",video/mp4; codecs=\"vp09.00.10.08\",video/mp4; codecs=\"av01.0.01M.08\",audio/mp4; codecs=\"mp4a.40.2\",audio/mp4; codecs=\"ac-3\",audio/mp4; codecs=\"ec-3\",audio/mp4; codecs=\"opus\",audio/mp4; codecs=\"flac\",video/webm; codecs=\"vp8\",video/webm; codecs=\"vp9\",video/webm; codecs=\"vp09.00.10.08\",audio/webm; codecs=\"vorbis\",audio/webm; codecs=\"opus\",video/mp2t; codecs=\"avc1.42E01E\",video/mp2t; codecs=\"avc3.42E01E\",video/mp2t; codecs=\"hvc1.1.6.L93.90\",video/mp2t; codecs=\"mp4a.40.2\",video/mp2t; codecs=\"ac-3\",video/mp2t; codecs=\"ec-3\",text/vtt,application/mp4; codecs=\"wvtt\",application/ttml+xml,application/mp4; codecs=\"stpp\"'.split(\",\")),f=\ne.next();!f.done;f=e.next()){f=f.value;d[f]=sc()?Yd(f)?!0:MediaSource.isTypeSupported(f)||Cd(f):tc(f);var g=f.split(\";\")[0];d[g]=d[g]||d[f]}b={manifest:c,media:d,drm:b};for(var h in cl)b[h]=cl[h]();return b})};Y.prototype.Hb=function(b,c){c=void 0===c?!0:c;if(this.i==$k)return Promise.reject(dl());var d=tk();d.v=b;sc()||(c=!1);var e=c?this.hb:this.O,f=wk(this.lb,function(){return{node:e,payload:d,Va:!1}});f.wb=function(){};return el(f)};Y.prototype.attach=Y.prototype.Hb;\nY.prototype.detach=function(){var b=this;if(this.i==$k)return Promise.reject(dl());var c=wk(this.lb,function(){return{node:b.F,payload:tk(),Va:!1}});c.wb=function(){};return el(c)};Y.prototype.detach=Y.prototype.detach;Y.prototype.Cd=function(b){var c=this;b=void 0===b?!0:b;if(this.i==$k)return Promise.reject(dl());sc()||(b=!1);var d=tk(),e=wk(this.lb,function(e){var f=e.v&&b?c.hb:e.v?c.O:c.F;d.v=e.v;return{node:f,payload:d,Va:!1}});e.wb=function(){};return el(e)};Y.prototype.unload=Y.prototype.Cd;\nY.prototype.load=function(b,c,d){if(this.i==$k)return Promise.reject(dl());this.dispatchEvent(new I(\"loading\"));var e=tk();e.uri=b;e.zd=Date.now()/1E3;d&&\"string\"!=typeof d&&(ze(\"Loading with a manifest parser factory\",\"Please register a manifest parser and for the mime-type.\"),e.Aa=function(){return new d});d&&\"string\"==typeof d&&(e.mimeType=d);void 0!==c&&(e.startTime=c);var f=fl(this,e)?this.jb:this.S,g=wk(this.lb,function(b){if(null==b.v)return null;e.v=b.v;return{node:f,payload:e,Va:!0}});g.wb=\nfunction(){};return new Promise(function(b,c){g.rc=function(){return c(new D(2,7,7002))};g.pc=function(){return b()};g.Ya=function(){return c(dl())};g.onError=function(b){return c(b)}})};Y.prototype.load=Y.prototype.load;\nfunction fl(b,c){if(c.Aa)return!1;if(!sc())return!0;var d=c.mimeType,e=c.uri||\"\";d||(d={mp4:\"video/mp4\",m4v:\"video/mp4\",m4a:\"audio/mp4\",webm:\"video/webm\",weba:\"audio/webm\",mkv:\"video/webm\",ts:\"video/mp2t\",ogv:\"video/ogg\",ogg:\"audio/ogg\",mpg:\"video/mpeg\",mpeg:\"video/mpeg\",m3u8:\"application/x-mpegurl\",mp3:\"audio/mpeg\",aac:\"audio/aac\",flac:\"audio/flac\",wav:\"audio/wav\"}[V.getExtension(e)]);return d?\"\"==(c.v||uc()).canPlayType(d)?!1:V.isSupported(e,d)?vc()&&b.c.streaming.useNativeHlsOnSafari:!0:!1}\nfunction Qk(b,c,d){null==c.v&&(c.v=d.v,b.g.w(c.v,\"error\",function(){var c=gl(b);c&&b.Ma(c)}));b.a=c.v;return Promise.resolve()}\nfunction Rk(b,c){return t(function e(){return z(e,function(e){switch(e.j){case 1:b.i!=$k&&(b.i=Nk);b.dispatchEvent(new I(\"unloading\"));c.Aa=null;c.mimeType=null;c.startTime=null;c.uri=null;c.v&&(b.g.ea(c.v,\"loadeddata\"),b.g.ea(c.v,\"playing\"),b.g.ea(c.v,\"pause\"),b.g.ea(c.v,\"ended\"),b.g.ea(c.v,\"ratechange\"));b.ib&&(b.ib.release(),b.ib=null);b.Zb&&(b.Zb.stop(),b.Zb=null);if(!b.s){e.A(2);break}return u(e,b.s.stop(),3);case 3:b.s=null;case 2:if(!b.l){e.A(4);break}return u(e,b.l.stop(),4);case 4:if(!b.f){e.A(6);\nbreak}return u(e,b.f.destroy(),7);case 7:b.f=null;case 6:b.m&&(b.m.release(),b.m=null);if(!b.D){e.A(8);break}return u(e,b.D.destroy(),9);case 9:b.D=null;case 8:if(!c.v||!c.v.src){e.A(10);break}return u(e,new Promise(function(b){return(new C(b)).R(.1)}),11);case 11:c.v.removeAttribute(\"src\"),c.v.load();case 10:if(!b.h){e.A(12);break}return u(e,b.h.destroy(),13);case 13:b.h=null;case 12:b.$.a.clear(),b.Fb=null,b.B=null,b.ac.clear(),b.b=null,b.u=null,b.Fc=null,b.kb=!0,hl(b),w(e)}})})}\nfunction Sk(b,c){return t(function e(){var f,g,h,k;return z(e,function(e){switch(e.j){case 1:return f=window.muxjs?new od:new pd,g=b.c.textDisplayFactory,h=new g,b.Fc=g,k=new ce(c.v,f,h),u(e,k.s,2);case 2:b.D=k,w(e)}})})}\nfunction Tk(b,c,d){return t(function f(){var g,h,k,l;return z(f,function(f){switch(f.j){case 1:c.Aa=d.Aa;c.mimeType=d.mimeType;c.uri=d.uri;g=c.uri;h=b.K;b.Fb=g;if(c.Aa){b.s=c.Aa();f.A(2);break}k=b;return u(f,V.create(g,h,b.c.manifest.retryParameters,c.mimeType),3);case 3:k.s=f.o;case 2:l=Nb(b.c.manifest),d.v&&\"AUDIO\"===d.v.nodeName&&(l.disableVideo=!0),b.s.configure(l),w(f)}})})}\nfunction Uk(b,c){var d=c.uri,e=b.K;b.Yb=new Di;Ei(b.Yb,function(c){il(b,\"timelineregionadded\",c)});var f={networkingEngine:e,filterNewPeriod:function(c){return b.Nc(c)},filterAllPeriods:function(c){return jl(b,c)},onTimelineRegionAdded:function(c){var d=b.Yb;a:{var e=r(d.a);for(var f=e.next();!f.done;f=e.next())if(f=f.value,f.schemeIdUri==c.schemeIdUri&&f.id==c.id&&f.startTime==c.startTime&&f.endTime==c.endTime){e=f;break a}e=null}null==e&&(d.a.add(c),d.b(c))},onEvent:function(c){return b.dispatchEvent(c)},\nonError:function(c){return b.Ma(c)}};return new H(Promise.resolve().then(function(){return t(function h(){var c;return z(h,function(e){switch(e.j){case 1:return c=b,u(e,b.s.start(d,f),2);case 2:c.b=e.o;b.dispatchEvent(new I(\"manifestparsed\"));if(0==b.b.periods.length)throw new D(2,4,4014);kl(b.b.periods);w(e)}})})}),function(){return b.s.stop()})}\nfunction Vk(b){return t(function d(){return z(d,function(d){switch(d.j){case 1:return b.h=new Gc({ub:b.K,onError:function(d){b.Ma(d)},qc:function(d){ll(b,d)},onExpirationUpdated:function(d,e){ml(b,d,e)},onEvent:function(d){b.dispatchEvent(d)}}),b.h.configure(b.c.drm),u(d,Nc(b.h,ji(b.b.periods),b.b.offlineSessionIds),2);case 2:jl(b,b.b.periods),w(d)}})})}\nfunction Wk(b,c,d){return t(function f(){var g,h,k,l,m,n,p,v,x;return z(f,function(f){switch(f.j){case 1:return c.startTime=d.startTime,g=c.v,h=c.uri,b.Fb=h,b.u=new Mk,k=function(){return nl(b)},l=function(){var c=b.a.playbackRate;0!=c&&b.W.set(c)},b.g.w(g,\"playing\",k),b.g.w(g,\"pause\",k),b.g.w(g,\"ended\",k),b.g.w(g,\"ratechange\",l),m=b.c.abrFactory,b.l&&b.Dc==m||(b.Dc=m,b.l=new m,b.l.configure(b.c.abr)),ol(b,b.b.periods),b.Gb=new Uh(b.c.preferredAudioLanguage,b.c.preferredVariantRole,b.c.preferredAudioChannelCount),\nb.na=b.c.preferredTextLanguage,pl(b.b.presentationTimeline,b.c.playRangeStart,b.c.playRangeEnd),u(f,b.h.Hb(g),2);case 2:return b.l.init(function(c,d,f){d=void 0===d?!1:d;f=void 0===f?0:f;a:{var g=r(b.b.periods);for(var h=g.next();!h.done;h=g.next())if(h=h.value,h.variants.includes(c)){g=h;break a}g=null}ql(b,g,c,!0);b.f&&Xi(b.f,c,d,f)&&rl(b)}),b.m=sl(b,c.startTime),b.ib=tl(b),b.W=new ni({jc:function(){return c.v.playbackRate},wd:function(b){c.v.playbackRate=b},Yd:function(b){c.v.currentTime+=b}}),\nn=Math.max(b.b.minBufferTime,b.c.streaming.rebufferingGoal),ul(b,n),b.f=vl(b),b.f.configure(b.c.streaming),wl(b),b.i=xl,b.dispatchEvent(new I(\"streaming\")),u(f,b.f.start(),3);case 3:b.c.streaming.startAtSegmentBoundary&&(p=b.m.h(),v=yl(b,p),b.m.m(v)),b.b.periods.forEach(b.Nc.bind(b)),zl(b),rl(b),x=Al(b)||b.b.periods[0],x.variants.some(function(b){return b.primary}),Bl(b,x.variants),b.g.da(g,\"loadeddata\",function(){b.u.b=Date.now()/1E3-d.zd}),w(f)}})})}\nfunction Xk(b,c){return t(function e(){var f,g;return z(e,function(e){switch(e.j){case 1:return f=xd,b.h=new Gc({ub:b.K,onError:function(c){b.Ma(c)},qc:function(c){ll(b,c)},onExpirationUpdated:function(c,e){ml(b,c,e)},onEvent:function(c){b.dispatchEvent(c)}}),b.h.configure(b.c.drm),g={id:0,language:\"und\",primary:!1,audio:null,video:{id:0,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,\npresentationTimeOffset:0,mimeType:\"video/mp4\",codecs:\"\",encrypted:!0,keyId:null,language:\"und\",label:null,type:f.Pa,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null},bandwidth:100,drmInfos:[],allowedByApplication:!0,allowedByKeySystem:!0},u(e,Nc(b.h,[g],[]),2);case 2:return u(e,b.h.Hb(c.v),0)}})})}\nfunction Yk(b,c,d){function e(){return nl(b)}c.uri=d.uri;c.startTime=d.startTime;b.Fb=c.uri;b.u=new Mk;b.m=new wi(c.v);null!=c.startTime&&b.m.m(c.startTime);b.W=new ni({jc:function(){return c.v.playbackRate},wd:function(b){c.v.playbackRate=b},Yd:function(b){c.v.currentTime+=b}});ul(b,b.c.streaming.rebufferingGoal);b.g.w(c.v,\"playing\",e);b.g.w(c.v,\"pause\",e);b.g.w(c.v,\"ended\",e);b.g.da(c.v,\"loadeddata\",function(){b.u.b=Date.now()/1E3-d.zd});b.a.audioTracks&&(b.g.w(b.a.audioTracks,\"addtrack\",function(){return zl(b)}),\nb.g.w(b.a.audioTracks,\"removetrack\",function(){return zl(b)}),b.g.w(b.a.audioTracks,\"change\",function(){return zl(b)}));if(b.a.textTracks){var f=b.a.textTracks;b.g.w(f,\"addtrack\",function(){return zl(b)});b.g.w(f,\"removetrack\",function(){return zl(b)});b.g.w(f,\"change\",function(){return zl(b)})}c.v.src=c.uri;b.i=Cl;b.dispatchEvent(new I(\"streaming\"));var g=new F;b.a.readyState>=HTMLMediaElement.HAVE_CURRENT_DATA?g.resolve():b.a.error?g.reject(gl(b)):(b.g.da(b.a,\"loadeddata\",function(){g.resolve()}),\nb.g.da(b.a,\"error\",function(){g.reject(gl(b))}));return new H(g,function(){g.reject(new D(2,7,7001));return Promise.resolve()})}function kl(b){function c(b){return b.video&&b.audio||b.video&&b.video.codecs.includes(\",\")}b.some(function(b){return b.variants.some(c)})&&b.forEach(function(b){b.variants=b.variants.filter(c)})}\nfunction wl(b){function c(b){var c=\"\";b.video&&(c=rc(b.video.codecs)[0]);var d=\"\";b.audio&&(d=rc(b.audio.codecs)[0]);return c+\"-\"+d}var d=b.b.periods.reduce(function(b,c){return b.concat(c.variants)},[]);d=N.Nd(d,b.c.preferredAudioChannelCount);var e=new Lb;d.forEach(function(b){var d=c(b);e.push(d,b)});var f=null,g=Infinity;e.forEach(function(b,c){var d=0,e=0;c.forEach(function(b){d+=b.bandwidth||0;++e});var h=d/e;h<g&&(f=b,g=h)});b.b.periods.forEach(function(b){b.variants=b.variants.filter(function(b){return c(b)==\nf?!0:!1})})}function Pk(b){return new J(function(c,d){b.l&&b.l.segmentDownloaded(c,d)})}function sl(b,c){return new xi(b.a,b.b,b.c.streaming,c,function(){b.ib&&ii(b.ib,!0);b.f&&cj(b.f);b.B&&Dl(b)},function(c){return b.dispatchEvent(c)})}\nfunction tl(b){var c=new li(b.b);mi(c,function(){zl(b)});var d=new Fi(b.Yb);Ji(d,function(c){il(b,\"timelineregionenter\",c)},function(c){il(b,\"timelineregionexit\",c)},function(c,d){d||(il(b,\"timelineregionenter\",c),il(b,\"timelineregionexit\",c))});var e=new hi(b.a);e.a.add(c);e.a.add(d);return e}function ul(b,c){b.B=new Yh;b.B.a=$h;ai(b.B,c,Math.min(.5,c/2));hl(b);b.Zb=(new C(function(){Dl(b)})).Na(.25)}\nfunction Dl(b){switch(b.i){case Cl:var c=b.a.ended?!0:qd(b.a.buffered)>=b.a.duration-1;break;case xl:a:if(b.a.ended||ge(b.D))c=!0;else{if(b.b.presentationTimeline.V()){var d=b.b.presentationTimeline.pb();if(qd(b.a.buffered)>=d){c=!0;break a}}c=!1}break;default:c=!1}var e=sd(b.a.buffered,b.a.currentTime);d=b.B;var f=c,g=d.b.get(d.a);c=d.a;e=f||e>=g?Zh:$h;d.a=e;c!=e&&hl(b)}\nfunction vl(b){return new Ki(b.b,{Ua:function(){return b.m.h()},getBandwidthEstimate:function(){return b.l.getBandwidthEstimate()},L:b.D,ub:b.K,ae:b.zf.bind(b),$d:b.Fe.bind(b),onError:b.Ma.bind(b),onEvent:function(c){return b.dispatchEvent(c)},Df:b.Ef.bind(b),jd:b.Jf.bind(b)})}Y.prototype.configure=function(b,c){2==arguments.length&&\"string\"==typeof b&&(b=Ck(b,c));var d=Gk(this.c,b,Ok(this));El(this);return d};Y.prototype.configure=Y.prototype.configure;\nfunction El(b){if(b.s){var c=Nb(b.c.manifest);b.a&&\"AUDIO\"===b.a.nodeName&&(c.disableVideo=!0);b.s.configure(c)}b.h&&b.h.configure(b.c.drm);if(b.f){b.f.configure(b.c.streaming);try{b.b.periods.forEach(b.Nc.bind(b))}catch(g){b.Ma(g)}var d=Oi(b.f),e=Qi(b.f);c=Al(b);d=N.Qd(d,e,c.variants);b.l&&d&&d.allowedByApplication&&d.allowedByKeySystem?Bl(b,c.variants):Fl(b,c)}if(b.D&&(c=b.c.textDisplayFactory,b.Fc!=c)){d=new c;e=b.D;var f=e.g;e.g=d;f&&(d.setTextVisibility(f.isTextVisible()),f.destroy());e.a&&(e.a.c=\nd);b.Fc=c;b.f&&(c=b.f,(d=c.b.get(\"text\"))&&Wi(c,d.stream,!0,0,!0))}b.l&&(b.l.configure(b.c.abr),b.c.abr.enabled&&!b.kb?b.l.enable():b.l.disable(),Gl(b));b.B&&(c=b.c.streaming.rebufferingGoal,b.b&&(c=Math.max(c,b.b.minBufferTime)),ai(b.B,c,Math.min(.5,c/2)))}Y.prototype.getConfiguration=function(){var b=Ok(this);Gk(b,this.c,Ok(this));return b};Y.prototype.getConfiguration=Y.prototype.getConfiguration;Y.prototype.$f=function(){for(var b in this.c)delete this.c[b];Gk(this.c,Ok(this),Ok(this));El(this)};\nY.prototype.resetConfiguration=Y.prototype.$f;Y.prototype.We=function(){return this.i};Y.prototype.getLoadMode=Y.prototype.We;Y.prototype.af=function(){return this.a};Y.prototype.getMediaElement=Y.prototype.af;Y.prototype.Mb=function(){return this.K};Y.prototype.getNetworkingEngine=Y.prototype.Mb;Y.prototype.hc=function(){return this.Fb};Y.prototype.getAssetUri=Y.prototype.hc;Y.prototype.Ze=function(){ze(\"getManifestUri\",'Please use \"getAssetUri\" instead.');return this.hc()};\nY.prototype.getManifestUri=Y.prototype.Ze;Y.prototype.V=function(){return this.b?this.b.presentationTimeline.V():this.a&&this.a.src?Infinity==this.a.duration:!1};Y.prototype.isLive=Y.prototype.V;Y.prototype.Xa=function(){return this.b?this.b.presentationTimeline.Xa():!1};Y.prototype.isInProgress=Y.prototype.Xa;\nY.prototype.uf=function(){if(this.b){if(!this.b.periods.length)return!1;var b=this.b.periods[0].variants;return b.length?!b[0].video:!1}return this.a&&this.a.src?this.a.videoTracks?0==this.a.videoTracks.length:0==this.a.videoHeight:!1};Y.prototype.isAudioOnly=Y.prototype.uf;Y.prototype.bg=function(){if(this.b){var b=this.b.presentationTimeline;return{start:b.ob(),end:b.Ca()}}return this.a&&this.a.src&&(b=this.a.seekable,b.length)?{start:b.start(0),end:b.end(b.length-1)}:{start:0,end:0}};\nY.prototype.seekRange=Y.prototype.bg;Y.prototype.keySystem=function(){return ad(this.drmInfo())};Y.prototype.keySystem=Y.prototype.keySystem;Y.prototype.drmInfo=function(){return this.h?this.h.a:null};Y.prototype.drmInfo=Y.prototype.drmInfo;Y.prototype.Lb=function(){return this.h?this.h.Lb():Infinity};Y.prototype.getExpiration=Y.prototype.Lb;Y.prototype.Xc=function(){return this.B?this.B.a==$h:!1};Y.prototype.isBuffering=Y.prototype.Xc;\nY.prototype.ef=function(){if(this.W){var b=this.W;b=b.f?0:b.c}else b=0;return b};Y.prototype.getPlaybackRate=Y.prototype.ef;Y.prototype.ug=function(b){0==b?cb(\"A trick play rate of 0 is unsupported!\"):(this.a.paused&&this.a.play(),this.W.set(b),this.i==xl&&Vi(this.f,1<Math.abs(b)))};Y.prototype.trickPlay=Y.prototype.ug;Y.prototype.Ge=function(){this.i==Cl&&this.W.set(1);this.i==xl&&(this.W.set(1),Vi(this.f,!1))};Y.prototype.cancelTrickPlay=Y.prototype.Ge;\nY.prototype.Vc=function(){if(this.b&&this.m){for(var b=Hl(this),c=[],d=r(Il(this)),e=d.next();!e.done;e=d.next()){e=e.value;var f=N.Ed(e);f.active=e==b;c.push(f)}return c}return this.a&&this.a.audioTracks?Array.from(this.a.audioTracks).map(function(b){return N.rf(b)}):[]};Y.prototype.getVariantTracks=Y.prototype.Vc;\nY.prototype.qb=function(){if(this.b&&this.m){for(var b=Jl(this),c=[],d=r(Kl(this)),e=d.next();!e.done;e=d.next()){e=e.value;var f=N.xc(e);f.active=e==b;c.push(f)}return c}return this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).map(function(b){return N.sf(b)}):[]};Y.prototype.getTextTracks=Y.prototype.qb;\nY.prototype.td=function(b){if(this.b&&this.f){var c=Al(this),d=c.textStreams.find(function(c){return c.id==b.id});d&&(Ll(this,c,d,!1),Ml(this,d),this.na=d.language)}else if(this.a&&this.a.src&&this.a.textTracks){c=Array.from(this.a.textTracks);c=r(c);for(d=c.next();!d.done;d=c.next())d=d.value,N.Wc(d)==b.id?d.mode=this.gb?\"showing\":\"hidden\":d.mode=\"disabled\";Nl(this)}};Y.prototype.selectTextTrack=Y.prototype.td;\nY.prototype.dg=function(){ze(\"selectEmbeddedTextTrack\",\"If closed captions are signaled in the manifest, a text stream will be created to represent them. Please use SelectTextTrack.\");var b=this.qb().filter(function(b){return\"application/cea-608\"==b.mimeType});0<b.length&&this.td(b[0])};Y.prototype.selectEmbeddedTextTrack=Y.prototype.dg;\nY.prototype.zg=function(){ze(\"usingEmbeddedTextTrack\",\"If closed captions are signaled in the manifest, a text stream will be created to represent them. There should be no reason to know if the player is playing embedded text.\");var b=this.qb().filter(function(b){return b.active})[0];return b?\"application/cea-608\"==b.mimeType:!1};Y.prototype.usingEmbeddedTextTrack=Y.prototype.zg;\nY.prototype.fg=function(b,c,d){d=void 0===d?0:d;if(this.b&&this.f){var e=Al(this);this.c.abr.enabled&&cb(\"Changing tracks while abr manager is enabled will likely result in the selected track being overriden. Consider disabling abr before calling selectVariantTrack().\");var f=e.variants.find(function(c){return c.id==b.id});f&&N.rb(f)&&(ql(this,e,f,!1),Ol(this,f,c,d),this.Gb=new Th(f),Bl(this,e.variants))}else if(this.a&&this.a.audioTracks){c=Array.from(this.a.audioTracks);c=r(c);for(d=c.next();!d.done;d=\nc.next())d=d.value,N.Wc(d)==b.id&&(d.enabled=!0);Pl(this)}};Y.prototype.selectVariantTrack=Y.prototype.fg;Y.prototype.Re=function(){return Ql(this.Vc())};Y.prototype.getAudioLanguagesAndRoles=Y.prototype.Re;Y.prototype.mf=function(){return Ql(this.qb())};Y.prototype.getTextLanguagesAndRoles=Y.prototype.mf;Y.prototype.Qe=function(){return Array.from(Rl(this.Vc()))};Y.prototype.getAudioLanguages=Y.prototype.Qe;Y.prototype.lf=function(){return Array.from(Rl(this.qb()))};\nY.prototype.getTextLanguages=Y.prototype.lf;Y.prototype.cg=function(b,c){if(this.b&&this.m){var d=Al(this);this.Gb=new Uh(b,c||\"\",0,\"\",\"audio\");Sl(this,d)}else if(this.a&&this.a.audioTracks){d=Array.from(this.a.audioTracks);d=r(d);for(var e=d.next();!e.done;e=d.next())e=e.value,e.language==b&&(e.enabled=!0);Pl(this)}};Y.prototype.selectAudioLanguage=Y.prototype.cg;\nY.prototype.eg=function(b,c){if(this.b&&this.m){var d=Al(this);this.na=b;this.fb=c||\"\";var e=N.Jb(d.textStreams,this.na,this.fb)[0]||null;e&&(Ll(this,d,e,!1),(this.c.streaming.alwaysStreamText||this.mc())&&Ml(this,e))}else(d=this.qb().filter(function(c){return c.language==b})[0])&&this.td(d)};Y.prototype.selectTextLanguage=Y.prototype.eg;\nY.prototype.gg=function(b){if(this.b&&this.m){for(var c=Al(this),d=null,e=r(Il(this)),f=e.next();!f.done;f=e.next())if(f=f.value,f.audio.label==b){d=f;break}null!=d&&(this.Gb=new Uh(d.language,\"\",0,b),Sl(this,c))}};Y.prototype.selectVariantsByLabel=Y.prototype.gg;Y.prototype.mc=function(){var b=this.gb;return this.D?this.D.g.isTextVisible():this.a&&this.a.src&&this.a.textTracks?Array.from(this.a.textTracks).some(function(b){return\"showing\"==b.mode}):b};Y.prototype.isTextTrackVisible=Y.prototype.mc;\nY.prototype.jg=function(b){var c=this;return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:f=c.gb;g=!!b;if(f==g)return e[\"return\"]();c.gb=g;if(c.i!=xl){if(c.a&&c.a.src&&c.a.textTracks){h=Array.from(c.a.textTracks);for(var n=r(h),v=n.next();!v.done;v=n.next())k=v.value,\"disabled\"!=k.mode&&(k.mode=g?\"showing\":\"hidden\")}e.A(2);break}c.D.g.setTextVisibility(g);if(c.c.streaming.alwaysStreamText){e.A(2);break}if(!g){n=c.f;n.D=!0;if(v=n.b.get(\"text\"))Li(v),n.b[\"delete\"](\"text\");\ne.A(2);break}l=Al(c);m=N.Jb(l.textStreams,c.na,c.fb);if(!(0<m.length)){e.A(2);break}return u(e,Ri(c.f,m[0]),2);case 2:Tl(c),w(e)}})})};Y.prototype.setTextTrackVisibility=Y.prototype.jg;Y.prototype.gf=function(){if(!this.V())return null;if(this.b)return new Date(1E3*(this.b.presentationTimeline.f+this.a.currentTime));if(this.a&&this.a.getStartDate){var b=this.a.getStartDate();return isNaN(b.getTime())?null:new Date(b.getTime()+1E3*this.a.currentTime)}return null};\nY.prototype.getPlayheadTimeAsDate=Y.prototype.gf;Y.prototype.jf=function(){if(!this.V())return null;if(this.b)return new Date(1E3*this.b.presentationTimeline.f);if(this.a&&this.a.getStartDate){var b=this.a.getStartDate();return isNaN(b.getTime())?null:b}return null};Y.prototype.getPresentationStartTimeAsDate=Y.prototype.jf;Y.prototype.Sc=function(){var b={total:[],audio:[],video:[],text:[]};this.i==Cl&&(b.total=td(this.a.buffered));this.i==xl&&this.D.Sc(b);return b};Y.prototype.getBufferedInfo=Y.prototype.Sc;\nY.prototype.getStats=function(){if(this.i!=xl&&this.i!=Cl)return{width:NaN,height:NaN,streamBandwidth:NaN,decodedFrames:NaN,droppedFrames:NaN,corruptedFrames:NaN,estimatedBandwidth:NaN,loadLatency:NaN,playTime:NaN,pauseTime:NaN,bufferingTime:NaN,licenseTime:NaN,switchHistory:[],stateHistory:[]};nl(this);var b=this.a;if(b.getVideoPlaybackQuality){b=b.getVideoPlaybackQuality();var c=this.u,d=Number(b.totalVideoFrames);c.m=Number(b.droppedVideoFrames);c.l=d;this.u.i=Number(b.corruptedVideoFrames)}this.h?\n(b=this.h,b=b.K?b.K:NaN):b=NaN;this.u.h=b;if(this.i==xl){if(b=Hl(this))this.u.s=b.bandwidth;b&&b.video&&(c=this.u,d=b.video.height||NaN,c.u=b.video.width||NaN,c.g=d);b=this.l.getBandwidthEstimate();this.u.f=b}var e=this.u;b=e.u;c=e.g;d=e.s;var f=e.l,g=e.m,h=e.i,k=e.f,l=e.b,m=Jk(e.a,\"playing\"),n=Jk(e.a,\"paused\"),p=Jk(e.a,\"buffering\"),v=e.h,x=Kk(e.a),B=[];e=r(e.c.a);for(var y=e.next();!y.done;y=e.next())y=y.value,B.push({timestamp:y.timestamp,id:y.id,type:y.type,fromAdaptation:y.fromAdaptation,bandwidth:y.bandwidth});\nreturn{width:b,height:c,streamBandwidth:d,decodedFrames:f,droppedFrames:g,corruptedFrames:h,estimatedBandwidth:k,loadLatency:l,playTime:m,pauseTime:n,bufferingTime:p,licenseTime:v,stateHistory:x,switchHistory:B}};Y.prototype.getStats=Y.prototype.getStats;\nY.prototype.addTextTrack=function(b,c,d,e,f,g){var h=this;return t(function l(){var m,n,p,v,x,B,y,G,E;return z(l,function(l){switch(l.j){case 1:if(h.i==Cl)throw Error(\"State error!\");if(h.i!=xl)throw Error(\"State error!\");m=Al(h);n=xd;p=h.b.periods.indexOf(m);v=p+1;x=v>=h.b.periods.length?h.b.presentationTimeline.Y():h.b.periods[v].startTime;B=x-m.startTime;if(Infinity==B)throw new D(1,4,4033);y=new T(1,0,B,function(){return[b]},0,null);G={id:h.Xd++,originalId:null,createSegmentIndex:Promise.resolve.bind(Promise),\nfindSegmentPosition:function(){return 1},getSegmentReference:function(b){return 1==b?y:null},initSegmentReference:null,presentationTimeOffset:0,mimeType:e,codecs:f||\"\",kind:d,encrypted:!1,keyId:null,language:c,label:g||null,type:n.ra,primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:[],channelsCount:null,audioSamplingRate:null,closedCaptions:null};h.ac.add(G);m.textStreams.push(G);return u(l,Ri(h.f,G),2);case 2:return(E=Pi(h.f,\"text\"))&&Kh(h.$,m,E),\nh.ac[\"delete\"](G),Fl(h,m),zl(h),l[\"return\"](N.xc(G))}})})};Y.prototype.addTextTrack=Y.prototype.addTextTrack;Y.prototype.vd=function(b,c){this.bc.width=b;this.bc.height=c};Y.prototype.setMaxHardwareResolution=Y.prototype.vd;Y.prototype.sd=function(){if(this.i==xl){var b=this.f;if(b.f)b=!1;else if(b.m)b=!1;else{for(var c=r(b.b.values()),d=c.next();!d.done;d=c.next())d=d.value,d.Pb&&(d.Pb=!1,Ui(b,d,.1));b=!0}}else b=!1;return b};Y.prototype.retryStreaming=Y.prototype.sd;Y.prototype.Xe=function(){return this.b};\nY.prototype.getManifest=Y.prototype.Xe;Y.prototype.Ye=function(){return this.s?this.s.constructor:null};Y.prototype.getManifestParserFactory=Y.prototype.Ye;function ql(b,c,d,e){Lh(b.$,c).variant=d;b=b.u.c;b.c!=d&&(b.c=d,b.a.push({timestamp:Date.now()/1E3,id:d.id,type:\"variant\",fromAdaptation:e,bandwidth:d.bandwidth}))}function Ll(b,c,d,e){Kh(b.$,c,d);b=b.u.c;b.b!=d&&(b.b=d,b.a.push({timestamp:Date.now()/1E3,id:d.id,type:\"text\",fromAdaptation:e,bandwidth:null}))}\nfunction Ok(b){var c=Ek();c.streaming.failureCallback=function(c){var d=[1001,1002,1003];b.V()&&d.includes(c.code)&&(c.severity=1,b.sd())};c.textDisplayFactory=function(){return new yk(b.a)};return c}\nfunction ol(b,c){for(var d=0;d<c.length;d++){for(var e=c[d],f=new Map,g=r(e.variants),h=g.next();!h.done;h=g.next())if(h=h.value,h.video&&h.video.closedCaptions){h=h.video;for(var k=r(h.closedCaptions.keys()),l=k.next();!l.done;l=k.next())if(l=l.value,!f.has(l)){var m={id:b.Xd++,originalId:l,createSegmentIndex:Promise.resolve.bind(Promise),findSegmentPosition:function(){return null},getSegmentReference:function(){return null},initSegmentReference:null,presentationTimeOffset:0,mimeType:\"application/cea-608\",\ncodecs:\"\",kind:\"caption\",encrypted:!1,keyId:null,language:h.closedCaptions.get(l),label:null,type:\"text\",primary:!1,frameRate:void 0,pixelAspectRatio:void 0,trickModeVideo:null,emsgSchemeIdUris:null,roles:h.roles,channelsCount:null,audioSamplingRate:null,closedCaptions:null};f.set(l,m)}}f=r(f.values());for(g=f.next();!g.done;g=f.next())e.textStreams.push(g.value)}}\nfunction jl(b,c){var d=b.f?Oi(b.f):null,e=b.f?Qi(b.f):null;c.forEach(N.filterNewPeriod.bind(null,b.h,d,e));d=Qb(c,function(b){return b.variants.some(N.rb)});if(0==d)throw new D(2,4,4032);if(d<c.length)throw new D(2,4,4011);c.forEach(function(b){N.Gd(b.variants,this.c.restrictions,this.bc)&&this.f&&Al(this)==b&&zl(this);Ul(this,b.variants)}.bind(b))}q=Y.prototype;\nq.Nc=function(b){var c=this.f?Oi(this.f):null,d=this.f?Qi(this.f):null;N.filterNewPeriod(this.h,c,d,b);c=b.variants;if(!c.some(N.rb))throw new D(2,4,4011);Ul(this,b.variants);N.Gd(c,this.c.restrictions,this.bc)&&this.f&&Al(this)==b&&zl(this);if(b=this.h?this.h.a:null)for(c=r(c),d=c.next();!d.done;d=c.next()){d=r(d.value.drmInfos);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.keySystem==b.keySystem){e=r(e.initData||[]);for(var f=e.next();!f.done;f=e.next())f=f.value,Xc(this.h,f.initDataType,\nf.initData)}}};function Ol(b,c,d,e){d=void 0===d?!1:d;e=void 0===e?0:e;if(b.kb)return b.pa=c,b.Ud=d,b.Rd=e,!0;(c=Xi(b.f,c,d,e))&&Pl(b);return c}function Ml(b,c){if(b.kb)return b.oa=c,!0;var d=Wi(b.f,c,!0,0,!1);d&&Nl(b);return d}\nfunction yl(b,c){function d(b,c){if(!b)return null;var d=b.findSegmentPosition(c-g.startTime);return null==d?null:(d=b.getSegmentReference(d))?d.startTime+g.startTime:null}var e=Oi(b.f),f=Qi(b.f),g=Al(b);e=d(e,c);f=d(f,c);return null!=f&&null!=e?Math.max(f,e):null!=f?f:null!=e?e:c}function hl(b){var c=b.Xc();if(b.u&&b.B&&b.m){var d=b.W;d.f=c;oi(d);nl(b)}b.dispatchEvent(new I(\"buffering\",{buffering:c}))}\nfunction nl(b){if(b.u&&b.B){var c=b.u.a;b.B.a==$h?Ik(c,\"buffering\"):b.a.paused?Ik(c,\"paused\"):b.a.ended?Ik(c,\"ended\"):Ik(c,\"playing\")}}function Bl(b,c){try{Ul(b,c)}catch(e){return b.Ma(e),null}var d=c.filter(function(b){return N.rb(b)});d=b.Gb.create(d);b.l.setVariants(Array.from(d.values()));return b.l.chooseVariant()}function Fl(b,c){var d=Sl(b,c,!1),e=N.Jb(c.textStreams,b.na,b.fb)[0]||null,f=!1;e&&(b.c.streaming.alwaysStreamText||b.mc())&&(Ll(b,c,e,!0),f=Ml(b,e));(d||f)&&rl(b)}\nfunction Sl(b,c,d){d=void 0===d?!0:d;var e=Bl(b,c.variants),f=!1;e&&(ql(b,c,e,!0),f=Ol(b,e,!0));d&&f&&rl(b);return f}\nq.zf=function(b){try{this.kb=!0;this.l.disable();Gl(this);var c=Bl(this,b.variants),d=N.Jb(b.textStreams,this.na,this.fb)[0]||null;this.pa&&(b.variants.includes(this.pa)&&(c=this.pa),this.pa=null);this.oa&&(b.textStreams.includes(this.oa)&&(d=this.oa),this.oa=null);c&&ql(this,b,c,!0);d&&Ll(this,b,d,!0);var e=this.f,f=e.b.get(\"video\");if(f)var g=e.c.periods[f.ia];else{var h=e.b.get(\"audio\");g=h?e.c.periods[h.ia]:null}var k=c?c.audio:null;if(!g&&d){var l;if(l=k){b=d;var m=M(this.c.preferredTextLanguage),\nn=M(k.language),p=M(b.language);l=se(p,m)&&!se(n,p)}l&&(this.gb=!0);this.gb&&this.D.g.setTextVisibility(!0);Tl(this)}return this.c.streaming.alwaysStreamText||this.mc()?{variant:c,text:d}:{variant:c,text:null}}catch(v){return this.Ma(v),{variant:null,text:null}}};q.Fe=function(){this.kb=!1;this.c.abr.enabled&&(this.l.enable(),Gl(this));this.pa&&(Xi(this.f,this.pa,this.Ud,this.Rd),Pl(this),this.pa=null);this.oa&&(Wi(this.f,this.oa,!0,0,!1),Nl(this),this.oa=null)};\nq.Ef=function(){this.s&&this.s.update&&this.s.update()};q.Jf=function(){this.m&&this.m.s()};function rl(b){Vl(b,new I(\"adaptation\"))}function zl(b){Vl(b,new I(\"trackschanged\"))}function Pl(b){Vl(b,new I(\"variantchanged\"))}function Nl(b){Vl(b,new I(\"textchanged\"))}function Tl(b){Vl(b,new I(\"texttrackvisibility\"))}function Gl(b){Vl(b,new I(\"abrstatuschanged\",{Ig:b.c.abr.enabled}))}q.Ma=function(b){if(this.i!=$k){var c=new I(\"error\",{detail:b});this.dispatchEvent(c);c.defaultPrevented&&(b.handled=!0)}};\nfunction il(b,c,d){b.dispatchEvent(new I(c,{detail:{schemeIdUri:d.schemeIdUri,value:d.value,startTime:d.startTime,endTime:d.endTime,id:d.id,eventElement:d.eventElement}}))}function gl(b){if(!b.a.error)return null;var c=b.a.error.code;if(1==c)return null;var d=b.a.error.msExtendedCode;d&&(0>d&&(d+=Math.pow(2,32)),d=d.toString(16));return new D(2,3,3016,c,d,b.a.error.message)}\nfunction ll(b,c){if(b.f){var d=Al(b),e=!1,f=Object.keys(c),g=1==f.length&&\"00\"==f[0];f.length&&b.b.periods.forEach(function(b){b.variants.forEach(function(b){N.nf(b).forEach(function(d){var f=b.allowedByKeySystem;d.keyId&&(d=c[g?\"00\":d.keyId],b.allowedByKeySystem=!!d&&!bl.includes(d));f!=b.allowedByKeySystem&&(e=!0)})})});f=Oi(b.f);var h=Qi(b.f);(f=N.Qd(f,h,d.variants))&&!f.allowedByKeySystem&&Sl(b,d);e&&(zl(b),Bl(b,d.variants))}}\nfunction ml(b,c,d){if(b.s&&b.s.onExpirationUpdated)b.s.onExpirationUpdated(c,d);b.dispatchEvent(new I(\"expirationupdated\"))}function pl(b,c,d){0<c&&(b.V()||b.qe(c));d<b.Y()&&(b.V()||b.xa(d))}\nfunction Ul(b,c){var d=b.h?nc(b.h.W):{},e=Object.keys(d);e=e.length&&\"00\"==e[0];for(var f=!1,g=!1,h=[],k=[],l=r(c),m=l.next();!m.done;m=l.next()){m=m.value;var n=[];m.audio&&n.push(m.audio);m.video&&n.push(m.video);n=r(n);for(var p=n.next();!p.done;p=n.next())if(p=p.value,p.keyId){var v=d[e?\"00\":p.keyId];v?bl.includes(v)&&(k.includes(v)||k.push(v)):h.includes(p.keyId)||h.push(p.keyId)}m.allowedByApplication?m.allowedByKeySystem&&(f=!0):g=!0}if(!f)throw new D(2,4,4012,{hasAppRestrictions:g,missingKeys:h,\nrestrictedKeyStatuses:k});}function Vl(b,c){t(function e(){return z(e,function(e){switch(e.j){case 1:return u(e,Promise.resolve(),2);case 2:b.i!=$k&&b.dispatchEvent(c),w(e)}})})}function Rl(b){var c=new Set;b=r(b);for(var d=b.next();!d.done;d=b.next())d=d.value,d.language?c.add(M(d.language)):c.add(\"und\");return c}\nfunction Ql(b){var c=new Map;b=r(b);for(var d=b.next();!d.done;d=b.next()){var e=d.value;d=\"und\";var f=[];e.language&&(d=M(e.language));\"variant\"==e.type?f=e.audioRoles:f=e.roles;f&&f.length||(f=[\"\"]);c.has(d)||c.set(d,new Set);e=r(f);for(f=e.next();!f.done;f=e.next())f=f.value,c.get(d).add(f)}var g=[];c.forEach(function(b,c){for(var d=r(b),e=d.next();!e.done;e=d.next())g.push({language:c,role:e.value})});return g}\nfunction Il(b){b=Al(b);return null==b?[]:b.variants.filter(function(b){return N.rb(b)})}function Kl(b){var c=Al(b);return null==c?[]:c.textStreams.filter(function(c){return!b.ac.has(c)})}function Al(b){var c=b.m.h(),d=null;b=r(b.b.periods);for(var e=b.next();!e.done;e=b.next())e=e.value,e.startTime<=c&&(d=e);return d}function Hl(b){var c=Al(b);return Lh(b.$,c).variant}\nfunction Jl(b){var c=Al(b);if(null==c)return null;if(!Lh(b.$,c).text){var d=N.Jb(c.textStreams,b.na,b.fb);d.length&&Kh(b.$,c,d[0])}return Lh(b.$,c).text}function dl(){return new D(2,7,7E3)}function Zk(b,c,d,e,f,g){return e==b&&f.v==g.v&&f.uri==g.uri&&f.mimeType==g.mimeType&&f.Aa==g.Aa?c:d}function tk(){return{Aa:null,v:null,mimeType:null,startTime:null,zd:null,uri:null}}\nfunction el(b){return new Promise(function(c,d){b.Ya=function(){return d(dl())};b.pc=function(){return c()};b.onError=function(b){return d(b)};b.rc=function(){return d(dl())}})}var $k=0,Nk=1,xl=2,Cl=3;Y.LoadMode={DESTROYED:$k,NOT_LOADED:Nk,MEDIA_SOURCE:xl,SRC_EQUALS:Cl};function Wl(b,c,d){var e=void 0==c.expiration?Infinity:c.expiration,f=c.presentationTimeline.Y();c=Xl(c.periods[0]);return{offlineUri:null,originalManifestUri:b,duration:f,size:0,expiration:e,tracks:c,appMetadata:d}}function Yl(b,c){var d=ik(new gk(b.wa(),b.ba()),c.periods[0],new W(null,0)),e=c.appMetadata||{};d=Xl(d);return{offlineUri:b.toString(),originalManifestUri:c.originalManifestUri,duration:c.duration,size:c.size,expiration:c.expiration,tracks:d,appMetadata:e}}\nfunction Xl(b){var c=[],d=N.df(b.variants);d=r(d);for(var e=d.next();!e.done;e=d.next())c.push(N.Ed(e.value));b=r(b.textStreams);for(d=b.next();!d.done;d=b.next())c.push(N.xc(d.value));return c};function Zl(){this.a={}}function $l(b,c){var d=c.audio,e=c.video;d&&!e&&(b.a[d.id]=d.bandwidth||c.bandwidth);!d&&e&&(b.a[e.id]=e.bandwidth||c.bandwidth);if(d&&e){var f=d.bandwidth||393216,g=e.bandwidth||c.bandwidth-f;0>=g&&(g=c.bandwidth);b.a[d.id]=f;b.a[e.id]=g}}function am(b,c,d){d=d.endTime-d.startTime;return bm(b,c)*d}function bm(b,c){var d=b.a[c];null==d&&(d=0);return d};function cm(b){this.a=!1;this.b=new F;this.c=b}cm.prototype.destroy=function(){var b=this;if(this.a)return this.b;this.a=!0;return this.c().then(function(){b.b.resolve()},function(){b.b.resolve()})};function dm(b,c,d){b=r(b.periods);for(var e=b.next();!e.done;e=b.next())e=e.value,e.variants=e.variants.filter(function(b){return N.bd(b,c,d)})}function em(b){b=r(b.periods);for(var c=b.next();!c.done;c=b.next())c=c.value,c.variants=c.variants.filter(function(b){var c=!0;b.audio&&(c=c&&ee(b.audio));b.video&&(c=c&&ee(b.video));return c})}function fm(b,c){for(var d=r(b.periods),e=d.next();!e.done;e=d.next())e=e.value,e.variants=e.variants.filter(function(b){return md(c,b)})}\nfunction gm(b){var c=new hm;b.periods.forEach(function(b,d){var e=im(b.variants);if(0==d){e=r(e.a);for(var f=e.next();!f.done;f=e.next())c.add(f.value)}else jm(c,e)});b=r(b.periods);for(var d=b.next();!d.done;d=b.next())d=d.value,d.variants=d.variants.filter(function(b){return km(c,new lm(b))})}\nfunction mm(b,c){return t(function e(){var f,g,h,k;return z(e,function(e){switch(e.j){case 1:f=null,g=r(b.periods),h=g.next();case 2:if(h.done){e.A(0);break}k=h.value;f&&(k.variants=k.variants.filter(function(b){return km(f,new lm(b))}));return u(e,c(k),5);case 5:f=im(k.variants),h=g.next(),e.A(2)}})})}function lm(b){var c=b.audio;b=b.video;this.b=c?c.mimeType:null;this.a=c?c.codecs.split(\".\")[0]:null;this.f=b?b.mimeType:null;this.c=b?b.codecs.split(\".\")[0]:null}function hm(){this.a=[]}\nhm.prototype.add=function(b){km(this,b)||this.a.push(b)};function jm(b,c){b.a=b.a.filter(function(b){return km(c,b)})}function km(b,c){return b.a.some(function(b){return c.b==b.b&&c.a==b.a&&c.f==b.f&&c.c==b.c})}function im(b){var c=new hm;b=r(b);for(var d=b.next();!d.done;d=b.next())c.add(new lm(d.value));return c};function Z(b){var c=this;if(b&&b.constructor!=Y)throw new D(2,9,9008);this.b=this.a=null;b?(this.a=b.c,this.b=b.Mb()):(this.a=Ek(),this.b=new J);this.f=!1;this.c=[];this.g=[];var d=!b;this.h=new cm(function(){return t(function f(){var b;return z(f,function(f){switch(f.j){case 1:return b=function(){},u(f,Promise.all(c.g.map(function(c){return c.then(b,b)})),2);case 2:if(!d){f.A(3);break}return u(f,c.b.destroy(),3);case 3:c.a=null,c.b=null,w(f)}})})})}A(\"shaka.offline.Storage\",Z);\nfunction nm(){if(sc())a:{var b=r(Oj.values());for(var c=b.next();!c.done;c=b.next())if(c=c.value,c=c()){c.destroy();b=!0;break a}b=!1}else b=!1;return b}Z.support=nm;Z.prototype.destroy=function(){return this.h.destroy()};Z.prototype.destroy=Z.prototype.destroy;\nZ.prototype.configure=function(b,c){2==arguments.length&&\"string\"==typeof b&&(b=Ck(b,c));var d=b,e=!1;null!=d.trackSelectionCallback&&(e=!0,d.offline=d.offline||{},d.offline.trackSelectionCallback=d.trackSelectionCallback,delete d.trackSelectionCallback);null!=d.progressCallback&&(e=!0,d.offline=d.offline||{},d.offline.progressCallback=d.progressCallback,delete d.progressCallback);null!=d.usePersistentLicense&&(e=!0,d.offline=d.offline||{},d.offline.usePersistentLicense=d.usePersistentLicense,delete d.usePersistentLicense);\ne&&ze(\"Storage.configure with OfflineConfig\",\"Please configure storage with a player configuration.\");return Gk(this.a,b)};Z.prototype.configure=Z.prototype.configure;Z.prototype.getConfiguration=function(){var b=Ek();Gk(b,this.a,Ek());return b};Z.prototype.getConfiguration=Z.prototype.getConfiguration;Z.prototype.Mb=function(){return this.b};Z.prototype.getNetworkingEngine=Z.prototype.Mb;\nZ.prototype.store=function(b,c,d){var e=this;return om(this,pm(this,b,c||{},function(){return t(function g(){var c,k;return z(g,function(g){switch(g.j){case 1:return d&&\"string\"!=typeof d?(ze(\"Storing with a manifest parser factory\",\"Please register a manifest parser and for the mime-type.\"),c=d,g[\"return\"](new c)):u(g,V.create(b,e.b,e.a.manifest.retryParameters,d),2);case 2:return k=g.o,g[\"return\"](k)}})})}))};Z.prototype.store=Z.prototype.store;Z.prototype.kf=function(){return this.f};\nZ.prototype.getStoreInProgress=Z.prototype.kf;\nfunction pm(b,c,d,e){return t(function g(){var h,k,l,m,n,p,v,x,B,y;return z(g,function(g){switch(g.j){case 1:qm();if(b.f)return g[\"return\"](Promise.reject(new D(2,9,9006)));b.f=!0;return u(g,rm(b,c,e),2);case 2:h=g.o;sm(b);k=!h.presentationTimeline.V()&&!h.presentationTimeline.Xa();if(!k)throw new D(2,9,9005,c);l=null;m=new Nj;p=n=null;za(g,3,4);return u(g,tm(b,h,function(b){p=p||b}),6);case 6:l=g.o;sm(b);if(p)throw p;return u(g,um(b,h,l),7);case 7:return u(g,m.init(),8);case 8:return sm(b),u(g,Pj(m),\n9);case 9:return n=g.o,sm(b),u(g,vm(b,n.ba,l,h,c,d),10);case 10:v=g.o;sm(b);if(p)throw p;return u(g,n.ba.addManifests([v]),11);case 11:return x=g.o,sm(b),B=new ek(\"manifest\",n.path.wa,n.path.ba,x[0]),g[\"return\"](Yl(B,v));case 4:return Fa(g),b.f=!1,b.c=[],u(g,m.destroy(),12);case 12:if(!l){g.A(13);break}return u(g,l.destroy(),13);case 13:Ga(g,0);break;case 3:y=Ca(g);if(!n){g.A(15);break}return u(g,n.ba.removeSegments(b.c,function(){}),15);case 15:throw p||y;}})})}\nfunction um(b,c,d){return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return g={width:Infinity,height:Infinity},dm(c,b.a.restrictions,g),em(c),fm(c,d),gm(c),u(f,mm(c,function(c){return t(function m(){var d,f,g,h,k,y,G,E;return z(m,function(m){switch(m.j){case 1:d=N;f=[];for(var n=r(c.variants),p=n.next();!p.done;p=n.next())g=p.value,f.push(d.Ed(g));n=r(c.textStreams);for(p=n.next();!p.done;p=n.next())h=p.value,f.push(d.xc(h));return u(m,b.a.offline.trackSelectionCallback(f),2);\ncase 2:k=m.o;y=new Set;G=new Set;n=r(k);for(p=n.next();!p.done;p=n.next())E=p.value,\"variant\"==E.type&&y.add(E.id),\"text\"==E.type&&G.add(E.id);c.variants=c.variants.filter(function(b){return y.has(b.id)});c.textStreams=c.textStreams.filter(function(b){return G.has(b.id)});w(m)}})})}),2);case 2:wm(c),w(f)}})})}\nfunction vm(b,c,d,e,f,g){return t(function k(){var l,m,n,p,v,x,B,y,G,E;return z(k,function(k){switch(k.j){case 1:return l=Wl(f,e,g),m=e.periods.some(function(b){return b.variants.some(function(b){return b.drmInfos&&b.drmInfos.length})}),n=e.periods.some(function(b){return b.variants.some(function(b){return b.drmInfos.some(function(b){return b.initData&&b.initData.length})})}),p=m&&!n,v=null,p&&(x=d.a,v=xm.get(x.keySystem)),B=new zj(b.b,function(c,d){l.size=d;b.a.offline.progressCallback(l,c)},function(c,\ne){p&&b.a.offline.usePersistentLicense&&v==e&&Xc(d,\"cenc\",c)}),Aa(k,2),G=y=ym(b,B,c,d,e,f,g),u(k,Cj(B),4);case 4:G.size=k.o;y.expiration=d.Lb();E=cd(d);y.sessionIds=b.a.offline.usePersistentLicense?E:[];if(m&&b.a.offline.usePersistentLicense&&!E.length)throw new D(2,9,9007);return k[\"return\"](y);case 2:return Fa(k),u(k,B.destroy(),5);case 5:Ga(k,0)}})})}Z.prototype.remove=function(b){return om(this,zm(this,b))};Z.prototype.remove=Z.prototype.remove;\nfunction zm(b,c){return t(function e(){var f,g,h,k,l,m;return z(e,function(e){switch(e.j){case 1:qm();f=fk(c);if(null==f||\"manifest\"!=f.a)return e[\"return\"](Promise.reject(new D(2,9,9004,c)));g=f;h=new Nj;Aa(e,2);return u(e,h.init(),4);case 4:return u(e,Rj(h,g.wa(),g.ba()),5);case 5:return k=e.o,u(e,k.getManifests([g.key()]),6);case 6:return l=e.o,m=l[0],u(e,Promise.all([Am(b,m,h),Bm(b,k,g,m)]),2);case 2:return Fa(e),u(e,h.destroy(),8);case 8:Ga(e,0)}})})}\nfunction Cm(b,c){for(var d=[],e=r(b.periods),f=e.next();!f.done;f=e.next()){f=r(f.value.streams);for(var g=f.next();!g.done;g=f.next())g=g.value,c&&\"video\"==g.contentType?d.push({contentType:oc(g.mimeType,g.codecs),robustness:b.drmInfo.videoRobustness}):c||\"audio\"!=g.contentType||d.push({contentType:oc(g.mimeType,g.codecs),robustness:b.drmInfo.audioRobustness})}return d}function Am(b,c,d){return t(function f(){return z(f,function(f){switch(f.j){case 1:return u(f,Dm(b.b,b.a.drm,d,c),0)}})})}\nfunction Bm(b,c,d,e){function f(){k+=1;b.a.offline.progressCallback(l,k/h)}var g=Em(e),h=g.length+1,k=0,l=Yl(d,e);return Promise.all([c.removeSegments(g,f),c.removeManifests([d.key()],f)])}Z.prototype.Xf=function(){return om(this,Fm(this))};Z.prototype.removeEmeSessions=Z.prototype.Xf;\nfunction Fm(b){return t(function d(){var e,f,g,h,k,l,m,n,p;return z(d,function(d){switch(d.j){case 1:return qm(),e=b.b,f=b.a.drm,g=new Nj,h=!1,Aa(d,2),u(d,g.init(),4);case 4:k=[];Sj(g,function(b){return k.push(b)});l=Promise.resolve();m={};n=r(k);for(p=n.next();!p.done;m={wc:m.wc},p=n.next())m.wc=p.value,l=l.then(function(b){return function(){return t(function y(){var d,g;return z(y,function(k){switch(k.j){case 1:return u(k,b.wc.getAll(),2);case 2:return d=k.o,u(k,pk(f,e,d),3);case 3:return g=k.o,\nu(k,b.wc.remove(g),4);case 4:g.length!=d.length&&(h=!0),w(k)}})})}}(m));return u(d,l,2);case 2:return Fa(d),u(d,g.destroy(),6);case 6:Ga(d,3);break;case 3:return d[\"return\"](!h)}})})}Z.prototype.list=function(){return om(this,Gm())};Z.prototype.list=Z.prototype.list;\nfunction Gm(){return t(function c(){var d,e,f;return z(c,function(c){switch(c.j){case 1:return qm(),d=[],e=new Nj,Aa(c,2),u(c,e.init(),4);case 4:return f=Promise.resolve(),Qj(e,function(c,e){f=f.then(function(){return t(function m(){var f;return z(m,function(g){switch(g.j){case 1:return u(g,e.getAllManifests(),2);case 2:f=g.o,f.forEach(function(e,f){var g=Yl(new ek(\"manifest\",c.wa,c.ba,f),e);d.push(g)}),w(g)}})})})}),u(c,f,2);case 2:return Fa(c),u(c,e.destroy(),6);case 6:Ga(c,3);break;case 3:return c[\"return\"](d)}})})}\nfunction rm(b,c,d){return t(function f(){var g,h,k,l,m,n;return z(f,function(f){switch(f.j){case 1:return g=null,h=b.b,k={networkingEngine:h,filterAllPeriods:function(){},filterNewPeriod:function(){},onTimelineRegionAdded:function(){},onEvent:function(){},onError:function(b){g=b}},u(f,d(),2);case 2:return l=f.o,l.configure(b.a.manifest),sm(b),Aa(f,3),u(f,l.start(c,k),5);case 5:return m=f.o,sm(b),n=Hm(m),u(f,Promise.all(kc(n,function(b){return b.createSegmentIndex()})),6);case 6:sm(b);if(g)throw g;\nreturn f[\"return\"](m);case 3:return Fa(f),u(f,l.stop(),7);case 7:Ga(f,0)}})})}function tm(b,c,d){return t(function f(){var g,h,k;return z(f,function(f){switch(f.j){case 1:return g=new Gc({ub:b.b,onError:d,qc:function(){},onExpirationUpdated:function(){},onEvent:function(){}}),h=ji(c.periods),k=b.a,g.configure(k.drm),u(f,Lc(g,h,k.offline.usePersistentLicense),2);case 2:return u(f,Vc(g),3);case 3:return u(f,Wc(g),4);case 4:return f[\"return\"](g)}})})}\nfunction ym(b,c,d,e,f,g,h){var k=new Zl,l=f.periods.map(function(e){return Im(b,c,d,k,f,e)}),m=e.a,n=b.a.offline.usePersistentLicense;m&&n&&(m.initData=[]);return{originalManifestUri:g,duration:f.presentationTimeline.Y(),size:0,expiration:e.Lb(),periods:l,sessionIds:n?cd(e):[],drmInfo:m,appMetadata:h}}\nfunction Im(b,c,d,e,f,g){for(var h=r(g.variants),k=h.next();!k.done;k=h.next())$l(e,k.value);h=r(g.textStreams);for(k=h.next();!k.done;k=h.next())e.a[k.value.id]=52;h=Jm(g);var l=new Map;h=r(h);for(k=h.next();!k.done;k=h.next()){k=k.value;var m=Km(b,c,d,e,f,k);l.set(k.id,m)}g.variants.forEach(function(b){b.audio&&l.get(b.audio.id).variantIds.push(b.id);b.video&&l.get(b.video.id).variantIds.push(b.id)});return{startTime:g.startTime,streams:Array.from(l.values())}}\nfunction Km(b,c,d,e,f,g){var h={id:g.id,originalId:g.originalId,primary:g.primary,presentationTimeOffset:g.presentationTimeOffset||0,contentType:g.type,mimeType:g.mimeType,codecs:g.codecs,frameRate:g.frameRate,pixelAspectRatio:g.pixelAspectRatio,kind:g.kind,language:g.language,label:g.label,width:g.width||null,height:g.height||null,initSegmentKey:null,encrypted:g.encrypted,keyId:g.keyId,segments:[],variantIds:[]};f=f.presentationTimeline.Ob();var k=g.id,l=g.initSegmentReference;l&&(l=rg(l.c(),l.b,\nl.a,b.a.streaming.retryParameters),Aj(c,k,l,.5*bm(e,g.id),!0,function(c){return t(function p(){var e;return z(p,function(f){switch(f.j){case 1:return u(f,d.addSegments([{data:c}]),2);case 2:e=f.o,b.c.push(e[0]),h.initSegmentKey=e[0],w(f)}})})}));Lm(g,f,function(f){var l=rg(f.c(),f.b,f.a,b.a.streaming.retryParameters);Aj(c,k,l,am(e,g.id,f),!1,function(c){return t(function x(){var e;return z(x,function(g){switch(g.j){case 1:return u(g,d.addSegments([{data:c}]),2);case 2:e=g.o,b.c.push(e[0]),h.segments.push({startTime:f.startTime,\nendTime:f.endTime,dataKey:e[0]}),w(g)}})})})});return h}function Lm(b,c,d){c=b.findSegmentPosition(c);for(var e=null==c?null:b.getSegmentReference(c);e;)d(e),e=b.getSegmentReference(++c)}function sm(b){if(b.h.a)throw new D(2,9,7001);}function qm(){if(!nm())throw new D(2,9,9E3);}function om(b,c){return t(function e(){return z(e,function(e){switch(e.j){case 1:return b.g.push(c),Aa(e,2),u(e,c,4);case 4:return e[\"return\"](e.o);case 2:Fa(e),Pb(b.g,c),Ga(e,0)}})})}\nfunction Em(b){var c=[];b.periods.forEach(function(b){b.streams.forEach(function(b){null!=b.initSegmentKey&&c.push(b.initSegmentKey);b.segments.forEach(function(b){c.push(b.dataKey)})})});return c}Z.deleteAll=function(){return t(function c(){var d;return z(c,function(c){switch(c.j){case 1:return d=new Nj,Aa(c,2),u(c,d.erase(),2);case 2:return Fa(c),u(c,d.destroy(),5);case 5:Ga(c,0)}})})};\nfunction Dm(b,c,d,e){return t(function g(){var h,k,l;return z(g,function(g){switch(g.j){case 1:if(!e.drmInfo)return g[\"return\"]();h=Tj(d);k=e.sessionIds.map(function(b){return{sessionId:b,keySystem:e.drmInfo.keySystem,licenseUri:e.drmInfo.licenseServerUri,serverCertificate:e.drmInfo.serverCertificate,audioCapabilities:Cm(e,!1),videoCapabilities:Cm(e,!0)}});return u(g,pk(c,b,k),2);case 2:return l=g.o,u(g,h.remove(l),3);case 3:return u(g,h.add(k.filter(function(b){return-1==l.indexOf(b.sessionId)})),\n0)}})})}function Hm(b){var c=new Set;b=r(b.periods);for(var d=b.next();!d.done;d=b.next()){d=d.value;for(var e=r(d.textStreams),f=e.next();!f.done;f=e.next())c.add(f.value);d=r(d.variants);for(e=d.next();!e.done;e=d.next())e=e.value,e.audio&&c.add(e.audio),e.video&&c.add(e.video)}return c}\nfunction Jm(b){for(var c=new Set,d=r(b.textStreams),e=d.next();!e.done;e=d.next())c.add(e.value);b=r(b.variants);for(d=b.next();!d.done;d=b.next())d=d.value,d.audio&&c.add(d.audio),d.video&&c.add(d.video);return c}function wm(b){if(0==b.periods.length)throw new D(2,4,4014);b=r(b.periods);for(var c=b.next();!c.done;c=b.next())Mm(c.value)}\nfunction Mm(b){b.variants.map(function(b){return b.video});var c=new Set(b.variants.map(function(b){return b.audio}));b=b.textStreams;for(var d=r(c),e=d.next();!e.done;e=d.next()){e=r(c);for(var f=e.next();!f.done;f=e.next());}c=r(b);for(d=c.next();!d.done;d=c.next())for(d=r(b),e=d.next();!e.done;e=d.next());}\nvar xm=(new Map).set(\"org.w3.clearkey\",\"1077efecc0b24d02ace33c1e52e2fb4b\").set(\"com.widevine.alpha\",\"edef8ba979d64acea3c827dcd51d21ed\").set(\"com.microsoft.playready\",\"9a04f07998404286ab92e65be0885f95\").set(\"com.adobe.primetime\",\"f239e769efa348509c16a903c6932efb\");cl.offline=nm;A(\"shaka.polyfill.installAll\",function(){for(var b=0;b<Nm.length;++b)try{Nm[b].De()}catch(c){cb(\"Error installing polyfill!\",c)}});var Nm=[];function Om(b,c){c=c||0;for(var d={priority:c,De:b},e=0;e<Nm.length;e++)if(Nm[e].priority<c){Nm.splice(e,0,d);return}Nm.push(d)}A(\"shaka.polyfill.register\",Om);Om(function(){Pm()},-1);function Qm(b){var c=b.type.replace(/^(webkit|moz|MS)/,\"\").toLowerCase();if(\"function\"===typeof Event)var d=new Event(c,b);else d=document.createEvent(\"Event\"),d.initEvent(c,b.bubbles,b.cancelable);b.target.dispatchEvent(d)}\nOm(function(){if(window.Document){var b=Element.prototype;b.requestFullscreen=b.requestFullscreen||b.mozRequestFullScreen||b.msRequestFullscreen||b.webkitRequestFullscreen;b=Document.prototype;b.exitFullscreen=b.exitFullscreen||b.mozCancelFullScreen||b.msExitFullscreen||b.webkitExitFullscreen;\"fullscreenElement\"in document||(Object.defineProperty(document,\"fullscreenElement\",{get:function(){return document.mozFullScreenElement||document.msFullscreenElement||document.webkitFullscreenElement}}),Object.defineProperty(document,\n\"fullscreenEnabled\",{get:function(){return document.mozFullScreenEnabled||document.msFullscreenEnabled||document.webkitFullscreenEnabled}}));document.addEventListener(\"webkitfullscreenchange\",Qm);document.addEventListener(\"webkitfullscreenerror\",Qm);document.addEventListener(\"mozfullscreenchange\",Qm);document.addEventListener(\"mozfullscreenerror\",Qm);document.addEventListener(\"MSFullscreenChange\",Qm);document.addEventListener(\"MSFullscreenError\",Qm)}});Om(function(){var b=!1;if(wc(\"CrKey\"))b=!0;else try{window.indexedDB&&(b=!1)}catch(c){b=!0}b&&delete window.indexedDB});function Rm(b,c,d){if(\"input\"==b)switch(this.type){case \"range\":b=\"change\"}HTMLInputElement.prototype.originalAddEventListener.call(this,b,c,d)}Om(function(){wc(\"Trident/\")&&!HTMLInputElement.prototype.originalAddEventListener&&(HTMLInputElement.prototype.originalAddEventListener=HTMLInputElement.prototype.addEventListener,HTMLInputElement.prototype.addEventListener=Rm)});Om(function(){navigator.languages||Object.defineProperty(navigator,\"languages\",{get:function(){return navigator.language?[navigator.language]:[\"en\"]}})});Om(function(){});function Sm(){var b=MediaSource.prototype.addSourceBuffer;MediaSource.prototype.addSourceBuffer=function(c){for(var d=[],e=0;e<arguments.length;++e)d[e]=arguments[e];d=b.apply(this,d);d.abort=function(){};return d}}function Tm(){var b=SourceBuffer.prototype.remove;SourceBuffer.prototype.remove=function(c,d){return b.call(this,c,d-.001)}}function Um(){var b=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(c){return\"mp2t\"==c.split(/ *; */)[0].split(\"/\")[1].toLowerCase()?!1:b(c)}}\nfunction Vm(){var b=MediaSource.isTypeSupported;MediaSource.isTypeSupported=function(c){return\"opus\"!=rc(c)[0]&&b(c)}}\nfunction Wm(){var b=MediaSource.isTypeSupported,c=/^dv(?:h[e1]|a[v1])\\./;MediaSource.isTypeSupported=function(d){for(var e=d.split(/ *; */),f=e[0],g={},h=1;h<e.length;++h){var k=e[h].split(\"=\"),l=k[0];k=k[1].replace(/\"(.*)\"/,\"$1\");g[l]=k}e=g.codecs;if(!e)return b(d);var m=!1,n=!1;d=e.split(\",\").filter(function(b){c.test(b)&&(n=!0);/^(hev|hvc)1\\.2/.test(b)&&(m=!0);return!0});n&&(m=!1);g.codecs=d.join(\",\");m&&(g.eotf=\"smpte2084\");for(var p in g)f+=\"; \"+p+'=\"'+g[p]+'\"';return cast.__platform__.canDisplayType(f)}}\nOm(function(){var b=xc();window.MediaSource&&(window.cast&&cast.__platform__&&cast.__platform__.canDisplayType?Wm():b?(Um(),12>=b?(Sm(),Tm()):Sm()):wc(\"Tizen\")&&Vm())});function Xm(b,c){try{var d=new Ym(b,c);return Promise.resolve(d)}catch(e){return Promise.reject(e)}}\nfunction Ym(b,c){this.keySystem=b;if(b.startsWith(\"com.apple.fps\"))for(var d=r(c),e=d.next();!e.done;e=d.next()){var f=e.value;if(\"required\"==f.persistentState)e=null;else{e={audioCapabilities:[],videoCapabilities:[],persistentState:\"optional\",distinctiveIdentifier:\"optional\",initDataTypes:f.initDataTypes,sessionTypes:[\"temporary\"],label:f.label};var g=!1,h=!1;if(f.audioCapabilities)for(var k=r(f.audioCapabilities),l=k.next();!l.done;l=k.next())if(l=l.value,l.contentType){g=!0;var m=l.contentType.split(\";\")[0];\nWebKitMediaKeys.isTypeSupported(this.keySystem,m)&&(e.audioCapabilities.push(l),h=!0)}if(f.videoCapabilities)for(f=r(f.videoCapabilities),l=f.next();!l.done;l=f.next())k=l.value,k.contentType&&(g=!0,l=k.contentType.split(\";\")[0],WebKitMediaKeys.isTypeSupported(this.keySystem,l)&&(e.videoCapabilities.push(k),h=!0));g||(h=WebKitMediaKeys.isTypeSupported(this.keySystem,\"video/mp4\"));e=h?e:null}if(e){this.a=e;return}}d=Error(\"Unsupported keySystem\");d.name=\"NotSupportedError\";d.code=DOMException.NOT_SUPPORTED_ERR;\nthrow d;}Ym.prototype.createMediaKeys=function(){var b=new Zm(this.keySystem);return Promise.resolve(b)};Ym.prototype.getConfiguration=function(){return this.a};function $m(b){var c=this.mediaKeys;c&&c!=b&&an(c,null);delete this.mediaKeys;return(this.mediaKeys=b)?an(b,this):Promise.resolve()}function Zm(b){this.b=new WebKitMediaKeys(b);this.a=new K}\nZm.prototype.createSession=function(b){b=b||\"temporary\";if(\"temporary\"!=b)throw new TypeError(\"Session type \"+b+\" is unsupported on this platform.\");return new bn(this.b,b)};Zm.prototype.setServerCertificate=function(b){b&&new Uint8Array(b);return Promise.resolve(!0)};\nfunction an(b,c){b.a.$a();if(!c)return Promise.resolve();b.a.w(c,\"webkitneedkey\",cn);try{return 1<=c.readyState?c.webkitSetMediaKeys(b.b):b.a.da(c,\"loadedmetadata\",function(){c.webkitSetMediaKeys(b.b)}),Promise.resolve()}catch(d){return Promise.reject(d)}}function bn(b){Mb.call(this);this.b=null;this.g=b;this.c=this.a=null;this.f=new K;this.sessionId=\"\";this.expiration=NaN;this.closed=new F;this.keyStatuses=new dn}Xa(bn,Mb);q=bn.prototype;\nq.generateRequest=function(b,c){this.a=new F;try{this.b=this.g.createSession(\"video/mp4\",new Uint8Array(c)),this.sessionId=this.b.sessionId||\"\",this.f.w(this.b,\"webkitkeymessage\",this.og.bind(this)),this.f.w(this.b,\"webkitkeyadded\",this.mg.bind(this)),this.f.w(this.b,\"webkitkeyerror\",this.ng.bind(this)),en(this,\"status-pending\")}catch(d){this.a.reject(d)}return this.a};q.load=function(){return Promise.reject(Error(\"MediaKeySession.load not yet supported\"))};q.update=function(b){this.c=new F;try{this.b.update(new Uint8Array(b))}catch(c){this.c.reject(c)}return this.c};\nq.close=function(){try{this.b.close(),this.closed.resolve(),this.f.$a()}catch(b){this.closed.reject(b)}return this.closed};q.remove=function(){return Promise.reject(Error(\"MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform\"))};function cn(b){var c=new Event(\"encrypted\");c.initDataType=\"cenc\";c.initData=b.initData;this.dispatchEvent(c)}\nq.og=function(b){this.a&&(this.a.resolve(),this.a=null);this.dispatchEvent(new I(\"message\",{messageType:void 0==this.keyStatuses.a?\"license-request\":\"license-renewal\",message:b.message.buffer}))};q.mg=function(){this.c&&(en(this,\"usable\"),this.c.resolve(),this.c=null)};\nq.ng=function(){var b=Error(\"EME PatchedMediaKeysApple key error\");b.errorCode=this.b.error;if(null!=this.a)this.a.reject(b),this.a=null;else if(null!=this.c)this.c.reject(b),this.c=null;else switch(this.b.error.code){case WebKitMediaKeyError.MEDIA_KEYERR_OUTPUT:case WebKitMediaKeyError.MEDIA_KEYERR_HARDWARECHANGE:en(this,\"output-not-allowed\");break;default:en(this,\"internal-error\")}};function en(b,c){var d=b.keyStatuses;d.size=void 0==c?0:1;d.a=c;b.dispatchEvent(new I(\"keystatuseschange\"))}\nfunction dn(){this.size=0;this.a=void 0}var fn;q=dn.prototype;q.forEach=function(b){this.a&&b(this.a,fn)};q.get=function(b){if(this.has(b))return this.a};q.has=function(b){var c=fn;return this.a&&L.za(new Uint8Array(b),new Uint8Array(c))?!0:!1};q.entries=function(){};q.keys=function(){};q.values=function(){};\nOm(function(){window.HTMLVideoElement&&window.WebKitMediaKeys&&(fn=(new Uint8Array([0])).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=$m,window.MediaKeys=Zm,window.MediaKeySystemAccess=Ym,navigator.requestMediaKeySystemAccess=Xm)});function gn(b,c){try{var d=new hn(b,c);return Promise.resolve(d)}catch(e){return Promise.reject(e)}}\nfunction hn(b,c){this.keySystem=b;for(var d=!1,e=0;e<c.length;++e){var f=c[e],g={audioCapabilities:[],videoCapabilities:[],persistentState:\"optional\",distinctiveIdentifier:\"optional\",initDataTypes:f.initDataTypes,sessionTypes:[\"temporary\"],label:f.label},h=!1;if(f.audioCapabilities)for(var k=0;k<f.audioCapabilities.length;++k){var l=f.audioCapabilities[k];if(l.contentType){h=!0;var m=l.contentType.split(\";\")[0];MSMediaKeys.isTypeSupported(this.keySystem,m)&&(g.audioCapabilities.push(l),d=!0)}}if(f.videoCapabilities)for(k=\n0;k<f.videoCapabilities.length;++k)l=f.videoCapabilities[k],l.contentType&&(h=!0,m=l.contentType.split(\";\")[0],MSMediaKeys.isTypeSupported(this.keySystem,m)&&(g.videoCapabilities.push(l),d=!0));h||(d=MSMediaKeys.isTypeSupported(this.keySystem,\"video/mp4\"));\"required\"==f.persistentState&&(d=!1);if(d){this.a=g;return}}d=Error(\"Unsupported keySystem\");d.name=\"NotSupportedError\";d.code=DOMException.NOT_SUPPORTED_ERR;throw d;}hn.prototype.createMediaKeys=function(){var b=new jn(this.keySystem);return Promise.resolve(b)};\nhn.prototype.getConfiguration=function(){return this.a};function kn(b){var c=this.mediaKeys;c&&c!=b&&ln(c,null);delete this.mediaKeys;return(this.mediaKeys=b)?ln(b,this):Promise.resolve()}function jn(b){this.a=new MSMediaKeys(b);this.b=new K}jn.prototype.createSession=function(b){b=b||\"temporary\";if(\"temporary\"!=b)throw new TypeError(\"Session type \"+b+\" is unsupported on this platform.\");return new mn(this.a,b)};jn.prototype.setServerCertificate=function(){return Promise.resolve(!1)};\nfunction ln(b,c){function d(){c.msSetMediaKeys(e.a);c.removeEventListener(\"loadedmetadata\",d)}b.b.$a();if(!c)return Promise.resolve();b.b.w(c,\"msneedkey\",nn);var e=b;try{return 1<=c.readyState?c.msSetMediaKeys(b.a):c.addEventListener(\"loadedmetadata\",d),Promise.resolve()}catch(f){return Promise.reject(f)}}function mn(b){Mb.call(this);this.c=null;this.g=b;this.b=this.a=null;this.f=new K;this.sessionId=\"\";this.expiration=NaN;this.closed=new F;this.keyStatuses=new on}Xa(mn,Mb);q=mn.prototype;\nq.generateRequest=function(b,c){this.a=new F;try{this.c=this.g.createSession(\"video/mp4\",new Uint8Array(c),null),this.f.w(this.c,\"mskeymessage\",this.If.bind(this)),this.f.w(this.c,\"mskeyadded\",this.Gf.bind(this)),this.f.w(this.c,\"mskeyerror\",this.Hf.bind(this)),pn(this,\"status-pending\")}catch(d){this.a.reject(d)}return this.a};q.load=function(){return Promise.reject(Error(\"MediaKeySession.load not yet supported\"))};q.update=function(b){this.b=new F;try{this.c.update(new Uint8Array(b))}catch(c){this.b.reject(c)}return this.b};\nq.close=function(){try{this.c.close(),this.closed.resolve(),this.f.$a()}catch(b){this.closed.reject(b)}return this.closed};q.remove=function(){return Promise.reject(Error(\"MediaKeySession.remove is only applicable for persistent licenses, which are not supported on this platform\"))};function nn(b){if(b.initData){var c=document.createEvent(\"CustomEvent\");c.initCustomEvent(\"encrypted\",!1,!1,null);c.initDataType=\"cenc\";c.initData=Cf(b.initData);this.dispatchEvent(c)}}\nq.If=function(b){this.a&&(this.a.resolve(),this.a=null);this.dispatchEvent(new I(\"message\",{messageType:void 0==this.keyStatuses.a?\"license-request\":\"license-renewal\",message:b.message.buffer}))};q.Gf=function(){this.a?(pn(this,\"usable\"),this.a.resolve(),this.a=null):this.b&&(pn(this,\"usable\"),this.b.resolve(),this.b=null)};\nq.Hf=function(){var b=Error(\"EME PatchedMediaKeysMs key error\");b.errorCode=this.c.error;if(null!=this.a)this.a.reject(b),this.a=null;else if(null!=this.b)this.b.reject(b),this.b=null;else switch(this.c.error.code){case MSMediaKeyError.MS_MEDIA_KEYERR_OUTPUT:case MSMediaKeyError.MS_MEDIA_KEYERR_HARDWARECHANGE:pn(this,\"output-not-allowed\");break;default:pn(this,\"internal-error\")}};function pn(b,c){var d=b.keyStatuses;d.size=void 0==c?0:1;d.a=c;b.dispatchEvent(new I(\"keystatuseschange\"))}\nfunction on(){this.size=0;this.a=void 0}var qn;q=on.prototype;q.forEach=function(b){this.a&&b(this.a,qn)};q.get=function(b){if(this.has(b))return this.a};q.has=function(b){var c=qn;return this.a&&L.za(new Uint8Array(b),new Uint8Array(c))?!0:!1};q.entries=function(){};q.keys=function(){};q.values=function(){};\nOm(function(){!window.HTMLVideoElement||!window.MSMediaKeys||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(qn=(new Uint8Array([0])).buffer,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=kn,window.MediaKeys=jn,window.MediaKeySystemAccess=hn,navigator.requestMediaKeySystemAccess=gn)});function rn(){return Promise.reject(Error(\"The key system specified is not supported.\"))}function sn(b){return null==b?Promise.resolve():Promise.reject(Error(\"MediaKeys not supported.\"))}function tn(){throw new TypeError(\"Illegal constructor.\");}tn.prototype.createSession=function(){};tn.prototype.setServerCertificate=function(){};function un(){throw new TypeError(\"Illegal constructor.\");}un.prototype.getConfiguration=function(){};un.prototype.createMediaKeys=function(){};\nOm(function(){!window.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration||(navigator.requestMediaKeySystemAccess=rn,delete HTMLMediaElement.prototype.mediaKeys,HTMLMediaElement.prototype.mediaKeys=null,HTMLMediaElement.prototype.setMediaKeys=sn,window.MediaKeys=tn,window.MediaKeySystemAccess=un)},-10);var vn=\"\";function wn(b){var c=vn;return c?c+b.charAt(0).toUpperCase()+b.slice(1):b}function xn(b,c){try{var d=new yn(b,c);return Promise.resolve(d)}catch(e){return Promise.reject(e)}}function zn(b){var c=this.mediaKeys;c&&c!=b&&An(c,null);delete this.mediaKeys;(this.mediaKeys=b)&&An(b,this);return Promise.resolve()}\nfunction yn(b,c){this.a=this.keySystem=b;var d=!1;\"org.w3.clearkey\"==b&&(this.a=\"webkit-org.w3.clearkey\",d=!1);var e=!1;var f=document.getElementsByTagName(\"video\");f=f.length?f[0]:document.createElement(\"video\");for(var g=0;g<c.length;++g){var h=c[g],k={audioCapabilities:[],videoCapabilities:[],persistentState:\"optional\",distinctiveIdentifier:\"optional\",initDataTypes:h.initDataTypes,sessionTypes:[\"temporary\"],label:h.label},l=!1;if(h.audioCapabilities)for(var m=0;m<h.audioCapabilities.length;++m){var n=\nh.audioCapabilities[m];if(n.contentType){l=!0;var p=n.contentType.split(\";\")[0];f.canPlayType(p,this.a)&&(k.audioCapabilities.push(n),e=!0)}}if(h.videoCapabilities)for(m=0;m<h.videoCapabilities.length;++m)n=h.videoCapabilities[m],n.contentType&&(l=!0,f.canPlayType(n.contentType,this.a)&&(k.videoCapabilities.push(n),e=!0));l||(e=f.canPlayType(\"video/mp4\",this.a)||f.canPlayType(\"video/webm\",this.a));\"required\"==h.persistentState&&(d?(k.persistentState=\"required\",k.sessionTypes=[\"persistent-license\"]):\ne=!1);if(e){this.b=k;return}}d=\"Unsupported keySystem\";if(\"org.w3.clearkey\"==b||\"com.widevine.alpha\"==b)d=\"None of the requested configurations were supported.\";d=Error(d);d.name=\"NotSupportedError\";d.code=DOMException.NOT_SUPPORTED_ERR;throw d;}yn.prototype.createMediaKeys=function(){var b=new Bn(this.a);return Promise.resolve(b)};yn.prototype.getConfiguration=function(){return this.b};function Bn(b){this.g=b;this.b=null;this.a=new K;this.c=[];this.f={}}\nfunction An(b,c){b.b=c;b.a.$a();var d=vn;c&&(b.a.w(c,d+\"needkey\",b.Mf.bind(b)),b.a.w(c,d+\"keymessage\",b.rg.bind(b)),b.a.w(c,d+\"keyadded\",b.pg.bind(b)),b.a.w(c,d+\"keyerror\",b.qg.bind(b)))}q=Bn.prototype;q.createSession=function(b){b=b||\"temporary\";if(\"temporary\"!=b&&\"persistent-license\"!=b)throw new TypeError(\"Session type \"+b+\" is unsupported on this platform.\");var c=this.b||document.createElement(\"video\");c.src||(c.src=\"about:blank\");b=new Cn(c,this.g,b);this.c.push(b);return b};\nq.setServerCertificate=function(){return Promise.resolve(!1)};q.Mf=function(b){var c=document.createEvent(\"CustomEvent\");c.initCustomEvent(\"encrypted\",!1,!1,null);c.initDataType=\"webm\";c.initData=b.initData;this.b.dispatchEvent(c)};q.rg=function(b){var c=Dn(this,b.sessionId);c&&(b=new I(\"message\",{messageType:void 0==c.keyStatuses.a?\"licenserequest\":\"licenserenewal\",message:b.message}),c.b&&(c.b.resolve(),c.b=null),c.dispatchEvent(b))};\nq.pg=function(b){if(b=Dn(this,b.sessionId))En(b,\"usable\"),b.a&&b.a.resolve(),b.a=null};q.qg=function(b){var c=Dn(this,b.sessionId);c&&c.handleError(b)};function Dn(b,c){var d=b.f[c];return d?d:(d=b.c.shift())?(d.sessionId=c,b.f[c]=d):null}function Cn(b,c,d){Mb.call(this);this.f=b;this.h=!1;this.a=this.b=null;this.c=c;this.g=d;this.sessionId=\"\";this.expiration=NaN;this.closed=new F;this.keyStatuses=new Fn}Xa(Cn,Mb);q=Cn.prototype;\nq.handleError=function(b){var c=Error(\"EME v0.1b key error\");c.errorCode=b.errorCode;c.errorCode.systemCode=b.systemCode;!b.sessionId&&this.b?(c.method=\"generateRequest\",45==b.systemCode&&(c.message=\"Unsupported session type.\"),this.b.reject(c),this.b=null):b.sessionId&&this.a?(c.method=\"update\",this.a.reject(c),this.a=null):(c=b.systemCode,b.errorCode.code==MediaKeyError.MEDIA_KEYERR_OUTPUT?En(this,\"output-restricted\"):1==c?En(this,\"expired\"):En(this,\"internal-error\"))};\nfunction Gn(b,c,d){if(b.h)return Promise.reject(Error(\"The session is already initialized.\"));b.h=!0;try{if(\"persistent-license\"==b.g)if(d)var e=new Uint8Array(Ec(\"LOAD_SESSION|\"+d));else{var f=Ec(\"PERSISTENT|\"),g=new Uint8Array(f.byteLength+c.byteLength);g.set(new Uint8Array(f),0);g.set(new Uint8Array(c),f.byteLength);e=g}else e=new Uint8Array(c)}catch(k){return Promise.reject(k)}b.b=new F;var h=wn(\"generateKeyRequest\");try{b.f[h](b.c,e)}catch(k){if(\"InvalidStateError\"!=k.name)return b.b=null,Promise.reject(k);\n(new C(function(){try{b.f[h](b.c,e)}catch(l){b.b.reject(l),b.b=null}})).R(.01)}return b.b}\nq.yd=function(b,c){if(this.a)this.a.then(this.yd.bind(this,b,c))[\"catch\"](this.yd.bind(this,b,c));else{this.a=b;if(\"webkit-org.w3.clearkey\"==this.c){var d=Bc(c);var e=JSON.parse(d);\"oct\"!=e.keys[0].kty&&(this.a.reject(Error(\"Response is not a valid JSON Web Key Set.\")),this.a=null);d=L.Ba(e.keys[0].k);e=L.Ba(e.keys[0].kid)}else d=new Uint8Array(c),e=null;var f=wn(\"addKey\");try{this.f[f](this.c,d,e,this.sessionId)}catch(g){this.a.reject(g),this.a=null}}};\nfunction En(b,c){var d=b.keyStatuses;d.size=void 0==c?0:1;d.a=c;b.dispatchEvent(new I(\"keystatuseschange\"))}q.generateRequest=function(b,c){return Gn(this,c,null)};q.load=function(b){return\"persistent-license\"==this.g?Gn(this,null,b):Promise.reject(Error(\"Not a persistent session.\"))};q.update=function(b){var c=new F;this.yd(c,b);return c};\nq.close=function(){if(\"persistent-license\"!=this.g){if(!this.sessionId)return this.closed.reject(Error(\"The session is not callable.\")),this.closed;var b=wn(\"cancelKeyRequest\");try{this.f[b](this.c,this.sessionId)}catch(c){}}this.closed.resolve();return this.closed};q.remove=function(){return\"persistent-license\"!=this.g?Promise.reject(Error(\"Not a persistent session.\")):this.close()};function Fn(){this.size=0;this.a=void 0}var Hn;q=Fn.prototype;q.forEach=function(b){this.a&&b(this.a,Hn)};q.get=function(b){if(this.has(b))return this.a};\nq.has=function(b){var c=Hn;return this.a&&L.za(new Uint8Array(b),new Uint8Array(c))?!0:!1};q.entries=function(){};q.keys=function(){};q.values=function(){};\nOm(function(){if(!(!window.HTMLVideoElement||navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration)){if(HTMLMediaElement.prototype.webkitGenerateKeyRequest)vn=\"webkit\";else if(!HTMLMediaElement.prototype.generateKeyRequest)return;Hn=(new Uint8Array([0])).buffer;navigator.requestMediaKeySystemAccess=xn;delete HTMLMediaElement.prototype.mediaKeys;HTMLMediaElement.prototype.mediaKeys=null;HTMLMediaElement.prototype.setMediaKeys=zn;window.MediaKeys=Bn;window.MediaKeySystemAccess=\nyn}});function In(b){b=b.target;if(\"picture-in-picture\"==b.webkitPresentationMode){document.pictureInPictureElement=b;var c=new Event(\"enterpictureinpicture\");b.dispatchEvent(c)}else document.pictureInPictureElement==b&&(document.pictureInPictureElement=null),c=new Event(\"leavepictureinpicture\"),b.dispatchEvent(c)}\nfunction Jn(){return this.webkitSupportsPresentationMode(\"picture-in-picture\")?(this.webkitSetPresentationMode(\"picture-in-picture\"),document.pictureInPictureElement=this,Promise.resolve()):Promise.reject(Error(\"PiP not allowed by video element\"))}function Kn(){var b=document.pictureInPictureElement;return b?(b.webkitSetPresentationMode(\"inline\"),document.pictureInPictureElement=null,Promise.resolve()):Promise.reject(Error(\"No picture in picture element found\"))}\nfunction Ln(){return this.hasAttribute(\"disablePictureInPicture\")?!0:!this.webkitSupportsPresentationMode(\"picture-in-picture\")}function Mn(b){b?this.setAttribute(\"disablePictureInPicture\",\"\"):this.removeAttribute(\"disablePictureInPicture\")}\nOm(function(){if(window.HTMLVideoElement){var b=HTMLVideoElement.prototype;b.requestPictureInPicture&&document.exitPictureInPicture||!b.webkitSupportsPresentationMode||(document.pictureInPictureEnabled=!0,document.pictureInPictureElement=null,b.requestPictureInPicture=Jn,Object.defineProperty(b,\"disablePictureInPicture\",{get:Ln,set:Mn,enumerable:!0,configurable:!0}),document.exitPictureInPicture=Kn,document.addEventListener(\"webkitpresentationmodechanged\",In,!0))}});Om(function(){if(window.HTMLMediaElement){var b=HTMLMediaElement.prototype.play;HTMLMediaElement.prototype.play=function(){var c=b.apply(this);c&&c[\"catch\"](function(){});return c}}});function Nn(){return{droppedVideoFrames:this.webkitDroppedFrameCount,totalVideoFrames:this.webkitDecodedFrameCount,corruptedVideoFrames:0,creationTime:NaN,totalFrameDelay:0}}Om(function(){if(window.HTMLVideoElement){var b=HTMLVideoElement.prototype;!b.getVideoPlaybackQuality&&\"webkitDroppedFrameCount\"in b&&(b.getVideoPlaybackQuality=Nn)}});function On(b,c,d){return new window.TextTrackCue(b,c,d)}function Pn(b,c,d){return new window.TextTrackCue(b+\"-\"+c+\"-\"+d,b,c,d)}Om(function(){if(!window.VTTCue&&window.TextTrackCue){var b=TextTrackCue.length;if(3==b)window.VTTCue=On;else if(6==b)window.VTTCue=Pn;else{try{var c=!!On(1,2,\"\")}catch(d){c=!1}c&&(window.VTTCue=On)}}});function Qn(){}A(\"shaka.text.TtmlTextParser\",Qn);Qn.prototype.parseInit=function(){};Qn.prototype.parseInit=Qn.prototype.parseInit;\nQn.prototype.parseMedia=function(b,c){var d=Bc(b),e=[],f=new DOMParser,g=null;if(\"\"==d)return e;try{g=f.parseFromString(d,\"text/xml\")}catch(sa){throw new D(2,2,2005,\"Failed to parse TTML.\");}if(g){if(d=g.getElementsByTagName(\"parsererror\")[0])throw new D(2,2,2005,d.textContent);if(f=g.getElementsByTagName(\"tt\")[0]){var h=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\"frameRate\");var k=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\"subFrameRate\");var l=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\n\"frameRateMultiplier\");var m=S.getAttributeNS(f,\"http://www.w3.org/ns/ttml#parameter\",\"tickRate\");g=f.getAttribute(\"xml:space\")||\"default\";d=f.getAttribute(\"tts:extent\")}else throw new D(2,2,2005,\"TTML does not contain <tt> tag.\");if(\"default\"!=g&&\"preserve\"!=g)throw new D(2,2,2005,\"Invalid xml:space value: \"+g);g=\"default\"==g;h=new Rn(h,k,l,m);k=Sn(f.getElementsByTagName(\"metadata\")[0]);l=Sn(f.getElementsByTagName(\"styling\")[0]);m=Sn(f.getElementsByTagName(\"layout\")[0]);for(var n=[],p=0;p<m.length;p++){var v=\nm[p],x=l,B=d;var y=new Hd;var G=v.getAttribute(\"xml:id\");if(G){y.id=G;G=null;B&&(G=Tn.exec(B)||Un.exec(B));B=G?Number(G[1]):null;G=G?Number(G[2]):null;var E,aa;if(E=Vn(v,x,\"extent\"))E=(aa=Tn.exec(E))||Un.exec(E),null!=E&&(y.width=null!=B?100*Number(E[1])/B:Number(E[1]),y.height=null!=G?100*Number(E[2])/G:Number(E[2]),y.widthUnits=aa||null!=B?Ud:0,y.heightUnits=aa||null!=G?Ud:0);if(v=Vn(v,x,\"origin\"))E=(aa=Tn.exec(v))||Un.exec(v),null!=E&&(y.viewportAnchorX=null!=G?100*Number(E[1])/G:Number(E[1]),\ny.viewportAnchorY=null!=B?100*Number(E[2])/B:Number(E[2]),y.viewportAnchorUnits=aa||null!=B?Ud:0)}else y=null;y&&n.push(y)}d=(d=f.getElementsByTagName(\"body\")[0])?Array.from(d.querySelectorAll(\"[begin]\")):[];d=r(d);for(f=d.next();!f.done;f=d.next())(f=Wn(f.value,c.periodStart,h,k,l,m,n,g,!1))&&e.push(f)}return e};Qn.prototype.parseMedia=Qn.prototype.parseMedia;\nvar Tn=/^(\\d{1,2}(?:\\.\\d+)?|100)% (\\d{1,2}(?:\\.\\d+)?|100)%$/,Xn=/^(\\d+px|\\d+em)$/,Un=/^(\\d+)px (\\d+)px$/,Yn=/^(\\d{2,}):(\\d{2}):(\\d{2}):(\\d{2})\\.?(\\d+)?$/,Zn=/^(?:(\\d{2,}):)?(\\d{2}):(\\d{2})$/,$n=/^(?:(\\d{2,}):)?(\\d{2}):(\\d{2}\\.\\d{2,})$/,ao=/^(\\d*(?:\\.\\d*)?)f$/,bo=/^(\\d*(?:\\.\\d*)?)t$/,co=/^(?:(\\d*(?:\\.\\d*)?)h)?(?:(\\d*(?:\\.\\d*)?)m)?(?:(\\d*(?:\\.\\d*)?)s)?(?:(\\d*(?:\\.\\d*)?)ms)?$/,eo={left:Md,center:\"center\",right:\"end\",start:Md,end:\"end\"},fo={left:\"line-left\",center:\"center\",right:\"line-right\"};\nfunction Sn(b){var c=[];if(!b)return c;for(var d=r(b.childNodes),e=d.next();!e.done;e=d.next())e=e.value,e.nodeType==Node.ELEMENT_NODE&&\"br\"!==e.nodeName&&(e=Sn(e),c=c.concat(e));c.length||c.push(b);return c}function go(b,c){for(var d=\"\",e=r(b.childNodes),f=e.next();!f.done;f=e.next())f=f.value,\"br\"==f.nodeName&&b.childNodes[0]!==f?d+=\"\\n\":f.childNodes&&0<f.childNodes.length?d+=go(f,c):c?(f=f.textContent.trim(),f=f.replace(/\\s+/g,\" \"),d+=f):d+=f.textContent;return d}\nfunction Wn(b,c,d,e,f,g,h,k,l){if(l&&\"br\"==b.nodeName)return b=new Fd(0,0,\"\"),b.spacer=!0,b;var m=/^[\\s\\n]*$/.test(b.textContent),n=b.nodeType==Node.ELEMENT_NODE&&!b.hasAttribute(\"begin\")&&!b.hasAttribute(\"end\");if(b.nodeType!=Node.ELEMENT_NODE||n&&m||n&&!l)return null;m=ho(b.getAttribute(\"begin\"),d);n=ho(b.getAttribute(\"end\"),d);var p=ho(b.getAttribute(\"dur\"),d);null==n&&null!=p&&(n=m+p);if(!l&&(null==m||null==n))throw new D(2,2,2001);m+=c;n+=c;p=\"\";l=[];if(Array.from(b.childNodes).find(function(b){return b.nodeType===\nNode.TEXT_NODE&&/\\w+/.test(b.textContent)}))p=go(b,k);else for(var v=r(b.childNodes),x=v.next();!x.done;x=v.next())(x=Wn(x.value,c,d,e,f,g,h,k,!0))&&l.push(x);c=new Fd(m,n,p);c.nestedCues=l;if((g=io(b,\"region\",g,\"\")[0])&&g.getAttribute(\"xml:id\")){var B=g.getAttribute(\"xml:id\");c.region=h.filter(function(b){return b.id==B})[0]}e=io(b,\"smpte:backgroundImage\",e,\"#\")[0];jo(c,b,g,e,f);return c}\nfunction jo(b,c,d,e,f){\"rtl\"==ko(c,d,f,\"direction\")&&(b.direction=\"rtl\");var g=ko(c,d,f,\"writingMode\");\"tb\"==g||\"tblr\"==g?b.writingMode=\"vertical-lr\":\"tbrl\"==g?b.writingMode=\"vertical-rl\":\"rltb\"==g||\"rl\"==g?b.direction=\"rtl\":g&&(b.direction=Gd);(g=ko(c,d,f,\"textAlign\"))?(b.positionAlign=fo[g],b.lineAlign=eo[g],b.textAlign=Qd[g.toUpperCase()]):b.textAlign=\"start\";if(g=ko(c,d,f,\"displayAlign\"))b.displayAlign=Rd[g.toUpperCase()];if(g=ko(c,d,f,\"color\"))b.color=g;if(g=ko(c,d,f,\"backgroundColor\"))b.backgroundColor=\ng;if(g=ko(c,d,f,\"fontFamily\"))b.fontFamily=g;(g=ko(c,d,f,\"fontWeight\"))&&\"bold\"==g&&(b.fontWeight=700);(g=ko(c,d,f,\"wrapOption\"))&&\"noWrap\"==g&&(b.wrapLine=!1);(g=ko(c,d,f,\"lineHeight\"))&&g.match(Xn)&&(b.lineHeight=g);(g=ko(c,d,f,\"fontSize\"))&&g.match(Xn)&&(b.fontSize=g);if(g=ko(c,d,f,\"fontStyle\"))b.fontStyle=Td[g.toUpperCase()];if(e){g=e.getAttribute(\"imagetype\");var h=e.getAttribute(\"encoding\");e=e.textContent.trim();\"PNG\"==g&&\"Base64\"==h&&e&&(b.backgroundImage=\"data:image/png;base64,\"+e)}(d=Vn(d,\nf,\"textDecoration\"))&&lo(b,d);(c=mo(c,f,\"textDecoration\"))&&lo(b,c)}\nfunction lo(b,c){for(var d=c.split(\" \"),e=0;e<d.length;e++)switch(d[e]){case \"underline\":b.textDecoration.includes(\"underline\")||b.textDecoration.push(\"underline\");break;case \"noUnderline\":b.textDecoration.includes(\"underline\")&&Pb(b.textDecoration,\"underline\");break;case \"lineThrough\":b.textDecoration.includes(\"lineThrough\")||b.textDecoration.push(\"lineThrough\");break;case \"noLineThrough\":b.textDecoration.includes(\"lineThrough\")&&Pb(b.textDecoration,\"lineThrough\");break;case \"overline\":b.textDecoration.includes(\"overline\")||\nb.textDecoration.push(\"overline\");break;case \"noOverline\":b.textDecoration.includes(\"overline\")&&Pb(b.textDecoration,\"overline\")}}function ko(b,c,d,e){return(b=mo(b,d,e))?b:Vn(c,d,e)}function Vn(b,c,d){for(var e=Sn(b),f=0;f<e.length;f++){var g=S.getAttributeNS(e[f],\"http://www.w3.org/ns/ttml#styling\",d);if(g)return g}return(b=io(b,\"style\",c,\"\")[0])?S.getAttributeNS(b,\"http://www.w3.org/ns/ttml#styling\",d):null}\nfunction mo(b,c,d){var e=S.getAttributeNS(b,\"http://www.w3.org/ns/ttml#styling\",d);if(e)return e;b=io(b,\"style\",c,\"\");c=null;for(e=0;e<b.length;e++){var f=S.getAttributeNS(b[e],\"http://www.w3.org/ns/ttml#styling\",d);f&&(c=f)}return c}\nfunction io(b,c,d,e){var f=[];if(!b||1>d.length)return f;var g=b;for(b=null;g&&!(b=g.getAttribute(c))&&(g=g.parentNode,g instanceof Element););if(c=b)for(c=c.split(\" \"),c=r(c),b=c.next();!b.done;b=c.next()){b=b.value;g=r(d);for(var h=g.next();!h.done;h=g.next())if(h=h.value,e+h.getAttribute(\"xml:id\")==b){f.push(h);break}}return f}\nfunction ho(b,c){var d=null;if(Yn.test(b)){d=Yn.exec(b);var e=Number(d[1]),f=Number(d[2]),g=Number(d[3]),h=Number(d[4]);h+=(Number(d[5])||0)/c.b;g+=h/c.frameRate;d=g+60*f+3600*e}else Zn.test(b)?d=no(Zn,b):$n.test(b)?d=no($n,b):ao.test(b)?(d=ao.exec(b),d=Number(d[1])/c.frameRate):bo.test(b)?(d=bo.exec(b),d=Number(d[1])/c.a):co.test(b)&&(d=no(co,b));return d}\nfunction no(b,c){var d=b.exec(c);return null==d||\"\"==d[0]?null:(Number(d[4])||0)/1E3+(Number(d[3])||0)+60*(Number(d[2])||0)+3600*(Number(d[1])||0)}function Rn(b,c,d,e){this.frameRate=Number(b)||30;this.b=Number(c)||1;this.a=Number(e);0==this.a&&(this.a=b?this.frameRate*this.b:1);d&&(b=/^(\\d+) (\\d+)$/g.exec(d))&&(this.frameRate*=Number(b[1])/Number(b[2]))}Xd[\"application/ttml+xml\"]=Qn;function oo(){this.a=new Qn}A(\"shaka.text.Mp4TtmlParser\",oo);oo.prototype.parseInit=function(b){var c=!1;(new R).H(\"moov\",xf).H(\"trak\",xf).H(\"mdia\",xf).H(\"minf\",xf).H(\"stbl\",xf).fa(\"stsd\",yf).H(\"stpp\",function(b){c=!0;b.parser.stop()}).parse(b);if(!c)throw new D(2,2,2007);};oo.prototype.parseInit=oo.prototype.parseInit;oo.prototype.parseMedia=function(b,c){var d=!1,e=[];(new R).H(\"mdat\",zf(function(b){d=!0;e=e.concat(this.a.parseMedia(b,c))}.bind(this))).parse(b);if(!d)throw new D(2,2,2007);return e};\noo.prototype.parseMedia=oo.prototype.parseMedia;Xd['application/mp4; codecs=\"stpp\"']=oo;Xd['application/mp4; codecs=\"stpp.ttml.im1t\"']=oo;Xd['application/mp4; codecs=\"stpp.TTML.im1t\"']=oo;function po(){}A(\"shaka.text.VttTextParser\",po);po.prototype.parseInit=function(){};po.prototype.parseInit=po.prototype.parseInit;\npo.prototype.parseMedia=function(b,c){var d=Bc(b);d=d.replace(/\\r\\n|\\r(?=[^\\n]|$)/gm,\"\\n\");d=d.split(/\\n{2,}/m);if(!/^WEBVTT($|[ \\t\\n])/m.test(d[0]))throw new D(2,2,2E3);var e=c.segmentStart;if(null==e&&(e=0,d[0].includes(\"X-TIMESTAMP-MAP\"))){var f=d[0].match(/LOCAL:((?:(\\d{1,}):)?(\\d{2}):(\\d{2})\\.(\\d{3}))/m),g=d[0].match(/MPEGTS:(\\d+)/m);if(f&&g){e=qo(new Ng(f[1]));if(null==e)throw new D(2,2,2E3);e=c.periodStart+(Number(g[1])/9E4-e)}}g=[];var h=d[0].split(\"\\n\");for(f=1;f<h.length;f++)if(/^Region:/.test(h[f])){var k=\nnew Ng(h[f]),l=new Hd;Qg(k);Og(k);for(var m=Qg(k);m;){var n=l,p=m;(m=/^id=(.*)$/.exec(p))?n.id=m[1]:(m=/^width=(\\d{1,2}|100)%$/.exec(p))?n.width=Number(m[1]):(m=/^lines=(\\d+)$/.exec(p))?(n.height=Number(m[1]),n.heightUnits=2):(m=/^regionanchor=(\\d{1,2}|100)%,(\\d{1,2}|100)%$/.exec(p))?(n.regionAnchorX=Number(m[1]),n.regionAnchorY=Number(m[2])):(m=/^viewportanchor=(\\d{1,2}|100)%,(\\d{1,2}|100)%$/.exec(p))?(n.viewportAnchorX=Number(m[1]),n.viewportAnchorY=Number(m[2])):/^scroll=up$/.exec(p)&&(n.scroll=\n\"up\");Og(k);m=Qg(k)}g.push(l)}f=[];for(k=1;k<d.length;k++){h=d[k].split(\"\\n\");m=h;p=e;h=g;if(1==m.length&&!m[0]||/^NOTE($|[ \\t])/.test(m[0])||\"STYLE\"==m[0])h=null;else{l=null;m[0].includes(\"--\\x3e\")||(l=m[0],m.splice(0,1));n=new Ng(m[0]);var v=qo(n),x=Pg(n,/[ \\t]+--\\x3e[ \\t]+/g),B=qo(n);if(null==v||null==x||null==B)throw new D(2,2,2001);m=new Fd(v+p,B+p,m.slice(1).join(\"\\n\").trim());Og(n);for(p=Qg(n);p;)ro(m,p,h),Og(n),p=Qg(n);null!=l&&(m.id=l);h=m}h&&f.push(h)}return f};po.prototype.parseMedia=po.prototype.parseMedia;\nfunction ro(b,c,d){var e;if(e=/^align:(start|middle|center|end|left|right)$/.exec(c))c=e[1],\"middle\"==c?b.textAlign=Jd:b.textAlign=Qd[c.toUpperCase()];else if(e=/^vertical:(lr|rl)$/.exec(c))b.writingMode=\"lr\"==e[1]?\"vertical-lr\":\"vertical-rl\";else if(e=/^size:([\\d.]+)%$/.exec(c))b.size=Number(e[1]);else if(e=/^position:([\\d.]+)%(?:,(line-left|line-right|center|start|end))?$/.exec(c))b.position=Number(e[1]),e[2]&&(c=e[2],b.positionAlign=\"line-left\"==c||\"start\"==c?\"line-left\":\"line-right\"==c||\"end\"==\nc?\"line-right\":\"center\");else if(e=/^region:(.*)$/.exec(c)){if(c=so(d,e[1]))b.region=c}else if(d=/^line:([\\d.]+)%(?:,(start|end|center))?$/.exec(c))b.lineInterpretation=1,b.line=Number(d[1]),d[2]&&(b.lineAlign=Sd[d[2].toUpperCase()]);else if(d=/^line:(-?\\d+)(?:,(start|end|center))?$/.exec(c))b.lineInterpretation=Ld,b.line=Number(d[1]),d[2]&&(b.lineAlign=Sd[d[2].toUpperCase()])}function so(b,c){var d=b.filter(function(b){return b.id==c});return d.length?d[0]:null}\nfunction qo(b){b=Pg(b,/(?:(\\d{1,}):)?(\\d{2}):(\\d{2})\\.(\\d{3})/g);if(null==b)return null;var c=Number(b[2]),d=Number(b[3]);return 59<c||59<d?null:Number(b[4])/1E3+d+60*c+3600*(Number(b[1])||0)}Xd[\"text/vtt\"]=po;Xd['text/vtt; codecs=\"vtt\"']=po;function to(){this.a=null}A(\"shaka.text.Mp4VttParser\",to);to.prototype.parseInit=function(b){var c=!1;(new R).H(\"moov\",xf).H(\"trak\",xf).H(\"mdia\",xf).fa(\"mdhd\",function(b){0==b.version?(b.reader.M(4),b.reader.M(4),this.a=b.reader.G(),b.reader.M(4)):(b.reader.M(8),b.reader.M(8),this.a=b.reader.G(),b.reader.M(8));b.reader.M(4)}.bind(this)).H(\"minf\",xf).H(\"stbl\",xf).fa(\"stsd\",yf).H(\"wvtt\",function(){c=!0}).parse(b);if(!this.a)throw new D(2,2,2008);if(!c)throw new D(2,2,2008);};\nto.prototype.parseInit=to.prototype.parseInit;\nto.prototype.parseMedia=function(b,c){var d=this;if(!this.a)throw new D(2,2,2008);var e=0,f=[],g,h=[],k=!1,l=!1,m=!1,n=null;(new R).H(\"moof\",xf).H(\"traf\",xf).fa(\"tfdt\",function(b){k=!0;e=0==b.version?b.reader.G():b.reader.Bb()}).fa(\"tfhd\",function(b){var c=b.flags;b=b.reader;b.M(4);c&1&&b.M(8);c&2&&b.M(4);n=c&8?b.G():null}).fa(\"trun\",function(b){l=!0;var c=b.version,d=b.flags;b=b.reader;var e=b.G();d&1&&b.M(4);d&4&&b.M(4);for(var g=[],h=0;h<e;h++){var k={duration:null,sampleSize:null,Ad:null};d&256&&\n(k.duration=b.G());d&512&&(k.sampleSize=b.G());d&1024&&b.M(4);d&2048&&(k.Ad=0==c?b.G():b.ke());g.push(k)}f=g}).H(\"mdat\",zf(function(b){m=!0;g=b})).parse(b);if(!m&&!k&&!l)throw new D(2,2,2008);var p=e,v=new DataView(g.buffer,g.byteOffset,g.byteLength),x=new Q(v,0);f.forEach(function(b){var f=b.duration||n,g=b.Ad?e+b.Ad:p;p=g+(f||0);var k=0;do{var l=x.G();k+=l;var m=x.G(),v=null;\"vttc\"==Af(m)?8<l&&(v=x.Za(l-8)):x.M(l-8);f&&v&&h.push(uo(v,c.periodStart+g/d.a,c.periodStart+p/d.a))}while(b.sampleSize&&\nk<b.sampleSize)});return h.filter(ud.Ia)};to.prototype.parseMedia=to.prototype.parseMedia;function uo(b,c,d){var e,f,g;(new R).H(\"payl\",zf(function(b){e=Bc(b)})).H(\"iden\",zf(function(b){f=Bc(b)})).H(\"sttg\",zf(function(b){g=Bc(b)})).parse(b);return e?vo(e,f,g,c,d):null}function vo(b,c,d,e,f){b=new Fd(e,f,b);c&&(b.id=c);if(d)for(c=new Ng(d),d=Qg(c);d;)ro(b,d,[]),Og(c),d=Qg(c);return b}Xd['application/mp4; codecs=\"wvtt\"']=to;A(\"shaka.util.Dom.createHTMLElement\",function(b){return document.createElement(b)});A(\"shaka.util.Dom.createVideoElement\",function(){var b=document.createElement(\"video\");b.muted=!0;b.width=600;b.height=400;return b});A(\"shaka.util.Dom.asHTMLElement\",function(b){return b});A(\"shaka.util.Dom.asHTMLMediaElement\",function(b){return b});A(\"shaka.util.Dom.removeAllChildren\",function(b){for(;b.firstChild;)b.removeChild(b.firstChild)});/*\n @license\n EME Encryption Scheme Polyfill\n Copyright 2019 Google LLC\n SPDX-License-Identifier: Apache-2.0\n*/\nfunction wo(){}var xo;A(\"EmeEncryptionSchemePolyfill\",wo);function yo(){xo?console.debug(\"EmeEncryptionSchemePolyfill: Already installed.\"):navigator.requestMediaKeySystemAccess&&MediaKeySystemAccess.prototype.getConfiguration?(xo=navigator.requestMediaKeySystemAccess,console.debug(\"EmeEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.\"),navigator.requestMediaKeySystemAccess=zo):console.debug(\"EmeEncryptionSchemePolyfill: EME not found\")}wo.install=yo;\nfunction zo(b,c){var d=this;return t(function f(){var g;return z(f,function(f){switch(f.j){case 1:return console.assert(d==navigator,'bad \"this\" for requestMediaKeySystemAccess'),u(f,xo.call(d,b,c),2);case 2:g=f.o;if(Ao(g))return console.debug(\"EmeEncryptionSchemePolyfill: Native encryptionScheme support found.\"),navigator.requestMediaKeySystemAccess=xo,f[\"return\"](g);console.debug(\"EmeEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support.\");navigator.requestMediaKeySystemAccess=\nBo;return f[\"return\"](Bo.call(d,b,c))}})})}\nfunction Bo(b,c){var d=this;return t(function f(){var g,h,k,l,m,n,p,v;return z(f,function(f){switch(f.j){case 1:console.assert(d==navigator,'bad \"this\" for requestMediaKeySystemAccess');g=Co(b);h=[];for(var x=r(c),y=x.next();!y.done;y=x.next())k=y.value,l=Do(k.videoCapabilities,g),m=Do(k.audioCapabilities,g),k.videoCapabilities&&k.videoCapabilities.length&&!l.length||k.audioCapabilities&&k.audioCapabilities.length&&!m.length||(n=Object.assign({},k),n.videoCapabilities=l,n.audioCapabilities=m,h.push(n));\nif(!h.length)throw p=Error(\"Unsupported keySystem or supportedConfigurations.\"),p.name=\"NotSupportedError\",p.code=DOMException.NOT_SUPPORTED_ERR,p;return u(f,xo.call(d,b,h),2);case 2:return v=f.o,f[\"return\"](new Eo(v,g))}})})}function Do(b,c){return b?b.filter(function(b){return!b.encryptionScheme||b.encryptionScheme==c}):b}function Fo(){}var Go;A(\"McEncryptionSchemePolyfill\",Fo);\nfunction Ho(){navigator.mediaCapabilities?(Go=navigator.mediaCapabilities.decodingInfo,console.debug(\"McEncryptionSchemePolyfill: Waiting to detect encryptionScheme support.\"),navigator.mediaCapabilities.decodingInfo=Io):console.debug(\"McEncryptionSchemePolyfill: MediaCapabilities not found\")}Fo.install=Ho;\nfunction Io(b){var c=this;return t(function e(){var f,g;return z(e,function(e){switch(e.j){case 1:return console.assert(c==navigator.mediaCapabilities,'bad \"this\" for decodingInfo'),u(e,Go.call(c,b),2);case 2:f=e.o;if(!b.keySystemConfiguration)return e[\"return\"](f);g=f.keySystemAccess;if(Ao(g))return console.debug(\"McEncryptionSchemePolyfill: Native encryptionScheme support found.\"),navigator.mediaCapabilities.decodingInfo=Go,e[\"return\"](f);console.debug(\"McEncryptionSchemePolyfill: No native encryptionScheme support found. Patching encryptionScheme support.\");\nnavigator.mediaCapabilities.decodingInfo=Jo;return e[\"return\"](Jo.call(c,b))}})})}\nfunction Jo(b){var c=this;return t(function e(){var f,g,h,k,l,m,n;return z(e,function(e){switch(e.j){case 1:return console.assert(c==navigator.mediaCapabilities,'bad \"this\" for decodingInfo'),f=null,b.keySystemConfiguration&&(g=b.keySystemConfiguration,h=g.keySystem,k=g.audio&&g.audio.encryptionScheme,l=g.video&&g.video.encryptionScheme,f=Co(h),m={powerEfficient:!1,smooth:!1,supported:!1,keySystemAccess:null,configuration:b},k&&k!=f||l&&l!=f)?e[\"return\"](m):u(e,Go.call(c,b),2);case 2:return n=e.o,\nn.keySystemAccess&&(n.keySystemAccess=new Eo(n.keySystemAccess,f)),e[\"return\"](n)}})})}function Eo(b,c){this.b=b;this.a=c;this.keySystem=b.keySystem}Eo.prototype.getConfiguration=function(){var b=this.b.getConfiguration();if(b.videoCapabilities)for(var c=r(b.videoCapabilities),d=c.next();!d.done;d=c.next())d.value.encryptionScheme=this.a;if(b.audioCapabilities)for(c=r(b.audioCapabilities),d=c.next();!d.done;d=c.next())d.value.encryptionScheme=this.a;return b};Eo.prototype.createMediaKeys=function(){return this.b.createMediaKeys()};\nfunction Co(b){if(b.startsWith(\"com.widevine\")||b.startsWith(\"com.microsoft\")||b.startsWith(\"com.adobe\")||b.startsWith(\"org.w3\"))return\"cenc\";if(b.startsWith(\"com.apple\"))return\"cbcs-1-9\";console.warn(\"EmeEncryptionSchemePolyfill: Unknown key system:\",b,\"Please contribute!\");return null}function Ao(b){b=b.getConfiguration();var c=b.audioCapabilities&&b.audioCapabilities[0];return(b=b.videoCapabilities&&b.videoCapabilities[0]||c)&&void 0!==b.encryptionScheme?!0:!1}function Ko(){}\nA(\"EncryptionSchemePolyfills\",Ko);function Pm(){yo();Ho()}Ko.install=Pm; true&&module.Ne&&(module.Ne=Ko);}).call(exportTo,innerGlobal,innerGlobal);if(true)for(var k in exportTo.shaka)exports[k]=exportTo.shaka[k];else {}})();\n\n//# sourceMappingURL=shaka-player.compiled.map\n/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../../webpack/buildin/global.js */ \"./node_modules/webpack/buildin/global.js\"), __webpack_require__(/*! ./../../webpack/buildin/module.js */ \"./node_modules/webpack/buildin/module.js\")(module)))\n\n/***/ }),\n\n/***/ \"./node_modules/webpack/buildin/global.js\":\n/*!***********************************!*\\\n !*** (webpack)/buildin/global.js ***!\n \\***********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nvar g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n\n/***/ }),\n\n/***/ \"./node_modules/webpack/buildin/module.js\":\n/*!***********************************!*\\\n !*** (webpack)/buildin/module.js ***!\n \\***********************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n\n\n/***/ }),\n\n/***/ \"./src/clappr-dash-shaka-playback.js\":\n/*!*******************************************!*\\\n !*** ./src/clappr-dash-shaka-playback.js ***!\n \\*******************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _clappr = __webpack_require__(/*! clappr */ \"clappr\");\n\nvar _shakaPlayer = __webpack_require__(/*! shaka-player */ \"./node_modules/shaka-player/dist/shaka-player.compiled.js\");\n\nvar _shakaPlayer2 = _interopRequireDefault(_shakaPlayer);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar SEND_STATS_INTERVAL_MS = 30 * 1e3;\nvar DEFAULT_LEVEL_AUTO = -1;\n\nvar DashShakaPlayback = function (_HTML5Video) {\n _inherits(DashShakaPlayback, _HTML5Video);\n\n _createClass(DashShakaPlayback, [{\n key: 'getDuration',\n value: function getDuration() {\n return this._duration;\n }\n }, {\n key: 'getCurrentTime',\n value: function getCurrentTime() {\n return this.shakaPlayerInstance.getMediaElement().currentTime - this.seekRange.start;\n }\n }, {\n key: 'name',\n get: function get() {\n return 'dash_shaka_playback';\n }\n }, {\n key: 'shakaVersion',\n get: function get() {\n return _shakaPlayer2.default.player.Player.version;\n }\n }, {\n key: 'shakaPlayerInstance',\n get: function get() {\n return this._player;\n }\n }, {\n key: 'levels',\n get: function get() {\n return this._levels;\n }\n }, {\n key: 'seekRange',\n get: function get() {\n return this.shakaPlayerInstance.seekRange();\n }\n }, {\n key: 'currentLevel',\n set: function set(id) {\n var _this2 = this;\n\n this._currentLevelId = id;\n var isAuto = this._currentLevelId === DEFAULT_LEVEL_AUTO;\n\n this.trigger(_clappr.Events.PLAYBACK_LEVEL_SWITCH_START);\n if (!isAuto) {\n this._player.configure({ abr: { enabled: false } });\n this._pendingAdaptationEvent = true;\n this.selectTrack(this.videoTracks.filter(function (t) {\n return t.id === _this2._currentLevelId;\n })[0]);\n } else {\n this._player.configure({ abr: { enabled: true } });\n this.trigger(_clappr.Events.PLAYBACK_LEVEL_SWITCH_END);\n }\n },\n get: function get() {\n return this._currentLevelId || DEFAULT_LEVEL_AUTO;\n }\n }, {\n key: 'dvrEnabled',\n get: function get() {\n return this._duration >= this._minDvrSize && this.getPlaybackType() === 'live';\n }\n }, {\n key: '_duration',\n get: function get() {\n if (!this.shakaPlayerInstance) return 0;\n\n return this.seekRange.end - this.seekRange.start;\n }\n }, {\n key: '_startTime',\n get: function get() {\n return this.seekRange.start;\n }\n }, {\n key: 'presentationTimeline',\n get: function get() {\n var manifest = this.shakaPlayerInstance.getManifest();\n return manifest ? manifest.presentationTimeline : null;\n }\n }, {\n key: 'bandwidthEstimate',\n get: function get() {\n if (!this.shakaPlayerInstance) return;\n return this.shakaPlayerInstance.getStats().estimatedBandwidth;\n }\n }], [{\n key: 'canPlay',\n value: function canPlay(resource) {\n var mimeType = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n _shakaPlayer2.default.polyfill.installAll();\n var browserSupported = _shakaPlayer2.default.Player.isBrowserSupported();\n var resourceParts = resource.split('?')[0].match(/.*\\.(.*)$/) || [];\n return browserSupported && (resourceParts[1] === 'mpd' || mimeType.indexOf('application/dash+xml') > -1);\n }\n }, {\n key: 'Events',\n get: function get() {\n return {\n SHAKA_READY: 'shaka:ready'\n };\n }\n }]);\n\n function DashShakaPlayback() {\n var _ref;\n\n _classCallCheck(this, DashShakaPlayback);\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var _this = _possibleConstructorReturn(this, (_ref = DashShakaPlayback.__proto__ || Object.getPrototypeOf(DashShakaPlayback)).call.apply(_ref, [this].concat(args)));\n\n _this._levels = [];\n _this._pendingAdaptationEvent = false;\n _this._isShakaReadyState = false;\n\n _this._minDvrSize = typeof _this.options.shakaMinimumDvrSize === 'undefined' ? 60 : _this.options.shakaMinimumDvrSize;\n return _this;\n }\n\n _createClass(DashShakaPlayback, [{\n key: 'getProgramDateTime',\n value: function getProgramDateTime() {\n var presentationTimeline = this.presentationTimeline;\n if (!presentationTimeline) return null;\n return new Date((presentationTimeline.getPresentationStartTime() + this.seekRange.start) * 1000);\n }\n }, {\n key: '_updateDvr',\n value: function _updateDvr(status) {\n this.trigger(_clappr.Events.PLAYBACK_DVR, status);\n this.trigger(_clappr.Events.PLAYBACK_STATS_ADD, { 'dvr': status });\n }\n }, {\n key: 'seek',\n value: function seek(time) {\n if (time < 0) {\n _clappr.Log.warn('Attempt to seek to a negative time. Resetting to live point. Use seekToLivePoint() to seek to the live point.');\n time = this._duration;\n }\n // assume live if time within 3 seconds of end of stream\n this.dvrEnabled && this._updateDvr(time < this._duration - 3);\n time += this._startTime;\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'seek', this).call(this, time);\n }\n }, {\n key: 'pause',\n value: function pause() {\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'pause', this).call(this);\n\n if (this.dvrEnabled) this._updateDvr(true);\n }\n }, {\n key: 'play',\n value: function play() {\n if (!this._player) {\n this._setup();\n }\n\n if (!this.isReady) {\n this.once(DashShakaPlayback.Events.SHAKA_READY, this.play);\n return;\n }\n\n this._stopped = false;\n this._src = this.el.src;\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'play', this).call(this);\n this._startTimeUpdateTimer();\n }\n }, {\n key: '_startTimeUpdateTimer',\n value: function _startTimeUpdateTimer() {\n var _this3 = this;\n\n this._stopTimeUpdateTimer();\n this._timeUpdateTimer = setInterval(function () {\n _this3._onTimeUpdate();\n }, 100);\n }\n }, {\n key: '_stopTimeUpdateTimer',\n value: function _stopTimeUpdateTimer() {\n this._timeUpdateTimer && clearInterval(this._timeUpdateTimer);\n }\n\n // skipping HTML5Video `_setupSrc` (on tag video)\n\n }, {\n key: '_setupSrc',\n value: function _setupSrc() {}\n\n // skipping ready event on video tag in favor of ready on shaka\n\n }, {\n key: '_ready',\n value: function _ready() {\n // override with no-op\n }\n }, {\n key: '_onShakaReady',\n value: function _onShakaReady() {\n this._isShakaReadyState = true;\n this.trigger(DashShakaPlayback.Events.SHAKA_READY);\n this.trigger(_clappr.Events.PLAYBACK_READY, this.name);\n }\n }, {\n key: 'error',\n\n\n // skipping error handling on video tag in favor of error on shaka\n value: function error(event) {\n _clappr.Log.error('an error was raised by the video tag', event, this.el.error);\n }\n }, {\n key: 'isHighDefinitionInUse',\n value: function isHighDefinitionInUse() {\n return false;\n }\n }, {\n key: 'stop',\n value: function stop() {\n var _this4 = this;\n\n this._stopTimeUpdateTimer();\n clearInterval(this.sendStatsId);\n this._stopped = true;\n\n if (this._player) {\n this._sendStats();\n\n this._player.unload().then(function () {\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'stop', _this4).call(_this4);\n _this4._player = null;\n _this4._isShakaReadyState = false;\n }).catch(function () {\n _clappr.Log.error('shaka could not be unloaded');\n });\n } else {\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'stop', this).call(this);\n }\n }\n }, {\n key: 'getPlaybackType',\n value: function getPlaybackType() {\n return (this.isReady && this._player.isLive() ? 'live' : 'vod') || '';\n }\n }, {\n key: 'selectAudioLanguage',\n value: function selectAudioLanguage(language) {\n var role = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n this._player.selectAudioLanguage(language, role);\n }\n }, {\n key: 'selectTrack',\n value: function selectTrack(track) {\n if (track.type === 'text') {\n this._player.selectTextTrack(track);\n } else if (track.type === 'variant') {\n this._player.selectVariantTrack(track);\n if (track.mimeType.startsWith('video/')) {\n // we trigger the adaptation event here\n // because Shaka doesn't trigger its event on \"manual\" selection.\n this._onAdaptation();\n }\n } else {\n throw new Error('Unhandled track type:', track.type);\n }\n }\n\n /**\n * @override\n */\n\n }, {\n key: '_enableShakaTextTrack',\n value: function _enableShakaTextTrack(isEnable) {\n // Shaka player use only one TextTrack object with video element to handle all text tracks\n // It must be enabled or disabled in addition to call selectTextTrack()\n if (!this.el.textTracks) {\n return;\n }\n\n this._shakaTTVisible = isEnable;\n\n Array.from(this.el.textTracks).filter(function (track) {\n return track.kind === 'subtitles';\n }).forEach(function (track) {\n return track.mode = isEnable === true ? 'showing' : 'hidden';\n });\n }\n }, {\n key: '_checkForClosedCaptions',\n value: function _checkForClosedCaptions() {\n if (this._ccIsSetup) {\n return;\n }\n\n if (this.hasClosedCaptionsTracks) {\n this.trigger(_clappr.Events.PLAYBACK_SUBTITLE_AVAILABLE);\n var trackId = this.closedCaptionsTrackId;\n this.closedCaptionsTrackId = trackId;\n }\n this._ccIsSetup = true;\n }\n }, {\n key: 'destroy',\n value: function destroy() {\n var _this5 = this;\n\n this._stopTimeUpdateTimer();\n clearInterval(this.sendStatsId);\n\n if (this._player) {\n this._player.destroy().then(function () {\n return _this5._destroy();\n }).catch(function () {\n _this5._destroy();\n _clappr.Log.error('shaka could not be destroyed');\n });\n } else {\n this._destroy();\n }\n\n _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'destroy', this).call(this);\n }\n }, {\n key: '_setup',\n value: function _setup() {\n var _this6 = this;\n\n this._isShakaReadyState = false;\n this._ccIsSetup = false;\n this._player = this._createPlayer();\n this._options.shakaConfiguration && this._player.configure(this._options.shakaConfiguration);\n this._options.shakaOnBeforeLoad && this._options.shakaOnBeforeLoad(this._player);\n\n var playerLoaded = this._player.load(this._options.src);\n playerLoaded.then(function () {\n return _this6._loaded();\n }).catch(function (e) {\n return _this6._setupError(e);\n });\n }\n }, {\n key: '_createPlayer',\n value: function _createPlayer() {\n var player = new _shakaPlayer2.default.Player(this.el);\n player.addEventListener('error', this._onError.bind(this));\n player.addEventListener('adaptation', this._onAdaptation.bind(this));\n player.addEventListener('buffering', this._onBuffering.bind(this));\n return player;\n }\n }, {\n key: '_onTimeUpdate',\n value: function _onTimeUpdate() {\n if (!this.shakaPlayerInstance) return;\n\n var fragDateTime = this.getProgramDateTime();\n if (!fragDateTime) return;\n var update = {\n current: this.getCurrentTime(),\n total: this.getDuration(),\n firstFragDateTime: fragDateTime\n };\n var isSame = this._lastTimeUpdate && update.current === this._lastTimeUpdate.current && update.total === this._lastTimeUpdate.total;\n if (isSame) return;\n\n this._lastTimeUpdate = update;\n this.trigger(_clappr.Events.PLAYBACK_TIMEUPDATE, update, this.name);\n }\n }, {\n key: '_onBuffering',\n value: function _onBuffering(e) {\n if (this._stopped) return;\n var event = e.buffering ? _clappr.Events.PLAYBACK_BUFFERING : _clappr.Events.PLAYBACK_BUFFERFULL;\n this.trigger(event);\n }\n }, {\n key: '_loaded',\n value: function _loaded() {\n this._onShakaReady();\n this._startToSendStats();\n this._fillLevels();\n this._checkForClosedCaptions();\n }\n }, {\n key: '_fillLevels',\n value: function _fillLevels() {\n if (this._levels.length === 0) {\n this._levels = this.videoTracks.slice(0).reverse();\n this.trigger(_clappr.Events.PLAYBACK_LEVELS_AVAILABLE, this.levels);\n }\n }\n }, {\n key: '_startToSendStats',\n value: function _startToSendStats() {\n var _this7 = this;\n\n var intervalMs = this._options.shakaSendStatsInterval || SEND_STATS_INTERVAL_MS;\n this.sendStatsId = setInterval(function () {\n return _this7._sendStats();\n }, intervalMs);\n }\n }, {\n key: '_sendStats',\n value: function _sendStats() {\n this.trigger(_clappr.Events.PLAYBACK_STATS_ADD, this._player.getStats());\n }\n }, {\n key: '_setupError',\n value: function _setupError(err) {\n this._onError(err);\n }\n }, {\n key: '_onError',\n value: function _onError(err) {\n var error = {\n shakaError: err,\n videoError: this.el.error\n };\n\n var _ref2 = error.shakaError.detail || error.shakaError,\n category = _ref2.category,\n code = _ref2.code,\n severity = _ref2.severity;\n\n if (error.videoError || !code && !category) return _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), '_onError', this).call(this);\n\n var isCritical = severity === _shakaPlayer2.default.util.Error.Severity.CRITICAL;\n var errorData = {\n code: category + '_' + code,\n description: 'Category: ' + category + ', code: ' + code + ', severity: ' + severity,\n level: isCritical ? _clappr.PlayerError.Levels.FATAL : _clappr.PlayerError.Levels.WARN,\n raw: err\n };\n var formattedError = this.createError(errorData);\n _clappr.Log.error('Shaka error event:', formattedError);\n this.trigger(_clappr.Events.PLAYBACK_ERROR, formattedError);\n }\n }, {\n key: '_onAdaptation',\n value: function _onAdaptation() {\n var activeVideo = this.videoTracks.filter(function (t) {\n return t.active === true;\n })[0];\n\n this._fillLevels();\n\n // update stats that may have changed before we trigger event\n // so that user can rely on stats data when handling event\n this._sendStats();\n\n if (this._pendingAdaptationEvent) {\n this.trigger(_clappr.Events.PLAYBACK_LEVEL_SWITCH_END);\n this._pendingAdaptationEvent = false;\n }\n\n _clappr.Log.debug('an adaptation has happened:', activeVideo);\n this.highDefinition = activeVideo.height >= 720;\n this.trigger(_clappr.Events.PLAYBACK_HIGHDEFINITIONUPDATE, this.highDefinition);\n this.trigger(_clappr.Events.PLAYBACK_BITRATE, {\n bandwidth: activeVideo.bandwidth,\n width: activeVideo.width,\n height: activeVideo.height,\n language: activeVideo.language,\n level: activeVideo.id,\n bitrate: activeVideo.videoBandwidth\n });\n }\n }, {\n key: '_updateSettings',\n value: function _updateSettings() {\n if (this.getPlaybackType() === 'vod') this.settings.left = ['playpause', 'position', 'duration'];else if (this.dvrEnabled) this.settings.left = ['playpause'];else this.settings.left = ['playstop'];\n\n this.settings.seekEnabled = this.isSeekEnabled();\n this.trigger(_clappr.Events.PLAYBACK_SETTINGSUPDATE);\n }\n }, {\n key: '_destroy',\n value: function _destroy() {\n this._isShakaReadyState = false;\n _clappr.Log.debug('shaka was destroyed');\n }\n }, {\n key: 'isReady',\n get: function get() {\n return this._isShakaReadyState;\n }\n }, {\n key: 'textTracks',\n get: function get() {\n return this.isReady && this._player.getTextTracks();\n }\n }, {\n key: 'audioLanguages',\n get: function get() {\n return this.isReady && this._player.getAudioLanguages();\n }\n }, {\n key: 'audioTracks',\n get: function get() {\n return this.isReady && this._player.getVariantTracks().filter(function (t) {\n return t.mimeType.startsWith('audio/');\n });\n }\n }, {\n key: 'videoTracks',\n get: function get() {\n return this.isReady && this._player.getVariantTracks().filter(function (t) {\n return t.mimeType.startsWith('video/');\n });\n }\n }, {\n key: 'closedCaptionsTracks',\n get: function get() {\n var id = 0;\n var trackId = function trackId() {\n return id++;\n };\n var tracks = this.textTracks || [];\n\n return tracks.filter(function (track) {\n return track.kind === 'subtitle';\n }).map(function (track) {\n return { id: trackId(), name: track.label || track.language, track: track };\n });\n }\n\n /**\n * @override\n */\n\n }, {\n key: 'closedCaptionsTrackId',\n get: function get() {\n return _get(DashShakaPlayback.prototype.__proto__ || Object.getPrototypeOf(DashShakaPlayback.prototype), 'closedCaptionsTrackId', this);\n }\n\n /**\n * @override\n */\n ,\n set: function set(trackId) {\n if (!this._player) {\n return;\n }\n\n var tracks = this.closedCaptionsTracks;\n var showingTrack = void 0;\n\n // Note: -1 is for hide all tracks\n if (trackId !== -1) {\n showingTrack = tracks.find(function (track) {\n return track.id === trackId;\n });\n if (!showingTrack) {\n _clappr.Log.warn('Track id \"' + trackId + '\" not found');\n return;\n }\n if (this._shakaTTVisible && showingTrack.track.active === true) {\n _clappr.Log.info('Track id \"' + trackId + '\" already showing');\n return;\n }\n }\n\n if (showingTrack) {\n this._player.selectTextTrack(showingTrack.track);\n this._player.setTextTrackVisibility(true);\n this._enableShakaTextTrack(true);\n } else {\n this._player.setTextTrackVisibility(false);\n this._enableShakaTextTrack(false);\n }\n\n this._ccTrackId = trackId;\n this.trigger(_clappr.Events.PLAYBACK_SUBTITLE_CHANGED, {\n id: trackId\n });\n }\n }]);\n\n return DashShakaPlayback;\n}(_clappr.HTML5Video);\n\nexports.default = DashShakaPlayback;\nmodule.exports = exports['default'];\n\n/***/ }),\n\n/***/ \"clappr\":\n/*!******************************************************************************************!*\\\n !*** external {\"amd\":\"clappr\",\"commonjs\":\"clappr\",\"commonjs2\":\"clappr\",\"root\":\"Clappr\"} ***!\n \\******************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_clappr__;\n\n/***/ })\n\n/******/ });\n});\n//# sourceMappingURL=dash-shaka-playback.js.map","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"clappr\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"clappr\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"LevelSelector\"] = factory(require(\"clappr\"));\n\telse\n\t\troot[\"LevelSelector\"] = factory(root[\"Clappr\"]);\n})(typeof self !== 'undefined' ? self : this, function(__WEBPACK_EXTERNAL_MODULE_84__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"<%=baseUrl%>/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 40);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self\n // eslint-disable-next-line no-new-func\n : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\nvar core = module.exports = { version: '2.6.11' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar anObject = __webpack_require__(10);\nvar IE8_DOM_DEFINE = __webpack_require__(29);\nvar toPrimitive = __webpack_require__(15);\nvar dP = Object.defineProperty;\n\nexports.f = __webpack_require__(3) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) { /* empty */ }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n};\n\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !__webpack_require__(11)(function () {\n return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports) {\n\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n};\n\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(2);\nvar createDesc = __webpack_require__(12);\nmodule.exports = __webpack_require__(3) ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n object[key] = value;\n return object;\n};\n\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = __webpack_require__(56);\nvar defined = __webpack_require__(17);\nmodule.exports = function (it) {\n return IObject(defined(it));\n};\n\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar store = __webpack_require__(22)('wks');\nvar uid = __webpack_require__(14);\nvar Symbol = __webpack_require__(0).Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(0);\nvar core = __webpack_require__(1);\nvar ctx = __webpack_require__(28);\nvar hide = __webpack_require__(5);\nvar has = __webpack_require__(4);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var IS_WRAP = type & $export.W;\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE];\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n var key, own, out;\n if (IS_GLOBAL) source = name;\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n if (own && has(exports, key)) continue;\n // export native or passed\n out = own ? target[key] : source[key];\n // prevent global pollution for namespaces\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n // bind timers to global for call from export context\n : IS_BIND && own ? ctx(out, global)\n // wrap global constructors for prevent change them in library\n : IS_WRAP && target[key] == out ? (function (C) {\n var F = function (a, b, c) {\n if (this instanceof C) {\n switch (arguments.length) {\n case 0: return new C();\n case 1: return new C(a);\n case 2: return new C(a, b);\n } return new C(a, b, c);\n } return C.apply(this, arguments);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n // make static versions for prototype methods\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n if (IS_PROTO) {\n (exports.virtual || (exports.virtual = {}))[key] = out;\n // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n }\n }\n};\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(6);\nmodule.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n};\n\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n};\n\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports) {\n\nmodule.exports = true;\n\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports) {\n\nvar id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = __webpack_require__(6);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports) {\n\n// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports) {\n\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports) {\n\nmodule.exports = {};\n\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = __webpack_require__(10);\nvar dPs = __webpack_require__(55);\nvar enumBugKeys = __webpack_require__(23);\nvar IE_PROTO = __webpack_require__(21)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(30)('iframe');\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n __webpack_require__(60).appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n var result;\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = __webpack_require__(34);\nvar enumBugKeys = __webpack_require__(23);\n\nmodule.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n};\n\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar shared = __webpack_require__(22)('keys');\nvar uid = __webpack_require__(14);\nmodule.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar core = __webpack_require__(1);\nvar global = __webpack_require__(0);\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n version: core.version,\n mode: __webpack_require__(13) ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports) {\n\n// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar def = __webpack_require__(2).f;\nvar has = __webpack_require__(4);\nvar TAG = __webpack_require__(8)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports.f = __webpack_require__(8);\n\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar global = __webpack_require__(0);\nvar core = __webpack_require__(1);\nvar LIBRARY = __webpack_require__(13);\nvar wksExt = __webpack_require__(25);\nvar defineProperty = __webpack_require__(2).f;\nmodule.exports = function (name) {\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports) {\n\nexports.f = {}.propertyIsEnumerable;\n\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// optional / simple context binding\nvar aFunction = __webpack_require__(48);\nmodule.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n switch (length) {\n case 1: return function (a) {\n return fn.call(that, a);\n };\n case 2: return function (a, b) {\n return fn.call(that, a, b);\n };\n case 3: return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function (/* ...args */) {\n return fn.apply(that, arguments);\n };\n};\n\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = !__webpack_require__(3) && !__webpack_require__(11)(function () {\n return Object.defineProperty(__webpack_require__(30)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(6);\nvar document = __webpack_require__(0).document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n return is ? document.createElement(it) : {};\n};\n\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _iterator = __webpack_require__(50);\n\nvar _iterator2 = _interopRequireDefault(_iterator);\n\nvar _symbol = __webpack_require__(66);\n\nvar _symbol2 = _interopRequireDefault(_symbol);\n\nvar _typeof = typeof _symbol2.default === \"function\" && typeof _iterator2.default === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = typeof _symbol2.default === \"function\" && _typeof(_iterator2.default) === \"symbol\" ? function (obj) {\n return typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n} : function (obj) {\n return obj && typeof _symbol2.default === \"function\" && obj.constructor === _symbol2.default && obj !== _symbol2.default.prototype ? \"symbol\" : typeof obj === \"undefined\" ? \"undefined\" : _typeof(obj);\n};\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar LIBRARY = __webpack_require__(13);\nvar $export = __webpack_require__(9);\nvar redefine = __webpack_require__(33);\nvar hide = __webpack_require__(5);\nvar Iterators = __webpack_require__(18);\nvar $iterCreate = __webpack_require__(54);\nvar setToStringTag = __webpack_require__(24);\nvar getPrototypeOf = __webpack_require__(61);\nvar ITERATOR = __webpack_require__(8)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function (kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n switch (kind) {\n case KEYS: return function keys() { return new Constructor(this, kind); };\n case VALUES: return function values() { return new Constructor(this, kind); };\n } return function entries() { return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype;\n // Fix native\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() { return $native.call(this); };\n }\n // Define iterator\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(5);\n\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar has = __webpack_require__(4);\nvar toIObject = __webpack_require__(7);\nvar arrayIndexOf = __webpack_require__(57)(false);\nvar IE_PROTO = __webpack_require__(21)('IE_PROTO');\n\nmodule.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while (names.length > i) if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports) {\n\nvar toString = {}.toString;\n\nmodule.exports = function (it) {\n return toString.call(it).slice(8, -1);\n};\n\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.13 ToObject(argument)\nvar defined = __webpack_require__(17);\nmodule.exports = function (it) {\n return Object(defined(it));\n};\n\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports) {\n\nexports.f = Object.getOwnPropertySymbols;\n\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = __webpack_require__(34);\nvar hiddenKeys = __webpack_require__(23).concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n return $keys(O, hiddenKeys);\n};\n\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar pIE = __webpack_require__(27);\nvar createDesc = __webpack_require__(12);\nvar toIObject = __webpack_require__(7);\nvar toPrimitive = __webpack_require__(15);\nvar has = __webpack_require__(4);\nvar IE8_DOM_DEFINE = __webpack_require__(29);\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = __webpack_require__(3) ? gOPD : function getOwnPropertyDescriptor(O, P) {\n O = toIObject(O);\n P = toPrimitive(P, true);\n if (IE8_DOM_DEFINE) try {\n return gOPD(O, P);\n } catch (e) { /* empty */ }\n if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(exports,\"__esModule\",{value:true});var _main=__webpack_require__(41);var _main2=_interopRequireDefault(_main);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=_main2.default;module.exports=exports['default'];\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(process) {Object.defineProperty(exports,\"__esModule\",{value:true});var _classCallCheck2=__webpack_require__(43);var _classCallCheck3=_interopRequireDefault(_classCallCheck2);var _createClass2=__webpack_require__(44);var _createClass3=_interopRequireDefault(_createClass2);var _possibleConstructorReturn2=__webpack_require__(49);var _possibleConstructorReturn3=_interopRequireDefault(_possibleConstructorReturn2);var _inherits2=__webpack_require__(76);var _inherits3=_interopRequireDefault(_inherits2);var _clappr=__webpack_require__(84);var _levelSelector=__webpack_require__(85);var _levelSelector2=_interopRequireDefault(_levelSelector);var _style=__webpack_require__(86);var _style2=_interopRequireDefault(_style);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}var AUTO=-1;var LevelSelector=function(_UICorePlugin){(0,_inherits3.default)(LevelSelector,_UICorePlugin);function LevelSelector(){(0,_classCallCheck3.default)(this,LevelSelector);return(0,_possibleConstructorReturn3.default)(this,_UICorePlugin.apply(this,arguments));}LevelSelector.prototype.bindEvents=function bindEvents(){this.listenTo(this.core,_clappr.Events.CORE_READY,this.bindPlaybackEvents);if(_clappr.Events.CORE_ACTIVE_CONTAINER_CHANGED)this.listenTo(this.core,_clappr.Events.CORE_ACTIVE_CONTAINER_CHANGED,this.reload);else this.listenTo(this.core.mediaControl,_clappr.Events.MEDIACONTROL_CONTAINERCHANGED,this.reload);this.listenTo(this.core.mediaControl,_clappr.Events.MEDIACONTROL_RENDERED,this.render);this.listenTo(this.core.mediaControl,_clappr.Events.MEDIACONTROL_HIDE,this.hideSelectLevelMenu);};LevelSelector.prototype.bindPlaybackEvents=function bindPlaybackEvents(){if(!this.playback)return;this.listenTo(this.playback,_clappr.Events.PLAYBACK_LEVELS_AVAILABLE,this.fillLevels);this.listenTo(this.playback,_clappr.Events.PLAYBACK_LEVEL_SWITCH_START,this.startLevelSwitch);this.listenTo(this.playback,_clappr.Events.PLAYBACK_LEVEL_SWITCH_END,this.stopLevelSwitch);this.listenTo(this.playback,_clappr.Events.PLAYBACK_BITRATE,this.updateCurrentLevel);var playbackLevelsAvailableWasTriggered=this.playback.levels&&this.playback.levels.length>0;playbackLevelsAvailableWasTriggered&&this.fillLevels(this.playback.levels);};LevelSelector.prototype.reload=function reload(){var _this2=this;this.stopListening();// Ensure it stop listening before rebind events (avoid duplicate events)\nprocess.nextTick(function(){_this2.bindEvents();_this2.bindPlaybackEvents();});};LevelSelector.prototype.shouldRender=function shouldRender(){if(!this.container||!this.playback)return false;var respondsToCurrentLevel=this.playback.currentLevel!==undefined;// Only care if we have at least 2 to choose from\nvar hasLevels=!!(this.levels&&this.levels.length>1);return respondsToCurrentLevel&&hasLevels;};LevelSelector.prototype.render=function render(){if(this.shouldRender()){var style=_clappr.Styler.getStyleFor(_style2.default,{baseUrl:this.core.options.baseUrl});this.$el.html(this.template({'levels':this.levels,'title':this.getTitle()}));this.$el.append(style);this.core.mediaControl.$('.media-control-right-panel').append(this.el);this.$('.level_selector ul').css('max-height',this.core.el.offsetHeight*0.8);this.highlightCurrentLevel();}return this;};LevelSelector.prototype.fillLevels=function fillLevels(levels){var initialLevel=arguments.length>1&&arguments[1]!==undefined?arguments[1]:AUTO;if(this.selectedLevelId===undefined)this.selectedLevelId=initialLevel;var onLevelsAvailable=this.core.options&&this.core.options.levelSelectorConfig&&this.core.options.levelSelectorConfig.onLevelsAvailable;if(onLevelsAvailable){if(typeof onLevelsAvailable==='function')levels=onLevelsAvailable(levels.slice());else throw new TypeError('onLevelsAvailable must be a function');}this.levels=levels;this.configureLevelsLabels();this.render();};LevelSelector.prototype.configureLevelsLabels=function configureLevelsLabels(){if(this.core.options.levelSelectorConfig===undefined)return;var labelCallback=this.core.options.levelSelectorConfig.labelCallback;if(labelCallback&&typeof labelCallback!=='function')throw new TypeError('labelCallback must be a function');var hasLabels=this.core.options.levelSelectorConfig.labels;var labels=hasLabels?this.core.options.levelSelectorConfig.labels:{};if(labelCallback||hasLabels){var level=void 0;var label=void 0;for(var levelId in this.levels){level=this.levels[levelId];label=labels[level.id];if(labelCallback)level.label=labelCallback(level,label);else if(label)level.label=label;}}};LevelSelector.prototype.findLevelBy=function findLevelBy(id){var foundLevel=void 0;this.levels.forEach(function(level){if(level.id===id)foundLevel=level;});return foundLevel;};LevelSelector.prototype.onLevelSelect=function onLevelSelect(event){this.selectedLevelId=parseInt(event.target.dataset.levelSelectorSelect,10);if(this.playback.currentLevel==this.selectedLevelId)return false;this.playback.currentLevel=this.selectedLevelId;this.toggleContextMenu();event.stopPropagation();return false;};LevelSelector.prototype.onShowLevelSelectMenu=function onShowLevelSelectMenu(){this.toggleContextMenu();};LevelSelector.prototype.hideSelectLevelMenu=function hideSelectLevelMenu(){this.$('.level_selector ul').hide();};LevelSelector.prototype.toggleContextMenu=function toggleContextMenu(){this.$('.level_selector ul').toggle();};LevelSelector.prototype.buttonElement=function buttonElement(){return this.$('.level_selector button');};LevelSelector.prototype.levelElement=function levelElement(id){return this.$('.level_selector ul a'+(!isNaN(id)?'[data-level-selector-select=\"'+id+'\"]':'')).parent();};LevelSelector.prototype.getTitle=function getTitle(){return(this.core.options.levelSelectorConfig||{}).title;};LevelSelector.prototype.startLevelSwitch=function startLevelSwitch(){this.buttonElement().addClass('changing');};LevelSelector.prototype.stopLevelSwitch=function stopLevelSwitch(){this.buttonElement().removeClass('changing');};LevelSelector.prototype.updateText=function updateText(level){if(level===AUTO)this.buttonElement().text(this.currentLevel?'AUTO ('+this.currentLevel.label+')':'AUTO');else this.buttonElement().text(this.findLevelBy(level).label);};LevelSelector.prototype.updateCurrentLevel=function updateCurrentLevel(info){var level=this.findLevelBy(info.level);this.currentLevel=level?level:null;this.highlightCurrentLevel();};LevelSelector.prototype.highlightCurrentLevel=function highlightCurrentLevel(){var _this3=this;this.levelElement().removeClass('current');this.currentLevel&&this.levelElement(this.currentLevel.id).addClass('current');this.updateText(this.selectedLevelId);// hide levels with other languages\nvar currentLanguage=this.currentLevel&&this.currentLevel.language;if(currentLanguage){this.levelElement().removeClass('hidden');this.levels.forEach(function(level){if(level.language!=currentLanguage)_this3.levelElement(level.id).addClass('hidden');});}};(0,_createClass3.default)(LevelSelector,[{key:'name',get:function get(){return'level_selector';}},{key:'template',get:function get(){return(0,_clappr.template)(_levelSelector2.default);}},{key:'attributes',get:function get(){return{'class':this.name,'data-level-selector':''};}},{key:'events',get:function get(){return{'click [data-level-selector-select]':'onLevelSelect','click [data-level-selector-button]':'onShowLevelSelectMenu'};}},{key:'container',get:function get(){return this.core.activeContainer?this.core.activeContainer:this.core.mediaControl.container;}},{key:'playback',get:function get(){return this.core.activePlayback?this.core.activePlayback:this.core.getCurrentPlayback();}}],[{key:'version',get:function get(){return VERSION;}}]);return LevelSelector;}(_clappr.UICorePlugin);exports.default=LevelSelector;module.exports=exports['default'];\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(42)))\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports) {\n\n// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nexports.default = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _defineProperty = __webpack_require__(45);\n\nvar _defineProperty2 = _interopRequireDefault(_defineProperty);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n (0, _defineProperty2.default)(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(46), __esModule: true };\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(47);\nvar $Object = __webpack_require__(1).Object;\nmodule.exports = function defineProperty(it, key, desc) {\n return $Object.defineProperty(it, key, desc);\n};\n\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(9);\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !__webpack_require__(3), 'Object', { defineProperty: __webpack_require__(2).f });\n\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _typeof2 = __webpack_require__(31);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && ((typeof call === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(call)) === \"object\" || typeof call === \"function\") ? call : self;\n};\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(51), __esModule: true };\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(52);\n__webpack_require__(62);\nmodule.exports = __webpack_require__(25).f('iterator');\n\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar $at = __webpack_require__(53)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n__webpack_require__(32)(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(16);\nvar defined = __webpack_require__(17);\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n\n/***/ }),\n/* 54 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar create = __webpack_require__(19);\nvar descriptor = __webpack_require__(12);\nvar setToStringTag = __webpack_require__(24);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n__webpack_require__(5)(IteratorPrototype, __webpack_require__(8)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n/***/ }),\n/* 55 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar dP = __webpack_require__(2);\nvar anObject = __webpack_require__(10);\nvar getKeys = __webpack_require__(20);\n\nmodule.exports = __webpack_require__(3) ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n/***/ }),\n/* 56 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = __webpack_require__(35);\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n/***/ }),\n/* 57 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = __webpack_require__(7);\nvar toLength = __webpack_require__(58);\nvar toAbsoluteIndex = __webpack_require__(59);\nmodule.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value;\n // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++];\n // eslint-disable-next-line no-self-compare\n if (value != value) return true;\n // Array#indexOf ignores holes, Array#includes - not\n } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n/***/ }),\n/* 58 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.1.15 ToLength\nvar toInteger = __webpack_require__(16);\nvar min = Math.min;\nmodule.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n/***/ }),\n/* 59 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar toInteger = __webpack_require__(16);\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n/***/ }),\n/* 60 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar document = __webpack_require__(0).document;\nmodule.exports = document && document.documentElement;\n\n\n/***/ }),\n/* 61 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = __webpack_require__(4);\nvar toObject = __webpack_require__(36);\nvar IE_PROTO = __webpack_require__(21)('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n/***/ }),\n/* 62 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(63);\nvar global = __webpack_require__(0);\nvar hide = __webpack_require__(5);\nvar Iterators = __webpack_require__(18);\nvar TO_STRING_TAG = __webpack_require__(8)('toStringTag');\n\nvar DOMIterables = ('CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,' +\n 'DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,' +\n 'MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,' +\n 'SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,' +\n 'TextTrackList,TouchList').split(',');\n\nfor (var i = 0; i < DOMIterables.length; i++) {\n var NAME = DOMIterables[i];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n if (proto && !proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = Iterators.Array;\n}\n\n\n/***/ }),\n/* 63 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\nvar addToUnscopables = __webpack_require__(64);\nvar step = __webpack_require__(65);\nvar Iterators = __webpack_require__(18);\nvar toIObject = __webpack_require__(7);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = __webpack_require__(32)(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n/***/ }),\n/* 64 */\n/***/ (function(module, exports) {\n\nmodule.exports = function () { /* empty */ };\n\n\n/***/ }),\n/* 65 */\n/***/ (function(module, exports) {\n\nmodule.exports = function (done, value) {\n return { value: value, done: !!done };\n};\n\n\n/***/ }),\n/* 66 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(67), __esModule: true };\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(68);\n__webpack_require__(73);\n__webpack_require__(74);\n__webpack_require__(75);\nmodule.exports = __webpack_require__(1).Symbol;\n\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n// ECMAScript 6 symbols shim\nvar global = __webpack_require__(0);\nvar has = __webpack_require__(4);\nvar DESCRIPTORS = __webpack_require__(3);\nvar $export = __webpack_require__(9);\nvar redefine = __webpack_require__(33);\nvar META = __webpack_require__(69).KEY;\nvar $fails = __webpack_require__(11);\nvar shared = __webpack_require__(22);\nvar setToStringTag = __webpack_require__(24);\nvar uid = __webpack_require__(14);\nvar wks = __webpack_require__(8);\nvar wksExt = __webpack_require__(25);\nvar wksDefine = __webpack_require__(26);\nvar enumKeys = __webpack_require__(70);\nvar isArray = __webpack_require__(71);\nvar anObject = __webpack_require__(10);\nvar isObject = __webpack_require__(6);\nvar toObject = __webpack_require__(36);\nvar toIObject = __webpack_require__(7);\nvar toPrimitive = __webpack_require__(15);\nvar createDesc = __webpack_require__(12);\nvar _create = __webpack_require__(19);\nvar gOPNExt = __webpack_require__(72);\nvar $GOPD = __webpack_require__(39);\nvar $GOPS = __webpack_require__(37);\nvar $DP = __webpack_require__(2);\nvar $keys = __webpack_require__(20);\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n return _create(dP({}, 'a', {\n get: function () { return dP(this, 'a', { value: 7 }).a; }\n })).a != 7;\n}) ? function (it, key, D) {\n var protoDesc = gOPD(ObjectProto, key);\n if (protoDesc) delete ObjectProto[key];\n dP(it, key, D);\n if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n return typeof it == 'symbol';\n} : function (it) {\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if (has(AllSymbols, key)) {\n if (!D.enumerable) {\n if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n D = _create(D, { enumerable: createDesc(0, false) });\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n anObject(it);\n var keys = enumKeys(P = toIObject(P));\n var i = 0;\n var l = keys.length;\n var key;\n while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P) {\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n it = toIObject(it);\n key = toPrimitive(key, true);\n if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n var D = gOPD(it, key);\n if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n var names = gOPN(toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n var IS_OP = it === ObjectProto;\n var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n var result = [];\n var i = 0;\n var key;\n while (names.length > i) {\n if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n $Symbol = function Symbol() {\n if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function (value) {\n if (this === ObjectProto) $set.call(OPSymbols, value);\n if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n __webpack_require__(38).f = gOPNExt.f = $getOwnPropertyNames;\n __webpack_require__(27).f = $propertyIsEnumerable;\n $GOPS.f = $getOwnPropertySymbols;\n\n if (DESCRIPTORS && !__webpack_require__(13)) {\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function (name) {\n return wrap(wks(name));\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function (key) {\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(sym) {\n if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n },\n useSetter: function () { setter = true; },\n useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n return $GOPS.f(toObject(it));\n }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it) {\n var args = [it];\n var i = 1;\n var replacer, $replacer;\n while (arguments.length > i) args.push(arguments[i++]);\n $replacer = replacer = args[1];\n if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n if (!isArray(replacer)) replacer = function (key, value) {\n if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n if (!isSymbol(value)) return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(5)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar META = __webpack_require__(14)('meta');\nvar isObject = __webpack_require__(6);\nvar has = __webpack_require__(4);\nvar setDesc = __webpack_require__(2).f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !__webpack_require__(11)(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// all enumerable object keys, includes symbols\nvar getKeys = __webpack_require__(20);\nvar gOPS = __webpack_require__(37);\nvar pIE = __webpack_require__(27);\nmodule.exports = function (it) {\n var result = getKeys(it);\n var getSymbols = gOPS.f;\n if (getSymbols) {\n var symbols = getSymbols(it);\n var isEnum = pIE.f;\n var i = 0;\n var key;\n while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n } return result;\n};\n\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 7.2.2 IsArray(argument)\nvar cof = __webpack_require__(35);\nmodule.exports = Array.isArray || function isArray(arg) {\n return cof(arg) == 'Array';\n};\n\n\n/***/ }),\n/* 72 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = __webpack_require__(7);\nvar gOPN = __webpack_require__(38).f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n try {\n return gOPN(it);\n } catch (e) {\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n/***/ }),\n/* 73 */\n/***/ (function(module, exports) {\n\n\n\n/***/ }),\n/* 74 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(26)('asyncIterator');\n\n\n/***/ }),\n/* 75 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(26)('observable');\n\n\n/***/ }),\n/* 76 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nexports.__esModule = true;\n\nvar _setPrototypeOf = __webpack_require__(77);\n\nvar _setPrototypeOf2 = _interopRequireDefault(_setPrototypeOf);\n\nvar _create = __webpack_require__(81);\n\nvar _create2 = _interopRequireDefault(_create);\n\nvar _typeof2 = __webpack_require__(31);\n\nvar _typeof3 = _interopRequireDefault(_typeof2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = function (subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + (typeof superClass === \"undefined\" ? \"undefined\" : (0, _typeof3.default)(superClass)));\n }\n\n subClass.prototype = (0, _create2.default)(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) _setPrototypeOf2.default ? (0, _setPrototypeOf2.default)(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\n/***/ }),\n/* 77 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(78), __esModule: true };\n\n/***/ }),\n/* 78 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(79);\nmodule.exports = __webpack_require__(1).Object.setPrototypeOf;\n\n\n/***/ }),\n/* 79 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = __webpack_require__(9);\n$export($export.S, 'Object', { setPrototypeOf: __webpack_require__(80).set });\n\n\n/***/ }),\n/* 80 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = __webpack_require__(6);\nvar anObject = __webpack_require__(10);\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = __webpack_require__(28)(Function.call, __webpack_require__(39).f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n/***/ }),\n/* 81 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = { \"default\": __webpack_require__(82), __esModule: true };\n\n/***/ }),\n/* 82 */\n/***/ (function(module, exports, __webpack_require__) {\n\n__webpack_require__(83);\nvar $Object = __webpack_require__(1).Object;\nmodule.exports = function create(P, D) {\n return $Object.create(P, D);\n};\n\n\n/***/ }),\n/* 83 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar $export = __webpack_require__(9);\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: __webpack_require__(19) });\n\n\n/***/ }),\n/* 84 */\n/***/ (function(module, exports) {\n\nmodule.exports = __WEBPACK_EXTERNAL_MODULE_84__;\n\n/***/ }),\n/* 85 */\n/***/ (function(module, exports) {\n\nmodule.exports = \"<button data-level-selector-button>\\n Auto\\n</button>\\n<ul>\\n <% if (title) { %>\\n <li data-title><%= title %></li>\\n <% }; %>\\n <li><a href=\\\"#\\\" data-level-selector-select=\\\"-1\\\">AUTO</a></li>\\n <% for (var i = 0; i < levels.length; i++) { %>\\n <li><a href=\\\"#\\\" data-level-selector-select=\\\"<%= levels[i].id %>\\\"><%= levels[i].label %></a></li>\\n <% }; %>\\n</ul>\\n\";\n\n/***/ }),\n/* 86 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = __webpack_require__(87);\nif(typeof content === 'string') content = [[module.i, content, '']];\n// add the styles to the DOM\nvar update = __webpack_require__(89)(content, {\"singleton\":true});\nif(content.locals) module.exports = content.locals;\n// Hot Module Replacement\nif(false) {\n\t// When the styles change, update the <style> tags\n\tif(!content.locals) {\n\t\tmodule.hot.accept(\"!!../../node_modules/css-loader/index.js!../../node_modules/postcss-loader/lib/index.js!../../node_modules/sass-loader/lib/loader.js?includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/compass-mixins/lib&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/clappr/src/base/scss&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/src/base/scss!./style.scss\", function() {\n\t\t\tvar newContent = require(\"!!../../node_modules/css-loader/index.js!../../node_modules/postcss-loader/lib/index.js!../../node_modules/sass-loader/lib/loader.js?includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/compass-mixins/lib&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/node_modules/clappr/src/base/scss&includePaths[]=/home/anton/Projects/web/clappr-level-selector-plugin/src/base/scss!./style.scss\");\n\t\t\tif(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n\t\t\tupdate(newContent);\n\t\t});\n\t}\n\t// When the module is disposed, remove the <style> tags\n\tmodule.hot.dispose(function() { update(); });\n}\n\n/***/ }),\n/* 87 */\n/***/ (function(module, exports, __webpack_require__) {\n\nexports = module.exports = __webpack_require__(88)(false);\n// imports\n\n\n// module\nexports.push([module.i, \".level_selector[data-level-selector] {\\n float: right;\\n position: relative;\\n height: 100%; }\\n .level_selector[data-level-selector] button {\\n background-color: transparent;\\n color: #fff;\\n font-family: Roboto,\\\"Open Sans\\\",Arial,sans-serif;\\n -webkit-font-smoothing: antialiased;\\n border: none;\\n font-size: 12px;\\n height: 100%; }\\n .level_selector[data-level-selector] button:hover {\\n color: #c9c9c9; }\\n .level_selector[data-level-selector] button.changing {\\n -webkit-animation: pulse 0.5s infinite alternate; }\\n .level_selector[data-level-selector] > ul {\\n overflow-x: hidden;\\n overflow-y: auto;\\n list-style-type: none;\\n position: absolute;\\n bottom: 100%;\\n display: none;\\n background-color: rgba(28, 28, 28, 0.9);\\n white-space: nowrap; }\\n .level_selector[data-level-selector] li {\\n font-size: 12px;\\n color: #eee; }\\n .level_selector[data-level-selector] li[data-title] {\\n background-color: #333;\\n padding: 8px 25px; }\\n .level_selector[data-level-selector] li a {\\n color: #eee;\\n padding: 5px 18px;\\n display: block;\\n text-decoration: none; }\\n .level_selector[data-level-selector] li a:hover {\\n background-color: rgba(255, 255, 255, 0.1);\\n color: #fff; }\\n .level_selector[data-level-selector] li a:hover a {\\n color: #fff;\\n text-decoration: none; }\\n .level_selector[data-level-selector] li.current a {\\n color: #2ecc71; }\\n .level_selector[data-level-selector] li.hidden {\\n display: none; }\\n\", \"\"]);\n\n// exports\n\n\n/***/ }),\n/* 88 */\n/***/ (function(module, exports) {\n\n/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n\n\n/***/ }),\n/* 89 */\n/***/ (function(module, exports) {\n\n/*\r\n\tMIT License http://www.opensource.org/licenses/mit-license.php\r\n\tAuthor Tobias Koppers @sokra\r\n*/\r\nvar stylesInDom = {},\r\n\tmemoize = function(fn) {\r\n\t\tvar memo;\r\n\t\treturn function () {\r\n\t\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\r\n\t\t\treturn memo;\r\n\t\t};\r\n\t},\r\n\tisOldIE = memoize(function() {\r\n\t\treturn /msie [6-9]\\b/.test(window.navigator.userAgent.toLowerCase());\r\n\t}),\r\n\tgetHeadElement = memoize(function () {\r\n\t\treturn document.head || document.getElementsByTagName(\"head\")[0];\r\n\t}),\r\n\tsingletonElement = null,\r\n\tsingletonCounter = 0;\r\n\r\nmodule.exports = function(list, options) {\r\n\tif(typeof DEBUG !== \"undefined\" && DEBUG) {\r\n\t\tif(typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\r\n\t}\r\n\r\n\toptions = options || {};\r\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\r\n\t// tags it will allow on a page\r\n\tif (typeof options.singleton === \"undefined\") options.singleton = isOldIE();\r\n\r\n\tvar styles = listToStyles(list);\r\n\taddStylesToDom(styles, options);\r\n\r\n\treturn function update(newList) {\r\n\t\tvar mayRemove = [];\r\n\t\tfor(var i = 0; i < styles.length; i++) {\r\n\t\t\tvar item = styles[i];\r\n\t\t\tvar domStyle = stylesInDom[item.id];\r\n\t\t\tdomStyle.refs--;\r\n\t\t\tmayRemove.push(domStyle);\r\n\t\t}\r\n\t\tif(newList) {\r\n\t\t\tvar newStyles = listToStyles(newList);\r\n\t\t\taddStylesToDom(newStyles, options);\r\n\t\t}\r\n\t\tfor(var i = 0; i < mayRemove.length; i++) {\r\n\t\t\tvar domStyle = mayRemove[i];\r\n\t\t\tif(domStyle.refs === 0) {\r\n\t\t\t\tfor(var j = 0; j < domStyle.parts.length; j++)\r\n\t\t\t\t\tdomStyle.parts[j]();\r\n\t\t\t\tdelete stylesInDom[domStyle.id];\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction addStylesToDom(styles, options) {\r\n\tfor(var i = 0; i < styles.length; i++) {\r\n\t\tvar item = styles[i];\r\n\t\tvar domStyle = stylesInDom[item.id];\r\n\t\tif(domStyle) {\r\n\t\t\tdomStyle.refs++;\r\n\t\t\tfor(var j = 0; j < domStyle.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts[j](item.parts[j]);\r\n\t\t\t}\r\n\t\t\tfor(; j < item.parts.length; j++) {\r\n\t\t\t\tdomStyle.parts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvar parts = [];\r\n\t\t\tfor(var j = 0; j < item.parts.length; j++) {\r\n\t\t\t\tparts.push(addStyle(item.parts[j], options));\r\n\t\t\t}\r\n\t\t\tstylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction listToStyles(list) {\r\n\tvar styles = [];\r\n\tvar newStyles = {};\r\n\tfor(var i = 0; i < list.length; i++) {\r\n\t\tvar item = list[i];\r\n\t\tvar id = item[0];\r\n\t\tvar css = item[1];\r\n\t\tvar media = item[2];\r\n\t\tvar sourceMap = item[3];\r\n\t\tvar part = {css: css, media: media, sourceMap: sourceMap};\r\n\t\tif(!newStyles[id])\r\n\t\t\tstyles.push(newStyles[id] = {id: id, parts: [part]});\r\n\t\telse\r\n\t\t\tnewStyles[id].parts.push(part);\r\n\t}\r\n\treturn styles;\r\n}\r\n\r\nfunction createStyleElement() {\r\n\tvar styleElement = document.createElement(\"style\");\r\n\tvar head = getHeadElement();\r\n\tstyleElement.type = \"text/css\";\r\n\thead.appendChild(styleElement);\r\n\treturn styleElement;\r\n}\r\n\r\nfunction createLinkElement() {\r\n\tvar linkElement = document.createElement(\"link\");\r\n\tvar head = getHeadElement();\r\n\tlinkElement.rel = \"stylesheet\";\r\n\thead.appendChild(linkElement);\r\n\treturn linkElement;\r\n}\r\n\r\nfunction addStyle(obj, options) {\r\n\tvar styleElement, update, remove;\r\n\r\n\tif (options.singleton) {\r\n\t\tvar styleIndex = singletonCounter++;\r\n\t\tstyleElement = singletonElement || (singletonElement = createStyleElement());\r\n\t\tupdate = applyToSingletonTag.bind(null, styleElement, styleIndex, false);\r\n\t\tremove = applyToSingletonTag.bind(null, styleElement, styleIndex, true);\r\n\t} else if(obj.sourceMap &&\r\n\t\ttypeof URL === \"function\" &&\r\n\t\ttypeof URL.createObjectURL === \"function\" &&\r\n\t\ttypeof URL.revokeObjectURL === \"function\" &&\r\n\t\ttypeof Blob === \"function\" &&\r\n\t\ttypeof btoa === \"function\") {\r\n\t\tstyleElement = createLinkElement();\r\n\t\tupdate = updateLink.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tstyleElement.parentNode.removeChild(styleElement);\r\n\t\t\tif(styleElement.href)\r\n\t\t\t\tURL.revokeObjectURL(styleElement.href);\r\n\t\t};\r\n\t} else {\r\n\t\tstyleElement = createStyleElement();\r\n\t\tupdate = applyToTag.bind(null, styleElement);\r\n\t\tremove = function() {\r\n\t\t\tstyleElement.parentNode.removeChild(styleElement);\r\n\t\t};\r\n\t}\r\n\r\n\tupdate(obj);\r\n\r\n\treturn function updateStyle(newObj) {\r\n\t\tif(newObj) {\r\n\t\t\tif(newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap)\r\n\t\t\t\treturn;\r\n\t\t\tupdate(obj = newObj);\r\n\t\t} else {\r\n\t\t\tremove();\r\n\t\t}\r\n\t};\r\n}\r\n\r\nvar replaceText = (function () {\r\n\tvar textStore = [];\r\n\r\n\treturn function (index, replacement) {\r\n\t\ttextStore[index] = replacement;\r\n\t\treturn textStore.filter(Boolean).join('\\n');\r\n\t};\r\n})();\r\n\r\nfunction applyToSingletonTag(styleElement, index, remove, obj) {\r\n\tvar css = remove ? \"\" : obj.css;\r\n\r\n\tif (styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = replaceText(index, css);\r\n\t} else {\r\n\t\tvar cssNode = document.createTextNode(css);\r\n\t\tvar childNodes = styleElement.childNodes;\r\n\t\tif (childNodes[index]) styleElement.removeChild(childNodes[index]);\r\n\t\tif (childNodes.length) {\r\n\t\t\tstyleElement.insertBefore(cssNode, childNodes[index]);\r\n\t\t} else {\r\n\t\t\tstyleElement.appendChild(cssNode);\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction applyToTag(styleElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar media = obj.media;\r\n\tvar sourceMap = obj.sourceMap;\r\n\r\n\tif(media) {\r\n\t\tstyleElement.setAttribute(\"media\", media)\r\n\t}\r\n\r\n\tif(styleElement.styleSheet) {\r\n\t\tstyleElement.styleSheet.cssText = css;\r\n\t} else {\r\n\t\twhile(styleElement.firstChild) {\r\n\t\t\tstyleElement.removeChild(styleElement.firstChild);\r\n\t\t}\r\n\t\tstyleElement.appendChild(document.createTextNode(css));\r\n\t}\r\n}\r\n\r\nfunction updateLink(linkElement, obj) {\r\n\tvar css = obj.css;\r\n\tvar media = obj.media;\r\n\tvar sourceMap = obj.sourceMap;\r\n\r\n\tif(sourceMap) {\r\n\t\t// http://stackoverflow.com/a/26603875\r\n\t\tcss += \"\\n/*# sourceMappingURL=data:application/json;base64,\" + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + \" */\";\r\n\t}\r\n\r\n\tvar blob = new Blob([css], { type: \"text/css\" });\r\n\r\n\tvar oldSrc = linkElement.href;\r\n\r\n\tlinkElement.href = URL.createObjectURL(blob);\r\n\r\n\tif(oldSrc)\r\n\t\tURL.revokeObjectURL(oldSrc);\r\n}\r\n\n\n/***/ })\n/******/ ]);\n});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"clappr\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"clappr\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"AudioTrackSelector\"] = factory(require(\"clappr\"));\n\telse\n\t\troot[\"AudioTrackSelector\"] = factory(root[\"Clappr\"]);\n})(window, function(__WEBPACK_EXTERNAL_MODULE_clappr__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"./src/main.js\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"./node_modules/css-loader/dist/runtime/api.js\":\n/*!*****************************************************!*\\\n !*** ./node_modules/css-loader/dist/runtime/api.js ***!\n \\*****************************************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\neval(\"/*\\n MIT License http://www.opensource.org/licenses/mit-license.php\\n Author Tobias Koppers @sokra\\n*/ // css base code, injected by the css-loader\\n// eslint-disable-next-line func-names\\nmodule.exports=function(useSourceMap){var list=[];// return the list of modules as css string\\nlist.toString=function toString(){return this.map(function(item){var content=cssWithMappingToString(item,useSourceMap);if(item[2]){return\\\"@media \\\".concat(item[2],\\\" {\\\").concat(content,\\\"}\\\");}return content;}).join('');};// import a list of modules into the list\\n// eslint-disable-next-line func-names\\nlist.i=function(modules,mediaQuery,dedupe){if(typeof modules==='string'){// eslint-disable-next-line no-param-reassign\\nmodules=[[null,modules,'']];}var alreadyImportedModules={};if(dedupe){for(var i=0;i<this.length;i++){// eslint-disable-next-line prefer-destructuring\\nvar id=this[i][0];if(id!=null){alreadyImportedModules[id]=true;}}}for(var _i=0;_i<modules.length;_i++){var item=[].concat(modules[_i]);if(dedupe&&alreadyImportedModules[item[0]]){// eslint-disable-next-line no-continue\\ncontinue;}if(mediaQuery){if(!item[2]){item[2]=mediaQuery;}else{item[2]=\\\"\\\".concat(mediaQuery,\\\" and \\\").concat(item[2]);}}list.push(item);}};return list;};function cssWithMappingToString(item,useSourceMap){var content=item[1]||'';// eslint-disable-next-line prefer-destructuring\\nvar cssMapping=item[3];if(!cssMapping){return content;}if(useSourceMap&&typeof btoa==='function'){var sourceMapping=toComment(cssMapping);var sourceURLs=cssMapping.sources.map(function(source){return\\\"/*# sourceURL=\\\".concat(cssMapping.sourceRoot||'').concat(source,\\\" */\\\");});return[content].concat(sourceURLs).concat([sourceMapping]).join('\\\\n');}return[content].join('\\\\n');}// Adapted from convert-source-map (MIT)\\nfunction toComment(sourceMap){// eslint-disable-next-line no-undef\\nvar base64=btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));var data=\\\"sourceMappingURL=data:application/json;charset=utf-8;base64,\\\".concat(base64);return\\\"/*# \\\".concat(data,\\\" */\\\");}\\n\\n//# sourceURL=webpack://AudioTrackSelector/./node_modules/css-loader/dist/runtime/api.js?\");\n\n/***/ }),\n\n/***/ \"./src/main.js\":\n/*!*********************!*\\\n !*** ./src/main.js ***!\n \\*********************/\n/*! exports provided: default */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\neval(\"__webpack_require__.r(__webpack_exports__);\\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \\\"default\\\", function() { return AudioTrackSelector; });\\n/* harmony import */ var clappr__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! clappr */ \\\"clappr\\\");\\n/* harmony import */ var clappr__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(clappr__WEBPACK_IMPORTED_MODULE_0__);\\n/* harmony import */ var _public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./public/audio-track-selector.html */ \\\"./src/public/audio-track-selector.html\\\");\\n/* harmony import */ var _public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1__);\\n/* harmony import */ var _public_style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./public/style.scss */ \\\"./src/public/style.scss\\\");\\n/* harmony import */ var _public_style_scss__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_public_style_scss__WEBPACK_IMPORTED_MODULE_2__);\\nclass AudioTrackSelector extends clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"UICorePlugin\\\"]{static get version(){return VERSION;}get name(){return'audio_track_selector';}get template(){return Object(clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"template\\\"])(_public_audio_track_selector_html__WEBPACK_IMPORTED_MODULE_1___default.a);}get attributes(){return{'class':this.name,'data-audio-track-selector':''};}get events(){return{'click [data-audio-track-selector-lang]':'handleLanguageSelect','click [data-audio-track-selector-button]':'handleAudioTrackSelectorClick'};}get container(){return this.core.activeContainer?this.core.activeContainer:this.core.mediaControl.container;}get playback(){return this.core.activePlayback?this.core.activePlayback:this.core.getCurrentPlayback();}bindEvents(){if(clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].CORE_ACTIVE_CONTAINER_CHANGED)this.listenTo(this.core,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].CORE_ACTIVE_CONTAINER_CHANGED,this.reload);else this.listenTo(this.core.mediaControl,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].MEDIACONTROL_CONTAINERCHANGED,this.reload);this.listenTo(this.core,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].CORE_READY,this.bindPlaybackEvents);this.listenTo(this.core.mediaControl,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].MEDIACONTROL_RENDERED,this.render);this.listenTo(this.core.mediaControl,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].MEDIACONTROL_HIDE,this._hideContextMenu);}bindPlaybackEvents(){this.listenTo(this.playback,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].PLAYBACK_LEVELS_AVAILABLE,this._handleLevels);this.listenTo(this.playback,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].PLAYBACK_BITRATE,this._handleAdaptation);this.listenTo(this.playback,clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Events\\\"].PLAYBACK_PLAY,this._handlePlay);}reload(){this.stopListening();this.bindEvents();this.bindPlaybackEvents();}shouldRender(){if(!this.container)return false;if(!this.playback)return false;// Only care if we have at least 2 languages to choose from\\nvar hasChoice=!!(this.languages&&this.languages.size>1);return hasChoice;}render(){if(this.shouldRender()){var style=clappr__WEBPACK_IMPORTED_MODULE_0__[\\\"Styler\\\"].getStyleFor(_public_style_scss__WEBPACK_IMPORTED_MODULE_2___default.a,{baseUrl:this.core.options.baseUrl});this.$el.html(this.template({'title':this._getTitle(),'languages':this.languages}));this.$el.append(style);this.core.mediaControl.$('.media-control-right-panel').append(this.el);this._highlightCurrentElement();}return this;}_setLanguage(language){console.log(\\\"setLanguage\\\",language);// custom voc dash-shaka-playback\\nif(this.playback.selectAudioLanguage){this.nextLanguage=language;this._startTrackSwitch();this.playback.selectAudioLanguage(language);// hlsjs playback\\n}else if(this.playback._hls){// hlsjs may have multiple audiotracks with the same language\\n// this will just switch to the first one\\nconst track=this.playback._hls.audioTracks.find(track=>track.lang==language);if(!track)return;this.playback._hls.audioTrack=track.id;this.activeLanguage=language;this._highlightCurrentElement();}}_fillLanguages(){// custom voc dash-shaka-playback\\nif(this.playback.audioLanguages){this.languages=new Set(this.playback.audioLanguages);// hlsjs playback\\n}else if(this.playback._hls){const audioTracks=this.playback._hls.audioTracks;const trackId=this.playback._hls.audioTrack;const current=audioTracks.find(track=>track.id==trackId);this.languages=new Set(audioTracks.map(track=>track.lang));if(current){this.activeLanguage=current.lang;}}this.render();}handleLanguageSelect(event){event.preventDefault();event.stopPropagation();const selected=event.target.dataset.audioTrackSelectorLang;if(this.activeLanguage==selected)return false;this._setLanguage(selected);this._toggleContextMenu();return false;}// Handles adaptation event, currently only from shaka-playback\\n_handleAdaptation(variant){if(variant.language){this.activeLanguage=variant.language;this._highlightCurrentElement();if(variant.language==this.nextLanguage){this._stopTrackSwitch();}}}// shaka-playback knows languages on level event\\n_handleLevels(){this._fillLanguages();}// hlsjs-playback only knows languages on play\\n_handlePlay(){if(this.playback._hls){this._fillLanguages();}}handleAudioTrackSelectorClick(event){this._toggleContextMenu();}_toggleContextMenu(){this.$('.audio_track_selector ul').toggle();}_hideContextMenu(){this.$('.audio_track_selector ul').hide();}_getLanguageElement(language=null){if(language)return this.$('.audio_track_selector a[data-audio-track-selector-lang=\\\"'+language+'\\\"]').parent();else return this.$('.audio_track_selector a').parent();}_getButtonElement(){return this.$('.audio_track_selector button');}_getTitle(){return(this.core.options.audioTrackSelectorConfig||{}).title;}_startTrackSwitch(){this._getButtonElement().addClass('changing');}_stopTrackSwitch(){this._getButtonElement().removeClass('changing');}_highlightCurrentElement(){if(!this.activeLanguage)return;this._getLanguageElement().removeClass('current');this._getLanguageElement(this.activeLanguage).addClass('current');this._getButtonElement().text(this.activeLanguage);}}\\n\\n//# sourceURL=webpack://AudioTrackSelector/./src/main.js?\");\n\n/***/ }),\n\n/***/ \"./src/public/audio-track-selector.html\":\n/*!**********************************************!*\\\n !*** ./src/public/audio-track-selector.html ***!\n \\**********************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\neval(\"// Module\\nvar code = \\\"<button data-audio-track-selector-button>\\\\n Language\\\\n</button>\\\\n<ul>\\\\n <% if (title) { %>\\\\n <li data-title><%= title %></li>\\\\n <% }; %>\\\\n <% languages.forEach((language) => { %>\\\\n <li><a href=\\\\\\\"#\\\\\\\" data-audio-track-selector-lang=\\\\\\\"<%= language %>\\\\\\\"><%= language %></a></li>\\\\n <% }); %>\\\\n</ul>\\\\n\\\";\\n// Exports\\nmodule.exports = code;\\n\\n//# sourceURL=webpack://AudioTrackSelector/./src/public/audio-track-selector.html?\");\n\n/***/ }),\n\n/***/ \"./src/public/style.scss\":\n/*!*******************************!*\\\n !*** ./src/public/style.scss ***!\n \\*******************************/\n/*! no static exports found */\n/***/ (function(module, exports, __webpack_require__) {\n\neval(\"// Imports\\nvar ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../node_modules/css-loader/dist/runtime/api.js */ \\\"./node_modules/css-loader/dist/runtime/api.js\\\");\\nexports = ___CSS_LOADER_API_IMPORT___(false);\\n// Module\\nexports.push([module.i, \\\".audio_track_selector[data-audio-track-selector] {\\\\n float: right;\\\\n height: 100%;\\\\n position: relative; }\\\\n .audio_track_selector[data-audio-track-selector] button {\\\\n background-color: transparent;\\\\n color: #fff;\\\\n font-family: Roboto,\\\\\\\"Open Sans\\\\\\\",Arial,sans-serif;\\\\n -webkit-font-smoothing: antialiased;\\\\n border: none;\\\\n font-size: 12px;\\\\n height: 100%; }\\\\n .audio_track_selector[data-audio-track-selector] button:hover {\\\\n color: #c9c9c9; }\\\\n .audio_track_selector[data-audio-track-selector] button.changing {\\\\n -webkit-animation: pulse 0.5s infinite alternate; }\\\\n .audio_track_selector[data-audio-track-selector] > ul {\\\\n overflow-x: hidden;\\\\n overflow-y: auto;\\\\n list-style-type: none;\\\\n position: absolute;\\\\n bottom: 100%;\\\\n display: none;\\\\n background-color: rgba(28, 28, 28, 0.9);\\\\n white-space: nowrap; }\\\\n .audio_track_selector[data-audio-track-selector] li {\\\\n font-size: 12px;\\\\n color: #eee; }\\\\n .audio_track_selector[data-audio-track-selector] li[data-title] {\\\\n background-color: #333;\\\\n padding: 8px 25px; }\\\\n .audio_track_selector[data-audio-track-selector] li a {\\\\n color: #eee;\\\\n padding: 5px 18px;\\\\n display: block;\\\\n text-decoration: none; }\\\\n .audio_track_selector[data-audio-track-selector] li a:hover {\\\\n background-color: rgba(255, 255, 255, 0.1);\\\\n color: #fff; }\\\\n .audio_track_selector[data-audio-track-selector] li a:hover a {\\\\n color: #fff;\\\\n text-decoration: none; }\\\\n .audio_track_selector[data-audio-track-selector] li.current a {\\\\n color: #2ecc71; }\\\\n\\\\n@-webkit-keyframes pulse {\\\\n 0% {\\\\n color: #fff; }\\\\n 50% {\\\\n color: #ff0101; }\\\\n 100% {\\\\n color: #B80000; } }\\\\n\\\", \\\"\\\"]);\\n// Exports\\nmodule.exports = exports;\\n\\n\\n//# sourceURL=webpack://AudioTrackSelector/./src/public/style.scss?\");\n\n/***/ }),\n\n/***/ \"clappr\":\n/*!******************************************************************************************!*\\\n !*** external {\"amd\":\"clappr\",\"commonjs\":\"clappr\",\"commonjs2\":\"clappr\",\"root\":\"Clappr\"} ***!\n \\******************************************************************************************/\n/*! no static exports found */\n/***/ (function(module, exports) {\n\neval(\"module.exports = __WEBPACK_EXTERNAL_MODULE_clappr__;\\n\\n//# sourceURL=webpack://AudioTrackSelector/external_%7B%22amd%22:%22clappr%22,%22commonjs%22:%22clappr%22,%22commonjs2%22:%22clappr%22,%22root%22:%22Clappr%22%7D?\");\n\n/***/ })\n\n/******/ })[\"default\"];\n});","var api = require(\"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\");\n var content = require(\"!!../../node_modules/css-loader/dist/cjs.js!../../node_modules/sass-loader/dist/cjs.js!./style.scss\");\n\n content = content.__esModule ? content.default : content;\n\n if (typeof content === 'string') {\n content = [[module.id, content, '']];\n }\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\nvar exported = content.locals ? content.locals : {};\n\n\n\nmodule.exports = exported;","\"use strict\";\n\nvar isOldIE = function isOldIE() {\n var memo;\n return function memorize() {\n if (typeof memo === 'undefined') {\n // Test for IE <= 9 as proposed by Browserhacks\n // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n // Tests for existence of standard globals is to allow style-loader\n // to operate correctly into non-standard environments\n // @see https://github.com/webpack-contrib/style-loader/issues/177\n memo = Boolean(window && document && document.all && !window.atob);\n }\n\n return memo;\n };\n}();\n\nvar getTarget = function getTarget() {\n var memo = {};\n return function memorize(target) {\n if (typeof memo[target] === 'undefined') {\n var styleTarget = document.querySelector(target); // Special case to return head of iframe instead of iframe itself\n\n if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n try {\n // This will throw an exception if access to iframe is blocked\n // due to cross-origin restrictions\n styleTarget = styleTarget.contentDocument.head;\n } catch (e) {\n // istanbul ignore next\n styleTarget = null;\n }\n }\n\n memo[target] = styleTarget;\n }\n\n return memo[target];\n };\n}();\n\nvar stylesInDom = [];\n\nfunction getIndexByIdentifier(identifier) {\n var result = -1;\n\n for (var i = 0; i < stylesInDom.length; i++) {\n if (stylesInDom[i].identifier === identifier) {\n result = i;\n break;\n }\n }\n\n return result;\n}\n\nfunction modulesToDom(list, options) {\n var idCountMap = {};\n var identifiers = [];\n\n for (var i = 0; i < list.length; i++) {\n var item = list[i];\n var id = options.base ? item[0] + options.base : item[0];\n var count = idCountMap[id] || 0;\n var identifier = \"\".concat(id, \" \").concat(count);\n idCountMap[id] = count + 1;\n var index = getIndexByIdentifier(identifier);\n var obj = {\n css: item[1],\n media: item[2],\n sourceMap: item[3]\n };\n\n if (index !== -1) {\n stylesInDom[index].references++;\n stylesInDom[index].updater(obj);\n } else {\n stylesInDom.push({\n identifier: identifier,\n updater: addStyle(obj, options),\n references: 1\n });\n }\n\n identifiers.push(identifier);\n }\n\n return identifiers;\n}\n\nfunction insertStyleElement(options) {\n var style = document.createElement('style');\n var attributes = options.attributes || {};\n\n if (typeof attributes.nonce === 'undefined') {\n var nonce = typeof __webpack_nonce__ !== 'undefined' ? __webpack_nonce__ : null;\n\n if (nonce) {\n attributes.nonce = nonce;\n }\n }\n\n Object.keys(attributes).forEach(function (key) {\n style.setAttribute(key, attributes[key]);\n });\n\n if (typeof options.insert === 'function') {\n options.insert(style);\n } else {\n var target = getTarget(options.insert || 'head');\n\n if (!target) {\n throw new Error(\"Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.\");\n }\n\n target.appendChild(style);\n }\n\n return style;\n}\n\nfunction removeStyleElement(style) {\n // istanbul ignore if\n if (style.parentNode === null) {\n return false;\n }\n\n style.parentNode.removeChild(style);\n}\n/* istanbul ignore next */\n\n\nvar replaceText = function replaceText() {\n var textStore = [];\n return function replace(index, replacement) {\n textStore[index] = replacement;\n return textStore.filter(Boolean).join('\\n');\n };\n}();\n\nfunction applyToSingletonTag(style, index, remove, obj) {\n var css = remove ? '' : obj.media ? \"@media \".concat(obj.media, \" {\").concat(obj.css, \"}\") : obj.css; // For old IE\n\n /* istanbul ignore if */\n\n if (style.styleSheet) {\n style.styleSheet.cssText = replaceText(index, css);\n } else {\n var cssNode = document.createTextNode(css);\n var childNodes = style.childNodes;\n\n if (childNodes[index]) {\n style.removeChild(childNodes[index]);\n }\n\n if (childNodes.length) {\n style.insertBefore(cssNode, childNodes[index]);\n } else {\n style.appendChild(cssNode);\n }\n }\n}\n\nfunction applyToTag(style, options, obj) {\n var css = obj.css;\n var media = obj.media;\n var sourceMap = obj.sourceMap;\n\n if (media) {\n style.setAttribute('media', media);\n } else {\n style.removeAttribute('media');\n }\n\n if (sourceMap && btoa) {\n css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n } // For old IE\n\n /* istanbul ignore if */\n\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n while (style.firstChild) {\n style.removeChild(style.firstChild);\n }\n\n style.appendChild(document.createTextNode(css));\n }\n}\n\nvar singleton = null;\nvar singletonCounter = 0;\n\nfunction addStyle(obj, options) {\n var style;\n var update;\n var remove;\n\n if (options.singleton) {\n var styleIndex = singletonCounter++;\n style = singleton || (singleton = insertStyleElement(options));\n update = applyToSingletonTag.bind(null, style, styleIndex, false);\n remove = applyToSingletonTag.bind(null, style, styleIndex, true);\n } else {\n style = insertStyleElement(options);\n update = applyToTag.bind(null, style, options);\n\n remove = function remove() {\n removeStyleElement(style);\n };\n }\n\n update(obj);\n return function updateStyle(newObj) {\n if (newObj) {\n if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap) {\n return;\n }\n\n update(obj = newObj);\n } else {\n remove();\n }\n };\n}\n\nmodule.exports = function (list, options) {\n options = options || {}; // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>\n // tags it will allow on a page\n\n if (!options.singleton && typeof options.singleton !== 'boolean') {\n options.singleton = isOldIE();\n }\n\n list = list || [];\n var lastIdentifiers = modulesToDom(list, options);\n return function update(newList) {\n newList = newList || [];\n\n if (Object.prototype.toString.call(newList) !== '[object Array]') {\n return;\n }\n\n for (var i = 0; i < lastIdentifiers.length; i++) {\n var identifier = lastIdentifiers[i];\n var index = getIndexByIdentifier(identifier);\n stylesInDom[index].references--;\n }\n\n var newLastIdentifiers = modulesToDom(newList, options);\n\n for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n var _identifier = lastIdentifiers[_i];\n\n var _index = getIndexByIdentifier(_identifier);\n\n if (stylesInDom[_index].references === 0) {\n stylesInDom[_index].updater();\n\n stylesInDom.splice(_index, 1);\n }\n }\n\n lastIdentifiers = newLastIdentifiers;\n };\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"button.media-control-button[data-hd-indicator]{display:none !important}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar]{height:40px}.media-control[data-media-control] .media-control-layer[data-controls] .bar-container[data-seekbar] .bar-background[data-seekbar]{height:2px;background-color:#ccc}.player-poster[data-poster] .play-wrapper[data-poster] svg path{fill:#ccc}.spinner-three-bounce[data-spinner]>div{background-color:#ccc}.clappr-watermark[data-watermark]{transition:opacity 0.5s ease-out}.clappr-watermark[data-watermark].clappr-watermark-hide{opacity:0}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","\"use strict\";\n\n/*\n MIT License http://www.opensource.org/licenses/mit-license.php\n Author Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\n// eslint-disable-next-line func-names\nmodule.exports = function (useSourceMap) {\n var list = []; // return the list of modules as css string\n\n list.toString = function toString() {\n return this.map(function (item) {\n var content = cssWithMappingToString(item, useSourceMap);\n\n if (item[2]) {\n return \"@media \".concat(item[2], \" {\").concat(content, \"}\");\n }\n\n return content;\n }).join('');\n }; // import a list of modules into the list\n // eslint-disable-next-line func-names\n\n\n list.i = function (modules, mediaQuery, dedupe) {\n if (typeof modules === 'string') {\n // eslint-disable-next-line no-param-reassign\n modules = [[null, modules, '']];\n }\n\n var alreadyImportedModules = {};\n\n if (dedupe) {\n for (var i = 0; i < this.length; i++) {\n // eslint-disable-next-line prefer-destructuring\n var id = this[i][0];\n\n if (id != null) {\n alreadyImportedModules[id] = true;\n }\n }\n }\n\n for (var _i = 0; _i < modules.length; _i++) {\n var item = [].concat(modules[_i]);\n\n if (dedupe && alreadyImportedModules[item[0]]) {\n // eslint-disable-next-line no-continue\n continue;\n }\n\n if (mediaQuery) {\n if (!item[2]) {\n item[2] = mediaQuery;\n } else {\n item[2] = \"\".concat(mediaQuery, \" and \").concat(item[2]);\n }\n }\n\n list.push(item);\n }\n };\n\n return list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n var content = item[1] || ''; // eslint-disable-next-line prefer-destructuring\n\n var cssMapping = item[3];\n\n if (!cssMapping) {\n return content;\n }\n\n if (useSourceMap && typeof btoa === 'function') {\n var sourceMapping = toComment(cssMapping);\n var sourceURLs = cssMapping.sources.map(function (source) {\n return \"/*# sourceURL=\".concat(cssMapping.sourceRoot || '').concat(source, \" */\");\n });\n return [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n }\n\n return [content].join('\\n');\n} // Adapted from convert-source-map (MIT)\n\n\nfunction toComment(sourceMap) {\n // eslint-disable-next-line no-undef\n var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n var data = \"sourceMappingURL=data:application/json;charset=utf-8;base64,\".concat(base64);\n return \"/*# \".concat(data, \" */\");\n}","import Clappr from \"clappr\";\n\nexport default class ErrorPlugin extends Clappr.ContainerPlugin {\n get name() { return 'error_plugin' }\n get background() {\n return 'data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22100%22%20height%3D%22100%22%20viewBox%3D%220%200%2026.458318%2026.458333%22%3E%3Cpath%20d%3D%22M13.23.302C6.07.302.264%206.107.264%2013.267a12.965%2012.965%200%200%200%20.847%204.595c.19-.497.408-.982.682-1.438.14-.232.294-.457.396-.707.103-.25.15-.533.072-.792a1.362%201.362%200%200%200-.22-.404c-.092-.123-.192-.24-.275-.37a1.662%201.662%200%200%201-.255-1.12%201.5%201.5%200%200%201%20.58-.987c.28-.208.635-.3.985-.288a1.757%201.757%200%200%201%20.346.048c.452.11.852.393%201.148.75.368.447.584%201.01.637%201.586a3.574%203.574%200%200%201-.275%201.693c-.4.955-1.15%201.725-1.565%202.673-.338.775-.435%201.638-.39%202.483.007.077.018.155.025.234a12.965%2012.965%200%200%200%203.62%203.18%2017.63%2017.63%200%200%201-.13-2.11c.002-.56.03-1.12.085-1.675-.34-.236-.65-.51-.87-.86-.392-.62-.466-1.408-.305-2.124.16-.717.54-1.37.997-1.945a7.833%207.833%200%200%201%202.835-2.223%2010.305%2010.305%200%200%201-.09-.126%204.854%204.854%200%200%201-.702-2.176c-.06-.777.064-1.554.115-2.33.037-.543.04-1.085.07-1.627.038-.627.114-1.255.29-1.858a2.36%202.36%200%200%201%20.266-.63%201.4%201.4%200%200%201%20.594-.514c.274-.108.51-.132.776-.087.22.046.425.156.604.294.18.138.335.304.48.477a7.298%207.298%200%200%201%201.04%201.617%203.57%203.57%200%200%201%201.09%200%207.287%207.287%200%200%201%201.04-1.616%203.21%203.21%200%200%201%20.48-.476c.18-.14.383-.248.604-.295a1.268%201.268%200%200%201%20.78.086%201.402%201.402%200%200%201%20.595.517c.124.19.202.408.266.626.175.602.252%201.23.29%201.856.03.543.033%201.087.07%201.628.05.777.175%201.554.116%202.33a4.855%204.855%200%200%201-.705%202.178c-.03.05-.07.096-.103.145.247.278.598.513.898.614a1.956%201.956%200%200%200%201.05.044%201.65%201.65%200%200%200%20.533-.226%201.253%201.253%200%200%200%20.397-.418c.118-.21.166-.45.192-.687.067-.61%200-1.224-.05-1.835-.034-.396-.062-.8.027-1.187.06-.26.177-.518.373-.7a1.106%201.106%200%200%201%20.465-.255%201.312%201.312%200%200%201%20.53-.03c.38.057.736.274.948.594.12.18.194.39.238.604.044.213.06.43.072.648.04.76.04%201.522.018%202.284-.018.665-.055%201.348-.32%201.957-.343.782-1.032%201.366-1.775%201.786a7.052%207.052%200%200%201-1.588.647c.482%201.54.733%203.24.733%204.968a17.6%2017.6%200%200%201-.135%202.125%2012.964%2012.964%200%200%200%206.384-11.152c0-7.16-5.806-12.965-12.965-12.965zM9.602%2016.284v1.483a1.88%201.88%200%200%201%201.083.362%201.738%201.738%200%200%201%20.556.68c.122.27.166.576.116.868a1.493%201.493%200%200%201-.332.708%201.647%201.647%200%200%201-.635.458%201.738%201.738%200%200%201-.787.122v3.73l7.762-4.208-7.762-4.204z%22%20fill%3D%22%23999%22%2F%3E%3C%2Fsvg%3E';\n }\n\n constructor(...options) {\n super(...options);\n this.timeout = 1;\n this.max_timeout = 10;\n }\n\n bindEvents() {\n this.listenTo(this.container, Clappr.Events.CONTAINER_ERROR, this.onError)\n }\n\n hide() {\n this._err && this._err.remove()\n }\n\n show() {\n const $ = Clappr.$\n this.hide();\n\n let txt = 'A fatal error occured.';\n if (this.options.errorPlugin && this.options.errorPlugin.text)\n txt = this.options.errorPlugin.text;\n\n this._err = $('<div>')\n .css({\n 'position': 'absolute',\n 'z-index': '999',\n 'width': '100%',\n 'height': '100%',\n 'background-image': 'url(' + this.background + ')',\n 'background-size': '18%',\n 'background-repeat': 'no-repeat',\n 'background-color': 'black',\n 'background-position': 'center',\n 'text-align': 'center',\n 'font-weight': 'bold',\n 'color': '#eee'\n })\n const wrap = $('<div>').css({\n 'position': 'absolute',\n 'width': '100%',\n 'padding-bottom': '5%',\n 'bottom': 0\n })\n .append($('<h2>')\n .text(txt)\n .css({\n 'font-size': '200%',\n }))\n .append($('<p>').text('We will be right back')\n .css({\n 'font-size': '120%',\n 'margin': '15px',\n }));\n this._err.append(wrap);\n this.container && this.container.$el.prepend(this._err);\n }\n\n onError(err) {\n if (!this.container) return;\n\n const hideOverlay = () => {\n this.hide();\n this.container.getPlugin('click_to_pause').enable();\n };\n\n // Only show overlay if callback returns true\n const callback = this.options.errorPlugin.onError;\n if (callback && typeof(callback) === \"function\") {\n if (!callback(err, hideOverlay)) {\n console.log(\"skipping overlay\");\n return;\n }\n }\n\n this.show();\n this.container.getPlugin('click_to_pause').disable();\n }\n};","/**\n * Checks status of http media file\n * @param {*} url\n * @param {*} callback\n */\nexport const checkMedia = function(url, callback) {\n if (!callback || typeof(callback) !== \"function\") {\n throw new Error(`Excepted function, got '${callback}'`)\n }\n const xhr = new XMLHttpRequest();\n xhr.onreadystatechange = function() {\n if (this.readyState === XMLHttpRequest.HEADERS_RECEIVED) {\n if (this.status === 200) {\n callback(true);\n } else {\n callback(false);\n }\n xhr.abort();\n }\n }\n xhr.open(\"GET\", url, true);\n xhr.send(null);\n};\n\n/**\n * Perfoms query against media.ccc.de GraphQL API\n * @param {*} operationName\n * @param {*} query\n * @param {*} variables\n */\nconst queryGraph = function(operationName, query, variables={}) {\n const headers = new Headers();\n\n // Do fetch\n return fetch(\"https://media.ccc.de/graphql\", {\n method: \"POST\",\n headers: {\n \"Accept\": \"application/json\",\n \"Content-Type\": \"application/json\"\n },\n body: JSON.stringify({operationName, query, variables})\n\n // Parse json\n }).then((res) => {\n const reader = res.body.getReader();\n let body = \"\";\n let decoder = new TextDecoder(\"utf-8\");\n return reader.read().then(function process({done, value}) {\n if (done) {\n return JSON.parse(body);\n }\n body += decoder.decode(value);\n return reader.read().then(process);\n });\n })\n};\n\n/**\n * Finds player sources for a media.ccc.de lecture by slug\n * @param {string} slug\n */\nexport const getMediaLectureSources = function(slug) {\n return queryGraph(\"LectureBySlug\", `\n query LectureBySlug {\n lectureBySlug(slug: \"${slug}\") {\n originalLanguage\n videos {\n label\n url\n mimeType\n }\n }\n }\n `).then(res => {\n if (!res.data.lectureBySlug)\n throw new Error(\"Lecture could not be found\");\n\n return res.data.lectureBySlug.videos.map(({label, url, mimeType}) => ({\n label,\n mimeType,\n source: url\n }))\n });\n}\n\n","import {Player, Events, BaseObject} from \"clappr\";\nimport DashShakaPlayback from \"@c3voc/dash-shaka-playback\";\nimport LevelSelector from \"@c3voc/clappr-level-selector\";\nimport AudioTrackSelector from \"@c3voc/clappr-audio-track-selector\";\nimport watermark from \"public/watermark\";\nimport \"public/style.scss\";\n\nimport ErrorPlugin from \"lib/error\";\nimport {checkMedia} from \"lib/util\";\nimport {getLectureConfig, getStreamConfig} from \"lib/sources\";\n\nconst DEFAULT_TIMEOUT = 5;\nconst MAX_TIMEOUT = 15;\n\n/**\n * Shaka-Player wrapper\n */\nexport default class VOCPlayer extends BaseObject {\n constructor(options) {\n super();\n this.timeout = DEFAULT_TIMEOUT;\n this.maxTimeout = MAX_TIMEOUT;\n\n // Async configuration\n this._playerPromise = this._getConfig(options).then(config => {\n // console.log(\"got config\", config)\n this._options = config;\n this._player = new Player(this._options);\n if (this._player.core && this._player.core.isReady) {\n this._addEventListeners();\n } else {\n this.listenToOnce(this._player, Events.PLAYER_READY, this._addEventListeners.bind(this));\n }\n return this._player;\n })\n }\n\n attachTo() {\n this._playerPromise.then(player => {\n player.attachTo.apply(player, arguments)\n });\n }\n\n /**\n * Create basic config for the shaka-player\n * @param {*} options User defined custom options\n */\n _getConfig(options) {\n // Allow custom plugins\n let plugins = [AudioTrackSelector, LevelSelector, DashShakaPlayback, ErrorPlugin];\n if (options.plugins && options.plugins.length) {\n plugins = plugins.concat(options.plugins);\n console.log(\"loading plugins\")\n plugins.forEach((plugin) => console.log(plugin.name, plugin.type))\n }\n\n let configPromise = Promise.resolve({});\n if (options.vocStream) {\n configPromise = getStreamConfig(options.vocStream, options.audioOnly, options.preferredAudioLanguage, this._handleError.bind(this));\n } else if (options.vocLecture) {\n configPromise = getLectureConfig(options.vocLecture);\n }\n\n return configPromise.then((sourceConfig) => {\n return Object.assign({\n width: \"100%\",\n height: \"100%\",\n hideMediaControlDelay: 1000,\n position: \"top-left\",\n watermark: watermark,\n watermarkLink: \"https://c3voc.de\",\n levelSelectorConfig: {\n labelCallback: function(level) {\n let height = \"unknown\";\n if (level.height) height = level.height;\n else if (level.level && level.level.height) height = level.level.height;\n return height + \"p\";\n },\n title: \"Quality\"\n },\n audioTrackSelectorConfig: {\n title: \"Language\",\n },\n }, sourceConfig, options, {\n plugins: plugins\n });\n });\n }\n\n /**\n * Redo event handlers when the player container changes\n */\n _containerChanged() {\n this.stopListening()\n this._addEventListeners()\n }\n\n /**\n * Setup event handlers depending on the player\n */\n _addEventListeners() {\n const core = this._player.core;\n this._container = core.activeContainer\n\n this.listenTo(this._player, Events.PLAYER_PLAY, this._handlePlay);\n this.listenTo(this._player, Events.PLAYER_STOP, this._handleStop);\n this.listenTo(core, Events.CORE_ACTIVE_CONTAINER_CHANGED, this._containerChanged);\n this.listenTo(this._container, Events.CONTAINER_STATE_BUFFERFULL, this._handleBufferFull)\n this.listenTo(this._container, Events.CONTAINER_MEDIACONTROL_HIDE, this._handleMediaControlHide);\n this.listenTo(this._container, Events.CONTAINER_MEDIACONTROL_SHOW, this._handleMediaControlShow);\n }\n\n /**\n * Hide watermark together with media control\n */\n _handleMediaControlHide() {\n const watermark = this._container.$el.find(\".clappr-watermark[data-watermark]\");\n watermark.addClass(\"clappr-watermark-hide\");\n }\n\n /**\n * Show watermark together with media control\n */\n _handleMediaControlShow() {\n const watermark = this._container.$el.find(\".clappr-watermark[data-watermark]\");\n watermark.removeClass(\"clappr-watermark-hide\");\n }\n\n // Partially random delay\n _getTimeout() {\n const timeout = 0.6 * this.timeout + 0.4 * this.timeout * Math.random();\n // Increase timeout for next fail\n this.timeout = Math.min(this.timeout*2, this.maxTimeout);\n return timeout;\n }\n\n // Resets timeout to default\n _resetTimeout() {\n this.timeout = DEFAULT_TIMEOUT;\n }\n\n /**\n * Player error handler\n * @param {*} err Player error\n * @param {*} clearOverlay Function to remove error overlay after recovery\n */\n _handleError(error, clearOverlay) {\n if (this._recovery) {\n clearTimeout(this._recovery.timeout);\n } else {\n this._player.stop();\n }\n\n const timeout = this._getTimeout();\n console.log(\"got error\", error.code, `retrying in ${Math.round(timeout)}s`);\n this._recovery = {\n clearOverlay,\n state: \"restarting\",\n timeout: setTimeout(this._waitForMedia.bind(this), timeout * 1000),\n }\n return true;\n }\n\n /**\n * Handles play events, if we are playing the stream must be working\n */\n _handlePlay() {\n if (this._recovery) {\n console.log(\"soft recovery: play\")\n this._recovery.clearOverlay();\n clearTimeout(this._recovery.timeout);\n this._recovery = null;\n }\n\n this._resetTimeout();\n }\n\n /**\n * Handles stop events, if recovering we want to play again after stop\n */\n _handleStop(time) {\n if (this._recovery && this._container) {\n console.log(\"soft recovery: stop\")\n this._container.playback.play.call(this._container.playback);\n }\n }\n\n /**\n * Skips to the live-edge after recovery\n */\n _handleBufferFull() {\n // TODO: avoid for non-live content\n if (this._recovery) {\n console.log(\"seeking to end for recovery\");\n const seekTo = Math.max(this._player.getDuration() - 6, 0);\n this._player.seek(seekTo);\n }\n }\n\n /**\n * Handles media check result, starts playback if check was successful\n * @param {boolean} success\n */\n _handleMediaCheck(success) {\n if (success) {\n console.log(\"try playing again, media should be available\");\n this._player.play();\n } else {\n const timeout = this._getTimeout();\n console.log(`test for media failed, retrying in ~${Math.round(timeout)}s`);\n setTimeout(this._waitForMedia.bind(this), timeout * 1000);\n }\n }\n\n /**\n * Try to check and wait for upstream media file\n */\n _waitForMedia() {\n let source = this._player.options.source;\n if (source && source.source) {\n source = source.source;\n }\n if (typeof(source) == \"string\") {\n checkMedia(source, this._handleMediaCheck.bind(this))\n } else {\n this.reset();\n }\n }\n\n /**\n * Tries to bring the player to a functioning state\n * This is the last resort if soft recovery doesn't work\n */\n reset() {\n console.log(\"performing hard reset\")\n this._recovery = null;\n\n const isMuted = this._player.getVolume() == 0;\n if (!isMuted)\n this._player.mute();\n\n this._player.configure({\n source: this._player.options.source,\n autoPlay: true,\n });\n\n if (!isMuted)\n this._player.unmute();\n }\n}","import {getMediaLectureSources} from \"lib/util\";\n\n/**\n * Determines config specifig to C3VOC streaming\n * @param {string} stream stream name on CDN\n * @param {boolean} audioOnly\n * @param {function} errorHandler\n */\nexport const getStreamConfig = (stream, audioOnly, preferredAudioLanguage, errorHandler) => {\n // Keep a tab on whether there are still browsers where we need vp9,vorbis vs vp9,opus\n const hasMSE = \"MediaSource\" in window;\n console.log(\n \"vp9/vorbis\", hasMSE && MediaSource.isTypeSupported('video/webm; codecs=\"vp9,vorbis\"'),\n \"vp9/opus\", hasMSE && MediaSource.isTypeSupported('video/webm; codecs=\"vp9,opus\"')\n );\n\n // Stream specific config\n const config = {\n levelSelectorConfig: {\n labelCallback: function(playbackLevel) {\n // playbackLevel.videoBandwidth is set for DASH\n // playbackLevel.level.bitrate is set for HLS\n var bw = playbackLevel.videoBandwidth || playbackLevel.level.bitrate;\n\n if (bw <= 100000) {\n return \"Slides\";\n }\n else if(bw <= 800000) {\n return \"SD\";\n }\n else {\n return \"HD\";\n }\n },\n title: \"Quality\"\n },\n disableErrorScreen: true,\n errorPlugin: {\n text: \"Stream offline\",\n onError: errorHandler\n },\n };\n\n // VP9 dash player (preferred in any case)\n if (hasMSE && MediaSource.isTypeSupported('video/webm; codecs=\"vp9,opus\"')) {\n config.source = {\n source: `//cdn.c3voc.de/dash/${stream}/manifest.mpd`,\n };\n config.shakaConfiguration = {\n preferredAudioLanguage: preferredAudioLanguage,\n abr: {\n defaultBandwidthEstimate: 1000000,\n },\n streaming: {\n jumpLargeGaps: true,\n },\n manifest: {\n // TODO: investigate why this is necessary to enable fast start of playback\n // The presentationdelay in our manifest is set to the same value\n // which suggests that shaka parses the value incorrectly\n dash: {\n defaultPresentationDelay: 3,\n ignoreSuggestedPresentationDelay: true,\n }\n }\n };\n\n // HLS playlist (doesn't work for audio only)\n } else if (!audioOnly &&\n (hasMSE || document.createElement('video').canPlayType('application/vnd.apple.mpegURL') != \"\")) {\n config.source = {\n source: `//cdn.c3voc.de/hls/${stream}_native_hd.m3u8`,\n mimeType: \"application/vnd.apple.mpegURL\"\n };\n\n // MP3 Audio fallback\n } else if (audioOnly) {\n config.source = {\n source: `//cdn.c3voc.de/${stream}_native.mp3`,\n mimeType: \"audio/mp3\"\n };\n\n // WebM fallback\n } else {\n config.source = {\n source: `//cdn.c3voc.de/${stream}_native_hd.webm`,\n mimeType: \"video/webm\"\n };\n }\n\n return Promise.resolve(config);\n}\n\n/**\n * Determines config specific to media.ccc.de lecture\n * @param {string} slug\n */\nexport const getLectureConfig = function(slug) {\n return getMediaLectureSources(slug).then(sources => {\n return {\n sources: sources,\n levelSelectorConfig: {\n labelCallback: function(playbackLevel, customLabel) {\n console.log(\"labelCallback\", arguments);\n // playbackLevel.videoBandwidth is set for DASH\n // playbackLevel.level.bitrate is set for HLS\n var bw = playbackLevel.videoBandwidth || playbackLevel.level.bitrate;\n\n if (bw <= 100000) {\n return \"Slides\";\n }\n else if(bw <= 800000) {\n return \"SD\";\n }\n else {\n return \"HD\";\n }\n },\n title: \"Quality\"\n },\n };\n }).catch(err => {\n console.log(\"Failed to fetch media sources\", err);\n return {\n playbackNotSupportedMessage: `${err.message}`,\n }\n });\n}","const logo = \"data:image/svg+xml;utf8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%0A%3Csvg%0A%20%20%20xmlns%3Adc%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Felements%2F1.1%2F%22%0A%20%20%20xmlns%3Acc%3D%22http%3A%2F%2Fcreativecommons.org%2Fns%23%22%0A%20%20%20xmlns%3Ardf%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%22%0A%20%20%20xmlns%3Asvg%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%0A%20%20%20id%3D%22svg4568%22%0A%20%20%20version%3D%221.1%22%0A%20%20%20viewBox%3D%220%200%2026.458318%2026.458333%22%0A%20%20%20height%3D%22100%22%0A%20%20%20width%3D%22100%22%3E%0A%20%20%3Cmetadata%0A%20%20%20%20%20id%3D%22metadata4574%22%3E%0A%20%20%20%20%3Crdf%3ARDF%3E%0A%20%20%20%20%20%20%3Ccc%3AWork%0A%20%20%20%20%20%20%20%20%20rdf%3Aabout%3D%22%22%3E%0A%20%20%20%20%20%20%20%20%3Cdc%3Aformat%3Eimage%2Fsvg%2Bxml%3C%2Fdc%3Aformat%3E%0A%20%20%20%20%20%20%20%20%3Cdc%3Atype%0A%20%20%20%20%20%20%20%20%20%20%20rdf%3Aresource%3D%22http%3A%2F%2Fpurl.org%2Fdc%2Fdcmitype%2FStillImage%22%20%2F%3E%0A%20%20%20%20%20%20%20%20%3Cdc%3Atitle%3E%3C%2Fdc%3Atitle%3E%0A%20%20%20%20%20%20%3C%2Fcc%3AWork%3E%0A%20%20%20%20%3C%2Frdf%3ARDF%3E%0A%20%20%3C%2Fmetadata%3E%0A%20%20%3Cdefs%0A%20%20%20%20%20id%3D%22defs4572%22%20%2F%3E%0A%20%20%3Cpath%0A%20%20%20%20%20style%3D%22fill%3A%23ffffff%3Bfill-opacity%3A0.8627451%3Bstroke-width%3A0.79176539%22%0A%20%20%20%20%20id%3D%22path4566%22%0A%20%20%20%20%20d%3D%22m%2012.91039%2C7.1445417%20c%20-5.6690402%2C0%20-10.2660306%2C4.5961993%20-10.2660306%2C10.2652403%20a%2010.265238%2C10.265238%200%200%200%200.6706253%2C3.63816%20c%200.1504354%2C-0.393506%200.3230402%2C-0.777512%200.539984%2C-1.138557%200.1108472%2C-0.18369%200.2327789%2C-0.361837%200.313539%2C-0.559779%200.081551%2C-0.197941%200.1187648%2C-0.42201%200.057007%2C-0.627078%20A%201.0783844%2C1.0783844%200%200%200%204.0513264%2C18.402655%20C%203.9784841%2C18.305267%203.8993075%2C18.212631%203.833591%2C18.109702%20A%201.3159141%2C1.3159141%200%200%201%203.6316909%2C17.222924%201.1876481%2C1.1876481%200%200%201%204.0909148%2C16.441452%20c%200.2216944%2C-0.164688%200.5027709%2C-0.23753%200.7798889%2C-0.228028%20a%201.3911318%2C1.3911318%200%200%201%200.2739508%2C0.03801%20c%200.3578779%2C0.08709%200.6745841%2C0.311164%200.9089467%2C0.593824%200.2913696%2C0.353919%200.462391%2C0.799683%200.5043546%2C1.25574%20a%202.8297696%2C2.8297696%200%200%201%20-0.2177355%2C1.34046%20C%206.0236142%2C20.197593%205.42979%2C20.807252%205.1012074%2C21.557847%204.8335907%2C22.171464%204.7567894%2C22.854758%204.7924189%2C23.5238%20c%200.00554%2C0.06096%200.014251%2C0.122723%200.019794%2C0.185272%20a%2010.265238%2C10.265238%200%200%200%202.866191%2C2.517815%2013.958824%2C13.958824%200%200%201%20-0.1029298%2C-1.670626%20c%200.00161%2C-0.443389%200.023751%2C-0.886777%200.067304%2C-1.326206%20C%207.3735785%2C23.043191%207.1281312%2C22.826248%206.9539421%2C22.54913%206.6435705%2C22.058235%206.5849797%2C21.434324%206.712454%2C20.867421%206.8391365%2C20.299724%207.1400069%2C19.782702%207.5018439%2C19.327437%20A%206.2018984%2C6.2018984%200%200%201%209.7464993%2C17.567343%208.1591425%2C8.1591425%200%200%201%209.6752356%2C17.46758%203.8432293%2C3.8432293%200%200%201%209.1194163%2C15.744698%20c%20-0.047503%2C-0.615201%200.050669%2C-1.230403%200.091055%2C-1.844814%200.02929%2C-0.429928%200.031672%2C-0.859064%200.055423%2C-1.288201%200.030084%2C-0.496437%200.090261%2C-0.993667%200.2296124%2C-1.471101%20a%201.8685664%2C1.8685664%200%200%201%200.21061%2C-0.498812%201.1084716%2C1.1084716%200%200%201%200.4703083%2C-0.406968%20c%200.216945%2C-0.0855%200.403801%2C-0.104512%200.614411%2C-0.06888%200.174189%2C0.03642%200.3365%2C0.123516%200.478227%2C0.232779%200.142518%2C0.109264%200.26524%2C0.240698%200.380047%2C0.377673%20a%205.7783039%2C5.7783039%200%200%201%200.823436%2C1.280285%202.8266025%2C2.8266025%200%200%201%200.863024%2C0%205.7695944%2C5.7695944%200%200%201%200.823436%2C-1.279493%202.5415669%2C2.5415669%200%200%201%200.380047%2C-0.376881%20c%200.142518%2C-0.110847%200.303246%2C-0.196358%200.478227%2C-0.23357%20a%201.0039585%2C1.0039585%200%200%201%200.617577%2C0.06809%201.1100551%2C1.1100551%200%200%201%200.4711%2C0.409343%20c%200.09818%2C0.150436%200.159936%2C0.323041%200.21061%2C0.495645%200.138558%2C0.476643%200.199525%2C0.973872%200.229612%2C1.469517%200.02375%2C0.429928%200.02612%2C0.860649%200.05542%2C1.288995%200.0396%2C0.615201%200.138559%2C1.230403%200.09185%2C1.844813%20a%203.844021%2C3.844021%200%200%201%20-0.558194%2C1.724465%20c%20-0.02375%2C0.0396%20-0.05542%2C0.076%20-0.08154%2C0.114805%200.195565%2C0.220111%200.473476%2C0.406176%200.711006%2C0.486144%20a%201.5486932%2C1.5486932%200%200%200%200.831353%2C0.03484%201.3064129%2C1.3064129%200%200%200%200.42201%2C-0.17894%200.99208205%2C0.99208205%200%200%200%200.314331%2C-0.330957%20c%200.09343%2C-0.166272%200.131433%2C-0.356295%200.152019%2C-0.543944%200.05305%2C-0.482977%200%2C-0.96912%20-0.0396%2C-1.452889%20-0.02692%2C-0.313539%20-0.04909%2C-0.633412%200.02138%2C-0.939826%200.0475%2C-0.205858%200.140142%2C-0.410133%200.295328%2C-0.554235%20a%200.87569253%2C0.87569253%200%200%201%200.36817%2C-0.2019%201.0387963%2C1.0387963%200%200%201%200.419637%2C-0.02375%20c%200.30087%2C0.04514%200.582739%2C0.216942%200.750593%2C0.470308%200.09502%2C0.142517%200.153603%2C0.308788%200.18844%2C0.478226%200.03484%2C0.168646%200.0475%2C0.340459%200.05701%2C0.513064%200.03167%2C0.601741%200.03167%2C1.205067%200.01426%2C1.808392%20-0.01426%2C0.526524%20-0.04355%2C1.0673%20-0.253366%2C1.549486%20-0.271575%2C0.619159%20-0.817101%2C1.08155%20-1.405383%2C1.414092%20a%205.5835296%2C5.5835296%200%200%201%20-1.257323%2C0.512272%20c%200.38163%2C1.219319%200.580363%2C2.56532%200.580363%2C3.93349%20a%2013.935071%2C13.935071%200%200%201%20-0.106901%2C1.682498%2010.264446%2C10.264446%200%200%200%205.054631%2C-8.829768%20c%200%2C-5.669041%20-4.59699%2C-10.2652391%20-10.265238%2C-10.2652391%20z%20M%2010.037865%2C19.798537%20v%201.174188%20a%201.488519%2C1.488519%200%200%201%200.857482%2C0.286619%201.3760882%2C1.3760882%200%200%201%200.440222%2C0.538402%20c%200.0966%2C0.213775%200.131432%2C0.456056%200.09184%2C0.687252%20a%201.1821057%2C1.1821057%200%200%201%20-0.262867%2C0.560568%201.3040376%2C1.3040376%200%200%201%20-0.502772%2C0.36263%201.3760882%2C1.3760882%200%200%201%20-0.623119%2C0.0966%20v%202.953287%20l%206.145683%2C-3.33175%20-6.145683%2C-3.328583%20z%22%20%2F%3E%0A%3C%2Fsvg%3E\";\nexport default logo;\n"],"sourceRoot":""} \ No newline at end of file