(window["webpackJsonp_canoe-account"]=window["webpackJsonp_canoe-account"]||[]).push([["chunk-libs"],{"00ee":function(t,e,r){var n=r("b622"),i=n("toStringTag"),o={};o[i]="z",t.exports="[object z]"===String(o)},"0273":function(t,e,r){var n=r("c1b2"),i=r("4180"),o=r("2c6c");t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},"0363":function(t,e,r){var n=r("3ac6"),i=r("d659"),o=r("78e7"),a=r("3e80"),s=r("1e63"),c=r("62d0"),u=i("wks"),f=n.Symbol,l=c?f:f&&f.withoutSetter||a;t.exports=function(t){return o(u,t)||(s&&o(f,t)?u[t]=f[t]:u[t]=l("Symbol."+t)),u[t]}},"0366":function(t,e,r){var n=r("1c0b");t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 0:return function(){return t.call(e)};case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,i){return t.call(e,r,n,i)}}return function(){return t.apply(e,arguments)}}},"038a":function(t,e){t.exports=function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s="fb15")}({"1eb2":function(t,e,r){var n;"undefined"!==typeof window&&((n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js$/))&&(r.p=n[1]))},fb15:function(t,e,r){"use strict";r.r(e);r("1eb2");var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("svg",{class:t.clazz,style:t.style,attrs:{version:"1.1",viewBox:t.box},domProps:{innerHTML:t._s(t.path)},on:{click:t.onClick}})},i=[],o={},a=[],s="",c="svg",u=!1,f=!1,l={data:function(){return{loaded:!1}},props:{icon:String,name:String,width:{type:String,default:""},height:{type:String,default:""},scale:String,dir:String,fill:{type:Boolean,default:function(){return!u}},color:String,original:{type:Boolean,default:function(){return f}},title:String},computed:{clazz:function(){var t="".concat(c,"-icon");return this.fill&&(t+=" ".concat(c,"-fill")),this.dir&&(t+=" ".concat(c,"-").concat(this.dir)),t},iconName:function(){return this.name||this.icon},iconData:function(){var t=o[this.iconName];return t||this.loaded?t:null},colors:function(){return this.color?this.color.split(" "):[]},path:function(){var t="";return this.iconData?(t=this.iconData.data,t=this.setTitle(t),this.original&&(t=this.addOriginalColor(t)),this.colors.length>0&&(t=this.addColor(t))):a.push({name:this.iconName,component:this}),this.getValidPathData(t)},box:function(){var t=this.width||16,e=this.width||16;return this.iconData?this.iconData.viewBox?this.iconData.viewBox:"0 0 ".concat(this.iconData.width," ").concat(this.iconData.height):"0 0 ".concat(parseFloat(t)," ").concat(parseFloat(e))},style:function(){var t,e,r=/^\d+$/,n=Number(this.scale);!isNaN(n)&&this.iconData?(t=Number(this.iconData.width)*n+"px",e=Number(this.iconData.height)*n+"px"):(t=r.test(this.width)?this.width+"px":this.width||s,e=r.test(this.height)?this.height+"px":this.height||s);var i={};return t&&(i.width=t),e&&(i.height=e),i}},created:function(){o[this.iconName]&&(this.loaded=!0)},methods:{addColor:function(t){var e=this,r=/<(path|rect|circle|polygon|line|polyline|ellipse)\s/gi,n=0;return t.replace(r,(function(t){var r=e.colors[n++]||e.colors[e.colors.length-1],i=e.fill;if(r&&"_"===r)return t;r&&0===r.indexOf("r-")&&(i=!i,r=r.split("r-")[1]);var o=i?"fill":"stroke",a=i?"stroke":"fill";return t+"".concat(o,'="').concat(r,'" ').concat(a,'="none" ')}))},addOriginalColor:function(t){var e=/_fill="|_stroke="/gi;return t.replace(e,(function(t){return t&&t.slice(1)}))},getValidPathData:function(t){if(this.original&&this.colors.length>0){var e=/<(path|rect|circle|polygon|line|polyline|ellipse)(\sfill|\sstroke)([="\w\s\.\-\+#\$\&>]+)(fill|stroke)/gi;t=t.replace(e,(function(t,e,r,n,i){return"<".concat(e).concat(r).concat(n,"_").concat(i)}))}return t},setTitle:function(t){if(this.title){var e=this.title.replace(/\/gi,">").replace(/&/g,"&");return"".concat(e,"")+t}return t},onClick:function(t){this.$emit("click",t)}},install:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.tagName||"svgicon";e.classPrefix&&(c=e.classPrefix),u=!!e.isStroke,f=!!e.isOriginalDefault,e.defaultWidth&&(s=e.defaultWidth),e.defaultHeight&&e.defaultHeight,t.component(r,this)},register:function(t){var e=function(e){o[e]||(o[e]=t[e]),a=a.filter((function(t,r){return t.name===e&&t.component.$set(t.component,"loaded",!0),t.name!==e}))};for(var r in t)e(r)},icons:o},h=l;function d(t,e,r,n,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(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(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}var p=d(h,n,i,!1,null,null,null);p.options.__file="SvgIcon.vue";var v=p.exports;e["default"]=v}})["default"]},"03d6":function(t,e,r){var n=r("9c0e"),i=r("6ca1"),o=r("39ad")(!1),a=r("5a94")("IE_PROTO");t.exports=function(t,e){var r,s=i(t),c=0,u=[];for(r in s)r!=a&&n(s,r)&&u.push(r);while(e.length>c)n(s,r=e[c++])&&(~o(u,r)||u.push(r));return u}},"045d":function(t,e,r){t.exports=r("049e")},"049e":function(t,e,r){var n=r("2419");t.exports=n},"051b":function(t,e,r){var n=r("1a14"),i=r("10db");t.exports=r("0bad")?function(t,e,r){return n.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},"057f":function(t,e,r){var n=r("fc6a"),i=r("241c").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(n(t))}},"05f5":function(t,e,r){var n=r("7a41"),i=r("ef08").document,o=n(i)&&n(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},"06cf":function(t,e,r){var n=r("83ab"),i=r("d1e7"),o=r("5c6c"),a=r("fc6a"),s=r("c04e"),c=r("5135"),u=r("0cfb"),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=a(t),e=s(e,!0),u)try{return f(t,e)}catch(r){}if(c(t,e))return o(!i.f.call(t,e),t[e])}},"06fa":function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},"072d":function(t,e,r){"use strict";var n=r("0bad"),i=r("9876"),o=r("fed5"),a=r("1917"),s=r("0983"),c=r("9fbb"),u=Object.assign;t.exports=!u||r("4b8b")((function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=u({},t)[r]||Object.keys(u({},e)).join("")!=n}))?function(t,e){var r=s(t),u=arguments.length,f=1,l=o.f,h=a.f;while(u>f){var d,p=c(arguments[f++]),v=l?i(p).concat(l(p)):i(p),y=v.length,b=0;while(y>b)d=v[b++],n&&!h.call(p,d)||(r[d]=p[d])}return r}:u},"0983":function(t,e,r){var n=r("c901");t.exports=function(t){return Object(n(t))}},"0a06":function(t,e,r){"use strict";var n=r("c532"),i=r("30b5"),o=r("f6b4"),a=r("5270"),s=r("4a7b");function c(t){this.defaults=t,this.interceptors={request:new o,response:new o}}c.prototype.request=function(t){"string"===typeof t?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=s(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[a,void 0],r=Promise.resolve(t);this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));while(e.length)r=r.then(e.shift(),e.shift());return r},c.prototype.getUri=function(t){return t=s(this.defaults,t),i(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(t){c.prototype[t]=function(e,r){return this.request(n.merge(r||{},{method:t,url:e}))}})),n.forEach(["post","put","patch"],(function(t){c.prototype[t]=function(e,r,i){return this.request(n.merge(i||{},{method:t,url:e,data:r}))}})),t.exports=c},"0aa1":function(t,e,r){var n=r("a5eb"),i=r("4fff"),o=r("a016"),a=r("06fa"),s=a((function(){o(1)}));n({target:"Object",stat:!0,forced:s},{keys:function(t){return o(i(t))}})},"0ae2":function(t,e,r){var n=r("9876"),i=r("fed5"),o=r("1917");t.exports=function(t){var e=n(t),r=i.f;if(r){var a,s=r(t),c=o.f,u=0;while(s.length>u)c.call(t,a=s[u++])&&e.push(a)}return e}},"0aea":function(t,e,r){var n=r("d666");t.exports=function(t,e,r){for(var i in e)r&&r.unsafe&&t[i]?t[i]=e[i]:n(t,i,e[i],r);return t}},"0b7b":function(t,e,r){var n=r("8f95"),i=r("7463"),o=r("0363"),a=o("iterator");t.exports=function(t){if(void 0!=t)return t[a]||t["@@iterator"]||i[n(t)]}},"0b99":function(t,e,r){"use strict";var n=r("19fa")(!0);r("393a")(String,"String",(function(t){this._t=String(t),this._i=0}),(function(){var t,e=this._t,r=this._i;return r>=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})}))},"0bad":function(t,e,r){t.exports=!r("4b8b")((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},"0c82":function(t,e,r){var n=r("9bfb");n("asyncDispose")},"0cae":function(t,e,r){"use strict";var n=r("a5eb"),i=r("3ac6"),o=r("6594"),a=r("06fa"),s=r("0273"),c=r("5b57"),u=r("5f7d"),f=r("dfdb"),l=r("2874"),h=r("4180").f,d=r("dee0").forEach,p=r("c1b2"),v=r("2f5a"),y=v.set,b=v.getterFor;t.exports=function(t,e,r){var v,g=-1!==t.indexOf("Map"),m=-1!==t.indexOf("Weak"),_=g?"set":"add",w=i[t],S=w&&w.prototype,k={};if(p&&"function"==typeof w&&(m||S.forEach&&!a((function(){(new w).entries().next()})))){v=e((function(e,r){y(u(e,v,t),{type:t,collection:new w}),void 0!=r&&c(r,e[_],e,g)}));var x=b(t);d(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(t){var e="add"==t||"set"==t;t in S&&(!m||"clear"!=t)&&s(v.prototype,t,(function(r,n){var i=x(this).collection;if(!e&&m&&!f(r))return"get"==t&&void 0;var o=i[t](0===r?0:r,n);return e?this:o}))})),m||h(v.prototype,"size",{configurable:!0,get:function(){return x(this).collection.size}})}else v=r.getConstructor(e,t,g,_),o.REQUIRED=!0;return l(v,t,!1,!0),k[t]=v,n({global:!0,forced:!0},k),m||r.setStrong(v,t,g),v}},"0cf0":function(t,e,r){var n=r("b323"),i=r("9e57"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},"0cfb":function(t,e,r){var n=r("83ab"),i=r("d039"),o=r("cc12");t.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"0df6":function(t,e,r){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},"0e15":function(t,e,r){var n=r("597f");t.exports=function(t,e,r){return void 0===r?n(t,e,!1):n(t,r,!1!==e)}},"0e67":function(t,e,r){var n=r("9bfb");n("iterator")},1098:function(t,e,r){"use strict";e.__esModule=!0;var n=r("17ed"),i=c(n),o=r("f893"),a=c(o),s="function"===typeof a.default&&"symbol"===typeof i.default?function(t){return typeof t}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function c(t){return t&&t.__esModule?t:{default:t}}e.default="function"===typeof a.default&&"symbol"===s(i.default)?function(t){return"undefined"===typeof t?"undefined":s(t)}:function(t){return t&&"function"===typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":"undefined"===typeof t?"undefined":s(t)}},"10db":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},1276:function(t,e,r){"use strict";var n=r("d784"),i=r("44e7"),o=r("825a"),a=r("1d80"),s=r("4840"),c=r("8aa5"),u=r("50c4"),f=r("14c3"),l=r("9263"),h=r("d039"),d=[].push,p=Math.min,v=4294967295,y=!h((function(){return!RegExp(v,"y")}));n("split",2,(function(t,e,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,r){var n=String(a(this)),o=void 0===r?v:r>>>0;if(0===o)return[];if(void 0===t)return[n];if(!i(t))return e.call(n,t,o);var s,c,u,f=[],h=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,y=new RegExp(t.source,h+"g");while(s=l.call(y,n)){if(c=y.lastIndex,c>p&&(f.push(n.slice(p,s.index)),s.length>1&&s.index=o))break;y.lastIndex===s.index&&y.lastIndex++}return p===n.length?!u&&y.test("")||f.push(""):f.push(n.slice(p)),f.length>o?f.slice(0,o):f}:"0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:e.call(this,t,r)}:e,[function(e,r){var i=a(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,i,r):n.call(String(i),e,r)},function(t,i){var a=r(n,t,this,i,n!==e);if(a.done)return a.value;var l=o(t),h=String(this),d=s(l,RegExp),b=l.unicode,g=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(y?"y":"g"),m=new d(y?l:"^(?:"+l.source+")",g),_=void 0===i?v:i>>>0;if(0===_)return[];if(0===h.length)return null===f(m,h)?[h]:[];var w=0,S=0,k=[];while(S0?n:r)(t)}},"159b":function(t,e,r){var n=r("da84"),i=r("fdbc"),o=r("17c2"),a=r("9112");for(var s in i){var c=n[s],u=c&&c.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(f){u.forEach=o}}},1609:function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},"17c2":function(t,e,r){"use strict";var n=r("b727").forEach,i=r("a640"),o=r("ae40"),a=i("forEach"),s=o("forEach");t.exports=a&&s?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},"17ed":function(t,e,r){t.exports={default:r("511f"),__esModule:!0}},1836:function(t,e,r){var n=r("6ca1"),i=r("6438").f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(t){try{return i(t)}catch(e){return a.slice()}};t.exports.f=function(t){return a&&"[object Window]"==o.call(t)?s(t):i(n(t))}},1875:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},1917:function(t,e){e.f={}.propertyIsEnumerable},"19aa":function(t,e){t.exports=function(t,e,r){if(!(t instanceof e))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return t}},"19fa":function(t,e,r){var n=r("fc5e"),i=r("c901");t.exports=function(t){return function(e,r){var o,a,s=String(i(e)),c=n(r),u=s.length;return c<0||c>=u?t?"":void 0:(o=s.charCodeAt(c),o<55296||o>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):o:t?s.slice(c,c+2):a-56320+(o-55296<<10)+65536)}}},"1a14":function(t,e,r){var n=r("77e9"),i=r("faf5"),o=r("3397"),a=Object.defineProperty;e.f=r("0bad")?Object.defineProperty:function(t,e,r){if(n(t),e=o(e,!0),n(r),i)try{return a(t,e,r)}catch(s){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},"1b0d":function(t,e,r){var n=r("9412"),i=r("da43"),o=Array.prototype,a=String.prototype;t.exports=function(t){var e=t.includes;return t===o||t instanceof Array&&e===o.includes?n:"string"===typeof t||t===a||t instanceof String&&e===a.includes?i:e}},"1b8d":function(t,e){function r(t){return t.replace(/\n\r?\s*/g,"")}t.exports=function(t){for(var e="",n=0;n=51||!n((function(){var e=[],r=e.constructor={};return r[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},"1e63":function(t,e,r){var n=r("06fa");t.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},2266:function(t,e,r){var n=r("825a"),i=r("e95a"),o=r("50c4"),a=r("0366"),s=r("35a1"),c=r("9bdd"),u=function(t,e){this.stopped=t,this.result=e},f=t.exports=function(t,e,r,f,l){var h,d,p,v,y,b,g,m=a(e,r,f?2:1);if(l)h=t;else{if(d=s(t),"function"!=typeof d)throw TypeError("Target is not iterable");if(i(d)){for(p=0,v=o(t.length);v>p;p++)if(y=f?m(n(g=t[p])[0],g[1]):m(t[p]),y&&y instanceof u)return y;return new u(!1)}h=d.call(t)}b=h.next;while(!(g=b.call(h)).done)if(y=c(h,m,g.value,f),"object"==typeof y&&y&&y instanceof u)return y;return new u(!1)};f.stop=function(t){return new u(!0,t)}},"22a9":function(t,e,r){var n=r("9bfb");n("hasInstance")},2364:function(t,e,r){r("0e67"),r("3e47"),r("5145");var n=r("beea");t.exports=n.f("iterator")},"23cb":function(t,e,r){var n=r("a691"),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},"23e7":function(t,e,r){var n=r("da84"),i=r("06cf").f,o=r("9112"),a=r("6eeb"),s=r("ce4e"),c=r("e893"),u=r("94ca");t.exports=function(t,e){var r,f,l,h,d,p,v=t.target,y=t.global,b=t.stat;if(f=y?n:b?n[v]||s(v,{}):(n[v]||{}).prototype,f)for(l in e){if(d=e[l],t.noTargetGet?(p=i(f,l),h=p&&p.value):h=f[l],r=u(y?l:v+(b?".":"#")+l,t.forced),!r&&void 0!==h){if(typeof d===typeof h)continue;c(d,h)}(t.sham||h&&h.sham)&&o(d,"sham",!0),a(f,l,d,t)}}},2419:function(t,e,r){r("8c5a"),r("6f89"),r("3e47"),r("5145");var n=r("764b");t.exports=n.Set},"241c":function(t,e,r){var n=r("ca84"),i=r("7839"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},2444:function(t,e,r){"use strict";(function(e){var n=r("c532"),i=r("c8af"),o={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!n.isUndefined(t)&&n.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function s(){var t;return"undefined"!==typeof XMLHttpRequest?t=r("b50d"):"undefined"!==typeof e&&"[object process]"===Object.prototype.toString.call(e)&&(t=r("b50d")),t}var c={adapter:s(),transformRequest:[function(t,e){return i(e,"Accept"),i(e,"Content-Type"),n.isFormData(t)||n.isArrayBuffer(t)||n.isBuffer(t)||n.isStream(t)||n.isFile(t)||n.isBlob(t)?t:n.isArrayBufferView(t)?t.buffer:n.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):n.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"===typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(t){c.headers[t]={}})),n.forEach(["post","put","patch"],(function(t){c.headers[t]=n.merge(o)})),t.exports=c}).call(this,r("4362"))},"25f0":function(t,e,r){"use strict";var n=r("6eeb"),i=r("825a"),o=r("d039"),a=r("ad6d"),s="toString",c=RegExp.prototype,u=c[s],f=o((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l=u.name!=s;(f||l)&&n(RegExp.prototype,s,(function(){var t=i(this),e=String(t.source),r=t.flags,n=String(void 0===r&&t instanceof RegExp&&!("flags"in c)?a.call(t):r);return"/"+e+"/"+n}),{unsafe:!0})},2616:function(t,e,r){var n=r("0363"),i=r("7463"),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},2626:function(t,e,r){"use strict";var n=r("d066"),i=r("9bf2"),o=r("b622"),a=r("83ab"),s=o("species");t.exports=function(t){var e=n(t),r=i.f;a&&e&&!e[s]&&r(e,s,{configurable:!0,get:function(){return this}})}},"262e":function(t,e,r){"use strict";r("131a");function n(t,e){return n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(t,e)}function i(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}r.d(e,"a",(function(){return i}))},"266f":function(t,e,r){var n=r("9bfb");n("patternMatch")},"26dd":function(t,e,r){"use strict";var n=r("6f4f"),i=r("10db"),o=r("92f0"),a={};r("051b")(a,r("cc15")("iterator"),(function(){return this})),t.exports=function(t,e,r){t.prototype=n(a,{next:i(1,r)}),o(t,e+" Iterator")}},"274e":function(t,e,r){var n=r("9bfb");n("split")},2874:function(t,e,r){var n=r("d63b"),i=r("4180").f,o=r("0273"),a=r("78e7"),s=r("1c0a"),c=r("0363"),u=c("toStringTag");t.exports=function(t,e,r,c){if(t){var f=r?t:t.prototype;a(f,u)||i(f,u,{configurable:!0,value:e}),c&&!n&&o(f,"toString",s)}}},2877:function(t,e,r){"use strict";function n(t,e,r,n,i,o,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=r,u._compiled=!0),n&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(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(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),c)if(u.functional){u._injectStyles=c;var f=u.render;u.render=function(t,e){return c.call(e),f(t,e)}}else{var l=u.beforeCreate;u.beforeCreate=l?[].concat(l,c):[c]}return{exports:t,options:u}}r.d(e,"a",(function(){return n}))},"2b0e":function(t,e,r){"use strict";r.r(e),function(t){ /*! * Vue.js v2.6.11 * (c) 2014-2019 Evan You * Released under the MIT License. */ var r=Object.freeze({});function n(t){return void 0===t||null===t}function i(t){return void 0!==t&&null!==t}function o(t){return!0===t}function a(t){return!1===t}function s(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function c(t){return null!==t&&"object"===typeof t}var u=Object.prototype.toString;function f(t){return"[object Object]"===u.call(t)}function l(t){return"[object RegExp]"===u.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return i(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function p(t){return null==t?"":Array.isArray(t)||f(t)&&t.toString===u?JSON.stringify(t,null,2):String(t)}function v(t){var e=parseFloat(t);return isNaN(e)?t:e}function y(t,e){for(var r=Object.create(null),n=t.split(","),i=0;i-1)return t.splice(r,1)}}var m=Object.prototype.hasOwnProperty;function _(t,e){return m.call(t,e)}function w(t){var e=Object.create(null);return function(r){var n=e[r];return n||(e[r]=t(r))}}var S=/-(\w)/g,k=w((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),x=w((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),E=/\B([A-Z])/g,C=w((function(t){return t.replace(E,"-$1").toLowerCase()}));function T(t,e){function r(r){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,r):t.call(e)}return r._length=t.length,r}function A(t,e){return t.bind(e)}var O=Function.prototype.bind?A:T;function M(t,e){e=e||0;var r=t.length-e,n=new Array(r);while(r--)n[r]=t[r+e];return n}function j(t,e){for(var r in e)t[r]=e[r];return t}function P(t){for(var e={},r=0;r0,rt=Q&&Q.indexOf("edge/")>0,nt=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===Z),it=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),ot={}.watch,at=!1;if(Y)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(ka){}var ct=function(){return void 0===X&&(X=!Y&&!J&&"undefined"!==typeof t&&(t["process"]&&"server"===t["process"].env.VUE_ENV)),X},ut=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ft(t){return"function"===typeof t&&/native code/.test(t.toString())}var lt,ht="undefined"!==typeof Symbol&&ft(Symbol)&&"undefined"!==typeof Reflect&&ft(Reflect.ownKeys);lt="undefined"!==typeof Set&&ft(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 dt=R,pt=0,vt=function(){this.id=pt++,this.subs=[]};vt.prototype.addSub=function(t){this.subs.push(t)},vt.prototype.removeSub=function(t){g(this.subs,t)},vt.prototype.depend=function(){vt.target&&vt.target.addDep(this)},vt.prototype.notify=function(){var t=this.subs.slice();for(var e=0,r=t.length;e-1)if(o&&!_(i,"default"))a=!1;else if(""===a||a===C(t)){var c=te(String,i.type);(c<0||s0&&(a=Te(a,(e||"")+"_"+r),Ce(a[0])&&Ce(u)&&(f[c]=St(u.text+a[0].text),a.shift()),f.push.apply(f,a)):s(a)?Ce(u)?f[c]=St(u.text+a):""!==a&&f.push(St(a)):Ce(a)&&Ce(u)?f[c]=St(u.text+a.text):(o(t._isVList)&&i(a.tag)&&n(a.key)&&i(e)&&(a.key="__vlist"+e+"_"+r+"__"),f.push(a)));return f}function Ae(t){var e=t.$options.provide;e&&(t._provided="function"===typeof e?e.call(t):e)}function Oe(t){var e=Me(t.$options.inject,t);e&&(Ot(!1),Object.keys(e).forEach((function(r){It(t,r,e[r])})),Ot(!0))}function Me(t,e){if(t){for(var r=Object.create(null),n=ht?Reflect.ownKeys(t):Object.keys(t),i=0;i0,a=t?!!t.$stable:!o,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(a&&n&&n!==r&&s===n.$key&&!o&&!n.$hasNormal)return n;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Ie(e,c,t[c]))}else i={};for(var u in e)u in i||(i[u]=Be(e,u));return t&&Object.isExtensible(t)&&(t._normalized=i),V(i,"$stable",a),V(i,"$key",s),V(i,"$hasNormal",o),i}function Ie(t,e,r){var n=function(){var t=arguments.length?r.apply(null,arguments):r({});return t=t&&"object"===typeof t&&!Array.isArray(t)?[t]:Ee(t),t&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return r.proxy&&Object.defineProperty(t,e,{get:n,enumerable:!0,configurable:!0}),n}function Be(t,e){return function(){return t[e]}}function Le(t,e){var r,n,o,a,s;if(Array.isArray(t)||"string"===typeof t)for(r=new Array(t.length),n=0,o=t.length;n1?M(r):r;for(var n=M(arguments,1),i='event handler for "'+t+'"',o=0,a=r.length;odocument.createEvent("Event").timeStamp&&(Kr=function(){return Xr.now()})}function Gr(){var t,e;for(Wr=Kr(),qr=!0,Fr.sort((function(t,e){return t.id-e.id})),Hr=0;HrHr&&Fr[r].id>t.id)r--;Fr.splice(r+1,0,t)}else Fr.push(t);$r||($r=!0,pe(Gr))}}var tn=0,en=function(t,e,r,n,i){this.vm=t,i&&(t._watcher=this),t._watchers.push(this),n?(this.deep=!!n.deep,this.user=!!n.user,this.lazy=!!n.lazy,this.sync=!!n.sync,this.before=n.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=r,this.id=++tn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new lt,this.newDepIds=new lt,this.expression="","function"===typeof e?this.getter=e:(this.getter=K(e),this.getter||(this.getter=R)),this.value=this.lazy?void 0:this.get()};en.prototype.get=function(){var t;bt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(ka){if(!this.user)throw ka;ee(ka,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ye(t),gt(),this.cleanupDeps()}return t},en.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))},en.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}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},en.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():Qr(this)},en.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(ka){ee(ka,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},en.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},en.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()},en.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||g(this.vm._watchers,this);var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=!1}};var rn={enumerable:!0,configurable:!0,get:R,set:R};function nn(t,e,r){rn.get=function(){return this[e][r]},rn.set=function(t){this[e][r]=t},Object.defineProperty(t,r,rn)}function on(t){t._watchers=[];var e=t.$options;e.props&&an(t,e.props),e.methods&&pn(t,e.methods),e.data?sn(t):Rt(t._data={},!0),e.computed&&fn(t,e.computed),e.watch&&e.watch!==ot&&vn(t,e.watch)}function an(t,e){var r=t.$options.propsData||{},n=t._props={},i=t.$options._propKeys=[],o=!t.$parent;o||Ot(!1);var a=function(o){i.push(o);var a=Yt(o,e,r,t);It(n,o,a),o in t||nn(t,"_props",o)};for(var s in e)a(s);Ot(!0)}function sn(t){var e=t.$options.data;e=t._data="function"===typeof e?cn(e,t):e||{},f(e)||(e={});var r=Object.keys(e),n=t.$options.props,i=(t.$options.methods,r.length);while(i--){var o=r[i];0,n&&_(n,o)||H(o)||nn(t,"_data",o)}Rt(e,!0)}function cn(t,e){bt();try{return t.call(e,e)}catch(ka){return ee(ka,e,"data()"),{}}finally{gt()}}var un={lazy:!0};function fn(t,e){var r=t._computedWatchers=Object.create(null),n=ct();for(var i in e){var o=e[i],a="function"===typeof o?o:o.get;0,n||(r[i]=new en(t,a||R,R,un)),i in t||ln(t,i,o)}}function ln(t,e,r){var n=!ct();"function"===typeof r?(rn.get=n?hn(e):dn(r),rn.set=R):(rn.get=r.get?n&&!1!==r.cache?hn(e):dn(r.get):R,rn.set=r.set||R),Object.defineProperty(t,e,rn)}function hn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),vt.target&&e.depend(),e.value}}function dn(t){return function(){return t.call(this,this)}}function pn(t,e){t.$options.props;for(var r in e)t[r]="function"!==typeof e[r]?R:O(e[r],t)}function vn(t,e){for(var r in e){var n=e[r];if(Array.isArray(n))for(var i=0;i-1)return this;var r=M(arguments,1);return r.unshift(this),"function"===typeof t.install?t.install.apply(t,r):"function"===typeof t&&t.apply(null,r),e.push(t),this}}function En(t){t.mixin=function(t){return this.options=Xt(this.options,t),this}}function Cn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var r=this,n=r.cid,i=t._Ctor||(t._Ctor={});if(i[n])return i[n];var o=t.name||r.options.name;var a=function(t){this._init(t)};return a.prototype=Object.create(r.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Xt(r.options,t),a["super"]=r,a.options.props&&Tn(a),a.options.computed&&An(a),a.extend=r.extend,a.mixin=r.mixin,a.use=r.use,z.forEach((function(t){a[t]=r[t]})),o&&(a.options.components[o]=a),a.superOptions=r.options,a.extendOptions=t,a.sealedOptions=j({},a.options),i[n]=a,a}}function Tn(t){var e=t.options.props;for(var r in e)nn(t.prototype,"_props",r)}function An(t){var e=t.options.computed;for(var r in e)ln(t.prototype,r,e[r])}function On(t){z.forEach((function(e){t[e]=function(t,r){return r?("component"===e&&f(r)&&(r.name=r.name||t,r=this.options._base.extend(r)),"directive"===e&&"function"===typeof r&&(r={bind:r,update:r}),this.options[e+"s"][t]=r,r):this.options[e+"s"][t]}}))}function Mn(t){return t&&(t.Ctor.options.name||t.tag)}function jn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!l(t)&&t.test(e)}function Pn(t,e){var r=t.cache,n=t.keys,i=t._vnode;for(var o in r){var a=r[o];if(a){var s=Mn(a.componentOptions);s&&!e(s)&&Rn(r,o,n,i)}}}function Rn(t,e,r,n){var i=t[e];!i||n&&i.tag===n.tag||i.componentInstance.$destroy(),t[e]=null,g(r,e)}mn(kn),bn(kn),Ar(kn),Pr(kn),br(kn);var In=[String,RegExp,Array],Bn={name:"keep-alive",abstract:!0,props:{include:In,exclude:In,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Rn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){Pn(t,(function(t){return jn(e,t)}))})),this.$watch("exclude",(function(e){Pn(t,(function(t){return!jn(e,t)}))}))},render:function(){var t=this.$slots.default,e=Sr(t),r=e&&e.componentOptions;if(r){var n=Mn(r),i=this,o=i.include,a=i.exclude;if(o&&(!n||!jn(o,n))||a&&n&&jn(a,n))return e;var s=this,c=s.cache,u=s.keys,f=null==e.key?r.Ctor.cid+(r.tag?"::"+r.tag:""):e.key;c[f]?(e.componentInstance=c[f].componentInstance,g(u,f),u.push(f)):(c[f]=e,u.push(f),this.max&&u.length>parseInt(this.max)&&Rn(c,u[0],u,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}},Ln={KeepAlive:Bn};function Dn(t){var e={get:function(){return $}};Object.defineProperty(t,"config",e),t.util={warn:dt,extend:j,mergeOptions:Xt,defineReactive:It},t.set=Bt,t.delete=Lt,t.nextTick=pe,t.observable=function(t){return Rt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,j(t.options.components,Ln),xn(t),En(t),Cn(t),On(t)}Dn(kn),Object.defineProperty(kn.prototype,"$isServer",{get:ct}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Je}),kn.version="2.6.11";var Nn=y("style,class"),Fn=y("input,textarea,option,select,progress"),zn=function(t,e,r){return"value"===r&&Fn(t)&&"button"!==e||"selected"===r&&"option"===t||"checked"===r&&"input"===t||"muted"===r&&"video"===t},Un=y("contenteditable,draggable,spellcheck"),$n=y("events,caret,typing,plaintext-only"),qn=function(t,e){return Xn(e)||"false"===e?"false":"contenteditable"===t&&$n(e)?e:"true"},Hn=y("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"),Vn="http://www.w3.org/1999/xlink",Wn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Kn=function(t){return Wn(t)?t.slice(6,t.length):""},Xn=function(t){return null==t||!1===t};function Gn(t){var e=t.data,r=t,n=t;while(i(n.componentInstance))n=n.componentInstance._vnode,n&&n.data&&(e=Yn(n.data,e));while(i(r=r.parent))r&&r.data&&(e=Yn(e,r.data));return Jn(e.staticClass,e.class)}function Yn(t,e){return{staticClass:Zn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Jn(t,e){return i(t)||i(e)?Zn(t,Qn(e)):""}function Zn(t,e){return t?e?t+" "+e:t:e||""}function Qn(t){return Array.isArray(t)?ti(t):c(t)?ei(t):"string"===typeof t?t:""}function ti(t){for(var e,r="",n=0,o=t.length;n-1?si[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:si[t]=/HTMLUnknownElement/.test(e.toString())}var ui=y("text,number,password,search,email,tel,url");function fi(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function li(t,e){var r=document.createElement(t);return"select"!==t?r:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&r.setAttribute("multiple","multiple"),r)}function hi(t,e){return document.createElementNS(ri[t],e)}function di(t){return document.createTextNode(t)}function pi(t){return document.createComment(t)}function vi(t,e,r){t.insertBefore(e,r)}function yi(t,e){t.removeChild(e)}function bi(t,e){t.appendChild(e)}function gi(t){return t.parentNode}function mi(t){return t.nextSibling}function _i(t){return t.tagName}function wi(t,e){t.textContent=e}function Si(t,e){t.setAttribute(e,"")}var ki=Object.freeze({createElement:li,createElementNS:hi,createTextNode:di,createComment:pi,insertBefore:vi,removeChild:yi,appendChild:bi,parentNode:gi,nextSibling:mi,tagName:_i,setTextContent:wi,setStyleScope:Si}),xi={create:function(t,e){Ei(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ei(t,!0),Ei(e))},destroy:function(t){Ei(t,!0)}};function Ei(t,e){var r=t.data.ref;if(i(r)){var n=t.context,o=t.componentInstance||t.elm,a=n.$refs;e?Array.isArray(a[r])?g(a[r],o):a[r]===o&&(a[r]=void 0):t.data.refInFor?Array.isArray(a[r])?a[r].indexOf(o)<0&&a[r].push(o):a[r]=[o]:a[r]=o}}var Ci=new mt("",{},[]),Ti=["create","activate","update","remove","destroy"];function Ai(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&Oi(t,e)||o(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&n(e.asyncFactory.error))}function Oi(t,e){if("input"!==t.tag)return!0;var r,n=i(r=t.data)&&i(r=r.attrs)&&r.type,o=i(r=e.data)&&i(r=r.attrs)&&r.type;return n===o||ui(n)&&ui(o)}function Mi(t,e,r){var n,o,a={};for(n=e;n<=r;++n)o=t[n].key,i(o)&&(a[o]=n);return a}function ji(t){var e,r,a={},c=t.modules,u=t.nodeOps;for(e=0;ev?(l=n(r[g+1])?null:r[g+1].elm,k(t,l,r,p,g,o)):p>g&&E(e,h,v)}function A(t,e,r,n){for(var o=r;o-1?$i(t,e,r):Hn(e)?Xn(r)?t.removeAttribute(e):(r="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,r)):Un(e)?t.setAttribute(e,qn(e,r)):Wn(e)?Xn(r)?t.removeAttributeNS(Vn,Kn(e)):t.setAttributeNS(Vn,e,r):$i(t,e,r)}function $i(t,e,r){if(Xn(r))t.removeAttribute(e);else{if(tt&&!et&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==r&&!t.__ieph){var n=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",n)};t.addEventListener("input",n),t.__ieph=!0}t.setAttribute(e,r)}}var qi={create:zi,update:zi};function Hi(t,e){var r=e.elm,o=e.data,a=t.data;if(!(n(o.staticClass)&&n(o.class)&&(n(a)||n(a.staticClass)&&n(a.class)))){var s=Gn(e),c=r._transitionClasses;i(c)&&(s=Zn(s,Qn(c))),s!==r._prevClass&&(r.setAttribute("class",s),r._prevClass=s)}}var Vi,Wi={create:Hi,update:Hi},Ki="__r",Xi="__c";function Gi(t){if(i(t[Ki])){var e=tt?"change":"input";t[e]=[].concat(t[Ki],t[e]||[]),delete t[Ki]}i(t[Xi])&&(t.change=[].concat(t[Xi],t.change||[]),delete t[Xi])}function Yi(t,e,r){var n=Vi;return function i(){var o=e.apply(null,arguments);null!==o&&Qi(t,i,r,n)}}var Ji=ae&&!(it&&Number(it[1])<=53);function Zi(t,e,r,n){if(Ji){var i=Wr,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Vi.addEventListener(t,e,at?{capture:r,passive:n}:r)}function Qi(t,e,r,n){(n||Vi).removeEventListener(t,e._wrapper||e,r)}function to(t,e){if(!n(t.data.on)||!n(e.data.on)){var r=e.data.on||{},i=t.data.on||{};Vi=e.elm,Gi(r),_e(r,i,Zi,Qi,Yi,e.context),Vi=void 0}}var eo,ro={create:to,update:to};function no(t,e){if(!n(t.data.domProps)||!n(e.data.domProps)){var r,o,a=e.elm,s=t.data.domProps||{},c=e.data.domProps||{};for(r in i(c.__ob__)&&(c=e.data.domProps=j({},c)),s)r in c||(a[r]="");for(r in c){if(o=c[r],"textContent"===r||"innerHTML"===r){if(e.children&&(e.children.length=0),o===s[r])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===r&&"PROGRESS"!==a.tagName){a._value=o;var u=n(o)?"":String(o);io(a,u)&&(a.value=u)}else if("innerHTML"===r&&ii(a.tagName)&&n(a.innerHTML)){eo=eo||document.createElement("div"),eo.innerHTML=""+o+"";var f=eo.firstChild;while(a.firstChild)a.removeChild(a.firstChild);while(f.firstChild)a.appendChild(f.firstChild)}else if(o!==s[r])try{a[r]=o}catch(ka){}}}}function io(t,e){return!t.composing&&("OPTION"===t.tagName||oo(t,e)||ao(t,e))}function oo(t,e){var r=!0;try{r=document.activeElement!==t}catch(ka){}return r&&t.value!==e}function ao(t,e){var r=t.value,n=t._vModifiers;if(i(n)){if(n.number)return v(r)!==v(e);if(n.trim)return r.trim()!==e.trim()}return r!==e}var so={create:no,update:no},co=w((function(t){var e={},r=/;(?![^(]*\))/g,n=/:(.+)/;return t.split(r).forEach((function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}})),e}));function uo(t){var e=fo(t.style);return t.staticStyle?j(t.staticStyle,e):e}function fo(t){return Array.isArray(t)?P(t):"string"===typeof t?co(t):t}function lo(t,e){var r,n={};if(e){var i=t;while(i.componentInstance)i=i.componentInstance._vnode,i&&i.data&&(r=uo(i.data))&&j(n,r)}(r=uo(t.data))&&j(n,r);var o=t;while(o=o.parent)o.data&&(r=uo(o.data))&&j(n,r);return n}var ho,po=/^--/,vo=/\s*!important$/,yo=function(t,e,r){if(po.test(e))t.style.setProperty(e,r);else if(vo.test(r))t.style.setProperty(C(e),r.replace(vo,""),"important");else{var n=go(e);if(Array.isArray(r))for(var i=0,o=r.length;i-1?e.split(wo).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var r=" "+(t.getAttribute("class")||"")+" ";r.indexOf(" "+e+" ")<0&&t.setAttribute("class",(r+e).trim())}}function ko(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(wo).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var r=" "+(t.getAttribute("class")||"")+" ",n=" "+e+" ";while(r.indexOf(n)>=0)r=r.replace(n," ");r=r.trim(),r?t.setAttribute("class",r):t.removeAttribute("class")}}function xo(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&j(e,Eo(t.name||"v")),j(e,t),e}return"string"===typeof t?Eo(t):void 0}}var Eo=w((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"}})),Co=Y&&!et,To="transition",Ao="animation",Oo="transition",Mo="transitionend",jo="animation",Po="animationend";Co&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Oo="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(jo="WebkitAnimation",Po="webkitAnimationEnd"));var Ro=Y?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Io(t){Ro((function(){Ro(t)}))}function Bo(t,e){var r=t._transitionClasses||(t._transitionClasses=[]);r.indexOf(e)<0&&(r.push(e),So(t,e))}function Lo(t,e){t._transitionClasses&&g(t._transitionClasses,e),ko(t,e)}function Do(t,e,r){var n=Fo(t,e),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===To?Mo:Po,c=0,u=function(){t.removeEventListener(s,f),r()},f=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(r=To,f=a,l=o.length):e===Ao?u>0&&(r=Ao,f=u,l=c.length):(f=Math.max(a,u),r=f>0?a>u?To:Ao:null,l=r?r===To?o.length:c.length:0);var h=r===To&&No.test(n[Oo+"Property"]);return{type:r,timeout:f,propCount:l,hasTransform:h}}function zo(t,e){while(t.length1}function Wo(t,e){!0!==e.data.show&&$o(e)}var Ko=Y?{create:Wo,activate:Wo,remove:function(t,e){!0!==t.data.show?qo(t,e):e()}}:{},Xo=[qi,Wi,ro,so,_o,Ko],Go=Xo.concat(Fi),Yo=ji({nodeOps:ki,modules:Go});et&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&ia(t,"input")}));var Jo={inserted:function(t,e,r,n){"select"===r.tag?(n.elm&&!n.elm._vOptions?we(r,"postpatch",(function(){Jo.componentUpdated(t,e,r)})):Zo(t,e,r.context),t._vOptions=[].map.call(t.options,ea)):("textarea"===r.tag||ui(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",ra),t.addEventListener("compositionend",na),t.addEventListener("change",na),et&&(t.vmodel=!0)))},componentUpdated:function(t,e,r){if("select"===r.tag){Zo(t,e,r.context);var n=t._vOptions,i=t._vOptions=[].map.call(t.options,ea);if(i.some((function(t,e){return!L(t,n[e])}))){var o=t.multiple?e.value.some((function(t){return ta(t,i)})):e.value!==e.oldValue&&ta(e.value,i);o&&ia(t,"change")}}}};function Zo(t,e,r){Qo(t,e,r),(tt||rt)&&setTimeout((function(){Qo(t,e,r)}),0)}function Qo(t,e,r){var n=e.value,i=t.multiple;if(!i||Array.isArray(n)){for(var o,a,s=0,c=t.options.length;s-1,a.selected!==o&&(a.selected=o);else if(L(ea(a),n))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ta(t,e){return e.every((function(e){return!L(e,t)}))}function ea(t){return"_value"in t?t._value:t.value}function ra(t){t.target.composing=!0}function na(t){t.target.composing&&(t.target.composing=!1,ia(t.target,"input"))}function ia(t,e){var r=document.createEvent("HTMLEvents");r.initEvent(e,!0,!0),t.dispatchEvent(r)}function oa(t){return!t.componentInstance||t.data&&t.data.transition?t:oa(t.componentInstance._vnode)}var aa={bind:function(t,e,r){var n=e.value;r=oa(r);var i=r.data&&r.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;n&&i?(r.data.show=!0,$o(r,(function(){t.style.display=o}))):t.style.display=n?o:"none"},update:function(t,e,r){var n=e.value,i=e.oldValue;if(!n!==!i){r=oa(r);var o=r.data&&r.data.transition;o?(r.data.show=!0,n?$o(r,(function(){t.style.display=t.__vOriginalDisplay})):qo(r,(function(){t.style.display="none"}))):t.style.display=n?t.__vOriginalDisplay:"none"}},unbind:function(t,e,r,n,i){i||(t.style.display=t.__vOriginalDisplay)}},sa={model:Jo,show:aa},ca={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 ua(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ua(Sr(e.children)):t}function fa(t){var e={},r=t.$options;for(var n in r.propsData)e[n]=t[n];var i=r._parentListeners;for(var o in i)e[k(o)]=i[o];return e}function la(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ha(t){while(t=t.parent)if(t.data.transition)return!0}function da(t,e){return e.key===t.key&&e.tag===t.tag}var pa=function(t){return t.tag||wr(t)},va=function(t){return"show"===t.name},ya={name:"transition",props:ca,abstract:!0,render:function(t){var e=this,r=this.$slots.default;if(r&&(r=r.filter(pa),r.length)){0;var n=this.mode;0;var i=r[0];if(ha(this.$vnode))return i;var o=ua(i);if(!o)return i;if(this._leaving)return la(t,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var c=(o.data||(o.data={})).transition=fa(this),u=this._vnode,f=ua(u);if(o.data.directives&&o.data.directives.some(va)&&(o.data.show=!0),f&&f.data&&!da(o,f)&&!wr(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var l=f.data.transition=j({},c);if("out-in"===n)return this._leaving=!0,we(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),la(t,i);if("in-out"===n){if(wr(o))return u;var h,d=function(){h()};we(c,"afterEnter",d),we(c,"enterCancelled",d),we(l,"delayLeave",(function(t){h=t}))}}return i}}},ba=j({tag:String,moveClass:String},ca);delete ba.mode;var ga={props:ba,beforeMount:function(){var t=this,e=this._update;this._update=function(r,n){var i=Mr(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,i(),e.call(t,r,n)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",r=Object.create(null),n=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=fa(this),s=0;sr)e.push(arguments[r++]);return _[++m]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},n(m),m},v=function(t){delete _[t]},"process"==c(y)?n=function(t){y.nextTick(k(t))}:g&&g.now?n=function(t){g.now(k(t))}:b&&!h?(i=new b,o=i.port2,i.port1.onmessage=x,n=u(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(E)?n=w in l("script")?function(t){f.appendChild(l("script"))[w]=function(){f.removeChild(this),S(t)}}:function(t){setTimeout(k(t),0)}:(n=E,a.addEventListener("message",x,!1))),t.exports={set:p,clear:v}},"2d00":function(t,e,r){var n,i,o=r("da84"),a=r("342f"),s=o.process,c=s&&s.versions,u=c&&c.v8;u?(n=u.split("."),i=n[0]+n[1]):a&&(n=a.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/),n&&(i=n[1]))),t.exports=i&&+i},"2d83":function(t,e,r){"use strict";var n=r("387f");t.exports=function(t,e,r,i,o){var a=new Error(t);return n(a,e,r,i,o)}},"2e67":function(t,e,r){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},"2e85":function(t,e,r){var n=r("9bfb");n("replace")},"2f5a":function(t,e,r){var n,i,o,a=r("96e9"),s=r("3ac6"),c=r("dfdb"),u=r("0273"),f=r("78e7"),l=r("b2ed"),h=r("6e9a"),d=s.WeakMap,p=function(t){return o(t)?i(t):n(t,{})},v=function(t){return function(e){var r;if(!c(e)||(r=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return r}};if(a){var y=new d,b=y.get,g=y.has,m=y.set;n=function(t,e){return m.call(y,t,e),e},i=function(t){return b.call(y,t)||{}},o=function(t){return g.call(y,t)}}else{var _=l("state");h[_]=!0,n=function(t,e){return u(t,_,e),e},i=function(t){return f(t,_)?t[_]:{}},o=function(t){return f(t,_)}}t.exports={set:n,get:i,has:o,enforce:p,getterFor:v}},"2f62":function(t,e,r){"use strict";(function(t){ /** * vuex v3.1.2 * (c) 2019 Evan You * @license MIT */ function r(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:n});else{var r=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,r.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}var n="undefined"!==typeof window?window:"undefined"!==typeof t?t:{},i=n.__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)})))}function a(t,e){Object.keys(t).forEach((function(r){return e(t[r],r)}))}function s(t){return null!==t&&"object"===typeof t}function c(t){return t&&"function"===typeof t.then}function u(t,e){return function(){return t(e)}}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=("function"===typeof r?r():r)||{}},l={namespaced:{configurable:!0}};l.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){a(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&a(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&a(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&a(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,l);var h=function(t){this.register([],t,!1)};function d(t,e,r){if(e.update(r),r.modules)for(var n in r.modules){if(!e.getChild(n))return void 0;d(t.concat(n),e.getChild(n),r.modules[n])}}h.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},h.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,r){return e=e.getChild(r),t+(e.namespaced?r+"/":"")}),"")},h.prototype.update=function(t){d([],this.root,t)},h.prototype.register=function(t,e,r){var n=this;void 0===r&&(r=!0);var i=new f(e,r);if(0===t.length)this.root=i;else{var o=this.get(t.slice(0,-1));o.addChild(t[t.length-1],i)}e.modules&&a(e.modules,(function(e,i){n.register(t.concat(i),e,r)}))},h.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),r=t[t.length-1];e.getChild(r).runtime&&e.removeChild(r)};var p;var v=function(t){var e=this;void 0===t&&(t={}),!p&&"undefined"!==typeof window&&window.Vue&&O(window.Vue);var r=t.plugins;void 0===r&&(r=[]);var n=t.strict;void 0===n&&(n=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new p,this._makeLocalGettersCache=Object.create(null);var i=this,a=this,s=a.dispatch,c=a.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,r){return c.call(i,t,e,r)},this.strict=n;var u=this._modules.root.state;_(this,u,[],this._modules.root),m(this,u),r.forEach((function(t){return t(e)}));var f=void 0!==t.devtools?t.devtools:p.config.devtools;f&&o(this)},y={state:{configurable:!0}};function b(t,e){return e.indexOf(t)<0&&e.push(t),function(){var r=e.indexOf(t);r>-1&&e.splice(r,1)}}function g(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var r=t.state;_(t,r,[],t._modules.root,!0),m(t,r,e)}function m(t,e,r){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,o={};a(i,(function(e,r){o[r]=u(e,t),Object.defineProperty(t.getters,r,{get:function(){return t._vm[r]},enumerable:!0})}));var s=p.config.silent;p.config.silent=!0,t._vm=new p({data:{$$state:e},computed:o}),p.config.silent=s,t.strict&&C(t),n&&(r&&t._withCommit((function(){n._data.$$state=null})),p.nextTick((function(){return n.$destroy()})))}function _(t,e,r,n,i){var o=!r.length,a=t._modules.getNamespace(r);if(n.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=n),!o&&!i){var s=T(e,r.slice(0,-1)),c=r[r.length-1];t._withCommit((function(){p.set(s,c,n.state)}))}var u=n.context=w(t,a,r);n.forEachMutation((function(e,r){var n=a+r;k(t,n,e,u)})),n.forEachAction((function(e,r){var n=e.root?r:a+r,i=e.handler||e;x(t,n,i,u)})),n.forEachGetter((function(e,r){var n=a+r;E(t,n,e,u)})),n.forEachChild((function(n,o){_(t,e,r.concat(o),n,i)}))}function w(t,e,r){var n=""===e,i={dispatch:n?t.dispatch:function(r,n,i){var o=A(r,n,i),a=o.payload,s=o.options,c=o.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:n?t.commit:function(r,n,i){var o=A(r,n,i),a=o.payload,s=o.options,c=o.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(i,{getters:{get:n?function(){return t.getters}:function(){return S(t,e)}},state:{get:function(){return T(t.state,r)}}}),i}function S(t,e){if(!t._makeLocalGettersCache[e]){var r={},n=e.length;Object.keys(t.getters).forEach((function(i){if(i.slice(0,n)===e){var o=i.slice(n);Object.defineProperty(r,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=r}return t._makeLocalGettersCache[e]}function k(t,e,r,n){var i=t._mutations[e]||(t._mutations[e]=[]);i.push((function(e){r.call(t,n.state,e)}))}function x(t,e,r,n){var i=t._actions[e]||(t._actions[e]=[]);i.push((function(e){var i=r.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return c(i)||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}function E(t,e,r,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return r(n.state,n.getters,t.state,t.getters)})}function C(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function T(t,e){return e.length?e.reduce((function(t,e){return t[e]}),t):t}function A(t,e,r){return s(t)&&t.type&&(r=e,e=t,t=t.type),{type:t,payload:e,options:r}}function O(t){p&&t===p||(p=t,r(p))}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){0},v.prototype.commit=function(t,e,r){var n=this,i=A(t,e,r),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.forEach((function(t){return t(s,n.state)})))},v.prototype.dispatch=function(t,e){var r=this,n=A(t,e),i=n.type,o=n.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.filter((function(t){return t.before})).forEach((function(t){return t.before(a,r.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return c.then((function(t){try{r._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,r.state)}))}catch(u){0}return t}))}},v.prototype.subscribe=function(t){return b(t,this._subscribers)},v.prototype.subscribeAction=function(t){var e="function"===typeof t?{before:t}:t;return b(e,this._actionSubscribers)},v.prototype.watch=function(t,e,r){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,r)},v.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},v.prototype.registerModule=function(t,e,r){void 0===r&&(r={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),_(this,this.state,t,this._modules.get(t),r.preserveState),m(this,this.state)},v.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var r=T(e.state,t.slice(0,-1));p.delete(r,t[t.length-1])})),g(this)},v.prototype.hotUpdate=function(t){this._modules.update(t),g(this,!0)},v.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(v.prototype,y);var M=D((function(t,e){var r={};return B(e).forEach((function(e){var n=e.key,i=e.val;r[n]=function(){var e=this.$store.state,r=this.$store.getters;if(t){var n=N(this.$store,"mapState",t);if(!n)return;e=n.context.state,r=n.context.getters}return"function"===typeof i?i.call(this,e,r):e[i]},r[n].vuex=!0})),r})),j=D((function(t,e){var r={};return B(e).forEach((function(e){var n=e.key,i=e.val;r[n]=function(){var e=[],r=arguments.length;while(r--)e[r]=arguments[r];var n=this.$store.commit;if(t){var o=N(this.$store,"mapMutations",t);if(!o)return;n=o.context.commit}return"function"===typeof i?i.apply(this,[n].concat(e)):n.apply(this.$store,[i].concat(e))}})),r})),P=D((function(t,e){var r={};return B(e).forEach((function(e){var n=e.key,i=e.val;i=t+i,r[n]=function(){if(!t||N(this.$store,"mapGetters",t))return this.$store.getters[i]},r[n].vuex=!0})),r})),R=D((function(t,e){var r={};return B(e).forEach((function(e){var n=e.key,i=e.val;r[n]=function(){var e=[],r=arguments.length;while(r--)e[r]=arguments[r];var n=this.$store.dispatch;if(t){var o=N(this.$store,"mapActions",t);if(!o)return;n=o.context.dispatch}return"function"===typeof i?i.apply(this,[n].concat(e)):n.apply(this.$store,[i].concat(e))}})),r})),I=function(t){return{mapState:M.bind(null,t),mapGetters:P.bind(null,t),mapMutations:j.bind(null,t),mapActions:R.bind(null,t)}};function B(t){return L(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function L(t){return Array.isArray(t)||s(t)}function D(t){return function(e,r){return"string"!==typeof e?(r=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,r)}}function N(t,e,r){var n=t._modulesNamespaceMap[r];return n}var F={Store:v,install:O,version:"3.1.2",mapState:M,mapMutations:j,mapGetters:P,mapActions:R,createNamespacedHelpers:I};e["a"]=F}).call(this,r("c8ba"))},"2f97":function(t,e,r){var n=r("dfdb");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"2f9a":function(t,e){t.exports=function(){}},"2fe1":function(t,e,r){"use strict";r.r(e),r.d(e,"createDecorator",(function(){return u})),r.d(e,"mixins",(function(){return f}));var n=r("2b0e"),i="undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys; /** * vue-class-component v7.1.0 * (c) 2015-present Evan You * @license MIT */function o(t,e){a(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(r){a(t.prototype,e.prototype,r)})),Object.getOwnPropertyNames(e).forEach((function(r){a(t,e,r)}))}function a(t,e,r){var n=r?Reflect.getOwnMetadataKeys(e,r):Reflect.getOwnMetadataKeys(e);n.forEach((function(n){var i=r?Reflect.getOwnMetadata(n,e,r):Reflect.getOwnMetadata(n,e);r?Reflect.defineMetadata(n,i,t,r):Reflect.defineMetadata(n,i,t)}))}var s={__proto__:[]},c=s instanceof Array;function u(t){return function(e,r,n){var i="function"===typeof e?e:e.constructor;i.__decorators__||(i.__decorators__=[]),"number"!==typeof n&&(n=void 0),i.__decorators__.push((function(e){return t(e,r,n)}))}}function f(){for(var t=[],e=0;e-1)e[t]=r[t];else{var n=Object.getOwnPropertyDescriptor(r,t);void 0!==n.value?"function"===typeof n.value?(e.methods||(e.methods={}))[t]=n.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return e={},e[t]=n.value,e}}):(n.get||n.set)&&((e.computed||(e.computed={}))[t]={get:n.get,set:n.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return h(this,t)}});var a=t.__decorators__;a&&(a.forEach((function(t){return t(e)})),delete t.__decorators__);var s=Object.getPrototypeOf(t.prototype),c=s instanceof n["default"]?s.constructor:n["default"],u=c.extend(e);return y(u,t,c),i&&o(u,t),u}var v={prototype:!0,arguments:!0,callee:!0,caller:!0};function y(t,e,r){Object.getOwnPropertyNames(e).forEach((function(n){if(!v[n]){var i=Object.getOwnPropertyDescriptor(t,n);if(!i||i.configurable){var o=Object.getOwnPropertyDescriptor(e,n);if(!c){if("cid"===n)return;var a=Object.getOwnPropertyDescriptor(r,n);if(!l(o.value)&&a&&a.value===o.value)return}0,Object.defineProperty(t,n,o)}}}))}function b(t){return"function"===typeof t?p(t):function(e){return p(e,t)}}b.registerHooks=function(t){d.push.apply(d,t)},e["default"]=b},"301c":function(t,e,r){r("e198")("asyncIterator")},"302b":function(t,e,r){var n=r("c1b2"),i=r("06fa"),o=r("78e7"),a=Object.defineProperty,s=function(t){throw t};t.exports=function(t,e){e||(e={});var r=[][t],c=!!o(e,"ACCESSORS")&&e.ACCESSORS,u=o(e,0)?e[0]:s,f=o(e,1)?e[1]:void 0;return!!r&&!i((function(){if(c&&!n)return!0;var t={length:-1},e=function(e){c?a(t,e,{enumerable:!0,get:s}):t[e]=1};e(1),e(2147483646),e(4294967294),r.call(t,u,f)}))}},"30b5":function(t,e,r){"use strict";var n=r("c532");function i(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,r){if(!e)return t;var o;if(r)o=r(e);else if(n.isURLSearchParams(e))o=e.toString();else{var a=[];n.forEach(e,(function(t,e){null!==t&&"undefined"!==typeof t&&(n.isArray(t)?e+="[]":t=[t],n.forEach(t,(function(t){n.isDate(t)?t=t.toISOString():n.isObject(t)&&(t=JSON.stringify(t)),a.push(i(e)+"="+i(t))})))})),o=a.join("&")}if(o){var s=t.indexOf("#");-1!==s&&(t=t.slice(0,s)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},3397:function(t,e,r){var n=r("7a41");t.exports=function(t,e){if(!n(t))return t;var r,i;if(e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;if("function"==typeof(r=t.valueOf)&&!n(i=r.call(t)))return i;if(!e&&"function"==typeof(r=t.toString)&&!n(i=r.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},3410:function(t,e,r){var n=r("23e7"),i=r("d039"),o=r("7b0b"),a=r("e163"),s=r("e177"),c=i((function(){a(1)}));n({target:"Object",stat:!0,forced:c,sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},"342f":function(t,e,r){var n=r("d066");t.exports=n("navigator","userAgent")||""},"35a1":function(t,e,r){var n=r("f5df"),i=r("3f8c"),o=r("b622"),a=o("iterator");t.exports=function(t){if(void 0!=t)return t[a]||t["@@iterator"]||i[n(t)]}},"373a":function(t,e,r){var n=r("2364");t.exports=n},"37e8":function(t,e,r){var n=r("83ab"),i=r("9bf2"),o=r("825a"),a=r("df75");t.exports=n?Object.defineProperties:function(t,e){o(t);var r,n=a(e),s=n.length,c=0;while(s>c)i.f(t,r=n[c++],e[r]);return t}},"387f":function(t,e,r){"use strict";t.exports=function(t,e,r,n,i){return t.config=e,r&&(t.code=r),t.request=n,t.response=i,t.isAxiosError=!0,t.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},t}},3934:function(t,e,r){"use strict";var n=r("c532"),i=r("6dc0");t.exports=n.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(t){var n=t;if(i(t))throw new Error("URL contains XSS injection attempt");return e&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return t=o(window.location.href),function(e){var r=n.isString(e)?o(e):e;return r.protocol===t.protocol&&r.host===t.host}}():function(){return function(){return!0}}()},"393a":function(t,e,r){"use strict";var n=r("e444"),i=r("512c"),o=r("ba01"),a=r("051b"),s=r("8a0d"),c=r("26dd"),u=r("92f0"),f=r("ce7a"),l=r("cc15")("iterator"),h=!([].keys&&"next"in[].keys()),d="@@iterator",p="keys",v="values",y=function(){return this};t.exports=function(t,e,r,b,g,m,_){c(r,e,b);var w,S,k,x=function(t){if(!h&&t in A)return A[t];switch(t){case p:return function(){return new r(this,t)};case v:return function(){return new r(this,t)}}return function(){return new r(this,t)}},E=e+" Iterator",C=g==v,T=!1,A=t.prototype,O=A[l]||A[d]||g&&A[g],M=O||x(g),j=g?C?x("entries"):M:void 0,P="Array"==e&&A.entries||O;if(P&&(k=f(P.call(new t)),k!==Object.prototype&&k.next&&(u(k,E,!0),n||"function"==typeof k[l]||a(k,l,y))),C&&O&&O.name!==v&&(T=!0,M=function(){return O.call(this)}),n&&!_||!h&&!T&&A[l]||a(A,l,M),s[e]=M,s[E]=y,g)if(w={values:C?M:x(v),keys:m?M:x(p),entries:j},_)for(S in w)S in A||o(A,S,w[S]);else i(i.P+i.F*(h||T),e,w);return w}},"39ad":function(t,e,r){var n=r("6ca1"),i=r("d16a"),o=r("9d11");t.exports=function(t){return function(e,r,a){var s,c=n(e),u=i(c.length),f=o(a,u);if(t&&r!=r){while(u>f)if(s=c[f++],s!=s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===r)return t||f||0;return!t&&-1}}},"3ac6":function(t,e,r){(function(e){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e&&e)||Function("return this")()}).call(this,r("c8ba"))},"3bbe":function(t,e,r){var n=r("861d");t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"3c4e":function(t,e,r){"use strict";var n=function(t){return i(t)&&!o(t)};function i(t){return!!t&&"object"===typeof t}function o(t){var e=Object.prototype.toString.call(t);return"[object RegExp]"===e||"[object Date]"===e||c(t)}var a="function"===typeof Symbol&&Symbol.for,s=a?Symbol.for("react.element"):60103;function c(t){return t.$$typeof===s}function u(t){return Array.isArray(t)?[]:{}}function f(t,e){var r=e&&!0===e.clone;return r&&n(t)?d(u(t),t,e):t}function l(t,e,r){var i=t.slice();return e.forEach((function(e,o){"undefined"===typeof i[o]?i[o]=f(e,r):n(e)?i[o]=d(t[o],e,r):-1===t.indexOf(e)&&i.push(f(e,r))})),i}function h(t,e,r){var i={};return n(t)&&Object.keys(t).forEach((function(e){i[e]=f(t[e],r)})),Object.keys(e).forEach((function(o){n(e[o])&&t[o]?i[o]=d(t[o],e[o],r):i[o]=f(e[o],r)})),i}function d(t,e,r){var n=Array.isArray(e),i=Array.isArray(t),o=r||{arrayMerge:l},a=n===i;if(a){if(n){var s=o.arrayMerge||l;return s(t,e,r)}return h(t,e,r)}return f(e,r)}d.all=function(t,e){if(!Array.isArray(t)||t.length<2)throw new Error("first argument should be an array with at least two elements");return t.reduce((function(t,r){return d(t,r,e)}))};var p=d;t.exports=p},"3ca3":function(t,e,r){"use strict";var n=r("6547").charAt,i=r("69f3"),o=r("7dd0"),a="String Iterator",s=i.set,c=i.getterFor(a);o(String,"String",(function(t){s(this,{type:a,string:String(t),index:0})}),(function(){var t,e=c(this),r=e.string,i=e.index;return i>=r.length?{value:void 0,done:!0}:(t=n(r,i),e.index+=t.length,{value:t,done:!1})}))},"3d33":function(t,e,r){ /** * @license * Video.js 6.13.0 * Copyright Brightcove, Inc. * Available under Apache License Version 2.0 * * * Includes vtt.js * Available under Apache License Version 2.0 * */ function n(t){return t&&"object"===typeof t&&"default"in t?t["default"]:t}var i=n(r("be09")),o=n(r("ef34")),a=n(r("1b8d")),s=n(r("8c10")),c=n(r("eec7")),u=n(r("2b8c")),f="6.13.0",l=i.navigator&&i.navigator.userAgent||"",h=/AppleWebKit\/([\d.]+)/i.exec(l),d=h?parseFloat(h.pop()):null,p=/iPad/i.test(l),v=/iPhone/i.test(l)&&!p,y=/iPod/i.test(l),b=v||p||y,g=function(){var t=l.match(/OS (\d+)_/i);return t&&t[1]?t[1]:null}(),m=/Android/i.test(l),_=function(){var t=l.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i);if(!t)return null;var e=t[1]&&parseFloat(t[1]),r=t[2]&&parseFloat(t[2]);return e&&r?parseFloat(t[1]+"."+t[2]):e||null}(),w=m&&/webkit/i.test(l)&&_<2.3,S=m&&_<5&&d<537,k=/Firefox/i.test(l),x=/Edge/i.test(l),E=!x&&(/Chrome/i.test(l)||/CriOS/i.test(l)),C=function(){var t=l.match(/(Chrome|CriOS)\/(\d+)/);return t&&t[2]?parseFloat(t[2]):null}(),T=/MSIE\s8\.0/.test(l),A=function(){var t=/MSIE\s(\d+)\.\d/.exec(l),e=t&&parseFloat(t[1]);return!e&&/Trident\/7.0/i.test(l)&&/rv:11.0/.test(l)&&(e=11),e}(),O=/Safari/i.test(l)&&!E&&!m&&!x,M=(O||b)&&!E,j=rt()&&("ontouchstart"in i||i.navigator.maxTouchPoints||i.DocumentTouch&&i.document instanceof i.DocumentTouch),P=rt()&&"backgroundSize"in i.document.createElement("video").style,R=(Object.freeze||Object)({IS_IPAD:p,IS_IPHONE:v,IS_IPOD:y,IS_IOS:b,IOS_VERSION:g,IS_ANDROID:m,ANDROID_VERSION:_,IS_OLD_ANDROID:w,IS_NATIVE_ANDROID:S,IS_FIREFOX:k,IS_EDGE:x,IS_CHROME:E,CHROME_VERSION:C,IS_IE8:T,IE_VERSION:A,IS_SAFARI:O,IS_ANY_SAFARI:M,TOUCH_ENABLED:j,BACKGROUND_SIZE_SUPPORTED:P}),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},B=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},L=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)},D=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},N=function(t,e){return t.raw=e,t},F=Object.prototype.toString,z=function(t){return H(t)?Object.keys(t):[]};function U(t,e){z(t).forEach((function(r){return e(t[r],r)}))}function $(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return z(t).reduce((function(r,n){return e(r,t[n],n)}),r)}function q(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:"div",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=arguments[3],i=o.createElement(t);return Object.getOwnPropertyNames(e).forEach((function(t){var r=e[t];-1!==t.indexOf("aria-")||"role"===t||"type"===t?(G.warn(a(Z,t,r)),i.setAttribute(t,r)):"textContent"===t?st(i,r):i[t]=r})),Object.getOwnPropertyNames(r).forEach((function(t){i.setAttribute(t,r[t])})),n&&Ct(i,n),i}function st(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 ut(t,e){return tt(e),t.classList?t.classList.contains(e):et(e).test(t.className)}function ft(t,e){return t.classList?t.classList.add(e):ut(t,e)||(t.className=(t.className+" "+e).trim()),t}function lt(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,r){var n=ut(t,e);if("function"===typeof r&&(r=r(t,e)),"boolean"!==typeof r&&(r=!n),r!==n)return r?ft(t,e):lt(t,e),t}function dt(t,e){Object.getOwnPropertyNames(e).forEach((function(r){var n=e[r];null===n||"undefined"===typeof n||!1===n?t.removeAttribute(r):t.setAttribute(r,!0===n?"":n)}))}function pt(t){var e={},r=",autoplay,controls,playsinline,loop,muted,default,defaultMuted,";if(t&&t.attributes&&t.attributes.length>0)for(var n=t.attributes,i=n.length-1;i>=0;i--){var o=n[i].name,a=n[i].value;"boolean"!==typeof t[o]&&-1===r.indexOf(","+o+",")||(a=null!==a),e[o]=a}return e}function vt(t,e){return t.getAttribute(e)}function yt(t,e,r){t.setAttribute(e,r)}function bt(t,e){t.removeAttribute(e)}function gt(){o.body.focus(),o.onselectstart=function(){return!1}}function mt(){o.onselectstart=function(){return!0}}function _t(t){if(t&&t.getBoundingClientRect&&t.parentNode){var e=t.getBoundingClientRect(),r={};return["bottom","height","left","right","top","width"].forEach((function(t){void 0!==e[t]&&(r[t]=e[t])})),r.height||(r.height=parseFloat(J(t,"height"))),r.width||(r.width=parseFloat(J(t,"width"))),r}}function wt(t){var e=void 0;if(t.getBoundingClientRect&&t.parentNode&&(e=t.getBoundingClientRect()),!e)return{left:0,top:0};var r=o.documentElement,n=o.body,a=r.clientLeft||n.clientLeft||0,s=i.pageXOffset||n.scrollLeft,c=e.left+s-a,u=r.clientTop||n.clientTop||0,f=i.pageYOffset||n.scrollTop,l=e.top+f-u;return{left:Math.round(c),top:Math.round(l)}}function St(t,e){var r={},n=wt(t),i=t.offsetWidth,o=t.offsetHeight,a=n.top,s=n.left,c=e.pageY,u=e.pageX;return e.changedTouches&&(u=e.changedTouches[0].pageX,c=e.changedTouches[0].pageY),r.y=Math.max(0,Math.min(1,(a-c+o)/o)),r.x=Math.max(0,Math.min(1,(u-s)/i)),r}function kt(t){return H(t)&&3===t.nodeType}function xt(t){while(t.firstChild)t.removeChild(t.firstChild);return t}function Et(t){return"function"===typeof t&&(t=t()),(Array.isArray(t)?t:[t]).map((function(t){return"function"===typeof t&&(t=t()),nt(t)||kt(t)?t:"string"===typeof t&&/\S/.test(t)?o.createTextNode(t):void 0})).filter((function(t){return t}))}function Ct(t,e){return Et(e).forEach((function(e){return t.appendChild(e)})),t}function Tt(t,e){return Ct(xt(t),e)}function At(t){return void 0===t.button&&void 0===t.buttons||(0===t.button&&void 0===t.buttons||(9===A||0===t.button&&1===t.buttons))}var Ot=ot("querySelector"),Mt=ot("querySelectorAll"),jt=(Object.freeze||Object)({isReal:rt,isEl:nt,isInFrame:it,createEl:at,textContent:st,prependTo:ct,hasClass:ut,addClass:ft,removeClass:lt,toggleClass:ht,setAttributes:dt,getAttributes:pt,getAttribute:vt,setAttribute:yt,removeAttribute:bt,blockTextSelection:gt,unblockTextSelection:mt,getBoundingClientRect:_t,findPosition:wt,getPointerPosition:St,isTextNode:kt,emptyEl:xt,normalizeContent:Et,appendContent:Ct,insertContent:Tt,isSingleLeftClick:At,$:Ot,$$:Mt}),Pt=1;function Rt(){return Pt++}var It={},Bt="vdata"+(new Date).getTime();function Lt(t){var e=t[Bt];return e||(e=t[Bt]=Rt()),It[e]||(It[e]={}),It[e]}function Dt(t){var e=t[Bt];return!!e&&!!Object.getOwnPropertyNames(It[e]).length}function Nt(t){var e=t[Bt];if(e){delete It[e];try{delete t[Bt]}catch(r){t.removeAttribute?t.removeAttribute(Bt):t[Bt]=null}}}function Ft(t,e){var r=Lt(t);0===r.handlers[e].length&&(delete r.handlers[e],t.removeEventListener?t.removeEventListener(e,r.dispatcher,!1):t.detachEvent&&t.detachEvent("on"+e,r.dispatcher)),Object.getOwnPropertyNames(r.handlers).length<=0&&(delete r.handlers,delete r.dispatcher,delete r.disabled),0===Object.getOwnPropertyNames(r).length&&Nt(t)}function zt(t,e,r,n){r.forEach((function(r){t(e,r,n)}))}function Ut(t){function e(){return!0}function r(){return!1}if(!t||!t.isPropagationStopped){var n=t||i.event;for(var a in t={},n)"layerX"!==a&&"layerY"!==a&&"keyLocation"!==a&&"webkitMovementX"!==a&&"webkitMovementY"!==a&&("returnValue"===a&&n.preventDefault||(t[a]=n[a]));if(t.target||(t.target=t.srcElement||o),t.relatedTarget||(t.relatedTarget=t.fromElement===t.target?t.toElement:t.fromElement),t.preventDefault=function(){n.preventDefault&&n.preventDefault(),t.returnValue=!1,n.returnValue=!1,t.defaultPrevented=!0},t.defaultPrevented=!1,t.stopPropagation=function(){n.stopPropagation&&n.stopPropagation(),t.cancelBubble=!0,n.cancelBubble=!0,t.isPropagationStopped=e},t.isPropagationStopped=r,t.stopImmediatePropagation=function(){n.stopImmediatePropagation&&n.stopImmediatePropagation(),t.isImmediatePropagationStopped=e,t.stopPropagation()},t.isImmediatePropagationStopped=r,null!==t.clientX&&void 0!==t.clientX){var s=o.documentElement,c=o.body;t.pageX=t.clientX+(s&&s.scrollLeft||c&&c.scrollLeft||0)-(s&&s.clientLeft||c&&c.clientLeft||0),t.pageY=t.clientY+(s&&s.scrollTop||c&&c.scrollTop||0)-(s&&s.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 $t=!1;(function(){try{var t=Object.defineProperty({},"passive",{get:function(){$t=!0}});i.addEventListener("test",null,t),i.removeEventListener("test",null,t)}catch(e){}})();var qt=["touchstart","touchmove"];function Ht(t,e,r){if(Array.isArray(e))return zt(Ht,t,e,r);var n=Lt(t);if(n.handlers||(n.handlers={}),n.handlers[e]||(n.handlers[e]=[]),r.guid||(r.guid=Rt()),n.handlers[e].push(r),n.dispatcher||(n.disabled=!1,n.dispatcher=function(e,r){if(!n.disabled){e=Ut(e);var i=n.handlers[e.type];if(i)for(var o=i.slice(0),a=0,s=o.length;a-1&&(i={passive:!0}),t.addEventListener(e,n.dispatcher,i)}else t.attachEvent&&t.attachEvent("on"+e,n.dispatcher)}function Vt(t,e,r){if(Dt(t)){var n=Lt(t);if(n.handlers){if(Array.isArray(e))return zt(Vt,t,e,r);var i=function(t,e){n.handlers[e]=[],Ft(t,e)};if(void 0!==e){var o=n.handlers[e];if(o)if(r){if(r.guid)for(var a=0;a0)for(var i=0,a=t.length;i0)for(var s=0,c=e.length;s0)for(var u=0,f=r.length;u0)for(var l=0,h=n.length;l=e&&(t.apply(void 0,arguments),r=n)};return n},ne=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:i,o=void 0,a=function(){n.clearTimeout(o),o=null},s=function(){var i=this,a=arguments,s=function(){o=null,s=null,r||t.apply(i,a)};!o&&r&&t.apply(i,a),n.clearTimeout(o),o=n.setTimeout(s,e)};return s.cancel=a,s},ie=function(){};ie.prototype.allowedEvents_={},ie.prototype.on=function(t,e){var r=this.addEventListener;this.addEventListener=function(){},Ht(this,t,e),this.addEventListener=r},ie.prototype.addEventListener=ie.prototype.on,ie.prototype.off=function(t,e){Vt(this,t,e)},ie.prototype.removeEventListener=ie.prototype.off,ie.prototype.one=function(t,e){var r=this.addEventListener;this.addEventListener=function(){},Kt(this,t,e),this.addEventListener=r},ie.prototype.trigger=function(t){var e=t.type||t;"string"===typeof t&&(t={type:e}),t=Ut(t),this.allowedEvents_[e]&&this["on"+e]&&this["on"+e](t),Wt(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]}))},ae=function(t){return"string"===typeof t&&/\S/.test(t)||Array.isArray(t)&&!!t.length},se=function(t){if(!t.nodeName&&!oe(t))throw new Error("Invalid target; must be a DOM node or evented object.")},ce=function(t){if(!ae(t))throw new Error("Invalid event type; must be a non-empty string or array.")},ue=function(t){if("function"!==typeof t)throw new Error("Invalid listener; must be a function.")},fe=function(t,e){var r=e.length<3||e[0]===t||e[0]===t.eventBusEl_,n=void 0,i=void 0,o=void 0;return r?(n=t.eventBusEl_,e.length>=3&&e.shift(),i=e[0],o=e[1]):(n=e[0],i=e[1],o=e[2]),se(n),ce(i),ue(o),o=ee(t,o),{isTargetingSelf:r,target:n,type:i,listener:o}},le=function(t,e,r,n){se(t),t.nodeName?Xt[e](t,r,n):t[e](r,n)},he={on:function(){for(var t=this,e=arguments.length,r=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=e.eventBusKey;if(r){if(!t[r].nodeName)throw new Error('The eventBusKey "'+r+'" does not refer to an element.');t.eventBusEl_=t[r]}else t.eventBusEl_=at("span",{className:"vjs-event-bus"});return q(t,he),t.on("dispose",(function(){t.off(),i.setTimeout((function(){t.eventBusEl_=null}),0)})),t}var pe={state:{},setState:function(t){var e=this;"function"===typeof t&&(t=t());var r=void 0;return U(t,(function(t,n){e.state[n]!==t&&(r=r||{},r[n]={from:e.state[n],to:t}),e.state[n]=t})),r&&oe(this)&&this.trigger({changes:r,type:"statechanged"}),r}};function ve(t,e){return q(t,pe),t.state=q({},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 be(t,e){return ye(t)===ye(e)}function ge(){for(var t={},e=arguments.length,r=Array(e),n=0;n=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_),Nt(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_=ge(this.options_,t),this.options_):this.options_},t.prototype.el=function(){return this.el_},t.prototype.createEl=function(t,e,r){return at(t,e,r)},t.prototype.localize=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=this.player_.language&&this.player_.language(),i=this.player_.languages&&this.player_.languages(),o=i&&i[n],a=n&&n.split("-")[0],s=i&&i[a],c=r;return o&&o[t]?c=o[t]:s&&s[t]&&(c=s[t]),e&&(c=c.replace(/\{(\d+)\}/g,(function(t,r){var n=e[r-1],i=n;return"undefined"===typeof n&&(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 r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=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 a=r.componentClass||o;r.name=o;var s=t.getComponent(a);if(!s)throw new Error("Component "+a+" does not exist");if("function"!==typeof s)return null;i=new s(this.player_||this,r)}else i=e;if(this.children_.splice(n,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,u=c[n]||null;this.contentEl().insertBefore(i.el(),u)}return i},t.prototype.removeChild=function(t){if("string"===typeof t&&(t=this.getChild(t)),t&&this.children_){for(var e=!1,r=this.children_.length-1;r>=0;r--)if(this.children_[r]===t){e=!0,this.children_.splice(r,1);break}if(e){this.childIndex_[t.id()]=null,this.childNameIndex_[t.name()]=null;var n=t.el();n&&n.parentNode===this.contentEl()&&this.contentEl().removeChild(t.el())}}},t.prototype.initChildren=function(){var e=this,r=this.options_.children;if(r){var n=this.options_,i=function(t){var r=t.name,i=t.opts;if(void 0!==n[r]&&(i=n[r]),!1!==i){!0===i&&(i={}),i.playerOptions=e.options_.playerOptions;var o=e.addChild(r,i);o&&(e[r]=o)}},o=void 0,a=t.getComponent("Tech");o=Array.isArray(r)?r:Object.keys(r),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 n=void 0,i=void 0;return"string"===typeof t?(n=t,i=r[n]||e.options_[n]||{}):(n=t.name,i=t),{name:n,opts:i}})).filter((function(e){var r=t.getComponent(e.opts.componentClass||ye(e.name));return r&&!a.isTech(r)})).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 Mt(t,e||this.contentEl())},t.prototype.hasClass=function(t){return ut(this.el_,t)},t.prototype.addClass=function(t){ft(this.el_,t)},t.prototype.removeClass=function(t){lt(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){bt(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,r){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(r||this.trigger("componentresize"));if(!this.el_)return 0;var n=this.el_.style[t],i=n.indexOf("px");return-1!==i?parseInt(n.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 r=i.getComputedStyle(this.el_);e=r.getPropertyValue(t)||r[t]}if(e=parseFloat(e),0===e){var n="offset"+ye(t);e=this.el_[n]}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,r=10,n=200,i=void 0;this.on("touchstart",(function(r){1===r.touches.length&&(e={pageX:r.touches[0].pageX,pageY:r.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 n=t.touches[0].pageX-e.pageX,o=t.touches[0].pageY-e.pageY,a=Math.sqrt(n*n+o*o);a>r&&(i=!1)}}));var o=function(){i=!1};this.on("touchleave",o),this.on("touchcancel",o),this.on("touchend",(function(r){if(e=null,!0===i){var o=(new Date).getTime()-t;o0&&u.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]=r,r},t.getComponent=function(e){if(e)return e=ye(e),t.components_&&t.components_[e]?t.components_[e]:void 0},t}();function _e(t,e,r){if("number"!==typeof e||e<0||e>r)throw new Error("Failed to execute '"+t+"' on 'TimeRanges': The index provided ("+e+") is non-numeric or out of bounds (0-"+r+").")}function we(t,e,r,n){return _e(t,n,r.length-1),r[n][e]}function Se(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 ke(t,e){return Array.isArray(t)?Se(t):void 0===t||void 0===e?Se():Se([[t,e]])}function xe(t,e){var r=0,n=void 0,i=void 0;if(!e)return 0;t&&t.length||(t=ke(0,0));for(var o=0;oe&&(i=e),r+=i-n;return r/e}me.prototype.supportsRaf_="function"===typeof i.requestAnimationFrame&&"function"===typeof i.cancelAnimationFrame,me.registerComponent("Component",me);for(var Ee={},Ce=[["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"]],Te=Ce[0],Ae=void 0,Oe=0;Oe0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;B(this,e);var a=D(this,t.call(this));if(!i&&(i=a,T))for(var s in i=o.createElement("custom"),e.prototype)"constructor"!==s&&(i[s]=e.prototype[s]);i.tracks_=[],Object.defineProperty(i,"length",{get:function(){return this.tracks_.length}});for(var c=0;c0&&void 0!==arguments[0]?arguments[0]:[];B(this,e);for(var a=void 0,s=i.length-1;s>=0;s--)if(i[s].enabled){He(i,i[s]);break}if(T){for(var c in a=o.createElement("custom"),$e.prototype)"constructor"!==c&&(a[c]=$e.prototype[c]);for(var u in e.prototype)"constructor"!==u&&(a[u]=e.prototype[u])}return r=D(this,t.call(this,i,a)),a=r,a.changing_=!1,n=a,D(r,n)}return L(e,t),e.prototype.addTrack=function(e){var r=this;e.enabled&&He(this,e),t.prototype.addTrack.call(this,e),e.addEventListener&&e.addEventListener("enabledchange",(function(){r.changing_||(r.changing_=!0,He(r,e),r.changing_=!1,r.trigger("change"))}))},e}($e),We=function(t,e){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:[];B(this,e);for(var a=void 0,s=i.length-1;s>=0;s--)if(i[s].selected){We(i,i[s]);break}if(T){for(var c in a=o.createElement("custom"),$e.prototype)"constructor"!==c&&(a[c]=$e.prototype[c]);for(var u in e.prototype)"constructor"!==u&&(a[u]=e.prototype[u])}return r=D(this,t.call(this,i,a)),a=r,a.changing_=!1,Object.defineProperty(a,"selectedIndex",{get:function(){for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:[];B(this,e);var a=void 0;if(T){for(var s in a=o.createElement("custom"),$e.prototype)"constructor"!==s&&(a[s]=$e.prototype[s]);for(var c in e.prototype)"constructor"!==c&&(a[c]=e.prototype[c])}return r=D(this,t.call(this,i,a)),a=r,n=a,D(r,n)}return L(e,t),e.prototype.addTrack=function(e){t.prototype.addTrack.call(this,e),e.addEventListener("modechange",ee(this,(function(){this.trigger("change")})));var r=["metadata","chapters"];-1===r.indexOf(e.kind)&&e.addEventListener("modechange",ee(this,(function(){this.trigger("selectedlanguagechange")})))},e}($e),Ge=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];B(this,t);var r=this;if(T)for(var n in r=o.createElement("custom"),t.prototype)"constructor"!==n&&(r[n]=t.prototype[n]);r.trackElements_=[],Object.defineProperty(r,"length",{get:function(){return this.trackElements_.length}});for(var i=0,a=e.length;i0&&void 0!==arguments[0]?arguments[0]:{};B(this,e);var i=D(this,t.call(this)),a=i;if(T)for(var s in a=o.createElement("custom"),e.prototype)"constructor"!==s&&(a[s]=e.prototype[s]);var c={id:n.id||"vjs_track_"+Rt(),kind:n.kind||"",label:n.label||"",language:n.language||""},u=function(t){Object.defineProperty(a,t,{get:function(){return c[t]},set:function(){}})};for(var f in c)u(f);return r=a,D(i,r)}return L(e,t),e}(ie),rr=function(t){var e=["protocol","hostname","port","pathname","search","hash","host"],r=o.createElement("a");r.href=t;var n=""===r.host&&"file:"!==r.protocol,a=void 0;n&&(a=o.createElement("div"),a.innerHTML='',r=a.firstChild,a.setAttribute("style","display:none; position:absolute;"),o.body.appendChild(a));for(var s={},c=0;cx',t=e.firstChild.href}return t},ir=function(t){if("string"===typeof t){var e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i,r=e.exec(t);if(r)return r.pop().toLowerCase()}return""},or=function(t){var e=i.location,r=rr(t),n=":"===r.protocol?e.protocol:r.protocol,o=n+r.host!==e.protocol+e.host;return o},ar=(Object.freeze||Object)({parseUrl:rr,getAbsoluteURL:nr,getFileExtension:ir,isCrossOrigin:or}),sr=function(t,e){var r=new i.WebVTT.Parser(i,i.vttjs,i.WebVTT.StringDecoder()),n=[];r.oncue=function(t){e.addCue(t)},r.onparsingerror=function(t){n.push(t)},r.onflush=function(){e.trigger({type:"loadeddata",target:e})},r.parse(t),n.length>0&&(i.console&&i.console.groupCollapsed&&i.console.groupCollapsed("Text Track parsing errors for "+e.src),n.forEach((function(t){return G.error(t)})),i.console&&i.console.groupEnd&&i.console.groupEnd()),r.flush()},cr=function(t,e){var r={uri:t},n=or(t);n&&(r.cors=n),c(r,ee(this,(function(t,r,n){if(t)return G.error(t,r);if(e.loaded_=!0,"function"!==typeof i.WebVTT){if(e.tech_){var o=function(){return sr(n,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 sr(n,e)})))},ur=function(t){function e(){var r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(B(this,e),!i.tech)throw new Error("A tech was not provided.");var o=ge(i,{kind:Qe[i.kind]||"subtitles",language:i.language||i.srclang||""}),a=tr[o.mode]||"disabled",s=o["default"];"metadata"!==o.kind&&"chapters"!==o.kind||(a="hidden");var c=(r=D(this,t.call(this,o)),r);if(c.tech_=o.tech,T)for(var u in e.prototype)"constructor"!==u&&(c[u]=e.prototype[u]);c.cues_=[],c.activeCues_=[];var f=new Ye(c.cues_),l=new Ye(c.activeCues_),h=!1,d=ee(c,(function(){this.activeCues=this.activeCues,h&&(this.trigger("cuechange"),h=!1)}));return"disabled"!==a&&c.tech_.ready((function(){c.tech_.on("timeupdate",d)}),!0),Object.defineProperty(c,"default",{get:function(){return s},set:function(){}}),Object.defineProperty(c,"mode",{get:function(){return a},set:function(t){var e=this;tr[t]&&(a=t,"disabled"!==a?this.tech_.ready((function(){e.tech_.on("timeupdate",d)}),!0):this.tech_.off("timeupdate",d),this.trigger("modechange"))}}),Object.defineProperty(c,"cues",{get:function(){return this.loaded_?f:null},set:function(){}}),Object.defineProperty(c,"activeCues",{get:function(){if(!this.loaded_)return null;if(0===this.cues.length)return l;for(var t=this.tech_.currentTime(),e=[],r=0,n=this.cues.length;r=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;o0&&void 0!==arguments[0]?arguments[0]:{};B(this,e);var o=ge(i,{kind:Ze[i.kind]||""}),a=(r=D(this,t.call(this,o)),r),s=!1;if(T)for(var c in e.prototype)"constructor"!==c&&(a[c]=e.prototype[c]);return Object.defineProperty(a,"enabled",{get:function(){return s},set:function(t){"boolean"===typeof t&&t!==s&&(s=t,this.trigger("enabledchange"))}}),o.enabled&&(a.enabled=o.enabled),a.loaded_=!0,n=a,D(r,n)}return L(e,t),e}(er),lr=function(t){function e(){var r,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};B(this,e);var o=ge(i,{kind:Je[i.kind]||""}),a=(r=D(this,t.call(this,o)),r),s=!1;if(T)for(var c in e.prototype)"constructor"!==c&&(a[c]=e.prototype[c]);return Object.defineProperty(a,"selected",{get:function(){return s},set:function(t){"boolean"===typeof t&&t!==s&&(s=t,this.trigger("selectedchange"))}}),o.selected&&(a.selected=o.selected),n=a,D(r,n)}return L(e,t),e}(er),hr=0,dr=1,pr=2,vr=3,yr=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};B(this,e);var n=D(this,t.call(this)),i=void 0,a=n;if(T)for(var s in a=o.createElement("custom"),e.prototype)"constructor"!==s&&(a[s]=e.prototype[s]);var c,u=new ur(r);return a.kind=u.kind,a.src=u.src,a.srclang=u.language,a.label=u.label,a["default"]=u["default"],Object.defineProperty(a,"readyState",{get:function(){return i}}),Object.defineProperty(a,"track",{get:function(){return u}}),i=hr,u.addEventListener("loadeddata",(function(){i=pr,a.trigger({type:"load",target:a})})),T?(c=a,D(n,c)):n}return L(e,t),e}(ie);yr.prototype.allowedEvents_={load:"load"},yr.NONE=hr,yr.LOADING=dr,yr.LOADED=pr,yr.ERROR=vr;var br={audio:{ListClass:Ve,TrackClass:fr,capitalName:"Audio"},video:{ListClass:Ke,TrackClass:lr,capitalName:"Video"},text:{ListClass:Xe,TrackClass:ur,capitalName:"Text"}};Object.keys(br).forEach((function(t){br[t].getterName=t+"Tracks",br[t].privateName=t+"Tracks_"}));var gr={remoteText:{ListClass:Xe,TrackClass:ur,capitalName:"RemoteText",getterName:"remoteTextTracks",privateName:"remoteTextTracks_"},remoteTextEl:{ListClass:Ge,TrackClass:yr,capitalName:"RemoteTextTrackEls",getterName:"remoteTextTrackEls",privateName:"remoteTextTrackEls_"}},mr=ge(br,gr);function _r(t,e,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=t.textTracks();i.kind=e,r&&(i.label=r),n&&(i.language=n),i.tech=t;var a=new mr.text.TrackClass(i);return o.addTrack(a),a}gr.names=Object.keys(gr),br.names=Object.keys(br),mr.names=[].concat(gr.names).concat(br.names);var wr=function(t){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};B(this,e),r.reportTouchActivity=!1;var i=D(this,t.call(this,null,r,n));return i.hasStarted_=!1,i.on("playing",(function(){this.hasStarted_=!0})),i.on("loadstart",(function(){this.hasStarted_=!1})),mr.names.forEach((function(t){var e=mr[t];r&&r[e.getterName]&&(i[e.privateName]=r[e.getterName])})),i.featuresProgressEvents||i.manualProgressOn(),i.featuresTimeupdateEvents||i.manualTimeUpdatesOn(),["Text","Audio","Video"].forEach((function(t){!1===r["native"+t+"Tracks"]&&(i["featuresNative"+t+"Tracks"]=!1)})),!1===r.nativeCaptions||!1===r.nativeTextTracks?i.featuresNativeTextTracks=!1:!0!==r.nativeCaptions&&!0!==r.nativeTextTracks||(i.featuresNativeTextTracks=!0),i.featuresNativeTextTracks||i.emulateTextTracks(),i.autoRemoteTextTracks_=new mr.text.ListClass,i.initTrackListeners(),r.nativeControlsForTouch||i.emitTapEvents(),i.constructor&&(i.name_=i.constructor.name||"Unknown Tech"),i}return L(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 ke(0,0)},e.prototype.bufferedPercent=function(){return xe(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(br.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 r=e[t+"Tracks"]()||[],n=r.length;while(n--){var i=r[n];"text"===t&&e.removeRemoteTextTrack(i),r.removeTrack(i)}}))},e.prototype.cleanupAutoTextTracks=function(){var t=this.autoRemoteTextTracks_||[],e=t.length;while(e--){var r=t[e];this.removeRemoteTextTrack(r)}},e.prototype.reset=function(){},e.prototype.error=function(t){return void 0!==t&&(this.error_=new je(t),this.trigger("error")),this.error_},e.prototype.played=function(){return this.hasStarted_?ke(0,0):ke()},e.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},e.prototype.initTrackListeners=function(){var t=this;br.names.forEach((function(e){var r=br[e],n=function(){t.trigger(e+"trackchange")},i=t[r.getterName]();i.addEventListener("removetrack",n),i.addEventListener("addtrack",n),t.on("dispose",(function(){i.removeEventListener("removetrack",n),i.removeEventListener("addtrack",n)}))}))},e.prototype.addWebVttScript_=function(){var t=this;if(!i.WebVTT)if(o.body.contains(this.el())){if(!this.options_["vtt.js"]&&V(u)&&Object.keys(u).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(),r=this.remoteTextTracks(),n=function(t){return e.addTrack(t.track)},i=function(t){return e.removeTrack(t.track)};r.on("addtrack",n),r.on("removetrack",i),this.addWebVttScript_();var o=function(){return t.trigger("texttrackchange")},a=function(){o();for(var t=0;t0&&void 0!==arguments[0]?arguments[0]:{},r=arguments[1],n=this.createRemoteTextTrack(e);return!0!==r&&!1!==r&&(G.warn('Calling addRemoteTextTrack without explicitly setting the "manualCleanup" parameter to `true` is deprecated and default to `false` in future version of video.js'),r=!0),this.remoteTextTrackEls().addTrackElement_(n),this.remoteTextTracks().addTrack(n.track),!0!==r&&this.ready((function(){return t.autoRemoteTextTracks_.addTrack(n.track)})),n},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,r){return e.canPlayType(t.type)},e.isTech=function(t){return t.prototype instanceof e||t instanceof e||t===e},e.registerTech=function(t,r){if(e.techs_||(e.techs_={}),!e.isTech(r))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]=r,"Tech"!==t&&e.defaultTechOrder_.push(t),r},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}(me);mr.names.forEach((function(t){var e=mr[t];wr.prototype[e.getterName]=function(){return this[e.privateName]=this[e.privateName]||new e.ListClass,this[e.privateName]}})),wr.prototype.featuresVolumeControl=!0,wr.prototype.featuresMuteControl=!0,wr.prototype.featuresFullscreenResize=!1,wr.prototype.featuresPlaybackRate=!1,wr.prototype.featuresProgressEvents=!1,wr.prototype.featuresSourceset=!1,wr.prototype.featuresTimeupdateEvents=!1,wr.prototype.featuresNativeTextTracks=!1,wr.withSourceHandlers=function(t){t.registerSourceHandler=function(e,r){var n=t.sourceHandlers;n||(n=t.sourceHandlers=[]),void 0===r&&(r=n.length),n.splice(r,0,e)},t.canPlayType=function(e){for(var r=t.sourceHandlers||[],n=void 0,i=0;i3&&void 0!==arguments[3]?arguments[3]:null,i="call"+ye(r),o=t.reduce(Ir(i),n),a=o===xr,s=a?null:e[r](o);return Br(t,r,s,a),s}var jr={buffered:1,currentTime:1,duration:1,seekable:1,played:1,paused:1},Pr={setCurrentTime:1},Rr={play:1,pause:1};function Ir(t){return function(e,r){return e===xr?xr:r[t]?r[t](e):e}}function Br(t,e,r,n){for(var i=t.length-1;i>=0;i--){var o=t[i];o[e]&&o[e](n,r)}}function Lr(t){kr[t.id()]=null}function Dr(t,e){var r=kr[t.id()],n=null;if(void 0===r||null===r)return n=e(t),kr[t.id()]=[[e,n]],n;for(var i=0;i0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments[2],n=arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=e[0],s=e.slice(1);if("string"===typeof a)Nr(t,Sr[a],r,n,i,o);else if(a){var c=Dr(n,a);if(!c.setSource)return i.push(c),Nr(t,s,r,n,i,o);c.setSource(q({},t),(function(e,a){if(e)return Nr(t,s,r,n,i,o);i.push(c),Nr(a,t.type===a.type?s:Sr[a.type],r,n,i,o)}))}else s.length?Nr(t,s,r,n,i,o):o?r(t,i):Nr(t,Sr["*"],r,n,i,!0)}var Fr={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"},zr=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=ir(t),r=Fr[e.toLowerCase()];return r||""},Ur=function(t,e){if(!e)return"";if(t.cache_.source.src===e&&t.cache_.source.type)return t.cache_.source.type;var r=t.cache_.sources.filter((function(t){return t.src===e}));if(r.length)return r[0].type;for(var n=t.$$("source"),i=0;i0&&void 0!==arguments[0]?arguments[0]:"div",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r=q({innerHTML:'',className:this.buildCSSClass(),tabIndex:0},r),"button"===e&&G.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),n=q({role:"button"},n),this.tabIndex_=r.tabIndex;var i=t.prototype.createEl.call(this,e,r,n);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_=at("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 r=this.localize(t);this.controlText_=t,st(this.controlTextEl_,r),this.nonIconControl||e.setAttribute("title",r)},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){Ht(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){Vt(o,"keydown",ee(this,this.handleKeyPress))},e}(me);me.registerComponent("ClickableComponent",Vr);var Wr=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.update(),r.on("posterchange",ee(i,i.update)),i}return L(e,t),e.prototype.dispose=function(){this.player().off("posterchange",this.update),t.prototype.dispose.call(this)},e.prototype.createEl=function(){var t=at("div",{className:"vjs-poster",tabIndex:-1});return P||(this.fallbackImg_=at("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}(Vr);me.registerComponent("PosterImage",Wr);var Kr="#222",Xr="#ccc",Gr={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 Yr(t,e){var r=void 0;if(4===t.length)r=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.");r=t.slice(1)}return"rgba("+parseInt(r.slice(0,2),16)+","+parseInt(r.slice(2,4),16)+","+parseInt(r.slice(4,6),16)+","+e+")"}function Jr(t,e,r){try{t.style[e]=r}catch(n){return}}var Zr=function(t){function e(r,n,o){B(this,e);var a=D(this,t.call(this,r,n,o)),s=ee(a,a.updateDisplay);return r.on("loadstart",ee(a,a.toggleDisplay)),r.on("texttrackchange",s),r.on("loadstart",ee(a,a.preselectTrack)),r.ready(ee(a,(function(){if(r.tech_&&r.tech_.featuresNativeTextTracks)this.hide();else{r.on("fullscreenchange",s),r.on("playerresize",s),i.addEventListener&&i.addEventListener("orientationchange",s),r.on("dispose",(function(){return i.removeEventListener("orientationchange",s)}));for(var t=this.options_.playerOptions.tracks||[],e=0;e1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};t="button",e=q({innerHTML:'',className:this.buildCSSClass()},e),r=q({type:"button"},r);var n=me.prototype.createEl.call(this,t,e,r);return this.createControlTextEl(n),n},e.prototype.addChild=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.constructor.name;return G.warn("Adding an actionable (user controllable) child to a Button ("+r+") is not supported; use a ClickableComponent instead."),me.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}(Vr);me.registerComponent("Button",tn);var en=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.mouseused_=!1,i.on("mousedown",i.handleMouseDown),i}return L(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 r=this.player_.getChild("controlBar"),n=r&&r.getChild("playToggle");if(n){var i=function(){return n.focus()};Re(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}(tn);en.prototype.controlText_="Play Video",me.registerComponent("BigPlayButton",en);var rn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.controlText(n&&n.controlText||i.localize("Close")),i}return L(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}(tn);me.registerComponent("CloseButton",rn);var nn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.on(r,"play",i.handlePlay),i.on(r,"pause",i.handlePause),i.on(r,"ended",i.handleEnded),i}return L(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}(tn);nn.prototype.controlText_="Play",me.registerComponent("PlayToggle",nn);var on=function(t,e){t=t<0?0:t;var r=Math.floor(t%60),n=Math.floor(t/60%60),i=Math.floor(t/3600),o=Math.floor(e/60%60),a=Math.floor(e/3600);return(isNaN(t)||t===1/0)&&(i=n=r="-"),i=i>0||a>0?i+":":"",n=((i||o>=10)&&n<10?"0"+n:n)+":",r=r<10?"0"+r:r,i+n+r},an=on;function sn(t){an=t}function cn(){an=on}var un=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return an(t,e)},fn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.throttledUpdateContent=re(ee(i,i.updateContent),25),i.on(r,"timeupdate",i.throttledUpdateContent),i}return L(e,t),e.prototype.createEl=function(e){var r=this.buildCSSClass(),n=t.prototype.createEl.call(this,"div",{className:r+" vjs-time-control vjs-control",innerHTML:''+this.localize(this.labelText_)+" "});return this.contentEl_=at("span",{className:r+"-display"},{"aria-live":"off"}),this.updateTextNode_(),n.appendChild(this.contentEl_),n},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 un(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}(me);fn.prototype.labelText_="Time",fn.prototype.controlText_="Time",me.registerComponent("TimeDisplay",fn);var ln=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.on(r,"ended",i.handleEnded),i}return L(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}(fn);ln.prototype.labelText_="Current Time",ln.prototype.controlText_="Current Time",me.registerComponent("CurrentTimeDisplay",ln);var hn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.on(r,"durationchange",i.updateContent),i.on(r,"loadedmetadata",i.throttledUpdateContent),i}return L(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}(fn);hn.prototype.labelText_="Duration",hn.prototype.controlText_="Duration",me.registerComponent("DurationDisplay",hn);var dn=function(t){function e(){return B(this,e),D(this,t.apply(this,arguments))}return L(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"
/
"})},e}(me);me.registerComponent("TimeDivider",dn);var pn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.on(r,"durationchange",i.throttledUpdateContent),i.on(r,"ended",i.handleEnded),i}return L(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}(fn);pn.prototype.labelText_="Remaining Time",pn.prototype.controlText_="Remaining Time",me.registerComponent("RemainingTimeDisplay",pn);var vn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.updateShowing(),i.on(i.player(),"durationchange",i.updateShowing),i}return L(e,t),e.prototype.createEl=function(){var e=t.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=at("div",{className:"vjs-live-display",innerHTML:''+this.localize("Stream Type")+" "+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}(me);me.registerComponent("LiveDisplay",vn);var yn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.bar=i.getChild(i.options_.barName),i.vertical(!!i.options_.vertical),i.enable(),i}return L(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 r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return r.className=r.className+" vjs-slider",r=q({tabIndex:0},r),n=q({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},n),t.prototype.createEl.call(this,e,r,n)},e.prototype.handleMouseDown=function(t){var e=this.bar.el_.ownerDocument;"mousedown"===t.type&&t.preventDefault(),"touchstart"!==t.type||E||t.preventDefault(),gt(),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;mt(),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 r=(100*t).toFixed(2)+"%",n=e.el().style;return this.vertical()?n.height=r:n.width=r,t}}},e.prototype.calculateDistance=function(t){var e=St(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}(me);me.registerComponent("Slider",yn);var bn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.partEls_=[],i.on(r,"progress",i.update),i}return L(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:''+this.localize("Loaded")+": 0%"})},e.prototype.dispose=function(){this.partEls_=null,t.prototype.dispose.call(this)},e.prototype.update=function(t){var e=this.player_.buffered(),r=this.player_.duration(),n=this.player_.bufferedEnd(),i=this.partEls_,o=function(t,e){var r=t/e||0;return 100*(r>=1?1:r)+"%"};this.el_.style.width=o(n,r);for(var a=0;ae.length;f--)this.el_.removeChild(i[f-1]);i.length=e.length},e}(me);me.registerComponent("LoadProgressBar",bn);var gn=function(t){function e(){return B(this,e),D(this,t.apply(this,arguments))}return L(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-time-tooltip"})},e.prototype.update=function(t,e,r){var n=_t(this.el_),i=_t(this.player_.el()),o=t.width*e;if(i&&n){var a=t.left-i.left+o,s=t.width-o+(i.right-t.right),c=n.width/2;an.width&&(c=n.width),this.el_.style.right="-"+c+"px",st(this.el_,r)}},e}(me);me.registerComponent("TimeTooltip",gn);var mn=function(t){function e(){return B(this,e),D(this,t.apply(this,arguments))}return L(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:''+this.localize("Progress")+": 0%"})},e.prototype.update=function(t,e){var r=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var n=r.player_.scrubbing()?r.player_.getCache().currentTime:r.player_.currentTime(),i=un(n,r.player_.duration()),o=r.getChild("timeTooltip");o&&o.update(t,e,i)}))},e}(me);mn.prototype.options_={children:[]},A&&!(A>8)||b||m||mn.prototype.options_.children.push("timeTooltip"),me.registerComponent("PlayProgressBar",mn);var _n=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.update=re(ee(i,i.update),25),i}return L(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},e.prototype.update=function(t,e){var r=this;this.rafId_&&this.cancelAnimationFrame(this.rafId_),this.rafId_=this.requestAnimationFrame((function(){var n=r.player_.duration(),i=un(e*n,n);r.el_.style.left=t.width*e+"px",r.getChild("timeTooltip").update(t,e,i)}))},e}(me);_n.prototype.options_={children:["timeTooltip"]},me.registerComponent("MouseTimeDisplay",_n);var wn=5,Sn=30,kn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.setEventHandlers_(),i}return L(e,t),e.prototype.setEventHandlers_=function(){var t=this;this.update=re(ee(this,this.update),Sn),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()}))}),Sn)})),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 r=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}",[un(t,r),un(r,r)],"{1} of {2}")),this.bar.update(_t(this.el_),e)},e.prototype.update=function(e){var r=t.prototype.update.call(this);return this.update_(this.getCurrentTime_(),r),r},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){At(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(At(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()+wn)},e.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-wn)},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}(yn);kn.prototype.options_={children:["loadProgressBar","playProgressBar"],barName:"playProgressBar"},A&&!(A>8)||b||m||kn.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),kn.prototype.playerEvent="timeupdate",me.registerComponent("SeekBar",kn);var xn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.handleMouseMove=re(ee(i,i.handleMouseMove),25),i.throttledHandleMouseSeek=re(ee(i,i.handleMouseSeek),25),i.enable(),i}return L(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 r=e.getChild("mouseTimeDisplay"),n=e.el(),i=_t(n),o=St(n,t).x;o>1?o=1:o<0&&(o=0),r&&r.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,r=this.getChild("seekBar");r&&r.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,r=this.getChild("seekBar");r&&r.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}(me);xn.prototype.options_={children:["seekBar"]},me.registerComponent("ProgressControl",xn);var En=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.on(r,"fullscreenchange",i.handleFullscreenChange),!1===o[Ee.fullscreenEnabled]&&i.disable(),i}return L(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}(tn);En.prototype.controlText_="Fullscreen",me.registerComponent("FullscreenToggle",En);var Cn=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")}))},Tn=function(t){function e(){return B(this,e),D(this,t.apply(this,arguments))}return L(e,t),e.prototype.createEl=function(){return t.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:''})},e}(me);me.registerComponent("VolumeLevel",Tn);var An=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.on("slideractive",i.updateLastVolume_),i.on(r,"volumechange",i.updateARIAAttributes),r.ready((function(){return i.updateARIAAttributes()})),i}return L(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){At(e)&&t.prototype.handleMouseDown.call(this,e)},e.prototype.handleMouseMove=function(t){At(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}(yn);An.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},An.prototype.playerEvent="volumechange",me.registerComponent("VolumeBar",An);var On=function(t){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,e),n.vertical=n.vertical||!1,("undefined"===typeof n.volumeBar||V(n.volumeBar))&&(n.volumeBar=n.volumeBar||{},n.volumeBar.vertical=n.vertical);var i=D(this,t.call(this,r,n));return Cn(i,r),i.throttledHandleMouseMove=re(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 L(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}(me);On.prototype.options_={children:["volumeBar"]},me.registerComponent("VolumeControl",On);var Mn=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")}))},jn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return Mn(i,r),i.on(r,["loadstart","volumechange"],i.update),i}return L(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(),r=this.player_.lastVolume_();if(0===e){var n=r<.1?.1:r;this.player_.volume(n),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;b&&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 r=0;r<4;r++)lt(this.el_,"vjs-vol-"+r);ft(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}(tn);jn.prototype.controlText_="Mute",me.registerComponent("MuteToggle",jn);var Pn=function(t){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,e),"undefined"!==typeof n.inline?n.inline=n.inline:n.inline=!0,("undefined"===typeof n.volumeControl||V(n.volumeControl))&&(n.volumeControl=n.volumeControl||{},n.volumeControl.vertical=!n.inline);var i=D(this,t.call(this,r,n));return i.on(r,["loadstart"],i.volumePanelState_),i.on(i.volumeControl,["slideractive"],i.sliderActive_),i.on(i.volumeControl,["sliderinactive"],i.sliderInactive_),i}return L(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}(me);Pn.prototype.options_={children:["muteToggle","volumeControl"]},me.registerComponent("VolumePanel",Pn);var Rn=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return n&&(i.menuButton_=n.menuButton),i.focusedChild_=-1,i.on("keydown",i.handleKeyPress),i}return L(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_=at(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu");var r=t.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"});return r.appendChild(this.contentEl_),Ht(r,"click",(function(t){t.preventDefault(),t.stopImmediatePropagation()})),r},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(),r=e.length&&e[0].className&&/vjs-menu-title/.test(e[0].className);r&&e.shift(),e.length>0&&(t<0?t=0:t>=e.length&&(t=e.length-1),this.focusedChild_=t,e[t].el_.focus())},e}(me);me.registerComponent("Menu",Rn);var In=function(t){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};B(this,e);var i=D(this,t.call(this,r,n));i.menuButton_=new tn(r,n),i.menuButton_.controlText(i.controlText_),i.menuButton_.el_.setAttribute("aria-haspopup","true");var o=tn.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 L(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 Rn(this.player_,{menuButton:this});if(this.hideThreshold_=0,this.options_.title){var e=at("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 r=0;r1&&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(){Ht(o,"keydown",ee(this,this.handleKeyPress))},e.prototype.handleBlur=function(){Vt(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"),b&&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}(me);me.registerComponent("MenuButton",In);var Bn=function(t){function e(r,n){B(this,e);var i=n.tracks,o=D(this,t.call(this,r,n));if(o.items.length<=1&&o.hide(),!i)return D(o);var a=ee(o,o.update);return i.addEventListener("removetrack",a),i.addEventListener("addtrack",a),o.player_.on("ready",a),o.player_.on("dispose",(function(){i.removeEventListener("removetrack",a),i.removeEventListener("addtrack",a)})),o}return L(e,t),e}(In);me.registerComponent("TrackButton",Bn);var Ln=function(t){function e(r,n){B(this,e);var i=D(this,t.call(this,r,n));return i.selectable=n.selectable,i.isSelected_=n.selected||!1,i.multiSelectable=n.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 L(e,t),e.prototype.createEl=function(e,r,n){return this.nonIconControl=!0,t.prototype.createEl.call(this,"li",q({className:"vjs-menu-item",innerHTML:''+this.localize(this.options_.label)+"",tabIndex:-1},r),n)},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}(Vr);me.registerComponent("MenuItem",Ln);var Dn=function(t){function e(r,n){B(this,e);var a=n.track,s=r.textTracks();n.label=a.label||a.language||"Unknown",n.selected="showing"===a.mode;var c=D(this,t.call(this,r,n));c.track=a;var u=function(){for(var t=arguments.length,e=Array(t),r=0;r-1?"showing"!==a.mode&&(a.mode="showing"):"disabled"!==a.mode&&(a.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}(Ln);me.registerComponent("TextTrackMenuItem",Dn);var Nn=function(t){function e(r,n){return B(this,e),n.track={player:r,kind:n.kind,kinds:n.kinds,default:!1,mode:"disabled"},n.kinds||(n.kinds=[n.kind]),n.label?n.track.label=n.label:n.track.label=n.kinds.join(" and ")+" off",n.selectable=!0,n.multiSelectable=!1,D(this,t.call(this,r,n))}return L(e,t),e.prototype.handleTracksChange=function(t){for(var e=this.player().textTracks(),r=!0,n=0,i=e.length;n-1&&"showing"===o.mode){r=!1;break}}r!==this.isSelected_&&this.selected(r)},e.prototype.handleSelectedLanguageChange=function(t){for(var e=this.player().textTracks(),r=!0,n=0,i=e.length;n-1&&"showing"===o.mode){r=!1;break}}r&&(this.player_.cache_.selectedLanguage={enabled:!1})},e}(Dn);me.registerComponent("OffTextTrackMenuItem",Nn);var Fn=function(t){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return B(this,e),n.tracks=r.textTracks(),D(this,t.call(this,r,n))}return L(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]:Dn,r=void 0;this.label_&&(r=this.label_+" off"),t.push(new Nn(this.player_,{kinds:this.kinds_,kind:this.kind_,label:r})),this.hideThreshold_+=1;var n=this.player_.textTracks();Array.isArray(this.kinds_)||(this.kinds_=[this.kind_]);for(var i=0;i-1){var a=new e(this.player_,{track:o,selectable:!0,multiSelectable:!1});a.addClass("vjs-"+o.kind+"-menu-item"),t.push(a)}}return t},e}(Bn);me.registerComponent("TextTrackButton",Fn);var zn=function(t){function e(r,n){B(this,e);var i=n.track,o=n.cue,a=r.currentTime();n.selectable=!0,n.multiSelectable=!1,n.label=o.text,n.selected=o.startTime<=a&&a=0;e--){var r=t[e];if(r.kind===this.kind_)return r}},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 r=0,n=e.length;r