%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/shaban-zircle/js/
Upload File :
Create Path :
Current File : /var/www/html/shaban-zircle/js/chunk-vendors.54c53bc1.js

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-vendors"],{"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),p=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",v="values",y=function(){return this};t.exports=function(t,e,n,g,m,_,b){c(n,e,g);var w,T,C,k=function(t){if(!h&&t in j)return j[t];switch(t){case f:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S=m==v,E=!1,j=t.prototype,O=j[p]||j[d]||m&&j[m],A=O||k(m),P=m?S?k("entries"):A:void 0,M="Array"==e&&j.entries||O;if(M&&(C=u(M.call(new t)),C!==Object.prototype&&C.next&&(l(C,x,!0),r||"function"==typeof C[p]||s(C,p,y))),S&&O&&O.name!==v&&(E=!0,A=function(){return O.call(this)}),r&&!b||!h&&!E&&j[p]||s(j,p,A),a[e]=A,a[x]=y,m)if(w={values:S?A:k(v),keys:_?A:k(f),entries:P},b)for(T in w)T in j||o(j,T,w[T]);else i(i.P+i.F*(h||E),e,w);return w}},"097d":function(t,e,n){"use strict";var r=n("5ca1"),i=n("8378"),o=n("7726"),s=n("ebd6"),a=n("bcaa");r(r.P+r.R,"Promise",{finally:function(t){var e=s(this,i.Promise||o.Promise),n="function"==typeof t;return this.then(n?function(n){return a(e,t()).then(function(){return n})}:t,n?function(n){return a(e,t()).then(function(){throw n})}:t)}})},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},1991:function(t,e,n){var r,i,o,s=n("9b43"),a=n("31f4"),c=n("fab2"),l=n("230e"),u=n("7726"),p=u.process,h=u.setImmediate,d=u.clearImmediate,f=u.MessageChannel,v=u.Dispatch,y=0,g={},m="onreadystatechange",_=function(){var t=+this;if(g.hasOwnProperty(t)){var e=g[t];delete g[t],e()}},b=function(t){_.call(t.data)};h&&d||(h=function(t){var e=[],n=1;while(arguments.length>n)e.push(arguments[n++]);return g[++y]=function(){a("function"==typeof t?t:Function(t),e)},r(y),y},d=function(t){delete g[t]},"process"==n("2d95")(p)?r=function(t){p.nextTick(s(_,t,1))}:v&&v.now?r=function(t){v.now(s(_,t,1))}:f?(i=new f,o=i.port2,i.port1.onmessage=b,r=s(o.postMessage,o,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(r=function(t){u.postMessage(t+"","*")},u.addEventListener("message",b,!1)):r=m in l("script")?function(t){c.appendChild(l("script"))[m]=function(){c.removeChild(this),_.call(t)}}:function(t){setTimeout(s(_,t,1),0)}),t.exports={set:h,clear:d}},"1b8d":function(t,e){function n(t){return t.replace(/\n\r?\s*/g,"")}t.exports=function(t){for(var e="",r=0;r<arguments.length;r++)e+=n(t[r])+(arguments[r+1]||"");return e}},"1fa8":function(t,e,n){var r=n("cb7c");t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(e){var o=t["return"];throw void 0!==o&&r(o.call(t)),e}}},"21d0":function(t,e,n){"use strict";var r=Function.prototype.toString,i=/^\s*class\b/,o=function(t){try{var e=r.call(t);return i.test(e)}catch(t){return!1}},s=function(t){try{return!o(t)&&(r.call(t),!0)}catch(t){return!1}},a=Object.prototype.toString,c="[object Function]",l="[object GeneratorFunction]",u="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;t.exports=function(t){if(!t)return!1;if("function"!==typeof t&&"object"!==typeof t)return!1;if("function"===typeof t&&!t.prototype)return!0;if(u)return s(t);if(o(t))return!1;var e=a.call(t);return e===c||e===l}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"23c6":function(t,e,n){var r=n("2d95"),i=n("2b4c")("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,e){try{return t[e]}catch(t){}};t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=s(e=Object(t),i))?n:o?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},"27ee":function(t,e,n){var r=n("23c6"),i=n("2b4c")("iterator"),o=n("84f2");t.exports=n("8378").getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:l}}n.d(e,"a",function(){return r})},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a="toString",c=Function[a],l=(""+c).split(a);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[s]||c.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",l=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),l=t.F;while(r--)delete l[c][o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=l(),void 0===e?n:i(n,e)}},"2b0e":function(t,e,n){"use strict";n.r(e),function(t){
/*!
 * Vue.js v2.5.17
 * (c) 2014-2018 Evan You
 * Released under the MIT License.
 */
var n=Object.freeze({});function r(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function s(t){return!1===t}function a(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function p(t){return"[object RegExp]"===l.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return null==t?"":"object"===typeof t?JSON.stringify(t,null,2):String(t)}function f(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var y=v("key,ref,slot,slot-scope,is");function g(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function _(t,e){return m.call(t,e)}function b(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var w=/-(\w)/g,T=b(function(t){return t.replace(w,function(t,e){return e?e.toUpperCase():""})}),C=b(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),k=/\B([A-Z])/g,x=b(function(t){return t.replace(k,"-$1").toLowerCase()});function S(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function E(t,e){return t.bind(e)}var j=Function.prototype.bind?E:S;function O(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function A(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n<t.length;n++)t[n]&&A(e,t[n]);return e}function M(t,e,n){}var N=function(t,e,n){return!1},I=function(t){return t};function L(t,e){if(t===e)return!0;var n=c(t),r=c(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var i=Array.isArray(t),o=Array.isArray(e);if(i&&o)return t.length===e.length&&t.every(function(t,n){return L(t,e[n])});if(i||o)return!1;var s=Object.keys(t),a=Object.keys(e);return s.length===a.length&&s.every(function(n){return L(t[n],e[n])})}catch(t){return!1}}function $(t,e){for(var n=0;n<t.length;n++)if(L(t[n],e))return n;return-1}function R(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var D="data-server-rendered",z=["component","directive","filter"],F=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:N,isReservedAttr:N,isUnknownElement:N,getTagNamespace:M,parsePlatformTagName:I,mustUseProp:N,_lifecycleHooks:F};function V(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function H(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var W=/[^\w.$]/;function U(t){if(!W.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}var X,q="__proto__"in{},Y="undefined"!==typeof window,K="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,G=K&&WXEnvironment.platform.toLowerCase(),J=Y&&window.navigator.userAgent.toLowerCase(),Z=J&&/msie|trident/.test(J),Q=J&&J.indexOf("msie 9.0")>0,tt=J&&J.indexOf("edge/")>0,et=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===G),nt=(J&&/chrome\/\d+/.test(J),{}.watch),rt=!1;if(Y)try{var it={};Object.defineProperty(it,"passive",{get:function(){rt=!0}}),window.addEventListener("test-passive",null,it)}catch(t){}var ot=function(){return void 0===X&&(X=!Y&&!K&&"undefined"!==typeof t&&"server"===t["process"].env.VUE_ENV),X},st=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"===typeof t&&/native code/.test(t.toString())}var ct,lt="undefined"!==typeof Symbol&&at(Symbol)&&"undefined"!==typeof Reflect&&at(Reflect.ownKeys);ct="undefined"!==typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ut=M,pt=0,ht=function(){this.id=pt++,this.subs=[]};ht.prototype.addSub=function(t){this.subs.push(t)},ht.prototype.removeSub=function(t){g(this.subs,t)},ht.prototype.depend=function(){ht.target&&ht.target.addDep(this)},ht.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},ht.target=null;var dt=[];function ft(t){ht.target&&dt.push(ht.target),ht.target=t}function vt(){ht.target=dt.pop()}var yt=function(t,e,n,r,i,o,s,a){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=a,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},gt={child:{configurable:!0}};gt.child.get=function(){return this.componentInstance},Object.defineProperties(yt.prototype,gt);var mt=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function _t(t){return new yt(void 0,void 0,void 0,String(t))}function bt(t){var e=new yt(t.tag,t.data,t.children,t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.isCloned=!0,e}var wt=Array.prototype,Tt=Object.create(wt),Ct=["push","pop","shift","unshift","splice","sort","reverse"];Ct.forEach(function(t){var e=wt[t];H(Tt,t,function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];var i,o=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2);break}return i&&s.observeArray(i),s.dep.notify(),o})});var kt=Object.getOwnPropertyNames(Tt),xt=!0;function St(t){xt=t}var Et=function(t){if(this.value=t,this.dep=new ht,this.vmCount=0,H(t,"__ob__",this),Array.isArray(t)){var e=q?jt:Ot;e(t,Tt,kt),this.observeArray(t)}else this.walk(t)};function jt(t,e,n){t.__proto__=e}function Ot(t,e,n){for(var r=0,i=n.length;r<i;r++){var o=n[r];H(t,o,e[o])}}function At(t,e){var n;if(c(t)&&!(t instanceof yt))return _(t,"__ob__")&&t.__ob__ instanceof Et?n=t.__ob__:xt&&!ot()&&(Array.isArray(t)||u(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new Et(t)),e&&n&&n.vmCount++,n}function Pt(t,e,n,r,i){var o=new ht,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var a=s&&s.get;a||2!==arguments.length||(n=t[e]);var c=s&&s.set,l=!i&&At(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=a?a.call(t):n;return ht.target&&(o.depend(),l&&(l.dep.depend(),Array.isArray(e)&&It(e))),e},set:function(e){var r=a?a.call(t):n;e===r||e!==e&&r!==r||(c?c.call(t,e):n=e,l=!i&&At(e),o.notify())}})}}function Mt(t,e,n){if(Array.isArray(t)&&h(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Pt(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function Nt(t,e){if(Array.isArray(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||_(t,e)&&(delete t[e],n&&n.dep.notify())}}function It(t){for(var e=void 0,n=0,r=t.length;n<r;n++)e=t[n],e&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&It(e)}Et.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Pt(t,e[n])},Et.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)At(t[e])};var Lt=B.optionMergeStrategies;function $t(t,e){if(!e)return t;for(var n,r,i,o=Object.keys(e),s=0;s<o.length;s++)n=o[s],r=t[n],i=e[n],_(t,n)?u(r)&&u(i)&&$t(r,i):Mt(t,n,i);return t}function Rt(t,e,n){return n?function(){var r="function"===typeof e?e.call(n,n):e,i="function"===typeof t?t.call(n,n):t;return r?$t(r,i):i}:e?t?function(){return $t("function"===typeof e?e.call(this,this):e,"function"===typeof t?t.call(this,this):t)}:e:t}function Dt(t,e){return e?t?t.concat(e):Array.isArray(e)?e:[e]:t}function zt(t,e,n,r){var i=Object.create(t||null);return e?A(i,e):i}Lt.data=function(t,e,n){return n?Rt(t,e,n):e&&"function"!==typeof e?t:Rt(t,e)},F.forEach(function(t){Lt[t]=Dt}),z.forEach(function(t){Lt[t+"s"]=zt}),Lt.watch=function(t,e,n,r){if(t===nt&&(t=void 0),e===nt&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var i={};for(var o in A(i,t),e){var s=i[o],a=e[o];s&&!Array.isArray(s)&&(s=[s]),i[o]=s?s.concat(a):Array.isArray(a)?a:[a]}return i},Lt.props=Lt.methods=Lt.inject=Lt.computed=function(t,e,n,r){if(!t)return e;var i=Object.create(null);return A(i,t),e&&A(i,e),i},Lt.provide=Rt;var Ft=function(t,e){return void 0===e?t:e};function Bt(t,e){var n=t.props;if(n){var r,i,o,s={};if(Array.isArray(n)){r=n.length;while(r--)i=n[r],"string"===typeof i&&(o=T(i),s[o]={type:null})}else if(u(n))for(var a in n)i=n[a],o=T(a),s[o]=u(i)?i:{type:i};else 0;t.props=s}}function Vt(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(u(n))for(var o in n){var s=n[o];r[o]=u(s)?A({from:o},s):{from:s}}else 0}}function Ht(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"===typeof r&&(e[n]={bind:r,update:r})}}function Wt(t,e,n){"function"===typeof e&&(e=e.options),Bt(e,n),Vt(e,n),Ht(e);var r=e.extends;if(r&&(t=Wt(t,r,n)),e.mixins)for(var i=0,o=e.mixins.length;i<o;i++)t=Wt(t,e.mixins[i],n);var s,a={};for(s in t)c(s);for(s in e)_(t,s)||c(s);function c(r){var i=Lt[r]||Ft;a[r]=i(t[r],e[r],n,r)}return a}function Ut(t,e,n,r){if("string"===typeof n){var i=t[e];if(_(i,n))return i[n];var o=T(n);if(_(i,o))return i[o];var s=C(o);if(_(i,s))return i[s];var a=i[n]||i[o]||i[s];return a}}function Xt(t,e,n,r){var i=e[t],o=!_(n,t),s=n[t],a=Gt(Boolean,i.type);if(a>-1)if(o&&!_(i,"default"))s=!1;else if(""===s||s===x(t)){var c=Gt(String,i.type);(c<0||a<c)&&(s=!0)}if(void 0===s){s=qt(r,i,t);var l=xt;St(!0),At(s),St(l)}return s}function qt(t,e,n){if(_(e,"default")){var r=e.default;return t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n]?t._props[n]:"function"===typeof r&&"Function"!==Yt(e.type)?r.call(t):r}}function Yt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Kt(t,e){return Yt(t)===Yt(e)}function Gt(t,e){if(!Array.isArray(e))return Kt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Kt(e[n],t))return n;return-1}function Jt(t,e,n){if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var s=!1===i[o].call(r,t,e,n);if(s)return}catch(t){Zt(t,r,"errorCaptured hook")}}}Zt(t,e,n)}function Zt(t,e,n){if(B.errorHandler)try{return B.errorHandler.call(null,t,e,n)}catch(t){Qt(t,null,"config.errorHandler")}Qt(t,e,n)}function Qt(t,e,n){if(!Y&&!K||"undefined"===typeof console)throw t;console.error(t)}var te,ee,ne=[],re=!1;function ie(){re=!1;var t=ne.slice(0);ne.length=0;for(var e=0;e<t.length;e++)t[e]()}var oe=!1;if("undefined"!==typeof setImmediate&&at(setImmediate))ee=function(){setImmediate(ie)};else if("undefined"===typeof MessageChannel||!at(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())ee=function(){setTimeout(ie,0)};else{var se=new MessageChannel,ae=se.port2;se.port1.onmessage=ie,ee=function(){ae.postMessage(1)}}if("undefined"!==typeof Promise&&at(Promise)){var ce=Promise.resolve();te=function(){ce.then(ie),et&&setTimeout(M)}}else te=ee;function le(t){return t._withTask||(t._withTask=function(){oe=!0;var e=t.apply(null,arguments);return oe=!1,e})}function ue(t,e){var n;if(ne.push(function(){if(t)try{t.call(e)}catch(t){Jt(t,e,"nextTick")}else n&&n(e)}),re||(re=!0,oe?ee():te()),!t&&"undefined"!==typeof Promise)return new Promise(function(t){n=t})}var pe=new ct;function he(t){de(t,pe),pe.clear()}function de(t,e){var n,r,i=Array.isArray(t);if(!(!i&&!c(t)||Object.isFrozen(t)||t instanceof yt)){if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i){n=t.length;while(n--)de(t[n],e)}else{r=Object.keys(t),n=r.length;while(n--)de(t[r[n]],e)}}}var fe,ve=b(function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}});function ye(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),i=0;i<r.length;i++)r[i].apply(null,t)}return e.fns=t,e}function ge(t,e,n,i,o){var s,a,c,l;for(s in t)a=t[s],c=e[s],l=ve(s),r(a)||(r(c)?(r(a.fns)&&(a=t[s]=ye(a)),n(l.name,a,l.once,l.capture,l.passive,l.params)):a!==c&&(c.fns=a,t[s]=c));for(s in e)r(t[s])&&(l=ve(s),i(l.name,e[s],l.capture))}function me(t,e,n){var s;t instanceof yt&&(t=t.data.hook||(t.data.hook={}));var a=t[e];function c(){n.apply(this,arguments),g(s.fns,c)}r(a)?s=ye([c]):i(a.fns)&&o(a.merged)?(s=a,s.fns.push(c)):s=ye([a,c]),s.merged=!0,t[e]=s}function _e(t,e,n){var o=e.options.props;if(!r(o)){var s={},a=t.attrs,c=t.props;if(i(a)||i(c))for(var l in o){var u=x(l);be(s,c,l,u,!0)||be(s,a,l,u,!1)}return s}}function be(t,e,n,r,o){if(i(e)){if(_(e,n))return t[n]=e[n],o||delete e[n],!0;if(_(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function we(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}function Te(t){return a(t)?[_t(t)]:Array.isArray(t)?ke(t):void 0}function Ce(t){return i(t)&&i(t.text)&&s(t.isComment)}function ke(t,e){var n,s,c,l,u=[];for(n=0;n<t.length;n++)s=t[n],r(s)||"boolean"===typeof s||(c=u.length-1,l=u[c],Array.isArray(s)?s.length>0&&(s=ke(s,(e||"")+"_"+n),Ce(s[0])&&Ce(l)&&(u[c]=_t(l.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?Ce(l)?u[c]=_t(l.text+s):""!==s&&u.push(_t(s)):Ce(s)&&Ce(l)?u[c]=_t(l.text+s.text):(o(t._isVList)&&i(s.tag)&&r(s.key)&&i(e)&&(s.key="__vlist"+e+"_"+n+"__"),u.push(s)));return u}function xe(t,e){return(t.__esModule||lt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),c(t)?e.extend(t):t}function Se(t,e,n,r,i){var o=mt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:r,tag:i},o}function Ee(t,e,n){if(o(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(o(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var s=t.contexts=[n],a=!0,l=function(){for(var t=0,e=s.length;t<e;t++)s[t].$forceUpdate()},u=R(function(n){t.resolved=xe(n,e),a||l()}),p=R(function(e){i(t.errorComp)&&(t.error=!0,l())}),h=t(u,p);return c(h)&&("function"===typeof h.then?r(t.resolved)&&h.then(u,p):i(h.component)&&"function"===typeof h.component.then&&(h.component.then(u,p),i(h.error)&&(t.errorComp=xe(h.error,e)),i(h.loading)&&(t.loadingComp=xe(h.loading,e),0===h.delay?t.loading=!0:setTimeout(function(){r(t.resolved)&&r(t.error)&&(t.loading=!0,l())},h.delay||200)),i(h.timeout)&&setTimeout(function(){r(t.resolved)&&p(null)},h.timeout))),a=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(n)}function je(t){return t.isComment&&t.asyncFactory}function Oe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||je(n)))return n}}function Ae(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ne(t,e)}function Pe(t,e,n){n?fe.$once(t,e):fe.$on(t,e)}function Me(t,e){fe.$off(t,e)}function Ne(t,e,n){fe=t,ge(e,n||{},Pe,Me,t),fe=void 0}function Ie(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this,i=this;if(Array.isArray(t))for(var o=0,s=t.length;o<s;o++)r.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this,r=this;if(!arguments.length)return r._events=Object.create(null),r;if(Array.isArray(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return r}var s=r._events[t];if(!s)return r;if(!e)return r._events[t]=null,r;if(e){var a,c=s.length;while(c--)if(a=s[c],a===e||a.fn===e){s.splice(c,1);break}}return r},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?O(n):n;for(var r=O(arguments,1),i=0,o=n.length;i<o;i++)try{n[i].apply(e,r)}catch(n){Jt(n,e,'event handler for "'+t+'"')}}return e}}function Le(t,e){var n={};if(!t)return n;for(var r=0,i=t.length;r<i;r++){var o=t[r],s=o.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,o.context!==e&&o.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(o);else{var a=s.slot,c=n[a]||(n[a]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every($e)&&delete n[l];return n}function $e(t){return t.isComment&&!t.asyncFactory||" "===t.text}function Re(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?Re(t[n],e):e[t[n].key]=t[n].fn;return e}var De=null;function ze(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}function Fe(t){t.prototype._update=function(t,e){var n=this;n._isMounted&&Xe(n,"beforeUpdate");var r=n.$el,i=n._vnode,o=De;De=n,n._vnode=t,i?n.$el=n.__patch__(i,t):(n.$el=n.__patch__(n.$el,t,e,!1,n.$options._parentElm,n.$options._refElm),n.$options._parentElm=n.$options._refElm=null),De=o,r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){var t=this;t._watcher&&t._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Xe(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||g(e.$children,t),t._watcher&&t._watcher.teardown();var n=t._watchers.length;while(n--)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Xe(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}function Be(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=mt),Xe(t,"beforeMount"),r=function(){t._update(t._render(),n)},new an(t,r,M,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Xe(t,"mounted")),t}function Ve(t,e,r,i,o){var s=!!(o||t.$options._renderChildren||i.data.scopedSlots||t.$scopedSlots!==n);if(t.$options._parentVnode=i,t.$vnode=i,t._vnode&&(t._vnode.parent=i),t.$options._renderChildren=o,t.$attrs=i.data.attrs||n,t.$listeners=r||n,e&&t.$options.props){St(!1);for(var a=t._props,c=t.$options._propKeys||[],l=0;l<c.length;l++){var u=c[l],p=t.$options.props;a[u]=Xt(u,p,e,t)}St(!0),t.$options.propsData=e}r=r||n;var h=t.$options._parentListeners;t.$options._parentListeners=r,Ne(t,r,h),s&&(t.$slots=Le(o,i.context),t.$forceUpdate())}function He(t){while(t&&(t=t.$parent))if(t._inactive)return!0;return!1}function We(t,e){if(e){if(t._directInactive=!1,He(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)We(t.$children[n]);Xe(t,"activated")}}function Ue(t,e){if((!e||(t._directInactive=!0,!He(t)))&&!t._inactive){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Ue(t.$children[n]);Xe(t,"deactivated")}}function Xe(t,e){ft();var n=t.$options[e];if(n)for(var r=0,i=n.length;r<i;r++)try{n[r].call(t)}catch(n){Jt(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),vt()}var qe=[],Ye=[],Ke={},Ge=!1,Je=!1,Ze=0;function Qe(){Ze=qe.length=Ye.length=0,Ke={},Ge=Je=!1}function tn(){var t,e;for(Je=!0,qe.sort(function(t,e){return t.id-e.id}),Ze=0;Ze<qe.length;Ze++)t=qe[Ze],e=t.id,Ke[e]=null,t.run();var n=Ye.slice(),r=qe.slice();Qe(),rn(n),en(r),st&&B.devtools&&st.emit("flush")}function en(t){var e=t.length;while(e--){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&Xe(r,"updated")}}function nn(t){t._inactive=!1,Ye.push(t)}function rn(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,We(t[e],!0)}function on(t){var e=t.id;if(null==Ke[e]){if(Ke[e]=!0,Je){var n=qe.length-1;while(n>Ze&&qe[n].id>t.id)n--;qe.splice(n+1,0,t)}else qe.push(t);Ge||(Ge=!0,ue(tn))}}var sn=0,an=function(t,e,n,r,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++sn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ct,this.newDepIds=new ct,this.expression="","function"===typeof e?this.getter=e:(this.getter=U(e),this.getter||(this.getter=function(){})),this.value=this.lazy?void 0:this.get()};an.prototype.get=function(){var t;ft(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Jt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&he(t),vt(),this.cleanupDeps()}return t},an.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},an.prototype.cleanupDeps=function(){var t=this,e=this.deps.length;while(e--){var n=t.deps[e];t.newDepIds.has(n.id)||n.removeSub(t)}var r=this.depIds;this.depIds=this.newDepIds,this.newDepIds=r,this.newDepIds.clear(),r=this.deps,this.deps=this.newDeps,this.newDeps=r,this.newDeps.length=0},an.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():on(this)},an.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||c(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Jt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},an.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},an.prototype.depend=function(){var t=this,e=this.deps.length;while(e--)t.deps[e].depend()},an.prototype.teardown=function(){var t=this;if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var e=this.deps.length;while(e--)t.deps[e].removeSub(t);this.active=!1}};var cn={enumerable:!0,configurable:!0,get:M,set:M};function ln(t,e,n){cn.get=function(){return this[e][n]},cn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,cn)}function un(t){t._watchers=[];var e=t.$options;e.props&&pn(t,e.props),e.methods&&mn(t,e.methods),e.data?hn(t):At(t._data={},!0),e.computed&&vn(t,e.computed),e.watch&&e.watch!==nt&&_n(t,e.watch)}function pn(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||St(!1);var s=function(o){i.push(o);var s=Xt(o,e,n,t);Pt(r,o,s),o in t||ln(t,"_props",o)};for(var a in e)s(a);St(!0)}function hn(t){var e=t.$options.data;e=t._data="function"===typeof e?dn(e,t):e||{},u(e)||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);while(i--){var o=n[i];0,r&&_(r,o)||V(o)||ln(t,"_data",o)}At(e,!0)}function dn(t,e){ft();try{return t.call(e,e)}catch(t){return Jt(t,e,"data()"),{}}finally{vt()}}var fn={lazy:!0};function vn(t,e){var n=t._computedWatchers=Object.create(null),r=ot();for(var i in e){var o=e[i],s="function"===typeof o?o:o.get;0,r||(n[i]=new an(t,s||M,M,fn)),i in t||yn(t,i,o)}}function yn(t,e,n){var r=!ot();"function"===typeof n?(cn.get=r?gn(e):n,cn.set=M):(cn.get=n.get?r&&!1!==n.cache?gn(e):n.get:M,cn.set=n.set?n.set:M),Object.defineProperty(t,e,cn)}function gn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ht.target&&e.depend(),e.value}}function mn(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?M:j(e[n],t)}function _n(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i<r.length;i++)bn(t,n,r[i]);else bn(t,n,r)}}function bn(t,e,n,r){return u(n)&&(r=n,n=n.handler),"string"===typeof n&&(n=t[n]),t.$watch(e,n,r)}function wn(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Mt,t.prototype.$delete=Nt,t.prototype.$watch=function(t,e,n){var r=this;if(u(e))return bn(r,t,e,n);n=n||{},n.user=!0;var i=new an(r,t,e,n);return n.immediate&&e.call(r,i.value),function(){i.teardown()}}}function Tn(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Cn(t){var e=kn(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach(function(n){Pt(t,n,e[n])}),St(!0))}function kn(t,e){if(t){for(var n=Object.create(null),r=lt?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),i=0;i<r.length;i++){var o=r[i],s=t[o].from,a=e;while(a){if(a._provided&&_(a._provided,s)){n[o]=a._provided[s];break}a=a.$parent}if(!a)if("default"in t[o]){var c=t[o].default;n[o]="function"===typeof c?c.call(e):c}else 0}return n}}function xn(t,e){var n,r,o,s,a;if(Array.isArray(t)||"string"===typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"===typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(c(t))for(s=Object.keys(t),n=new Array(s.length),r=0,o=s.length;r<o;r++)a=s[r],n[r]=e(t[a],a,r);return i(n)&&(n._isVList=!0),n}function Sn(t,e,n,r){var i,o=this.$scopedSlots[t];if(o)n=n||{},r&&(n=A(A({},r),n)),i=o(n)||e;else{var s=this.$slots[t];s&&(s._rendered=!0),i=s||e}var a=n&&n.slot;return a?this.$createElement("template",{slot:a},i):i}function En(t){return Ut(this.$options,"filters",t,!0)||I}function jn(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function On(t,e,n,r,i){var o=B.keyCodes[e]||n;return i&&r&&!B.keyCodes[e]?jn(i,r):o?jn(o,t):r?x(r)!==e:void 0}function An(t,e,n,r,i){if(n)if(c(n)){var o;Array.isArray(n)&&(n=P(n));var s=function(s){if("class"===s||"style"===s||y(s))o=t;else{var a=t.attrs&&t.attrs.type;o=r||B.mustUseProp(e,a,s)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}if(!(s in o)&&(o[s]=n[s],i)){var c=t.on||(t.on={});c["update:"+s]=function(t){n[s]=t}}};for(var a in n)s(a)}else;return t}function Pn(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),Nn(r,"__static__"+t,!1),r)}function Mn(t,e,n){return Nn(t,"__once__"+e+(n?"_"+n:""),!0),t}function Nn(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!==typeof t[r]&&In(t[r],e+"_"+r,n);else In(t,e,n)}function In(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ln(t,e){if(e)if(u(e)){var n=t.on=t.on?A({},t.on):{};for(var r in e){var i=n[r],o=e[r];n[r]=i?[].concat(i,o):o}}else;return t}function $n(t){t._o=Mn,t._n=f,t._s=d,t._l=xn,t._t=Sn,t._q=L,t._i=$,t._m=Pn,t._f=En,t._k=On,t._b=An,t._v=_t,t._e=mt,t._u=Re,t._g=Ln}function Rn(t,e,r,i,s){var a,c=s.options;_(i,"_uid")?(a=Object.create(i),a._original=i):(a=i,i=i._original);var l=o(c._compiled),u=!l;this.data=t,this.props=e,this.children=r,this.parent=i,this.listeners=t.on||n,this.injections=kn(c.inject,i),this.slots=function(){return Le(r,i)},l&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||n),c._scopeId?this._c=function(t,e,n,r){var o=Kn(a,t,e,n,r,u);return o&&!Array.isArray(o)&&(o.fnScopeId=c._scopeId,o.fnContext=i),o}:this._c=function(t,e,n,r){return Kn(a,t,e,n,r,u)}}function Dn(t,e,r,o,s){var a=t.options,c={},l=a.props;if(i(l))for(var u in l)c[u]=Xt(u,l,e||n);else i(r.attrs)&&Fn(c,r.attrs),i(r.props)&&Fn(c,r.props);var p=new Rn(r,c,s,o,t),h=a.render.call(null,p._c,p);if(h instanceof yt)return zn(h,r,p.parent,a);if(Array.isArray(h)){for(var d=Te(h)||[],f=new Array(d.length),v=0;v<d.length;v++)f[v]=zn(d[v],r,p.parent,a);return f}}function zn(t,e,n,r){var i=bt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function Fn(t,e){for(var n in e)t[T(n)]=e[n]}$n(Rn.prototype);var Bn={init:function(t,e,n,r){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var i=t;Bn.prepatch(i,i)}else{var o=t.componentInstance=Wn(t,De,n,r);o.$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions,r=e.componentInstance=t.componentInstance;Ve(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;n._isMounted||(n._isMounted=!0,Xe(n,"mounted")),t.data.keepAlive&&(e._isMounted?nn(n):We(n,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Ue(e,!0):e.$destroy())}},Vn=Object.keys(Bn);function Hn(t,e,n,s,a){if(!r(t)){var l=n.$options._base;if(c(t)&&(t=l.extend(t)),"function"===typeof t){var u;if(r(t.cid)&&(u=t,t=Ee(u,l,n),void 0===t))return Se(u,e,n,s,a);e=e||{},ir(t),i(e.model)&&Xn(t.options,e);var p=_e(e,t,a);if(o(t.options.functional))return Dn(t,p,e,n,s);var h=e.on;if(e.on=e.nativeOn,o(t.options.abstract)){var d=e.slot;e={},d&&(e.slot=d)}Un(e);var f=t.options.name||a,v=new yt("vue-component-"+t.cid+(f?"-"+f:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:p,listeners:h,tag:a,children:s},u);return v}}}function Wn(t,e,n,r){var o={_isComponent:!0,parent:e,_parentVnode:t,_parentElm:n||null,_refElm:r||null},s=t.data.inlineTemplate;return i(s)&&(o.render=s.render,o.staticRenderFns=s.staticRenderFns),new t.componentOptions.Ctor(o)}function Un(t){for(var e=t.hook||(t.hook={}),n=0;n<Vn.length;n++){var r=Vn[n];e[r]=Bn[r]}}function Xn(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={});i(o[r])?o[r]=[e.model.callback].concat(o[r]):o[r]=e.model.callback}var qn=1,Yn=2;function Kn(t,e,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=Yn),Gn(t,e,n,r,i)}function Gn(t,e,n,r,o){if(i(n)&&i(n.__ob__))return mt();if(i(n)&&i(n.is)&&(e=n.is),!e)return mt();var s,a,c;(Array.isArray(r)&&"function"===typeof r[0]&&(n=n||{},n.scopedSlots={default:r[0]},r.length=0),o===Yn?r=Te(r):o===qn&&(r=we(r)),"string"===typeof e)?(a=t.$vnode&&t.$vnode.ns||B.getTagNamespace(e),s=B.isReservedTag(e)?new yt(B.parsePlatformTagName(e),n,r,void 0,void 0,t):i(c=Ut(t.$options,"components",e))?Hn(c,n,t,r,e):new yt(e,n,r,void 0,void 0,t)):s=Hn(e,n,t,r);return Array.isArray(s)?s:i(s)?(i(a)&&Jn(s,a),i(n)&&Zn(n),s):mt()}function Jn(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),i(t.children))for(var s=0,a=t.children.length;s<a;s++){var c=t.children[s];i(c.tag)&&(r(c.ns)||o(n)&&"svg"!==c.tag)&&Jn(c,e,n)}}function Zn(t){c(t.style)&&he(t.style),c(t.class)&&he(t.class)}function Qn(t){t._vnode=null,t._staticTrees=null;var e=t.$options,r=t.$vnode=e._parentVnode,i=r&&r.context;t.$slots=Le(e._renderChildren,i),t.$scopedSlots=n,t._c=function(e,n,r,i){return Kn(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return Kn(t,e,n,r,i,!0)};var o=r&&r.data;Pt(t,"$attrs",o&&o.attrs||n,null,!0),Pt(t,"$listeners",e._parentListeners||n,null,!0)}function tr(t){$n(t.prototype),t.prototype.$nextTick=function(t){return ue(t,this)},t.prototype._render=function(){var t,e=this,r=e.$options,i=r.render,o=r._parentVnode;o&&(e.$scopedSlots=o.data.scopedSlots||n),e.$vnode=o;try{t=i.call(e._renderProxy,e.$createElement)}catch(n){Jt(n,e,"render"),t=e._vnode}return t instanceof yt||(t=mt()),t.parent=o,t}}var er=0;function nr(t){t.prototype._init=function(t){var e=this;e._uid=er++,e._isVue=!0,t&&t._isComponent?rr(e,t):e.$options=Wt(ir(e.constructor),t||{},e),e._renderProxy=e,e._self=e,ze(e),Ae(e),Qn(e),Xe(e,"beforeCreate"),Cn(e),un(e),Tn(e),Xe(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}function rr(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}function ir(t){var e=t.options;if(t.super){var n=ir(t.super),r=t.superOptions;if(n!==r){t.superOptions=n;var i=or(t);i&&A(t.extendOptions,i),e=t.options=Wt(n,t.extendOptions),e.name&&(e.components[e.name]=t)}}return e}function or(t){var e,n=t.options,r=t.extendOptions,i=t.sealedOptions;for(var o in n)n[o]!==i[o]&&(e||(e={}),e[o]=sr(n[o],r[o],i[o]));return e}function sr(t,e,n){if(Array.isArray(t)){var r=[];n=Array.isArray(n)?n:[n],e=Array.isArray(e)?e:[e];for(var i=0;i<t.length;i++)(e.indexOf(t[i])>=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function ar(t){this._init(t)}function cr(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"===typeof t.install?t.install.apply(t,n):"function"===typeof t&&t.apply(null,n),e.push(t),this}}function lr(t){t.mixin=function(t){return this.options=Wt(this.options,t),this}}function ur(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var s=function(t){this._init(t)};return s.prototype=Object.create(n.prototype),s.prototype.constructor=s,s.cid=e++,s.options=Wt(n.options,t),s["super"]=n,s.options.props&&pr(s),s.options.computed&&hr(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,z.forEach(function(t){s[t]=n[t]}),o&&(s.options.components[o]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=A({},s.options),i[r]=s,s}}function pr(t){var e=t.options.props;for(var n in e)ln(t.prototype,"_props",n)}function hr(t){var e=t.options.computed;for(var n in e)yn(t.prototype,n,e[n])}function dr(t){z.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&u(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"===typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}function fr(t){return t&&(t.Ctor.options.name||t.tag)}function vr(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function yr(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var s=n[o];if(s){var a=fr(s.componentOptions);a&&!e(a)&&gr(n,o,r,i)}}}function gr(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,g(n,e)}nr(ar),wn(ar),Ie(ar),Fe(ar),tr(ar);var mr=[String,RegExp,Array],_r={name:"keep-alive",abstract:!0,props:{include:mr,exclude:mr,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){var t=this;for(var e in t.cache)gr(t.cache,e,t.keys)},mounted:function(){var t=this;this.$watch("include",function(e){yr(t,function(t){return vr(e,t)})}),this.$watch("exclude",function(e){yr(t,function(t){return!vr(e,t)})})},render:function(){var t=this.$slots.default,e=Oe(t),n=e&&e.componentOptions;if(n){var r=fr(n),i=this,o=i.include,s=i.exclude;if(o&&(!r||!vr(o,r))||s&&r&&vr(s,r))return e;var a=this,c=a.cache,l=a.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;c[u]?(e.componentInstance=c[u].componentInstance,g(l,u),l.push(u)):(c[u]=e,l.push(u),this.max&&l.length>parseInt(this.max)&&gr(c,l[0],l,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},br={KeepAlive:_r};function wr(t){var e={get:function(){return B}};Object.defineProperty(t,"config",e),t.util={warn:ut,extend:A,mergeOptions:Wt,defineReactive:Pt},t.set=Mt,t.delete=Nt,t.nextTick=ue,t.options=Object.create(null),z.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,A(t.options.components,br),cr(t),lr(t),ur(t),dr(t)}wr(ar),Object.defineProperty(ar.prototype,"$isServer",{get:ot}),Object.defineProperty(ar.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ar,"FunctionalRenderContext",{value:Rn}),ar.version="2.5.17";var Tr=v("style,class"),Cr=v("input,textarea,option,select,progress"),kr=function(t,e,n){return"value"===n&&Cr(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},xr=v("contenteditable,draggable,spellcheck"),Sr=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Er="http://www.w3.org/1999/xlink",jr=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Or=function(t){return jr(t)?t.slice(6,t.length):""},Ar=function(t){return null==t||!1===t};function Pr(t){var e=t.data,n=t,r=t;while(i(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Mr(r.data,e));while(i(n=n.parent))n&&n.data&&(e=Mr(e,n.data));return Nr(e.staticClass,e.class)}function Mr(t,e){return{staticClass:Ir(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Nr(t,e){return i(t)||i(e)?Ir(t,Lr(e)):""}function Ir(t,e){return t?e?t+" "+e:t:e||""}function Lr(t){return Array.isArray(t)?$r(t):c(t)?Rr(t):"string"===typeof t?t:""}function $r(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=Lr(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}function Rr(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}var Dr={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},zr=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Fr=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Br=function(t){return zr(t)||Fr(t)};function Vr(t){return Fr(t)?"svg":"math"===t?"math":void 0}var Hr=Object.create(null);function Wr(t){if(!Y)return!0;if(Br(t))return!1;if(t=t.toLowerCase(),null!=Hr[t])return Hr[t];var e=document.createElement(t);return t.indexOf("-")>-1?Hr[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Hr[t]=/HTMLUnknownElement/.test(e.toString())}var Ur=v("text,number,password,search,email,tel,url");function Xr(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function qr(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Yr(t,e){return document.createElementNS(Dr[t],e)}function Kr(t){return document.createTextNode(t)}function Gr(t){return document.createComment(t)}function Jr(t,e,n){t.insertBefore(e,n)}function Zr(t,e){t.removeChild(e)}function Qr(t,e){t.appendChild(e)}function ti(t){return t.parentNode}function ei(t){return t.nextSibling}function ni(t){return t.tagName}function ri(t,e){t.textContent=e}function ii(t,e){t.setAttribute(e,"")}var oi=Object.freeze({createElement:qr,createElementNS:Yr,createTextNode:Kr,createComment:Gr,insertBefore:Jr,removeChild:Zr,appendChild:Qr,parentNode:ti,nextSibling:ei,tagName:ni,setTextContent:ri,setStyleScope:ii}),si={create:function(t,e){ai(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ai(t,!0),ai(e))},destroy:function(t){ai(t,!0)}};function ai(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[n])?g(s[n],o):s[n]===o&&(s[n]=void 0):t.data.refInFor?Array.isArray(s[n])?s[n].indexOf(o)<0&&s[n].push(o):s[n]=[o]:s[n]=o}}var ci=new yt("",{},[]),li=["create","activate","update","remove","destroy"];function ui(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&pi(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&r(e.asyncFactory.error))}function pi(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Ur(r)&&Ur(o)}function hi(t,e,n){var r,o,s={};for(r=e;r<=n;++r)o=t[r].key,i(o)&&(s[o]=r);return s}function di(t){var e,n,s={},c=t.modules,l=t.nodeOps;for(e=0;e<li.length;++e)for(s[li[e]]=[],n=0;n<c.length;++n)i(c[n][li[e]])&&s[li[e]].push(c[n][li[e]]);function u(t){return new yt(l.tagName(t).toLowerCase(),{},[],void 0,t)}function p(t,e){function n(){0===--n.listeners&&h(t)}return n.listeners=e,n}function h(t){var e=l.parentNode(t);i(e)&&l.removeChild(e,t)}function d(t,e,n,r,s,a,c){if(i(t.elm)&&i(a)&&(t=a[c]=bt(t)),t.isRootInsert=!s,!f(t,e,n,r)){var u=t.data,p=t.children,h=t.tag;i(h)?(t.elm=t.ns?l.createElementNS(t.ns,h):l.createElement(h,t),T(t),_(t,p,e),i(u)&&w(t,e),m(n,t.elm,r)):o(t.isComment)?(t.elm=l.createComment(t.text),m(n,t.elm,r)):(t.elm=l.createTextNode(t.text),m(n,t.elm,r))}}function f(t,e,n,r){var s=t.data;if(i(s)){var a=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1,n,r),i(t.componentInstance))return y(t,e),o(a)&&g(t,e,n,r),!0}}function y(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,b(t)?(w(t,e),T(t)):(ai(t),e.push(t))}function g(t,e,n,r){var o,a=t;while(a.componentInstance)if(a=a.componentInstance._vnode,i(o=a.data)&&i(o=o.transition)){for(o=0;o<s.activate.length;++o)s.activate[o](ci,a);e.push(a);break}m(n,t.elm,r)}function m(t,e,n){i(t)&&(i(n)?n.parentNode===t&&l.insertBefore(t,e,n):l.appendChild(t,e))}function _(t,e,n){if(Array.isArray(e)){0;for(var r=0;r<e.length;++r)d(e[r],n,t.elm,null,!0,e,r)}else a(t.text)&&l.appendChild(t.elm,l.createTextNode(String(t.text)))}function b(t){while(t.componentInstance)t=t.componentInstance._vnode;return i(t.tag)}function w(t,n){for(var r=0;r<s.create.length;++r)s.create[r](ci,t);e=t.data.hook,i(e)&&(i(e.create)&&e.create(ci,t),i(e.insert)&&n.push(t))}function T(t){var e;if(i(e=t.fnScopeId))l.setStyleScope(t.elm,e);else{var n=t;while(n)i(e=n.context)&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e),n=n.parent}i(e=De)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&l.setStyleScope(t.elm,e)}function C(t,e,n,r,i,o){for(;r<=i;++r)d(n[r],o,t,e,!1,n,r)}function k(t){var e,n,r=t.data;if(i(r))for(i(e=r.hook)&&i(e=e.destroy)&&e(t),e=0;e<s.destroy.length;++e)s.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)k(t.children[n])}function x(t,e,n,r){for(;n<=r;++n){var o=e[n];i(o)&&(i(o.tag)?(S(o),k(o)):h(o.elm))}}function S(t,e){if(i(e)||i(t.data)){var n,r=s.remove.length+1;for(i(e)?e.listeners+=r:e=p(t.elm,r),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&S(n,e),n=0;n<s.remove.length;++n)s.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else h(t.elm)}function E(t,e,n,o,s){var a,c,u,p,h=0,f=0,v=e.length-1,y=e[0],g=e[v],m=n.length-1,_=n[0],b=n[m],w=!s;while(h<=v&&f<=m)r(y)?y=e[++h]:r(g)?g=e[--v]:ui(y,_)?(O(y,_,o),y=e[++h],_=n[++f]):ui(g,b)?(O(g,b,o),g=e[--v],b=n[--m]):ui(y,b)?(O(y,b,o),w&&l.insertBefore(t,y.elm,l.nextSibling(g.elm)),y=e[++h],b=n[--m]):ui(g,_)?(O(g,_,o),w&&l.insertBefore(t,g.elm,y.elm),g=e[--v],_=n[++f]):(r(a)&&(a=hi(e,h,v)),c=i(_.key)?a[_.key]:j(_,e,h,v),r(c)?d(_,o,t,y.elm,!1,n,f):(u=e[c],ui(u,_)?(O(u,_,o),e[c]=void 0,w&&l.insertBefore(t,u.elm,y.elm)):d(_,o,t,y.elm,!1,n,f)),_=n[++f]);h>v?(p=r(n[m+1])?null:n[m+1].elm,C(t,p,n,f,m,o)):f>m&&x(t,e,h,v)}function j(t,e,n,r){for(var o=n;o<r;o++){var s=e[o];if(i(s)&&ui(t,s))return o}}function O(t,e,n,a){if(t!==e){var c=e.elm=t.elm;if(o(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?M(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(o(e.isStatic)&&o(t.isStatic)&&e.key===t.key&&(o(e.isCloned)||o(e.isOnce)))e.componentInstance=t.componentInstance;else{var u,p=e.data;i(p)&&i(u=p.hook)&&i(u=u.prepatch)&&u(t,e);var h=t.children,d=e.children;if(i(p)&&b(e)){for(u=0;u<s.update.length;++u)s.update[u](t,e);i(u=p.hook)&&i(u=u.update)&&u(t,e)}r(e.text)?i(h)&&i(d)?h!==d&&E(c,h,d,n,a):i(d)?(i(t.text)&&l.setTextContent(c,""),C(c,null,d,0,d.length-1,n)):i(h)?x(c,h,0,h.length-1):i(t.text)&&l.setTextContent(c,""):t.text!==e.text&&l.setTextContent(c,e.text),i(p)&&i(u=p.hook)&&i(u=u.postpatch)&&u(t,e)}}}function A(t,e,n){if(o(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var P=v("attrs,class,staticClass,staticStyle,key");function M(t,e,n,r){var s,a=e.tag,c=e.data,l=e.children;if(r=r||c&&c.pre,e.elm=t,o(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(c)&&(i(s=c.hook)&&i(s=s.init)&&s(e,!0),i(s=e.componentInstance)))return y(e,n),!0;if(i(a)){if(i(l))if(t.hasChildNodes())if(i(s=c)&&i(s=s.domProps)&&i(s=s.innerHTML)){if(s!==t.innerHTML)return!1}else{for(var u=!0,p=t.firstChild,h=0;h<l.length;h++){if(!p||!M(p,l[h],n,r)){u=!1;break}p=p.nextSibling}if(!u||p)return!1}else _(e,l,n);if(i(c)){var d=!1;for(var f in c)if(!P(f)){d=!0,w(e,n);break}!d&&c["class"]&&he(c["class"])}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,a,c,p){if(!r(e)){var h=!1,f=[];if(r(t))h=!0,d(e,f,c,p);else{var v=i(t.nodeType);if(!v&&ui(t,e))O(t,e,f,a);else{if(v){if(1===t.nodeType&&t.hasAttribute(D)&&(t.removeAttribute(D),n=!0),o(n)&&M(t,e,f))return A(e,f,!0),t;t=u(t)}var y=t.elm,g=l.parentNode(y);if(d(e,f,y._leaveCb?null:g,l.nextSibling(y)),i(e.parent)){var m=e.parent,_=b(e);while(m){for(var w=0;w<s.destroy.length;++w)s.destroy[w](m);if(m.elm=e.elm,_){for(var T=0;T<s.create.length;++T)s.create[T](ci,m);var C=m.data.hook.insert;if(C.merged)for(var S=1;S<C.fns.length;S++)C.fns[S]()}else ai(m);m=m.parent}}i(g)?x(g,[t],0,0):i(t.tag)&&k(t)}}return A(e,f,h),e.elm}i(t)&&k(t)}}var fi={create:vi,update:vi,destroy:function(t){vi(t,ci)}};function vi(t,e){(t.data.directives||e.data.directives)&&yi(t,e)}function yi(t,e){var n,r,i,o=t===ci,s=e===ci,a=mi(t.data.directives,t.context),c=mi(e.data.directives,e.context),l=[],u=[];for(n in c)r=a[n],i=c[n],r?(i.oldValue=r.value,bi(i,"update",e,t),i.def&&i.def.componentUpdated&&u.push(i)):(bi(i,"bind",e,t),i.def&&i.def.inserted&&l.push(i));if(l.length){var p=function(){for(var n=0;n<l.length;n++)bi(l[n],"inserted",e,t)};o?me(e,"insert",p):p()}if(u.length&&me(e,"postpatch",function(){for(var n=0;n<u.length;n++)bi(u[n],"componentUpdated",e,t)}),!o)for(n in a)c[n]||bi(a[n],"unbind",t,t,s)}var gi=Object.create(null);function mi(t,e){var n,r,i=Object.create(null);if(!t)return i;for(n=0;n<t.length;n++)r=t[n],r.modifiers||(r.modifiers=gi),i[_i(r)]=r,r.def=Ut(e.$options,"directives",r.name,!0);return i}function _i(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function bi(t,e,n,r,i){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,r,i)}catch(r){Jt(r,n.context,"directive "+t.name+" "+e+" hook")}}var wi=[si,fi];function Ti(t,e){var n=e.componentOptions;if((!i(n)||!1!==n.Ctor.options.inheritAttrs)&&(!r(t.data.attrs)||!r(e.data.attrs))){var o,s,a,c=e.elm,l=t.data.attrs||{},u=e.data.attrs||{};for(o in i(u.__ob__)&&(u=e.data.attrs=A({},u)),u)s=u[o],a=l[o],a!==s&&Ci(c,o,s);for(o in(Z||tt)&&u.value!==l.value&&Ci(c,"value",u.value),l)r(u[o])&&(jr(o)?c.removeAttributeNS(Er,Or(o)):xr(o)||c.removeAttribute(o))}}function Ci(t,e,n){t.tagName.indexOf("-")>-1?ki(t,e,n):Sr(e)?Ar(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):xr(e)?t.setAttribute(e,Ar(n)||"false"===n?"false":"true"):jr(e)?Ar(n)?t.removeAttributeNS(Er,Or(e)):t.setAttributeNS(Er,e,n):ki(t,e,n)}function ki(t,e,n){if(Ar(n))t.removeAttribute(e);else{if(Z&&!Q&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var xi={create:Ti,update:Ti};function Si(t,e){var n=e.elm,o=e.data,s=t.data;if(!(r(o.staticClass)&&r(o.class)&&(r(s)||r(s.staticClass)&&r(s.class)))){var a=Pr(e),c=n._transitionClasses;i(c)&&(a=Ir(a,Lr(c))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var Ei,ji={create:Si,update:Si},Oi="__r",Ai="__c";function Pi(t){if(i(t[Oi])){var e=Z?"change":"input";t[e]=[].concat(t[Oi],t[e]||[]),delete t[Oi]}i(t[Ai])&&(t.change=[].concat(t[Ai],t.change||[]),delete t[Ai])}function Mi(t,e,n){var r=Ei;return function i(){var o=t.apply(null,arguments);null!==o&&Ii(e,i,n,r)}}function Ni(t,e,n,r,i){e=le(e),n&&(e=Mi(e,t,r)),Ei.addEventListener(t,e,rt?{capture:r,passive:i}:r)}function Ii(t,e,n,r){(r||Ei).removeEventListener(t,e._withTask||e,n)}function Li(t,e){if(!r(t.data.on)||!r(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Ei=e.elm,Pi(n),ge(n,i,Ni,Ii,e.context),Ei=void 0}}var $i={create:Li,update:Li};function Ri(t,e){if(!r(t.data.domProps)||!r(e.data.domProps)){var n,o,s=e.elm,a=t.data.domProps||{},c=e.data.domProps||{};for(n in i(c.__ob__)&&(c=e.data.domProps=A({},c)),a)r(c[n])&&(s[n]="");for(n in c){if(o=c[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),o===a[n])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===n){s._value=o;var l=r(o)?"":String(o);Di(s,l)&&(s.value=l)}else s[n]=o}}}function Di(t,e){return!t.composing&&("OPTION"===t.tagName||zi(t,e)||Fi(t,e))}function zi(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function Fi(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return f(n)!==f(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Bi={create:Ri,update:Ri},Vi=b(function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach(function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e});function Hi(t){var e=Wi(t.style);return t.staticStyle?A(t.staticStyle,e):e}function Wi(t){return Array.isArray(t)?P(t):"string"===typeof t?Vi(t):t}function Ui(t,e){var n,r={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(n=Hi(i.data))&&A(r,n)}(n=Hi(t.data))&&A(r,n);var o=t;while(o=o.parent)o.data&&(n=Hi(o.data))&&A(r,n);return r}var Xi,qi=/^--/,Yi=/\s*!important$/,Ki=function(t,e,n){if(qi.test(e))t.style.setProperty(e,n);else if(Yi.test(n))t.style.setProperty(e,n.replace(Yi,""),"important");else{var r=Ji(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},Gi=["Webkit","Moz","ms"],Ji=b(function(t){if(Xi=Xi||document.createElement("div").style,t=T(t),"filter"!==t&&t in Xi)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Gi.length;n++){var r=Gi[n]+e;if(r in Xi)return r}});function Zi(t,e){var n=e.data,o=t.data;if(!(r(n.staticStyle)&&r(n.style)&&r(o.staticStyle)&&r(o.style))){var s,a,c=e.elm,l=o.staticStyle,u=o.normalizedStyle||o.style||{},p=l||u,h=Wi(e.data.style)||{};e.data.normalizedStyle=i(h.__ob__)?A({},h):h;var d=Ui(e,!0);for(a in p)r(d[a])&&Ki(c,a,"");for(a in d)s=d[a],s!==p[a]&&Ki(c,a,null==s?"":s)}}var Qi={create:Zi,update:Zi};function to(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function eo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function no(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&A(e,ro(t.name||"v")),A(e,t),e}return"string"===typeof t?ro(t):void 0}}var ro=b(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),io=Y&&!Q,oo="transition",so="animation",ao="transition",co="transitionend",lo="animation",uo="animationend";io&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ao="WebkitTransition",co="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(lo="WebkitAnimation",uo="webkitAnimationEnd"));var po=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ho(t){po(function(){po(t)})}function fo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),to(t,e))}function vo(t,e){t._transitionClasses&&g(t._transitionClasses,e),eo(t,e)}function yo(t,e,n){var r=mo(t,e),i=r.type,o=r.timeout,s=r.propCount;if(!i)return n();var a=i===oo?co:uo,c=0,l=function(){t.removeEventListener(a,u),n()},u=function(e){e.target===t&&++c>=s&&l()};setTimeout(function(){c<s&&l()},o+1),t.addEventListener(a,u)}var go=/\b(transform|all)(,|$)/;function mo(t,e){var n,r=window.getComputedStyle(t),i=r[ao+"Delay"].split(", "),o=r[ao+"Duration"].split(", "),s=_o(i,o),a=r[lo+"Delay"].split(", "),c=r[lo+"Duration"].split(", "),l=_o(a,c),u=0,p=0;e===oo?s>0&&(n=oo,u=s,p=o.length):e===so?l>0&&(n=so,u=l,p=c.length):(u=Math.max(s,l),n=u>0?s>l?oo:so:null,p=n?n===oo?o.length:c.length:0);var h=n===oo&&go.test(r[ao+"Property"]);return{type:n,timeout:u,propCount:p,hasTransform:h}}function _o(t,e){while(t.length<e.length)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return bo(e)+bo(t[n])}))}function bo(t){return 1e3*Number(t.slice(0,-1))}function wo(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var o=no(t.data.transition);if(!r(o)&&!i(n._enterCb)&&1===n.nodeType){var s=o.css,a=o.type,l=o.enterClass,u=o.enterToClass,p=o.enterActiveClass,h=o.appearClass,d=o.appearToClass,v=o.appearActiveClass,y=o.beforeEnter,g=o.enter,m=o.afterEnter,_=o.enterCancelled,b=o.beforeAppear,w=o.appear,T=o.afterAppear,C=o.appearCancelled,k=o.duration,x=De,S=De.$vnode;while(S&&S.parent)S=S.parent,x=S.context;var E=!x._isMounted||!t.isRootInsert;if(!E||w||""===w){var j=E&&h?h:l,O=E&&v?v:p,A=E&&d?d:u,P=E&&b||y,M=E&&"function"===typeof w?w:g,N=E&&T||m,I=E&&C||_,L=f(c(k)?k.enter:k);0;var $=!1!==s&&!Q,D=ko(M),z=n._enterCb=R(function(){$&&(vo(n,A),vo(n,O)),z.cancelled?($&&vo(n,j),I&&I(n)):N&&N(n),n._enterCb=null});t.data.show||me(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),M&&M(n,z)}),P&&P(n),$&&(fo(n,j),fo(n,O),ho(function(){vo(n,j),z.cancelled||(fo(n,A),D||(Co(L)?setTimeout(z,L):yo(n,a,z)))})),t.data.show&&(e&&e(),M&&M(n,z)),$||D||z()}}}function To(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var o=no(t.data.transition);if(r(o)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var s=o.css,a=o.type,l=o.leaveClass,u=o.leaveToClass,p=o.leaveActiveClass,h=o.beforeLeave,d=o.leave,v=o.afterLeave,y=o.leaveCancelled,g=o.delayLeave,m=o.duration,_=!1!==s&&!Q,b=ko(d),w=f(c(m)?m.leave:m);0;var T=n._leaveCb=R(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(vo(n,u),vo(n,p)),T.cancelled?(_&&vo(n,l),y&&y(n)):(e(),v&&v(n)),n._leaveCb=null});g?g(C):C()}function C(){T.cancelled||(t.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),h&&h(n),_&&(fo(n,l),fo(n,p),ho(function(){vo(n,l),T.cancelled||(fo(n,u),b||(Co(w)?setTimeout(T,w):yo(n,a,T)))})),d&&d(n,T),_||b||T())}}function Co(t){return"number"===typeof t&&!isNaN(t)}function ko(t){if(r(t))return!1;var e=t.fns;return i(e)?ko(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function xo(t,e){!0!==e.data.show&&wo(e)}var So=Y?{create:xo,activate:xo,remove:function(t,e){!0!==t.data.show?To(t,e):e()}}:{},Eo=[xi,ji,$i,Bi,Qi,So],jo=Eo.concat(wi),Oo=di({nodeOps:oi,modules:jo});Q&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&Ro(t,"input")});var Ao={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?me(n,"postpatch",function(){Ao.componentUpdated(t,e,n)}):Po(t,e,n.context),t._vOptions=[].map.call(t.options,Io)):("textarea"===n.tag||Ur(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Lo),t.addEventListener("compositionend",$o),t.addEventListener("change",$o),Q&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Po(t,e,n.context);var r=t._vOptions,i=t._vOptions=[].map.call(t.options,Io);if(i.some(function(t,e){return!L(t,r[e])})){var o=t.multiple?e.value.some(function(t){return No(t,i)}):e.value!==e.oldValue&&No(e.value,i);o&&Ro(t,"change")}}}};function Po(t,e,n){Mo(t,e,n),(Z||tt)&&setTimeout(function(){Mo(t,e,n)},0)}function Mo(t,e,n){var r=e.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,s,a=0,c=t.options.length;a<c;a++)if(s=t.options[a],i)o=$(r,Io(s))>-1,s.selected!==o&&(s.selected=o);else if(L(Io(s),r))return void(t.selectedIndex!==a&&(t.selectedIndex=a));i||(t.selectedIndex=-1)}}function No(t,e){return e.every(function(e){return!L(e,t)})}function Io(t){return"_value"in t?t._value:t.value}function Lo(t){t.target.composing=!0}function $o(t){t.target.composing&&(t.target.composing=!1,Ro(t.target,"input"))}function Ro(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Do(t){return!t.componentInstance||t.data&&t.data.transition?t:Do(t.componentInstance._vnode)}var zo={bind:function(t,e,n){var r=e.value;n=Do(n);var i=n.data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,wo(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r!==!i){n=Do(n);var o=n.data&&n.data.transition;o?(n.data.show=!0,r?wo(n,function(){t.style.display=t.__vOriginalDisplay}):To(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}},Fo={model:Ao,show:zo},Bo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Vo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Vo(Oe(e.children)):t}function Ho(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[T(o)]=i[o];return e}function Wo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Uo(t){while(t=t.parent)if(t.data.transition)return!0}function Xo(t,e){return e.key===t.key&&e.tag===t.tag}var qo={name:"transition",props:Bo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||je(t)}),n.length)){0;var r=this.mode;0;var i=n[0];if(Uo(this.$vnode))return i;var o=Vo(i);if(!o)return i;if(this._leaving)return Wo(t,i);var s="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?s+"comment":s+o.tag:a(o.key)?0===String(o.key).indexOf(s)?o.key:s+o.key:o.key;var c=(o.data||(o.data={})).transition=Ho(this),l=this._vnode,u=Vo(l);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),u&&u.data&&!Xo(o,u)&&!je(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var p=u.data.transition=A({},c);if("out-in"===r)return this._leaving=!0,me(p,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Wo(t,i);if("in-out"===r){if(je(o))return l;var h,d=function(){h()};me(c,"afterEnter",d),me(c,"enterCancelled",d),me(p,"delayLeave",function(t){h=t})}}return i}}},Yo=A({tag:String,moveClass:String},Bo);delete Yo.mode;var Ko={props:Yo,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],s=Ho(this),a=0;a<i.length;a++){var c=i[a];if(c.tag)if(null!=c.key&&0!==String(c.key).indexOf("__vlist"))o.push(c),n[c.key]=c,(c.data||(c.data={})).transition=s;else;}if(r){for(var l=[],u=[],p=0;p<r.length;p++){var h=r[p];h.data.transition=s,h.data.pos=h.elm.getBoundingClientRect(),n[h.key]?l.push(h):u.push(h)}this.kept=t(e,null,l),this.removed=u}return t(e,null,o)},beforeUpdate:function(){this.__patch__(this._vnode,this.kept,!1,!0),this._vnode=this.kept},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Go),t.forEach(Jo),t.forEach(Zo),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;fo(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(co,n._moveCb=function t(r){r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(co,t),n._moveCb=null,vo(n,e))})}}))},methods:{hasMove:function(t,e){if(!io)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){eo(n,t)}),to(n,e),n.style.display="none",this.$el.appendChild(n);var r=mo(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Go(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Jo(t){t.data.newPos=t.elm.getBoundingClientRect()}function Zo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}var Qo={Transition:qo,TransitionGroup:Ko};ar.config.mustUseProp=kr,ar.config.isReservedTag=Br,ar.config.isReservedAttr=Tr,ar.config.getTagNamespace=Vr,ar.config.isUnknownElement=Wr,A(ar.options.directives,Fo),A(ar.options.components,Qo),ar.prototype.__patch__=Y?Oo:M,ar.prototype.$mount=function(t,e){return t=t&&Y?Xr(t):void 0,Be(this,t,e)},Y&&setTimeout(function(){B.devtools&&st&&st.emit("init",ar)},0),e["default"]=ar}.call(this,n("c8ba"))},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"2b8c":function(t,e,n){var r=n("be09"),i=t.exports={WebVTT:n("d02c"),VTTCue:n("b03c"),VTTRegion:n("f97d")};r.vttjs=i,r.WebVTT=i.WebVTT;var o=i.VTTCue,s=i.VTTRegion,a=r.VTTCue,c=r.VTTRegion;i.shim=function(){r.VTTCue=o,r.VTTRegion=s},i.restore=function(){r.VTTCue=a,r.VTTRegion=c},r.VTTCue||i.shim()},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"31f4":function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"33a4":function(t,e,n){var r=n("84f2"),i=n("2b4c")("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"3d33":function(t,e,n){
/**
 * @license
 * Video.js 6.12.1 <http://videojs.com/>
 * Copyright Brightcove, Inc. <https://www.brightcove.com/>
 * Available under Apache License Version 2.0
 * <https://github.com/videojs/video.js/blob/master/LICENSE>
 *
 * Includes vtt.js <https://github.com/mozilla/vtt.js>
 * Available under Apache License Version 2.0
 * <https://github.com/mozilla/vtt.js/blob/master/LICENSE>
 */
function r(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var i=r(n("be09")),o=r(n("ef34")),s=r(n("1b8d")),a=r(n("8c10")),c=r(n("eec7")),l=r(n("2b8c")),u="6.12.1",p=i.navigator&&i.navigator.userAgent||"",h=/AppleWebKit\/([\d.]+)/i.exec(p),d=h?parseFloat(h.pop()):null,f=/iPad/i.test(p),v=/iPhone/i.test(p)&&!f,y=/iPod/i.test(p),g=v||f||y,m=function(){var t=p.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),_=/Android/i.test(p),b=function(){var t=p.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),n=t[2]&&parseFloat(t[2]);return e&&n?parseFloat(t[1]+"."+t[2]):e||null}(),w=_&&/webkit/i.test(p)&&b<2.3,T=_&&b<5&&d<537,C=/Firefox/i.test(p),k=/Edge/i.test(p),x=!k&&(/Chrome/i.test(p)||/CriOS/i.test(p)),S=function(){var t=p.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),E=/MSIE\s8\.0/.test(p),j=function(){var t=/MSIE\s(\d+)\.\d/.exec(p),e=t&&parseFloat(t[1]);return!e&&/Trident\/7.0/i.test(p)&&/rv:11.0/.test(p)&&(e=11),e}(),O=/Safari/i.test(p)&&!x&&!_&&!k,A=(O||g)&&!x,P=nt()&&("ontouchstart"in i||i.navigator.maxTouchPoints||i.DocumentTouch&&i.document instanceof i.DocumentTouch),M=nt()&&"backgroundSize"in i.document.createElement("video").style,N=(Object.freeze||Object)({IS_IPAD:f,IS_IPHONE:v,IS_IPOD:y,IS_IOS:g,IOS_VERSION:m,IS_ANDROID:_,ANDROID_VERSION:b,IS_OLD_ANDROID:w,IS_NATIVE_ANDROID:T,IS_FIREFOX:C,IS_EDGE:k,IS_CHROME:x,CHROME_VERSION:S,IS_IE8:E,IE_VERSION:j,IS_SAFARI:O,IS_ANY_SAFARI:A,TOUCH_ENABLED:P,BACKGROUND_SIZE_SUPPORTED:M}),I="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},$=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},R=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e},D=function(t,e){return t.raw=e,t},z=Object.prototype.toString,F=function(t){return W(t)?Object.keys(t):[]};function B(t,e){F(t).forEach(function(n){return e(t[n],n)})}function V(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return F(t).reduce(function(n,r){return e(n,t[r],r)},n)}function H(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return Object.assign?Object.assign.apply(Object,[t].concat(n)):(n.forEach(function(e){e&&B(e,function(e,n){t[n]=e})}),t)}function W(t){return!!t&&"object"===("undefined"===typeof t?"undefined":I(t))}function U(t){return W(t)&&"[object Object]"===z.call(t)&&t.constructor===Object}var X=void 0,q="info",Y=[],K=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:!!j&&j<11,r=X.levels[q],o=new RegExp("^("+r+")$");if("log"!==t&&e.unshift(t.toUpperCase()+":"),Y&&Y.push([].concat(e)),e.unshift("VIDEOJS:"),i.console){var s=i.console[t];s||"debug"!==t||(s=i.console.info||i.console.log),s&&r&&o.test(t)&&(n&&(e=e.map(function(t){if(W(t)||Array.isArray(t))try{return JSON.stringify(t)}catch(e){return String(t)}return String(t)}).join(" ")),s.apply?s[Array.isArray(e)?"apply":"call"](i.console,e):s(e))}};X=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];K("log",e)},X.levels={all:"debug|log|warn|error",off:"",debug:"debug|log|warn|error",info:"log|warn|error",warn:"warn|error",error:"error",DEFAULT:q},X.level=function(t){if("string"===typeof t){if(!X.levels.hasOwnProperty(t))throw new Error('"'+t+'" in not a valid log level');q=t}return q},X.history=function(){return Y?[].concat(Y):[]},X.history.clear=function(){Y&&(Y.length=0)},X.history.disable=function(){null!==Y&&(Y.length=0,Y=null)},X.history.enable=function(){null===Y&&(Y=[])},X.error=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return K("error",e)},X.warn=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return K("warn",e)},X.debug=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return K("debug",e)};var G=X;function J(t,e){if(!t||!e)return"";if("function"===typeof i.getComputedStyle){var n=i.getComputedStyle(t);return n?n[e]:""}return t.currentStyle[e]||""}var Z=D(["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."],["Setting attributes in the second argument of createEl()\n                has been deprecated. Use the third argument instead.\n                createEl(type, properties, attributes). Attempting to set "," to ","."]);function Q(t){return"string"===typeof t&&/\S/.test(t)}function tt(t){if(/\s/.test(t))throw new Error("class has illegal whitespace characters")}function et(t){return new RegExp("(^|\\s)"+t+"($|\\s)")}function nt(){return o===i.document&&"undefined"!==typeof o.createElement}function rt(t){return W(t)&&1===t.nodeType}function it(){try{return i.parent!==i.self}catch(t){return!0}}function ot(t){return function(e,n){if(!Q(e))return o[t](null);Q(n)&&(n=o.querySelector(n));var r=rt(n)?n:o;return r[t]&&r[t](e)}}function st(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments[3],i=o.createElement(t);return Object.getOwnPropertyNames(e).forEach(function(t){var n=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(G.warn(s(Z,t,n)),i.setAttribute(t,n)):"textContent"===t?at(i,n):i[t]=n}),Object.getOwnPropertyNames(n).forEach(function(t){i.setAttribute(t,n[t])}),r&&St(i,r),i}function at(t,e){return"undefined"===typeof t.textContent?t.innerText=e:t.textContent=e,t}function ct(t,e){e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)}function lt(t,e){return tt(e),t.classList?t.classList.contains(e):et(e).test(t.className)}function ut(t,e){return t.classList?t.classList.add(e):lt(t,e)||(t.className=(t.className+" "+e).trim()),t}function pt(t,e){return t.classList?t.classList.remove(e):(tt(e),t.className=t.className.split(/\s+/).filter(function(t){return t!==e}).join(" ")),t}function ht(t,e,n){var r=lt(t,e);if("function"===typeof n&&(n=n(t,e)),"boolean"!==typeof n&&(n=!r),n!==r)return n?ut(t,e):pt(t,e),t}function dt(t,e){Object.getOwnPropertyNames(e).forEach(function(n){var r=e[n];null===r||"undefined"===typeof r||!1===r?t.removeAttribute(n):t.setAttribute(n,!0===r?"":r)})}function ft(t){var e={},n=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&t.attributes.length>0)for(var r=t.attributes,i=r.length-1;i>=0;i--){var o=r[i].name,s=r[i].value;"boolean"!==typeof t[o]&&-1===n.indexOf(","+o+",")||(s=null!==s),e[o]=s}return e}function vt(t,e){return t.getAttribute(e)}function yt(t,e,n){t.setAttribute(e,n)}function gt(t,e){t.removeAttribute(e)}function mt(){o.body.focus(),o.onselectstart=function(){return!1}}function _t(){o.onselectstart=function(){return!0}}function bt(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),n={};return["bottom","height","left","right","top","width"].forEach(function(t){void 0!==e[t]&&(n[t]=e[t])}),n.height||(n.height=parseFloat(J(t,"height"))),n.width||(n.width=parseFloat(J(t,"width"))),n}}function wt(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var n=o.documentElement,r=o.body,s=n.clientLeft||r.clientLeft||0,a=i.pageXOffset||r.scrollLeft,c=e.left+a-s,l=n.clientTop||r.clientTop||0,u=i.pageYOffset||r.scrollTop,p=e.top+u-l;return{left:Math.round(c),top:Math.round(p)}}function Tt(t,e){var n={},r=wt(t),i=t.offsetWidth,o=t.offsetHeight,s=r.top,a=r.left,c=e.pageY,l=e.pageX;return e.changedTouches&&(l=e.changedTouches[0].pageX,c=e.changedTouches[0].pageY),n.y=Math.max(0,Math.min(1,(s-c+o)/o)),n.x=Math.max(0,Math.min(1,(l-a)/i)),n}function Ct(t){return W(t)&&3===t.nodeType}function kt(t){while(t.firstChild)t.removeChild(t.firstChild);return t}function xt(t){return"function"===typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map(function(t){return"function"===typeof t&&(t=t()),rt(t)||Ct(t)?t:"string"===typeof t&&/\S/.test(t)?o.createTextNode(t):void 0}).filter(function(t){return t})}function St(t,e){return xt(e).forEach(function(e){return t.appendChild(e)}),t}function Et(t,e){return St(kt(t),e)}function jt(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||(9===j||0===t.button&&1===t.buttons))}var Ot=ot("querySelector"),At=ot("querySelectorAll"),Pt=(Object.freeze||Object)({isReal:nt,isEl:rt,isInFrame:it,createEl:st,textContent:at,prependTo:ct,hasClass:lt,addClass:ut,removeClass:pt,toggleClass:ht,setAttributes:dt,getAttributes:ft,getAttribute:vt,setAttribute:yt,removeAttribute:gt,blockTextSelection:mt,unblockTextSelection:_t,getBoundingClientRect:bt,findPosition:wt,getPointerPosition:Tt,isTextNode:Ct,emptyEl:kt,normalizeContent:xt,appendContent:St,insertContent:Et,isSingleLeftClick:jt,$:Ot,$$:At}),Mt=1;function Nt(){return Mt++}var It={},Lt="vdata"+(new Date).getTime();function $t(t){var e=t[Lt];return e||(e=t[Lt]=Nt()),It[e]||(It[e]={}),It[e]}function Rt(t){var e=t[Lt];return!!e&&!!Object.getOwnPropertyNames(It[e]).length}function Dt(t){var e=t[Lt];if(e){delete It[e];try{delete t[Lt]}catch(e){t.removeAttribute?t.removeAttribute(Lt):t[Lt]=null}}}function zt(t,e){var n=$t(t);0===n.handlers[e].length&&(delete n.handlers[e],t.removeEventListener?t.removeEventListener(e,n.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,n.dispatcher)),Object.getOwnPropertyNames(n.handlers).length<=0&&(delete n.handlers,delete n.dispatcher,delete n.disabled),0===Object.getOwnPropertyNames(n).length&&Dt(t)}function Ft(t,e,n,r){n.forEach(function(n){t(e,n,r)})}function Bt(t){function e(){return!0}function n(){return!1}if(!t||!t.isPropagationStopped){var r=t||i.event;for(var s in t={},r)"layerX"!==s&&"layerY"!==s&&"keyLocation"!==s&&"webkitMovementX"!==s&&"webkitMovementY"!==s&&("returnValue"===s&&r.preventDefault||(t[s]=r[s]));if(t.target||(t.target=t.srcElement||o),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){r.preventDefault&&r.preventDefault(),t.returnValue=!1,r.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),t.cancelBubble=!0,r.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=n,t.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=n,null!==t.clientX&&void 0!==t.clientX){var a=o.documentElement,c=o.body;t.pageX=t.clientX+(a&&a.scrollLeft||c&&c.scrollLeft||0)-(a&&a.clientLeft||c&&c.clientLeft||0),t.pageY=t.clientY+(a&&a.scrollTop||c&&c.scrollTop||0)-(a&&a.clientTop||c&&c.clientTop||0)}t.which=t.charCode||t.keyCode,null!==t.button&&void 0!==t.button&&(t.button=1&t.button?0:4&t.button?1:2&t.button?2:0)}return t}var Vt=!1;(function(){try{var t=Object.defineProperty({},"passive",{get:function(){Vt=!0}});i.addEventListener("test",null,t),i.removeEventListener("test",null,t)}catch(t){}})();var Ht=["touchstart","touchmove"];function Wt(t,e,n){if(Array.isArray(e))return Ft(Wt,t,e,n);var r=$t(t);if(r.handlers||(r.handlers={}),r.handlers[e]||(r.handlers[e]=[]),n.guid||(n.guid=Nt()),r.handlers[e].push(n),r.dispatcher||(r.disabled=!1,r.dispatcher=function(e,n){if(!r.disabled){e=Bt(e);var i=r.handlers[e.type];if(i)for(var o=i.slice(0),s=0,a=o.length;s<a;s++){if(e.isImmediatePropagationStopped())break;try{o[s].call(t,e,n)}catch(t){G.error(t)}}}}),1===r.handlers[e].length)if(t.addEventListener){var i=!1;Vt&&Ht.indexOf(e)>-1&&(i={passive:!0}),t.addEventListener(e,r.dispatcher,i)}else t.attachEvent&&t.attachEvent("on"+e,r.dispatcher)}function Ut(t,e,n){if(Rt(t)){var r=$t(t);if(r.handlers){if(Array.isArray(e))return Ft(Ut,t,e,n);var i=function(t,e){r.handlers[e]=[],zt(t,e)};if(void 0!==e){var o=r.handlers[e];if(o)if(n){if(n.guid)for(var s=0;s<o.length;s++)o[s].guid===n.guid&&o.splice(s--,1);zt(t,e)}else i(t,e)}else for(var a in r.handlers)Object.prototype.hasOwnProperty.call(r.handlers||{},a)&&i(t,a)}}}function Xt(t,e,n){var r=Rt(t)?$t(t):{},i=t.parentNode||t.ownerDocument;if("string"===typeof e?e={type:e,target:t}:e.target||(e.target=t),e=Bt(e),r.dispatcher&&r.dispatcher.call(t,e,n),i&&!e.isPropagationStopped()&&!0===e.bubbles)Xt.call(null,i,e,n);else if(!i&&!e.defaultPrevented){var o=$t(e.target);e.target[e.type]&&(o.disabled=!0,"function"===typeof e.target[e.type]&&e.target[e.type](),o.disabled=!1)}return!e.defaultPrevented}function qt(t,e,n){if(Array.isArray(e))return Ft(qt,t,e,n);var r=function r(){Ut(t,e,r),n.apply(this,arguments)};r.guid=n.guid=n.guid||Nt(),Wt(t,e,r)}var Yt=(Object.freeze||Object)({fixEvent:Bt,on:Wt,off:Ut,trigger:Xt,one:qt}),Kt=!1,Gt=void 0,Jt=function(){if(nt()&&!1!==Gt.options.autoSetup){var t=o.getElementsByTagName("video"),e=o.getElementsByTagName("audio"),n=o.getElementsByTagName("video-js"),r=[];if(t&&t.length>0)for(var i=0,s=t.length;i<s;i++)r.push(t[i]);if(e&&e.length>0)for(var a=0,c=e.length;a<c;a++)r.push(e[a]);if(n&&n.length>0)for(var l=0,u=n.length;l<u;l++)r.push(n[l]);if(r&&r.length>0)for(var p=0,h=r.length;p<h;p++){var d=r[p];if(!d||!d.getAttribute){Zt(1);break}if(void 0===d.player){var f=d.getAttribute("data-setup");null!==f&&Gt(d)}}else Kt||Zt(1)}};function Zt(t,e){e&&(Gt=e),i.setTimeout(Jt,t)}nt()&&"complete"===o.readyState?Kt=!0:qt(i,"load",function(){Kt=!0});var Qt=function(t){var e=o.createElement("style");return e.className=t,e},te=function(t,e){t.styleSheet?t.styleSheet.cssText=e:t.textContent=e},ee=function(t,e,n){e.guid||(e.guid=Nt());var r=function(){return e.apply(t,arguments)};return r.guid=n?n+"_"+e.guid:e.guid,r},ne=function(t,e){var n=Date.now(),r=function(){var r=Date.now();r-n>=e&&(t.apply(void 0,arguments),n=r)};return r},re=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i,o=void 0;return function(){var i=this,s=arguments,a=function(){o=null,a=null,n||t.apply(i,s)};!o&&n&&t.apply(i,s),r.clearTimeout(o),o=r.setTimeout(a,e)}},ie=function(){};ie.prototype.allowedEvents_={},ie.prototype.on=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},Wt(this,t,e),this.addEventListener=n},ie.prototype.addEventListener=ie.prototype.on,ie.prototype.off=function(t,e){Ut(this,t,e)},ie.prototype.removeEventListener=ie.prototype.off,ie.prototype.one=function(t,e){var n=this.addEventListener;this.addEventListener=function(){},qt(this,t,e),this.addEventListener=n},ie.prototype.trigger=function(t){var e=t.type||t;"string"===typeof t&&(t={type:e}),t=Bt(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),Xt(this,t)},ie.prototype.dispatchEvent=ie.prototype.trigger;var oe=function(t){return t instanceof ie||!!t.eventBusEl_&&["on","one","off","trigger"].every(function(e){return"function"===typeof t[e]})},se=function(t){return"string"===typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},ae=function(t){if(!t.nodeName&&!oe(t))throw new Error("Invalid target; must be a DOM node or evented object.")},ce=function(t){if(!se(t))throw new Error("Invalid event type; must be a non-empty string or array.")},le=function(t){if("function"!==typeof t)throw new Error("Invalid listener; must be a function.")},ue=function(t,e){var n=e.length<3||e[0]===t||e[0]===t.eventBusEl_,r=void 0,i=void 0,o=void 0;return n?(r=t.eventBusEl_,e.length>=3&&e.shift(),i=e[0],o=e[1]):(r=e[0],i=e[1],o=e[2]),ae(r),ce(i),le(o),o=ee(t,o),{isTargetingSelf:n,target:r,type:i,listener:o}},pe=function(t,e,n,r){ae(t),t.nodeName?Yt[e](t,n,r):t[e](n,r)},he={on:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=ue(this,n),o=i.isTargetingSelf,s=i.target,a=i.type,c=i.listener;if(pe(s,"on",a,c),!o){var l=function(){return t.off(s,a,c)};l.guid=c.guid;var u=function(){return t.off("dispose",l)};u.guid=c.guid,pe(this,"on","dispose",l),pe(s,"on","dispose",u)}},one:function(){for(var t=this,e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var i=ue(this,n),o=i.isTargetingSelf,s=i.target,a=i.type,c=i.listener;if(o)pe(s,"one",a,c);else{var l=function e(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];t.off(s,a,e),c.apply(null,r)};l.guid=c.guid,pe(s,"one",a,l)}},off:function(t,e,n){if(!t||se(t))Ut(this.eventBusEl_,t,e);else{var r=t,i=e;ae(r),ce(i),le(n),n=ee(this,n),this.off("dispose",n),r.nodeName?(Ut(r,i,n),Ut(r,"dispose",n)):oe(r)&&(r.off(i,n),r.off("dispose",n))}},trigger:function(t,e){return Xt(this.eventBusEl_,t,e)}};function de(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.eventBusKey;if(n){if(!t[n].nodeName)throw new Error('The eventBusKey "'+n+'" does not refer to an element.');t.eventBusEl_=t[n]}else t.eventBusEl_=st("span",{className:"vjs-event-bus"});return H(t,he),t.on("dispose",function(){t.off(),i.setTimeout(function(){t.eventBusEl_=null},0)}),t}var fe={state:{},setState:function(t){var e=this;"function"===typeof t&&(t=t());var n=void 0;return B(t,function(t,r){e.state[r]!==t&&(n=n||{},n[r]={from:e.state[r],to:t}),e.state[r]=t}),n&&oe(this)&&this.trigger({changes:n,type:"statechanged"}),n}};function ve(t,e){return H(t,fe),t.state=H({},t.state,e),"function"===typeof t.handleStateChanged&&oe(t)&&t.on("statechanged",t.handleStateChanged),t}function ye(t){return"string"!==typeof t?t:t.charAt(0).toUpperCase()+t.slice(1)}function ge(t,e){return ye(t)===ye(e)}function me(){for(var t={},e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return n.forEach(function(e){e&&B(e,function(e,n){U(e)?(U(t[n])||(t[n]={}),t[n]=me(t[n],e)):t[n]=e})}),t}var _e=function(){function t(e,n,r){if(L(this,t),!e&&this.play?this.player_=e=this:this.player_=e,this.options_=me({},this.options_),n=this.options_=me(this.options_,n),this.id_=n.id||n.el&&n.el.id,!this.id_){var i=e&&e.id&&e.id()||"no_player";this.id_=i+"_component_"+Nt()}this.name_=n.name||null,n.el?this.el_=n.el:!1!==n.createEl&&(this.el_=this.createEl()),!1!==n.evented&&de(this,{eventBusKey:this.el_?"el_":null}),ve(this,this.constructor.defaultState),this.children_=[],this.childIndex_={},this.childNameIndex_={},!1!==n.initChildren&&this.initChildren(),this.ready(r),!1!==n.reportTouchActivity&&this.enableTouchActivity()}return t.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var t=this.children_.length-1;t>=0;t--)this.children_[t].dispose&&this.children_[t].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.el_&&(this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),Dt(this.el_),this.el_=null),this.player_=null},t.prototype.player=function(){return this.player_},t.prototype.options=function(t){return G.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),t?(this.options_=me(this.options_,t),this.options_):this.options_},t.prototype.el=function(){return this.el_},t.prototype.createEl=function(t,e,n){return st(t,e,n)},t.prototype.localize=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[r],s=r&&r.split("-")[0],a=i&&i[s],c=n;return o&&o[t]?c=o[t]:a&&a[t]&&(c=a[t]),e&&(c=c.replace(/\{(\d+)\}/g,function(t,n){var r=e[n-1],i=r;return"undefined"===typeof r&&(i=t),i})),c},t.prototype.contentEl=function(){return this.contentEl_||this.el_},t.prototype.id=function(){return this.id_},t.prototype.name=function(){return this.name_},t.prototype.children=function(){return this.children_},t.prototype.getChildById=function(t){return this.childIndex_[t]},t.prototype.getChild=function(t){if(t)return t=ye(t),this.childNameIndex_[t]},t.prototype.addChild=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.children_.length,i=void 0,o=void 0;if("string"===typeof e){o=ye(e);var s=n.componentClass||o;n.name=o;var a=t.getComponent(s);if(!a)throw new Error("Component "+s+" does not exist");if("function"!==typeof a)return null;i=new a(this.player_||this,n)}else i=e;if(this.children_.splice(r,0,i),"function"===typeof i.id&&(this.childIndex_[i.id()]=i),o=o||i.name&&ye(i.name()),o&&(this.childNameIndex_[o]=i),"function"===typeof i.el&&i.el()){var c=this.contentEl().children,l=c[r]||null;this.contentEl().insertBefore(i.el(),l)}return i},t.prototype.removeChild=function(t){if("string"===typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,n=this.children_.length-1;n>=0;n--)if(this.children_[n]===t){e=!0,this.children_.splice(n,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var r=t.el();r&&r.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},t.prototype.initChildren=function(){var e=this,n=this.options_.children;if(n){var r=this.options_,i=function(t){var n=t.name,i=t.opts;if(void 0!==r[n]&&(i=r[n]),!1!==i){!0===i&&(i={}),i.playerOptions=e.options_.playerOptions;var o=e.addChild(n,i);o&&(e[n]=o)}},o=void 0,s=t.getComponent("Tech");o=Array.isArray(n)?n:Object.keys(n),o.concat(Object.keys(this.options_).filter(function(t){return!o.some(function(e){return"string"===typeof e?t===e:t===e.name})})).map(function(t){var r=void 0,i=void 0;return"string"===typeof t?(r=t,i=n[r]||e.options_[r]||{}):(r=t.name,i=t),{name:r,opts:i}}).filter(function(e){var n=t.getComponent(e.opts.componentClass||ye(e.name));return n&&!s.isTech(n)}).forEach(i)}},t.prototype.buildCSSClass=function(){return""},t.prototype.ready=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.isReady_?void(e?t.call(this):this.setTimeout(t,1)):(this.readyQueue_=this.readyQueue_||[],void this.readyQueue_.push(t))},t.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var t=this.readyQueue_;this.readyQueue_=[],t&&t.length>0&&t.forEach(function(t){t.call(this)},this),this.trigger("ready")},1)},t.prototype.$=function(t,e){return Ot(t,e||this.contentEl())},t.prototype.$$=function(t,e){return At(t,e||this.contentEl())},t.prototype.hasClass=function(t){return lt(this.el_,t)},t.prototype.addClass=function(t){ut(this.el_,t)},t.prototype.removeClass=function(t){pt(this.el_,t)},t.prototype.toggleClass=function(t,e){ht(this.el_,t,e)},t.prototype.show=function(){this.removeClass("vjs-hidden")},t.prototype.hide=function(){this.addClass("vjs-hidden")},t.prototype.lockShowing=function(){this.addClass("vjs-lock-showing")},t.prototype.unlockShowing=function(){this.removeClass("vjs-lock-showing")},t.prototype.getAttribute=function(t){return vt(this.el_,t)},t.prototype.setAttribute=function(t,e){yt(this.el_,t,e)},t.prototype.removeAttribute=function(t){gt(this.el_,t)},t.prototype.width=function(t,e){return this.dimension("width",t,e)},t.prototype.height=function(t,e){return this.dimension("height",t,e)},t.prototype.dimensions=function(t,e){this.width(t,!0),this.height(e)},t.prototype.dimension=function(t,e,n){if(void 0!==e)return null!==e&&e===e||(e=0),-1!==(""+e).indexOf("%")||-1!==(""+e).indexOf("px")?this.el_.style[t]=e:this.el_.style[t]="auto"===e?"":e+"px",void(n||this.trigger("componentresize"));if(!this.el_)return 0;var r=this.el_.style[t],i=r.indexOf("px");return-1!==i?parseInt(r.slice(0,i),10):parseInt(this.el_["offset"+ye(t)],10)},t.prototype.currentDimension=function(t){var e=0;if("width"!==t&&"height"!==t)throw new Error("currentDimension only accepts width or height value");if("function"===typeof i.getComputedStyle){var n=i.getComputedStyle(this.el_);e=n.getPropertyValue(t)||n[t]}if(e=parseFloat(e),0===e){var r="offset"+ye(t);e=this.el_[r]}return e},t.prototype.currentDimensions=function(){return{width:this.currentDimension("width"),height:this.currentDimension("height")}},t.prototype.currentWidth=function(){return this.currentDimension("width")},t.prototype.currentHeight=function(){return this.currentDimension("height")},t.prototype.focus=function(){this.el_.focus()},t.prototype.blur=function(){this.el_.blur()},t.prototype.emitTapEvents=function(){var t=0,e=null,n=10,r=200,i=void 0;this.on("touchstart",function(n){1===n.touches.length&&(e={pageX:n.touches[0].pageX,pageY:n.touches[0].pageY},t=(new Date).getTime(),i=!0)}),this.on("touchmove",function(t){if(t.touches.length>1)i=!1;else if(e){var r=t.touches[0].pageX-e.pageX,o=t.touches[0].pageY-e.pageY,s=Math.sqrt(r*r+o*o);s>n&&(i=!1)}});var o=function(){i=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",function(n){if(e=null,!0===i){var o=(new Date).getTime()-t;o<r&&(n.preventDefault(),this.trigger("tap"))}})},t.prototype.enableTouchActivity=function(){if(this.player()&&this.player().reportUserActivity){var t=ee(this.player(),this.player().reportUserActivity),e=void 0;this.on("touchstart",function(){t(),this.clearInterval(e),e=this.setInterval(t,250)});var n=function(n){t(),this.clearInterval(e)};this.on("touchmove",t),this.on("touchend",n),this.on("touchcancel",n)}},t.prototype.setTimeout=function(t,e){var n,r,o=this;return t=ee(this,t),n=i.setTimeout(function(){o.off("dispose",r),t()},e),r=function(){return o.clearTimeout(n)},r.guid="vjs-timeout-"+n,this.on("dispose",r),n},t.prototype.clearTimeout=function(t){i.clearTimeout(t);var e=function(){};return e.guid="vjs-timeout-"+t,this.off("dispose",e),t},t.prototype.setInterval=function(t,e){var n=this;t=ee(this,t);var r=i.setInterval(t,e),o=function(){return n.clearInterval(r)};return o.guid="vjs-interval-"+r,this.on("dispose",o),r},t.prototype.clearInterval=function(t){i.clearInterval(t);var e=function(){};return e.guid="vjs-interval-"+t,this.off("dispose",e),t},t.prototype.requestAnimationFrame=function(t){var e,n,r=this;return this.supportsRaf_?(t=ee(this,t),e=i.requestAnimationFrame(function(){r.off("dispose",n),t()}),n=function(){return r.cancelAnimationFrame(e)},n.guid="vjs-raf-"+e,this.on("dispose",n),e):this.setTimeout(t,1e3/60)},t.prototype.cancelAnimationFrame=function(t){if(this.supportsRaf_){i.cancelAnimationFrame(t);var e=function(){};return e.guid="vjs-raf-"+t,this.off("dispose",e),t}return this.clearTimeout(t)},t.registerComponent=function(e,n){if("string"!==typeof e||!e)throw new Error('Illegal component name, "'+e+'"; must be a non-empty string.');var r=t.getComponent("Tech"),i=r&&r.isTech(n),o=t===n||t.prototype.isPrototypeOf(n.prototype);if(i||!o){var s=void 0;throw s=i?"techs must be registered using Tech.registerTech()":"must be a Component subclass",new Error('Illegal component, "'+e+'"; '+s+".")}e=ye(e),t.components_||(t.components_={});var a=t.getComponent("Player");if("Player"===e&&a&&a.players){var c=a.players,l=Object.keys(c);if(c&&l.length>0&&l.map(function(t){return c[t]}).every(Boolean))throw new Error("Can not register Player component after player has been created.")}return t.components_[e]=n,n},t.getComponent=function(e){if(e)return e=ye(e),t.components_&&t.components_[e]?t.components_[e]:void 0},t}();function be(t,e,n){if("number"!==typeof e||e<0||e>n)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+n+").")}function we(t,e,n,r){return be(t,r,n.length-1),n[r][e]}function Te(t){return void 0===t||0===t.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:t.length,start:we.bind(null,"start",0,t),end:we.bind(null,"end",1,t)}}function Ce(t,e){return Array.isArray(t)?Te(t):void 0===t||void 0===e?Te():Te([[t,e]])}function ke(t,e){var n=0,r=void 0,i=void 0;if(!e)return 0;t&&t.length||(t=Ce(0,0));for(var o=0;o<t.length;o++)r=t.start(o),i=t.end(o),i>e&&(i=e),n+=i-r;return n/e}_e.prototype.supportsRaf_="function"===typeof i.requestAnimationFrame&&"function"===typeof i.cancelAnimationFrame,_e.registerComponent("Component",_e);for(var xe={},Se=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],Ee=Se[0],je=void 0,Oe=0;Oe<Se.length;Oe++)if(Se[Oe][1]in o){je=Se[Oe];break}if(je)for(var Ae=0;Ae<je.length;Ae++)xe[Ee[Ae]]=je[Ae];function Pe(t){if(t instanceof Pe)return t;"number"===typeof t?this.code=t:"string"===typeof t?this.message=t:W(t)&&("number"===typeof t.code&&(this.code=t.code),H(this,t)),this.message||(this.message=Pe.defaultMessages[this.code]||"")}Pe.prototype.code=0,Pe.prototype.message="",Pe.prototype.status=null,Pe.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],Pe.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var Me=0;Me<Pe.errorTypes.length;Me++)Pe[Pe.errorTypes[Me]]=Me,Pe.prototype[Pe.errorTypes[Me]]=Me;function Ne(t){return void 0!==t&&null!==t&&"function"===typeof t.then}function Ie(t){Ne(t)&&t.then(null,function(t){})}var Le=function(t){var e=["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(e,n,r){return t[n]&&(e[n]=t[n]),e},{cues:t.cues&&Array.prototype.map.call(t.cues,function(t){return{startTime:t.startTime,endTime:t.endTime,text:t.text,id:t.id}})});return e},$e=function(t){var e=t.$$("track"),n=Array.prototype.map.call(e,function(t){return t.track}),r=Array.prototype.map.call(e,function(t){var e=Le(t.track);return t.src&&(e.src=t.src),e});return r.concat(Array.prototype.filter.call(t.textTracks(),function(t){return-1===n.indexOf(t)}).map(Le))},Re=function(t,e){return t.forEach(function(t){var n=e.addRemoteTextTrack(t).track;!t.src&&t.cues&&t.cues.forEach(function(t){return n.addCue(t)})}),e.textTracks()},De={textTracksToJson:$e,jsonToTextTracks:Re,trackToJson_:Le},ze="vjs-modal-dialog",Fe=27,Be=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.opened_=i.hasBeenOpened_=i.hasBeenFilled_=!1,i.closeable(!i.options_.uncloseable),i.content(i.options_.content),i.contentEl_=st("div",{className:ze+"-content"},{role:"document"}),i.descEl_=st("p",{className:ze+"-description vjs-control-text",id:i.el().getAttribute("aria-describedby")}),at(i.descEl_,i.description()),i.el_.appendChild(i.descEl_),i.el_.appendChild(i.contentEl_),i}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},e.prototype.dispose=function(){this.contentEl_=null,this.descEl_=null,this.previouslyActiveEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return ze+" vjs-hidden "+t.prototype.buildCSSClass.call(this)},e.prototype.handleKeyPress=function(t){t.which===Fe&&this.closeable()&&this.close()},e.prototype.label=function(){return this.localize(this.options_.label||"Modal Window")},e.prototype.description=function(){var t=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(t+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),t},e.prototype.open=function(){if(!this.opened_){var t=this.player();this.trigger("beforemodalopen"),this.opened_=!0,(this.options_.fillAlways||!this.hasBeenOpened_&&!this.hasBeenFilled_)&&this.fill(),this.wasPlaying_=!t.paused(),this.options_.pauseOnOpen&&this.wasPlaying_&&t.pause(),this.closeable()&&this.on(this.el_.ownerDocument,"keydown",ee(this,this.handleKeyPress)),this.hadControls_=t.controls(),t.controls(!1),this.show(),this.conditionalFocus_(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0}},e.prototype.opened=function(t){return"boolean"===typeof t&&this[t?"open":"close"](),this.opened_},e.prototype.close=function(){if(this.opened_){var t=this.player();this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&this.options_.pauseOnOpen&&t.play(),this.closeable()&&this.off(this.el_.ownerDocument,"keydown",ee(this,this.handleKeyPress)),this.hadControls_&&t.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.conditionalBlur_(),this.options_.temporary&&this.dispose()}},e.prototype.closeable=function(t){if("boolean"===typeof t){var e=this.closeable_=!!t,n=this.getChild("closeButton");if(e&&!n){var r=this.contentEl_;this.contentEl_=this.el_,n=this.addChild("closeButton",{controlText:"Close Modal Dialog"}),this.contentEl_=r,this.on(n,"close",this.close)}!e&&n&&(this.off(n,"close",this.close),this.removeChild(n),n.dispose())}return this.closeable_},e.prototype.fill=function(){this.fillWith(this.content())},e.prototype.fillWith=function(t){var e=this.contentEl(),n=e.parentNode,r=e.nextSibling;this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,n.removeChild(e),this.empty(),Et(e,t),this.trigger("modalfill"),r?n.insertBefore(e,r):n.appendChild(e);var i=this.getChild("closeButton");i&&n.appendChild(i.el_)},e.prototype.empty=function(){this.trigger("beforemodalempty"),kt(this.contentEl()),this.trigger("modalempty")},e.prototype.content=function(t){return"undefined"!==typeof t&&(this.content_=t),this.content_},e.prototype.conditionalFocus_=function(){var t=o.activeElement,e=this.player_.el_;this.previouslyActiveEl_=null,(e.contains(t)||e===t)&&(this.previouslyActiveEl_=t,this.focus(),this.on(o,"keydown",this.handleKeyDown))},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_&&(this.previouslyActiveEl_.focus(),this.previouslyActiveEl_=null),this.off(o,"keydown",this.handleKeyDown)},e.prototype.handleKeyDown=function(t){if(9===t.which){for(var e=this.focusableEls_(),n=this.el_.querySelector(":focus"),r=void 0,i=0;i<e.length;i++)if(n===e[i]){r=i;break}o.activeElement===this.el_&&(r=0),t.shiftKey&&0===r?(e[e.length-1].focus(),t.preventDefault()):t.shiftKey||r!==e.length-1||(e[0].focus(),t.preventDefault())}},e.prototype.focusableEls_=function(){var t=this.el_.querySelectorAll("*");return Array.prototype.filter.call(t,function(t){return(t instanceof i.HTMLAnchorElement||t instanceof i.HTMLAreaElement)&&t.hasAttribute("href")||(t instanceof i.HTMLInputElement||t instanceof i.HTMLSelectElement||t instanceof i.HTMLTextAreaElement||t instanceof i.HTMLButtonElement)&&!t.hasAttribute("disabled")||t instanceof i.HTMLIFrameElement||t instanceof i.HTMLObjectElement||t instanceof i.HTMLEmbedElement||t.hasAttribute("tabindex")&&-1!==t.getAttribute("tabindex")||t.hasAttribute("contenteditable")})},e}(_e);Be.prototype.options_={pauseOnOpen:!0,temporary:!0},_e.registerComponent("ModalDialog",Be);var Ve=function(t){function e(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;L(this,e);var s=R(this,t.call(this));if(!i&&(i=s,E))for(var a in i=o.createElement("custom"),e.prototype)"constructor"!==a&&(i[a]=e.prototype[a]);i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}});for(var c=0;c<r.length;c++)i.addTrack(r[c]);return n=i,R(s,n)}return $(e,t),e.prototype.addTrack=function(t){var e=this.tracks_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.tracks_[e]}}),-1===this.tracks_.indexOf(t)&&(this.tracks_.push(t),this.trigger({track:t,type:"addtrack"}))},e.prototype.removeTrack=function(t){for(var e=void 0,n=0,r=this.length;n<r;n++)if(this[n]===t){e=this[n],e.off&&e.off(),this.tracks_.splice(n,1);break}e&&this.trigger({track:e,type:"removetrack"})},e.prototype.getTrackById=function(t){for(var e=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===t){e=i;break}}return e},e}(ie);for(var He in Ve.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},Ve.prototype.allowedEvents_)Ve.prototype["on"+He]=null;var We=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].enabled=!1)},Ue=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];L(this,e);for(var s=void 0,a=i.length-1;a>=0;a--)if(i[a].enabled){We(i,i[a]);break}if(E){for(var c in s=o.createElement("custom"),Ve.prototype)"constructor"!==c&&(s[c]=Ve.prototype[c]);for(var l in e.prototype)"constructor"!==l&&(s[l]=e.prototype[l])}return n=R(this,t.call(this,i,s)),s=n,s.changing_=!1,r=s,R(n,r)}return $(e,t),e.prototype.addTrack=function(e){var n=this;e.enabled&&We(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("enabledchange",function(){n.changing_||(n.changing_=!0,We(n,e),n.changing_=!1,n.trigger("change"))})},e}(Ve),Xe=function(t,e){for(var n=0;n<t.length;n++)Object.keys(t[n]).length&&e.id!==t[n].id&&(t[n].selected=!1)},qe=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];L(this,e);for(var s=void 0,a=i.length-1;a>=0;a--)if(i[a].selected){Xe(i,i[a]);break}if(E){for(var c in s=o.createElement("custom"),Ve.prototype)"constructor"!==c&&(s[c]=Ve.prototype[c]);for(var l in e.prototype)"constructor"!==l&&(s[l]=e.prototype[l])}return n=R(this,t.call(this,i,s)),s=n,s.changing_=!1,Object.defineProperty(s,"selectedIndex",{get:function(){for(var t=0;t<this.length;t++)if(this[t].selected)return t;return-1},set:function(){}}),r=s,R(n,r)}return $(e,t),e.prototype.addTrack=function(e){var n=this;e.selected&&Xe(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("selectedchange",function(){n.changing_||(n.changing_=!0,Xe(n,e),n.changing_=!1,n.trigger("change"))})},e}(Ve),Ye=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];L(this,e);var s=void 0;if(E){for(var a in s=o.createElement("custom"),Ve.prototype)"constructor"!==a&&(s[a]=Ve.prototype[a]);for(var c in e.prototype)"constructor"!==c&&(s[c]=e.prototype[c])}return n=R(this,t.call(this,i,s)),s=n,r=s,R(n,r)}return $(e,t),e.prototype.addTrack=function(e){t.prototype.addTrack.call(this,e),e.addEventListener("modechange",ee(this,function(){this.trigger("change")}));var n=["metadata","chapters"];-1===n.indexOf(e.kind)&&e.addEventListener("modechange",ee(this,function(){this.trigger("selectedlanguagechange")}))},e}(Ve),Ke=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];L(this,t);var n=this;if(E)for(var r in n=o.createElement("custom"),t.prototype)"constructor"!==r&&(n[r]=t.prototype[r]);n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var i=0,s=e.length;i<s;i++)n.addTrackElement_(e[i]);if(E)return n}return t.prototype.addTrackElement_=function(t){var e=this.trackElements_.length;""+e in this||Object.defineProperty(this,e,{get:function(){return this.trackElements_[e]}}),-1===this.trackElements_.indexOf(t)&&this.trackElements_.push(t)},t.prototype.getTrackElementByTrack_=function(t){for(var e=void 0,n=0,r=this.trackElements_.length;n<r;n++)if(t===this.trackElements_[n].track){e=this.trackElements_[n];break}return e},t.prototype.removeTrackElement_=function(t){for(var e=0,n=this.trackElements_.length;e<n;e++)if(t===this.trackElements_[e]){this.trackElements_.splice(e,1);break}},t}(),Ge=function(){function t(e){L(this,t);var n=this;if(E)for(var r in n=o.createElement("custom"),t.prototype)"constructor"!==r&&(n[r]=t.prototype[r]);if(t.prototype.setCues_.call(n,e),Object.defineProperty(n,"length",{get:function(){return this.length_}}),E)return n}return t.prototype.setCues_=function(t){var e=this.length||0,n=0,r=t.length;this.cues_=t,this.length_=t.length;var i=function(t){""+t in this||Object.defineProperty(this,""+t,{get:function(){return this.cues_[t]}})};if(e<r)for(n=e;n<r;n++)i.call(this,n)},t.prototype.getCueById=function(t){for(var e=null,n=0,r=this.length;n<r;n++){var i=this[n];if(i.id===t){e=i;break}}return e},t}(),Je={alternative:"alternative",captions:"captions",main:"main",sign:"sign",subtitles:"subtitles",commentary:"commentary"},Ze={alternative:"alternative",descriptions:"descriptions",main:"main","main-desc":"main-desc",translation:"translation",commentary:"commentary"},Qe={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"},tn={disabled:"disabled",hidden:"hidden",showing:"showing"},en=function(t){function e(){var n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(this,e);var i=R(this,t.call(this)),s=i;if(E)for(var a in s=o.createElement("custom"),e.prototype)"constructor"!==a&&(s[a]=e.prototype[a]);var c={id:r.id||"vjs_track_"+Nt(),kind:r.kind||"",label:r.label||"",language:r.language||""},l=function(t){Object.defineProperty(s,t,{get:function(){return c[t]},set:function(){}})};for(var u in c)l(u);return n=s,R(i,n)}return $(e,t),e}(ie),nn=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],n=o.createElement("a");n.href=t;var r=""===n.host&&"file:"!==n.protocol,s=void 0;r&&(s=o.createElement("div"),s.innerHTML='<a href="'+t+'"></a>',n=s.firstChild,s.setAttribute("style","display:none; position:absolute;"),o.body.appendChild(s));for(var a={},c=0;c<e.length;c++)a[e[c]]=n[e[c]];return"http:"===a.protocol&&(a.host=a.host.replace(/:80$/,"")),"https:"===a.protocol&&(a.host=a.host.replace(/:443$/,"")),a.protocol||(a.protocol=i.location.protocol),r&&o.body.removeChild(s),a},rn=function(t){if(!t.match(/^https?:\/\//)){var e=o.createElement("div");e.innerHTML='<a href="'+t+'">x</a>',t=e.firstChild.href}return t},on=function(t){if("string"===typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,n=e.exec(t);if(n)return n.pop().toLowerCase()}return""},sn=function(t){var e=i.location,n=nn(t),r=":"===n.protocol?e.protocol:n.protocol,o=r+n.host!==e.protocol+e.host;return o},an=(Object.freeze||Object)({parseUrl:nn,getAbsoluteURL:rn,getFileExtension:on,isCrossOrigin:sn}),cn=function(t,e){var n=new i.WebVTT.Parser(i,i.vttjs,i.WebVTT.StringDecoder()),r=[];n.oncue=function(t){e.addCue(t)},n.onparsingerror=function(t){r.push(t)},n.onflush=function(){e.trigger({type:"loadeddata",target:e})},n.parse(t),r.length>0&&(i.console&&i.console.groupCollapsed&&i.console.groupCollapsed("Text Track parsing errors for "+e.src),r.forEach(function(t){return G.error(t)}),i.console&&i.console.groupEnd&&i.console.groupEnd()),n.flush()},ln=function(t,e){var n={uri:t},r=sn(t);r&&(n.cors=r),c(n,ee(this,function(t,n,r){if(t)return G.error(t,n);if(e.loaded_=!0,"function"!==typeof i.WebVTT){if(e.tech_){var o=function(){return cn(r,e)};e.tech_.on("vttjsloaded",o),e.tech_.on("vttjserror",function(){G.error("vttjs failed to load, stopping trying to process "+e.src),e.tech_.off("vttjsloaded",o)})}}else cn(r,e)}))},un=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(L(this,e),!i.tech)throw new Error("A tech was not provided.");var o=me(i,{kind:Qe[i.kind]||"subtitles",language:i.language||i.srclang||""}),s=tn[o.mode]||"disabled",a=o["default"];"metadata"!==o.kind&&"chapters"!==o.kind||(s="hidden");var c=(n=R(this,t.call(this,o)),n);if(c.tech_=o.tech,E)for(var l in e.prototype)"constructor"!==l&&(c[l]=e.prototype[l]);c.cues_=[],c.activeCues_=[];var u=new Ge(c.cues_),p=new Ge(c.activeCues_),h=!1,d=ee(c,function(){this.activeCues=this.activeCues,h&&(this.trigger("cuechange"),h=!1)});return"disabled"!==s&&c.tech_.ready(function(){c.tech_.on("timeupdate",d)},!0),Object.defineProperty(c,"default",{get:function(){return a},set:function(){}}),Object.defineProperty(c,"mode",{get:function(){return s},set:function(t){var e=this;tn[t]&&(s=t,"showing"===s&&this.tech_.ready(function(){e.tech_.on("timeupdate",d)},!0),this.trigger("modechange"))}}),Object.defineProperty(c,"cues",{get:function(){return this.loaded_?u:null},set:function(){}}),Object.defineProperty(c,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return p;for(var t=this.tech_.currentTime(),e=[],n=0,r=this.cues.length;n<r;n++){var i=this.cues[n];i.startTime<=t&&i.endTime>=t?e.push(i):i.startTime===i.endTime&&i.startTime<=t&&i.startTime+.5>=t&&e.push(i)}if(h=!1,e.length!==this.activeCues_.length)h=!0;else for(var o=0;o<e.length;o++)-1===this.activeCues_.indexOf(e[o])&&(h=!0);return this.activeCues_=e,p.setCues_(this.activeCues_),p},set:function(){}}),o.src?(c.src=o.src,ln(o.src,c)):c.loaded_=!0,r=c,R(n,r)}return $(e,t),e.prototype.addCue=function(t){var e=t;if(i.vttjs&&!(t instanceof i.vttjs.VTTCue)){for(var n in e=new i.vttjs.VTTCue(t.startTime,t.endTime,t.text),t)n in e||(e[n]=t[n]);e.id=t.id,e.originalCue_=t}for(var r=this.tech_.textTracks(),o=0;o<r.length;o++)r[o]!==this&&r[o].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},e.prototype.removeCue=function(t){var e=this.cues_.length;while(e--){var n=this.cues_[e];if(n===t||n.originalCue_&&n.originalCue_===t){this.cues_.splice(e,1),this.cues.setCues_(this.cues_);break}}},e}(en);un.prototype.allowedEvents_={cuechange:"cuechange"};var pn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(this,e);var o=me(i,{kind:Ze[i.kind]||""}),s=(n=R(this,t.call(this,o)),n),a=!1;if(E)for(var c in e.prototype)"constructor"!==c&&(s[c]=e.prototype[c]);return Object.defineProperty(s,"enabled",{get:function(){return a},set:function(t){"boolean"===typeof t&&t!==a&&(a=t,this.trigger("enabledchange"))}}),o.enabled&&(s.enabled=o.enabled),s.loaded_=!0,r=s,R(n,r)}return $(e,t),e}(en),hn=function(t){function e(){var n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(this,e);var o=me(i,{kind:Je[i.kind]||""}),s=(n=R(this,t.call(this,o)),n),a=!1;if(E)for(var c in e.prototype)"constructor"!==c&&(s[c]=e.prototype[c]);return Object.defineProperty(s,"selected",{get:function(){return a},set:function(t){"boolean"===typeof t&&t!==a&&(a=t,this.trigger("selectedchange"))}}),o.selected&&(s.selected=o.selected),r=s,R(n,r)}return $(e,t),e}(en),dn=0,fn=1,vn=2,yn=3,gn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};L(this,e);var r=R(this,t.call(this)),i=void 0,s=r;if(E)for(var a in s=o.createElement("custom"),e.prototype)"constructor"!==a&&(s[a]=e.prototype[a]);var c,l=new un(n);return s.kind=l.kind,s.src=l.src,s.srclang=l.language,s.label=l.label,s["default"]=l["default"],Object.defineProperty(s,"readyState",{get:function(){return i}}),Object.defineProperty(s,"track",{get:function(){return l}}),i=dn,l.addEventListener("loadeddata",function(){i=vn,s.trigger({type:"load",target:s})}),E?(c=s,R(r,c)):r}return $(e,t),e}(ie);gn.prototype.allowedEvents_={load:"load"},gn.NONE=dn,gn.LOADING=fn,gn.LOADED=vn,gn.ERROR=yn;var mn={audio:{ListClass:Ue,TrackClass:pn,capitalName:"Audio"},video:{ListClass:qe,TrackClass:hn,capitalName:"Video"},text:{ListClass:Ye,TrackClass:un,capitalName:"Text"}};Object.keys(mn).forEach(function(t){mn[t].getterName=t+"Tracks",mn[t].privateName=t+"Tracks_"});var _n={remoteText:{ListClass:Ye,TrackClass:un,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Ke,TrackClass:gn,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},bn=me(mn,_n);function wn(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.textTracks();i.kind=e,n&&(i.label=n),r&&(i.language=r),i.tech=t;var s=new bn.text.TrackClass(i);return o.addTrack(s),s}_n.names=Object.keys(_n),mn.names=Object.keys(mn),bn.names=[].concat(_n.names).concat(mn.names);var Tn=function(t){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};L(this,e),n.reportTouchActivity=!1;var i=R(this,t.call(this,null,n,r));return i.hasStarted_=!1,i.on("playing",function(){this.hasStarted_=!0}),i.on("loadstart",function(){this.hasStarted_=!1}),bn.names.forEach(function(t){var e=bn[t];n&&n[e.getterName]&&(i[e.privateName]=n[e.getterName])}),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach(function(t){!1===n["native"+t+"Tracks"]&&(i["featuresNative"+t+"Tracks"]=!1)}),!1===n.nativeCaptions||!1===n.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==n.nativeCaptions&&!0!==n.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new bn.text.ListClass,i.initTrackListeners(),n.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}return $(e,t),e.prototype.triggerSourceset=function(t){var e=this;this.isReady_||this.one("ready",function(){return e.setTimeout(function(){return e.triggerSourceset(t)},1)}),this.trigger({src:t,type:"sourceset"})},e.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},e.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},e.prototype.trackProgress=function(t){this.stopTrackingProgress(),this.progressInterval=this.setInterval(ee(this,function(){var t=this.bufferedPercent();this.bufferedPercent_!==t&&this.trigger("progress"),this.bufferedPercent_=t,1===t&&this.stopTrackingProgress()}),500)},e.prototype.onDurationChange=function(t){this.duration_=this.duration()},e.prototype.buffered=function(){return Ce(0,0)},e.prototype.bufferedPercent=function(){return ke(this.buffered(),this.duration_)},e.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},e.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},e.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},e.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},e.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.dispose=function(){this.clearTracks(mn.names),this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),t.prototype.dispose.call(this)},e.prototype.clearTracks=function(t){var e=this;t=[].concat(t),t.forEach(function(t){var n=e[t+"Tracks"]()||[],r=n.length;while(r--){var i=n[r];"text"===t&&e.removeRemoteTextTrack(i),n.removeTrack(i)}})},e.prototype.cleanupAutoTextTracks=function(){var t=this.autoRemoteTextTracks_||[],e=t.length;while(e--){var n=t[e];this.removeRemoteTextTrack(n)}},e.prototype.reset=function(){},e.prototype.error=function(t){return void 0!==t&&(this.error_=new Pe(t),this.trigger("error")),this.error_},e.prototype.played=function(){return this.hasStarted_?Ce(0,0):Ce()},e.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.initTrackListeners=function(){var t=this;mn.names.forEach(function(e){var n=mn[e],r=function(){t.trigger(e+"trackchange")},i=t[n.getterName]();i.addEventListener("removetrack",r),i.addEventListener("addtrack",r),t.on("dispose",function(){i.removeEventListener("removetrack",r),i.removeEventListener("addtrack",r)})})},e.prototype.addWebVttScript_=function(){var t=this;if(!i.WebVTT)if(o.body.contains(this.el())){if(!this.options_["vtt.js"]&&U(l)&&Object.keys(l).length>0)return void this.trigger("vttjsloaded");var e=o.createElement("script");e.src=this.options_["vtt.js"]||"https://vjs.zencdn.net/vttjs/0.12.4/vtt.min.js",e.onload=function(){t.trigger("vttjsloaded")},e.onerror=function(){t.trigger("vttjserror")},this.on("dispose",function(){e.onload=null,e.onerror=null}),i.WebVTT=!0,this.el().parentNode.appendChild(e)}else this.ready(this.addWebVttScript_)},e.prototype.emulateTextTracks=function(){var t=this,e=this.textTracks(),n=this.remoteTextTracks(),r=function(t){return e.addTrack(t.track)},i=function(t){return e.removeTrack(t.track)};n.on("addtrack",r),n.on("removetrack",i),this.addWebVttScript_();var o=function(){return t.trigger("texttrackchange")},s=function(){o();for(var t=0;t<e.length;t++){var n=e[t];n.removeEventListener("cuechange",o),"showing"===n.mode&&n.addEventListener("cuechange",o)}};s(),e.addEventListener("change",s),e.addEventListener("addtrack",s),e.addEventListener("removetrack",s),this.on("dispose",function(){n.off("addtrack",r),n.off("removetrack",i),e.removeEventListener("change",s),e.removeEventListener("addtrack",s),e.removeEventListener("removetrack",s);for(var t=0;t<e.length;t++){var a=e[t];a.removeEventListener("cuechange",o)}})},e.prototype.addTextTrack=function(t,e,n){if(!t)throw new Error("TextTrack kind is required but was not provided");return wn(this,t,e,n)},e.prototype.createRemoteTextTrack=function(t){var e=me(t,{tech:this});return new _n.remoteTextEl.TrackClass(e)},e.prototype.addRemoteTextTrack=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments[1],r=this.createRemoteTextTrack(e);return!0!==n&&!1!==n&&(G.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),n=!0),this.remoteTextTrackEls().addTrackElement_(r),this.remoteTextTracks().addTrack(r.track),!0!==n&&this.ready(function(){return t.autoRemoteTextTracks_.addTrack(r.track)}),r},e.prototype.removeRemoteTextTrack=function(t){var e=this.remoteTextTrackEls().getTrackElementByTrack_(t);this.remoteTextTrackEls().removeTrackElement_(e),this.remoteTextTracks().removeTrack(t),this.autoRemoteTextTracks_.removeTrack(t)},e.prototype.getVideoPlaybackQuality=function(){return{}},e.prototype.setPoster=function(){},e.prototype.playsinline=function(){},e.prototype.setPlaysinline=function(){},e.prototype.canPlayType=function(){return""},e.canPlayType=function(){return""},e.canPlaySource=function(t,n){return e.canPlayType(t.type)},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,n){if(e.techs_||(e.techs_={}),!e.isTech(n))throw new Error("Tech "+t+" must be a Tech");if(!e.canPlayType)throw new Error("Techs must have a static canPlayType method on them");if(!e.canPlaySource)throw new Error("Techs must have a static canPlaySource method on them");return t=ye(t),e.techs_[t]=n,"Tech"!==t&&e.defaultTechOrder_.push(t),n},e.getTech=function(t){if(t)return t=ye(t),e.techs_&&e.techs_[t]?e.techs_[t]:i&&i.videojs&&i.videojs[t]?(G.warn("The "+t+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),i.videojs[t]):void 0},e}(_e);bn.names.forEach(function(t){var e=bn[t];Tn.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}}),Tn.prototype.featuresVolumeControl=!0,Tn.prototype.featuresMuteControl=!0,Tn.prototype.featuresFullscreenResize=!1,Tn.prototype.featuresPlaybackRate=!1,Tn.prototype.featuresProgressEvents=!1,Tn.prototype.featuresSourceset=!1,Tn.prototype.featuresTimeupdateEvents=!1,Tn.prototype.featuresNativeTextTracks=!1,Tn.withSourceHandlers=function(t){t.registerSourceHandler=function(e,n){var r=t.sourceHandlers;r||(r=t.sourceHandlers=[]),void 0===n&&(n=r.length),r.splice(n,0,e)},t.canPlayType=function(e){for(var n=t.sourceHandlers||[],r=void 0,i=0;i<n.length;i++)if(r=n[i].canPlayType(e),r)return r;return""},t.selectSourceHandler=function(e,n){for(var r=t.sourceHandlers||[],i=void 0,o=0;o<r.length;o++)if(i=r[o].canHandleSource(e,n),i)return r[o];return null},t.canPlaySource=function(e,n){var r=t.selectSourceHandler(e,n);return r?r.canHandleSource(e,n):""};var e=["seekable","seeking","duration"];e.forEach(function(t){var e=this[t];"function"===typeof e&&(this[t]=function(){return this.sourceHandler_&&this.sourceHandler_[t]?this.sourceHandler_[t].apply(this.sourceHandler_,arguments):e.apply(this,arguments)})},t.prototype),t.prototype.setSource=function(e){var n=t.selectSourceHandler(e,this.options_);n||(t.nativeSourceHandler?n=t.nativeSourceHandler:G.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),n!==t.nativeSourceHandler&&(this.currentSource_=e),this.sourceHandler_=n.handleSource(e,this,this.options_),this.on("dispose",this.disposeSourceHandler)},t.prototype.disposeSourceHandler=function(){this.currentSource_&&(this.clearTracks(["audio","video"]),this.currentSource_=null),this.cleanupAutoTextTracks(),this.sourceHandler_&&(this.sourceHandler_.dispose&&this.sourceHandler_.dispose(),this.sourceHandler_=null)}},_e.registerComponent("Tech",Tn),Tn.registerTech("Tech",Tn),Tn.defaultTechOrder_=[];var Cn={},kn={},xn={};function Sn(t,e){Cn[t]=Cn[t]||[],Cn[t].push(e)}function En(t,e,n){t.setTimeout(function(){return zn(e,Cn[e.type],n,t)},1)}function jn(t,e){t.forEach(function(t){return t.setTech&&t.setTech(e)})}function On(t,e,n){return t.reduceRight(Ln(n),e[n]())}function An(t,e,n,r){return e[n](t.reduce(Ln(n),r))}function Pn(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i="call"+ye(n),o=t.reduce(Ln(i),r),s=o===xn,a=s?null:e[n](o);return $n(t,n,a,s),a}var Mn={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},Nn={setCurrentTime:1},In={play:1,pause:1};function Ln(t){return function(e,n){return e===xn?xn:n[t]?n[t](e):e}}function $n(t,e,n,r){for(var i=t.length-1;i>=0;i--){var o=t[i];o[e]&&o[e](r,n)}}function Rn(t){kn[t.id()]=null}function Dn(t,e){var n=kn[t.id()],r=null;if(void 0===n||null===n)return r=e(t),kn[t.id()]=[[e,r]],r;for(var i=0;i<n.length;i++){var o=n[i],s=o[0],a=o[1];s===e&&(r=a)}return null===r&&(r=e(t),n.push([e,r])),r}function zn(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2],r=arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=e[0],a=e.slice(1);if("string"===typeof s)zn(t,Cn[s],n,r,i,o);else if(s){var c=Dn(r,s);if(!c.setSource)return i.push(c),zn(t,a,n,r,i,o);c.setSource(H({},t),function(e,s){if(e)return zn(t,a,n,r,i,o);i.push(c),zn(s,t.type===s.type?a:Cn[s.type],n,r,i,o)})}else a.length?zn(t,a,n,r,i,o):o?n(t,i):zn(t,Cn["*"],n,r,i,!0)}var Fn={opus:"video/ogg",ogv:"video/ogg",mp4:"video/mp4",mov:"video/mp4",m4v:"video/mp4",mkv:"video/x-matroska",mp3:"audio/mpeg",aac:"audio/aac",oga:"audio/ogg",m3u8:"application/x-mpegURL"},Bn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=on(t),n=Fn[e.toLowerCase()];return n||""},Vn=function(t,e){if(!e)return"";if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;var n=t.cache_.sources.filter(function(t){return t.src===e});if(n.length)return n[0].type;for(var r=t.$$("source"),i=0;i<r.length;i++){var o=r[i];if(o.type&&o.src&&o.src===e)return o.type}return Bn(e)},Hn=function t(e){if(Array.isArray(e)){var n=[];e.forEach(function(e){e=t(e),Array.isArray(e)?n=n.concat(e):W(e)&&n.push(e)}),e=n}else e="string"===typeof e&&e.trim()?[Wn({src:e})]:W(e)&&"string"===typeof e.src&&e.src&&e.src.trim()?[Wn(e)]:[];return e};function Wn(t){var e=Bn(t.src);return!t.type&&e&&(t.type=e),t}var Un=function(t){function e(n,r,i){L(this,e);var o=me({createEl:!1},r),s=R(this,t.call(this,n,o,i));if(r.playerOptions.sources&&0!==r.playerOptions.sources.length)n.src(r.playerOptions.sources);else for(var a=0,c=r.playerOptions.techOrder;a<c.length;a++){var l=ye(c[a]),u=Tn.getTech(l);if(l||(u=_e.getComponent(l)),u&&u.isSupported()){n.loadTech_(l);break}}return s}return $(e,t),e}(_e);_e.registerComponent("MediaLoader",Un);var Xn=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.emitTapEvents(),i.enable(),i}return $(e,t),e.prototype.createEl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"div",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=H({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass(),tabIndex:0},n),"button"===e&&G.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),r=H({role:"button"},r),this.tabIndex_=n.tabIndex;var i=t.prototype.createEl.call(this,e,n,r);return this.createControlTextEl(i),i},e.prototype.dispose=function(){this.controlTextEl_=null,t.prototype.dispose.call(this)},e.prototype.createControlTextEl=function(t){return this.controlTextEl_=st("span",{className:"vjs-control-text"},{"aria-live":"polite"}),t&&t.appendChild(this.controlTextEl_),this.controlText(this.controlText_,t),this.controlTextEl_},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.el();if(void 0===t)return this.controlText_||"Need Text";var n=this.localize(t);this.controlText_=t,at(this.controlTextEl_,n),this.nonIconControl||e.setAttribute("title",n)},e.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+t.prototype.buildCSSClass.call(this)},e.prototype.enable=function(){this.enabled_||(this.enabled_=!0,this.removeClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","false"),"undefined"!==typeof this.tabIndex_&&this.el_.setAttribute("tabIndex",this.tabIndex_),this.on(["tap","click"],this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur))},e.prototype.disable=function(){this.enabled_=!1,this.addClass("vjs-disabled"),this.el_.setAttribute("aria-disabled","true"),"undefined"!==typeof this.tabIndex_&&this.el_.removeAttribute("tabIndex"),this.off(["tap","click"],this.handleClick),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur)},e.prototype.handleClick=function(t){},e.prototype.handleFocus=function(t){Wt(o,"keydown",ee(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.trigger("click")):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e.prototype.handleBlur=function(t){Ut(o,"keydown",ee(this,this.handleKeyPress))},e}(_e);_e.registerComponent("ClickableComponent",Xn);var qn=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.update(),n.on("posterchange",ee(i,i.update)),i}return $(e,t),e.prototype.dispose=function(){this.player().off("posterchange",this.update),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=st("div",{className:"vjs-poster",tabIndex:-1});return M||(this.fallbackImg_=st("img"),t.appendChild(this.fallbackImg_)),t},e.prototype.update=function(t){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},e.prototype.setSrc=function(t){if(this.fallbackImg_)this.fallbackImg_.src=t;else{var e="";t&&(e='url("'+t+'")'),this.el_.style.backgroundImage=e}},e.prototype.handleClick=function(t){this.player_.controls()&&(this.player_.paused()?Ie(this.player_.play()):this.player_.pause())},e}(Xn);_e.registerComponent("PosterImage",qn);var Yn="#222",Kn="#ccc",Gn={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'};function Jn(t,e){var n=void 0;if(4===t.length)n=t[1]+t[1]+t[2]+t[2]+t[3]+t[3];else{if(7!==t.length)throw new Error("Invalid color code provided, "+t+"; must be formatted as e.g. #f0e or #f604e2.");n=t.slice(1)}return"rgba("+parseInt(n.slice(0,2),16)+","+parseInt(n.slice(2,4),16)+","+parseInt(n.slice(4,6),16)+","+e+")"}function Zn(t,e,n){try{t.style[e]=n}catch(t){return}}var Qn=function(t){function e(n,r,i){L(this,e);var o=R(this,t.call(this,n,r,i));return n.on("loadstart",ee(o,o.toggleDisplay)),n.on("texttrackchange",ee(o,o.updateDisplay)),n.on("loadstart",ee(o,o.preselectTrack)),n.ready(ee(o,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)this.hide();else{n.on("fullscreenchange",ee(this,this.updateDisplay));for(var t=this.options_.playerOptions.tracks||[],e=0;e<t.length;e++)this.player_.addRemoteTextTrack(t[e],!0);this.preselectTrack()}})),o}return $(e,t),e.prototype.preselectTrack=function(){for(var t={captions:1,subtitles:1},e=this.player_.textTracks(),n=this.player_.cache_.selectedLanguage,r=void 0,i=void 0,o=void 0,s=0;s<e.length;s++){var a=e[s];n&&n.enabled&&n.language===a.language?a.kind===n.kind?o=a:o||(o=a):n&&!n.enabled?(o=null,r=null,i=null):a["default"]&&("descriptions"!==a.kind||r?a.kind in t&&!i&&(i=a):r=a)}o?o.mode="showing":i?i.mode="showing":r&&(r.mode="showing")},e.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"},{"aria-live":"off","aria-atomic":"true"})},e.prototype.clearDisplay=function(){"function"===typeof i.WebVTT&&i.WebVTT.processCues(i,[],this.el_)},e.prototype.updateDisplay=function(){var t=this.player_.textTracks();this.clearDisplay();var e=null,n=null,r=t.length;while(r--){var i=t[r];"showing"===i.mode&&("descriptions"===i.kind?e=i:n=i)}n?("off"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","off"),this.updateForTrack(n)):e&&("assertive"!==this.getAttribute("aria-live")&&this.setAttribute("aria-live","assertive"),this.updateForTrack(e))},e.prototype.updateForTrack=function(t){if("function"===typeof i.WebVTT&&t.activeCues){for(var e=[],n=0;n<t.activeCues.length;n++)e.push(t.activeCues[n]);if(i.WebVTT.processCues(i,e,this.el_),this.player_.textTrackSettings){var r=this.player_.textTrackSettings.getValues(),o=e.length;while(o--){var s=e[o];if(s){var a=s.displayState;if(r.color&&(a.firstChild.style.color=r.color),r.textOpacity&&Zn(a.firstChild,"color",Jn(r.color||"#fff",r.textOpacity)),r.backgroundColor&&(a.firstChild.style.backgroundColor=r.backgroundColor),r.backgroundOpacity&&Zn(a.firstChild,"backgroundColor",Jn(r.backgroundColor||"#000",r.backgroundOpacity)),r.windowColor&&(r.windowOpacity?Zn(a,"backgroundColor",Jn(r.windowColor,r.windowOpacity)):a.style.backgroundColor=r.windowColor),r.edgeStyle&&("dropshadow"===r.edgeStyle?a.firstChild.style.textShadow="2px 2px 3px "+Yn+", 2px 2px 4px "+Yn+", 2px 2px 5px "+Yn:"raised"===r.edgeStyle?a.firstChild.style.textShadow="1px 1px "+Yn+", 2px 2px "+Yn+", 3px 3px "+Yn:"depressed"===r.edgeStyle?a.firstChild.style.textShadow="1px 1px "+Kn+", 0 1px "+Kn+", -1px -1px "+Yn+", 0 -1px "+Yn:"uniform"===r.edgeStyle&&(a.firstChild.style.textShadow="0 0 4px "+Yn+", 0 0 4px "+Yn+", 0 0 4px "+Yn+", 0 0 4px "+Yn)),r.fontPercent&&1!==r.fontPercent){var c=i.parseFloat(a.style.fontSize);a.style.fontSize=c*r.fontPercent+"px",a.style.height="auto",a.style.top="auto",a.style.bottom="2px"}r.fontFamily&&"default"!==r.fontFamily&&("small-caps"===r.fontFamily?a.firstChild.style.fontVariant="small-caps":a.firstChild.style.fontFamily=Gn[r.fontFamily])}}}}},e}(_e);_e.registerComponent("TextTrackDisplay",Qn);var tr=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(){var e=this.player_.isAudio(),n=this.localize(e?"Audio Player":"Video Player"),r=st("span",{className:"vjs-control-text",innerHTML:this.localize("{1} is loading.",[n])}),i=t.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"});return i.appendChild(r),i},e}(_e);_e.registerComponent("LoadingSpinner",tr);var er=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t="button",e=H({innerHTML:'<span aria-hidden="true" class="vjs-icon-placeholder"></span>',className:this.buildCSSClass()},e),n=H({type:"button"},n);var r=_e.prototype.createEl.call(this,t,e,n);return this.createControlTextEl(r),r},e.prototype.addChild=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.constructor.name;return G.warn("Adding an actionable (user controllable) child to a Button ("+n+") is not supported; use a ClickableComponent instead."),_e.prototype.addChild.call(this,t,e)},e.prototype.enable=function(){t.prototype.enable.call(this),this.el_.removeAttribute("disabled")},e.prototype.disable=function(){t.prototype.disable.call(this),this.el_.setAttribute("disabled","disabled")},e.prototype.handleKeyPress=function(e){32!==e.which&&13!==e.which&&t.prototype.handleKeyPress.call(this,e)},e}(Xn);_e.registerComponent("Button",er);var nr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.mouseused_=!1,i.on("mousedown",i.handleMouseDown),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-big-play-button"},e.prototype.handleClick=function(t){var e=this.player_.play();if(this.mouseused_&&t.clientX&&t.clientY)Ie(e);else{var n=this.player_.getChild("controlBar"),r=n&&n.getChild("playToggle");if(r){var i=function(){return r.focus()};Ne(e)?e.then(i,function(){}):this.setTimeout(i,1)}else this.player_.focus()}},e.prototype.handleKeyPress=function(e){this.mouseused_=!1,t.prototype.handleKeyPress.call(this,e)},e.prototype.handleMouseDown=function(t){this.mouseused_=!0},e}(er);nr.prototype.controlText_="Play Video",_e.registerComponent("BigPlayButton",nr);var rr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.controlText(r&&r.controlText||i.localize("Close")),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-close-button "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.trigger({type:"close",bubbles:!1})},e}(er);_e.registerComponent("CloseButton",rr);var ir=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.on(n,"play",i.handlePlay),i.on(n,"pause",i.handlePause),i.on(n,"ended",i.handleEnded),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-play-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleSeeked=function(t){this.removeClass("vjs-ended"),this.player_.paused()?this.handlePause(t):this.handlePlay(t)},e.prototype.handlePlay=function(t){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},e.prototype.handlePause=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},e.prototype.handleEnded=function(t){this.removeClass("vjs-playing"),this.addClass("vjs-ended"),this.controlText("Replay"),this.one(this.player_,"seeked",this.handleSeeked)},e}(er);ir.prototype.controlText_="Play",_e.registerComponent("PlayToggle",ir);var or=function(t,e){t=t<0?0:t;var n=Math.floor(t%60),r=Math.floor(t/60%60),i=Math.floor(t/3600),o=Math.floor(e/60%60),s=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(i=r=n="-"),i=i>0||s>0?i+":":"",r=((i||o>=10)&&r<10?"0"+r:r)+":",n=n<10?"0"+n:n,i+r+n},sr=or;function ar(t){sr=t}function cr(){sr=or}var lr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return sr(t,e)},ur=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.throttledUpdateContent=ne(ee(i,i.updateContent),25),i.on(n,"timeupdate",i.throttledUpdateContent),i}return $(e,t),e.prototype.createEl=function(e){var n=this.buildCSSClass(),r=t.prototype.createEl.call(this,"div",{className:n+" vjs-time-control vjs-control",innerHTML:'<span class="vjs-control-text">'+this.localize(this.labelText_)+" </span>"});return this.contentEl_=st("span",{className:n+"-display"},{"aria-live":"off"}),this.updateTextNode_(),r.appendChild(this.contentEl_),r},e.prototype.dispose=function(){this.contentEl_=null,this.textNode_=null,t.prototype.dispose.call(this)},e.prototype.updateTextNode_=function(){if(this.contentEl_){while(this.contentEl_.firstChild)this.contentEl_.removeChild(this.contentEl_.firstChild);this.textNode_=o.createTextNode(this.formattedTime_||this.formatTime_(0)),this.contentEl_.appendChild(this.textNode_)}},e.prototype.formatTime_=function(t){return lr(t)},e.prototype.updateFormattedTime_=function(t){var e=this.formatTime_(t);e!==this.formattedTime_&&(this.formattedTime_=e,this.requestAnimationFrame(this.updateTextNode_))},e.prototype.updateContent=function(t){},e}(_e);ur.prototype.labelText_="Time",ur.prototype.controlText_="Time",_e.registerComponent("TimeDisplay",ur);var pr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.on(n,"ended",i.handleEnded),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-current-time"},e.prototype.updateContent=function(t){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.updateFormattedTime_(e)},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(this.player_.duration())},e}(ur);pr.prototype.labelText_="Current Time",pr.prototype.controlText_="Current Time",_e.registerComponent("CurrentTimeDisplay",pr);var hr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.on(n,"durationchange",i.updateContent),i.on(n,"loadedmetadata",i.throttledUpdateContent),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-duration"},e.prototype.updateContent=function(t){var e=this.player_.duration();e&&this.duration_!==e&&(this.duration_=e,this.updateFormattedTime_(e))},e}(ur);hr.prototype.labelText_="Duration",hr.prototype.controlText_="Duration",_e.registerComponent("DurationDisplay",hr);var dr=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},e}(_e);_e.registerComponent("TimeDivider",dr);var fr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.on(n,"durationchange",i.throttledUpdateContent),i.on(n,"ended",i.handleEnded),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-remaining-time"},e.prototype.formatTime_=function(e){return"-"+t.prototype.formatTime_.call(this,e)},e.prototype.updateContent=function(t){this.player_.duration()&&(this.player_.remainingTimeDisplay?this.updateFormattedTime_(this.player_.remainingTimeDisplay()):this.updateFormattedTime_(this.player_.remainingTime()))},e.prototype.handleEnded=function(t){this.player_.duration()&&this.updateFormattedTime_(0)},e}(ur);fr.prototype.labelText_="Remaining Time",fr.prototype.controlText_="Remaining Time",_e.registerComponent("RemainingTimeDisplay",fr);var vr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.updateShowing(),i.on(i.player(),"durationchange",i.updateShowing),i}return $(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=st("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+" </span>"+this.localize("LIVE")},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.updateShowing=function(t){this.player().duration()===1/0?this.show():this.hide()},e}(_e);_e.registerComponent("LiveDisplay",vr);var yr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.bar=i.getChild(i.options_.barName),i.vertical(!!i.options_.vertical),i.enable(),i}return $(e,t),e.prototype.enabled=function(){return this.enabled_},e.prototype.enable=function(){this.enabled()||(this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(this.player_,"controlsvisible",this.update),this.playerEvent&&this.on(this.player_,this.playerEvent,this.update),this.removeClass("disabled"),this.setAttribute("tabindex",0),this.enabled_=!0)},e.prototype.disable=function(){if(this.enabled()){var t=this.bar.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off("focus",this.handleFocus),this.off("blur",this.handleBlur),this.off("click",this.handleClick),this.off(this.player_,"controlsvisible",this.update),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.removeAttribute("tabindex"),this.addClass("disabled"),this.playerEvent&&this.off(this.player_,this.playerEvent,this.update),this.enabled_=!1}},e.prototype.createEl=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.className=n.className+" vjs-slider",n=H({tabIndex:0},n),r=H({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},r),t.prototype.createEl.call(this,e,n,r)},e.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;"mousedown"===t.type&&t.preventDefault(),"touchstart"!==t.type||x||t.preventDefault(),mt(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(e,"mousemove",this.handleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchmove",this.handleMouseMove),this.on(e,"touchend",this.handleMouseUp),this.handleMouseMove(t)},e.prototype.handleMouseMove=function(t){},e.prototype.handleMouseUp=function(){var t=this.bar.el_.ownerDocument;_t(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),this.update()},e.prototype.update=function(){if(this.el_){var t=this.getPercent(),e=this.bar;if(e){("number"!==typeof t||t!==t||t<0||t===1/0)&&(t=0);var n=(100*t).toFixed(2)+"%",r=e.el().style;return this.vertical()?r.height=n:r.width=n,t}}},e.prototype.calculateDistance=function(t){var e=Tt(this.el_,t);return this.vertical()?e.y:e.x},e.prototype.handleFocus=function(){this.on(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepBack()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepForward())},e.prototype.handleBlur=function(){this.off(this.bar.el_.ownerDocument,"keydown",this.handleKeyPress)},e.prototype.handleClick=function(t){t.stopImmediatePropagation(),t.preventDefault()},e.prototype.vertical=function(t){if(void 0===t)return this.vertical_||!1;this.vertical_=!!t,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal")},e}(_e);_e.registerComponent("Slider",yr);var gr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.partEls_=[],i.on(n,"progress",i.update),i}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},e.prototype.dispose=function(){this.partEls_=null,t.prototype.dispose.call(this)},e.prototype.update=function(t){var e=this.player_.buffered(),n=this.player_.duration(),r=this.player_.bufferedEnd(),i=this.partEls_,o=function(t,e){var n=t/e||0;return 100*(n>=1?1:n)+"%"};this.el_.style.width=o(r,n);for(var s=0;s<e.length;s++){var a=e.start(s),c=e.end(s),l=i[s];l||(l=this.el_.appendChild(st()),i[s]=l),l.style.left=o(a,r),l.style.width=o(c-a,r)}for(var u=i.length;u>e.length;u--)this.el_.removeChild(i[u-1]);i.length=e.length},e}(_e);_e.registerComponent("LoadProgressBar",gr);var mr=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},e.prototype.update=function(t,e,n){var r=bt(this.el_),i=bt(this.player_.el()),o=t.width*e;if(i&&r){var s=t.left-i.left+o,a=t.width-o+(i.right-t.right),c=r.width/2;s<c?c+=c-s:a<c&&(c=a),c<0?c=0:c>r.width&&(c=r.width),this.el_.style.right="-"+c+"px",at(this.el_,n)}},e}(_e);_e.registerComponent("TimeTooltip",mr);var _r=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.scrubbing()?n.player_.getCache().currentTime:n.player_.currentTime(),i=lr(r,n.player_.duration()),o=n.getChild("timeTooltip");o&&o.update(t,e,i)})},e}(_e);_r.prototype.options_={children:[]},j&&!(j>8)||g||_||_r.prototype.options_.children.push("timeTooltip"),_e.registerComponent("PlayProgressBar",_r);var br=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.update=ne(ee(i,i.update),25),i}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.prototype.update=function(t,e){var n=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame(function(){var r=n.player_.duration(),i=lr(e*r,r);n.el_.style.left=t.width*e+"px",n.getChild("timeTooltip").update(t,e,i)})},e}(_e);br.prototype.options_={children:["timeTooltip"]},_e.registerComponent("MouseTimeDisplay",br);var wr=5,Tr=30,Cr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.setEventHandlers_(),i}return $(e,t),e.prototype.setEventHandlers_=function(){var t=this;this.update=ne(ee(this,this.update),Tr),this.on(this.player_,"timeupdate",this.update),this.on(this.player_,"ended",this.handleEnded),this.updateInterval=null,this.on(this.player_,["playing"],function(){t.clearInterval(t.updateInterval),t.updateInterval=t.setInterval(function(){t.requestAnimationFrame(function(){t.update()})},Tr)}),this.on(this.player_,["ended","pause","waiting"],function(){t.clearInterval(t.updateInterval)}),this.on(this.player_,["timeupdate","ended"],this.update)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":this.localize("Progress Bar")})},e.prototype.update_=function(t,e){var n=this.player_.duration();this.el_.setAttribute("aria-valuenow",(100*e).toFixed(2)),this.el_.setAttribute("aria-valuetext",this.localize("progress bar timing: currentTime={1} duration={2}",[lr(t,n),lr(n,n)],"{1} of {2}")),this.bar.update(bt(this.el_),e)},e.prototype.update=function(e){var n=t.prototype.update.call(this);return this.update_(this.getCurrentTime_(),n),n},e.prototype.getCurrentTime_=function(){return this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime()},e.prototype.handleEnded=function(t){this.update_(this.player_.duration(),1)},e.prototype.getPercent=function(){var t=this.getCurrentTime_()/this.player_.duration();return t>=1?1:t},e.prototype.handleMouseDown=function(e){jt(e)&&(e.stopPropagation(),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause(),t.prototype.handleMouseDown.call(this,e))},e.prototype.handleMouseMove=function(t){if(jt(t)){var e=this.calculateDistance(t)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)}},e.prototype.enable=function(){t.prototype.enable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.show()},e.prototype.disable=function(){t.prototype.disable.call(this);var e=this.getChild("mouseTimeDisplay");e&&e.hide()},e.prototype.handleMouseUp=function(e){t.prototype.handleMouseUp.call(this,e),e&&e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying&&Ie(this.player_.play())},e.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+wr)},e.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-wr)},e.prototype.handleAction=function(t){this.player_.paused()?this.player_.play():this.player_.pause()},e.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.handleAction(e)):t.prototype.handleKeyPress&&t.prototype.handleKeyPress.call(this,e)},e}(yr);Cr.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},j&&!(j>8)||g||_||Cr.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),Cr.prototype.playerEvent="timeupdate",_e.registerComponent("SeekBar",Cr);var kr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.handleMouseMove=ne(ee(i,i.handleMouseMove),25),i.throttledHandleMouseSeek=ne(ee(i,i.handleMouseSeek),25),i.enable(),i}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},e.prototype.handleMouseMove=function(t){var e=this.getChild("seekBar");if(e){var n=e.getChild("mouseTimeDisplay"),r=e.el(),i=bt(r),o=Tt(r,t).x;o>1?o=1:o<0&&(o=0),n&&n.update(i,o)}},e.prototype.handleMouseSeek=function(t){var e=this.getChild("seekBar");e&&e.handleMouseMove(t)},e.prototype.enabled=function(){return this.enabled_},e.prototype.disable=function(){this.children().forEach(function(t){return t.disable&&t.disable()}),this.enabled()&&(this.off(["mousedown","touchstart"],this.handleMouseDown),this.off(this.el_,"mousemove",this.handleMouseMove),this.handleMouseUp(),this.addClass("disabled"),this.enabled_=!1)},e.prototype.enable=function(){this.children().forEach(function(t){return t.enable&&t.enable()}),this.enabled()||(this.on(["mousedown","touchstart"],this.handleMouseDown),this.on(this.el_,"mousemove",this.handleMouseMove),this.removeClass("disabled"),this.enabled_=!0)},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseDown(t),this.on(e,"mousemove",this.throttledHandleMouseSeek),this.on(e,"touchmove",this.throttledHandleMouseSeek),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument,n=this.getChild("seekBar");n&&n.handleMouseUp(t),this.off(e,"mousemove",this.throttledHandleMouseSeek),this.off(e,"touchmove",this.throttledHandleMouseSeek),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e}(_e);kr.prototype.options_={children:["seekBar"]},_e.registerComponent("ProgressControl",kr);var xr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.on(n,"fullscreenchange",i.handleFullscreenChange),!1===o[xe.fullscreenEnabled]&&i.disable(),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleFullscreenChange=function(t){this.player_.isFullscreen()?this.controlText("Non-Fullscreen"):this.controlText("Fullscreen")},e.prototype.handleClick=function(t){this.player_.isFullscreen()?this.player_.exitFullscreen():this.player_.requestFullscreen()},e}(er);xr.prototype.controlText_="Fullscreen",_e.registerComponent("FullscreenToggle",xr);var Sr=function(t,e){e.tech_&&!e.tech_.featuresVolumeControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresVolumeControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})},Er=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},e}(_e);_e.registerComponent("VolumeLevel",Er);var jr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.on("slideractive",i.updateLastVolume_),i.on(n,"volumechange",i.updateARIAAttributes),n.ready(function(){return i.updateARIAAttributes()}),i}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":this.localize("Volume Level"),"aria-live":"polite"})},e.prototype.handleMouseDown=function(e){jt(e)&&t.prototype.handleMouseDown.call(this,e)},e.prototype.handleMouseMove=function(t){jt(t)&&(this.checkMuted(),this.player_.volume(this.calculateDistance(t)))},e.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},e.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},e.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},e.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},e.prototype.updateARIAAttributes=function(t){var e=this.player_.muted()?0:this.volumeAsPercentage_();this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},e.prototype.volumeAsPercentage_=function(){return Math.round(100*this.player_.volume())},e.prototype.updateLastVolume_=function(){var t=this,e=this.player_.volume();this.one("sliderinactive",function(){0===t.player_.volume()&&t.player_.lastVolume_(e)})},e}(yr);jr.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},jr.prototype.playerEvent="volumechange",_e.registerComponent("VolumeBar",jr);var Or=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(this,e),r.vertical=r.vertical||!1,("undefined"===typeof r.volumeBar||U(r.volumeBar))&&(r.volumeBar=r.volumeBar||{},r.volumeBar.vertical=r.vertical);var i=R(this,t.call(this,n,r));return Sr(i,n),i.throttledHandleMouseMove=ne(ee(i,i.handleMouseMove),25),i.on("mousedown",i.handleMouseDown),i.on("touchstart",i.handleMouseDown),i.on(i.volumeBar,["focus","slideractive"],function(){i.volumeBar.addClass("vjs-slider-active"),i.addClass("vjs-slider-active"),i.trigger("slideractive")}),i.on(i.volumeBar,["blur","sliderinactive"],function(){i.volumeBar.removeClass("vjs-slider-active"),i.removeClass("vjs-slider-active"),i.trigger("sliderinactive")}),i}return $(e,t),e.prototype.createEl=function(){var e="vjs-volume-horizontal";return this.options_.vertical&&(e="vjs-volume-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control "+e})},e.prototype.handleMouseDown=function(t){var e=this.el_.ownerDocument;this.on(e,"mousemove",this.throttledHandleMouseMove),this.on(e,"touchmove",this.throttledHandleMouseMove),this.on(e,"mouseup",this.handleMouseUp),this.on(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseUp=function(t){var e=this.el_.ownerDocument;this.off(e,"mousemove",this.throttledHandleMouseMove),this.off(e,"touchmove",this.throttledHandleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchend",this.handleMouseUp)},e.prototype.handleMouseMove=function(t){this.volumeBar.handleMouseMove(t)},e}(_e);Or.prototype.options_={children:["volumeBar"]},_e.registerComponent("VolumeControl",Or);var Ar=function(t,e){e.tech_&&!e.tech_.featuresMuteControl&&t.addClass("vjs-hidden"),t.on(e,"loadstart",function(){e.tech_.featuresMuteControl?t.removeClass("vjs-hidden"):t.addClass("vjs-hidden")})},Pr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return Ar(i,n),i.on(n,["loadstart","volumechange"],i.update),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-mute-control "+t.prototype.buildCSSClass.call(this)},e.prototype.handleClick=function(t){var e=this.player_.volume(),n=this.player_.lastVolume_();if(0===e){var r=n<.1?.1:n;this.player_.volume(r),this.player_.muted(!1)}else this.player_.muted(!this.player_.muted())},e.prototype.update=function(t){this.updateIcon_(),this.updateControlText_()},e.prototype.updateIcon_=function(){var t=this.player_.volume(),e=3;g&&this.player_.muted(this.player_.tech_.el_.muted),0===t||this.player_.muted()?e=0:t<.33?e=1:t<.67&&(e=2);for(var n=0;n<4;n++)pt(this.el_,"vjs-vol-"+n);ut(this.el_,"vjs-vol-"+e)},e.prototype.updateControlText_=function(){var t=this.player_.muted()||0===this.player_.volume(),e=t?"Unmute":"Mute";this.controlText()!==e&&this.controlText(e)},e}(er);Pr.prototype.controlText_="Mute",_e.registerComponent("MuteToggle",Pr);var Mr=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(this,e),"undefined"!==typeof r.inline?r.inline=r.inline:r.inline=!0,("undefined"===typeof r.volumeControl||U(r.volumeControl))&&(r.volumeControl=r.volumeControl||{},r.volumeControl.vertical=!r.inline);var i=R(this,t.call(this,n,r));return i.on(n,["loadstart"],i.volumePanelState_),i.on(i.volumeControl,["slideractive"],i.sliderActive_),i.on(i.volumeControl,["sliderinactive"],i.sliderInactive_),i}return $(e,t),e.prototype.sliderActive_=function(){this.addClass("vjs-slider-active")},e.prototype.sliderInactive_=function(){this.removeClass("vjs-slider-active")},e.prototype.volumePanelState_=function(){this.volumeControl.hasClass("vjs-hidden")&&this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-hidden"),this.volumeControl.hasClass("vjs-hidden")&&!this.muteToggle.hasClass("vjs-hidden")&&this.addClass("vjs-mute-toggle-only")},e.prototype.createEl=function(){var e="vjs-volume-panel-horizontal";return this.options_.inline||(e="vjs-volume-panel-vertical"),t.prototype.createEl.call(this,"div",{className:"vjs-volume-panel vjs-control "+e})},e}(_e);Mr.prototype.options_={children:["muteToggle","volumeControl"]},_e.registerComponent("VolumePanel",Mr);var Nr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return r&&(i.menuButton_=r.menuButton),i.focusedChild_=-1,i.on("keydown",i.handleKeyPress),i}return $(e,t),e.prototype.addItem=function(t){this.addChild(t),t.on("click",ee(this,function(e){this.menuButton_&&(this.menuButton_.unpressButton(),"CaptionSettingsMenuItem"!==t.name()&&this.menuButton_.focus())}))},e.prototype.createEl=function(){var e=this.options_.contentElType||"ul";this.contentEl_=st(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var n=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return n.appendChild(this.contentEl_),Wt(n,"click",function(t){t.preventDefault(),t.stopImmediatePropagation()}),n},e.prototype.dispose=function(){this.contentEl_=null,t.prototype.dispose.call(this)},e.prototype.handleKeyPress=function(t){37===t.which||40===t.which?(t.preventDefault(),this.stepForward()):38!==t.which&&39!==t.which||(t.preventDefault(),this.stepBack())},e.prototype.stepForward=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_+1),this.focus(t)},e.prototype.stepBack=function(){var t=0;void 0!==this.focusedChild_&&(t=this.focusedChild_-1),this.focus(t)},e.prototype.focus=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=this.children().slice(),n=e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className);n&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(_e);_e.registerComponent("Menu",Nr);var Ir=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(this,e);var i=R(this,t.call(this,n,r));i.menuButton_=new er(n,r),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");var o=er.prototype.buildCSSClass();return i.menuButton_.el_.className=i.buildCSSClass()+" "+o,i.menuButton_.removeClass("vjs-control"),i.addChild(i.menuButton_),i.update(),i.enabled_=!0,i.on(i.menuButton_,"tap",i.handleClick),i.on(i.menuButton_,"click",i.handleClick),i.on(i.menuButton_,"focus",i.handleFocus),i.on(i.menuButton_,"blur",i.handleBlur),i.on("keydown",i.handleSubmenuKeyPress),i}return $(e,t),e.prototype.update=function(){var t=this.createMenu();this.menu&&(this.menu.dispose(),this.removeChild(this.menu)),this.menu=t,this.addChild(t),this.buttonPressed_=!1,this.menuButton_.el_.setAttribute("aria-expanded","false"),this.items&&this.items.length<=this.hideThreshold_?this.hide():this.show()},e.prototype.createMenu=function(){var t=new Nr(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var e=st("li",{className:"vjs-menu-title",innerHTML:ye(this.options_.title),tabIndex:-1});this.hideThreshold_+=1,t.children_.unshift(e),ct(e,t.contentEl())}if(this.items=this.createItems(),this.items)for(var n=0;n<this.items.length;n++)t.addItem(this.items[n]);return t},e.prototype.createItems=function(){},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildWrapperCSSClass()},{})},e.prototype.buildWrapperCSSClass=function(){var e="vjs-menu-button";!0===this.options_.inline?e+="-inline":e+="-popup";var n=er.prototype.buildCSSClass();return"vjs-menu-button "+e+" "+n+" "+t.prototype.buildCSSClass.call(this)},e.prototype.buildCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+t.prototype.buildCSSClass.call(this)},e.prototype.controlText=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.menuButton_.el();return this.menuButton_.controlText(t,e)},e.prototype.handleClick=function(t){this.one(this.menu.contentEl(),"mouseleave",ee(this,function(t){this.unpressButton(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},e.prototype.focus=function(){this.menuButton_.focus()},e.prototype.blur=function(){this.menuButton_.blur()},e.prototype.handleFocus=function(){Wt(o,"keydown",ee(this,this.handleKeyPress))},e.prototype.handleBlur=function(){Ut(o,"keydown",ee(this,this.handleKeyPress))},e.prototype.handleKeyPress=function(t){27===t.which||9===t.which?(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus())):38!==t.which&&40!==t.which||this.buttonPressed_||(this.pressButton(),t.preventDefault())},e.prototype.handleSubmenuKeyPress=function(t){27!==t.which&&9!==t.which||(this.buttonPressed_&&this.unpressButton(),9!==t.which&&(t.preventDefault(),this.menuButton_.el_.focus()))},e.prototype.pressButton=function(){if(this.enabled_){if(this.buttonPressed_=!0,this.menu.lockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","true"),g&&it())return;this.menu.focus()}},e.prototype.unpressButton=function(){this.enabled_&&(this.buttonPressed_=!1,this.menu.unlockShowing(),this.menuButton_.el_.setAttribute("aria-expanded","false"))},e.prototype.disable=function(){this.unpressButton(),this.enabled_=!1,this.addClass("vjs-disabled"),this.menuButton_.disable()},e.prototype.enable=function(){this.enabled_=!0,this.removeClass("vjs-disabled"),this.menuButton_.enable()},e}(_e);_e.registerComponent("MenuButton",Ir);var Lr=function(t){function e(n,r){L(this,e);var i=r.tracks,o=R(this,t.call(this,n,r));if(o.items.length<=1&&o.hide(),!i)return R(o);var s=ee(o,o.update);return i.addEventListener("removetrack",s),i.addEventListener("addtrack",s),o.player_.on("ready",s),o.player_.on("dispose",function(){i.removeEventListener("removetrack",s),i.removeEventListener("addtrack",s)}),o}return $(e,t),e}(Ir);_e.registerComponent("TrackButton",Lr);var $r=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.selectable=r.selectable,i.isSelected_=r.selected||!1,i.multiSelectable=r.multiSelectable,i.selected(i.isSelected_),i.selectable?i.multiSelectable?i.el_.setAttribute("role","menuitemcheckbox"):i.el_.setAttribute("role","menuitemradio"):i.el_.setAttribute("role","menuitem"),i}return $(e,t),e.prototype.createEl=function(e,n,r){return this.nonIconControl=!0,t.prototype.createEl.call(this,"li",H({className:"vjs-menu-item",innerHTML:'<span class="vjs-menu-item-text">'+this.localize(this.options_.label)+"</span>",tabIndex:-1},n),r)},e.prototype.handleClick=function(t){this.selected(!0)},e.prototype.selected=function(t){this.selectable&&(t?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked","true"),this.controlText(", selected"),this.isSelected_=!0):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked","false"),this.controlText(""),this.isSelected_=!1))},e}(Xn);_e.registerComponent("MenuItem",$r);var Rr=function(t){function e(n,r){L(this,e);var s=r.track,a=n.textTracks();r.label=s.label||s.language||"Unknown",r.selected="showing"===s.mode;var c=R(this,t.call(this,n,r));c.track=s;var l=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c.handleTracksChange.apply(c,e)},u=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];c.handleSelectedLanguageChange.apply(c,e)};if(n.on(["loadstart","texttrackchange"],l),a.addEventListener("change",l),a.addEventListener("selectedlanguagechange",u),c.on("dispose",function(){n.off(["loadstart","texttrackchange"],l),a.removeEventListener("change",l),a.removeEventListener("selectedlanguagechange",u)}),void 0===a.onchange){var p=void 0;c.on(["tap","click"],function(){if("object"!==I(i.Event))try{p=new i.Event("change")}catch(t){}p||(p=o.createEvent("Event"),p.initEvent("change",!0,!0)),a.dispatchEvent(p)})}return c.handleTracksChange(),c}return $(e,t),e.prototype.handleClick=function(e){var n=this.track.kind,r=this.track.kinds,i=this.player_.textTracks();if(r||(r=[n]),t.prototype.handleClick.call(this,e),i)for(var o=0;o<i.length;o++){var s=i[o];s===this.track&&r.indexOf(s.kind)>-1?"showing"!==s.mode&&(s.mode="showing"):"disabled"!==s.mode&&(s.mode="disabled")}},e.prototype.handleTracksChange=function(t){var e="showing"===this.track.mode;e!==this.isSelected_&&this.selected(e)},e.prototype.handleSelectedLanguageChange=function(t){if("showing"===this.track.mode){var e=this.player_.cache_.selectedLanguage;if(e&&e.enabled&&e.language===this.track.language&&e.kind!==this.track.kind)return;this.player_.cache_.selectedLanguage={enabled:!0,language:this.track.language,kind:this.track.kind}}},e.prototype.dispose=function(){this.track=null,t.prototype.dispose.call(this)},e}($r);_e.registerComponent("TextTrackMenuItem",Rr);var Dr=function(t){function e(n,r){return L(this,e),r.track={player:n,kind:r.kind,kinds:r.kinds,default:!1,mode:"disabled"},r.kinds||(r.kinds=[r.kind]),r.label?r.track.label=r.label:r.track.label=r.kinds.join(" and ")+" off",r.selectable=!0,r.multiSelectable=!1,R(this,t.call(this,n,r))}return $(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!0,r=0,i=e.length;r<i;r++){var o=e[r];if(this.options_.kinds.indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n!==this.isSelected_&&this.selected(n)},e.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),n=!0,r=0,i=e.length;r<i;r++){var o=e[r];if(["captions","descriptions","subtitles"].indexOf(o.kind)>-1&&"showing"===o.mode){n=!1;break}}n&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(Rr);_e.registerComponent("OffTextTrackMenuItem",Dr);var zr=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return L(this,e),r.tracks=n.textTracks(),R(this,t.call(this,n,r))}return $(e,t),e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rr,n=void 0;this.label_&&(n=this.label_+" off"),t.push(new Dr(this.player_,{kinds:this.kinds_,kind:this.kind_,label:n})),this.hideThreshold_+=1;var r=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i<r.length;i++){var o=r[i];if(this.kinds_.indexOf(o.kind)>-1){var s=new e(this.player_,{track:o,selectable:!0,multiSelectable:!1});s.addClass("vjs-"+o.kind+"-menu-item"),t.push(s)}}return t},e}(Lr);_e.registerComponent("TextTrackButton",zr);var Fr=function(t){function e(n,r){L(this,e);var i=r.track,o=r.cue,s=n.currentTime();r.selectable=!0,r.multiSelectable=!1,r.label=o.text,r.selected=o.startTime<=s&&s<o.endTime;var a=R(this,t.call(this,n,r));return a.track=i,a.cue=o,i.addEventListener("cuechange",ee(a,a.update)),a}return $(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},e.prototype.update=function(t){var e=this.cue,n=this.player_.currentTime();this.selected(e.startTime<=n&&n<e.endTime)},e}($r);_e.registerComponent("ChaptersTrackMenuItem",Fr);var Br=function(t){function e(n,r,i){return L(this,e),R(this,t.call(this,n,r,i))}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-chapters-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.update=function(e){this.track_&&(!e||"addtrack"!==e.type&&"removetrack"!==e.type)||this.setTrack(this.findChaptersTrack()),t.prototype.update.call(this)},e.prototype.setTrack=function(t){if(this.track_!==t){if(this.updateHandler_||(this.updateHandler_=this.update.bind(this)),this.track_){var e=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);e&&e.removeEventListener("load",this.updateHandler_),this.track_=null}if(this.track_=t,this.track_){this.track_.mode="hidden";var n=this.player_.remoteTextTrackEls().getTrackElementByTrack_(this.track_);n&&n.addEventListener("load",this.updateHandler_)}}},e.prototype.findChaptersTrack=function(){for(var t=this.player_.textTracks()||[],e=t.length-1;e>=0;e--){var n=t[e];if(n.kind===this.kind_)return n}},e.prototype.getMenuCaption=function(){return this.track_&&this.track_.label?this.track_.label:this.localize(ye(this.kind_))},e.prototype.createMenu=function(){return this.options_.title=this.getMenuCaption(),t.prototype.createMenu.call(this)},e.prototype.createItems=function(){var t=[];if(!this.track_)return t;var e=this.track_.cues;if(!e)return t;for(var n=0,r=e.length;n<r;n++){var i=e[n],o=new Fr(this.player_,{track:this.track_,cue:i});t.push(o)}return t},e}(zr);Br.prototype.kind_="chapters",Br.prototype.controlText_="Chapters",_e.registerComponent("ChaptersButton",Br);var Vr=function(t){function e(n,r,i){L(this,e);var o=R(this,t.call(this,n,r,i)),s=n.textTracks(),a=ee(o,o.handleTracksChange);return s.addEventListener("change",a),o.on("dispose",function(){s.removeEventListener("change",a)}),o}return $(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),n=!1,r=0,i=e.length;r<i;r++){var o=e[r];if(o.kind!==this.kind_&&"showing"===o.mode){n=!0;break}}n?this.disable():this.enable()},e.prototype.buildCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-descriptions-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(zr);Vr.prototype.kind_="descriptions",Vr.prototype.controlText_="Descriptions",_e.registerComponent("DescriptionsButton",Vr);var Hr=function(t){function e(n,r,i){return L(this,e),R(this,t.call(this,n,r,i))}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subtitles-button "+t.prototype.buildWrapperCSSClass.call(this)},e}(zr);Hr.prototype.kind_="subtitles",Hr.prototype.controlText_="Subtitles",_e.registerComponent("SubtitlesButton",Hr);var Wr=function(t){function e(n,r){L(this,e),r.track={player:n,kind:r.kind,label:r.kind+" settings",selectable:!1,default:!1,mode:"disabled"},r.selectable=!1,r.name="CaptionSettingsMenuItem";var i=R(this,t.call(this,n,r));return i.addClass("vjs-texttrack-settings"),i.controlText(", opens "+r.kind+" settings dialog"),i}return $(e,t),e.prototype.handleClick=function(t){this.player().getChild("textTrackSettings").open()},e}(Rr);_e.registerComponent("CaptionSettingsMenuItem",Wr);var Ur=function(t){function e(n,r,i){return L(this,e),R(this,t.call(this,n,r,i))}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-captions-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-captions-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Wr(this.player_,{kind:this.kind_})),this.hideThreshold_+=1),t.prototype.createItems.call(this,e)},e}(zr);Ur.prototype.kind_="captions",Ur.prototype.controlText_="Captions",_e.registerComponent("CaptionsButton",Ur);var Xr=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(e,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);"captions"===this.options_.track.kind&&(i+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n        <span class="vjs-control-text"> '+this.localize("Captions")+"</span>\n      "),i+="</span>";var o=t.prototype.createEl.call(this,e,H({innerHTML:i},n),r);return o},e}(Rr);_e.registerComponent("SubsCapsMenuItem",Xr);var qr=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};L(this,e);var i=R(this,t.call(this,n,r));return i.label_="subtitles",["en","en-us","en-ca","fr-ca"].indexOf(i.player_.language_)>-1&&(i.label_="captions"),i.menuButton_.controlText(ye(i.label_)),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-subs-caps-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||!this.player().getChild("textTrackSettings")||(e.push(new Wr(this.player_,{kind:this.label_})),this.hideThreshold_+=1),e=t.prototype.createItems.call(this,e,Xr),e},e}(zr);qr.prototype.kinds_=["captions","subtitles"],qr.prototype.controlText_="Subtitles",_e.registerComponent("SubsCapsButton",qr);var Yr=function(t){function e(n,r){L(this,e);var i=r.track,o=n.audioTracks();r.label=i.label||i.language||"Unknown",r.selected=i.enabled;var s=R(this,t.call(this,n,r));s.track=i,s.addClass("vjs-"+i.kind+"-menu-item");var a=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];s.handleTracksChange.apply(s,e)};return o.addEventListener("change",a),s.on("dispose",function(){o.removeEventListener("change",a)}),s}return $(e,t),e.prototype.createEl=function(e,n,r){var i='<span class="vjs-menu-item-text">'+this.localize(this.options_.label);"main-desc"===this.options_.track.kind&&(i+='\n        <span aria-hidden="true" class="vjs-icon-placeholder"></span>\n        <span class="vjs-control-text"> '+this.localize("Descriptions")+"</span>\n      "),i+="</span>";var o=t.prototype.createEl.call(this,e,H({innerHTML:i},n),r);return o},e.prototype.handleClick=function(e){var n=this.player_.audioTracks();t.prototype.handleClick.call(this,e);for(var r=0;r<n.length;r++){var i=n[r];i.enabled=i===this.track}},e.prototype.handleTracksChange=function(t){this.selected(this.track.enabled)},e}($r);_e.registerComponent("AudioTrackMenuItem",Yr);var Kr=function(t){function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return L(this,e),r.tracks=n.audioTracks(),R(this,t.call(this,n,r))}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-audio-button "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-audio-button "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createItems=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.hideThreshold_=1;for(var e=this.player_.audioTracks(),n=0;n<e.length;n++){var r=e[n];t.push(new Yr(this.player_,{track:r,selectable:!0,multiSelectable:!1}))}return t},e}(Lr);Kr.prototype.controlText_="Audio Track",_e.registerComponent("AudioTrackButton",Kr);var Gr=function(t){function e(n,r){L(this,e);var i=r.rate,o=parseFloat(i,10);r.label=i,r.selected=1===o,r.selectable=!0,r.multiSelectable=!1;var s=R(this,t.call(this,n,r));return s.label=i,s.rate=o,s.on(n,"ratechange",s.update),s}return $(e,t),e.prototype.handleClick=function(e){t.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},e.prototype.update=function(t){this.selected(this.player().playbackRate()===this.rate)},e}($r);Gr.prototype.contentElType="button",_e.registerComponent("PlaybackRateMenuItem",Gr);var Jr=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.updateVisibility(),i.updateLabel(),i.on(n,"loadstart",i.updateVisibility),i.on(n,"ratechange",i.updateLabel),i}return $(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this);return this.labelEl_=st("div",{className:"vjs-playback-rate-value",innerHTML:"1x"}),e.appendChild(this.labelEl_),e},e.prototype.dispose=function(){this.labelEl_=null,t.prototype.dispose.call(this)},e.prototype.buildCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildCSSClass.call(this)},e.prototype.buildWrapperCSSClass=function(){return"vjs-playback-rate "+t.prototype.buildWrapperCSSClass.call(this)},e.prototype.createMenu=function(){var t=new Nr(this.player()),e=this.playbackRates();if(e)for(var n=e.length-1;n>=0;n--)t.addChild(new Gr(this.player(),{rate:e[n]+"x"}));return t},e.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},e.prototype.handleClick=function(t){for(var e=this.player().playbackRate(),n=this.playbackRates(),r=n[0],i=0;i<n.length;i++)if(n[i]>e){r=n[i];break}this.player().playbackRate(r)},e.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},e.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&this.playbackRates().length>0},e.prototype.updateVisibility=function(t){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},e.prototype.updateLabel=function(t){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},e}(Ir);Jr.prototype.controlText_="Playback Rate",_e.registerComponent("PlaybackRateMenuButton",Jr);var Zr=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},e}(_e);_e.registerComponent("Spacer",Zr);var Qr=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+t.prototype.buildCSSClass.call(this)},e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML=" ",e},e}(Zr);_e.registerComponent("CustomControlSpacer",Qr);var ti=function(t){function e(){return L(this,e),R(this,t.apply(this,arguments))}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"})},e}(_e);ti.prototype.options_={children:["playToggle","volumePanel","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","descriptionsButton","subsCapsButton","audioTrackButton","fullscreenToggle"]},_e.registerComponent("ControlBar",ti);var ei=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r));return i.on(n,"error",i.open),i}return $(e,t),e.prototype.buildCSSClass=function(){return"vjs-error-display "+t.prototype.buildCSSClass.call(this)},e.prototype.content=function(){var t=this.player().error();return t?this.localize(t.message):""},e}(Be);ei.prototype.options_=me(Be.prototype.options_,{pauseOnOpen:!1,fillAlways:!0,temporary:!1,uncloseable:!0}),_e.registerComponent("ErrorDisplay",ei);var ni="vjs-text-track-settings",ri=["#000","Black"],ii=["#00F","Blue"],oi=["#0FF","Cyan"],si=["#0F0","Green"],ai=["#F0F","Magenta"],ci=["#F00","Red"],li=["#FFF","White"],ui=["#FF0","Yellow"],pi=["1","Opaque"],hi=["0.5","Semi-Transparent"],di=["0","Transparent"],fi={backgroundColor:{selector:".vjs-bg-color > select",id:"captions-background-color-%s",label:"Color",options:[ri,li,ci,si,ii,ui,ai,oi]},backgroundOpacity:{selector:".vjs-bg-opacity > select",id:"captions-background-opacity-%s",label:"Transparency",options:[pi,hi,di]},color:{selector:".vjs-fg-color > select",id:"captions-foreground-color-%s",label:"Color",options:[li,ri,ci,si,ii,ui,ai,oi]},edgeStyle:{selector:".vjs-edge-style > select",id:"%s",label:"Text Edge Style",options:[["none","None"],["raised","Raised"],["depressed","Depressed"],["uniform","Uniform"],["dropshadow","Dropshadow"]]},fontFamily:{selector:".vjs-font-family > select",id:"captions-font-family-%s",label:"Font Family",options:[["proportionalSansSerif","Proportional Sans-Serif"],["monospaceSansSerif","Monospace Sans-Serif"],["proportionalSerif","Proportional Serif"],["monospaceSerif","Monospace Serif"],["casual","Casual"],["script","Script"],["small-caps","Small Caps"]]},fontPercent:{selector:".vjs-font-percent > select",id:"captions-font-size-%s",label:"Font Size",options:[["0.50","50%"],["0.75","75%"],["1.00","100%"],["1.25","125%"],["1.50","150%"],["1.75","175%"],["2.00","200%"],["3.00","300%"],["4.00","400%"]],default:2,parser:function(t){return"1.00"===t?null:Number(t)}},textOpacity:{selector:".vjs-text-opacity > select",id:"captions-foreground-opacity-%s",label:"Transparency",options:[pi,hi]},windowColor:{selector:".vjs-window-color > select",id:"captions-window-color-%s",label:"Color"},windowOpacity:{selector:".vjs-window-opacity > select",id:"captions-window-opacity-%s",label:"Transparency",options:[di,hi,pi]}};function vi(t,e){if(e&&(t=e(t)),t&&"none"!==t)return t}function yi(t,e){var n=t.options[t.options.selectedIndex].value;return vi(n,e)}function gi(t,e,n){if(e)for(var r=0;r<t.options.length;r++)if(vi(t.options[r].value,n)===e){t.selectedIndex=r;break}}fi.windowColor.options=fi.backgroundColor.options;var mi=function(t){function e(n,r){L(this,e),r.temporary=!1;var i=R(this,t.call(this,n,r));return i.updateDisplay=ee(i,i.updateDisplay),i.fill(),i.hasBeenOpened_=i.hasBeenFilled_=!0,i.endDialog=st("p",{className:"vjs-control-text",textContent:i.localize("End of dialog window.")}),i.el().appendChild(i.endDialog),i.setDefaults(),void 0===r.persistTextTrackSettings&&(i.options_.persistTextTrackSettings=i.options_.playerOptions.persistTextTrackSettings),i.on(i.$(".vjs-done-button"),"click",function(){i.saveSettings(),i.close()}),i.on(i.$(".vjs-default-button"),"click",function(){i.setDefaults(),i.updateDisplay()}),B(fi,function(t){i.on(i.$(t.selector),"change",i.updateDisplay)}),i.options_.persistTextTrackSettings&&i.restoreSettings(),i}return $(e,t),e.prototype.dispose=function(){this.endDialog=null,t.prototype.dispose.call(this)},e.prototype.createElSelect_=function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"label",i=fi[t],o=i.id.replace("%s",this.id_),s=[n,o].join(" ").trim();return["<"+r+' id="'+o+'" class="'+("label"===r?"vjs-label":"")+'">',this.localize(i.label),"</"+r+">",'<select aria-labelledby="'+s+'">'].concat(i.options.map(function(t){var n=o+"-"+t[1].replace(/\W+/g,"");return['<option id="'+n+'" value="'+t[0]+'" ','aria-labelledby="'+s+" "+n+'">',e.localize(t[1]),"</option>"].join("")})).concat("</select>").join("")},e.prototype.createElFgColor_=function(){var t="captions-text-legend-"+this.id_;return['<fieldset class="vjs-fg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Text"),"</legend>",this.createElSelect_("color",t),'<span class="vjs-text-opacity vjs-opacity">',this.createElSelect_("textOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElBgColor_=function(){var t="captions-background-"+this.id_;return['<fieldset class="vjs-bg-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Background"),"</legend>",this.createElSelect_("backgroundColor",t),'<span class="vjs-bg-opacity vjs-opacity">',this.createElSelect_("backgroundOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElWinColor_=function(){var t="captions-window-"+this.id_;return['<fieldset class="vjs-window-color vjs-track-setting">','<legend id="'+t+'">',this.localize("Window"),"</legend>",this.createElSelect_("windowColor",t),'<span class="vjs-window-opacity vjs-opacity">',this.createElSelect_("windowOpacity",t),"</span>","</fieldset>"].join("")},e.prototype.createElColors_=function(){return st("div",{className:"vjs-track-settings-colors",innerHTML:[this.createElFgColor_(),this.createElBgColor_(),this.createElWinColor_()].join("")})},e.prototype.createElFont_=function(){return st("div",{className:"vjs-track-settings-font",innerHTML:['<fieldset class="vjs-font-percent vjs-track-setting">',this.createElSelect_("fontPercent","","legend"),"</fieldset>",'<fieldset class="vjs-edge-style vjs-track-setting">',this.createElSelect_("edgeStyle","","legend"),"</fieldset>",'<fieldset class="vjs-font-family vjs-track-setting">',this.createElSelect_("fontFamily","","legend"),"</fieldset>"].join("")})},e.prototype.createElControls_=function(){var t=this.localize("restore all settings to the default values");return st("div",{className:"vjs-track-settings-controls",innerHTML:['<button class="vjs-default-button" title="'+t+'">',this.localize("Reset"),'<span class="vjs-control-text"> '+t+"</span>","</button>",'<button class="vjs-done-button">'+this.localize("Done")+"</button>"].join("")})},e.prototype.content=function(){return[this.createElColors_(),this.createElFont_(),this.createElControls_()]},e.prototype.label=function(){return this.localize("Caption Settings Dialog")},e.prototype.description=function(){return this.localize("Beginning of dialog window. Escape will cancel and close the window.")},e.prototype.buildCSSClass=function(){return t.prototype.buildCSSClass.call(this)+" vjs-text-track-settings"},e.prototype.getValues=function(){var t=this;return V(fi,function(e,n,r){var i=yi(t.$(n.selector),n.parser);return void 0!==i&&(e[r]=i),e},{})},e.prototype.setValues=function(t){var e=this;B(fi,function(n,r){gi(e.$(n.selector),t[r],n.parser)})},e.prototype.setDefaults=function(){var t=this;B(fi,function(e){var n=e.hasOwnProperty("default")?e["default"]:0;t.$(e.selector).selectedIndex=n})},e.prototype.restoreSettings=function(){var t=void 0;try{t=JSON.parse(i.localStorage.getItem(ni))}catch(t){G.warn(t)}t&&this.setValues(t)},e.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var t=this.getValues();try{Object.keys(t).length?i.localStorage.setItem(ni,JSON.stringify(t)):i.localStorage.removeItem(ni)}catch(t){G.warn(t)}}},e.prototype.updateDisplay=function(){var t=this.player_.getChild("textTrackDisplay");t&&t.updateDisplay()},e.prototype.conditionalBlur_=function(){this.previouslyActiveEl_=null,this.off(o,"keydown",this.handleKeyDown);var t=this.player_.controlBar,e=t&&t.subsCapsButton,n=t&&t.captionsButton;e?e.focus():n&&n.focus()},e}(Be);_e.registerComponent("TextTrackSettings",mi);var _i=function(t){function e(n,r){L(this,e);var o=r.ResizeObserver||i.ResizeObserver;null===r.ResizeObserver&&(o=!1);var s=me({createEl:!o},r),a=R(this,t.call(this,n,s));return a.ResizeObserver=r.ResizeObserver||i.ResizeObserver,a.loadListener_=null,a.resizeObserver_=null,a.debouncedHandler_=re(function(){a.resizeHandler()},100,!1,n),o?(a.resizeObserver_=new a.ResizeObserver(a.debouncedHandler_),a.resizeObserver_.observe(n.el())):(a.loadListener_=function(){a.el_.contentWindow&&Wt(a.el_.contentWindow,"resize",a.debouncedHandler_),a.off("load",a.loadListener_)},a.on("load",a.loadListener_)),a}return $(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"iframe",{className:"vjs-resize-manager"})},e.prototype.resizeHandler=function(){this.player_.trigger("playerresize")},e.prototype.dispose=function(){this.resizeObserver_&&(this.player_.el()&&this.resizeObserver_.unobserve(this.player_.el()),this.resizeObserver_.disconnect()),this.el_&&this.el_.contentWindow&&Ut(this.el_.contentWindow,"resize",this.debouncedHandler_),this.loadListener_&&this.off("load",this.loadListener_),this.ResizeObserver=null,this.resizeObserver=null,this.debouncedHandler_=null,this.loadListener_=null},e}(_e);_e.registerComponent("ResizeManager",_i);var bi=function(t){var e=t.el();if(e.hasAttribute("src"))return t.triggerSourceset(e.src),!0;var n=t.$$("source"),r=[],i="";if(!n.length)return!1;for(var o=0;o<n.length;o++){var s=n[o].src;s&&-1===r.indexOf(s)&&r.push(s)}return!!r.length&&(1===r.length&&(i=r[0]),t.triggerSourceset(i),!0)},wi={};E||(wi=Object.defineProperty({},"innerHTML",{get:function(){return this.cloneNode(!0).innerHTML},set:function(t){var e=o.createElement(this.nodeName.toLowerCase());e.innerHTML=t;var n=o.createDocumentFragment();while(e.childNodes.length)n.appendChild(e.childNodes[0]);return this.innerText="",i.Element.prototype.appendChild.call(this,n),this.innerHTML}}));var Ti=function(t,e){for(var n={},r=0;r<t.length;r++)if(n=Object.getOwnPropertyDescriptor(t[r],e),n&&n.set&&n.get)break;return n.enumerable=!0,n.configurable=!0,n},Ci=function(t){return Ti([t.el(),i.HTMLMediaElement.prototype,i.Element.prototype,wi],"innerHTML")},ki=function(t){var e=t.el();if(!e.resetSourceWatch_){var n={},r=Ci(t),i=function(n){return function(){for(var r=arguments.length,i=Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=n.apply(e,i);return bi(t),s}};["append","appendChild","insertAdjacentHTML"].forEach(function(t){e[t]&&(n[t]=e[t],e[t]=i(n[t]))}),Object.defineProperty(e,"innerHTML",me(r,{set:i(r.set)})),e.resetSourceWatch_=function(){e.resetSourceWatch_=null,Object.keys(n).forEach(function(t){e[t]=n[t]}),Object.defineProperty(e,"innerHTML",r)},t.one("sourceset",e.resetSourceWatch_)}},xi={};E||(xi=Object.defineProperty({},"src",{get:function(){return this.hasAttribute("src")?rn(i.Element.prototype.getAttribute.call(this,"src")):""},set:function(t){return i.Element.prototype.setAttribute.call(this,"src",t),t}}));var Si=function(t){return Ti([t.el(),i.HTMLMediaElement.prototype,xi],"src")},Ei=function(t){if(t.featuresSourceset){var e=t.el();if(!e.resetSourceset_){var n=Si(t),r=e.setAttribute,i=e.load;Object.defineProperty(e,"src",me(n,{set:function(r){var i=n.set.call(e,r);return t.triggerSourceset(e.src),i}})),e.setAttribute=function(n,i){var o=r.call(e,n,i);return/src/i.test(n)&&t.triggerSourceset(e.src),o},e.load=function(){var n=i.call(e);return bi(t)||(t.triggerSourceset(""),ki(t)),n},e.currentSrc?t.triggerSourceset(e.currentSrc):bi(t)||ki(t),e.resetSourceset_=function(){e.resetSourceset_=null,e.load=i,e.setAttribute=r,Object.defineProperty(e,"src",n),e.resetSourceWatch_&&e.resetSourceWatch_()}}}},ji=D(["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."],["Text Tracks are being loaded from another origin but the crossorigin attribute isn't used.\n            This may prevent text tracks from loading."]),Oi=function(t){function e(n,r){L(this,e);var i=R(this,t.call(this,n,r)),o=n.source,a=!1;if(o&&(i.el_.currentSrc!==o.src||n.tag&&3===n.tag.initNetworkState_)?i.setSource(o):i.handleLateInit_(i.el_),n.enableSourceset&&i.setupSourcesetHandling_(),i.el_.hasChildNodes()){var c=i.el_.childNodes,l=c.length,u=[];while(l--){var p=c[l],h=p.nodeName.toLowerCase();"track"===h&&(i.featuresNativeTextTracks?(i.remoteTextTrackEls().addTrackElement_(p),i.remoteTextTracks().addTrack(p.track),i.textTracks().addTrack(p.track),a||i.el_.hasAttribute("crossorigin")||!sn(p.src)||(a=!0)):u.push(p))}for(var d=0;d<u.length;d++)i.el_.removeChild(u[d])}return i.proxyNativeTracks_(),i.featuresNativeTextTracks&&a&&G.warn(s(ji)),i.restoreMetadataTracksInIOSNativePlayer_(),(P||v||T)&&!0===n.nativeControlsForTouch&&i.setControls(!0),i.proxyWebkitFullscreen_(),i.triggerReady(),i}return $(e,t),e.prototype.dispose=function(){this.el_&&this.el_.resetSourceset_&&this.el_.resetSourceset_(),e.disposeMediaElement(this.el_),this.options_=null,t.prototype.dispose.call(this)},e.prototype.setupSourcesetHandling_=function(){Ei(this)},e.prototype.restoreMetadataTracksInIOSNativePlayer_=function(){var t=this.textTracks(),e=void 0,n=function(){e=[];for(var n=0;n<t.length;n++){var r=t[n];"metadata"===r.kind&&e.push({track:r,storedMode:r.mode})}};n(),t.addEventListener("change",n),this.on("dispose",function(){return t.removeEventListener("change",n)});var r=function n(){for(var r=0;r<e.length;r++){var i=e[r];"disabled"===i.track.mode&&i.track.mode!==i.storedMode&&(i.track.mode=i.storedMode)}t.removeEventListener("change",n)};this.on("webkitbeginfullscreen",function(){t.removeEventListener("change",n),t.removeEventListener("change",r),t.addEventListener("change",r)}),this.on("webkitendfullscreen",function(){t.removeEventListener("change",n),t.addEventListener("change",n),t.removeEventListener("change",r)})},e.prototype.proxyNativeTracks_=function(){var t=this;mn.names.forEach(function(e){var n=mn[e],r=t.el()[n.getterName],i=t[n.getterName]();if(t["featuresNative"+n.capitalName+"Tracks"]&&r&&r.addEventListener){var o={change:function(t){i.trigger({type:"change",target:i,currentTarget:i,srcElement:i})},addtrack:function(t){i.addTrack(t.track)},removetrack:function(t){i.removeTrack(t.track)}},s=function(){for(var t=[],e=0;e<i.length;e++){for(var n=!1,o=0;o<r.length;o++)if(r[o]===i[e]){n=!0;break}n||t.push(i[e])}while(t.length)i.removeTrack(t.shift())};Object.keys(o).forEach(function(e){var n=o[e];r.addEventListener(e,n),t.on("dispose",function(t){return r.removeEventListener(e,n)})}),t.on("loadstart",s),t.on("dispose",function(e){return t.off("loadstart",s)})}})},e.prototype.createEl=function(){var t=this.options_.tag;if(!t||!this.options_.playerElIngest&&!this.movingMediaElementInDOM){if(t){var n=t.cloneNode(!0);t.parentNode&&t.parentNode.insertBefore(n,t),e.disposeMediaElement(t),t=n}else{t=o.createElement("video");var r=this.options_.tag&&ft(this.options_.tag),i=me({},r);P&&!0===this.options_.nativeControlsForTouch||delete i.controls,dt(t,H(i,{id:this.options_.techId,class:"vjs-tech"}))}t.playerId=this.options_.playerId}"undefined"!==typeof this.options_.preload&&yt(t,"preload",this.options_.preload);for(var s=["loop","muted","playsinline","autoplay"],a=0;a<s.length;a++){var c=s[a],l=this.options_[c];"undefined"!==typeof l&&(l?yt(t,c,c):gt(t,c),t[c]=l)}return t},e.prototype.handleLateInit_=function(t){if(0!==t.networkState&&3!==t.networkState){if(0===t.readyState){var e=!1,n=function(){e=!0};this.on("loadstart",n);var r=function(){e||this.trigger("loadstart")};return this.on("loadedmetadata",r),void this.ready(function(){this.off("loadstart",n),this.off("loadedmetadata",r),e||this.trigger("loadstart")})}var i=["loadstart"];i.push("loadedmetadata"),t.readyState>=2&&i.push("loadeddata"),t.readyState>=3&&i.push("canplay"),t.readyState>=4&&i.push("canplaythrough"),this.ready(function(){i.forEach(function(t){this.trigger(t)},this)})}},e.prototype.setCurrentTime=function(t){try{this.el_.currentTime=t}catch(t){G(t,"Video is not ready. (Video.js)")}},e.prototype.duration=function(){var t=this;if(this.el_.duration===1/0&&_&&x&&0===this.el_.currentTime){var e=function e(){t.el_.currentTime>0&&(t.el_.duration===1/0&&t.trigger("durationchange"),t.off("timeupdate",e))};return this.on("timeupdate",e),NaN}return this.el_.duration||NaN},e.prototype.width=function(){return this.el_.offsetWidth},e.prototype.height=function(){return this.el_.offsetHeight},e.prototype.proxyWebkitFullscreen_=function(){var t=this;if("webkitDisplayingFullscreen"in this.el_){var e=function(){this.trigger("fullscreenchange",{isFullscreen:!1})},n=function(){"webkitPresentationMode"in this.el_&&"picture-in-picture"!==this.el_.webkitPresentationMode&&(this.one("webkitendfullscreen",e),this.trigger("fullscreenchange",{isFullscreen:!0}))};this.on("webkitbeginfullscreen",n),this.on("dispose",function(){t.off("webkitbeginfullscreen",n),t.off("webkitendfullscreen",e)})}},e.prototype.supportsFullScreen=function(){if("function"===typeof this.el_.webkitEnterFullScreen){var t=i.navigator&&i.navigator.userAgent||"";if(/Android/.test(t)||!/Chrome|Mac OS X 10.5/.test(t))return!0}return!1},e.prototype.enterFullScreen=function(){var t=this.el_;t.paused&&t.networkState<=t.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){t.pause(),t.webkitEnterFullScreen()},0)):t.webkitEnterFullScreen()},e.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},e.prototype.src=function(t){if(void 0===t)return this.el_.src;this.setSrc(t)},e.prototype.reset=function(){e.resetMediaElement(this.el_)},e.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},e.prototype.setControls=function(t){this.el_.controls=!!t},e.prototype.addTextTrack=function(e,n,r){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,n,r):t.prototype.addTextTrack.call(this,e,n,r)},e.prototype.createRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return t.prototype.createRemoteTextTrack.call(this,e);var n=o.createElement("track");return e.kind&&(n.kind=e.kind),e.label&&(n.label=e.label),(e.language||e.srclang)&&(n.srclang=e.language||e.srclang),e["default"]&&(n["default"]=e["default"]),e.id&&(n.id=e.id),e.src&&(n.src=e.src),n},e.prototype.addRemoteTextTrack=function(e,n){var r=t.prototype.addRemoteTextTrack.call(this,e,n);return this.featuresNativeTextTracks&&this.el().appendChild(r),r},e.prototype.removeRemoteTextTrack=function(e){if(t.prototype.removeRemoteTextTrack.call(this,e),this.featuresNativeTextTracks){var n=this.$$("track"),r=n.length;while(r--)e!==n[r]&&e!==n[r].track||this.el().removeChild(n[r])}},e.prototype.getVideoPlaybackQuality=function(){if("function"===typeof this.el().getVideoPlaybackQuality)return this.el().getVideoPlaybackQuality();var t={};return"undefined"!==typeof this.el().webkitDroppedFrameCount&&"undefined"!==typeof this.el().webkitDecodedFrameCount&&(t.droppedVideoFrames=this.el().webkitDroppedFrameCount,t.totalVideoFrames=this.el().webkitDecodedFrameCount),i.performance&&"function"===typeof i.performance.now?t.creationTime=i.performance.now():i.performance&&i.performance.timing&&"number"===typeof i.performance.timing.navigationStart&&(t.creationTime=i.Date.now()-i.performance.timing.navigationStart),t},e}(Tn);if(nt()){Oi.TEST_VID=o.createElement("video");var Ai=o.createElement("track");Ai.kind="captions",Ai.srclang="en",Ai.label="English",Oi.TEST_VID.appendChild(Ai)}Oi.isSupported=function(){try{Oi.TEST_VID.volume=.5}catch(t){return!1}return!(!Oi.TEST_VID||!Oi.TEST_VID.canPlayType)},Oi.canPlayType=function(t){return Oi.TEST_VID.canPlayType(t)},Oi.canPlaySource=function(t,e){return Oi.canPlayType(t.type)},Oi.canControlVolume=function(){try{var t=Oi.TEST_VID.volume;return Oi.TEST_VID.volume=t/2+.1,t!==Oi.TEST_VID.volume}catch(t){return!1}},Oi.canMuteVolume=function(){try{var t=Oi.TEST_VID.muted;return Oi.TEST_VID.muted=!t,Oi.TEST_VID.muted?yt(Oi.TEST_VID,"muted","muted"):gt(Oi.TEST_VID,"muted","muted"),t!==Oi.TEST_VID.muted}catch(t){return!1}},Oi.canControlPlaybackRate=function(){if(_&&x&&S<58)return!1;try{var t=Oi.TEST_VID.playbackRate;return Oi.TEST_VID.playbackRate=t/2+.1,t!==Oi.TEST_VID.playbackRate}catch(t){return!1}},Oi.canOverrideAttributes=function(){if(E)return!1;try{var t=function(){};Object.defineProperty(o.createElement("video"),"src",{get:t,set:t}),Object.defineProperty(o.createElement("audio"),"src",{get:t,set:t}),Object.defineProperty(o.createElement("video"),"innerHTML",{get:t,set:t}),Object.defineProperty(o.createElement("audio"),"innerHTML",{get:t,set:t})}catch(t){return!1}return!0},Oi.supportsNativeTextTracks=function(){return A||g&&x},Oi.supportsNativeVideoTracks=function(){return!(!Oi.TEST_VID||!Oi.TEST_VID.videoTracks)},Oi.supportsNativeAudioTracks=function(){return!(!Oi.TEST_VID||!Oi.TEST_VID.audioTracks)},Oi.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","resize","volumechange"],Oi.prototype.featuresVolumeControl=Oi.canControlVolume(),Oi.prototype.featuresMuteControl=Oi.canMuteVolume(),Oi.prototype.featuresPlaybackRate=Oi.canControlPlaybackRate(),Oi.prototype.featuresSourceset=Oi.canOverrideAttributes(),Oi.prototype.movingMediaElementInDOM=!g,Oi.prototype.featuresFullscreenResize=!0,Oi.prototype.featuresProgressEvents=!0,Oi.prototype.featuresTimeupdateEvents=!0,Oi.prototype.featuresNativeTextTracks=Oi.supportsNativeTextTracks(),Oi.prototype.featuresNativeVideoTracks=Oi.supportsNativeVideoTracks(),Oi.prototype.featuresNativeAudioTracks=Oi.supportsNativeAudioTracks();var Pi=Oi.TEST_VID&&Oi.TEST_VID.constructor.prototype.canPlayType,Mi=/^application\/(?:x-|vnd\.apple\.)mpegurl/i,Ni=/^video\/mp4/i;Oi.patchCanPlayType=function(){b>=4&&!C&&!x?Oi.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Mi.test(t)?"maybe":Pi.call(this,t)}:w&&(Oi.TEST_VID.constructor.prototype.canPlayType=function(t){return t&&Ni.test(t)?"maybe":Pi.call(this,t)})},Oi.unpatchCanPlayType=function(){var t=Oi.TEST_VID.constructor.prototype.canPlayType;return Oi.TEST_VID.constructor.prototype.canPlayType=Pi,t},Oi.patchCanPlayType(),Oi.disposeMediaElement=function(t){if(t){t.parentNode&&t.parentNode.removeChild(t);while(t.hasChildNodes())t.removeChild(t.firstChild);t.removeAttribute("src"),"function"===typeof t.load&&function(){try{t.load()}catch(t){}}()}},Oi.resetMediaElement=function(t){if(t){var e=t.querySelectorAll("source"),n=e.length;while(n--)t.removeChild(e[n]);t.removeAttribute("src"),"function"===typeof t.load&&function(){try{t.load()}catch(t){}}()}},["muted","defaultMuted","autoplay","controls","loop","playsinline"].forEach(function(t){Oi.prototype[t]=function(){return this.el_[t]||this.el_.hasAttribute(t)}}),["muted","defaultMuted","autoplay","loop","playsinline"].forEach(function(t){Oi.prototype["set"+ye(t)]=function(e){this.el_[t]=e,e?this.el_.setAttribute(t,t):this.el_.removeAttribute(t)}}),["paused","currentTime","buffered","volume","poster","preload","error","seeking","seekable","ended","playbackRate","defaultPlaybackRate","played","networkState","readyState","videoWidth","videoHeight"].forEach(function(t){Oi.prototype[t]=function(){return this.el_[t]}}),["volume","src","poster","preload","playbackRate","defaultPlaybackRate"].forEach(function(t){Oi.prototype["set"+ye(t)]=function(e){this.el_[t]=e}}),["pause","load","play"].forEach(function(t){Oi.prototype[t]=function(){return this.el_[t]()}}),Tn.withSourceHandlers(Oi),Oi.nativeSourceHandler={},Oi.nativeSourceHandler.canPlayType=function(t){try{return Oi.TEST_VID.canPlayType(t)}catch(t){return""}},Oi.nativeSourceHandler.canHandleSource=function(t,e){if(t.type)return Oi.nativeSourceHandler.canPlayType(t.type);if(t.src){var n=on(t.src);return Oi.nativeSourceHandler.canPlayType("video/"+n)}return""},Oi.nativeSourceHandler.handleSource=function(t,e,n){e.setSrc(t.src)},Oi.nativeSourceHandler.dispose=function(){},Oi.registerSourceHandler(Oi.nativeSourceHandler),Tn.registerTech("Html5",Oi);var Ii=D(["\n        Using the tech directly can be dangerous. I hope you know what you're doing.\n        See https://github.com/videojs/video.js/issues/2617 for more info.\n      "],["\n        Using the tech directly can be dangerous. I hope you know what you're doing.\n        See https://github.com/videojs/video.js/issues/2617 for more info.\n      "]),Li=["progress","abort","suspend","emptied","stalled","loadedmetadata","loadeddata","timeupdate","resize","volumechange","texttrackchange"],$i={canplay:"CanPlay",canplaythrough:"CanPlayThrough",playing:"Playing",seeked:"Seeked"},Ri=function(t){function e(n,r,i){if(L(this,e),n.id=n.id||r.id||"vjs_video_"+Nt(),r=H(e.getTagSettings(n),r),r.initChildren=!1,r.createEl=!1,r.evented=!1,r.reportTouchActivity=!1,!r.language)if("function"===typeof n.closest){var o=n.closest("[lang]");o&&o.getAttribute&&(r.language=o.getAttribute("lang"))}else{var s=n;while(s&&1===s.nodeType){if(ft(s).hasOwnProperty("lang")){r.language=s.getAttribute("lang");break}s=s.parentNode}}var a=R(this,t.call(this,null,r,i));if(a.isPosterFromTech_=!1,a.queuedCallbacks_=[],a.isReady_=!1,a.hasStarted_=!1,a.userActive_=!1,!a.options_||!a.options_.techOrder||!a.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");if(a.tag=n,a.tagAttributes=n&&ft(n),a.language(a.options_.language),r.languages){var c={};Object.getOwnPropertyNames(r.languages).forEach(function(t){c[t.toLowerCase()]=r.languages[t]}),a.languages_=c}else a.languages_=e.prototype.options_.languages;a.cache_={},a.poster_=r.poster||"",a.controls_=!!r.controls,a.cache_.lastVolume=1,n.controls=!1,n.removeAttribute("controls"),n.hasAttribute("autoplay")?a.options_.autoplay=!0:a.autoplay(a.options_.autoplay),a.scrubbing_=!1,a.el_=a.createEl(),a.cache_.lastPlaybackRate=a.defaultPlaybackRate(),de(a,{eventBusKey:"el_"});var l=me(a.options_);if(r.plugins){var p=r.plugins;Object.keys(p).forEach(function(t){if("function"!==typeof this[t])throw new Error('plugin "'+t+'" does not exist');this[t](p[t])},a)}a.options_.playerOptions=l,a.middleware_=[],a.initChildren(),a.isAudio("audio"===n.nodeName.toLowerCase()),a.controls()?a.addClass("vjs-controls-enabled"):a.addClass("vjs-controls-disabled"),a.el_.setAttribute("role","region"),a.isAudio()?a.el_.setAttribute("aria-label",a.localize("Audio Player")):a.el_.setAttribute("aria-label",a.localize("Video Player")),a.isAudio()&&a.addClass("vjs-audio"),a.flexNotSupported_()&&a.addClass("vjs-no-flex"),g||a.addClass("vjs-workinghover"),e.players[a.id_]=a;var h=u.split(".")[0];return a.addClass("vjs-v"+h),a.userActive(!0),a.reportUserActivity(),a.one("play",a.listenForUserActivity_),a.on("fullscreenchange",a.handleFullscreenChange_),a.on("stageclick",a.handleStageClick_),a.changingSrc_=!1,a.playWaitingForReady_=!1,a.playOnLoadstart_=null,a}return $(e,t),e.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&(this.styleEl_.parentNode.removeChild(this.styleEl_),this.styleEl_=null),e.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&(this.tech_.dispose(),this.isPosterFromTech_=!1,this.poster_=""),this.playerElIngest_&&(this.playerElIngest_=null),this.tag&&(this.tag=null),Rn(this),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var e=this.tag,n=void 0,r=this.playerElIngest_=e.parentNode&&e.parentNode.hasAttribute&&e.parentNode.hasAttribute("data-vjs-player"),s="video-js"===this.tag.tagName.toLowerCase();r?n=this.el_=e.parentNode:s||(n=this.el_=t.prototype.createEl.call(this,"div"));var a=ft(e);if(s){n=this.el_=e,e=this.tag=o.createElement("video");while(n.children.length)e.appendChild(n.firstChild);lt(n,"video-js")||ut(n,"video-js"),n.appendChild(e),r=this.playerElIngest_=n,["autoplay","controls","crossOrigin","defaultMuted","defaultPlaybackRate","loop","muted","playbackRate","src","volume"].forEach(function(t){"undefined"!==typeof n[t]&&(e[t]=n[t])})}if(e.setAttribute("tabindex","-1"),j&&e.setAttribute("role","application"),e.removeAttribute("width"),e.removeAttribute("height"),Object.getOwnPropertyNames(a).forEach(function(t){"class"===t?(n.className+=" "+a[t],s&&(e.className+=" "+a[t])):(n.setAttribute(t,a[t]),s&&e.setAttribute(t,a[t]))}),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",e.player=n.player=this,this.addClass("vjs-paused"),!0!==i.VIDEOJS_NO_DYNAMIC_STYLE){this.styleEl_=Qt("vjs-styles-dimensions");var c=Ot(".vjs-styles-defaults"),l=Ot("head");l.insertBefore(this.styleEl_,c?c.nextSibling:l.firstChild)}this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio);for(var u=e.getElementsByTagName("a"),p=0;p<u.length;p++){var h=u.item(p);ut(h,"vjs-hidden"),h.setAttribute("hidden","hidden")}return e.initNetworkState_=e.networkState,e.parentNode&&!r&&e.parentNode.insertBefore(n,e),ct(e,n),this.children_.unshift(e),this.el_.setAttribute("lang",this.language_),this.el_=n,n},e.prototype.width=function(t){return this.dimension("width",t)},e.prototype.height=function(t){return this.dimension("height",t)},e.prototype.dimension=function(t,e){var n=t+"_";if(void 0===e)return this[n]||0;if(""===e)return this[n]=void 0,void this.updateStyleEl_();var r=parseFloat(e);isNaN(r)?G.error('Improper value "'+e+'" supplied for for '+t):(this[n]=r,this.updateStyleEl_())},e.prototype.fluid=function(t){if(void 0===t)return!!this.fluid_;this.fluid_=!!t,t?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid"),this.updateStyleEl_()},e.prototype.aspectRatio=function(t){if(void 0===t)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(t))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=t,this.fluid(!0),this.updateStyleEl_()},e.prototype.updateStyleEl_=function(){if(!0!==i.VIDEOJS_NO_DYNAMIC_STYLE){var t=void 0,e=void 0,n=void 0,r=void 0;n=void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()>0?this.videoWidth()+":"+this.videoHeight():"16:9";var o=n.split(":"),s=o[1]/o[0];t=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/s:this.videoWidth()||300,e=void 0!==this.height_?this.height_:t*s,r=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions",this.addClass(r),te(this.styleEl_,"\n      ."+r+" {\n        width: "+t+"px;\n        height: "+e+"px;\n      }\n\n      ."+r+".vjs-fluid {\n        padding-top: "+100*s+"%;\n      }\n    ")}else{var a="number"===typeof this.width_?this.width_:this.options_.width,c="number"===typeof this.height_?this.height_:this.options_.height,l=this.tech_&&this.tech_.el();l&&(a>=0&&(l.width=a),c>=0&&(l.height=c))}},e.prototype.loadTech_=function(t,e){var n=this;this.tech_&&this.unloadTech_();var r=ye(t),i=t.charAt(0).toLowerCase()+t.slice(1);"Html5"!==r&&this.tag&&(Tn.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=r,this.isReady_=!1;var o="string"!==typeof this.autoplay()&&this.autoplay(),s={source:e,autoplay:o,nativeControlsForTouch:this.options_.nativeControlsForTouch,playerId:this.id(),techId:this.id()+"_"+r+"_api",playsinline:this.options_.playsinline,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),playerElIngest:this.playerElIngest_||!1,"vtt.js":this.options_["vtt.js"],canOverridePoster:!!this.options_.techCanOverridePoster,enableSourceset:this.options_.enableSourceset};bn.names.forEach(function(t){var e=bn[t];s[e.getterName]=n[e.privateName]}),H(s,this.options_[r]),H(s,this.options_[i]),H(s,this.options_[t.toLowerCase()]),this.tag&&(s.tag=this.tag),e&&e.src===this.cache_.src&&this.cache_.currentTime>0&&(s.startTime=this.cache_.currentTime);var a=Tn.getTech(t);if(!a)throw new Error("No Tech named '"+r+"' exists! '"+r+"' should be registered using videojs.registerTech()'");this.tech_=new a(s),this.tech_.ready(ee(this,this.handleTechReady_),!0),De.jsonToTextTracks(this.textTracksJson_||[],this.tech_),Li.forEach(function(t){n.on(n.tech_,t,n["handleTech"+ye(t)+"_"])}),Object.keys($i).forEach(function(t){n.on(n.tech_,t,function(e){0===n.tech_.playbackRate()&&n.tech_.seeking()?n.queuedCallbacks_.push({callback:n["handleTech"+$i[t]+"_"].bind(n),event:e}):n["handleTech"+$i[t]+"_"](e)})}),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"sourceset",this.handleTechSourceset_),this.on(this.tech_,"waiting",this.handleTechWaiting_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.on(this.tech_,"textdata",this.handleTechTextData_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===r&&this.tag||ct(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},e.prototype.unloadTech_=function(){var t=this;bn.names.forEach(function(e){var n=bn[e];t[n.privateName]=t[n.getterName]()}),this.textTracksJson_=De.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1,this.isPosterFromTech_&&(this.poster_="",this.trigger("posterchange")),this.isPosterFromTech_=!1},e.prototype.tech=function(t){return void 0===t&&G.warn(s(Ii)),this.tech_},e.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},e.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},e.prototype.handleTechReady_=function(){if(this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),(this.src()||this.currentSrc())&&this.tag&&this.options_.autoplay&&this.paused())try{delete this.tag.poster}catch(t){G("deleting tag.poster throws in some browsers",t)}},e.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-seeking"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay")),this.manualAutoplay_(this.autoplay())},e.prototype.manualAutoplay_=function(t){var e=this;if(this.tech_&&"string"===typeof t){var n=function(){var t=e.muted();e.muted(!0);var n=e.play();if(n&&n.then&&n["catch"])return n["catch"](function(n){e.muted(t)})},r=void 0;if("any"===t?(r=this.play(),r&&r.then&&r["catch"]&&r["catch"](function(){return n()})):r="muted"===t?n():this.play(),r&&r.then&&r["catch"])return r.then(function(){e.trigger({type:"autoplay-success",autoplay:t})})["catch"](function(n){e.trigger({type:"autoplay-failure",autoplay:t})})}},e.prototype.updateSourceCaches_=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=t,n="";if("string"!==typeof e&&(e=t.src,n=t.type),!/^blob:/.test(e)){this.cache_.source=this.cache_.source||{},this.cache_.sources=this.cache_.sources||[],e&&!n&&(n=Vn(this,e)),this.cache_.source=me({},t,{src:e,type:n});for(var r=this.cache_.sources.filter(function(t){return t.src&&t.src===e}),i=[],o=this.$$("source"),s=[],a=0;a<o.length;a++){var c=ft(o[a]);i.push(c),c.src&&c.src===e&&s.push(c.src)}s.length&&!r.length?this.cache_.sources=i:r.length||(this.cache_.sources=[this.cache_.source]),this.cache_.src=e}},e.prototype.handleTechSourceset_=function(t){var e=this;if(!this.changingSrc_&&(this.updateSourceCaches_(t.src),!t.src)){var n=function t(n){"sourceset"!==n.type&&e.updateSourceCaches_(e.techGet_("currentSrc")),e.tech_.off(["sourceset","loadstart"],t)};this.tech_.one(["sourceset","loadstart"],n)}this.trigger({src:t.src,type:"sourceset"})},e.prototype.hasStarted=function(t){if(void 0===t)return this.hasStarted_;t!==this.hasStarted_&&(this.hasStarted_=t,this.hasStarted_?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started"))},e.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},e.prototype.handleTechRateChange_=function(){this.tech_.playbackRate()>0&&0===this.cache_.lastPlaybackRate&&(this.queuedCallbacks_.forEach(function(t){return t.callback(t.event)}),this.queuedCallbacks_=[]),this.cache_.lastPlaybackRate=this.tech_.playbackRate(),this.trigger("ratechange")},e.prototype.handleTechWaiting_=function(){var t=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return t.removeClass("vjs-waiting")})},e.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},e.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},e.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},e.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},e.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},e.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&(G.warn("Passing the `starttime` option to the player will be deprecated in 6.0"),this.currentTime(this.options_.starttime)),this.addClass("vjs-has-started"),this.trigger("firstplay")},e.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},e.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},e.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},e.prototype.handleTechClick_=function(t){jt(t)&&this.controls_&&(this.paused()?Ie(this.play()):this.pause())},e.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},e.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},e.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},e.prototype.handleTechTouchEnd_=function(t){t.preventDefault()},e.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},e.prototype.handleStageClick_=function(){this.reportUserActivity()},e.prototype.handleTechFullscreenChange_=function(t,e){e&&this.isFullscreen(e.isFullscreen),this.trigger("fullscreenchange")},e.prototype.handleTechError_=function(){var t=this.tech_.error();this.error(t)},e.prototype.handleTechTextData_=function(){var t=null;arguments.length>1&&(t=arguments[1]),this.trigger("textdata",t)},e.prototype.getCache=function(){return this.cache_},e.prototype.techCall_=function(t,e){this.ready(function(){if(t in Nn)return An(this.middleware_,this.tech_,t,e);if(t in In)return Pn(this.middleware_,this.tech_,t,e);try{this.tech_&&this.tech_[t](e)}catch(t){throw G(t),t}},!0)},e.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_){if(t in Mn)return On(this.middleware_,this.tech_,t);if(t in In)return Pn(this.middleware_,this.tech_,t);try{return this.tech_[t]()}catch(e){if(void 0===this.tech_[t])throw G("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e),e;if("TypeError"===e.name)throw G("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1,e;throw G(e),e}}},e.prototype.play=function(){var t=this,e=this.options_.Promise||i.Promise;return e?new e(function(e){t.play_(e)}):this.play_()},e.prototype.play_=function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ie;if(this.playOnLoadstart_&&this.off("loadstart",this.playOnLoadstart_),this.isReady_){if(!this.changingSrc_&&(this.src()||this.currentSrc()))return void e(this.techGet_("play"));this.playOnLoadstart_=function(){t.playOnLoadstart_=null,e(t.play())},this.one("loadstart",this.playOnLoadstart_)}else{if(this.playWaitingForReady_)return;this.playWaitingForReady_=!0,this.ready(function(){t.playWaitingForReady_=!1,e(t.play())})}},e.prototype.pause=function(){this.techCall_("pause")},e.prototype.paused=function(){return!1!==this.techGet_("paused")},e.prototype.played=function(){return this.techGet_("played")||Ce(0,0)},e.prototype.scrubbing=function(t){if("undefined"===typeof t)return this.scrubbing_;this.scrubbing_=!!t,t?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing")},e.prototype.currentTime=function(t){return"undefined"!==typeof t?(t<0&&(t=0),void this.techCall_("setCurrentTime",t)):(this.cache_.currentTime=this.techGet_("currentTime")||0,this.cache_.currentTime)},e.prototype.duration=function(t){if(void 0===t)return void 0!==this.cache_.duration?this.cache_.duration:NaN;t=parseFloat(t),t<0&&(t=1/0),t!==this.cache_.duration&&(this.cache_.duration=t,t===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange"))},e.prototype.remainingTime=function(){return this.duration()-this.currentTime()},e.prototype.remainingTimeDisplay=function(){return Math.floor(this.duration())-Math.floor(this.currentTime())},e.prototype.buffered=function(){var t=this.techGet_("buffered");return t&&t.length||(t=Ce(0,0)),t},e.prototype.bufferedPercent=function(){return ke(this.buffered(),this.duration())},e.prototype.bufferedEnd=function(){var t=this.buffered(),e=this.duration(),n=t.end(t.length-1);return n>e&&(n=e),n},e.prototype.volume=function(t){var e=void 0;return void 0!==t?(e=Math.max(0,Math.min(1,parseFloat(t))),this.cache_.volume=e,this.techCall_("setVolume",e),void(e>0&&this.lastVolume_(e))):(e=parseFloat(this.techGet_("volume")),isNaN(e)?1:e)},e.prototype.muted=function(t){if(void 0===t)return this.techGet_("muted")||!1;this.techCall_("setMuted",t)},e.prototype.defaultMuted=function(t){return void 0!==t?this.techCall_("setDefaultMuted",t):this.techGet_("defaultMuted")||!1},e.prototype.lastVolume_=function(t){if(void 0===t||0===t)return this.cache_.lastVolume;this.cache_.lastVolume=t},e.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},e.prototype.isFullscreen=function(t){if(void 0===t)return!!this.isFullscreen_;this.isFullscreen_=!!t},e.prototype.requestFullscreen=function(){var t=xe;this.isFullscreen(!0),t.requestFullscreen?(Wt(o,t.fullscreenchange,ee(this,function e(n){this.isFullscreen(o[t.fullscreenElement]),!1===this.isFullscreen()&&Ut(o,t.fullscreenchange,e),this.trigger("fullscreenchange")})),this.el_[t.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange"))},e.prototype.exitFullscreen=function(){var t=xe;this.isFullscreen(!1),t.requestFullscreen?o[t.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange"))},e.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=o.documentElement.style.overflow,Wt(o,"keydown",ee(this,this.fullWindowOnEscKey)),o.documentElement.style.overflow="hidden",ut(o.body,"vjs-full-window"),this.trigger("enterFullWindow")},e.prototype.fullWindowOnEscKey=function(t){27===t.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},e.prototype.exitFullWindow=function(){this.isFullWindow=!1,Ut(o,"keydown",this.fullWindowOnEscKey),o.documentElement.style.overflow=this.docOrigOverflow,pt(o.body,"vjs-full-window"),this.trigger("exitFullWindow")},e.prototype.canPlayType=function(t){for(var e=void 0,n=0,r=this.options_.techOrder;n<r.length;n++){var i=r[n],o=Tn.getTech(i);if(o||(o=_e.getComponent(i)),o){if(o.isSupported()&&(e=o.canPlayType(t),e))return e}else G.error('The "'+i+'" tech is undefined. Skipped browser support check for that tech.')}return""},e.prototype.selectSource=function(t){var e=this,n=this.options_.techOrder.map(function(t){return[t,Tn.getTech(t)]}).filter(function(t){var e=t[0],n=t[1];return n?n.isSupported():(G.error('The "'+e+'" tech is undefined. Skipped browser support check for that tech.'),!1)}),r=function(t,e,n){var r=void 0;return t.some(function(t){return e.some(function(e){if(r=n(t,e),r)return!0})}),r},i=void 0,o=function(t){return function(e,n){return t(n,e)}},s=function(t,n){var r=t[0],i=t[1];if(i.canPlaySource(n,e.options_[r.toLowerCase()]))return{source:n,tech:r}};return i=this.options_.sourceOrder?r(t,n,o(s)):r(n,t,s),i||!1},e.prototype.src=function(t){var e=this;if("undefined"===typeof t)return this.cache_.src||"";var n=Hn(t);n.length?(this.changingSrc_=!0,this.cache_.sources=n,this.updateSourceCaches_(n[0]),En(this,n[0],function(t,r){e.middleware_=r,e.cache_.sources=n,e.updateSourceCaches_(t);var i=e.src_(t);if(i)return n.length>1?e.src(n.slice(1)):(e.changingSrc_=!1,e.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),void e.triggerReady());jn(r,e.tech_)})):this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0)},e.prototype.src_=function(t){var e=this,n=this.selectSource([t]);return!n||(ge(n.tech,this.techName_)?(this.ready(function(){this.tech_.constructor.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",t):this.techCall_("src",t.src),this.changingSrc_=!1},!0),!1):(this.changingSrc_=!0,this.loadTech_(n.tech,n.source),this.tech_.ready(function(){e.changingSrc_=!1}),!1))},e.prototype.load=function(){this.techCall_("load")},e.prototype.reset=function(){this.tech_&&this.tech_.clearTracks("text"),this.loadTech_(this.options_.techOrder[0],null),this.techCall_("reset")},e.prototype.currentSources=function(){var t=this.currentSource(),e=[];return 0!==Object.keys(t).length&&e.push(t),this.cache_.sources||e},e.prototype.currentSource=function(){return this.cache_.source||{}},e.prototype.currentSrc=function(){return this.currentSource()&&this.currentSource().src||""},e.prototype.currentType=function(){return this.currentSource()&&this.currentSource().type||""},e.prototype.preload=function(t){return void 0!==t?(this.techCall_("setPreload",t),void(this.options_.preload=t)):this.techGet_("preload")},e.prototype.autoplay=function(t){if(void 0===t)return this.options_.autoplay||!1;var e=void 0;"string"===typeof t&&/(any|play|muted)/.test(t)?(this.options_.autoplay=t,this.manualAutoplay_(t),e=!1):this.options_.autoplay=!!t,e=e||this.options_.autoplay,this.tech_&&this.techCall_("setAutoplay",e)},e.prototype.playsinline=function(t){return void 0!==t?(this.techCall_("setPlaysinline",t),this.options_.playsinline=t,this):this.techGet_("playsinline")},e.prototype.loop=function(t){return void 0!==t?(this.techCall_("setLoop",t),void(this.options_.loop=t)):this.techGet_("loop")},e.prototype.poster=function(t){if(void 0===t)return this.poster_;t||(t=""),t!==this.poster_&&(this.poster_=t,this.techCall_("setPoster",t),this.isPosterFromTech_=!1,this.trigger("posterchange"))},e.prototype.handleTechPosterChange_=function(){if((!this.poster_||this.options_.techCanOverridePoster)&&this.tech_&&this.tech_.poster){var t=this.tech_.poster()||"";t!==this.poster_&&(this.poster_=t,this.isPosterFromTech_=!0,this.trigger("posterchange"))}},e.prototype.controls=function(t){if(void 0===t)return!!this.controls_;t=!!t,this.controls_!==t&&(this.controls_=t,this.usingNativeControls()&&this.techCall_("setControls",t),this.controls_?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_()))},e.prototype.usingNativeControls=function(t){if(void 0===t)return!!this.usingNativeControls_;t=!!t,this.usingNativeControls_!==t&&(this.usingNativeControls_=t,this.usingNativeControls_?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols")))},e.prototype.error=function(t){return void 0===t?this.error_||null:null===t?(this.error_=t,this.removeClass("vjs-error"),void(this.errorDisplay&&this.errorDisplay.close())):(this.error_=new Pe(t),this.addClass("vjs-error"),G.error("(CODE:"+this.error_.code+" "+Pe.errorTypes[this.error_.code]+")",this.error_.message,this.error_),void this.trigger("error"))},e.prototype.reportUserActivity=function(t){this.userActivity_=!0},e.prototype.userActive=function(t){if(void 0===t)return this.userActive_;if(t=!!t,t!==this.userActive_){if(this.userActive_=t,this.userActive_)return this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),void this.trigger("useractive");this.tech_&&this.tech_.one("mousemove",function(t){t.stopPropagation(),t.preventDefault()}),this.userActivity_=!1,this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive")}},e.prototype.listenForUserActivity_=function(){var t=void 0,e=void 0,n=void 0,r=ee(this,this.reportUserActivity),i=function(t){t.screenX===e&&t.screenY===n||(e=t.screenX,n=t.screenY,r())},o=function(){r(),this.clearInterval(t),t=this.setInterval(r,250)},s=function(e){r(),this.clearInterval(t)};this.on("mousedown",o),this.on("mousemove",i),this.on("mouseup",s),this.on("keydown",r),this.on("keyup",r);var a=void 0;this.setInterval(function(){if(this.userActivity_){this.userActivity_=!1,this.userActive(!0),this.clearTimeout(a);var t=this.options_.inactivityTimeout;t<=0||(a=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},t))}},250)},e.prototype.playbackRate=function(t){if(void 0===t)return this.tech_&&this.tech_.featuresPlaybackRate?this.cache_.lastPlaybackRate||this.techGet_("playbackRate"):1;this.techCall_("setPlaybackRate",t)},e.prototype.defaultPlaybackRate=function(t){return void 0!==t?this.techCall_("setDefaultPlaybackRate",t):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("defaultPlaybackRate"):1},e.prototype.isAudio=function(t){if(void 0===t)return!!this.isAudio_;this.isAudio_=!!t},e.prototype.addTextTrack=function(t,e,n){if(this.tech_)return this.tech_.addTextTrack(t,e,n)},e.prototype.addRemoteTextTrack=function(t,e){if(this.tech_)return this.tech_.addRemoteTextTrack(t,e)},e.prototype.removeRemoteTextTrack=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.track,n=void 0===e?arguments[0]:e;if(this.tech_)return this.tech_.removeRemoteTextTrack(n)},e.prototype.getVideoPlaybackQuality=function(){return this.techGet_("getVideoPlaybackQuality")},e.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},e.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},e.prototype.language=function(t){if(void 0===t)return this.language_;this.language_=String(t).toLowerCase()},e.prototype.languages=function(){return me(e.prototype.options_.languages,this.languages_)},e.prototype.toJSON=function(){var t=me(this.options_),e=t.tracks;t.tracks=[];for(var n=0;n<e.length;n++){var r=e[n];r=me(r),r.player=void 0,t.tracks[n]=r}return t},e.prototype.createModal=function(t,e){var n=this;e=e||{},e.content=t||"";var r=new Be(this,e);return this.addChild(r),r.on("dispose",function(){n.removeChild(r)}),r.open(),r},e.getTagSettings=function(t){var e={sources:[],tracks:[]},n=ft(t),r=n["data-setup"];if(lt(t,"vjs-fluid")&&(n.fluid=!0),null!==r){var i=a(r||"{}"),o=i[0],s=i[1];o&&G.error(o),H(n,s)}if(H(e,n),t.hasChildNodes())for(var c=t.childNodes,l=0,u=c.length;l<u;l++){var p=c[l],h=p.nodeName.toLowerCase();"source"===h?e.sources.push(ft(p)):"track"===h&&e.tracks.push(ft(p))}return e},e.prototype.flexNotSupported_=function(){var t=o.createElement("i");return!("flexBasis"in t.style||"webkitFlexBasis"in t.style||"mozFlexBasis"in t.style||"msFlexBasis"in t.style||"msFlexOrder"in t.style)},e}(_e);bn.names.forEach(function(t){var e=bn[t];Ri.prototype[e.getterName]=function(){return this.tech_?this.tech_[e.getterName]():(this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName])}}),Ri.players={};var Di=i.navigator;Ri.prototype.options_={techOrder:Tn.defaultTechOrder_,html5:{},flash:{},inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:Di&&(Di.languages&&Di.languages[0]||Di.userLanguage||Di.language)||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},E||Ri.prototype.options_.children.push("resizeManager"),["ended","seeking","seekable","networkState","readyState"].forEach(function(t){Ri.prototype[t]=function(){return this.techGet_(t)}}),Li.forEach(function(t){Ri.prototype["handleTech"+ye(t)+"_"]=function(){return this.trigger(t)}}),_e.registerComponent("Player",Ri);var zi="plugin",Fi="activePlugins_",Bi={},Vi=function(t){return Bi.hasOwnProperty(t)},Hi=function(t){return Vi(t)?Bi[t]:void 0},Wi=function(t,e){t[Fi]=t[Fi]||{},t[Fi][e]=!0},Ui=function(t,e,n){var r=(n?"before":"")+"pluginsetup";t.trigger(r,e),t.trigger(r+":"+e.name,e)},Xi=function(t,e){var n=function(){Ui(this,{name:t,plugin:e,instance:null},!0);var n=e.apply(this,arguments);return Wi(this,t),Ui(this,{name:t,plugin:e,instance:n}),n};return Object.keys(e).forEach(function(t){n[t]=e[t]}),n},qi=function(t,e){return e.prototype.name=t,function(){Ui(this,{name:t,plugin:e,instance:null},!0);for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];var o=new(Function.prototype.bind.apply(e,[null].concat([this].concat(r))));return this[t]=function(){return o},Ui(this,o.getEventHash()),o}},Yi=function(){function t(e){if(L(this,t),this.constructor===t)throw new Error("Plugin must be sub-classed; not directly instantiated.");this.player=e,de(this),delete this.trigger,ve(this,this.constructor.defaultState),Wi(e,this.name),this.dispose=ee(this,this.dispose),e.on("dispose",this.dispose)}return t.prototype.version=function(){return this.constructor.VERSION},t.prototype.getEventHash=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.name=this.name,t.plugin=this.constructor,t.instance=this,t},t.prototype.trigger=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Xt(this.eventBusEl_,t,this.getEventHash(e))},t.prototype.handleStateChanged=function(t){},t.prototype.dispose=function(){var t=this.name,e=this.player;this.trigger("dispose"),this.off(),e.off("dispose",this.dispose),e[Fi][t]=!1,this.player=this.state=null,e[t]=qi(t,Bi[t])},t.isBasic=function(e){var n="string"===typeof e?Hi(e):e;return"function"===typeof n&&!t.prototype.isPrototypeOf(n.prototype)},t.registerPlugin=function(e,n){if("string"!==typeof e)throw new Error('Illegal plugin name, "'+e+'", must be a string, was '+("undefined"===typeof e?"undefined":I(e))+".");if(Vi(e))G.warn('A plugin named "'+e+'" already exists. You may want to avoid re-registering plugins!');else if(Ri.prototype.hasOwnProperty(e))throw new Error('Illegal plugin name, "'+e+'", cannot share a name with an existing player method!');if("function"!==typeof n)throw new Error('Illegal plugin for "'+e+'", must be a function, was '+("undefined"===typeof n?"undefined":I(n))+".");return Bi[e]=n,e!==zi&&(t.isBasic(n)?Ri.prototype[e]=Xi(e,n):Ri.prototype[e]=qi(e,n)),n},t.deregisterPlugin=function(t){if(t===zi)throw new Error("Cannot de-register base plugin.");Vi(t)&&(delete Bi[t],delete Ri.prototype[t])},t.getPlugins=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object.keys(Bi),e=void 0;return t.forEach(function(t){var n=Hi(t);n&&(e=e||{},e[t]=n)}),e},t.getPluginVersion=function(t){var e=Hi(t);return e&&e.VERSION||""},t}();Yi.getPlugin=Hi,Yi.BASE_PLUGIN_NAME=zi,Yi.registerPlugin(zi,Yi),Ri.prototype.usingPlugin=function(t){return!!this[Fi]&&!0===this[Fi][t]},Ri.prototype.hasPlugin=function(t){return!!Vi(t)};var Ki=function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof e?"undefined":I(e)));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(t.super_=e)},Gi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(){t.apply(this,arguments)},r={};for(var i in"object"===("undefined"===typeof e?"undefined":I(e))?(e.constructor!==Object.prototype.constructor&&(n=e.constructor),r=e):"function"===typeof e&&(n=e),Ki(n,t),r)r.hasOwnProperty(i)&&(n.prototype[i]=r[i]);return n};"undefined"===typeof HTMLVideoElement&&nt()&&(o.createElement("video"),o.createElement("audio"),o.createElement("track"),o.createElement("video-js"));var Ji=function(t){return 0===t.indexOf("#")?t.slice(1):t};function Zi(t,e,n){var r=Zi.getPlayer(t);if(r)return e&&G.warn('Player "'+t+'" is already initialised. Options will not be applied.'),n&&r.ready(n),r;var i="string"===typeof t?Ot("#"+Ji(t)):t;if(!rt(i))throw new TypeError("The element or ID supplied is not valid. (videojs)");o.body.contains(i)||G.warn("The element supplied is not included in the DOM"),e=e||{},Zi.hooks("beforesetup").forEach(function(t){var n=t(i,me(e));W(n)&&!Array.isArray(n)?e=me(e,n):G.error("please return an object in beforesetup hooks")});var s=_e.getComponent("Player");return r=new s(i,e,n),Zi.hooks("setup").forEach(function(t){return t(r)}),r}if(Zi.hooks_={},Zi.hooks=function(t,e){return Zi.hooks_[t]=Zi.hooks_[t]||[],e&&(Zi.hooks_[t]=Zi.hooks_[t].concat(e)),Zi.hooks_[t]},Zi.hook=function(t,e){Zi.hooks(t,e)},Zi.hookOnce=function(t,e){Zi.hooks(t,[].concat(e).map(function(e){var n=function n(){return Zi.removeHook(t,n),e.apply(void 0,arguments)};return n}))},Zi.removeHook=function(t,e){var n=Zi.hooks(t).indexOf(e);return!(n<=-1)&&(Zi.hooks_[t]=Zi.hooks_[t].slice(),Zi.hooks_[t].splice(n,1),!0)},!0!==i.VIDEOJS_NO_DYNAMIC_STYLE&&nt()){var Qi=Ot(".vjs-styles-defaults");if(!Qi){Qi=Qt("vjs-styles-defaults");var to=Ot("head");to&&to.insertBefore(Qi,to.firstChild),te(Qi,"\n      .video-js {\n        width: 300px;\n        height: 150px;\n      }\n\n      .vjs-fluid {\n        padding-top: 56.25%\n      }\n    ")}}Zt(1,Zi),Zi.VERSION=u,Zi.options=Ri.prototype.options_,Zi.getPlayers=function(){return Ri.players},Zi.getPlayer=function(t){var e=Ri.players,n=void 0;if("string"===typeof t){var r=Ji(t),i=e[r];if(i)return i;n=Ot("#"+r)}else n=t;if(rt(n)){var o=n,s=o.player,a=o.playerId;if(s||e[a])return s||e[a]}},Zi.getAllPlayers=function(){return Object.keys(Ri.players).map(function(t){return Ri.players[t]}).filter(Boolean)},Zi.players=Ri.players,Zi.getComponent=_e.getComponent,Zi.registerComponent=function(t,e){Tn.isTech(e)&&G.warn("The "+t+" tech was registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),_e.registerComponent.call(_e,t,e)},Zi.getTech=Tn.getTech,Zi.registerTech=Tn.registerTech,Zi.use=Sn,!E&&Object.defineProperty?(Object.defineProperty(Zi,"middleware",{value:{},writeable:!1,enumerable:!0}),Object.defineProperty(Zi.middleware,"TERMINATOR",{value:xn,writeable:!1,enumerable:!0})):Zi.middleware={TERMINATOR:xn},Zi.browser=N,Zi.TOUCH_ENABLED=P,Zi.extend=Gi,Zi.mergeOptions=me,Zi.bind=ee,Zi.registerPlugin=Yi.registerPlugin,Zi.deregisterPlugin=Yi.deregisterPlugin,Zi.plugin=function(t,e){return G.warn("videojs.plugin() is deprecated; use videojs.registerPlugin() instead"),Yi.registerPlugin(t,e)},Zi.getPlugins=Yi.getPlugins,Zi.getPlugin=Yi.getPlugin,Zi.getPluginVersion=Yi.getPluginVersion,Zi.addLanguage=function(t,e){var n;return t=(""+t).toLowerCase(),Zi.options.languages=me(Zi.options.languages,(n={},n[t]=e,n)),Zi.options.languages[t]},Zi.log=G,Zi.createTimeRange=Zi.createTimeRanges=Ce,Zi.formatTime=lr,Zi.setFormatTime=ar,Zi.resetFormatTime=cr,Zi.parseUrl=nn,Zi.isCrossOrigin=sn,Zi.EventTarget=ie,Zi.on=Wt,Zi.one=qt,Zi.off=Ut,Zi.trigger=Xt,Zi.xhr=c,Zi.TextTrack=un,Zi.AudioTrack=pn,Zi.VideoTrack=hn,["isEl","isTextNode","createEl","hasClass","addClass","removeClass","toggleClass","setAttributes","getAttributes","emptyEl","appendContent","insertContent"].forEach(function(t){Zi[t]=function(){return G.warn("videojs."+t+"() is deprecated; use videojs.dom."+t+"() instead"),Pt[t].apply(null,arguments)}}),Zi.computedStyle=J,Zi.dom=Pt,Zi.url=an,t.exports=Zi},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45d3":function(t,e,n){},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"46c1":function(t,e){function n(t){return t.replace(/^\s*|\s*$/g,"")}e=t.exports=n,e.left=function(t){return t.replace(/^\s*/,"")},e.right=function(t){return t.replace(/\s*$/,"")}},"4a59":function(t,e,n){var r=n("9b43"),i=n("1fa8"),o=n("33a4"),s=n("cb7c"),a=n("9def"),c=n("27ee"),l={},u={};e=t.exports=function(t,e,n,p,h){var d,f,v,y,g=h?function(){return t}:c(t),m=r(n,p,e?2:1),_=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(d=a(t.length);d>_;_++)if(y=e?m(s(f=t[_])[0],f[1]):m(t[_]),y===l||y===u)return y}else for(v=g.call(t);!(f=v.next()).done;)if(y=i(v,m,f.value,e),y===l||y===u)return y};e.BREAK=l,e.RETURN=u},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"53a8":function(t,e){t.exports=r;var n=Object.prototype.hasOwnProperty;function r(){for(var t={},e=0;e<arguments.length;e++){var r=arguments[e];for(var i in r)n.call(r,i)&&(t[i]=r[i])}return t}},"551c":function(t,e,n){"use strict";var r,i,o,s,a=n("2d00"),c=n("7726"),l=n("9b43"),u=n("23c6"),p=n("5ca1"),h=n("d3f4"),d=n("d8e8"),f=n("f605"),v=n("4a59"),y=n("ebd6"),g=n("1991").set,m=n("8079")(),_=n("a5b8"),b=n("9c80"),w=n("a25f"),T=n("bcaa"),C="Promise",k=c.TypeError,x=c.process,S=x&&x.versions,E=S&&S.v8||"",j=c[C],O="process"==u(x),A=function(){},P=i=_.f,M=!!function(){try{var t=j.resolve(1),e=(t.constructor={})[n("2b4c")("species")]=function(t){t(A,A)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof e&&0!==E.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),N=function(t){var e;return!(!h(t)||"function"!=typeof(e=t.then))&&e},I=function(t,e){if(!t._n){t._n=!0;var n=t._c;m(function(){var r=t._v,i=1==t._s,o=0,s=function(e){var n,o,s,a=i?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{a?(i||(2==t._h&&R(t),t._h=1),!0===a?n=r:(u&&u.enter(),n=a(r),u&&(u.exit(),s=!0)),n===e.promise?l(k("Promise-chain cycle")):(o=N(n))?o.call(n,c,l):c(n)):l(r)}catch(t){u&&!s&&u.exit(),l(t)}};while(n.length>o)s(n[o++]);t._c=[],t._n=!1,e&&!t._h&&L(t)})}},L=function(t){g.call(c,function(){var e,n,r,i=t._v,o=$(t);if(o&&(e=b(function(){O?x.emit("unhandledRejection",i,t):(n=c.onunhandledrejection)?n({promise:t,reason:i}):(r=c.console)&&r.error&&r.error("Unhandled promise rejection",i)}),t._h=O||$(t)?2:1),t._a=void 0,o&&e.e)throw e.v})},$=function(t){return 1!==t._h&&0===(t._a||t._c).length},R=function(t){g.call(c,function(){var e;O?x.emit("rejectionHandled",t):(e=c.onrejectionhandled)&&e({promise:t,reason:t._v})})},D=function(t){var e=this;e._d||(e._d=!0,e=e._w||e,e._v=t,e._s=2,e._a||(e._a=e._c.slice()),I(e,!0))},z=function(t){var e,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw k("Promise can't be resolved itself");(e=N(t))?m(function(){var r={_w:n,_d:!1};try{e.call(t,l(z,r,1),l(D,r,1))}catch(t){D.call(r,t)}}):(n._v=t,n._s=1,I(n,!1))}catch(t){D.call({_w:n,_d:!1},t)}}};M||(j=function(t){f(this,j,C,"_h"),d(t),r.call(this);try{t(l(z,this,1),l(D,this,1))}catch(t){D.call(this,t)}},r=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},r.prototype=n("dcbc")(j.prototype,{then:function(t,e){var n=P(y(this,j));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?x.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&I(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r;this.promise=t,this.resolve=l(z,t,1),this.reject=l(D,t,1)},_.f=P=function(t){return t===j||t===s?new o(t):i(t)}),p(p.G+p.W+p.F*!M,{Promise:j}),n("7f20")(j,C),n("7a56")(C),s=n("8378")[C],p(p.S+p.F*!M,C,{reject:function(t){var e=P(this),n=e.reject;return n(t),e.promise}}),p(p.S+p.F*(a||!M),C,{resolve:function(t){return T(a&&this===s?j:this,t)}}),p(p.S+p.F*!(M&&n("5cc5")(function(t){j.all(t)["catch"](A)})),C,{all:function(t){var e=this,n=P(e),r=n.resolve,i=n.reject,o=b(function(){var n=[],o=0,s=1;v(t,!1,function(t){var a=o++,c=!1;n.push(void 0),s++,e.resolve(t).then(function(t){c||(c=!0,n[a]=t,--s||r(n))},i)}),--s||r(n)});return o.e&&i(o.v),n.promise},race:function(t){var e=this,n=P(e),r=n.reject,i=b(function(){v(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"55fa":function(t,e,n){(function(e,r){t.exports=r(n("2b0e"))})("undefined"!==typeof self&&self,function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"01f9":function(t,e,n){"use strict";var r=n("2d00"),i=n("5ca1"),o=n("2aba"),s=n("32e9"),a=n("84f2"),c=n("41a0"),l=n("7f20"),u=n("38fd"),p=n("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",f="keys",v="values",y=function(){return this};t.exports=function(t,e,n,g,m,_,b){c(n,e,g);var w,T,C,k=function(t){if(!h&&t in j)return j[t];switch(t){case f:return function(){return new n(this,t)};case v:return function(){return new n(this,t)}}return function(){return new n(this,t)}},x=e+" Iterator",S=m==v,E=!1,j=t.prototype,O=j[p]||j[d]||m&&j[m],A=O||k(m),P=m?S?k("entries"):A:void 0,M="Array"==e&&j.entries||O;if(M&&(C=u(M.call(new t)),C!==Object.prototype&&C.next&&(l(C,x,!0),r||"function"==typeof C[p]||s(C,p,y))),S&&O&&O.name!==v&&(E=!0,A=function(){return O.call(this)}),r&&!b||!h&&!E&&j[p]||s(j,p,A),a[e]=A,a[x]=y,m)if(w={values:S?A:k(v),keys:_?A:k(f),entries:P},b)for(T in w)T in j||o(j,T,w[T]);else i(i.P+i.F*(h||E),e,w);return w}},"03dd":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"z-canvas",class:[t.classes,t.$zircle.getTheme(),t.$zircle.getThemeMode()],style:[""!==t.$zircle.getPreviousViewName()?{cursor:"zoom-out"}:{}],attrs:{id:"z-container"},on:{click:function(e){return e.stopPropagation(),t.goback(e)}}},[n("div",{ref:"zoom",style:t.zoom,attrs:{id:"z-zoomable-layer"},on:{transitionend:t.notify}},[n("z-view-manager")],1)])},i=[],o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition-group",{attrs:{name:"forward"===t.$zircle.getNavigationMode()?"z-next":"z-prev",tag:"section"}},[t._l(t.views,function(e){return n(e.component,{key:e.name,tag:"component",class:{"is-current-view":t.$zircle.getCurrentViewName()===e.name&&!1===t.$zircle.getRouterState(),"is-previous-view":t.$zircle.getPreviousViewName()===e.name,"is-past-view":t.$zircle.getPastViewName()===e.name}})}),!0===t.$zircle.getRouterState()&&t.$zircle.getHistoryLength()>=1?n("router-view",{key:t.$zircle.getCurrentViewName(),staticClass:"is-current-view"}):t._e()],2)},s=[],a={name:"z-view-manager",computed:{views:function(){return!1===this.$zircle.getRouterState()?this.$zircle.getHistory().slice(-3):this.$zircle.getHistory().slice(-3,-1)}}},c=a,l=n("2877"),u=Object(l["a"])(c,o,s,!1,null,null,null);u.options.__file="z-view-manager.vue";var p=u.exports,h={name:"z-canvas",props:{views:{type:[Object],required:!0}},components:{ZViewManager:p},computed:{zoom:function(){var t={};return t=0===this.$zircle.getHistoryLength()?{X:0,Y:0,Xi:0,Yi:0,scale:1,scalei:1}:this.$zircle.getCurrentPosition(),{transform:"scale("+t.scale+") translate3d("+t.Xi+"px, "+t.Yi+"px, 0px)",transition:"transform 1000ms ease-in-out"}},classes:function(){return{"is-full-mode":"full"===this.$zircle.getAppMode(),"is-mixed-mode":"mixed"===this.$zircle.getAppMode()}}},methods:{notify:function(){this.$zircle.setNavigationMode("")},goback:function(){""!==this.$zircle.getPreviousViewName()&&!1===this.$zircle.getBackwardNavigationState()&&(!1===this.$zircle.getRouterState()?this.$zircle.goBack():this.$router.back())}},created:function(){this.$zircle.setComponentList(this.views)},mounted:function(){var t=this;this.$zircle.getDimensions(),window.addEventListener("resize",function(e){t.$zircle.getDimensions()})}},d=h,f=(n("a296"),Object(l["a"])(d,r,i,!1,null,null,null));f.options.__file="z-canvas.vue";e["a"]=f.exports},"07a4":function(t,e,n){"use strict";var r=n("8bbf"),i=n.n(r),o=new i.a({data:{appMode:"full",navigationMode:"forward",isRouterEnabled:!1,router:{},history:[],backwardNavigation:!1,componentList:{},diameters:{xxl:200,xl:124,l:76,m:47,s:29,xs:18},appStyle:{theme:"theme-black",mode:"mode-dark"},currentPage:0,items:[],pages:[],params:{},debug:!1}}),s=o,a=(n("f751"),n("7f7f"),{getRouterState:function(){return L.state.isRouterEnabled},setRouterHooks:function(){L.state.router.beforeEach(function(t,e,n){"forward"===L.actions.getNavigationMode()&&L.state.history.length>=1?(L.actions.setLog("VueRouter: zoom-in to "+t.name),n()):L.state.history.length>1&&(L.actions.goBack(),L.actions.setLog("VueRouter: zoom-out to "+t.name),n())})}}),c=a;n("c5f6");function l(t,e,n){var r=0,i=0,o=0,s=0;return 0!==t&&(r=L.actions.getComponentWidth(n)/2*t/100*Math.cos(e*(Math.PI/180)),i=L.actions.getComponentWidth(n)/2*t/100*Math.sin(e*(Math.PI/180)),o=r>0?-Math.abs(Number(r)):Math.abs(Number(r)),s=i>0?-Math.abs(Number(i)):Math.abs(Number(i))),{X:r,Y:i,Xi:o,Yi:s}}function u(t){return L.state.history[L.state.history.length-t]?L.state.history[L.state.history.length-t].position:{X:0,Y:0,Xi:0,Yi:0,scale:0,scalei:0}}var p={getCurrentPosition:function(){return L.state.history[L.state.history.length-1].position},getPreviousPosition:function(){return u(2)},getPastPosition:function(){return u(3)},calcViewPosition:function(t){return L.actions.setLog("calcViewPosition() "+t),L.actions.getCurrentViewName()===t?L.actions.getCurrentPosition():L.actions.getPastPosition()},calcPosition:function(t){L.actions.setLog("calcPosition() => "+t.componentType);var e={Xi:0,Yi:0,X:0,Y:0,scalei:1,scale:1},n=l(t.distance,t.angle,t.$parent.size);"z-view"!==t.$parent.componentType&&"z-list"!==t.$parent.componentType&&"z-spot"!==t.$parent.componentType||(e={Xi:t.$parent.position.Xi,Yi:t.$parent.position.Yi,X:t.$parent.position.X,Y:t.$parent.position.Y,scalei:t.$parent.position.scalei,scale:t.$parent.position.scale});var r={X:n.X,Y:n.Y,Xi:e.Xi+n.Xi*e.scalei,Yi:e.Yi+n.Yi*e.scalei,scale:e.scale*L.state.diameters.xxl/L.actions.getComponentWidth(t.size),scalei:e.scalei*L.actions.getComponentWidth(t.size)/L.state.diameters.xxl,Xabs:e.X+n.X*e.scalei,Yabs:e.Y+n.Y*e.scalei};return r}},h=p;n("7514"),n("cadf"),n("456d"),n("ac6a"),n("28a5");function d(t){var e="";return L.state.history.length>=t&&(e=L.state.history[L.state.history.length-t].name),e}function f(t,e,n){return L.state.history.push({name:t.name,position:e,params:n,component:L.actions.resolveComponent(L.actions.getComponentList(),t.name)})}function v(t){t=t.toLowerCase();for(var e=0,n=1;n<=L.state.history.length;n++)L.state.history[L.state.history.length-n].name.split("--")[0]===t&&(e+=1);return t+"--"+e}function y(t,e,n){L.state.isRouterEnabled&&void 0===L.state.router.resolve(t).route.matched[0]&&(L.state.router.addRoutes([{path:t,name:e,component:n}]),L.actions.setLog("VueRouter: route added "+e,n))}function g(t){if("string"===typeof t){var e=v(t),n="/"+e;y(n,e,L.actions.resolveComponent(L.actions.getComponentList(),e))}else{e=v(t.name);var r=t.params,i="";Object.keys(r).forEach(function(t){i+="/"+t+"/:"+t});var o="/"+e+i;n={name:e,params:t.params},y(o,e,L.actions.resolveComponent(L.actions.getComponentList(),e))}return{name:e,route:n}}var m={resolveComponent:function(t,e){e=e.split("--")[0];var n=Object.keys(t).find(function(t){if(t.toLowerCase()===e)return t});return n?t[n]:i.a.component("missing",{render:function(t){return t("z-view",e+" not found")}})},setComponentList:function(t){L.state.componentList=Object.assign({},L.state.componentList,t)},getComponentList:function(){return L.state.componentList},getCurrentViewName:function(){return d(1)},getPreviousViewName:function(){return d(2)},getPastViewName:function(){return d(3)},getHistoryLength:function(){return L.state.history.length},getHistory:function(){return L.state.history.slice(0)},setNavigationMode:function(t){"forward"!==t&&"backward"!==t&&""!==t||(L.state.navigationMode=t,""===t&&(t="iddle"),L.actions.setLog("Navigation mode is "+t))},getNavigationMode:function(){return L.state.navigationMode},getBackwardNavigationState:function(){return L.state.backwardNavigation},allowBackwardNavigation:function(t){t!==L.state.backwardNavigation&&(L.state.backwardNavigation=t)},setView:function(t,e){if(L.state.history.length<6){var n=g(t),r={};r=e?e.position:{X:0,Y:0,scale:1,Xi:0,Yi:0,scalei:1},f(n,r,n.route.params),L.actions.setNavigationMode("forward"),n.route&&!0===L.state.isRouterEnabled?L.state.router.push(n.route):L.state.params=n.route.params}else L.actions.setLog("Max zoom level reached")},goBack:function(){L.state.history.length>1&&(L.actions.setNavigationMode("backward"),L.state.history.pop(),!0===L.state.isRouterEnabled?L.state.params="":L.state.params=L.state.history[L.state.history.length-1].params,L.actions.setLog("goBack() => "+L.state.history[L.state.history.length-1].name))}},_=m;function b(t){var e=L.state.diameters[t];return e}var w=[{media:window.matchMedia("(max-width: 319px)"),width:{xxl:200,xl:124,l:76,m:47,s:29,xs:18,xxs:9}},{media:window.matchMedia("(min-width: 320px)"),width:{xxl:230,xl:142,l:88,m:54,s:34,xs:21,xxs:10}},{media:window.matchMedia("(min-width: 375px) and (orientation: portrait)"),width:{xxl:260,xl:161,l:99,m:61,s:38,xs:23,xxs:11}},{media:window.matchMedia("(min-width: 375px) and (orientation: landscape)"),width:{xxl:270,xl:167,l:103,m:64,s:39,xs:24,xxs:12}},{media:window.matchMedia("(min-width: 768px) and (orientation: portrait) and (min-pixel-ratio: 2)"),width:{xxl:340,xl:210,l:130,m:80,s:50,xs:31,xxs:14}},{media:window.matchMedia("(min-width: 768px) and (orientation: landscape)"),width:{xxl:360,xl:222,l:138,m:85,s:53,xs:32,xxs:15}},{media:window.matchMedia("(min-width: 992px) and (orientation: portrait)"),width:{xxl:420,xl:260,l:160,m:99,s:61,xs:38,xxs:16}},{media:window.matchMedia("(min-width: 992px) and (orientation: landscape)"),width:{xxl:420,xl:260,l:160,m:99,s:61,xs:38,xxs:16}},{media:window.matchMedia("(min-width: 1200px) and (orientation: portrait)"),width:{xxl:450,xl:278,l:172,m:106,s:66,xs:41,xxs:20}},{media:window.matchMedia("(min-width: 1800px)"),width:{xxl:450,xl:278,l:172,m:106,s:66,xs:41,xxs:20}}],T={getComponentWidth:function(t){var e=t.toLowerCase();"extralarge"===e&&(e="xl"),"large"===e&&(e="l"),"medium"===e&&(e="m"),"small"===e&&(e="s"),"extrasmall"===e&&(e="xs");var n=b(e);return n},getDimensions:function(){if("full"===L.actions.getAppMode()){for(var t=0;t<w.length;t++)w[t].media.matches&&(L.state.diameters=w[t].width);L.actions.setLog("getDimensions() at appMode full. z-view new diameter: "+L.state.diameters.xxl)}else if("mixed"===L.actions.getAppMode()){var e=document.getElementById("z-container").offsetWidth;e<=319?L.state.diameters=w[0].width:e>=320&&e<=374?L.state.diameters=w[1].width:e>=375&&e<=767?L.state.diameters=w[2].width:e>=768&&e<=991?L.state.diameters=w[4].width:e>=992&&e<=1199?L.state.diameters=w[6].width:e>=1200&&e<=1799?L.state.diameters=w[8].width:e>=1800&&(L.state.diameters=w[9].width),L.actions.setLog("getDimensions() at appMode mixed. z-view new diameter: "+L.state.diameters.xxl)}}},C=T,k={getTheme:function(){return L.state.appStyle.theme},getThemeMode:function(){return L.state.appStyle.mode}},x=k,S={setLog:function(t,e){var n="",r="";"warn"===e?(n="yellow",r="black"):"error"===e?(n="red",r="white"):(n="green",r="white"),L.state.debug&&"Navigation mode is forward"===t&&1===L.actions.getHistoryLength()?console.groupCollapsed("%c Z ","background: gray; color:  white","Initial view"):L.state.debug&&"Navigation mode is forward"===t&&L.actions.getHistoryLength()>=1?console.groupCollapsed("%c Z ","background: gray; color:  white","Zoom-in to new view"):L.state.debug&&"Navigation mode is backward"===t?console.groupCollapsed("%c Z ","background: gray; color:  white","Zoom-out to previous view"):L.state.debug&&"Navigation mode is iddle"===t?console.groupEnd():L.state.debug&&console.log("%c z ","background: "+n+"; color:  "+r,t)},getState:function(){return L.state.$data}},E=S,j={setPages:function(t){L.state.pages=t},getPages:function(){return L.state.pages},getNumberOfPages:function(){return L.state.pages.length},getCurrentPage:function(){return L.state.pages[L.state.currentPage]},getCurrentPageIndex:function(){return L.state.currentPage},setCurrentPageIndex:function(t){L.state.currentPage=t},getNumberOfItemsInCurrentPage:function(){return L.state.pages[L.state.currentPage].length},setParams:function(t){L.state.params=t},getParams:function(){return L.state.params}},O=j,A={getAppMode:function(){return L.state.appMode},config:function(t){!0!==t.debug&&!1!==t.debug||(L.state.debug=t.debug),!0===L.state.debug&&(L.actions.setLog("config:"),L.actions.setLog("- Debug enabled")),"full"!==t.mode&&"mixed"!==t.mode||(L.state.appMode=t.mode,L.actions.setLog("- Mode: "+t.mode)),t.style&&t.style.theme&&(L.state.appStyle.theme="theme-"+t.style.theme,L.actions.setLog("- Theme: "+t.style.theme)),t.style&&t.style.mode&&(L.state.appStyle.mode="mode-"+t.style.mode,L.actions.setLog("- Theme mode: "+t.style.mode)),t.router&&(L.state.router=t.router,L.state.isRouterEnabled=!0,L.actions.setRouterHooks(),L.actions.setLog("- VueRouter enabled"),"mixed"===L.actions.getAppMode()&&L.actions.setLog("You should not use VueRouter when Zircle is in mixed mode.","warn"))}},P=A,M=Object.assign({},c,h,_,C,x,O,E,P),N=M,I={state:s,actions:N},L=e["a"]=I},"0a49":function(t,e,n){var r=n("9b43"),i=n("626a"),o=n("4bf8"),s=n("9def"),a=n("cd1c");t.exports=function(t,e){var n=1==t,c=2==t,l=3==t,u=4==t,p=6==t,h=5==t||p,d=e||a;return function(e,a,f){for(var v,y,g=o(e),m=i(g),_=r(a,f,3),b=s(m.length),w=0,T=n?d(e,b):c?d(e,0):void 0;b>w;w++)if((h||w in m)&&(v=m[w],y=_(v,w,g),t))if(n)T[w]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:T.push(v)}else if(u)return!1;return p?-1:l||u?u:T}}},"0d58":function(t,e,n){var r=n("ce10"),i=n("e11e");t.exports=Object.keys||function(t){return r(t,i)}},"0dda":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"z-shape is-extension",class:[t.componentType,t.classes],style:!0===t.responsive?t.styles.main:t.zpos.main,attrs:{role:!0===t.button?"button":""},on:{mouseover:t.spotin,mouseout:t.spotout,mousedown:t.pulse,touchstart:t.pulse,mouseup:t.move}},[t.button?t._e():n("div",{ref:"spot",staticClass:"z-outer-spot",style:t.styles.plate}),n("div",{ref:"pulse",staticClass:"z-pulse"}),t.knob?n("z-knob",{attrs:{qty:t.computedQty,unit:t.unit,min:t.min,max:t.max},on:{"update:qty":function(e){t.computedQty=e}}}):t._e(),!0===t.slider?n("z-slider",{attrs:{progress:t.progress}}):t._e(),t.label?n("div",{staticClass:"z-label",class:t.labelPos,style:"mode-light-filled"===t.$zircle.getThemeMode()?"color: var(--accent-text-and-border-color);":""},[n("div",{staticClass:"inside"},[t._v("\n      "+t._s(t.label)+" "),"outside"===t.pos?n("span",[t._v(" "+t._s(t.progressLabel))]):t._e()])]):t._e(),n("div",{staticClass:"z-content"},[t.imagePath?n("img",{attrs:{src:t.imagePath,width:"100%",height:"100%"}}):t._e(),t.imagePath?t._e():t._t("image")],2),n("div",{staticClass:"z-content",staticStyle:{"z-index":"10"}},[n("span",{staticClass:"overflow"},["inside"===t.pos||void 0===t.pos?n("span",[t._v(t._s(t.progressLabel))]):t._e(),t._t("default")],2)]),t._t("extension")],2)},i=[],o=(n("7f7f"),n("c5f6"),n("0e89")),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",[n("svg",{ref:"bar",staticClass:"z-range-bar",attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(e){return e.preventDefault(),t.bar(e)}}},[n("circle",{style:[t.styles],attrs:{r:"52",cx:"50",cy:"50"}})]),n("svg",{staticClass:"z-range-bar-bar",style:t.circleStyle,attrs:{xmlns:"http://www.w3.org/2000/svg"},on:{touchstart:function(e){t.drag=!0},touchmove:function(e){return e.preventDefault(),t.handleBar(e)},touchend:function(e){t.drag=!1},mousedown:function(e){t.drag=!0},mousemove:function(e){return e.preventDefault(),t.handleBar(e)},mouseup:function(e){t.drag=!1}}},[n("circle",{staticClass:"z-range-bar-handlebar",attrs:{r:"8",cx:"20",cy:"20"}})])])},a=[],c={name:"z-knob",props:{qty:{type:[Number]},min:{type:[Number]},max:{type:[Number]},pos:{type:[String]}},data:function(){return{componentType:this.$options.name,drag:!1,angle:0,prevAngle:0}},computed:{position:function(){var t=this.$zircle.getComponentWidth(this.$parent.size)/2;return{X:(t-3)*Math.cos(this.angle*(Math.PI/180)),Y:(t-3)*Math.sin(this.angle*(Math.PI/180)),arc:100*Math.PI*((this.angle-360)/360)}},styles:function(){var t=2*Math.PI*50;return{transformOrigin:"50% 50%",transform:"rotate(0deg)",strokeDasharray:t,strokeDashoffset:-this.position.arc,strokeWidth:11}},circleStyle:function(){return{transformOrigin:"50% 50%",transform:"translate3d("+this.position.X+"px, "+this.position.Y+"px, 0px)"}}},watch:{qty:function(){this.angle=Math.round(360*(this.qty-this.min)/(this.max-this.min))}},methods:{bar:function(t){t=t.changedTouches?t.changedTouches[0]:t;var e=this.$refs.bar.getBoundingClientRect(),n=e.width/2+e.left,r=e.height/2+e.top,i=t.pageX,o=t.pageY,s=r-o,a=n-i,c=Math.atan2(s,a)*(180/Math.PI);c-=180,c=Math.round(c),c<0&&(c=360+c);var l=Math.round(this.angle),u=this,p=setInterval(function(){l>c?l--:l<c?l++:clearInterval(p),u.angle=l,u.$emit("update:qty",Math.round(l/360*(u.max-u.min))+u.min)},0)},handleBar:function(t){if(!0===this.drag){t=t.changedTouches?t.changedTouches[0]:t;var e=this.$refs.bar.getBoundingClientRect(),n=e.width/2+e.left,r=e.height/2+e.top,i=t.pageX,o=t.pageY,s=r-o,a=n-i,c=Math.atan2(s,a)*(180/Math.PI);c-=180,c=Math.round(c),c<0&&(c=360+c),this.angle=c,this.$emit("update:qty",Math.round(c/360*(this.max-this.min))+this.min)}}},mounted:function(){this.angle=Math.round(360*(this.qty-this.min)/(this.max-this.min)),this.$emit("update:qty",this.qty)}},l=c,u=n("2877"),p=Object(u["a"])(l,s,a,!1,null,null,null);p.options.__file="z-knob.vue";var h=p.exports,d={name:"z-spot",props:{distance:{type:Number,default:100},angle:{type:Number,default:0},index:{type:Number},size:{type:String,default:"medium"},label:{type:[String]},labelPos:{type:[String],default:"bottom"},imagePath:{type:[String]},progress:{type:[Number,Object],default:0},qty:{type:[Number],default:0},unit:{type:[String]},min:{type:[Number],default:0},max:{type:[Number],default:100},pos:{type:[String]},slider:{type:[Boolean],default:!1},button:{type:[Boolean],default:!1},knob:{type:[Boolean],default:!1},toView:{type:[String,Object]}},inject:["view"],components:{ZSlider:o["a"],ZKnob:h},data:function(){return{componentType:this.$options.name,zpos:{},innerpos:{},extrainfo:"",val:0}},computed:{position:function(){var t={componentType:this.componentType,distance:"z-list"===this.$parent.componentType?this.distanceItem:this.distance,angle:"z-list"===this.$parent.componentType?this.angleItem:this.angle,size:this.size,$parent:this.$parent};return this.$zircle.calcPosition(t)},angleItem:function(){return 360/this.$zircle.getNumberOfItemsInCurrentPage()*this.index-90},distanceItem:function(){return 1===this.$zircle.getNumberOfItemsInCurrentPage()?0:this.distance},responsive:function(){return this.view===this.$zircle.getCurrentViewName()&&(this.zpos=this.styles,!0)},styles:function(){var t=this.$zircle.getComponentWidth(this.size);return{main:{width:t+"px",height:t+"px",margin:-t/2+"px 0 0 "+-t/2+"px",transform:"translate3d("+this.position.X+"px, "+this.position.Y+"px, 0px)"},plate:{width:t+15+"px",height:t+15+"px",margin:-(t+15)/2+"px 0 0 "+-(t+15)/2+"px"}}},classes:function(){return{"z-zoom-in-cursor":"z-spot"===this.componentType&&void 0!==this.toView,primary:"z-list"!==this.$parent.componentType,accent:"z-list"===this.$parent.componentType}},progressLabel:function(){if(this.computedQty){var t="";return t=this.unit?this.unit:"",this.qty+""+t}},computedQty:{get:function(){return this.qty},set:function(t){this.$emit("update:qty",t)}}},methods:{pulse:function(){var t=this.$refs.pulse;t.classList.add("pulse-animation"),t.addEventListener("animationend",function(){t.classList.remove("pulse-animation")},!1)},spotin:function(){!1===this.button&&this.view===this.$zircle.getCurrentViewName()&&this.toView&&this.$refs.spot.classList.add("spot-animation")},spotout:function(){!1===this.button&&this.view===this.$zircle.getCurrentViewName()&&this.toView&&this.$refs.spot.classList.remove("spot-animation")},move:function(){this.toView&&this.$zircle.setView(this.toView,{position:{X:this.position.Xabs,Y:this.position.Yabs,scale:this.position.scale,Xi:this.position.Xi,Yi:this.position.Yi,scalei:this.position.scalei}})}},mounted:function(){this.zpos=this.styles}},f=d,v=Object(u["a"])(f,r,i,!1,null,null,null);v.options.__file="z-spot.vue";e["a"]=v.exports},"0e89":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("svg",{staticClass:"z-slider",attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"}},[n("circle",{style:[t.styles],attrs:{r:"51",cx:"50",cy:"50"}})])},i=[],o=(n("7f7f"),{name:"z-slider",props:["progress"],data:function(){return{componentType:this.$options.name}},computed:{styles:function(){var t=this.$parent.size;if("xxl"===t)var e=3;else"large"===t||"xl"===t?e=7:"medium"===t?e=8:"small"===t?e=9:"xs"!==t&&"extrasmall"!==t||(e=10);var n=2*Math.PI*51;return{transformOrigin:"50% 50%",transform:"rotate(-90deg)",strokeDasharray:n,strokeDashoffset:n-this.progress*n/100,strokeWidth:e}}}}),s=o,a=n("2877"),c=Object(a["a"])(s,r,i,!1,null,null,null);c.options.__file="z-slider.vue";e["a"]=c.exports},1169:function(t,e,n){var r=n("2d95");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"11e9":function(t,e,n){var r=n("52a7"),i=n("4630"),o=n("6821"),s=n("6a99"),a=n("69a8"),c=n("c69a"),l=Object.getOwnPropertyDescriptor;e.f=n("9e1e")?l:function(t,e){if(t=o(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(a(t,e))return i(!r.f.call(t,e),t[e])}},1495:function(t,e,n){var r=n("86cc"),i=n("cb7c"),o=n("0d58");t.exports=n("9e1e")?Object.defineProperties:function(t,e){i(t);var n,s=o(e),a=s.length,c=0;while(a>c)r.f(t,n=s[c++],e[n]);return t}},"1eb2":function(t,e,n){var r;"undefined"!==typeof window&&((r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js$/))&&(n.p=r[1]))},"214f":function(t,e,n){"use strict";var r=n("32e9"),i=n("2aba"),o=n("79e5"),s=n("be13"),a=n("2b4c");t.exports=function(t,e,n){var c=a(t),l=n(s,c,""[t]),u=l[0],p=l[1];o(function(){var e={};return e[c]=function(){return 7},7!=""[t](e)})&&(i(String.prototype,t,u),r(RegExp.prototype,c,2==e?function(t,e){return p.call(t,this,e)}:function(t){return p.call(t,this)}))}},"230e":function(t,e,n){var r=n("d3f4"),i=n("7726").document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},2621:function(t,e){e.f=Object.getOwnPropertySymbols},2877:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,l="function"===typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:l}}n.d(e,"a",function(){return r})},"28a5":function(t,e,n){n("214f")("split",2,function(t,e,r){"use strict";var i=n("aae3"),o=r,s=[].push,a="split",c="length",l="lastIndex";if("c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[c]||2!="ab"[a](/(?:ab)*/)[c]||4!="."[a](/(.?)(.?)/)[c]||"."[a](/()()/)[c]>1||""[a](/.?/)[c]){var u=void 0===/()??/.exec("")[1];r=function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!i(t))return o.call(n,t,e);var r,a,p,h,d,f=[],v=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),y=0,g=void 0===e?4294967295:e>>>0,m=new RegExp(t.source,v+"g");u||(r=new RegExp("^"+m.source+"$(?!\\s)",v));while(a=m.exec(n)){if(p=a.index+a[0][c],p>y&&(f.push(n.slice(y,a.index)),!u&&a[c]>1&&a[0].replace(r,function(){for(d=1;d<arguments[c]-2;d++)void 0===arguments[d]&&(a[d]=void 0)}),a[c]>1&&a.index<n[c]&&s.apply(f,a.slice(1)),h=a[0][c],y=p,f[c]>=g))break;m[l]===a.index&&m[l]++}return y===n[c]?!h&&m.test("")||f.push(""):f.push(n.slice(y)),f[c]>g?f.slice(0,g):f}}else"0"[a](void 0,0)[c]&&(r=function(t,e){return void 0===t&&0===e?[]:o.call(this,t,e)});return[function(n,i){var o=t(this),s=void 0==n?void 0:n[e];return void 0!==s?s.call(n,o,i):r.call(String(o),n,i)},r]})},"2aba":function(t,e,n){var r=n("7726"),i=n("32e9"),o=n("69a8"),s=n("ca5a")("src"),a="toString",c=Function[a],l=(""+c).split(a);n("8378").inspectSource=function(t){return c.call(t)},(t.exports=function(t,e,n,a){var c="function"==typeof n;c&&(o(n,"name")||i(n,"name",e)),t[e]!==n&&(c&&(o(n,s)||i(n,s,t[e]?""+t[e]:l.join(String(e)))),t===r?t[e]=n:a?t[e]?t[e]=n:i(t,e,n):(delete t[e],i(t,e,n)))})(Function.prototype,a,function(){return"function"==typeof this&&this[s]||c.call(this)})},"2aeb":function(t,e,n){var r=n("cb7c"),i=n("1495"),o=n("e11e"),s=n("613b")("IE_PROTO"),a=function(){},c="prototype",l=function(){var t,e=n("230e")("iframe"),r=o.length,i="<",s=">";e.style.display="none",n("fab2").appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(i+"script"+s+"document.F=Object"+i+"/script"+s),t.close(),l=t.F;while(r--)delete l[c][o[r]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(a[c]=r(t),n=new a,a[c]=null,n[s]=t):n=l(),void 0===e?n:i(n,e)}},"2b4c":function(t,e,n){var r=n("5537")("wks"),i=n("ca5a"),o=n("7726").Symbol,s="function"==typeof o,a=t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))};a.store=r},"2d00":function(t,e){t.exports=!1},"2d95":function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"32e9":function(t,e,n){var r=n("86cc"),i=n("4630");t.exports=n("9e1e")?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},"38fd":function(t,e,n){var r=n("69a8"),i=n("4bf8"),o=n("613b")("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},"41a0":function(t,e,n){"use strict";var r=n("2aeb"),i=n("4630"),o=n("7f20"),s={};n("32e9")(s,n("2b4c")("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(s,{next:i(1,n)}),o(t,e+" Iterator")}},"456d":function(t,e,n){var r=n("4bf8"),i=n("0d58");n("5eda")("keys",function(){return function(t){return i(r(t))}})},4588:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},4630:function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},4917:function(t,e,n){n("214f")("match",1,function(t,e,n){return[function(n){"use strict";var r=t(this),i=void 0==n?void 0:n[e];return void 0!==i?i.call(n,r):new RegExp(n)[e](String(r))},n]})},"4bf8":function(t,e,n){var r=n("be13");t.exports=function(t){return Object(r(t))}},"52a7":function(t,e){e.f={}.propertyIsEnumerable},5537:function(t,e,n){var r=n("8378"),i=n("7726"),o="__core-js_shared__",s=i[o]||(i[o]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n("2d00")?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",l=function(t,e,n){var u,p,h,d,f=t&l.F,v=t&l.G,y=t&l.S,g=t&l.P,m=t&l.B,_=v?r:y?r[e]||(r[e]={}):(r[e]||{})[c],b=v?i:i[e]||(i[e]={}),w=b[c]||(b[c]={});for(u in v&&(n=e),n)p=!f&&_&&void 0!==_[u],h=(p?_:n)[u],d=m&&p?a(h,r):g&&"function"==typeof h?a(Function.call,h):h,_&&s(_,u,h,t&l.U),b[u]!=h&&o(b,u,d),g&&w[u]!=h&&(w[u]=h)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5dbc":function(t,e,n){var r=n("d3f4"),i=n("8b97").set;t.exports=function(t,e,n){var o,s=e.constructor;return s!==n&&"function"==typeof s&&(o=s.prototype)!==n.prototype&&r(o)&&i&&i(t,o),t}},"5eda":function(t,e,n){var r=n("5ca1"),i=n("8378"),o=n("79e5");t.exports=function(t,e){var n=(i.Object||{})[t]||Object[t],s={};s[t]=e(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7333:function(t,e,n){"use strict";var r=n("0d58"),i=n("2621"),o=n("52a7"),s=n("4bf8"),a=n("626a"),c=Object.assign;t.exports=!c||n("79e5")(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=c({},t)[n]||Object.keys(c({},e)).join("")!=r})?function(t,e){var n=s(t),c=arguments.length,l=1,u=i.f,p=o.f;while(c>l){var h,d=a(arguments[l++]),f=u?r(d).concat(u(d)):r(d),v=f.length,y=0;while(v>y)p.call(d,h=f[y++])&&(n[h]=d[h])}return n}:c},7514:function(t,e,n){"use strict";var r=n("5ca1"),i=n("0a49")(5),o="find",s=!0;o in[]&&Array(1)[o](function(){s=!1}),r(r.P+r.F*s,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),n("9c6c")(o)},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},"7f7f":function(t,e,n){var r=n("86cc").f,i=Function.prototype,o=/^\s*function ([^ (]*)/,s="name";s in i||n("9e1e")&&r(i,s,{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},"807d":function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"z-shape primary",class:[t.componentType],staticStyle:{overflow:"visible"},style:!0===t.responsive?t.styles.main:t.zpos.main,on:{animationend:t.notify,mouseover:function(e){t.$zircle.allowBackwardNavigation(!0)},mouseleave:function(e){t.$zircle.allowBackwardNavigation(!1)}}},[t.$slots["image"]||t.imagePath?n("div",{staticClass:"z-content",attrs:{id:t.fullView}},[t.imagePath?n("img",{attrs:{src:t.imagePath,width:"100%",height:"100%"}}):t._e(),t.imagePath?t._e():t._t("image")],2):t._e(),n("section",{staticStyle:{opacity:"0"},style:t.animation},[n("div",{staticClass:"z-outer-circle",style:!0===t.responsive?t.styles.plate:t.zpos.plate}),t.scrollBar?n("z-scroll",{staticStyle:{overflow:"visible"},attrs:{scrollVal:t.scrollVal},on:{"update:scrollVal":function(e){t.scrollVal=e}}}):t._e(),!0===t.slider?n("z-slider",{attrs:{progress:t.progress}}):t._e(),t.label?n("div",{staticClass:"z-label",class:t.labelPos},[n("div",{staticClass:"inside"},[t._v("\n        "+t._s(t.label)+"\n      ")])]):t._e(),t.$slots["image"]||t.imagePath?n("div",{staticClass:"z-content"},[t.imagePath?n("img",{attrs:{src:t.imagePath,width:"100%",height:"100%"}}):t._e(),t.imagePath?t._e():t._t("image")],2):t._e(),n("div",{ref:"maincontent",staticClass:"z-content maincontent",class:[t.longContent,t.firefoxScroll],on:{"&scroll":function(e){return t.scroll(e)}}},[n("div",{ref:"ztext"},[t._t("default")],2)]),t.$slots["media"]?n("div",{staticClass:"z-content",staticStyle:{"z-index":"60"}},[t._t("media")],2):t._e(),t._t("extension")],2)])},i=[],o=(n("4917"),n("7f7f"),n("c5f6"),n("0e89")),s=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticStyle:{"border-radius":"50%"}},[n("svg",{staticClass:"z-scroll",attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},on:{click:function(e){return e.preventDefault(),t.point(e)}}},[n("circle",{style:t.arcStyle,attrs:{r:"51",cx:"50",cy:"50"}})]),n("svg",{directives:[{name:"show",rawName:"v-show",value:!1===t.hidden,expression:"hidden === false"}],staticClass:"z-scroll-bar",style:t.circleStyle,attrs:{xmlns:"http://www.w3.org/2000/svg"},on:{touchstart:function(e){t.drag=!0},touchmove:function(e){return e.preventDefault(),t.slide(e)},touchend:function(e){t.drag=!1},mousedown:function(e){t.drag=!0},mousemove:function(e){return e.preventDefault(),t.slide(e)},mouseup:function(e){t.drag=!1}}},[n("circle",{staticClass:"z-scroll-handlebar",attrs:{r:"10",cx:"20",cy:"20"}})])])},a=[],c={props:["scrollVal"],name:"z-scroll",data:function(){return{componentType:this.$options.name,drag:!1,hidden:!1}},computed:{arcStyle:function(){var t=2*Math.PI*50;return{transformOrigin:"50% 50%",transform:"rotate(-45deg)",strokeDasharray:t-2,strokeDashoffset:-100*Math.PI*-.75,strokeWidth:"3px",fill:"none"}},position:function(){var t=this.$zircle.getComponentWidth(this.$parent.size)/2;return{X:t*Math.cos(this.scrollVal*(Math.PI/180)),Y:t*Math.sin(this.scrollVal*(Math.PI/180))}},circleStyle:function(){return{transformOrigin:"50% 50%",transform:"translate3d("+this.position.X+"px, "+this.position.Y+"px, 0px)"}}},methods:{point:function(t){var e=this.$el.querySelector(".z-scroll").getBoundingClientRect(),n=e.width/2+e.left,r=e.height/2+e.top,i=t.x,o=t.y,s=r-o,a=n-i,c=Math.atan2(s,a)*(180/Math.PI);c-=135,c<0&&(c=360+c),c>=135&&(c=0),c>90&&(c=90),c=Math.round(c)-45,this.$emit("update:scrollVal",c)},slide:function(t){if(!0===this.drag){t=t.changedTouches?t.changedTouches[0]:t;var e=this.$el.querySelector(".z-scroll").getBoundingClientRect(),n=e.width/2+e.left,r=e.height/2+e.top,i=t.pageX,o=t.pageY,s=r-o,a=n-i,c=Math.atan2(s,a)*(180/Math.PI);c-=135,c<0&&(c=360+c),c>=135&&(c=0),c>90&&(c=90),c=Math.round(c)-45,this.$emit("update:scrollVal",c)}}}},l=c,u=n("2877"),p=Object(u["a"])(l,s,a,!1,null,null,null);p.options.__file="z-scroll.vue";var h=p.exports,d={name:"z-view",props:{distance:{type:Number,default:0},angle:{type:Number,default:0},size:{type:String,default:"xxl"},label:{type:[String]},labelPos:{type:[String],default:"bottom"},imagePath:{type:[String]},progress:{type:Number,default:0},slider:{type:[Boolean],default:!1}},components:{ZScroll:h,ZSlider:o["a"]},data:function(){return{componentType:this.$options.name,scrollVal:-45,zpos:{},isMounted:!1,ffox:!1,fullView:"forward"===this.$zircle.getNavigationMode()?this.$zircle.getCurrentViewName():this.$zircle.getPastViewName()}},provide:function(){return{view:this.fullView}},computed:{position:function(){return this.$zircle.calcViewPosition(this.fullView)},scrollBar:function(){var t=!1;return!0===this.isMounted&&this.fullView===this.$zircle.getCurrentViewName()&&this.$refs.ztext.clientHeight>this.$zircle.getComponentWidth(this.size)&&(t=!0),t},responsive:function(){return this.fullView===this.$zircle.getCurrentViewName()&&(this.zpos=this.styles,!0)},styles:function(){var t=this.$zircle.getComponentWidth(this.size);return{main:{width:t+"px",height:t+"px",margin:-t/2+"px 0 0 "+-t/2+"px",transform:"translate3d("+this.position.X+"px, "+this.position.Y+"px, 0px) scale("+this.position.scalei+")"},plate:{width:t+75+"px",height:t+75+"px",margin:-(t+75)/2+"px 0 0 "+-(t+75)/2+"px"}}},animation:function(){if(this.fullView===this.$zircle.getCurrentViewName()&&"forward"===this.$zircle.getNavigationMode())var t="opacity: 1; transition: opacity 1000ms linear;";else if(this.fullView===this.$zircle.getCurrentViewName()&&"forward"!==this.$zircle.getNavigationMode())t="opacity: 1;";else t="opacity: 0; transition: opacity 500ms linear;";return t},longContent:function(){return{"long-content":!0===this.scrollBar}},firefoxScroll:function(){return{"z-scroll-disabled-for-firefox":!0===this.scrollBar&&!0===this.ffox}}},methods:{notify:function(){1===this.$zircle.getHistoryLength()&&this.$zircle.setNavigationMode("")},scroll:function(){if(!0===this.scrollBar){var t=this.$refs.maincontent;this.scrollVal=100*t.scrollTop/(t.scrollHeight-t.clientHeight)*86/100-45}}},watch:{scrollVal:function(){if(!0===this.scrollBar){var t=this.$refs.maincontent;t.scrollTop=100*(45+this.scrollVal)/86*(t.scrollHeight-t.clientHeight)/100}}},mounted:function(){navigator.userAgent.match("Firefox")&&(this.$zircle.setLog("Firefox desktop detected. Scroll events disabled"),this.ffox=!0),this.zpos=this.styles;var t=this;setTimeout(function(){t.isMounted=!0},1e3)}},f=d,v=Object(u["a"])(f,r,i,!1,null,null,null);v.options.__file="z-view.vue";e["a"]=v.exports},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8b97":function(t,e,n){var r=n("d3f4"),i=n("cb7c"),o=function(t,e){if(i(t),!r(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,r){try{r=n("9b43")(Function.call,n("11e9").f(Object.prototype,"__proto__").set,2),r(t,[]),e=!(t instanceof Array)}catch(t){e=!0}return function(t,n){return o(t,n),e?t.__proto__=n:r(t,n),t}}({},!1):void 0),check:o}},"8bbf":function(e,n){e.exports=t},9093:function(t,e,n){var r=n("ce10"),i=n("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a296:function(t,e,n){"use strict";var r=n("b346"),i=n.n(r);i.a},a517:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{attrs:{title:"z-list"}},[t._l(t.$zircle.getCurrentPage(),function(e,n){return t._t("default",null,{index:n},e)}),t._l(t.$zircle.getNumberOfPages(),function(e,r){return t.$zircle.getNumberOfPages()>1?n("z-pagination",{key:r+"_page",attrs:{index:r,distance:112,angle:(180-(180-10*t.$zircle.getNumberOfPages()))/t.$zircle.getNumberOfPages()*(t.$zircle.getNumberOfPages()-r)+(180-(180-(180-10*t.$zircle.getNumberOfPages()))-(180-(180-10*t.$zircle.getNumberOfPages()))/t.$zircle.getNumberOfPages())/2,active:t.$zircle.getCurrentPageIndex()},nativeOn:{mouseover:function(e){t.$zircle.allowBackwardNavigation(!0)},mouseleave:function(e){t.$zircle.allowBackwardNavigation(!1)},click:function(e){t.$zircle.setCurrentPageIndex(r)}}}):t._e()})],2)},i=[],o=(n("7f7f"),n("c5f6"),function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:!1===t.hidden,expression:"hidden === false"}],staticClass:"z-shape is-extension",class:[t.componentType,t.activated],style:!0===t.responsive?t.styles.main:t.zpos.main},[n("div",{staticClass:"z-outer-point",style:!0===t.responsive?t.styles.plate:t.zpos.plate})])}),s=[],a={name:"z-pagination",props:{distance:{type:Number,default:100},angle:{type:Number,default:0},size:{type:String,default:"xs"},index:{type:Number,default:0},active:{type:Number,default:0}},inject:["view"],data:function(){return{componentType:this.$options.name,hidden:!1,zpos:{}}},computed:{responsive:function(){return this.view===this.$zircle.getCurrentViewName()&&(this.zpos=this.styles,!0)},position:function(){return this.$zircle.calcPosition(this)},activated:function(){return{active:this.active===this.index,deactive:this.active<this.index||this.active>this.index}},styles:function(){var t=this.$zircle.getComponentWidth(this.size)/2;return{main:{width:t+"px",height:t+"px",margin:-t/2+"px 0 0 "+-t/2+"px",transform:"translate3d("+this.position.X+"px, "+this.position.Y+"px, 0px)"},plate:{width:t+12+"px",height:t+12+"px",margin:-(t+12)/2+"px 0 0 "+-(t+12)/2+"px"}}}},mounted:function(){this.zpos=this.styles}},c=a,l=n("2877"),u=Object(l["a"])(c,o,s,!1,null,null,null);u.options.__file="z-pagination.vue";var p=u.exports;function h(t,e){var n=[];while(t.length)n.push(t.splice(0,e));return n}var d={name:"z-list",props:{size:{type:String,default:"xxl"},items:{type:Array,required:!0},perPage:{type:[Number],default:5}},inject:["view"],components:{ZPagination:p},data:function(){return{componentType:this.$options.name}},computed:{position:function(){return this.$zircle.calcViewPosition(this.$parent.fullView)},collectionCopy:function(){return this.items.slice(0)}},mounted:function(){this.$zircle.setPages(h(this.collectionCopy,this.perPage))},created:function(){this.$zircle.setCurrentPageIndex(0)}},f=d,v=Object(l["a"])(f,r,i,!1,null,null,null);v.options.__file="z-list.vue";e["a"]=v.exports},aa77:function(t,e,n){var r=n("5ca1"),i=n("be13"),o=n("79e5"),s=n("fdef"),a="["+s+"]",c="​…",l=RegExp("^"+a+a+"*"),u=RegExp(a+a+"*$"),p=function(t,e,n){var i={},a=o(function(){return!!s[t]()||c[t]()!=c}),l=i[t]=a?e(h):s[t];n&&(i[n]=l),r(r.P+r.F*a,"String",i)},h=p.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=p},aae3:function(t,e,n){var r=n("d3f4"),i=n("2d95"),o=n("2b4c")("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},ac6a:function(t,e,n){for(var r=n("cadf"),i=n("0d58"),o=n("2aba"),s=n("7726"),a=n("32e9"),c=n("84f2"),l=n("2b4c"),u=l("iterator"),p=l("toStringTag"),h=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},f=i(d),v=0;v<f.length;v++){var y,g=f[v],m=d[g],_=s[g],b=_&&_.prototype;if(b&&(b[u]||a(b,u,h),b[p]||a(b,p,g),c[g]=h,m))for(y in r)b[y]||o(b,y,r[y],!0)}},b346:function(t,e,n){},b635:function(t,e,n){"use strict";(function(t){var r=n("07a4"),i=n("03dd"),o=n("807d"),s=n("a517"),a=n("0dda"),c=n("e34c"),l={install:function(t,e){Object.defineProperty(t.prototype,"$zircle",{get:function(){return r["a"].actions}}),t.component("z-canvas",i["a"]),t.component("z-view",o["a"]),t.component("z-list",s["a"]),t.component("z-spot",a["a"]),t.component("z-dialog",c["a"])}};e["a"]=l;var u=null;"undefined"!==typeof window?u=window.Vue:"undefined"!==typeof t&&(u=t.Vue),u&&u.use(l)}).call(this,n("c8ba"))},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=r(e),l=i(c.length),u=o(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c5f6:function(t,e,n){"use strict";var r=n("7726"),i=n("69a8"),o=n("2d95"),s=n("5dbc"),a=n("6a99"),c=n("79e5"),l=n("9093").f,u=n("11e9").f,p=n("86cc").f,h=n("aa77").trim,d="Number",f=r[d],v=f,y=f.prototype,g=o(n("2aeb")(y))==d,m="trim"in String.prototype,_=function(t){var e=a(t,!1);if("string"==typeof e&&e.length>2){e=m?e.trim():h(e,3);var n,r,i,o=e.charCodeAt(0);if(43===o||45===o){if(n=e.charCodeAt(2),88===n||120===n)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var s,c=e.slice(2),l=0,u=c.length;l<u;l++)if(s=c.charCodeAt(l),s<48||s>i)return NaN;return parseInt(c,r)}}return+e};if(!f(" 0o1")||!f("0b1")||f("+0x1")){f=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof f&&(g?c(function(){y.valueOf.call(n)}):o(n)!=d)?s(new v(_(e)),n,f):_(e)};for(var b,w=n("9e1e")?l(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),T=0;w.length>T;T++)i(v,b=w[T])&&!i(f,b)&&p(f,b,u(v,b));f.prototype=y,y.constructor=f,n("2aba")(r,d,f)}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},cd1c:function(t,e,n){var r=n("e853");t.exports=function(t,e){return new(r(t))(e)}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(l,n)||l.push(n));return l}},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},e34c:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"z-dialog-transition"}},[n("div",{staticClass:"z-shape is-extension primary",class:[t.componentType],style:t.styles.main},[t.selfClose?n("z-slider",{attrs:{progress:t.progress}}):t._e(),n("div",{staticClass:"z-outer-circle",style:t.styles.plate}),n("div",{staticClass:"z-content"},[t._t("default")],2),t._t("extension")],2)])},i=[],o=(n("7f7f"),n("0e89")),s={name:"z-dialog",props:{selfClose:{type:Boolean,default:!1},size:{type:String,default:"xxl"}},components:{ZSlider:o["a"]},data:function(){return{componentType:this.$options.name,progress:0}},computed:{styles:function(){var t=this.$zircle.getComponentWidth(this.size);return{main:{width:t+50+"px",height:t+50+"px",margin:-(t+50)/2+"px 0 0 "+-(t+50)/2+"px"},plate:{width:t+180+"px",height:t+180+"px",margin:-(t+180)/2+"px 0 0 "+-(t+180)/2+"px"}}}},mounted:function(){if(this.selfClose){var t=this;this.progress=5;var e=setInterval(function(){t.progress>=100?(clearInterval(e),t.$emit("done")):t.progress++},100)}}},a=s,c=n("2877"),l=Object(c["a"])(a,r,i,!1,null,null,null);l.options.__file="z-dialog.vue";e["a"]=l.exports},e853:function(t,e,n){var r=n("d3f4"),i=n("1169"),o=n("2b4c")("species");t.exports=function(t){var e;return i(t)&&(e=t.constructor,"function"!=typeof e||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&(e=e[o],null===e&&(e=void 0))),void 0===e?Array:e}},f751:function(t,e,n){var r=n("5ca1");r(r.S+r.F,"Object",{assign:n("7333")})},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fb15:function(t,e,n){"use strict";n.r(e);n("1eb2");var r=n("b635");e["default"]=r["a"]},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}})})},"5ca1":function(t,e,n){var r=n("7726"),i=n("8378"),o=n("32e9"),s=n("2aba"),a=n("9b43"),c="prototype",l=function(t,e,n){var u,p,h,d,f=t&l.F,v=t&l.G,y=t&l.S,g=t&l.P,m=t&l.B,_=v?r:y?r[e]||(r[e]={}):(r[e]||{})[c],b=v?i:i[e]||(i[e]={}),w=b[c]||(b[c]={});for(u in v&&(n=e),n)p=!f&&_&&void 0!==_[u],h=(p?_:n)[u],d=m&&p?a(h,r):g&&"function"==typeof h?a(Function.call,h):h,_&&s(_,u,h,t&l.U),b[u]!=h&&o(b,u,d),g&&w[u]!=h&&(w[u]=h)};r.core=i,l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},"5cc5":function(t,e,n){var r=n("2b4c")("iterator"),i=!1;try{var o=[7][r]();o["return"]=function(){i=!0},Array.from(o,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o=[7],s=o[r]();s.next=function(){return{done:n=!0}},o[r]=function(){return s},t(o)}catch(t){}return n}},"613b":function(t,e,n){var r=n("5537")("keys"),i=n("ca5a");t.exports=function(t){return r[t]||(r[t]=i(t))}},"626a":function(t,e,n){var r=n("2d95");t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},6444:function(t,e,n){var r=n("46c1"),i=n("d024"),o=function(t){return"[object Array]"===Object.prototype.toString.call(t)};t.exports=function(t){if(!t)return{};var e={};return i(r(t).split("\n"),function(t){var n=t.indexOf(":"),i=r(t.slice(0,n)).toLowerCase(),s=r(t.slice(n+1));"undefined"===typeof e[i]?e[i]=s:o(e[i])?e[i].push(s):e[i]=[e[i],s]}),e}},6821:function(t,e,n){var r=n("626a"),i=n("be13");t.exports=function(t){return r(i(t))}},"69a8":function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},"6a99":function(t,e,n){var r=n("d3f4");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},7726:function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},"77f1":function(t,e,n){var r=n("4588"),i=Math.max,o=Math.min;t.exports=function(t,e){return t=r(t),t<0?i(t+e,0):o(t,e)}},"79e5":function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},"7a56":function(t,e,n){"use strict";var r=n("7726"),i=n("86cc"),o=n("9e1e"),s=n("2b4c")("species");t.exports=function(t){var e=r[t];o&&e&&!e[s]&&i.f(e,s,{configurable:!0,get:function(){return this}})}},"7f20":function(t,e,n){var r=n("86cc").f,i=n("69a8"),o=n("2b4c")("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},8079:function(t,e,n){var r=n("7726"),i=n("1991").set,o=r.MutationObserver||r.WebKitMutationObserver,s=r.process,a=r.Promise,c="process"==n("2d95")(s);t.exports=function(){var t,e,n,l=function(){var r,i;c&&(r=s.domain)&&r.exit();while(t){i=t.fn,t=t.next;try{i()}catch(r){throw t?n():e=void 0,r}}e=void 0,r&&r.enter()};if(c)n=function(){s.nextTick(l)};else if(!o||r.navigator&&r.navigator.standalone)if(a&&a.resolve){var u=a.resolve(void 0);n=function(){u.then(l)}}else n=function(){i.call(r,l)};else{var p=!0,h=document.createTextNode("");new o(l).observe(h,{characterData:!0}),n=function(){h.data=p=!p}}return function(r){var i={fn:r,next:void 0};e&&(e.next=i),t||(t=i,n()),e=i}}},8362:function(t,e){t.exports=r;var n=Object.prototype.toString;function r(t){var e=n.call(t);return"[object Function]"===e||"function"===typeof t&&"[object RegExp]"!==e||"undefined"!==typeof window&&(t===window.setTimeout||t===window.alert||t===window.confirm||t===window.prompt)}},8378:function(t,e){var n=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},"84f2":function(t,e){t.exports={}},"86cc":function(t,e,n){var r=n("cb7c"),i=n("c69a"),o=n("6a99"),s=Object.defineProperty;e.f=n("9e1e")?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},"8c10":function(t,e){function n(t,e){var n,r=null;try{n=JSON.parse(t,e)}catch(t){r=t}return[r,n]}t.exports=n},"9b43":function(t,e,n){var r=n("d8e8");t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},"9c6c":function(t,e,n){var r=n("2b4c")("unscopables"),i=Array.prototype;void 0==i[r]&&n("32e9")(i,r,{}),t.exports=function(t){i[r][t]=!0}},"9c80":function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},"9def":function(t,e,n){var r=n("4588"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},"9e1e":function(t,e,n){t.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},a25f:function(t,e,n){var r=n("7726"),i=r.navigator;t.exports=i&&i.userAgent||""},a5b8:function(t,e,n){"use strict";var r=n("d8e8");function i(t){var e,n;this.promise=new t(function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r}),this.resolve=r(e),this.reject=r(n)}t.exports.f=function(t){return new i(t)}},b03c:function(t,e){var n="auto",r={"":!0,lr:!0,rl:!0},i={start:!0,middle:!0,end:!0,left:!0,right:!0};function o(t){if("string"!==typeof t)return!1;var e=r[t.toLowerCase()];return!!e&&t.toLowerCase()}function s(t){if("string"!==typeof t)return!1;var e=i[t.toLowerCase()];return!!e&&t.toLowerCase()}function a(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function c(t,e,r){var i=this,c=/MSIE\s8\.0/.test(navigator.userAgent),l={};c?i=document.createElement("custom"):l.enumerable=!0,i.hasBeenReset=!1;var u="",p=!1,h=t,d=e,f=r,v=null,y="",g=!0,m="auto",_="start",b=50,w="middle",T=50,C="middle";if(Object.defineProperty(i,"id",a({},l,{get:function(){return u},set:function(t){u=""+t}})),Object.defineProperty(i,"pauseOnExit",a({},l,{get:function(){return p},set:function(t){p=!!t}})),Object.defineProperty(i,"startTime",a({},l,{get:function(){return h},set:function(t){if("number"!==typeof t)throw new TypeError("Start time must be set to a number.");h=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"endTime",a({},l,{get:function(){return d},set:function(t){if("number"!==typeof t)throw new TypeError("End time must be set to a number.");d=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"text",a({},l,{get:function(){return f},set:function(t){f=""+t,this.hasBeenReset=!0}})),Object.defineProperty(i,"region",a({},l,{get:function(){return v},set:function(t){v=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"vertical",a({},l,{get:function(){return y},set:function(t){var e=o(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(i,"snapToLines",a({},l,{get:function(){return g},set:function(t){g=!!t,this.hasBeenReset=!0}})),Object.defineProperty(i,"line",a({},l,{get:function(){return m},set:function(t){if("number"!==typeof t&&t!==n)throw new SyntaxError("An invalid number or illegal string was specified.");m=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"lineAlign",a({},l,{get:function(){return _},set:function(t){var e=s(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");_=e,this.hasBeenReset=!0}})),Object.defineProperty(i,"position",a({},l,{get:function(){return b},set:function(t){if(t<0||t>100)throw new Error("Position must be between 0 and 100.");b=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"positionAlign",a({},l,{get:function(){return w},set:function(t){var e=s(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");w=e,this.hasBeenReset=!0}})),Object.defineProperty(i,"size",a({},l,{get:function(){return T},set:function(t){if(t<0||t>100)throw new Error("Size must be between 0 and 100.");T=t,this.hasBeenReset=!0}})),Object.defineProperty(i,"align",a({},l,{get:function(){return C},set:function(t){var e=s(t);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");C=e,this.hasBeenReset=!0}})),i.displayState=void 0,c)return i}c.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},t.exports=c},bcaa:function(t,e,n){var r=n("cb7c"),i=n("d3f4"),o=n("a5b8");t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t),s=n.resolve;return s(e),n.promise}},be09:function(t,e,n){(function(e){var n;n="undefined"!==typeof window?window:"undefined"!==typeof e?e:"undefined"!==typeof self?self:{},t.exports=n}).call(this,n("c8ba"))},be13:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on  "+t);return t}},c366:function(t,e,n){var r=n("6821"),i=n("9def"),o=n("77f1");t.exports=function(t){return function(e,n,s){var a,c=r(e),l=i(c.length),u=o(s,l);if(t&&n!=n){while(l>u)if(a=c[u++],a!=a)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===n)return t||u||0;return!t&&-1}}},c69a:function(t,e,n){t.exports=!n("9e1e")&&!n("79e5")(function(){return 7!=Object.defineProperty(n("230e")("div"),"a",{get:function(){return 7}}).a})},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"===typeof window&&(n=window)}t.exports=n},ca5a:function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},cadf:function(t,e,n){"use strict";var r=n("9c6c"),i=n("d53b"),o=n("84f2"),s=n("6821");t.exports=n("01f9")(Array,"Array",function(t,e){this._t=s(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},cb7c:function(t,e,n){var r=n("d3f4");t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},ce10:function(t,e,n){var r=n("69a8"),i=n("6821"),o=n("c366")(!1),s=n("613b")("IE_PROTO");t.exports=function(t,e){var n,a=i(t),c=0,l=[];for(n in a)n!=s&&r(a,n)&&l.push(n);while(e.length>c)r(a,n=e[c++])&&(~o(l,n)||l.push(n));return l}},d024:function(t,e,n){"use strict";var r=n("21d0"),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty,s=function(t,e,n){for(var r=0,i=t.length;r<i;r++)o.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))},a=function(t,e,n){for(var r=0,i=t.length;r<i;r++)null==n?e(t.charAt(r),r,t):e.call(n,t.charAt(r),r,t)},c=function(t,e,n){for(var r in t)o.call(t,r)&&(null==n?e(t[r],r,t):e.call(n,t[r],r,t))},l=function(t,e,n){if(!r(e))throw new TypeError("iterator must be a function");var o;arguments.length>=3&&(o=n),"[object Array]"===i.call(t)?s(t,e,o):"string"===typeof t?a(t,e,o):c(t,e,o)};t.exports=l},d02c:function(t,e){var n=Object.create||function(){function t(){}return function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return t.prototype=e,new t}}();function r(t,e){this.name="ParsingError",this.code=t.code,this.message=e||t.message}function i(t){function e(t,e,n,r){return 3600*(0|t)+60*(0|e)+(0|n)+(0|r)/1e3}var n=t.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return n?n[3]?e(n[1],n[2],n[3].replace(":",""),n[4]):n[1]>59?e(n[1],n[2],0,n[4]):e(0,n[1],n[2],n[4]):null}function o(){this.values=n(null)}function s(t,e,n,r){var i=r?t.split(r):[t];for(var o in i)if("string"===typeof i[o]){var s=i[o].split(n);if(2===s.length){var a=s[0],c=s[1];e(a,c)}}}function a(t,e,n){var a=t;function c(){var e=i(t);if(null===e)throw new r(r.Errors.BadTimeStamp,"Malformed timestamp: "+a);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function l(t,e){var r=new o;s(t,function(t,e){switch(t){case"region":for(var i=n.length-1;i>=0;i--)if(n[i].id===e){r.set(t,n[i].region);break}break;case"vertical":r.alt(t,e,["rl","lr"]);break;case"line":var o=e.split(","),s=o[0];r.integer(t,s),r.percent(t,s)&&r.set("snapToLines",!1),r.alt(t,s,["auto"]),2===o.length&&r.alt("lineAlign",o[1],["start","middle","end"]);break;case"position":o=e.split(","),r.percent(t,o[0]),2===o.length&&r.alt("positionAlign",o[1],["start","middle","end"]);break;case"size":r.percent(t,e);break;case"align":r.alt(t,e,["start","middle","end","left","right"]);break}},/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical",""),e.line=r.get("line","auto"),e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100),e.align=r.get("align","middle"),e.position=r.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)}function u(){t=t.replace(/^\s+/,"")}if(u(),e.startTime=c(),u(),"--\x3e"!==t.substr(0,3))throw new r(r.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+a);t=t.substr(3),u(),e.endTime=c(),u(),l(t,e)}r.prototype=n(Error.prototype),r.prototype.constructor=r,r.Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},o.prototype={set:function(t,e){this.get(t)||""===e||(this.values[t]=e)},get:function(t,e,n){return n?this.has(t)?this.values[t]:e[n]:this.has(t)?this.values[t]:e},has:function(t){return t in this.values},alt:function(t,e,n){for(var r=0;r<n.length;++r)if(e===n[r]){this.set(t,e);break}},integer:function(t,e){/^-?\d+$/.test(e)&&this.set(t,parseInt(e,10))},percent:function(t,e){return!!(e.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&(e=parseFloat(e),e>=0&&e<=100))&&(this.set(t,e),!0)}};var c={"&amp;":"&","&lt;":"<","&gt;":">","&lrm;":"‎","&rlm;":"‏","&nbsp;":" "},l={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},u={v:"title",lang:"lang"},p={rt:"ruby"};function h(t,e){function n(){if(!e)return null;function t(t){return e=e.substr(t.length),t}var n=e.match(/^([^<]*)(<[^>]*>?)?/);return t(n[1]?n[1]:n[2])}function r(t){return c[t]}function o(t){while(m=t.match(/&(amp|lt|gt|lrm|rlm|nbsp);/))t=t.replace(m[0],r);return t}function s(t,e){return!p[e.localName]||p[e.localName]===t.localName}function a(e,n){var r=l[e];if(!r)return null;var i=t.document.createElement(r);i.localName=r;var o=u[e];return o&&n&&(i[o]=n.trim()),i}var h,d=t.document.createElement("div"),f=d,v=[];while(null!==(h=n()))if("<"!==h[0])f.appendChild(t.document.createTextNode(o(h)));else{if("/"===h[1]){v.length&&v[v.length-1]===h.substr(2).replace(">","")&&(v.pop(),f=f.parentNode);continue}var y,g=i(h.substr(1,h.length-2));if(g){y=t.document.createProcessingInstruction("timestamp",g),f.appendChild(y);continue}var m=h.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/);if(!m)continue;if(y=a(m[1],m[3]),!y)continue;if(!s(f,y))continue;m[2]&&(y.className=m[2].substr(1).replace("."," ")),v.push(m[1]),f.appendChild(y),f=y}return d}var d=[[1470,1470],[1472,1472],[1475,1475],[1478,1478],[1488,1514],[1520,1524],[1544,1544],[1547,1547],[1549,1549],[1563,1563],[1566,1610],[1645,1647],[1649,1749],[1765,1766],[1774,1775],[1786,1805],[1807,1808],[1810,1839],[1869,1957],[1969,1969],[1984,2026],[2036,2037],[2042,2042],[2048,2069],[2074,2074],[2084,2084],[2088,2088],[2096,2110],[2112,2136],[2142,2142],[2208,2208],[2210,2220],[8207,8207],[64285,64285],[64287,64296],[64298,64310],[64312,64316],[64318,64318],[64320,64321],[64323,64324],[64326,64449],[64467,64829],[64848,64911],[64914,64967],[65008,65020],[65136,65140],[65142,65276],[67584,67589],[67592,67592],[67594,67637],[67639,67640],[67644,67644],[67647,67669],[67671,67679],[67840,67867],[67872,67897],[67903,67903],[67968,68023],[68030,68031],[68096,68096],[68112,68115],[68117,68119],[68121,68147],[68160,68167],[68176,68184],[68192,68223],[68352,68405],[68416,68437],[68440,68466],[68472,68479],[68608,68680],[126464,126467],[126469,126495],[126497,126498],[126500,126500],[126503,126503],[126505,126514],[126516,126519],[126521,126521],[126523,126523],[126530,126530],[126535,126535],[126537,126537],[126539,126539],[126541,126543],[126545,126546],[126548,126548],[126551,126551],[126553,126553],[126555,126555],[126557,126557],[126559,126559],[126561,126562],[126564,126564],[126567,126570],[126572,126578],[126580,126583],[126585,126588],[126590,126590],[126592,126601],[126603,126619],[126625,126627],[126629,126633],[126635,126651],[1114109,1114109]];function f(t){for(var e=0;e<d.length;e++){var n=d[e];if(t>=n[0]&&t<=n[1])return!0}return!1}function v(t){var e,n=[],r="";if(!t||!t.childNodes)return"ltr";function i(t,e){for(var n=e.childNodes.length-1;n>=0;n--)t.push(e.childNodes[n])}function o(t){if(!t||!t.length)return null;var e=t.pop(),n=e.textContent||e.innerText;if(n){var r=n.match(/^.*(\n|\r)/);return r?(t.length=0,r[0]):n}return"ruby"===e.tagName?o(t):e.childNodes?(i(t,e),o(t)):void 0}i(n,t);while(r=o(n))for(var s=0;s<r.length;s++)if(e=r.charCodeAt(s),f(e))return"rtl";return"ltr"}function y(t){if("number"===typeof t.line&&(t.snapToLines||t.line>=0&&t.line<=100))return t.line;if(!t.track||!t.track.textTrackList||!t.track.textTrackList.mediaElement)return-1;for(var e=t.track,n=e.textTrackList,r=0,i=0;i<n.length&&n[i]!==e;i++)"showing"===n[i].mode&&r++;return-1*++r}function g(){}function m(t,e,n){var r=/MSIE\s8\.0/.test(navigator.userAgent),i="rgba(255, 255, 255, 1)",o="rgba(0, 0, 0, 0.8)";r&&(i="rgb(255, 255, 255)",o="rgb(0, 0, 0)"),g.call(this),this.cue=e,this.cueDiv=h(t,e.text);var s={color:i,backgroundColor:o,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"};r||(s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl",s.unicodeBidi="plaintext"),this.applyStyles(s,this.cueDiv),this.div=t.document.createElement("div"),s={textAlign:"middle"===e.align?"center":e.align,font:n.font,whiteSpace:"pre-line",position:"absolute"},r||(s.direction=v(this.cueDiv),s.writingMode=""===e.vertical?"horizontal-tb":"lr"===e.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(s),this.div.appendChild(this.cueDiv);var a=0;switch(e.positionAlign){case"start":a=e.position;break;case"middle":a=e.position-e.size/2;break;case"end":a=e.position-e.size;break}""===e.vertical?this.applyStyles({left:this.formatStyle(a,"%"),width:this.formatStyle(e.size,"%")}):this.applyStyles({top:this.formatStyle(a,"%"),height:this.formatStyle(e.size,"%")}),this.move=function(t){this.applyStyles({top:this.formatStyle(t.top,"px"),bottom:this.formatStyle(t.bottom,"px"),left:this.formatStyle(t.left,"px"),right:this.formatStyle(t.right,"px"),height:this.formatStyle(t.height,"px"),width:this.formatStyle(t.width,"px")})}}function _(t){var e,n,r,i,o=/MSIE\s8\.0/.test(navigator.userAgent);if(t.div){n=t.div.offsetHeight,r=t.div.offsetWidth,i=t.div.offsetTop;var s=(s=t.div.childNodes)&&(s=s[0])&&s.getClientRects&&s.getClientRects();t=t.div.getBoundingClientRect(),e=s?Math.max(s[0]&&s[0].height||0,t.height/s.length):0}this.left=t.left,this.right=t.right,this.top=t.top||i,this.height=t.height||n,this.bottom=t.bottom||i+(t.height||n),this.width=t.width||r,this.lineHeight=void 0!==e?e:t.lineHeight,o&&!this.lineHeight&&(this.lineHeight=13)}function b(t,e,n,r){function i(t,e){for(var i,o=new _(t),s=1,a=0;a<e.length;a++){while(t.overlapsOppositeAxis(n,e[a])||t.within(n)&&t.overlapsAny(r))t.move(e[a]);if(t.within(n))return t;var c=t.intersectPercentage(n);s>c&&(i=new _(t),s=c),t=new _(o)}return i||o}var o=new _(e),s=e.cue,a=y(s),c=[];if(s.snapToLines){var l;switch(s.vertical){case"":c=["+y","-y"],l="height";break;case"rl":c=["+x","-x"],l="width";break;case"lr":c=["-x","+x"],l="width";break}var u=o.lineHeight,p=u*Math.round(a),h=n[l]+u,d=c[0];Math.abs(p)>h&&(p=p<0?-1:1,p*=Math.ceil(h/u)*u),a<0&&(p+=""===s.vertical?n.height:n.width,c=c.reverse()),o.move(d,p)}else{var f=o.lineHeight/n.height*100;switch(s.lineAlign){case"middle":a-=f/2;break;case"end":a-=f;break}switch(s.vertical){case"":e.applyStyles({top:e.formatStyle(a,"%")});break;case"rl":e.applyStyles({left:e.formatStyle(a,"%")});break;case"lr":e.applyStyles({right:e.formatStyle(a,"%")});break}c=["+y","-x","+x","-y"],o=new _(e)}var v=i(o,c);e.move(v.toCSSCompatValues(n))}function w(){}g.prototype.applyStyles=function(t,e){for(var n in e=e||this.div,t)t.hasOwnProperty(n)&&(e.style[n]=t[n])},g.prototype.formatStyle=function(t,e){return 0===t?0:t+e},m.prototype=n(g.prototype),m.prototype.constructor=m,_.prototype.move=function(t,e){switch(e=void 0!==e?e:this.lineHeight,t){case"+x":this.left+=e,this.right+=e;break;case"-x":this.left-=e,this.right-=e;break;case"+y":this.top+=e,this.bottom+=e;break;case"-y":this.top-=e,this.bottom-=e;break}},_.prototype.overlaps=function(t){return this.left<t.right&&this.right>t.left&&this.top<t.bottom&&this.bottom>t.top},_.prototype.overlapsAny=function(t){for(var e=0;e<t.length;e++)if(this.overlaps(t[e]))return!0;return!1},_.prototype.within=function(t){return this.top>=t.top&&this.bottom<=t.bottom&&this.left>=t.left&&this.right<=t.right},_.prototype.overlapsOppositeAxis=function(t,e){switch(e){case"+x":return this.left<t.left;case"-x":return this.right>t.right;case"+y":return this.top<t.top;case"-y":return this.bottom>t.bottom}},_.prototype.intersectPercentage=function(t){var e=Math.max(0,Math.min(this.right,t.right)-Math.max(this.left,t.left)),n=Math.max(0,Math.min(this.bottom,t.bottom)-Math.max(this.top,t.top)),r=e*n;return r/(this.height*this.width)},_.prototype.toCSSCompatValues=function(t){return{top:this.top-t.top,bottom:t.bottom-this.bottom,left:this.left-t.left,right:t.right-this.right,height:this.height,width:this.width}},_.getSimpleBoxPosition=function(t){var e=t.div?t.div.offsetHeight:t.tagName?t.offsetHeight:0,n=t.div?t.div.offsetWidth:t.tagName?t.offsetWidth:0,r=t.div?t.div.offsetTop:t.tagName?t.offsetTop:0;t=t.div?t.div.getBoundingClientRect():t.tagName?t.getBoundingClientRect():t;var i={left:t.left,right:t.right,top:t.top||r,height:t.height||e,bottom:t.bottom||r+(t.height||e),width:t.width||n};return i},w.StringDecoder=function(){return{decode:function(t){if(!t)return"";if("string"!==typeof t)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(t))}}},w.convertCueToDOMTree=function(t,e){return t&&e?h(t,e):null};var T=.05,C="sans-serif",k="1.5%";w.processCues=function(t,e,n){if(!t||!e||!n)return null;while(n.firstChild)n.removeChild(n.firstChild);var r=t.document.createElement("div");function i(t){for(var e=0;e<t.length;e++)if(t[e].hasBeenReset||!t[e].displayState)return!0;return!1}if(r.style.position="absolute",r.style.left="0",r.style.right="0",r.style.top="0",r.style.bottom="0",r.style.margin=k,n.appendChild(r),i(e)){var o=[],s=_.getSimpleBoxPosition(r),a=Math.round(s.height*T*100)/100,c={font:a+"px "+C};(function(){for(var n,i,a=0;a<e.length;a++)i=e[a],n=new m(t,i,c),r.appendChild(n.div),b(t,n,s,o),i.displayState=n.div,o.push(_.getSimpleBoxPosition(n))})()}else for(var l=0;l<e.length;l++)r.appendChild(e[l].displayState)},w.Parser=function(t,e,n){n||(n=e,e={}),e||(e={}),this.window=t,this.vttjs=e,this.state="INITIAL",this.buffer="",this.decoder=n||new TextDecoder("utf8"),this.regionList=[]},w.Parser.prototype={reportOrThrowError:function(t){if(!(t instanceof r))throw t;this.onparsingerror&&this.onparsingerror(t)},parse:function(t){var e=this;function n(){var t=e.buffer,n=0;while(n<t.length&&"\r"!==t[n]&&"\n"!==t[n])++n;var r=t.substr(0,n);return"\r"===t[n]&&++n,"\n"===t[n]&&++n,e.buffer=t.substr(n),r}function c(t){var n=new o;if(s(t,function(t,e){switch(t){case"id":n.set(t,e);break;case"width":n.percent(t,e);break;case"lines":n.integer(t,e);break;case"regionanchor":case"viewportanchor":var r=e.split(",");if(2!==r.length)break;var i=new o;if(i.percent("x",r[0]),i.percent("y",r[1]),!i.has("x")||!i.has("y"))break;n.set(t+"X",i.get("x")),n.set(t+"Y",i.get("y"));break;case"scroll":n.alt(t,e,["up"]);break}},/=/,/\s/),n.has("id")){var r=new(e.vttjs.VTTRegion||e.window.VTTRegion);r.width=n.get("width",100),r.lines=n.get("lines",3),r.regionAnchorX=n.get("regionanchorX",0),r.regionAnchorY=n.get("regionanchorY",100),r.viewportAnchorX=n.get("viewportanchorX",0),r.viewportAnchorY=n.get("viewportanchorY",100),r.scroll=n.get("scroll",""),e.onregion&&e.onregion(r),e.regionList.push({id:n.get("id"),region:r})}}function l(t){var n=new o;s(t,function(t,e){switch(t){case"MPEGT":n.integer(t+"S",e);break;case"LOCA":n.set(t+"L",i(e));break}},/[^\d]:/,/,/),e.ontimestampmap&&e.ontimestampmap({MPEGTS:n.get("MPEGTS"),LOCAL:n.get("LOCAL")})}function u(t){t.match(/X-TIMESTAMP-MAP/)?s(t,function(t,e){switch(t){case"X-TIMESTAMP-MAP":l(e);break}},/=/):s(t,function(t,e){switch(t){case"Region":c(e);break}},/:/)}t&&(e.buffer+=e.decoder.decode(t,{stream:!0}));try{var p;if("INITIAL"===e.state){if(!/\r\n|\n/.test(e.buffer))return this;p=n();var h=p.match(/^WEBVTT([ \t].*)?$/);if(!h||!h[0])throw new r(r.Errors.BadSignature);e.state="HEADER"}var d=!1;while(e.buffer){if(!/\r\n|\n/.test(e.buffer))return this;switch(d?d=!1:p=n(),e.state){case"HEADER":/:/.test(p)?u(p):p||(e.state="ID");continue;case"NOTE":p||(e.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(p)){e.state="NOTE";break}if(!p)continue;if(e.cue=new(e.vttjs.VTTCue||e.window.VTTCue)(0,0,""),e.state="CUE",-1===p.indexOf("--\x3e")){e.cue.id=p;continue}case"CUE":try{a(p,e.cue,e.regionList)}catch(t){e.reportOrThrowError(t),e.cue=null,e.state="BADCUE";continue}e.state="CUETEXT";continue;case"CUETEXT":var f=-1!==p.indexOf("--\x3e");if(!p||f&&(d=!0)){e.oncue&&e.oncue(e.cue),e.cue=null,e.state="ID";continue}e.cue.text&&(e.cue.text+="\n"),e.cue.text+=p;continue;case"BADCUE":p||(e.state="ID");continue}}}catch(t){e.reportOrThrowError(t),"CUETEXT"===e.state&&e.cue&&e.oncue&&e.oncue(e.cue),e.cue=null,e.state="INITIAL"===e.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),(t.cue||"HEADER"===t.state)&&(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new r(r.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},t.exports=w},d3f4:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},d53b:function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},d6d3:function(t,e,n){!function(e,r){t.exports=r(n("3d33"))}(0,function(t){return function(t){function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e(e.s=3)}([function(e,n){e.exports=t},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Object.defineProperty(e,"__esModule",{value:!0});var i=n(0),o=function(t){return t&&t.__esModule?t:{default:t}}(i),s=window.videojs||o.default;"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i)for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(n[o]=i[o])}return n},writable:!0,configurable:!0});var a=["loadeddata","canplay","canplaythrough","play","pause","waiting","playing","ended","error"];e.default={name:"video-player",props:{start:{type:Number,default:0},crossOrigin:{type:String,default:""},playsinline:{type:Boolean,default:!1},customEventName:{type:String,default:"statechanged"},options:{type:Object,required:!0},events:{type:Array,default:function(){return[]}},globalOptions:{type:Object,default:function(){return{controls:!0,controlBar:{remainingTimeDisplay:!1,playToggle:{},progressControl:{},fullscreenToggle:{},volumeMenuButton:{inline:!1,vertical:!0}},techOrder:["html5"],plugins:{}}}},globalEvents:{type:Array,default:function(){return[]}}},data:function(){return{player:null,reseted:!0}},mounted:function(){this.player||this.initialize()},beforeDestroy:function(){this.player&&this.dispose()},methods:{initialize:function(){var t=this,e=Object.assign({},this.globalOptions,this.options);this.playsinline&&(this.$refs.video.setAttribute("playsinline",this.playsinline),this.$refs.video.setAttribute("webkit-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-playsinline",this.playsinline),this.$refs.video.setAttribute("x5-video-player-type","h5"),this.$refs.video.setAttribute("x5-video-player-fullscreen",!1)),""!==this.crossOrigin&&(this.$refs.video.crossOrigin=this.crossOrigin,this.$refs.video.setAttribute("crossOrigin",this.crossOrigin));var n=function(e,n){e&&t.$emit(e,t.player),n&&t.$emit(t.customEventName,r({},e,n))};e.plugins&&delete e.plugins.__ob__;var i=this;this.player=s(this.$refs.video,e,function(){for(var t=this,e=a.concat(i.events).concat(i.globalEvents),r={},o=0;o<e.length;o++)"string"==typeof e[o]&&void 0===r[e[o]]&&function(e){r[e]=null,t.on(e,function(){n(e,!0)})}(e[o]);this.on("timeupdate",function(){n("timeupdate",this.currentTime())}),i.$emit("ready",this)})},dispose:function(t){var e=this;this.player&&this.player.dispose&&("Flash"!==this.player.techName_&&this.player.pause&&this.player.pause(),this.player.dispose(),this.player=null,this.$nextTick(function(){e.reseted=!1,e.$nextTick(function(){e.reseted=!0,e.$nextTick(function(){t&&t()})})}))}},watch:{options:{deep:!0,handler:function(t,e){var n=this;this.dispose(function(){t&&t.sources&&t.sources.length&&n.initialize()})}}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),i=n.n(r);for(var o in r)["default","default"].indexOf(o)<0&&function(t){n.d(e,t,function(){return r[t]})}(o);var s=n(5),a=n(4),c=a(i.a,s.a,!1,null,null,null);e.default=c.exports},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.install=e.videoPlayer=e.videojs=void 0;var i=n(0),o=r(i),s=n(2),a=r(s),c=window.videojs||o.default,l=function(t,e){e&&(e.options&&(a.default.props.globalOptions.default=function(){return e.options}),e.events&&(a.default.props.globalEvents.default=function(){return e.events})),t.component(a.default.name,a.default)},u={videojs:c,videoPlayer:a.default,install:l};e.default=u,e.videojs=c,e.videoPlayer=a.default,e.install=l},function(t,e){t.exports=function(t,e,n,r,i,o){var s,a=t=t||{},c=typeof t.default;"object"!==c&&"function"!==c||(s=t,a=t.default);var l,u="function"==typeof a?a.options:a;if(e&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0),n&&(u.functional=!0),i&&(u._scopeId=i),o?(l=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):r&&(l=r),l){var p=u.functional,h=p?u.render:u.beforeCreate;p?(u._injectStyles=l,u.render=function(t,e){return l.call(e),h(t,e)}):u.beforeCreate=h?[].concat(h,l):[l]}return{esModule:s,exports:a,options:u}}},function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.reseted?n("div",{staticClass:"video-player"},[n("video",{ref:"video",staticClass:"video-js"})]):t._e()},i=[],o={render:r,staticRenderFns:i};e.a=o}])})},d8e8:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},dcbc:function(t,e,n){var r=n("2aba");t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},e11e:function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},ebd6:function(t,e,n){var r=n("cb7c"),i=n("d8e8"),o=n("2b4c")("species");t.exports=function(t,e){var n,s=r(t).constructor;return void 0===s||void 0==(n=r(s)[o])?e:i(n)}},eec7:function(t,e,n){"use strict";var r=n("be09"),i=n("8362"),o=n("6444"),s=n("53a8");function a(t,e){for(var n=0;n<t.length;n++)e(t[n])}function c(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}function l(t,e,n){var r=t;return i(e)?(n=e,"string"===typeof t&&(r={uri:t})):r=s(e,{uri:t}),r.callback=n,r}function u(t,e,n){return e=l(t,e,n),p(e)}function p(t){if("undefined"===typeof t.callback)throw new Error("callback argument missing");var e=!1,n=function(n,r,i){e||(e=!0,t.callback(n,r,i))};function r(){4===d.readyState&&setTimeout(a,0)}function i(){var t=void 0;if(t=d.response?d.response:d.responseText||h(d),b)try{t=JSON.parse(t)}catch(t){}return t}function s(t){return clearTimeout(f),t instanceof Error||(t=new Error(""+(t||"Unknown XMLHttpRequest Error"))),t.statusCode=0,n(t,w)}function a(){if(!p){var e;clearTimeout(f),e=t.useXDR&&void 0===d.status?200:1223===d.status?204:d.status;var r=w,s=null;return 0!==e?(r={body:i(),statusCode:e,method:y,headers:{},url:v,rawRequest:d},d.getAllResponseHeaders&&(r.headers=o(d.getAllResponseHeaders()))):s=new Error("Internal XMLHttpRequest Error"),n(s,r,r.body)}}var l,p,d=t.xhr||null;d||(d=t.cors||t.useXDR?new u.XDomainRequest:new u.XMLHttpRequest);var f,v=d.url=t.uri||t.url,y=d.method=t.method||"GET",g=t.body||t.data,m=d.headers=t.headers||{},_=!!t.sync,b=!1,w={body:void 0,headers:{},statusCode:0,method:y,url:v,rawRequest:d};if("json"in t&&!1!==t.json&&(b=!0,m["accept"]||m["Accept"]||(m["Accept"]="application/json"),"GET"!==y&&"HEAD"!==y&&(m["content-type"]||m["Content-Type"]||(m["Content-Type"]="application/json"),g=JSON.stringify(!0===t.json?g:t.json))),d.onreadystatechange=r,d.onload=a,d.onerror=s,d.onprogress=function(){},d.onabort=function(){p=!0},d.ontimeout=s,d.open(y,v,!_,t.username,t.password),_||(d.withCredentials=!!t.withCredentials),!_&&t.timeout>0&&(f=setTimeout(function(){if(!p){p=!0,d.abort("timeout");var t=new Error("XMLHttpRequest timeout");t.code="ETIMEDOUT",s(t)}},t.timeout)),d.setRequestHeader)for(l in m)m.hasOwnProperty(l)&&d.setRequestHeader(l,m[l]);else if(t.headers&&!c(t.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in t&&(d.responseType=t.responseType),"beforeSend"in t&&"function"===typeof t.beforeSend&&t.beforeSend(d),d.send(g||null),d}function h(t){if("document"===t.responseType)return t.responseXML;var e=t.responseXML&&"parsererror"===t.responseXML.documentElement.nodeName;return""!==t.responseType||e?null:t.responseXML}function d(){}t.exports=u,u.XMLHttpRequest=r.XMLHttpRequest||d,u.XDomainRequest="withCredentials"in new u.XMLHttpRequest?u.XMLHttpRequest:r.XDomainRequest,a(["get","put","post","patch","head","delete"],function(t){u["delete"===t?"del":t]=function(e,n,r){return n=l(e,n,r),n.method=t.toUpperCase(),p(n)}})},ef34:function(t,e,n){(function(e){var r,i="undefined"!==typeof e?e:"undefined"!==typeof window?window:{},o=n(7);"undefined"!==typeof document?r=document:(r=i["__GLOBAL_DOCUMENT_CACHE@4"],r||(r=i["__GLOBAL_DOCUMENT_CACHE@4"]=o)),t.exports=r}).call(this,n("c8ba"))},f605:function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},f97d:function(t,e){var n={"":!0,up:!0};function r(t){if("string"!==typeof t)return!1;var e=n[t.toLowerCase()];return!!e&&t.toLowerCase()}function i(t){return"number"===typeof t&&t>=0&&t<=100}function o(){var t=100,e=3,n=0,o=100,s=0,a=100,c="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!i(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return e},set:function(t){if("number"!==typeof t)throw new TypeError("Lines must be set to a number.");e=t}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(t){if(!i(t))throw new Error("RegionAnchorX must be between 0 and 100.");o=t}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(t){if(!i(t))throw new Error("RegionAnchorY must be between 0 and 100.");n=t}},viewportAnchorY:{enumerable:!0,get:function(){return a},set:function(t){if(!i(t))throw new Error("ViewportAnchorY must be between 0 and 100.");a=t}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(t){if(!i(t))throw new Error("ViewportAnchorX must be between 0 and 100.");s=t}},scroll:{enumerable:!0,get:function(){return c},set:function(t){var e=r(t);if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");c=e}}})}t.exports=o},fab2:function(t,e,n){var r=n("7726").document;t.exports=r&&r.documentElement},fda2:function(t,e,n){}}]);
//# sourceMappingURL=chunk-vendors.54c53bc1.js.map

Zerion Mini Shell 1.0