// [AIV_SHORT] Build version: 4.2.4 - Monday, December 3rd, 2018, 7:46:04 AM (window.webpackJsonp=window.webpackJsonp||[]).push([[1],[function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,this.$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}n.d(e,"a",function(){return r})},,function(t,e,n){"use strict";n.r(e);var r=n(17),i=n.n(r),o=function(t){return"function"==typeof t},a=function(t){return"symbol"==typeof t||"object"==typeof t&&"[object Symbol]"===Object.prototype.toString.call(t)},s=function(t){return 0===t.length},u=function(t){return t.toString()},c=function(t){return"string"==typeof t},l="/",f="||";function p(t){return c(t)||o(t)||a(t)}function d(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),i=1;i1?e-1:0),r=1;r2?n-2:0),a=2;ae=>a()(e,t),u=(t,e)=>(function(){const n=[].concat.apply([],t),r=this.store.getState();return this.$$bindings=n.reduce((t,n)=>Object.assign({},t,{[n]:e(n)}),this.$$bindings||{}),n.reduce((t,n)=>Object.assign({},t,{[n]:e(n)(r)}),{})}),c=(t,e)=>(function(){const n=Object.keys(t),r=this.store.getState();return this.$$bindings=n.reduce((n,r)=>Object.assign({},n,{[r]:"function"==typeof t[r]?t[r].bind(this):e(t[r])}),this.$$bindings||{}),n.reduce((n,i)=>Object.assign({},n,{[i]:"function"==typeof t[i]?t[i].call(this,r):e(t[i])(r)}),{})});var l=(...t)=>{const[e]=t;return Array.isArray(e)||"object"!=typeof e?u(t,s):c(e,s)};const f=({Vue:t,store:e,actions:n={}})=>{t.mixin({beforeCreate(){this.store=e,this.$$actions=n,this.mapState=((...t)=>l(t).call(this))},created(){this.$root&&this.$$bindings&&(this.unsubscribe=e.subscribe(((t,n)=>()=>{const r=e.getState();Object.keys(n).forEach(e=>{const o=n[e];o&&i()(t._data,e,o(r))})})(this,this.$$bindings)))},beforeDestroy(){this.unsubscribe&&this.unsubscribe()}})},p=t=>(function(...e){this.$$actions[t]&&this.store.dispatch(this.$$actions[t].apply(this,e))}),d=t=>(function(...e){return t.apply(this,[Object.assign({},this.store,{actions:this.$$actions}),...e])});var h=(...t)=>{const[e]=t;return Array.isArray(e)||"object"!=typeof e?(t=>[].concat.apply([],t).reduce((t,e)=>Object.assign({},t,{[e]:p(e)}),{}))(t):((t={})=>Object.keys(t).reduce((e,n)=>Object.assign({},e,{[n]:"function"==typeof t[n]?d(t[n]):p(t[n])}),{}))(e)};n.d(e,"connect",function(){return f}),n.d(e,"mapState",function(){return l}),n.d(e,"mapActions",function(){return h})},function(t,e,n){var r=n(80),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,n){t.exports=n(202)},function(t,e){t.exports={}},function(t,e,n){var r=n(203),i=n(205);t.exports=function(t,e,n){return r(i,t,e,n)}},,function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},,function(t,e,n){var r=n(20),i=n(174),o=n(175),a="[object Null]",s="[object Undefined]",u=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?s:a:u&&u in Object(t)?i(t):o(t)}},,,function(t,e,n){"use strict";t.exports=function(t,e,n,r,i,o,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,i,o,a,s],l=0;(u=new Error(e.replace(/%s/g,function(){return c[l++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e,n){var r=n(173),i=n(178);t.exports=function(t,e){var n=i(t,e);return r(n)?n:void 0}},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(6).Symbol;t.exports=r},function(t,e,n){var r=n(14),i=n(7),o="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||i(t)&&r(t)==o}},function(t,e){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n-1&&t%1==0&&t-1&&t%1==0&&t<=n}},function(t,e,n){(function(t){var r=n(80),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i&&r.process,s=function(){try{var t=o&&o.require&&o.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=s}).call(this,n(54)(t))},function(t,e){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},function(t,e,n){var r=n(88),i=n(207),o=n(208),a=n(91),s=n(220),u=n(64),c=n(221),l=n(97),f=n(98),p=n(74),d="Expected a function",h=1,v=2,y=8,m=16,g=32,b=64,T=Math.max;t.exports=function(t,e,n,_,S,A,x,w){var E=e&v;if(!E&&"function"!=typeof t)throw new TypeError(d);var O=_?_.length:0;if(O||(e&=~(g|b),_=S=void 0),x=void 0===x?x:T(p(x),0),w=void 0===w?w:p(w),O-=S?S.length:0,e&b){var P=_,C=S;_=S=void 0}var M=E?void 0:u(t),L=[t,e,n,_,S,P,C,A,x,w];if(M&&c(L,M),t=L[0],e=L[1],n=L[2],_=L[3],S=L[4],!(w=L[9]=void 0===L[9]?E?0:t.length:T(L[9]-O,0))&&e&(y|m)&&(e&=~(y|m)),e&&e!=h)R=e==y||e==m?o(t,e,w):e!=g&&e!=(h|g)||S.length?a.apply(void 0,L):s(t,e,n,_);else var R=i(t,e,n);return f((M?r:l)(R,L),t,e)}},function(t,e,n){var r=n(39),i=n(63),o=4294967295;function a(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=o,this.__views__=[]}a.prototype=r(i.prototype),a.prototype.constructor=a,t.exports=a},function(t,e){t.exports=function(){}},function(t,e,n){var r=n(89),i=n(19),o=r?function(t){return r.get(t)}:i;t.exports=o},function(t,e,n){var r=n(39),i=n(63);function o(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}o.prototype=r(i.prototype),o.prototype.constructor=o,t.exports=o},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n0){if(++e>=n)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,n){var r=n(30),i=n(89),o=i?function(t,e){return i.set(t,e),t}:r;t.exports=o},function(t,e,n){var r=n(90),i=r&&new r;t.exports=i},function(t,e,n){var r=n(18)(n(6),"WeakMap");t.exports=r},function(t,e,n){var r=n(92),i=n(93),o=n(209),a=n(40),s=n(94),u=n(99),c=n(219),l=n(67),f=n(6),p=1,d=2,h=8,v=16,y=128,m=512;t.exports=function t(e,n,g,b,T,_,S,A,x,w){var E=n&y,O=n&p,P=n&d,C=n&(h|v),M=n&m,L=P?void 0:a(e);return function p(){for(var d=arguments.length,h=Array(d),v=d;v--;)h[v]=arguments[v];if(C)var y=u(p),m=o(h,y);if(b&&(h=r(h,b,T,C)),_&&(h=i(h,_,S,C)),d-=m,C&&d1&&h.reverse(),E&&xp))return!1;var h=l.get(t);if(h&&l.get(e))return h==e;var v=-1,y=!0,m=n&s?new r:void 0;for(l.set(t,e),l.set(e,t);++v>16&255,t>>8&255,255&t],this.valpha=1;else{this.valpha=1;var h=Object.keys(t);"alpha"in t&&(h.splice(h.indexOf("alpha"),1),this.valpha="number"==typeof t.alpha?t.alpha:0);var v=h.sort().join("");if(!(v in s))throw new Error("Unable to parse color from object: "+JSON.stringify(t));this.model=s[v];var y=i[this.model].labels,m=[];for(n=0;nn?(e+.05)/(n+.05):(n+.05)/(e+.05)},level:function(t){var e=this.contrast(t);return e>=7.1?"AAA":e>=4.5?"AA":""},isDark:function(){var t=this.rgb().color;return(299*t[0]+587*t[1]+114*t[2])/1e3<128},isLight:function(){return!this.isDark()},negate:function(){for(var t=this.rgb(),e=0;e<3;e++)t.color[e]=255-t.color[e];return t},lighten:function(t){var e=this.hsl();return e.color[2]+=e.color[2]*t,e},darken:function(t){var e=this.hsl();return e.color[2]-=e.color[2]*t,e},saturate:function(t){var e=this.hsl();return e.color[1]+=e.color[1]*t,e},desaturate:function(t){var e=this.hsl();return e.color[1]-=e.color[1]*t,e},whiten:function(t){var e=this.hwb();return e.color[1]+=e.color[1]*t,e},blacken:function(t){var e=this.hwb();return e.color[2]+=e.color[2]*t,e},grayscale:function(){var t=this.rgb().color,e=.3*t[0]+.59*t[1]+.11*t[2];return c.rgb(e,e,e)},fade:function(t){return this.alpha(this.valpha-this.valpha*t)},opaquer:function(t){return this.alpha(this.valpha+this.valpha*t)},rotate:function(t){var e=this.hsl(),n=e.color[0];return n=(n=(n+t)%360)<0?360+n:n,e.color[0]=n,e},mix:function(t,e){var n=t.rgb(),r=this.rgb(),i=void 0===e?.5:e,o=2*i-1,a=n.alpha()-r.alpha(),s=((o*a==-1?o:(o+a)/(1+o*a))+1)/2,u=1-s;return c.rgb(s*n.red()+u*r.red(),s*n.green()+u*r.green(),s*n.blue()+u*r.blue(),n.alpha()*i+r.alpha()*(1-i))}},Object.keys(i).forEach(function(t){if(-1===a.indexOf(t)){var e=i[t].channels;c.prototype[t]=function(){if(this.model===t)return new c(this);if(arguments.length)return new c(arguments,t);var n="number"==typeof arguments[e]?e:this.valpha;return new c(function(t){return Array.isArray(t)?t:[t]}(i[this.model][t].raw(this.color)).concat(n),t)},c[t]=function(n){return"number"==typeof n&&(n=p(o.call(arguments),e)),new c(n,t)}}}),t.exports=c},,function(t,e,n){(function(t){var r=n(6),i=e&&!e.nodeType&&e,o=i&&"object"==typeof t&&t&&!t.nodeType&&t,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=s?s(n):new t.constructor(n);return t.copy(r),r}}).call(this,n(54)(t))},function(t,e,n){var r=n(55);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},function(t,e,n){var r=n(39),i=n(56),o=n(57);t.exports=function(t){return"function"!=typeof t.constructor||o(t)?{}:r(i(t))}},function(t,e,n){var r=n(14),i=n(56),o=n(7),a="[object Object]",s=Function.prototype,u=Object.prototype,c=s.toString,l=u.hasOwnProperty,f=c.call(Object);t.exports=function(t){if(!o(t)||r(t)!=a)return!1;var e=i(t);if(null===e)return!0;var n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}},function(t,e,n){var r=n(60),i=Math.max;t.exports=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var o=arguments,a=-1,s=i(o.length-e,0),u=Array(s);++a-1}},function(t,e){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n0&&o(l)?n>1?t(l,n-1,o,a,s):r(s,l):a||(s[s.length]=l)}return s}},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f1)for(var n=1;n=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function b(t,e){return g.call(t,e)}function T(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var _=/-(\w)/g,S=T(function(t){return t.replace(_,function(t,e){return e?e.toUpperCase():""})}),A=T(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),x=/\B([A-Z])/g,w=T(function(t){return t.replace(x,"-$1").toLowerCase()});var E=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function O(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function P(t,e){for(var n in e)t[n]=e[n];return t}function C(t){for(var e={},n=0;n0,Q=X&&X.indexOf("edge/")>0,J=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===z),Z=(X&&/chrome\/\d+/.test(X),{}.watch),tt=!1;if(K)try{var et={};Object.defineProperty(et,"passive",{get:function(){tt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var nt=function(){return void 0===W&&(W=!K&&!$&&void 0!==t&&"server"===t.process.env.VUE_ENV),W},rt=K&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function it(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,at="undefined"!=typeof Symbol&&it(Symbol)&&"undefined"!=typeof Reflect&&it(Reflect.ownKeys);ot="undefined"!=typeof Set&&it(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 st=M,ut=0,ct=function(){this.id=ut++,this.subs=[]};ct.prototype.addSub=function(t){this.subs.push(t)},ct.prototype.removeSub=function(t){m(this.subs,t)},ct.prototype.depend=function(){ct.target&&ct.target.addDep(this)},ct.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e-1)if(o&&!b(i,"default"))a=!1;else if(""===a||a===w(t)){var u=Ht(String,i.type);(u<0||s0&&(le((c=t(c,(n||"")+"_"+u))[0])&&le(f)&&(r[l]=yt(f.text+c[0].text),c.shift()),r.push.apply(r,c)):s(c)?le(f)?r[l]=yt(f.text+c):""!==c&&r.push(yt(c)):le(c)&&le(f)?r[l]=yt(f.text+c.text):(a(e._isVList)&&o(c.tag)&&i(c.key)&&o(n)&&(c.key="__vlist"+n+"_"+u+"__"),r.push(c)));return r}(t):void 0}function le(t){return o(t)&&o(t.text)&&function(t){return!1===t}(t.isComment)}function fe(t,e){return(t.__esModule||at&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function pe(t){return t.isComment&&t.asyncFactory}function de(t){if(Array.isArray(t))for(var e=0;eCe&&xe[n].id>t.id;)n--;xe.splice(n+1,0,t)}else xe.push(t);Oe||(Oe=!0,te(Me))}}(this)},Re.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Ut(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Re.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Re.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Re.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||m(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var ke={enumerable:!0,configurable:!0,get:M,set:M};function De(t,e,n){ke.get=function(){return this[e][n]},ke.set=function(t){this[e][n]=t},Object.defineProperty(t,n,ke)}function Ie(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},i=t.$options._propKeys=[];t.$parent&&St(!1);var o=function(o){i.push(o);var a=Gt(o,e,n,t);Ot(r,o,a),o in t||De(t,"_props",o)};for(var a in e)o(a);St(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]=null==e[n]?M:E(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;l(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return Ut(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,i=(t.$options.methods,n.length);for(;i--;){var o=n[i];0,r&&b(r,o)||j(o)||De(t,"_data",o)}Et(e,!0)}(t):Et(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=nt();for(var i in e){var o=e[i],a="function"==typeof o?o:o.get;0,r||(n[i]=new Re(t,a||M,M,Ne)),i in t||Be(t,i,o)}}(t,e.computed),e.watch&&e.watch!==Z&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(t[i])<0)&&r.push(t[i]);return r}return t}function pn(t){this._init(t)}function dn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,i=t._Ctor||(t._Ctor={});if(i[r])return i[r];var o=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Nt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)De(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Be(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach(function(t){a[t]=n[t]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=P({},a.options),i[r]=a,a}}function hn(t){return t&&(t.Ctor.options.name||t.tag)}function vn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function yn(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=hn(a.componentOptions);s&&!e(s)&&mn(n,o,r,i)}}}function mn(t,e,n,r){var i=t[e];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),t[e]=null,m(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=cn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r,n._parentElm=e._parentElm,n._refElm=e._refElm;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Nt(ln(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&ye(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,i=n&&n.context;t.$slots=me(e._renderChildren,i),t.$scopedSlots=r,t._c=function(e,n,r,i){return un(t,e,n,r,i,!1)},t.$createElement=function(e,n,r,i){return un(t,e,n,r,i,!0)};var o=n&&n.data;Ot(t,"$attrs",o&&o.attrs||r,null,!0),Ot(t,"$listeners",e._parentListeners||r,null,!0)}(e),Ae(e,"beforeCreate"),function(t){var e=je(t.$options.inject,t);e&&(St(!1),Object.keys(e).forEach(function(n){Ot(t,n,e[n])}),St(!0))}(e),Ie(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Ae(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(pn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=Pt,t.prototype.$delete=Ct,t.prototype.$watch=function(t,e,n){if(l(e))return Fe(this,t,e,n);(n=n||{}).user=!0;var r=new Re(this,t,e,n);return n.immediate&&e.call(this,r.value),function(){r.teardown()}}}(pn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){if(Array.isArray(t))for(var r=0,i=t.length;r1?O(e):e;for(var n=O(arguments,1),r=0,i=e.length;rparseInt(this.max)&&mn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return F}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:P,mergeOptions:Nt,defineReactive:Ot},t.set=Pt,t.delete=Ct,t.nextTick=te,t.options=Object.create(null),B.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,P(t.options.components,bn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=O(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Nt(this.options,t),this}}(t),dn(t),function(t){B.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&l(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(pn),Object.defineProperty(pn.prototype,"$isServer",{get:nt}),Object.defineProperty(pn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(pn,"FunctionalRenderContext",{value:Ze}),pn.version="2.5.17";var Tn=v("style,class"),_n=v("input,textarea,option,select,progress"),Sn=v("contenteditable,draggable,spellcheck"),An=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),xn="http://www.w3.org/1999/xlink",wn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},En=function(t){return wn(t)?t.slice(6,t.length):""},On=function(t){return null==t||!1===t};function Pn(t){for(var e=t.data,n=t,r=t;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Cn(r.data,e));for(;o(n=n.parent);)n&&n.data&&(e=Cn(e,n.data));return function(t,e){if(o(t)||o(e))return Mn(t,Ln(e));return""}(e.staticClass,e.class)}function Cn(t,e){return{staticClass:Mn(t.staticClass,e.staticClass),class:o(t.class)?[t.class,e.class]:e.class}}function Mn(t,e){return t?e?t+" "+e:t:e||""}function Ln(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,i=t.length;r-1?tr(t,e,n):An(e)?On(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Sn(e)?t.setAttribute(e,On(n)||"false"===n?"false":"true"):wn(e)?On(n)?t.removeAttributeNS(xn,En(e)):t.setAttributeNS(xn,e,n):tr(t,e,n)}function tr(t,e,n){if(On(n))t.removeAttribute(e);else{if(q&&!Y&&"TEXTAREA"===t.tagName&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var er={create:Jn,update:Jn};function nr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=Pn(e),u=n._transitionClasses;o(u)&&(s=Mn(s,Ln(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var rr,ir={create:nr,update:nr},or="__r",ar="__c";function sr(t,e,n,r,i){e=function(t){return t._withTask||(t._withTask=function(){Yt=!0;var e=t.apply(null,arguments);return Yt=!1,e})}(e),n&&(e=function(t,e,n){var r=rr;return function i(){null!==t.apply(null,arguments)&&ur(e,i,n,r)}}(e,t,r)),rr.addEventListener(t,e,tt?{capture:r,passive:i}:r)}function ur(t,e,n,r){(r||rr).removeEventListener(t,e._withTask||e,n)}function cr(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};rr=e.elm,function(t){if(o(t[or])){var e=q?"change":"input";t[e]=[].concat(t[or],t[e]||[]),delete t[or]}o(t[ar])&&(t.change=[].concat(t[ar],t.change||[]),delete t[ar])}(n),ae(n,r,sr,ur,e.context),rr=void 0}}var lr={create:cr,update:cr};function fr(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in o(u.__ob__)&&(u=e.data.domProps=P({},u)),s)i(u[n])&&(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=r;var c=i(r)?"":String(r);pr(a,c)&&(a.value=c)}else a[n]=r}}}function pr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(o(r)){if(r.lazy)return!1;if(r.number)return h(n)!==h(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var dr={create:fr,update:fr},hr=T(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function vr(t){var e=yr(t.style);return t.staticStyle?P(t.staticStyle,e):e}function yr(t){return Array.isArray(t)?C(t):"string"==typeof t?hr(t):t}var mr,gr=/^--/,br=/\s*!important$/,Tr=function(t,e,n){if(gr.test(e))t.style.setProperty(e,n);else if(br.test(n))t.style.setProperty(e,n.replace(br,""),"important");else{var r=Sr(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(/\s+/).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Er(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(/\s+/).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function Or(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&P(e,Pr(t.name||"v")),P(e,t),e}return"string"==typeof t?Pr(t):void 0}}var Pr=T(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"}}),Cr=K&&!Y,Mr="transition",Lr="animation",Rr="transition",kr="transitionend",Dr="animation",Ir="animationend";Cr&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Rr="WebkitTransition",kr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Dr="WebkitAnimation",Ir="webkitAnimationEnd"));var Nr=K?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Br(t){Nr(function(){Nr(t)})}function Gr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),wr(t,e))}function Fr(t,e){t._transitionClasses&&m(t._transitionClasses,e),Er(t,e)}function jr(t,e,n){var r=Ur(t,e),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Mr?kr:Ir,u=0,c=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u0&&(n=Mr,l=a,f=o.length):e===Lr?c>0&&(n=Lr,l=c,f=u.length):f=(n=(l=Math.max(a,c))>0?a>c?Mr:Lr:null)?n===Mr?o.length:u.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===Mr&&Hr.test(r[Rr+"Property"])}}function Wr(t,e){for(;t.length1}function qr(t,e){!0!==e.data.show&&Kr(e)}var Yr=function(t){var e,n,r={},u=t.modules,c=t.nodeOps;for(e=0;eh?b(t,i(n[m+1])?null:n[m+1].elm,n,d,m,r):d>m&&_(0,e,p,h)}(u,d,h,n,s):o(h)?(o(t.text)&&c.setTextContent(u,""),b(u,null,h,0,h.length-1,n)):o(d)?_(0,d,0,d.length-1):o(t.text)&&c.setTextContent(u,""):t.text!==e.text&&c.setTextContent(u,e.text),o(p)&&o(l=p.hook)&&o(l=l.postpatch)&&l(t,e)}}}function w(t,e,n){if(a(n)&&o(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,a.selected!==o&&(a.selected=o);else if(k(ei(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));i||(t.selectedIndex=-1)}}function ti(t,e){return e.every(function(e){return!k(e,t)})}function ei(t){return"_value"in t?t._value:t.value}function ni(t){t.target.composing=!0}function ri(t){t.target.composing&&(t.target.composing=!1,ii(t.target,"input"))}function ii(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function oi(t){return!t.componentInstance||t.data&&t.data.transition?t:oi(t.componentInstance._vnode)}var ai={model:Qr,show:{bind:function(t,e,n){var r=e.value,i=(n=oi(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&i?(n.data.show=!0,Kr(n,function(){t.style.display=o})):t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=oi(n)).data&&n.data.transition?(n.data.show=!0,r?Kr(n,function(){t.style.display=t.__vOriginalDisplay}):$r(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,i){i||(t.style.display=t.__vOriginalDisplay)}}},si={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 ui(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ui(de(e.children)):t}function ci(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var o in i)e[S(o)]=i[o];return e}function li(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var fi={name:"transition",props:si,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(function(t){return t.tag||pe(t)})).length){0;var r=this.mode;0;var i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var o=ui(i);if(!o)return i;if(this._leaving)return li(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 u=(o.data||(o.data={})).transition=ci(this),c=this._vnode,l=ui(c);if(o.data.directives&&o.data.directives.some(function(t){return"show"===t.name})&&(o.data.show=!0),l&&l.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,l)&&!pe(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=P({},u);if("out-in"===r)return this._leaving=!0,se(f,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),li(t,i);if("in-out"===r){if(pe(o))return c;var p,d=function(){p()};se(u,"afterEnter",d),se(u,"enterCancelled",d),se(f,"delayLeave",function(t){p=t})}}return i}}},pi=P({tag:String,moveClass:String},si);function di(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function hi(t){t.data.newPos=t.elm.getBoundingClientRect()}function vi(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,i=e.top-n.top;if(r||i){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete pi.mode;var yi={Transition:fi,TransitionGroup:{props:pi,render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=ci(this),s=0;s-1?Nn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Nn[t]=/HTMLUnknownElement/.test(e.toString())},P(pn.options.directives,ai),P(pn.options.components,yi),pn.prototype.__patch__=K?Yr:M,pn.prototype.$mount=function(t,e){return function(t,e,n){return t.$el=e,t.$options.render||(t.$options.render=vt),Ae(t,"beforeMount"),new Re(t,function(){t._update(t._render(),n)},M,null,!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Ae(t,"mounted")),t}(this,t=t&&K?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},K&&setTimeout(function(){F.devtools&&rt&&rt.emit("init",pn)},0),e.default=pn}.call(this,n(32),n(796).setImmediate)},function(t,e,n){var r=n(154),i=n(50),o=n(74),a=Math.max;t.exports=function(t,e,n){var s=null==t?0:t.length;if(!s)return-1;var u=null==n?0:o(n);return u<0&&(u=a(s+u,0)),r(t,i(e,3),u)}},,function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,n){var r=n(35),i=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():i.call(e,n,1),--this.size,0))}},function(t,e,n){var r=n(35);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},function(t,e,n){var r=n(35);t.exports=function(t){return r(this.__data__,t)>-1}},function(t,e,n){var r=n(35);t.exports=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}},function(t,e,n){var r=n(34);t.exports=function(){this.__data__=new r,this.size=0}},function(t,e){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},function(t,e){t.exports=function(t){return this.__data__.get(t)}},function(t,e){t.exports=function(t){return this.__data__.has(t)}},function(t,e,n){var r=n(34),i=n(52),o=n(53),a=200;t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!i||s.length2?n-2:1,i&&i<=n?r:a(r,n)):r}},mixin:function(t){return function(e){var n=this;if(!O(n))return t(n,Object(e));var r=[];return x(C(e),function(t){O(e[t])&&r.push([t,n.prototype[t]])}),t(n,Object(e)),x(r,function(t){var e=t[1];O(e)?n.prototype[t[0]]=e:delete n.prototype[t[0]]}),n}},nthArg:function(t){return function(e){var n=e<0?1:L(e)+1;return A(t(e),n)}},rearg:function(t){return function(e,n){var r=n?n.length:0;return A(t(e,n),r)}},runInContext:function(n){return function(r){return t(e,n(r),l)}}};function I(t,e){if(d.cap){var n=r.iterateeRearg[t];if(n)return function(t,e){return j(t,function(t){var n=e.length;return function(t,e){return 2==e?function(e,n){return t.apply(void 0,arguments)}:function(e){return t.apply(void 0,arguments)}}(M(a(t,n),e),n)})}(e,n);var i=!f&&r.iterateeAry[t];if(i)return function(t,e){return j(t,function(t){return"function"==typeof t?a(t,e):t})}(e,i)}return e}function N(t,e,n){if(d.fixed&&(y||!r.skipFixed[t])){var i=r.methodSpread[t],a=i&&i.start;return void 0===a?T(e,n):function(t,e){return function(){for(var n=arguments.length,r=n-1,i=Array(n);n--;)i[n]=arguments[n];var a=i[e],s=i.slice(0,e);return a&&o.apply(s,a),e!=r&&o.apply(s,i.slice(e+1)),t.apply(this,s)}}(e,a)}return e}function B(t,e,n){return d.rearg&&n>1&&(m||!r.skipRearg[t])?M(e,r.methodRearg[t]||r.aryRearg[n]):e}function G(t,e){for(var n=-1,r=(e=R(e)).length,i=r-1,o=S(Object(t)),a=o;null!=a&&++n1?A(e,n):e}(0,i=I(o,i),t),!1}}),!i}),i||(i=a),i==e&&(i=v?A(i,1):function(){return e.apply(this,arguments)}),i.convert=F(o,e),i.placeholder=e.placeholder=n,i}if(!p)return H(n,c,h);var U=c,W=[];return x(k,function(t){x(r.aryMethod[t],function(t){var e=U[r.remap[t]||t];e&&W.push([t,H(t,e,U)])})}),x(C(U),function(t){var e=U[t];if("function"==typeof e){for(var n=W.length;n--;)if(W[n][0]==t)return;e.convert=F(t,e),W.push([t,e])}}),x(W,function(t){U[t[0]]=t[1]}),U.convert=function(t){return U.runInContext.convert(t)(void 0)},U.placeholder=U,x(C(U),function(t){x(r.realToAlias[t]||[],function(e){U[e]=U[t]})}),U}},function(t,e){e.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},e.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},e.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},e.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},e.realToAlias=function(){var t=Object.prototype.hasOwnProperty,n=e.aliasToReal,r={};for(var i in n){var o=n[i];t.call(r,o)?r[o].push(i):r[o]=[i]}return r}(),e.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},function(t,e,n){t.exports={ary:n(206),assign:n(100),clone:n(224),curry:n(128),forEach:n(66),isArray:n(3),isError:n(240),isFunction:n(36),isWeakMap:n(241),iteratee:n(242),keys:n(101),rearg:n(262),toInteger:n(74),toPath:n(265)}},function(t,e,n){var r=n(61),i=128;t.exports=function(t,e,n){return e=n?void 0:e,e=t&&null==e?t.length:e,r(t,i,void 0,void 0,void 0,void 0,e)}},function(t,e,n){var r=n(40),i=n(6),o=1;t.exports=function(t,e,n){var a=e&o,s=r(t);return function e(){return(this&&this!==i&&this instanceof e?s:t).apply(a?n:this,arguments)}}},function(t,e,n){var r=n(60),i=n(40),o=n(91),a=n(94),s=n(99),u=n(67),c=n(6);t.exports=function(t,e,n){var l=i(t);return function i(){for(var f=arguments.length,p=Array(f),d=f,h=s(i);d--;)p[d]=arguments[d];var v=f<3&&p[0]!==h&&p[f-1]!==h?[]:u(p,h);return(f-=v.length)1?"& ":"")+e[i],e=e.join(r>2?", ":" "),t.replace(n,"{\n/* [wrapped with "+e+"] */\n")}},function(t,e,n){var r=n(66),i=n(125),o=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];t.exports=function(t,e){return r(o,function(n){var r="_."+n[0];e&n[1]&&!i(t,r)&&t.push(r)}),t.sort()}},function(t,e,n){var r=n(154),i=n(217),o=n(218);t.exports=function(t,e,n){return e==e?o(t,e,n):r(t,i,n)}},function(t,e){t.exports=function(t){return t!=t}},function(t,e){t.exports=function(t,e,n){for(var r=n-1,i=t.length;++r1&&(i-=1)),[360*i,100*o,100*c]},a.rgb.hwb=function(t){var e=t[0],n=t[1],r=t[2];return[a.rgb.hsl(t)[0],100*(1/255*Math.min(e,Math.min(n,r))),100*(r=1-1/255*Math.max(e,Math.max(n,r)))]},a.rgb.cmyk=function(t){var e,n=t[0]/255,r=t[1]/255,i=t[2]/255;return[100*((1-n-(e=Math.min(1-n,1-r,1-i)))/(1-e)||0),100*((1-r-e)/(1-e)||0),100*((1-i-e)/(1-e)||0),100*e]},a.rgb.keyword=function(t){var e=i[t];if(e)return e;var n,o=1/0;for(var a in r)if(r.hasOwnProperty(a)){var s=l(t,r[a]);s.04045?Math.pow((e+.055)/1.055,2.4):e/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*e+.7152*n+.0722*r),100*(.0193*e+.1192*n+.9505*r)]},a.rgb.lab=function(t){var e=a.rgb.xyz(t),n=e[0],r=e[1],i=e[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},a.hsl.rgb=function(t){var e,n,r,i,o,a=t[0]/360,s=t[1]/100,u=t[2]/100;if(0===s)return[o=255*u,o,o];e=2*u-(n=u<.5?u*(1+s):u+s-u*s),i=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,o=6*r<1?e+6*(n-e)*r:2*r<1?n:3*r<2?e+(n-e)*(2/3-r)*6:e,i[c]=255*o;return i},a.hsl.hsv=function(t){var e=t[0],n=t[1]/100,r=t[2]/100,i=n,o=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,i*=o<=1?o:2-o,[e,100*(0===r?2*i/(o+i):2*n/(r+n)),100*((r+n)/2)]},a.hsv.rgb=function(t){var e=t[0]/60,n=t[1]/100,r=t[2]/100,i=Math.floor(e)%6,o=e-Math.floor(e),a=255*r*(1-n),s=255*r*(1-n*o),u=255*r*(1-n*(1-o));switch(r*=255,i){case 0:return[r,u,a];case 1:return[s,r,a];case 2:return[a,r,u];case 3:return[a,s,r];case 4:return[u,a,r];case 5:return[r,a,s]}},a.hsv.hsl=function(t){var e,n,r,i=t[0],o=t[1]/100,a=t[2]/100,s=Math.max(a,.01);return r=(2-o)*a,n=o*s,[i,100*(n=(n/=(e=(2-o)*s)<=1?e:2-e)||0),100*(r/=2)]},a.hwb.rgb=function(t){var e,n,r,i,o,a,s,u=t[0]/360,c=t[1]/100,l=t[2]/100,f=c+l;switch(f>1&&(c/=f,l/=f),n=1-l,r=6*u-(e=Math.floor(6*u)),0!=(1&e)&&(r=1-r),i=c+r*(n-c),e){default:case 6:case 0:o=n,a=i,s=c;break;case 1:o=i,a=n,s=c;break;case 2:o=c,a=n,s=i;break;case 3:o=c,a=i,s=n;break;case 4:o=i,a=c,s=n;break;case 5:o=n,a=c,s=i}return[255*o,255*a,255*s]},a.cmyk.rgb=function(t){var e=t[0]/100,n=t[1]/100,r=t[2]/100,i=t[3]/100;return[255*(1-Math.min(1,e*(1-i)+i)),255*(1-Math.min(1,n*(1-i)+i)),255*(1-Math.min(1,r*(1-i)+i))]},a.xyz.rgb=function(t){var e,n,r,i=t[0]/100,o=t[1]/100,a=t[2]/100;return n=-.9689*i+1.8758*o+.0415*a,r=.0557*i+-.204*o+1.057*a,e=(e=3.2406*i+-1.5372*o+-.4986*a)>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(e=Math.min(Math.max(0,e),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},a.xyz.lab=function(t){var e=t[0],n=t[1],r=t[2];return n/=100,r/=108.883,e=(e/=95.047)>.008856?Math.pow(e,1/3):7.787*e+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(e-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},a.lab.xyz=function(t){var e,n,r,i=t[0],o=t[1],a=t[2];e=o/500+(n=(i+16)/116),r=n-a/200;var s=Math.pow(n,3),u=Math.pow(e,3),c=Math.pow(r,3);return n=s>.008856?s:(n-16/116)/7.787,e=u>.008856?u:(e-16/116)/7.787,r=c>.008856?c:(r-16/116)/7.787,[e*=95.047,n*=100,r*=108.883]},a.lab.lch=function(t){var e,n=t[0],r=t[1],i=t[2];return(e=360*Math.atan2(i,r)/2/Math.PI)<0&&(e+=360),[n,Math.sqrt(r*r+i*i),e]},a.lch.lab=function(t){var e,n=t[0],r=t[1];return e=t[2]/360*2*Math.PI,[n,r*Math.cos(e),r*Math.sin(e)]},a.rgb.ansi16=function(t){var e=t[0],n=t[1],r=t[2],i=1 in arguments?arguments[1]:a.rgb.hsv(t)[2];if(0===(i=Math.round(i/50)))return 30;var o=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(e/255));return 2===i&&(o+=60),o},a.hsv.ansi16=function(t){return a.rgb.ansi16(a.hsv.rgb(t),t[2])},a.rgb.ansi256=function(t){var e=t[0],n=t[1],r=t[2];return e===n&&n===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},a.ansi16.rgb=function(t){var e=t%10;if(0===e||7===e)return t>50&&(e+=3.5),[e=e/10.5*255,e,e];var n=.5*(1+~~(t>50));return[(1&e)*n*255,(e>>1&1)*n*255,(e>>2&1)*n*255]},a.ansi256.rgb=function(t){if(t>=232){var e=10*(t-232)+8;return[e,e,e]}var n;return t-=16,[Math.floor(t/36)/5*255,Math.floor((n=t%36)/6)/5*255,n%6/5*255]},a.rgb.hex=function(t){var e=(((255&Math.round(t[0]))<<16)+((255&Math.round(t[1]))<<8)+(255&Math.round(t[2]))).toString(16).toUpperCase();return"000000".substring(e.length)+e},a.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var n=e[0];3===e[0].length&&(n=n.split("").map(function(t){return t+t}).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},a.rgb.hcg=function(t){var e,n,r=t[0]/255,i=t[1]/255,o=t[2]/255,a=Math.max(Math.max(r,i),o),s=Math.min(Math.min(r,i),o),u=a-s;return e=u<1?s/(1-u):0,n=u<=0?0:a===r?(i-o)/u%6:a===i?2+(o-r)/u:4+(r-i)/u+4,n/=6,[360*(n%=1),100*u,100*e]},a.hsl.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=1,i=0;return(r=n<.5?2*e*n:2*e*(1-n))<1&&(i=(n-.5*r)/(1-r)),[t[0],100*r,100*i]},a.hsv.hcg=function(t){var e=t[1]/100,n=t[2]/100,r=e*n,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},a.hcg.rgb=function(t){var e=t[0]/360,n=t[1]/100,r=t[2]/100;if(0===n)return[255*r,255*r,255*r];var i,o=[0,0,0],a=e%1*6,s=a%1,u=1-s;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=u,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=u,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=u}return i=(1-n)*r,[255*(n*o[0]+i),255*(n*o[1]+i),255*(n*o[2]+i)]},a.hcg.hsv=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e),r=0;return n>0&&(r=e/n),[t[0],100*r,100*n]},a.hcg.hsl=function(t){var e=t[1]/100,n=t[2]/100*(1-e)+.5*e,r=0;return n>0&&n<.5?r=e/(2*n):n>=.5&&n<1&&(r=e/(2*(1-n))),[t[0],100*r,100*n]},a.hcg.hwb=function(t){var e=t[1]/100,n=e+t[2]/100*(1-e);return[t[0],100*(n-e),100*(1-n)]},a.hwb.hcg=function(t){var e=t[1]/100,n=1-t[2]/100,r=n-e,i=0;return r<1&&(i=(n-r)/(1-r)),[t[0],100*r,100*i]},a.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]},a.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]},a.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]},a.gray.hsl=a.gray.hsv=function(t){return[0,0,t[0]]},a.gray.hwb=function(t){return[0,100,t[0]]},a.gray.cmyk=function(t){return[0,0,0,t[0]]},a.gray.lab=function(t){return[t[0],0,0]},a.gray.hex=function(t){var e=255&Math.round(t[0]/100*255),n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}},,,,,function(t,e){t.exports=function(t,e){return function n(){null==e&&(e=t.length);var r=[].slice.call(arguments);return r.length>=e?t.apply(this,r):function(){return n.apply(this,r.concat([].slice.call(arguments)))}}}},function(t,e,n){var r=n(529),i=n(534)(function(t,e,n){r(t,e,n)});t.exports=i},function(t,e,n){var r=n(10)("identity",n(30),n(33));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(10)("head",n(70),n(33));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(10)("filter",n(537));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(10)("join",n(541));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(10)("uniq",n(543),n(33));r.placeholder=n(9),t.exports=r},function(t,e,n){t.exports=function(){"use strict";var t=["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"],e=["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"],n=["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"],r=["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmuliscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mpspace","msqrt","mystyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"],i=["#text"],o=["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"],a=["accent-height","accumulate","additivive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"],s=["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"],u=["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"];function c(t,e){for(var n=e.length;n--;)"string"==typeof e[n]&&(e[n]=e[n].toLowerCase()),t[e[n]]=!0;return t}function l(t){var e={},n=void 0;for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var f=/\{\{[\s\S]*|[\s\S]*\}\}/gm,p=/<%[\s\S]*|[\s\S]*%>/gm,d=/^data-[\-\w.\u00B7-\uFFFF]/,h=/^aria-[\-\w]+$/,v=/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,y=/^(?:\w+script|data):/i,m=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g,g="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};function b(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:T(),A=function(t){return _(t)};if(A.version="1.0.7",A.removed=[],!S||!S.document||9!==S.document.nodeType)return A.isSupported=!1,A;var x=S.document,w=!1,E=!1,O=S.document,P=S.DocumentFragment,C=S.HTMLTemplateElement,M=S.Node,L=S.NodeFilter,R=S.NamedNodeMap,k=void 0===R?S.NamedNodeMap||S.MozNamedAttrMap:R,D=S.Text,I=S.Comment,N=S.DOMParser;if("function"==typeof C){var B=O.createElement("template");B.content&&B.content.ownerDocument&&(O=B.content.ownerDocument)}var G=O,F=G.implementation,j=G.createNodeIterator,H=G.getElementsByTagName,U=G.createDocumentFragment,W=x.importNode,V={};A.isSupported=F&&void 0!==F.createHTMLDocument&&9!==O.documentMode;var K=f,$=p,z=d,X=h,q=y,Y=m,Q=v,J=null,Z=c({},[].concat(b(t),b(e),b(n),b(r),b(i))),tt=null,et=c({},[].concat(b(o),b(a),b(s),b(u))),nt=null,rt=null,it=!0,ot=!0,at=!1,st=!1,ut=!1,ct=!1,lt=!1,ft=!1,pt=!1,dt=!1,ht=!1,vt=!0,yt=!0,mt=!1,gt={},bt=c({},["audio","head","math","script","style","template","svg","video"]),Tt=c({},["audio","video","img","source","image"]),_t=c({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),St=null,At=O.createElement("form"),xt=function(f){"object"!==(void 0===f?"undefined":g(f))&&(f={}),J="ALLOWED_TAGS"in f?c({},f.ALLOWED_TAGS):Z,tt="ALLOWED_ATTR"in f?c({},f.ALLOWED_ATTR):et,nt="FORBID_TAGS"in f?c({},f.FORBID_TAGS):{},rt="FORBID_ATTR"in f?c({},f.FORBID_ATTR):{},gt="USE_PROFILES"in f&&f.USE_PROFILES,it=!1!==f.ALLOW_ARIA_ATTR,ot=!1!==f.ALLOW_DATA_ATTR,at=f.ALLOW_UNKNOWN_PROTOCOLS||!1,st=f.SAFE_FOR_JQUERY||!1,ut=f.SAFE_FOR_TEMPLATES||!1,ct=f.WHOLE_DOCUMENT||!1,pt=f.RETURN_DOM||!1,dt=f.RETURN_DOM_FRAGMENT||!1,ht=f.RETURN_DOM_IMPORT||!1,ft=f.FORCE_BODY||!1,vt=!1!==f.SANITIZE_DOM,yt=!1!==f.KEEP_CONTENT,mt=f.IN_PLACE||!1,Q=f.ALLOWED_URI_REGEXP||Q,ut&&(ot=!1),dt&&(pt=!0),gt&&(J=c({},[].concat(b(i))),tt=[],!0===gt.html&&(c(J,t),c(tt,o)),!0===gt.svg&&(c(J,e),c(tt,a),c(tt,u)),!0===gt.svgFilters&&(c(J,n),c(tt,a),c(tt,u)),!0===gt.mathMl&&(c(J,r),c(tt,s),c(tt,u))),f.ADD_TAGS&&(J===Z&&(J=l(J)),c(J,f.ADD_TAGS)),f.ADD_ATTR&&(tt===et&&(tt=l(tt)),c(tt,f.ADD_ATTR)),f.ADD_URI_SAFE_ATTR&&c(_t,f.ADD_URI_SAFE_ATTR),yt&&(J["#text"]=!0),ct&&c(J,["html","head","body"]),J.table&&c(J,["tbody"]),Object&&"freeze"in Object&&Object.freeze(f),St=f},wt=function(t){A.removed.push({element:t});try{t.parentNode.removeChild(t)}catch(e){t.outerHTML=""}},Et=function(t,e){try{A.removed.push({attribute:e.getAttributeNode(t),from:e})}catch(t){A.removed.push({attribute:null,from:e})}e.removeAttribute(t)},Ot=function(t){var e=void 0;if(ft&&(t=""+t),w)try{e=(new N).parseFromString(t,"text/html")}catch(t){}if(E&&c(nt,["title"]),!e||!e.documentElement){var n=e=F.createHTMLDocument(""),r=n.body;r.parentNode.removeChild(r.parentNode.firstElementChild),r.outerHTML=t}return H.call(e,ct?"html":"body")[0]};A.isSupported&&(function(){try{var t=Ot('

');t.querySelector("svg img")&&(w=!0)}catch(t){}}(),function(){try{var t=Ot("</title><img>");t.querySelector("title").textContent.match(/<\/title/)&&(E=!0)}catch(t){}}());var Pt=function(t){return j.call(t.ownerDocument||t,t,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT,function(){return L.FILTER_ACCEPT},!1)},Ct=function(t){return"object"===(void 0===M?"undefined":g(M))?t instanceof M:t&&"object"===(void 0===t?"undefined":g(t))&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Mt=function(t,e,n){V[t]&&V[t].forEach(function(t){t.call(A,e,n,St)})},Lt=function(t){var e=void 0;if(Mt("beforeSanitizeElements",t,null),function(t){return!(t instanceof D||t instanceof I)&&!("string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof k&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute)}(t))return wt(t),!0;var n=t.nodeName.toLowerCase();if(Mt("uponSanitizeElement",t,{tagName:n,allowedTags:J}),!J[n]||nt[n]){if(yt&&!bt[n]&&"function"==typeof t.insertAdjacentHTML)try{t.insertAdjacentHTML("AfterEnd",t.innerHTML)}catch(t){}return wt(t),!0}return!st||t.firstElementChild||t.content&&t.content.firstElementChild||!/</g.test(t.textContent)||(A.removed.push({element:t.cloneNode()}),t.innerHTML?t.innerHTML=t.innerHTML.replace(/</g,"<"):t.innerHTML=t.textContent.replace(/</g,"<")),ut&&3===t.nodeType&&(e=(e=(e=t.textContent).replace(K," ")).replace($," "),t.textContent!==e&&(A.removed.push({element:t.cloneNode()}),t.textContent=e)),Mt("afterSanitizeElements",t,null),!1},Rt=function(t,e,n){if(vt&&("id"===e||"name"===e)&&(n in O||n in At))return!1;if(ut&&(n=(n=n.replace(K," ")).replace($," ")),ot&&z.test(e));else if(it&&X.test(e));else{if(!tt[e]||rt[e])return!1;if(_t[e]);else if(Q.test(n.replace(Y,"")));else if("src"!==e&&"xlink:href"!==e||0!==n.indexOf("data:")||!Tt[t])if(at&&!q.test(n.replace(Y,"")));else if(n)return!1}return!0},kt=function(t){var e=void 0,n=void 0,r=void 0,i=void 0,o=void 0;Mt("beforeSanitizeAttributes",t,null);var a=t.attributes;if(a){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tt};for(o=a.length;o--;){var u=e=a[o],c=u.name;if(n=e.value.trim(),r=c.toLowerCase(),s.attrName=r,s.attrValue=n,s.keepAttr=!0,Mt("uponSanitizeAttribute",t,s),n=s.attrValue,"name"===r&&"IMG"===t.nodeName&&a.id)i=a.id,a=Array.prototype.slice.apply(a),Et("id",t),Et(c,t),a.indexOf(i)>o&&t.setAttribute("id",i.value);else{if("INPUT"===t.nodeName&&"type"===r&&"file"===n&&(tt[r]||!rt[r]))continue;"id"===c&&t.setAttribute(c,""),Et(c,t)}if(s.keepAttr){var l=t.nodeName.toLowerCase();if(Rt(l,r,n))try{t.setAttribute(c,n),A.removed.pop()}catch(t){}}}Mt("afterSanitizeAttributes",t,null)}},Dt=function t(e){var n=void 0,r=Pt(e);for(Mt("beforeSanitizeShadowDOM",e,null);n=r.nextNode();)Mt("uponSanitizeShadowNode",n,null),Lt(n)||(n.content instanceof P&&t(n.content),kt(n));Mt("afterSanitizeShadowDOM",e,null)};return A.sanitize=function(t,e){var n=void 0,r=void 0,i=void 0,o=void 0,a=void 0;if(t||(t="\x3c!--\x3e"),"string"!=typeof t&&!Ct(t)){if("function"!=typeof t.toString)throw new TypeError("toString is not a function");if("string"!=typeof(t=t.toString()))throw new TypeError("dirty is not a string, aborting")}if(!A.isSupported){if("object"===g(S.toStaticHTML)||"function"==typeof S.toStaticHTML){if("string"==typeof t)return S.toStaticHTML(t);if(Ct(t))return S.toStaticHTML(t.outerHTML)}return t}if(lt||xt(e),A.removed=[],mt);else if(t instanceof M)n=Ot("\x3c!--\x3e"),1===(r=n.ownerDocument.importNode(t,!0)).nodeType&&"BODY"===r.nodeName?n=r:n.appendChild(r);else{if(!pt&&!ct&&-1===t.indexOf("<"))return t;if(!(n=Ot(t)))return pt?null:""}n&&ft&&wt(n.firstChild);for(var s=Pt(mt?t:n);i=s.nextNode();)3===i.nodeType&&i===o||Lt(i)||(i.content instanceof P&&Dt(i.content),kt(i),o=i);if(mt)return t;if(pt){if(dt)for(a=U.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return ht&&(a=W.call(x,a,!0)),a}return ct?n.outerHTML:n.innerHTML},A.setConfig=function(t){xt(t),lt=!0},A.clearConfig=function(){St=null,lt=!1},A.isValidAttribute=function(t,e,n){St||xt({});var r=t.toLowerCase(),i=e.toLowerCase();return Rt(r,i,n)},A.addHook=function(t,e){"function"==typeof e&&(V[t]=V[t]||[],V[t].push(e))},A.removeHook=function(t){V[t]&&V[t].pop()},A.removeHooks=function(t){V[t]&&(V[t]=[])},A.removeAllHooks=function(){V={}},A}()}()},function(t,e,n){var r;"undefined"!=typeof window?r=window:"undefined"!=typeof self?r=self:(console.warn("Using browser-only version of superagent in non-browser environment"),r=this);var i=n(547),o=n(548),a=n(270),s=n(549),u=n(551);function c(){}var l=e=t.exports=function(t,n){return"function"==typeof n?new e.Request("GET",t).end(n):1==arguments.length?new e.Request("GET",t):new e.Request(t,n)};e.Request=m,l.getXHR=function(){if(!(!r.XMLHttpRequest||r.location&&"file:"==r.location.protocol&&r.ActiveXObject))return new XMLHttpRequest;try{return new ActiveXObject("Microsoft.XMLHTTP")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(t){}try{return new ActiveXObject("Msxml2.XMLHTTP")}catch(t){}throw Error("Browser-only version of superagent could not find XHR")};var f="".trim?function(t){return t.trim()}:function(t){return t.replace(/(^\s*|\s*$)/g,"")};function p(t){if(!a(t))return t;var e=[];for(var n in t)d(e,n,t[n]);return e.join("&")}function d(t,e,n){if(null!=n)if(Array.isArray(n))n.forEach(function(n){d(t,e,n)});else if(a(n))for(var r in n)d(t,e+"["+r+"]",n[r]);else t.push(encodeURIComponent(e)+"="+encodeURIComponent(n));else null===n&&t.push(encodeURIComponent(e))}function h(t){for(var e,n,r={},i=t.split("&"),o=0,a=i.length;o<a;++o)-1==(n=(e=i[o]).indexOf("="))?r[decodeURIComponent(e)]="":r[decodeURIComponent(e.slice(0,n))]=decodeURIComponent(e.slice(n+1));return r}function v(t){return/[\/+]json($|[^-\w])/.test(t)}function y(t){this.req=t,this.xhr=this.req.xhr,this.text="HEAD"!=this.req.method&&(""===this.xhr.responseType||"text"===this.xhr.responseType)||void 0===this.xhr.responseType?this.xhr.responseText:null,this.statusText=this.req.xhr.statusText;var e=this.xhr.status;1223===e&&(e=204),this._setStatusProperties(e),this.header=this.headers=function(t){for(var e,n,r,i,o=t.split(/\r?\n/),a={},s=0,u=o.length;s<u;++s)-1!==(e=(n=o[s]).indexOf(":"))&&(r=n.slice(0,e).toLowerCase(),i=f(n.slice(e+1)),a[r]=i);return a}(this.xhr.getAllResponseHeaders()),this.header["content-type"]=this.xhr.getResponseHeader("content-type"),this._setHeaderProperties(this.header),null===this.text&&t._responseType?this.body=this.xhr.response:this.body="HEAD"!=this.req.method?this._parseBody(this.text?this.text:this.xhr.response):null}function m(t,e){var n=this;this._query=this._query||[],this.method=t,this.url=e,this.header={},this._header={},this.on("end",function(){var t,e=null,r=null;try{r=new y(n)}catch(t){return(e=new Error("Parser is unable to parse the response")).parse=!0,e.original=t,n.xhr?(e.rawResponse=void 0===n.xhr.responseType?n.xhr.responseText:n.xhr.response,e.status=n.xhr.status?n.xhr.status:null,e.statusCode=e.status):(e.rawResponse=null,e.status=null),n.callback(e)}n.emit("response",r);try{n._isResponseOK(r)||(t=new Error(r.statusText||"Unsuccessful HTTP response"))}catch(e){t=e}t?(t.original=e,t.response=r,t.status=r.status,n.callback(t,r)):n.callback(null,r)})}function g(t,e,n){var r=l("DELETE",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r}l.serializeObject=p,l.parseString=h,l.types={html:"text/html",json:"application/json",xml:"text/xml",urlencoded:"application/x-www-form-urlencoded",form:"application/x-www-form-urlencoded","form-data":"application/x-www-form-urlencoded"},l.serialize={"application/x-www-form-urlencoded":p,"application/json":JSON.stringify},l.parse={"application/x-www-form-urlencoded":h,"application/json":JSON.parse},s(y.prototype),y.prototype._parseBody=function(t){var e=l.parse[this.type];return this.req._parser?this.req._parser(this,t):(!e&&v(this.type)&&(e=l.parse["application/json"]),e&&t&&(t.length||t instanceof Object)?e(t):null)},y.prototype.toError=function(){var t=this.req,e=t.method,n=t.url,r="cannot "+e+" "+n+" ("+this.status+")",i=new Error(r);return i.status=this.status,i.method=e,i.url=n,i},l.Response=y,i(m.prototype),o(m.prototype),m.prototype.type=function(t){return this.set("Content-Type",l.types[t]||t),this},m.prototype.accept=function(t){return this.set("Accept",l.types[t]||t),this},m.prototype.auth=function(t,e,n){1===arguments.length&&(e=""),"object"==typeof e&&null!==e&&(n=e,e=""),n||(n={type:"function"==typeof btoa?"basic":"auto"});return this._auth(t,e,n,function(t){if("function"==typeof btoa)return btoa(t);throw new Error("Cannot use basic auth, btoa is not a function")})},m.prototype.query=function(t){return"string"!=typeof t&&(t=p(t)),t&&this._query.push(t),this},m.prototype.attach=function(t,e,n){if(e){if(this._data)throw Error("superagent can't mix .send() and .attach()");this._getFormData().append(t,e,n||e.name)}return this},m.prototype._getFormData=function(){return this._formData||(this._formData=new r.FormData),this._formData},m.prototype.callback=function(t,e){if(this._shouldRetry(t,e))return this._retry();var n=this._callback;this.clearTimeout(),t&&(this._maxRetries&&(t.retries=this._retries-1),this.emit("error",t)),n(t,e)},m.prototype.crossDomainError=function(){var t=new Error("Request has been terminated\nPossible causes: the network is offline, Origin is not allowed by Access-Control-Allow-Origin, the page is being unloaded, etc.");t.crossDomain=!0,t.status=this.status,t.method=this.method,t.url=this.url,this.callback(t)},m.prototype.buffer=m.prototype.ca=m.prototype.agent=function(){return console.warn("This is not supported in browser version of superagent"),this},m.prototype.pipe=m.prototype.write=function(){throw Error("Streaming is not supported in browser version of superagent")},m.prototype._isHost=function(t){return t&&"object"==typeof t&&!Array.isArray(t)&&"[object Object]"!==Object.prototype.toString.call(t)},m.prototype.end=function(t){return this._endCalled&&console.warn("Warning: .end() was called twice. This is not supported in superagent"),this._endCalled=!0,this._callback=t||c,this._finalizeQueryString(),this._end()},m.prototype._end=function(){var t=this,e=this.xhr=l.getXHR(),n=this._formData||this._data;this._setTimeouts(),e.onreadystatechange=function(){var n=e.readyState;if(n>=2&&t._responseTimeoutTimer&&clearTimeout(t._responseTimeoutTimer),4==n){var r;try{r=e.status}catch(t){r=0}if(!r){if(t.timedout||t._aborted)return;return t.crossDomainError()}t.emit("end")}};var r=function(e,n){n.total>0&&(n.percent=n.loaded/n.total*100),n.direction=e,t.emit("progress",n)};if(this.hasListeners("progress"))try{e.onprogress=r.bind(null,"download"),e.upload&&(e.upload.onprogress=r.bind(null,"upload"))}catch(t){}try{this.username&&this.password?e.open(this.method,this.url,!0,this.username,this.password):e.open(this.method,this.url,!0)}catch(t){return this.callback(t)}if(this._withCredentials&&(e.withCredentials=!0),!this._formData&&"GET"!=this.method&&"HEAD"!=this.method&&"string"!=typeof n&&!this._isHost(n)){var i=this._header["content-type"],o=this._serializer||l.serialize[i?i.split(";")[0]:""];!o&&v(i)&&(o=l.serialize["application/json"]),o&&(n=o(n))}for(var a in this.header)null!=this.header[a]&&this.header.hasOwnProperty(a)&&e.setRequestHeader(a,this.header[a]);return this._responseType&&(e.responseType=this._responseType),this.emit("request",this),e.send(void 0!==n?n:null),this},l.agent=function(){return new u},["GET","POST","OPTIONS","PATCH","PUT","DELETE"].forEach(function(t){u.prototype[t.toLowerCase()]=function(e,n){var r=new l.Request(t,e);return this._setDefaults(r),n&&r.end(n),r}}),u.prototype.del=u.prototype.delete,l.get=function(t,e,n){var r=l("GET",t);return"function"==typeof e&&(n=e,e=null),e&&r.query(e),n&&r.end(n),r},l.head=function(t,e,n){var r=l("HEAD",t);return"function"==typeof e&&(n=e,e=null),e&&r.query(e),n&&r.end(n),r},l.options=function(t,e,n){var r=l("OPTIONS",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},l.del=g,l.delete=g,l.patch=function(t,e,n){var r=l("PATCH",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},l.post=function(t,e,n){var r=l("POST",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r},l.put=function(t,e,n){var r=l("PUT",t);return"function"==typeof e&&(n=e,e=null),e&&r.send(e),n&&r.end(n),r}},function(t,e,n){"use strict";const r=n(552),i=n(553);function o(t,e){return e.encode?e.strict?r(t):encodeURIComponent(t):t}function a(t,e){return e.decode?i(t):t}function s(t){const e=t.indexOf("?");return-1===e?"":t.slice(e+1)}function u(t,e){const n=function(t){let e;switch(t.arrayFormat){case"index":return(t,n,r)=>{e=/\[(\d*)\]$/.exec(t),t=t.replace(/\[\d*\]$/,""),e?(void 0===r[t]&&(r[t]={}),r[t][e[1]]=n):r[t]=n};case"bracket":return(t,n,r)=>{e=/(\[\])$/.exec(t),t=t.replace(/\[\]$/,""),e?void 0!==r[t]?r[t]=[].concat(r[t],n):r[t]=[n]:r[t]=n};default:return(t,e,n)=>{void 0!==n[t]?n[t]=[].concat(n[t],e):n[t]=e}}}(e=Object.assign({decode:!0,arrayFormat:"none"},e)),r=Object.create(null);if("string"!=typeof t)return r;if(!(t=t.trim().replace(/^[?#&]/,"")))return r;for(const i of t.split("&")){let[t,o]=i.replace(/\+/g," ").split("=");o=void 0===o?null:a(o,e),n(a(t,e),o,r)}return Object.keys(r).sort().reduce((t,e)=>{const n=r[e];return Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?t[e]=function t(e){return Array.isArray(e)?e.sort():"object"==typeof e?t(Object.keys(e)).sort((t,e)=>Number(t)-Number(e)).map(t=>e[t]):e}(n):t[e]=n,t},Object.create(null))}e.extract=s,e.parse=u,e.stringify=((t,e)=>{if(!t)return"";const n=function(t){switch(t.arrayFormat){case"index":return(e,n,r)=>null===n?[o(e,t),"[",r,"]"].join(""):[o(e,t),"[",o(r,t),"]=",o(n,t)].join("");case"bracket":return(e,n)=>null===n?[o(e,t),"[]"].join(""):[o(e,t),"[]=",o(n,t)].join("");default:return(e,n)=>null===n?o(e,t):[o(e,t),"=",o(n,t)].join("")}}(e=Object.assign({encode:!0,strict:!0,arrayFormat:"none"},e)),r=Object.keys(t);return!1!==e.sort&&r.sort(e.sort),r.map(r=>{const i=t[r];if(void 0===i)return"";if(null===i)return o(r,e);if(Array.isArray(i)){const t=[];for(const e of i.slice())void 0!==e&&t.push(n(r,e,t.length));return t.join("&")}return o(r,e)+"="+o(i,e)}).filter(t=>t.length>0).join("&")}),e.parseUrl=((t,e)=>{const n=t.indexOf("#");return-1!==n&&(t=t.slice(0,n)),{url:t.split("?")[0]||"",query:u(s(t),e)}})},function(t,e,n){var r=n(10)("map",n(756));r.placeholder=n(9),t.exports=r},function(t,e){e.hashCode=function(){var t=function(t){t=t.toString();var e,n=0;for(e=0;e<t.length;e++)n=(n<<5)-n+t.charCodeAt(e)&4294967295;return n},e=function(e){var r=0;for(var i in e)e.hasOwnProperty(i)&&(r+=t(i+n(e[i])));return r},n=function(n){var r={string:t,number:t,boolean:t,object:e},i=typeof n;return null!=n&&r[i]?r[i](n)+t(i):0};return{value:n}}},function(t,e,n){"use strict";n.r(e);var r=n(781),i="object"==typeof self&&self&&self.Object===Object&&self,o=(r.a||i||Function("return this")()).Symbol,a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=o?o.toStringTag:void 0;var l=function(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=u.call(t);return r&&(e?t[c]=n:delete t[c]),i},f=Object.prototype.toString;var p=function(t){return f.call(t)},d="[object Null]",h="[object Undefined]",v=o?o.toStringTag:void 0;var y=function(t){return null==t?void 0===t?h:d:v&&v in Object(t)?l(t):p(t)};var m=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object);var g=function(t){return null!=t&&"object"==typeof t},b="[object Object]",T=Function.prototype,_=Object.prototype,S=T.toString,A=_.hasOwnProperty,x=S.call(Object);var w=function(t){if(!g(t)||y(t)!=b)return!1;var e=m(t);if(null===e)return!0;var n=A.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&S.call(n)==x},E=n(657),O={INIT:"@@redux/INIT"};function P(t,e,n){var r;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(P)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var i=t,o=e,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){return o}function f(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return c(),s.push(t),function(){if(e){e=!1,c();var n=s.indexOf(t);s.splice(n,1)}}}function p(t){if(!w(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,o=i(o,t)}finally{u=!1}for(var e=a=s,n=0;n<e.length;n++){(0,e[n])()}return t}return p({type:O.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");i=t,p({type:O.INIT})}})[E.a]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[E.a]=function(){return this},t},r}function C(t,e){var n=e&&e.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function M(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var i=e[r];0,"function"==typeof t[i]&&(n[i]=t[i])}var o=Object.keys(n);var a=void 0;try{!function(t){Object.keys(t).forEach(function(e){var n=t[e];if(void 0===n(void 0,{type:O.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+O.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')})}(n)}catch(t){a=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(a)throw a;for(var r=!1,i={},s=0;s<o.length;s++){var u=o[s],c=n[u],l=t[u],f=c(l,e);if(void 0===f){var p=C(u,e);throw new Error(p)}i[u]=f,r=r||f!==l}return r?i:t}}function L(t,e){return function(){return e(t.apply(void 0,arguments))}}function R(t,e){if("function"==typeof t)return L(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(t),r={},i=0;i<n.length;i++){var o=n[i],a=t[o];"function"==typeof a&&(r[o]=L(a,e))}return r}function k(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}var D=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function I(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(n,r,i){var o,a=t(n,r,i),s=a.dispatch,u={getState:a.getState,dispatch:function(t){return s(t)}};return o=e.map(function(t){return t(u)}),s=k.apply(void 0,o)(a.dispatch),D({},a,{dispatch:s})}}}n.d(e,"createStore",function(){return P}),n.d(e,"combineReducers",function(){return M}),n.d(e,"bindActionCreators",function(){return R}),n.d(e,"applyMiddleware",function(){return I}),n.d(e,"compose",function(){return k})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){var r=n(42),i=n(191),o=n(192),a=n(531),s=n(12),u=n(49),c=n(196);t.exports=function t(e,n,l,f,p){e!==n&&o(n,function(o,u){if(s(o))p||(p=new r),a(e,n,u,l,t,f,p);else{var d=f?f(c(e,u),o,u+"",e,n,p):void 0;void 0===d&&(d=o),i(e,u,d)}},u)}},function(t,e){t.exports=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}},function(t,e,n){var r=n(191),i=n(120),o=n(121),a=n(22),s=n(122),u=n(43),c=n(3),l=n(532),f=n(44),p=n(36),d=n(12),h=n(123),v=n(72),y=n(196),m=n(533);t.exports=function(t,e,n,g,b,T,_){var S=y(t,n),A=y(e,n),x=_.get(A);if(x)r(t,n,x);else{var w=T?T(S,A,n+"",t,e,_):void 0,E=void 0===w;if(E){var O=c(A),P=!O&&f(A),C=!O&&!P&&v(A);w=A,O||P||C?c(S)?w=S:l(S)?w=a(S):P?(E=!1,w=i(A,!0)):C?(E=!1,w=o(A,!0)):w=[]:h(A)||u(A)?(w=S,u(S)?w=m(S):d(S)&&!p(S)||(w=s(A))):E=!1}E&&(_.set(A,w),b(w,A,g,T,_),_.delete(A)),r(t,n,w)}}},function(t,e,n){var r=n(28),i=n(7);t.exports=function(t){return i(t)&&r(t)}},function(t,e,n){var r=n(29),i=n(49);t.exports=function(t){return r(t,i(t))}},function(t,e,n){var r=n(535),i=n(536);t.exports=function(t){return r(function(e,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),e=Object(e);++r<o;){var u=n[r];u&&t(e,u,r,a)}return e})}},function(t,e,n){var r=n(30),i=n(124),o=n(73);t.exports=function(t,e){return o(i(t,e,r),t+"")}},function(t,e,n){var r=n(31),i=n(28),o=n(45),a=n(12);t.exports=function(t,e,n){if(!a(n))return!1;var s=typeof e;return!!("number"==s?i(n)&&o(e,n.length):"string"==s&&e in n)&&r(n[e],t)}},function(t,e,n){var r=n(126),i=n(538),o=n(50),a=n(3);t.exports=function(t,e){return(a(t)?r:i)(t,o(e,3))}},function(t,e,n){var r=n(269);t.exports=function(t,e){var n=[];return r(t,function(t,r,i){e(t,r,i)&&n.push(t)}),n}},function(t,e,n){var r=n(192),i=n(24);t.exports=function(t,e){return t&&r(t,e,i)}},function(t,e,n){var r=n(28);t.exports=function(t,e){return function(n,i){if(null==n)return n;if(!r(n))return t(n,i);for(var o=n.length,a=e?o:-1,s=Object(n);(e?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},function(t,e){var n=Array.prototype.join;t.exports=function(t,e){return null==t?"":n.call(t,e)}},function(t,e,n){var r=n(46),i=n(132),o=n(22),a=n(3);t.exports=function(){var t=arguments.length;if(!t)return[];for(var e=Array(t-1),n=arguments[0],s=t;s--;)e[s-1]=arguments[s];return r(a(n)?o(n):[n],i(e,1))}},function(t,e,n){var r=n(544);t.exports=function(t){return t&&t.length?r(t):[]}},function(t,e,n){var r=n(129),i=n(125),o=n(545),a=n(130),s=n(546),u=n(76),c=200;t.exports=function(t,e,n){var l=-1,f=i,p=t.length,d=!0,h=[],v=h;if(n)d=!1,f=o;else if(p>=c){var y=e?null:s(t);if(y)return u(y);d=!1,f=a,v=new r}else v=e?[]:h;t:for(;++l<p;){var m=t[l],g=e?e(m):m;if(m=n||0!==m?m:0,d&&g==g){for(var b=v.length;b--;)if(v[b]===g)continue t;e&&v.push(g),h.push(m)}else f(v,g,n)||(v!==h&&v.push(g),h.push(m))}return h}},function(t,e){t.exports=function(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}},function(t,e,n){var r=n(127),i=n(19),o=n(76),a=r&&1/o(new r([,-0]))[1]==1/0?function(t){return new r(t)}:i;t.exports=a},function(t,e,n){function r(t){if(t)return function(t){for(var e in r.prototype)t[e]=r.prototype[e];return t}(t)}t.exports=r,r.prototype.on=r.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},r.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var i=0;i<r.length;i++)if((n=r[i])===e||n.fn===e){r.splice(i,1);break}return this},r.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),n=this._callbacks["$"+t];if(n)for(var r=0,i=(n=n.slice(0)).length;r<i;++r)n[r].apply(this,e);return this},r.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},r.prototype.hasListeners=function(t){return!!this.listeners(t).length}},function(t,e,n){"use strict";var r=n(270);function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.clearTimeout=function(){return clearTimeout(this._timer),clearTimeout(this._responseTimeoutTimer),delete this._timer,delete this._responseTimeoutTimer,this},i.prototype.parse=function(t){return this._parser=t,this},i.prototype.responseType=function(t){return this._responseType=t,this},i.prototype.serialize=function(t){return this._serializer=t,this},i.prototype.timeout=function(t){if(!t||"object"!=typeof t)return this._timeout=t,this._responseTimeout=0,this;for(var e in t)switch(e){case"deadline":this._timeout=t.deadline;break;case"response":this._responseTimeout=t.response;break;default:console.warn("Unknown timeout option",e)}return this},i.prototype.retry=function(t,e){return 0!==arguments.length&&!0!==t||(t=1),t<=0&&(t=0),this._maxRetries=t,this._retries=0,this._retryCallback=e,this};var o=["ECONNRESET","ETIMEDOUT","EADDRINFO","ESOCKETTIMEDOUT"];i.prototype._shouldRetry=function(t,e){if(!this._maxRetries||this._retries++>=this._maxRetries)return!1;if(this._retryCallback)try{var n=this._retryCallback(t,e);if(!0===n)return!0;if(!1===n)return!1}catch(t){console.error(t)}if(e&&e.status&&e.status>=500&&501!=e.status)return!0;if(t){if(t.code&&~o.indexOf(t.code))return!0;if(t.timeout&&"ECONNABORTED"==t.code)return!0;if(t.crossDomain)return!0}return!1},i.prototype._retry=function(){return this.clearTimeout(),this.req&&(this.req=null,this.req=this.request()),this._aborted=!1,this.timedout=!1,this._end()},i.prototype.then=function(t,e){if(!this._fullfilledPromise){var n=this;this._endCalled&&console.warn("Warning: superagent request was sent twice, because both .end() and .then() were called. Never call .end() if you use promises"),this._fullfilledPromise=new Promise(function(t,e){n.end(function(n,r){n?e(n):t(r)})})}return this._fullfilledPromise.then(t,e)},i.prototype.catch=function(t){return this.then(void 0,t)},i.prototype.use=function(t){return t(this),this},i.prototype.ok=function(t){if("function"!=typeof t)throw Error("Callback required");return this._okCallback=t,this},i.prototype._isResponseOK=function(t){return!!t&&(this._okCallback?this._okCallback(t):t.status>=200&&t.status<300)},i.prototype.get=function(t){return this._header[t.toLowerCase()]},i.prototype.getHeader=i.prototype.get,i.prototype.set=function(t,e){if(r(t)){for(var n in t)this.set(n,t[n]);return this}return this._header[t.toLowerCase()]=e,this.header[t]=e,this},i.prototype.unset=function(t){return delete this._header[t.toLowerCase()],delete this.header[t],this},i.prototype.field=function(t,e){if(null===t||void 0===t)throw new Error(".field(name, val) name can not be empty");if(this._data&&console.error(".field() can't be used if .send() is used. Please use only .send() or only .field() & .attach()"),r(t)){for(var n in t)this.field(n,t[n]);return this}if(Array.isArray(e)){for(var i in e)this.field(t,e[i]);return this}if(null===e||void 0===e)throw new Error(".field(name, val) val can not be empty");return"boolean"==typeof e&&(e=""+e),this._getFormData().append(t,e),this},i.prototype.abort=function(){return this._aborted?this:(this._aborted=!0,this.xhr&&this.xhr.abort(),this.req&&this.req.abort(),this.clearTimeout(),this.emit("abort"),this)},i.prototype._auth=function(t,e,n,r){switch(n.type){case"basic":this.set("Authorization","Basic "+r(t+":"+e));break;case"auto":this.username=t,this.password=e;break;case"bearer":this.set("Authorization","Bearer "+t)}return this},i.prototype.withCredentials=function(t){return void 0==t&&(t=!0),this._withCredentials=t,this},i.prototype.redirects=function(t){return this._maxRedirects=t,this},i.prototype.maxResponseSize=function(t){if("number"!=typeof t)throw TypeError("Invalid argument");return this._maxResponseSize=t,this},i.prototype.toJSON=function(){return{method:this.method,url:this.url,data:this._data,headers:this._header}},i.prototype.send=function(t){var e=r(t),n=this._header["content-type"];if(this._formData&&console.error(".send() can't be used if .attach() or .field() is used. Please use only .send() or only .field() & .attach()"),e&&!this._data)Array.isArray(t)?this._data=[]:this._isHost(t)||(this._data={});else if(t&&this._data&&this._isHost(this._data))throw Error("Can't merge these send calls");if(e&&r(this._data))for(var i in t)this._data[i]=t[i];else"string"==typeof t?(n||this.type("form"),n=this._header["content-type"],this._data="application/x-www-form-urlencoded"==n?this._data?this._data+"&"+t:t:(this._data||"")+t):this._data=t;return!e||this._isHost(t)?this:(n||this.type("json"),this)},i.prototype.sortQuery=function(t){return this._sort=void 0===t||t,this},i.prototype._finalizeQueryString=function(){var t=this._query.join("&");if(t&&(this.url+=(this.url.indexOf("?")>=0?"&":"?")+t),this._query.length=0,this._sort){var e=this.url.indexOf("?");if(e>=0){var n=this.url.substring(e+1).split("&");"function"==typeof this._sort?n.sort(this._sort):n.sort(),this.url=this.url.substring(0,e)+"?"+n.join("&")}}},i.prototype._appendQueryString=function(){console.trace("Unsupported")},i.prototype._timeoutError=function(t,e,n){if(!this._aborted){var r=new Error(t+e+"ms exceeded");r.timeout=e,r.code="ECONNABORTED",r.errno=n,this.timedout=!0,this.abort(),this.callback(r)}},i.prototype._setTimeouts=function(){var t=this;this._timeout&&!this._timer&&(this._timer=setTimeout(function(){t._timeoutError("Timeout of ",t._timeout,"ETIME")},this._timeout)),this._responseTimeout&&!this._responseTimeoutTimer&&(this._responseTimeoutTimer=setTimeout(function(){t._timeoutError("Response timeout of ",t._responseTimeout,"ETIMEDOUT")},this._responseTimeout))}},function(t,e,n){"use strict";var r=n(550);function i(t){if(t)return function(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}(t)}t.exports=i,i.prototype.get=function(t){return this.header[t.toLowerCase()]},i.prototype._setHeaderProperties=function(t){var e=t["content-type"]||"";this.type=r.type(e);var n=r.params(e);for(var i in n)this[i]=n[i];this.links={};try{t.link&&(this.links=r.parseLinks(t.link))}catch(t){}},i.prototype._setStatusProperties=function(t){var e=t/100|0;this.status=this.statusCode=t,this.statusType=e,this.info=1==e,this.ok=2==e,this.redirect=3==e,this.clientError=4==e,this.serverError=5==e,this.error=(4==e||5==e)&&this.toError(),this.created=201==t,this.accepted=202==t,this.noContent=204==t,this.badRequest=400==t,this.unauthorized=401==t,this.notAcceptable=406==t,this.forbidden=403==t,this.notFound=404==t,this.unprocessableEntity=422==t}},function(t,e,n){"use strict";e.type=function(t){return t.split(/ *; */).shift()},e.params=function(t){return t.split(/ *; */).reduce(function(t,e){var n=e.split(/ *= */),r=n.shift(),i=n.shift();return r&&i&&(t[r]=i),t},{})},e.parseLinks=function(t){return t.split(/ *, */).reduce(function(t,e){var n=e.split(/ *; */),r=n[0].slice(1,-1);return t[n[1].split(/ *= */)[1].slice(1,-1)]=r,t},{})},e.cleanHeader=function(t,e){return delete t["content-type"],delete t["content-length"],delete t["transfer-encoding"],delete t.host,e&&(delete t.authorization,delete t.cookie),t}},function(t,e){function n(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert"].forEach(function(t){n.prototype[t]=function(){return this._defaults.push({fn:t,arguments:arguments}),this}}),n.prototype._setDefaults=function(t){this._defaults.forEach(function(e){t[e.fn].apply(t,e.arguments)})},t.exports=n},function(t,e,n){"use strict";t.exports=(t=>encodeURIComponent(t).replace(/[!'()*]/g,t=>`%${t.charCodeAt(0).toString(16).toUpperCase()}`))},function(t,e,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function o(t,e){try{return decodeURIComponent(t.join(""))}catch(t){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),r=t.slice(e);return Array.prototype.concat.call([],o(n),o(r))}function a(t){try{return decodeURIComponent(t)}catch(i){for(var e=t.match(r),n=1;n<e.length;n++)e=(t=o(e,n).join("")).match(r);return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"��","%FF%FE":"��"},n=i.exec(t);n;){try{e[n[0]]=decodeURIComponent(n[0])}catch(t){var r=a(n[0]);r!==n[0]&&(e[n[0]]=r)}n=i.exec(t)}e["%C2"]="�";for(var o=Object.keys(e),s=0;s<o.length;s++){var u=o[s];t=t.replace(new RegExp(u,"g"),e[u])}return t}(t)}}},function(t,e,n){var r=n(555),i=n(556),o={};for(var a in r)r.hasOwnProperty(a)&&(o[r[a]]=a);var s=t.exports={to:{}};function u(t,e,n){return Math.min(Math.max(e,t),n)}function c(t){var e=t.toString(16).toUpperCase();return e.length<2?"0"+e:e}s.get=function(t){var e,n;switch(t.substring(0,3).toLowerCase()){case"hsl":e=s.get.hsl(t),n="hsl";break;case"hwb":e=s.get.hwb(t),n="hwb";break;default:e=s.get.rgb(t),n="rgb"}return e?{model:n,value:e}:null},s.get.rgb=function(t){if(!t)return null;var e,n,i,o=[0,0,0,1];if(e=t.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(i=e[2],e=e[1],n=0;n<3;n++){var a=2*n;o[n]=parseInt(e.slice(a,a+2),16)}i&&(o[3]=Math.round(parseInt(i,16)/255*100)/100)}else if(e=t.match(/^#([a-f0-9]{3,4})$/i)){for(i=(e=e[1])[3],n=0;n<3;n++)o[n]=parseInt(e[n]+e[n],16);i&&(o[3]=Math.round(parseInt(i+i,16)/255*100)/100)}else if(e=t.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)){for(n=0;n<3;n++)o[n]=parseInt(e[n+1],0);e[4]&&(o[3]=parseFloat(e[4]))}else{if(!(e=t.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/)))return(e=t.match(/(\D+)/))?"transparent"===e[1]?[0,0,0,0]:(o=r[e[1]])?(o[3]=1,o):null:null;for(n=0;n<3;n++)o[n]=Math.round(2.55*parseFloat(e[n+1]));e[4]&&(o[3]=parseFloat(e[4]))}for(n=0;n<3;n++)o[n]=u(o[n],0,255);return o[3]=u(o[3],0,1),o},s.get.hsl=function(t){if(!t)return null;var e=t.match(/^hsla?\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},s.get.hwb=function(t){if(!t)return null;var e=t.match(/^hwb\(\s*([+-]?\d*[\.]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/);if(e){var n=parseFloat(e[4]);return[(parseFloat(e[1])%360+360)%360,u(parseFloat(e[2]),0,100),u(parseFloat(e[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},s.to.hex=function(){var t=i(arguments);return"#"+c(t[0])+c(t[1])+c(t[2])+(t[3]<1?c(Math.round(255*t[3])):"")},s.to.rgb=function(){var t=i(arguments);return t.length<4||1===t[3]?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},s.to.rgb.percent=function(){var t=i(arguments),e=Math.round(t[0]/255*100),n=Math.round(t[1]/255*100),r=Math.round(t[2]/255*100);return t.length<4||1===t[3]?"rgb("+e+"%, "+n+"%, "+r+"%)":"rgba("+e+"%, "+n+"%, "+r+"%, "+t[3]+")"},s.to.hsl=function(){var t=i(arguments);return t.length<4||1===t[3]?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},s.to.hwb=function(){var t=i(arguments),e="";return t.length>=4&&1!==t[3]&&(e=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+e+")"},s.to.keyword=function(t){return o[t.slice(0,3)]}},function(t,e,n){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(t,e,n){"use strict";var r=n(557),i=Array.prototype.concat,o=Array.prototype.slice,a=t.exports=function(t){for(var e=[],n=0,a=t.length;n<a;n++){var s=t[n];r(s)?e=i.call(e,o.call(s)):e.push(s)}return e};a.wrap=function(t){return function(){return t(a(arguments))}}},function(t,e){t.exports=function(t){return!(!t||"string"==typeof t)&&(t instanceof Array||Array.isArray(t)||t.length>=0&&(t.splice instanceof Function||Object.getOwnPropertyDescriptor(t,t.length-1)&&"String"!==t.constructor.name))}},function(t,e,n){var r=n(272),i=n(560),o={};Object.keys(r).forEach(function(t){o[t]={},Object.defineProperty(o[t],"channels",{value:r[t].channels}),Object.defineProperty(o[t],"labels",{value:r[t].labels});var e=i(t);Object.keys(e).forEach(function(n){var r=e[n];o[t][n]=function(t){var e=function(e){if(void 0===e||null===e)return e;arguments.length>1&&(e=Array.prototype.slice.call(arguments));var n=t(e);if("object"==typeof n)for(var r=n.length,i=0;i<r;i++)n[i]=Math.round(n[i]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}(r),o[t][n].raw=function(t){var e=function(e){return void 0===e||null===e?e:(arguments.length>1&&(e=Array.prototype.slice.call(arguments)),t(e))};return"conversion"in t&&(e.conversion=t.conversion),e}(r)})}),t.exports=o},function(t,e){t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},function(t,e,n){var r=n(272);function i(t){var e=function(){for(var t={},e=Object.keys(r),n=e.length,i=0;i<n;i++)t[e[i]]={distance:-1,parent:null};return t}(),n=[t];for(e[t].distance=0;n.length;)for(var i=n.pop(),o=Object.keys(r[i]),a=o.length,s=0;s<a;s++){var u=o[s],c=e[u];-1===c.distance&&(c.distance=e[i].distance+1,c.parent=i,n.unshift(u))}return e}function o(t,e){return function(n){return e(t(n))}}function a(t,e){for(var n=[e[t].parent,t],i=r[e[t].parent][t],a=e[t].parent;e[a].parent;)n.unshift(e[a].parent),i=o(r[e[a].parent][a],i),a=e[a].parent;return i.conversion=n,i}t.exports=function(t){for(var e=i(t),n={},r=Object.keys(e),o=r.length,s=0;s<o;s++){var u=r[s];null!==e[u].parent&&(n[u]=a(u,e))}return n}},function(t,e,n){var r=n(562);t.exports=function(t){return r(t).replace(/[\W_]+(.|$)/g,function(t,e){return e?" "+e:""}).trim()}},function(t,e){t.exports=function(t){return n.test(t)?t.toLowerCase():r.test(t)?(function(t){return t.replace(o,function(t,e){return e?" "+e:""})}(t)||t).toLowerCase():i.test(t)?function(t){return t.replace(a,function(t,e,n){return e+" "+n.toLowerCase().split("").join(" ")})}(t).toLowerCase():t.toLowerCase()};var n=/\s/,r=/(_|-|\.|:)/,i=/([a-z][A-Z]|[A-Z][a-z])/;var o=/[\W_]+(.|$)/g;var a=/(.)([A-Z]+)/g},,,,,,,,,,,,,,,function(t,e){function n(t){this.sourceStr=t,this.subCombos=n.parseComboStr(t),this.keyNames=this.subCombos.reduce(function(t,e){return t.concat(e)},[])}n.sequenceDeliminator=">>",n.comboDeliminator=">",n.keyDeliminator="+",n.parseComboStr=function(t){for(var e=n._splitStr(t,n.comboDeliminator),r=[],i=0;i<e.length;i+=1)r.push(n._splitStr(e[i],n.keyDeliminator));return r},n.prototype.check=function(t){for(var e=0,n=0;n<this.subCombos.length;n+=1)if(-1===(e=this._checkSubCombo(this.subCombos[n],e,t)))return!1;return!0},n.prototype.isEqual=function(t){if(!t||"string"!=typeof t&&"object"!=typeof t)return!1;if("string"==typeof t&&(t=new n(t)),this.subCombos.length!==t.subCombos.length)return!1;for(var e=0;e<this.subCombos.length;e+=1)if(this.subCombos[e].length!==t.subCombos[e].length)return!1;for(e=0;e<this.subCombos.length;e+=1){for(var r=this.subCombos[e],i=t.subCombos[e].slice(0),o=0;o<r.length;o+=1){var a=r[o],s=i.indexOf(a);s>-1&&i.splice(s,1)}if(0!==i.length)return!1}return!0},n._splitStr=function(t,e){for(var n=t,r=e,i="",o=[],a=0;a<n.length;a+=1)a>0&&n[a]===r&&"\\"!==n[a-1]&&(o.push(i.trim()),i="",a+=1),i+=n[a];return i&&o.push(i.trim()),o},n.prototype._checkSubCombo=function(t,e,r){t=t.slice(0),r=r.slice(e);for(var i=e,o=0;o<t.length;o+=1){var a=t[o];if("\\"===a[0]){var s=a.slice(1);s!==n.comboDeliminator&&s!==n.keyDeliminator||(a=s)}var u=r.indexOf(a);if(u>-1&&(t.splice(o,1),o-=1,u>i&&(i=u),0===t.length))return i}return-1},t.exports=n},,,,,,,,,function(t,e,n){var r=n(805)(n(161));t.exports=r},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";(function(t,r){var i,o=n(780);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=Object(o.a)(i);e.a=a}).call(this,n(32),n(798)(t))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict"; /*! * vue-i18n v8.3.0 * (c) 2018 kazuya kawaguchi * Released under the MIT License. */ function r(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function i(t){return null!==t&&"object"==typeof t}n.r(e);var o=Object.prototype.toString,a="[object Object]";function s(t){return o.call(t)===a}function u(t){return null===t||void 0===t}function c(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,r=null;return 1===t.length?i(t[0])||Array.isArray(t[0])?r=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(i(t[1])||Array.isArray(t[1]))&&(r=t[1])),{locale:n,params:r}}function l(t){return JSON.parse(JSON.stringify(t))}var f=Object.prototype.hasOwnProperty;function p(t,e){return f.call(t,e)}function d(t){for(var e=arguments,n=Object(t),r=1;r<arguments.length;r++){var o=e[r];if(void 0!==o&&null!==o){var a=void 0;for(a in o)p(o,a)&&(i(o[a])?n[a]=d(n[a],o[a]):n[a]=o[a])}}return n}var h="undefined"!=typeof Intl&&void 0!==Intl.DateTimeFormat,v="undefined"!=typeof Intl&&void 0!==Intl.NumberFormat;var y,m={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n)if(t.i18n instanceof z){if(t.__i18n)try{var e={};t.__i18n.forEach(function(t){e=d(e,JSON.parse(t))}),Object.keys(e).forEach(function(n){t.i18n.mergeLocaleMessage(n,e[n])})}catch(t){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0}else if(s(t.i18n)){if(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof z&&(t.i18n.root=this.$root.$i18n,t.i18n.formatter=this.$root.$i18n.formatter,t.i18n.fallbackLocale=this.$root.$i18n.fallbackLocale,t.i18n.silentTranslationWarn=this.$root.$i18n.silentTranslationWarn),t.__i18n)try{var n={};t.__i18n.forEach(function(t){n=d(n,JSON.parse(t))}),t.i18n.messages=n}catch(t){0}this._i18n=new z(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),this._i18n.subscribeDataChanging(this),this._subscribing=!0,(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale())}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof z?(this._i18n=this.$root.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0):t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof z&&(this._i18n=t.parent.$i18n,this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){this._i18n&&(this._subscribing&&(this._i18n.unsubscribeDataChanging(this),delete this._subscribing),this._i18nWatcher&&(this._i18nWatcher(),delete this._i18nWatcher),this._localeWatcher&&(this._localeWatcher(),delete this._localeWatcher),this._i18n=null)}},g={name:"i18n",functional:!0,props:{tag:{type:String,default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.props,r=e.data,i=e.children,o=e.parent.$i18n;if(i=(i||[]).filter(function(t){return t.tag||(t.text=t.text.trim())}),!o)return i;var a=n.path,s=n.locale,u={},c=n.places||{},l=(Array.isArray(c)?c.length:Object.keys(c).length,i.every(function(t){if(t.data&&t.data.attrs){var e=t.data.attrs.place;return void 0!==e&&""!==e}}));return Array.isArray(c)?c.forEach(function(t,e){u[e]=t}):Object.keys(c).forEach(function(t){u[t]=c[t]}),i.forEach(function(t,e){var n=l?""+t.data.attrs.place:""+e;u[n]=t}),t(n.tag,r,o.i(a,s,u))}};function b(t,e,n){S(t,n)&&A(t,e,n)}function T(t,e,n,r){S(t,n)&&(function(t,e){var n=e.context;return t._locale===n.$i18n.locale}(t,n)&&function t(e,n){if(e===n)return!0;var r=i(e),o=i(n);if(!r||!o)return!r&&!o&&String(e)===String(n);try{var a=Array.isArray(e),s=Array.isArray(n);if(a&&s)return e.length===n.length&&e.every(function(e,r){return t(e,n[r])});if(a||s)return!1;var u=Object.keys(e),c=Object.keys(n);return u.length===c.length&&u.every(function(r){return t(e[r],n[r])})}catch(t){return!1}}(e.value,e.oldValue)||A(t,e,n))}function _(t,e,n,i){n.context?(t.textContent="",t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale):r("Vue instance does not exists in VNode context")}function S(t,e){var n=e.context;return n?!!n.$i18n||(r("VueI18n instance does not exists in Vue instance"),!1):(r("Vue instance doest not exists in VNode context"),!1)}function A(t,e,n){var i,o,a=function(t){var e,n,r,i;"string"==typeof t?e=t:s(t)&&(e=t.path,n=t.locale,r=t.args,i=t.choice);return{path:e,locale:n,args:r,choice:i}}(e.value),u=a.path,c=a.locale,l=a.args,f=a.choice;if(u||c||l)if(u){var p=n.context;t._vt=t.textContent=f?(i=p.$i18n).tc.apply(i,[u,f].concat(x(c,l))):(o=p.$i18n).t.apply(o,[u].concat(x(c,l))),t._locale=p.$i18n.locale}else r("`path` is required in v-t directive");else r("value type not supported")}function x(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||s(e))&&n.push(e),n}function w(t){w.installed=!0;(y=t).version&&Number(y.version.split(".")[0]);(function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],r=arguments.length-2;r-- >0;)n[r]=arguments[r+2];var i=this.$i18n;return i._tc.apply(i,[t,i.locale,i._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(y),y.mixin(m),y.directive("t",{bind:b,update:T,unbind:_}),y.component(g.name,g),y.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var E=function(){this._caches=Object.create(null)};E.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,r="";for(;n<t.length;){var i=t[n++];if("{"===i){r&&e.push({type:"text",value:r}),r="";var o="";for(i=t[n++];void 0!==i&&"}"!==i;)o+=i,i=t[n++];var a="}"===i,s=O.test(o)?"list":a&&P.test(o)?"named":"unknown";e.push({value:o,type:s})}else"%"===i?"{"!==t[n]&&(r+=i):r+=i}return r&&e.push({type:"text",value:r}),e}(t),this._caches[t]=n),function(t,e){var n=[],r=0,o=Array.isArray(e)?"list":i(e)?"named":"unknown";if("unknown"===o)return n;for(;r<t.length;){var a=t[r];switch(a.type){case"text":n.push(a.value);break;case"list":n.push(e[parseInt(a.value,10)]);break;case"named":"named"===o&&n.push(e[a.value]);break;case"unknown":0}r++}return n}(n,e)};var O=/^(\d)+/,P=/^(\w)+/;var C=0,M=1,L=2,R=3,k=0,D=4,I=5,N=6,B=7,G=8,F=[];F[k]={ws:[k],ident:[3,C],"[":[D],eof:[B]},F[1]={ws:[1],".":[2],"[":[D],eof:[B]},F[2]={ws:[2],ident:[3,C],0:[3,C],number:[3,C]},F[3]={ident:[3,C],0:[3,C],number:[3,C],ws:[1,M],".":[2,M],"[":[D,M],eof:[B,M]},F[D]={"'":[I,C],'"':[N,C],"[":[D,L],"]":[1,R],eof:G,else:[D,C]},F[I]={"'":[D,C],eof:G,else:[I,C]},F[N]={'"':[D,C],eof:G,else:[N,C]};var j=/^\s?(true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function H(t){if(void 0===t||null===t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function U(t){var e=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(function(t){return j.test(t)}(e)?function(t){var e=t.charCodeAt(0);return e!==t.charCodeAt(t.length-1)||34!==e&&39!==e?t:t.slice(1,-1)}(e):"*"+e)}var W=function(){this._cache=Object.create(null)};W.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=function(t){var e,n,r,i,o,a,s,u=[],c=-1,l=k,f=0,p=[];function d(){var e=t[c+1];if(l===I&&"'"===e||l===N&&'"'===e)return c++,r="\\"+e,p[C](),!0}for(p[M]=function(){void 0!==n&&(u.push(n),n=void 0)},p[C]=function(){void 0===n?n=r:n+=r},p[L]=function(){p[C](),f++},p[R]=function(){if(f>0)f--,l=D,p[C]();else{if(f=0,!1===(n=U(n)))return!1;p[M]()}};null!==l;)if("\\"!==(e=t[++c])||!d()){if(i=H(e),(o=(s=F[l])[i]||s.else||G)===G)return;if(l=o[0],(a=p[o[1]])&&(r=void 0===(r=o[2])?e:r,!1===a()))return;if(l===B)return u}}(t))&&(this._cache[t]=e),e||[]},W.prototype.getPathValue=function(t,e){if(!i(t))return null;var n=this.parsePath(e);if(function(t){return!!Array.isArray(t)&&0===t.length}(n))return null;for(var r=n.length,o=t,a=0;a<r;){var s=o[n[a]];if(void 0===s){o=null;break}o=s,a++}return o};var V=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher"],K=/(@:([\w\-_|.]+|\([\w\-_|.]+\)))/g,$=/[()]/g,z=function(t){var e=this;void 0===t&&(t={}),!y&&"undefined"!=typeof window&&window.Vue&&w(window.Vue);var n=t.locale||"en-US",r=t.fallbackLocale||"en-US",i=t.messages||{},o=t.dateTimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||new E,this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&!!t.silentTranslationWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new W,this._dataListeners=[],this._exist=function(t,n){return!(!t||!n)&&!u(e._path.getPathValue(t,n))},this._initVM({locale:n,fallbackLocale:r,messages:i,dateTimeFormats:o,numberFormats:a})},X={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0}};z.prototype._initVM=function(t){var e=y.config.silent;y.config.silent=!0,this._vm=new y({data:t}),y.config.silent=e},z.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},z.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},z.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",function(){for(var e=t._dataListeners.length;e--;)y.nextTick(function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()})},{deep:!0})},z.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.vm.$watch("locale",function(e){t.$set(t,"locale",e),t.$forceUpdate()},{immediate:!0})},X.vm.get=function(){return this._vm},X.messages.get=function(){return l(this._getMessages())},X.dateTimeFormats.get=function(){return l(this._getDateTimeFormats())},X.numberFormats.get=function(){return l(this._getNumberFormats())},X.locale.get=function(){return this._vm.locale},X.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},X.fallbackLocale.get=function(){return this._vm.fallbackLocale},X.fallbackLocale.set=function(t){this._vm.$set(this._vm,"fallbackLocale",t)},X.missing.get=function(){return this._missing},X.missing.set=function(t){this._missing=t},X.formatter.get=function(){return this._formatter},X.formatter.set=function(t){this._formatter=t},X.silentTranslationWarn.get=function(){return this._silentTranslationWarn},X.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},z.prototype._getMessages=function(){return this._vm.messages},z.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},z.prototype._getNumberFormats=function(){return this._vm.numberFormats},z.prototype._warnDefault=function(t,e,n,r,i){if(!u(n))return n;if(this._missing){var o=this._missing.apply(null,[t,e,r,i]);if("string"==typeof o)return o}else 0;return e},z.prototype._isFallbackRoot=function(t){return!t&&!u(this._root)&&this._fallbackRoot},z.prototype._interpolate=function(t,e,n,r,i,o,a){if(!e)return null;var c,l=this._path.getPathValue(e,n);if(Array.isArray(l)||s(l))return l;if(u(l)){if(!s(e))return null;if("string"!=typeof(c=e[n]))return null}else{if("string"!=typeof l)return null;c=l}return c.indexOf("@:")>=0&&(c=this._link(t,e,c,r,i,o,a)),this._render(c,i,o)},z.prototype._link=function(t,e,n,r,i,o,a){var s=n,u=s.match(K);for(var c in u)if(u.hasOwnProperty(c)){var l=u[c],f=l.substr(2).replace($,"");if(a.includes(f))return s;a.push(f);var p=this._interpolate(t,e,f,r,"raw"===i?"string":i,"raw"===i?void 0:o,a);if(this._isFallbackRoot(p)){if(!this._root)throw Error("unexpected error");var d=this._root;p=d._translate(d._getMessages(),d.locale,d.fallbackLocale,f,r,i,o)}p=this._warnDefault(t,f,p,r,Array.isArray(o)?o:[o]),a.pop(),s=p?s.replace(l,p):s}return s},z.prototype._render=function(t,e,n){var r=this._formatter.interpolate(t,n);return"string"===e?r.join(""):r},z.prototype._translate=function(t,e,n,r,i,o,a){var s=this._interpolate(e,t[e],r,i,o,a,[r]);return u(s)&&u(s=this._interpolate(n,t[n],r,i,o,a,[r]))?null:s},z.prototype._t=function(t,e,n,r){for(var i,o=[],a=arguments.length-4;a-- >0;)o[a]=arguments[a+4];if(!t)return"";var s=c.apply(void 0,o),u=s.locale||e,l=this._translate(n,u,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(l)){if(!this._root)throw Error("unexpected error");return(i=this._root).t.apply(i,[t].concat(o))}return this._warnDefault(u,t,l,r,o)},z.prototype.t=function(t){for(var e,n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},z.prototype._i=function(t,e,n,r,i){var o=this._translate(n,e,this.fallbackLocale,t,r,"raw",i);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.i(t,e,i)}return this._warnDefault(e,t,o,r,[i])},z.prototype.i=function(t,e,n){return t?("string"!=typeof e&&(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},z.prototype._tc=function(t,e,n,r,i){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!t)return"";void 0===i&&(i=1);var u={count:i,n:i},l=c.apply(void 0,a);return l.params=Object.assign(u,l.params),a=null===l.locale?[l.params]:[l.locale,l.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,r].concat(a)),i)},z.prototype.fetchChoice=function(t,e){if(!t&&"string"!=typeof t)return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},z.prototype.getChoiceIndex=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0},z.prototype.tc=function(t,e){for(var n,r=[],i=arguments.length-2;i-- >0;)r[i]=arguments[i+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},z.prototype._te=function(t,e,n){for(var r=[],i=arguments.length-3;i-- >0;)r[i]=arguments[i+3];var o=c.apply(void 0,r).locale||e;return this._exist(n[o],t)},z.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},z.prototype.getLocaleMessage=function(t){return l(this._vm.messages[t]||{})},z.prototype.setLocaleMessage=function(t,e){this._vm.$set(this._vm.messages,t,e)},z.prototype.mergeLocaleMessage=function(t,e){this._vm.$set(this._vm.messages,t,y.util.extend(this._vm.messages[t]||{},e))},z.prototype.getDateTimeFormat=function(t){return l(this._vm.dateTimeFormats[t]||{})},z.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e)},z.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,y.util.extend(this._vm.dateTimeFormats[t]||{},e))},z.prototype._localizeDateTime=function(t,e,n,r,i){var o=e,a=r[o];if((u(a)||u(a[i]))&&(a=r[o=n]),u(a)||u(a[i]))return null;var s=a[i],c=o+"__"+i,l=this._dateTimeFormatters[c];return l||(l=this._dateTimeFormatters[c]=new Intl.DateTimeFormat(o,s)),l.format(t)},z.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var r=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.d(t,n,e)}return r||""},z.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,o=null;return 1===e.length?"string"==typeof e[0]?o=e[0]:i(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key)):2===e.length&&("string"==typeof e[0]&&(o=e[0]),"string"==typeof e[1]&&(r=e[1])),this._d(t,r,o)},z.prototype.getNumberFormat=function(t){return l(this._vm.numberFormats[t]||{})},z.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e)},z.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,y.util.extend(this._vm.numberFormats[t]||{},e))},z.prototype._localizeNumber=function(t,e,n,r,i,o){var a=e,s=r[a];if((u(s)||u(s[i]))&&(s=r[a=n]),u(s)||u(s[i]))return null;var c,l=s[i];if(o)c=new Intl.NumberFormat(a,Object.assign({},l,o));else{var f=a+"__"+i;(c=this._numberFormatters[f])||(c=this._numberFormatters[f]=new Intl.NumberFormat(a,l))}return c.format(t)},z.prototype._n=function(t,e,n,r){if(!z.availabilities.numberFormat)return"";if(!n)return(r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e)).format(t);var i=this._localizeNumber(t,e,this.fallbackLocale,this._getNumberFormats(),n,r);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.n(t,Object.assign({},{key:n,locale:e},r))}return i||""},z.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var r=this.locale,o=null,a=null;return 1===e.length?"string"==typeof e[0]?o=e[0]:i(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(o=e[0].key),a=Object.keys(e[0]).reduce(function(t,n){var r;return V.includes(n)?Object.assign({},t,((r={})[n]=e[0][n],r)):t},null)):2===e.length&&("string"==typeof e[0]&&(o=e[0]),"string"==typeof e[1]&&(r=e[1])),this._n(t,r,o,a)},Object.defineProperties(z.prototype,X),z.availabilities={dateTimeFormat:h,numberFormat:v},z.install=w,z.version="8.3.0",e.default=z},function(t,e,n){"use strict"; /*! * isobject <https://github.com/jonschlinkert/isobject> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},function(t,e,n){var r=n(800),i=n(754),o=n(577),a=new r;a.setLocale("us",n(801)),(e=t.exports=a).Keyboard=r,e.Locale=i,e.KeyCombo=o},function(t,e,n){var r=n(577);function i(t){this.localeName=t,this.pressedKeys=[],this._appliedMacros=[],this._keyMap={},this._killKeyCodes=[],this._macros=[]}i.prototype.bindKeyCode=function(t,e){"string"==typeof e&&(e=[e]),this._keyMap[t]=e},i.prototype.bindMacro=function(t,e){"string"==typeof e&&(e=[e]);var n=null;"function"==typeof e&&(n=e,e=null);var i={keyCombo:new r(t),keyNames:e,handler:n};this._macros.push(i)},i.prototype.getKeyCodes=function(t){var e=[];for(var n in this._keyMap){this._keyMap[n].indexOf(t)>-1&&e.push(0|n)}return e},i.prototype.getKeyNames=function(t){return this._keyMap[t]||[]},i.prototype.setKillKey=function(t){if("string"!=typeof t)this._killKeyCodes.push(t);else for(var e=this.getKeyCodes(t),n=0;n<e.length;n+=1)this.setKillKey(e[n])},i.prototype.pressKey=function(t){if("string"!=typeof t){var e=this.getKeyNames(t);for(r=0;r<e.length;r+=1)-1===this.pressedKeys.indexOf(e[r])&&this.pressedKeys.push(e[r]);this._applyMacros()}else for(var n=this.getKeyCodes(t),r=0;r<n.length;r+=1)this.pressKey(n[r])},i.prototype.releaseKey=function(t){if("string"==typeof t)for(var e=this.getKeyCodes(t),n=0;n<e.length;n+=1)this.releaseKey(e[n]);else{var r=this.getKeyNames(t);if(this._killKeyCodes.indexOf(t)>-1)this.pressedKeys.length=0;else for(n=0;n<r.length;n+=1){var i=this.pressedKeys.indexOf(r[n]);i>-1&&this.pressedKeys.splice(i,1)}this._clearMacros()}},i.prototype._applyMacros=function(){for(var t=this._macros.slice(0),e=0;e<t.length;e+=1){var n=t[e];if(n.keyCombo.check(this.pressedKeys)){n.handler&&(n.keyNames=n.handler(this.pressedKeys));for(var r=0;r<n.keyNames.length;r+=1)-1===this.pressedKeys.indexOf(n.keyNames[r])&&this.pressedKeys.push(n.keyNames[r]);this._appliedMacros.push(n)}}},i.prototype._clearMacros=function(){for(var t=0;t<this._appliedMacros.length;t+=1){var e=this._appliedMacros[t];if(!e.keyCombo.check(this.pressedKeys)){for(var n=0;n<e.keyNames.length;n+=1){var r=this.pressedKeys.indexOf(e.keyNames[n]);r>-1&&this.pressedKeys.splice(r,1)}e.handler&&(e.keyNames=null),this._appliedMacros.splice(t,1),t-=1}}},t.exports=i},function(t,e,n){var r=n(10)("isFunction",n(36),n(33));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(75),i=n(50),o=n(757),a=n(3);t.exports=function(t,e){return(a(t)?r:o)(t,i(e,3))}},function(t,e,n){var r=n(269),i=n(28);t.exports=function(t,e){var n=-1,o=i(t)?Array(t.length):[];return r(t,function(t,r,i){o[++n]=e(t,r,i)}),o}},function(t,e,n){var r=n(10)("add",n(802));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(10)("findIndex",n(161));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(10)("find",n(586));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(10)("reduce",n(762));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(806),i=n(269),o=n(50),a=n(807),s=n(3);t.exports=function(t,e,n){var u=s(t)?r:a,c=arguments.length<3;return u(t,o(e,4),n,c,i)}},function(t,e,n){var r=n(10)("orderBy",n(808));r.placeholder=n(9),t.exports=r},function(t,e,n){var r=n(813),i=n(131),o=n(74),a=n(77);t.exports=function(t,e,n){t=a(t),e=i(e);var s=t.length,u=n=void 0===n?s:r(o(n),0,s);return(n-=e.length)>=0&&t.slice(n,u)==e}},function(t,e){t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},function(t,e,n){var r=n(12),i=n(814),o=n(155),a="Expected a function",s=Math.max,u=Math.min;t.exports=function(t,e,n){var c,l,f,p,d,h,v=0,y=!1,m=!1,g=!0;if("function"!=typeof t)throw new TypeError(a);function b(e){var n=c,r=l;return c=l=void 0,v=e,p=t.apply(r,n)}function T(t){var n=t-h;return void 0===h||n>=e||n<0||m&&t-v>=f}function _(){var t=i();if(T(t))return S(t);d=setTimeout(_,function(t){var n=e-(t-h);return m?u(n,f-(t-v)):n}(t))}function S(t){return d=void 0,g&&c?b(t):(c=l=void 0,p)}function A(){var t=i(),n=T(t);if(c=arguments,l=this,h=t,n){if(void 0===d)return function(t){return v=t,d=setTimeout(_,e),y?b(t):p}(h);if(m)return d=setTimeout(_,e),b(h)}return void 0===d&&(d=setTimeout(_,e)),p}return e=o(e)||0,r(n)&&(y=!!n.leading,f=(m="maxWait"in n)?s(o(n.maxWait)||0,e):f,g="trailing"in n?!!n.trailing:g),A.cancel=function(){void 0!==d&&clearTimeout(d),v=0,c=h=l=d=void 0},A.flush=function(){return void 0===d?p:S(i())},A}},function(t,e,n){(function(e){function n(t){var e=o([["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/],["Search Bot",/(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves\/Teoma)|(ia_archiver)/]]).filter(function(e){return e.rule&&e.rule.test(t)})[0];return e?e.name:null}function r(){return void 0!==e&&e.version&&{name:"node",version:e.version.slice(1),os:e.platform}}function i(t){var e=o([["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["vivaldi",/Vivaldi\/([0-9\.]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)$/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/]]);if(!t)return null;var r=e.map(function(e){var n=e.rule.exec(t),r=n&&n[1].split(/[._]/).slice(0,3);return r&&r.length<3&&(r=r.concat(1==r.length?[0,0]:[0])),n&&{name:e.name,version:r.join(".")}}).filter(Boolean)[0]||null;return r&&(r.os=n(t)),/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/i.test(t)&&((r=r||{}).bot=!0),r}function o(t){return t.map(function(t){return{name:t[0],rule:t[1]}})}t.exports={detect:function(){return"undefined"!=typeof navigator?i(navigator.userAgent):r()},detectOS:n,getNodeVersion:r,parseUserAgent:i}}).call(this,n(133))},function(t,e,n){ /*!mobile-detect v1.4.3 2018-09-08*/ /*!@license Copyright 2013, Heinrich Goebl, License: MIT, see https://github.com/hgoebl/mobile-detect.js*/ (t.exports?function(e){t.exports=e()}:n(815))(function(){"use strict";var t,e={mobileDetectRules:{phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052",Samsung:"\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323|M257)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo (3DS|Switch)",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",GoogleTablet:"Android.*Pixel C",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-8703F|Tab2A7-10F|TB2-X30L",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|SGP612|SGP712",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b(?!\\))",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfViewTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)|Qualcore 1027",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9|TECNO DP8D",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",VerizonTablet:"QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+|V10 \\b4G\\b",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad|AppleCoreMedia",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+$|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",WeChat:"\\bMicroMessenger\\b",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]",UCBrowser:["UCWEB[VER]","UC.*Browser/[VER]"],MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|Nintendo Switch|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},detectMobileBrowsers:{fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i}},n=Object.prototype.hasOwnProperty;function r(t,e){return null!=t&&null!=e&&t.toLowerCase()===e.toLowerCase()}function i(t,e){var n,r,i=t.length;if(!i||!e)return!1;for(n=e.toLowerCase(),r=0;r<i;++r)if(n===t[r].toLowerCase())return!0;return!1}function o(t){for(var e in t)n.call(t,e)&&(t[e]=new RegExp(t[e],"i"))}function a(t,e){this.ua=function(t){return(t||"").substr(0,500)}(t),this._cache={},this.maxPhoneWidth=e||600}return e.FALLBACK_PHONE="UnknownPhone",e.FALLBACK_TABLET="UnknownTablet",e.FALLBACK_MOBILE="UnknownMobile",t="isArray"in Array?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},function(){var r,i,a,s,u,c,l=e.mobileDetectRules;for(r in l.props)if(n.call(l.props,r)){for(i=l.props[r],t(i)||(i=[i]),u=i.length,s=0;s<u;++s)(c=(a=i[s]).indexOf("[VER]"))>=0&&(a=a.substring(0,c)+"([\\w._\\+]+)"+a.substring(c+5)),i[s]=new RegExp(a,"i");l.props[r]=i}o(l.oss),o(l.phones),o(l.tablets),o(l.uas),o(l.utils),l.oss0={WindowsPhoneOS:l.oss.WindowsPhoneOS,WindowsMobileOS:l.oss.WindowsMobileOS}}(),e.findMatch=function(t,e){for(var r in t)if(n.call(t,r)&&t[r].test(e))return r;return null},e.findMatches=function(t,e){var r=[];for(var i in t)n.call(t,i)&&t[i].test(e)&&r.push(i);return r},e.getVersionStr=function(t,r){var i,o,a,s,u=e.mobileDetectRules.props;if(n.call(u,t))for(a=(i=u[t]).length,o=0;o<a;++o)if(null!==(s=i[o].exec(r)))return s[1];return null},e.getVersion=function(t,n){var r=e.getVersionStr(t,n);return r?e.prepareVersionNo(r):NaN},e.prepareVersionNo=function(t){var e;return 1===(e=t.split(/[a-z._ \/\-]/i)).length&&(t=e[0]),e.length>1&&(t=e[0]+".",e.shift(),t+=e.join("")),Number(t)},e.isMobileFallback=function(t){return e.detectMobileBrowsers.fullPattern.test(t)||e.detectMobileBrowsers.shortPattern.test(t.substr(0,4))},e.isTabletFallback=function(t){return e.detectMobileBrowsers.tabletPattern.test(t)},e.prepareDetectionCache=function(t,n,r){if(void 0===t.mobile){var i,o,s;if(o=e.findMatch(e.mobileDetectRules.tablets,n))return t.mobile=t.tablet=o,void(t.phone=null);if(i=e.findMatch(e.mobileDetectRules.phones,n))return t.mobile=t.phone=i,void(t.tablet=null);e.isMobileFallback(n)?void 0===(s=a.isPhoneSized(r))?(t.mobile=e.FALLBACK_MOBILE,t.tablet=t.phone=null):s?(t.mobile=t.phone=e.FALLBACK_PHONE,t.tablet=null):(t.mobile=t.tablet=e.FALLBACK_TABLET,t.phone=null):e.isTabletFallback(n)?(t.mobile=t.tablet=e.FALLBACK_TABLET,t.phone=null):t.mobile=t.tablet=t.phone=null}},e.mobileGrade=function(t){var e=null!==t.mobile();return t.os("iOS")&&t.version("iPad")>=4.3||t.os("iOS")&&t.version("iPhone")>=3.1||t.os("iOS")&&t.version("iPod")>=3.1||t.version("Android")>2.1&&t.is("Webkit")||t.version("Windows Phone OS")>=7||t.is("BlackBerry")&&t.version("BlackBerry")>=6||t.match("Playbook.*Tablet")||t.version("webOS")>=1.4&&t.match("Palm|Pre|Pixi")||t.match("hp.*TouchPad")||t.is("Firefox")&&t.version("Firefox")>=12||t.is("Chrome")&&t.is("AndroidOS")&&t.version("Android")>=4||t.is("Skyfire")&&t.version("Skyfire")>=4.1&&t.is("AndroidOS")&&t.version("Android")>=2.3||t.is("Opera")&&t.version("Opera Mobi")>11&&t.is("AndroidOS")||t.is("MeeGoOS")||t.is("Tizen")||t.is("Dolfin")&&t.version("Bada")>=2||(t.is("UC Browser")||t.is("Dolfin"))&&t.version("Android")>=2.3||t.match("Kindle Fire")||t.is("Kindle")&&t.version("Kindle")>=3||t.is("AndroidOS")&&t.is("NookTablet")||t.version("Chrome")>=11&&!e||t.version("Safari")>=5&&!e||t.version("Firefox")>=4&&!e||t.version("MSIE")>=7&&!e||t.version("Opera")>=10&&!e?"A":t.os("iOS")&&t.version("iPad")<4.3||t.os("iOS")&&t.version("iPhone")<3.1||t.os("iOS")&&t.version("iPod")<3.1||t.is("Blackberry")&&t.version("BlackBerry")>=5&&t.version("BlackBerry")<6||t.version("Opera Mini")>=5&&t.version("Opera Mini")<=6.5&&(t.version("Android")>=2.3||t.is("iOS"))||t.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||t.version("Opera Mobi")>=11&&t.is("SymbianOS")?"B":(t.version("BlackBerry")<5||t.match("MSIEMobile|Windows CE.*Mobile")||t.version("Windows Mobile"),"C")},e.detectOS=function(t){return e.findMatch(e.mobileDetectRules.oss0,t)||e.findMatch(e.mobileDetectRules.oss,t)},e.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},a.prototype={constructor:a,mobile:function(){return e.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return e.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return e.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return void 0===this._cache.userAgent&&(this._cache.userAgent=e.findMatch(e.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return void 0===this._cache.userAgents&&(this._cache.userAgents=e.findMatches(e.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return void 0===this._cache.os&&(this._cache.os=e.detectOS(this.ua)),this._cache.os},version:function(t){return e.getVersion(t,this.ua)},versionStr:function(t){return e.getVersionStr(t,this.ua)},is:function(t){return i(this.userAgents(),t)||r(t,this.os())||r(t,this.phone())||r(t,this.tablet())||i(e.findMatches(e.mobileDetectRules.utils,this.ua),t)},match:function(t){return t instanceof RegExp||(t=new RegExp(t,"i")),t.test(this.ua)},isPhoneSized:function(t){return a.isPhoneSized(t||this.maxPhoneWidth)},mobileGrade:function(){return void 0===this._cache.grade&&(this._cache.grade=e.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?a.isPhoneSized=function(t){return t<0?void 0:e.getDeviceSmallerSide()<=t}:a.isPhoneSized=function(){},a._impl=e,a.version="1.4.3 2018-09-08",a})},function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=330)}([function(t,e,n){var r=n(1),i=n(43);t.exports=function(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return i(n)?e:r(function(e){return t(n,e)});default:return i(n)&&i(o)?e:i(n)?r(function(e){return t(e,o)}):i(o)?r(function(e){return t(n,e)}):t(n,o)}}}},function(t,e,n){var r=n(43);t.exports=function(t){return function e(n){return 0===arguments.length||r(n)?e:t.apply(this,arguments)}}},function(t,e,n){var r=n(1),i=n(0),o=n(43);t.exports=function(t){return function e(n,a,s){switch(arguments.length){case 0:return e;case 1:return o(n)?e:i(function(e,r){return t(n,e,r)});case 2:return o(n)&&o(a)?e:o(n)?i(function(e,n){return t(e,a,n)}):o(a)?i(function(e,r){return t(n,e,r)}):r(function(e){return t(n,a,e)});default:return o(n)&&o(a)&&o(s)?e:o(n)&&o(a)?i(function(e,n){return t(e,n,s)}):o(n)&&o(s)?i(function(e,n){return t(e,a,n)}):o(a)&&o(s)?i(function(e,r){return t(n,e,r)}):o(n)?r(function(e){return t(e,a,s)}):o(a)?r(function(e){return t(n,e,s)}):o(s)?r(function(e){return t(n,a,e)}):t(n,a,s)}}}},function(t,e,n){var r=n(15),i=n(64);t.exports=function(t,e,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<t.length;){if("function"==typeof a[t[s]])return a[t[s]].apply(a,o);s+=1}if(i(a))return e.apply(null,o)(a)}return n.apply(this,arguments)}}},function(t,e){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,e,n){var r=n(13),i=n(1),o=n(0),a=n(41);t.exports=o(function(t,e){return 1===t?i(e):r(t,a(t,[],e))})},function(t,e){t.exports=function(t,e){return Object.prototype.hasOwnProperty.call(e,t)}},function(t,e,n){var r=n(0),i=n(3),o=n(40),a=n(9),s=n(311),u=n(5),c=n(12);t.exports=r(i(["fantasy-land/map","map"],s,function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return u(e.length,function(){return t.call(this,e.apply(this,arguments))});case"[object Object]":return a(function(n,r){return n[r]=t(e[r]),n},{},c(e));default:return o(t,e)}}))},function(t,e,n){var r=n(0),i=n(289);t.exports=r(function(t,e){return i(t,e,[],[])})},function(t,e,n){var r=n(39),i=n(119),o=n(118);t.exports=function(){function t(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function e(t,e,n,r){return t["@@transducer/result"](n[r](o(t["@@transducer/step"],t),e))}var n="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(o,a,s){if("function"==typeof o&&(o=i(o)),r(s))return function(t,e,n){for(var r=0,i=n.length;r<i;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}(o,a,s);if("function"==typeof s["fantasy-land/reduce"])return e(o,a,s,"fantasy-land/reduce");if(null!=s[n])return t(o,a,s[n]());if("function"==typeof s.next)return t(o,a,s);if("function"==typeof s.reduce)return e(o,a,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}()},function(t,e){t.exports=function(t,e){var n;t=t||[],e=e||[];var r=t.length,i=e.length,o=[];for(n=0;n<r;)o[o.length]=t[n],n+=1;for(n=0;n<i;)o[o.length]=e[n],n+=1;return o}},function(t,e,n){var r=n(2),i=n(9);t.exports=r(i)},function(t,e,n){var r,i,o,a,s=n(1),u=n(6),c=n(117);t.exports=(r=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],o=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),a=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1},"function"!=typeof Object.keys||o?s(function(t){if(Object(t)!==t)return[];var e,n,s=[],l=o&&c(t);for(e in t)!u(e,t)||l&&"length"===e||(s[s.length]=e);if(r)for(n=i.length-1;n>=0;)u(e=i[n],t)&&!a(s,e)&&(s[s.length]=e),n-=1;return s}):s(function(t){return Object(t)!==t?[]:Object.keys(t)}))},function(t,e){t.exports=function(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,i){return e.apply(this,arguments)};case 5:return function(t,n,r,i,o){return e.apply(this,arguments)};case 6:return function(t,n,r,i,o,a){return e.apply(this,arguments)};case 7:return function(t,n,r,i,o,a,s){return e.apply(this,arguments)};case 8:return function(t,n,r,i,o,a,s,u){return e.apply(this,arguments)};case 9:return function(t,n,r,i,o,a,s,u,c){return e.apply(this,arguments)};case 10:return function(t,n,r,i,o,a,s,u,c,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(t,e){t.exports=function(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}},function(t,e){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(101);t.exports=function(t,e){return r(e,t,0)>=0}},function(t,e,n){var r=n(24),i=n(2);t.exports=i(r("slice",function(t,e,n){return Array.prototype.slice.call(n,t,e)}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e>t?e:t})},function(t,e,n){var r=n(1);t.exports=r(function(t){return function(){return t}})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=e,r=0;r<t.length;){if(null==n)return;n=n[t[r]],r+=1}return n})},function(t,e,n){var r=n(0),i=n(36),o=n(5),a=n(23);t.exports=r(function(t,e){return o(t+1,function(){var n=arguments[t];if(null!=n&&i(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(a(n)+' does not have a method named "'+e+'"')})})},function(t,e,n){var r=n(0),i=n(25);t.exports=r(function(t,e){var n=t<0?e.length+t:t;return i(e)?e.charAt(n):e[n]})},function(t,e,n){var r=n(1),i=n(290);t.exports=r(function(t){return i(t,[])})},function(t,e,n){var r=n(15);t.exports=function(t,e){return function(){var n=arguments.length;if(0===n)return e();var i=arguments[n-1];return r(i)||"function"!=typeof i[t]?e.apply(this,arguments):i[t].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},function(t,e){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(0),i=n(7),o=n(63);t.exports=r(function(t,e){return i(o(t),e)})},function(t,e,n){var r=n(2),i=n(53),o=n(45);t.exports=r(function t(e,n,r){return o(function(n,r,o){return i(r)&&i(o)?t(e,r,o):e(n,r,o)},n,r)})},function(t,e,n){var r=n(0),i=n(7);t.exports=r(function(t,e){return function(n){return function(r){return i(function(t){return e(t,r)},n(t(r)))}}})},function(t,e,n){var r=n(1),i=n(34);t.exports=r(function(t){return i(function(e,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=e,t.apply(this,r)})})},function(t,e){t.exports=function(t,e,n){for(var r=0,i=n.length;r<i;){if(t(e,n[r]))return!0;r+=1}return!1}},function(t,e,n){var r=n(41),i=n(3),o=n(6),a=n(9),s=n(279);t.exports=r(4,[],i([],s,function(t,e,n,r){return a(function(r,i){var a=n(i);return r[a]=t(o(a,r)?r[a]:e,i),r},{},r)}))},function(t,e,n){var r=n(99),i=n(0),o=n(55);t.exports=i(function(t,e){return o(r(t),e)})},function(t,e,n){var r=n(1),i=n(25);t.exports=r(function(t){return i(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()})},function(t,e,n){var r=n(1),i=n(5);t.exports=r(function(t){return i(t.length,t)})},function(t,e,n){var r=n(1),i=n(109);t.exports=r(function(t){return i(t.length,t)})},function(t,e){t.exports=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){switch(t){case 0:return function(){return e.call(this)};case 1:return function(t){return e.call(this,t)};case 2:return function(t,n){return e.call(this,t,n)};case 3:return function(t,n,r){return e.call(this,t,n,r)};case 4:return function(t,n,r,i){return e.call(this,t,n,r,i)};case 5:return function(t,n,r,i,o){return e.call(this,t,n,r,i,o)};case 6:return function(t,n,r,i,o,a){return e.call(this,t,n,r,i,o,a)};case 7:return function(t,n,r,i,o,a,s){return e.call(this,t,n,r,i,o,a,s)};case 8:return function(t,n,r,i,o,a,s,u){return e.call(this,t,n,r,i,o,a,s,u)};case 9:return function(t,n,r,i,o,a,s,u,c){return e.call(this,t,n,r,i,o,a,s,u,c)};case 10:return function(t,n,r,i,o,a,s,u,c,l){return e.call(this,t,n,r,i,o,a,s,u,c,l)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r={};for(var i in n)r[i]=n[i];return r[t]=e,r})},function(t,e,n){var r=n(1),i=n(15),o=n(25);t.exports=r(function(t){return!!i(t)||!!t&&"object"==typeof t&&!o(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1))})},function(t,e){t.exports=function(t,e){for(var n=0,r=e.length,i=Array(r);n<r;)i[n]=t(e[n]),n+=1;return i}},function(t,e,n){var r=n(13),i=n(43);t.exports=function t(e,n,o){return function(){for(var a=[],s=0,u=e,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,t(e,a,o))}}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Number(t)+Number(e)})},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}},function(t,e,n){t.exports={F:n(318),T:n(317),__:n(316),add:n(42),addIndex:n(315),adjust:n(120),all:n(314),allPass:n(312),always:n(19),and:n(116),any:n(115),anyPass:n(310),ap:n(62),aperture:n(309),append:n(306),apply:n(113),applySpec:n(305),ascend:n(304),assoc:n(38),assocPath:n(111),binary:n(303),bind:n(118),both:n(302),call:n(301),chain:n(60),clamp:n(297),clone:n(296),comparator:n(295),complement:n(294),compose:n(58),composeK:n(103),composeP:n(292),concat:n(56),cond:n(283),construct:n(282),constructN:n(98),contains:n(281),converge:n(97),countBy:n(280),curry:n(34),curryN:n(5),dec:n(278),defaultTo:n(96),descend:n(277),difference:n(95),differenceWith:n(94),dissoc:n(93),dissocPath:n(276),divide:n(275),drop:n(91),dropLast:n(273),dropLastWhile:n(269),dropRepeats:n(266),dropRepeatsWith:n(89),dropWhile:n(265),either:n(263),empty:n(86),endsWith:n(262),eqBy:n(261),eqProps:n(260),equals:n(8),evolve:n(259),filter:n(55),find:n(258),findIndex:n(256),findLast:n(254),findLastIndex:n(252),flatten:n(250),flip:n(29),forEach:n(249),forEachObjIndexed:n(248),fromPairs:n(247),groupBy:n(246),groupWith:n(245),gt:n(244),gte:n(243),has:n(242),hasIn:n(241),head:n(240),identical:n(100),identity:n(50),ifElse:n(239),inc:n(238),indexBy:n(237),indexOf:n(236),init:n(235),innerJoin:n(234),insert:n(233),insertAll:n(232),intersection:n(231),intersectionWith:n(229),intersperse:n(228),into:n(227),invert:n(224),invertObj:n(223),invoker:n(21),is:n(82),isEmpty:n(222),isNil:n(110),join:n(221),juxt:n(81),keys:n(12),keysIn:n(220),last:n(88),lastIndexOf:n(219),length:n(80),lens:n(28),lensIndex:n(218),lensPath:n(217),lensProp:n(216),lift:n(35),liftN:n(109),lt:n(215),lte:n(214),map:n(7),mapAccum:n(213),mapAccumRight:n(212),mapObjIndexed:n(211),match:n(210),mathMod:n(209),max:n(18),maxBy:n(208),mean:n(78),median:n(207),memoize:n(206),memoizeWith:n(76),merge:n(205),mergeAll:n(204),mergeDeepLeft:n(203),mergeDeepRight:n(202),mergeDeepWith:n(201),mergeDeepWithKey:n(27),mergeWith:n(200),mergeWithKey:n(45),min:n(199),minBy:n(198),modulo:n(197),multiply:n(75),nAry:n(37),negate:n(196),none:n(195),not:n(105),nth:n(22),nthArg:n(194),o:n(193),objOf:n(83),of:n(192),omit:n(190),once:n(189),or:n(87),over:n(74),pair:n(188),partial:n(187),partialRight:n(186),partition:n(185),path:n(20),pathEq:n(184),pathOr:n(183),pathSatisfies:n(182),pick:n(181),pickAll:n(72),pickBy:n(180),pipe:n(104),pipeK:n(179),pipeP:n(102),pluck:n(26),prepend:n(71),product:n(178),project:n(177),prop:n(63),propEq:n(176),propIs:n(175),propOr:n(174),propSatisfies:n(173),props:n(172),range:n(171),reduce:n(11),reduceBy:n(31),reduceRight:n(69),reduceWhile:n(170),reduced:n(169),reject:n(32),remove:n(92),repeat:n(168),replace:n(167),reverse:n(33),scan:n(166),sequence:n(67),set:n(165),slice:n(17),sort:n(164),sortBy:n(163),sortWith:n(162),split:n(161),splitAt:n(160),splitEvery:n(159),splitWhen:n(158),startsWith:n(157),subtract:n(156),sum:n(77),symmetricDifference:n(155),symmetricDifferenceWith:n(154),tail:n(57),take:n(51),takeLast:n(85),takeLastWhile:n(153),takeWhile:n(152),tap:n(150),test:n(149),times:n(68),toLower:n(147),toPairs:n(146),toPairsIn:n(145),toString:n(23),toUpper:n(144),transduce:n(143),transpose:n(142),traverse:n(141),trim:n(140),tryCatch:n(139),type:n(59),unapply:n(138),unary:n(137),uncurryN:n(136),unfold:n(135),union:n(134),unionWith:n(133),uniq:n(48),uniqBy:n(84),uniqWith:n(47),unless:n(132),unnest:n(131),until:n(130),update:n(52),useWith:n(70),values:n(112),valuesIn:n(129),view:n(128),when:n(127),where:n(66),whereEq:n(126),without:n(125),xprod:n(124),zip:n(123),zipObj:n(122),zipWith:n(121)}},function(t,e,n){var r=n(2),i=n(6);t.exports=r(function(t,e,n){var r,o={};for(r in e)i(r,e)&&(o[r]=i(r,n)?t(r,e[r],n[r]):e[r]);for(r in n)i(r,n)&&!i(r,o)&&(o[r]=n[r]);return o})},function(t,e,n){var r=n(225);t.exports="function"==typeof Object.assign?Object.assign:r},function(t,e,n){var r=n(30),i=n(0);t.exports=i(function(t,e){for(var n,i=0,o=e.length,a=[];i<o;)n=e[i],r(t,n,a)||(a[a.length]=n),i+=1;return a})},function(t,e,n){var r=n(50),i=n(84);t.exports=i(r)},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(1),i=n(49);t.exports=r(i)},function(t,e,n){var r=n(0),i=n(3),o=n(271),a=n(17);t.exports=r(i(["take"],o,function(t,e){return a(0,t<0?1/0:t,e)}))},function(t,e,n){var r=n(2),i=n(120),o=n(19);t.exports=r(function(t,e,n){return i(o(e),t,n)})},function(t,e){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,e){t.exports=function(t,e){for(var n=0,r=e.length,i=[];n<r;)t(e[n])&&(i[i.length]=e[n]),n+=1;return i}},function(t,e,n){var r=n(0),i=n(3),o=n(54),a=n(53),s=n(9),u=n(284),c=n(12);t.exports=r(i(["filter"],u,function(t,e){return a(e)?s(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{},c(e)):o(t,e)}))},function(t,e,n){var r=n(0),i=n(15),o=n(36),a=n(25),s=n(23);t.exports=r(function(t,e){if(i(t)){if(i(e))return t.concat(e);throw new TypeError(s(e)+" is not an array")}if(a(t)){if(a(e))return t+e;throw new TypeError(s(e)+" is not a string")}if(null!=t&&o(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&o(t.concat))return t.concat(e);throw new TypeError(s(t)+' does not have a method named "concat" or "fantasy-land/concat"')})},function(t,e,n){var r=n(24),i=n(1),o=n(17);t.exports=i(r("tail",o(1,1/0)))},function(t,e,n){var r=n(104),i=n(33);t.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},function(t,e,n){var r=n(1);t.exports=r(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)})},function(t,e,n){var r=n(0),i=n(3),o=n(108),a=n(300),s=n(7);t.exports=r(i(["fantasy-land/chain","chain"],a,function(t,e){return"function"==typeof e?function(n){return t(e(n))(n)}:o(!1)(s(t,e))}))},function(t,e){t.exports=Number.isInteger||function(t){return t<<0===t}},function(t,e,n){var r=n(10),i=n(0),o=n(9),a=n(7);t.exports=i(function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(n){return t(n)(e(n))}:o(function(t,n){return r(t,a(n,e))},[],t)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e[t]})},function(t,e){t.exports=function(t){return"function"==typeof t["@@transducer/step"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dispatchEvent=e.getMediaSources=e.appendNode=e.setAttributes=e.mountNode=e.createNode=e.getNodeFromEvent=e.collectProperties=e.toArray=void 0;var r=n(44),i=function(t){return[].concat(t)},o=(0,r.path)(["target"]),a=function(t){return(0,r.compose)((0,r.reduce)(function(t,e){return t.appendChild(e),t},t),i)},s=(0,r.curry)(function(t,e){var n=new Event(t);return e.dispatchEvent(n),e});e.toArray=i,e.collectProperties=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){return Object.keys(t).reduce(function(n,r){return Object.assign({},n,(i={},o=r,a=t[r](e),o in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a,i));var i,o,a},{})}},e.getNodeFromEvent=o,e.createNode=function(t){return document.createElement(t)},e.mountNode=function(t){return(0,r.compose)(function(){return t},a(document.body))(t)},e.setAttributes=function(t){return function(e){return Object.keys(e).reduce(function(t,n){return t.setAttribute(n,e[n]),t},t)}},e.appendNode=a,e.getMediaSources=function(t){return[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(t.children)).map(function(t){return{url:t.getAttribute("src"),mimeType:t.getAttribute("type")}})},e.dispatchEvent=s},function(t,e,n){var r=n(0),i=n(6);t.exports=r(function(t,e){for(var n in t)if(i(n,t)&&!t[n](e[n]))return!1;return!0})},function(t,e,n){var r=n(0),i=n(62),o=n(7),a=n(71),s=n(69);t.exports=r(function(t,e){return"function"==typeof e.sequence?e.sequence(t):s(function(t,e){return i(o(a,t),e)},t([]),e)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n,r=Number(e),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);i<r;)n[i]=t(i),i+=1;return n})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=n.length-1;r>=0;)e=t(n[r],e),r-=1;return e})},function(t,e,n){var r=n(0),i=n(5);t.exports=r(function(t,e){return i(e.length,function(){for(var n=[],r=0;r<e.length;)n.push(e[r].call(this,arguments[r])),r+=1;return t.apply(this,n.concat(Array.prototype.slice.call(arguments,e.length)))})})},function(t,e,n){var r=n(10),i=n(0);t.exports=i(function(t,e){return r([t],e)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n={},r=0,i=t.length;r<i;){var o=t[r];n[o]=e[o],r+=1}return n})},function(t,e,n){var r=n(13),i=n(0);t.exports=function(t){return i(function(e,n){return r(Math.max(0,e.length-n.length),function(){return e.apply(this,t(n,arguments))})})}},function(t,e,n){var r,i=n(2);t.exports=(r=function(t){return{value:t,map:function(e){return r(e(t))}}},i(function(t,e,n){return t(function(t){return r(e(t))})(n).value}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t*e})},function(t,e,n){var r=n(13),i=n(0),o=n(6);t.exports=i(function(t,e){var n={};return r(e.length,function(){var r=t.apply(this,arguments);return o(r,n)||(n[r]=e.apply(this,arguments)),n[r]})})},function(t,e,n){var r=n(42),i=n(11);t.exports=i(r,0)},function(t,e,n){var r=n(1),i=n(77);t.exports=r(function(t){return i(t)/t.length})},function(t,e){t.exports=function(t){return"[object Number]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(1),i=n(79);t.exports=r(function(t){return null!=t&&i(t.length)?t.length:NaN})},function(t,e,n){var r=n(1),i=n(97);t.exports=r(function(t){return i(function(){return Array.prototype.slice.call(arguments,0)},t)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return null!=e&&e.constructor===t||e instanceof t})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n={};return n[t]=e,n})},function(t,e,n){var r=n(230),i=n(0);t.exports=i(function(t,e){for(var n,i,o=new r,a=[],s=0;s<e.length;)n=t(i=e[s]),o.add(n)&&a.push(i),s+=1;return a})},function(t,e,n){var r=n(0),i=n(91);t.exports=r(function(t,e){return i(t>=0?e.length-t:0,e)})},function(t,e,n){var r=n(1),i=n(117),o=n(15),a=n(53),s=n(25);t.exports=r(function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():o(t)?[]:s(t)?"":a(t)?{}:i(t)?function(){return arguments}():void 0})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t||e})},function(t,e,n){var r=n(22);t.exports=r(-1)},function(t,e,n){var r=n(0),i=n(3),o=n(90),a=n(88);t.exports=r(i([],o,function(t,e){var n=[],r=1,i=e.length;if(0!==i)for(n[0]=e[0];r<i;)t(a(n),e[r])||(n[n.length]=e[r]),r+=1;return n}))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,e)&&(n=!0):this.seenFirstValue=!0,this.lastValue=e,n?t:this.xf["@@transducer/step"](t,e)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(274),a=n(17);t.exports=r(i(["drop"],o,function(t,e){return a(Math.max(0,t),1/0,e)}))},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r=Array.prototype.slice.call(n,0);return r.splice(t,e),r})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n={};for(var r in e)n[r]=e[r];return delete n[t],n})},function(t,e,n){var r=n(30),i=n(2);t.exports=i(function(t,e,n){for(var i=[],o=0,a=e.length;o<a;)r(t,e[o],n)||r(t,e[o],i)||i.push(e[o]),o+=1;return i})},function(t,e,n){var r=n(16),i=n(0);t.exports=i(function(t,e){for(var n=[],i=0,o=t.length;i<o;)r(t[i],e)||r(t[i],n)||(n[n.length]=t[i]),i+=1;return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return null==e||e!=e?t:e})},function(t,e,n){var r=n(0),i=n(40),o=n(5),a=n(18),s=n(26),u=n(11);t.exports=r(function(t,e){return o(u(a,0,s("length",e)),function(){var n=arguments,r=this;return t.apply(r,i(function(t){return t.apply(r,n)},e))})})},function(t,e,n){var r=n(0),i=n(34),o=n(37);t.exports=r(function(t,e){if(t>10)throw new Error("Constructor with greater than ten arguments");return 0===t?function(){return new e}:i(o(t,function(t,n,r,i,o,a,s,u,c,l){switch(arguments.length){case 1:return new e(t);case 2:return new e(t,n);case 3:return new e(t,n,r);case 4:return new e(t,n,r,i);case 5:return new e(t,n,r,i,o);case 6:return new e(t,n,r,i,o,a);case 7:return new e(t,n,r,i,o,a,s);case 8:return new e(t,n,r,i,o,a,s,u);case 9:return new e(t,n,r,i,o,a,s,u,c);case 10:return new e(t,n,r,i,o,a,s,u,c,l)}}))})},function(t,e){t.exports=function(t){return function(){return!t.apply(this,arguments)}}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})},function(t,e,n){var r=n(8);t.exports=function(t,e,n){var i,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(i=1/e;n<t.length;){if(0===(o=t[n])&&1/o===i)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(o=t[n])&&o!=o)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(r(t[n],e))return n;n+=1}return-1}},function(t,e,n){var r=n(13),i=n(291),o=n(11),a=n(57);t.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},function(t,e,n){var r=n(60),i=n(58),o=n(7);t.exports=function(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var t=Array.prototype.slice.call(arguments),e=t.pop();return i(i.apply(this,o(r,t)),e)}},function(t,e,n){var r=n(13),i=n(293),o=n(11),a=n(57);t.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},function(t,e,n){var r=n(1);t.exports=r(function(t){return!t})},function(t,e){t.exports=function(t){return new RegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}},function(t,e,n){var r=n(106),i=n(59);t.exports=function t(e,n,o,a){var s=function(r){for(var i=n.length,s=0;s<i;){if(e===n[s])return o[s];s+=1}for(var u in n[s+1]=e,o[s+1]=r,e)r[u]=a?t(e[u],n,o,!0):e[u];return r};switch(i(e)){case"Object":return s({});case"Array":return s([]);case"Date":return new Date(e.valueOf());case"RegExp":return r(e);default:return e}}},function(t,e,n){var r=n(39);t.exports=function(t){return function e(n){for(var i,o,a,s=[],u=0,c=n.length;u<c;){if(r(n[u]))for(a=0,o=(i=t?e(n[u]):n[u]).length;a<o;)s[s.length]=i[a],a+=1;else s[s.length]=n[u];u+=1}return s}}},function(t,e,n){var r=n(0),i=n(9),o=n(62),a=n(5),s=n(7);t.exports=r(function(t,e){var n=a(t,e);return a(t,function(){return i(o,s(n,arguments[0]),Array.prototype.slice.call(arguments,1))})})},function(t,e,n){var r=n(1);t.exports=r(function(t){return null==t})},function(t,e,n){var r=n(2),i=n(6),o=n(15),a=n(61),s=n(38),u=n(110);t.exports=r(function t(e,n,r){if(0===e.length)return n;var c=e[0];if(e.length>1){var l=!u(r)&&i(c,r)?r[c]:a(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,l)}if(a(c)&&o(r)){var f=[].concat(r);return f[c]=n,f}return s(c,n,r)})},function(t,e,n){var r=n(1),i=n(12);t.exports=r(function(t){for(var e=i(t),n=e.length,r=[],o=0;o<n;)r[o]=t[e[o]],o+=1;return r})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t.apply(this,e)})},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.any=!1}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.any=!0,t=i(this.xf["@@transducer/step"](t,!0))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(114);t.exports=r(i(["any"],o,function(t,e){for(var n=0;n<e.length;){if(t(e[n]))return!0;n+=1}return!1}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t&&e})},function(t,e,n){var r=n(6);t.exports=function(){var t=Object.prototype.toString;return"[object Arguments]"===t.call(arguments)?function(e){return"[object Arguments]"===t.call(e)}:function(t){return r("callee",t)}}()},function(t,e,n){var r=n(13),i=n(0);t.exports=i(function(t,e){return r(t.length,function(){return t.apply(e,arguments)})})},function(t,e){t.exports=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},function(e){return new t(e)}}()},function(t,e,n){var r=n(10),i=n(2);t.exports=i(function(t,e,n){if(e>=n.length||e<-n.length)return n;var i=(e<0?n.length:0)+e,o=r(n);return o[i]=t(n[i]),o})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=[],i=0,o=Math.min(e.length,n.length);i<o;)r[i]=t(e[i],n[i]),i+=1;return r})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=0,r=Math.min(t.length,e.length),i={};n<r;)i[t[n]]=e[n],n+=1;return i})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=[],r=0,i=Math.min(t.length,e.length);r<i;)n[r]=[t[r],e[r]],r+=1;return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n,r=0,i=t.length,o=e.length,a=[];r<i;){for(n=0;n<o;)a[a.length]=[t[r],e[n]],n+=1;r+=1}return a})},function(t,e,n){var r=n(16),i=n(0),o=n(29),a=n(32);t.exports=i(function(t,e){return a(o(r)(t),e)})},function(t,e,n){var r=n(0),i=n(8),o=n(7),a=n(66);t.exports=r(function(t,e){return a(o(i,t),e)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)?e(n):n})},function(t,e,n){var r,i=n(0);t.exports=(r=function(t){return{value:t,"fantasy-land/map":function(){return this}}},i(function(t,e){return t(r)(e).value}))},function(t,e,n){var r=n(1);t.exports=r(function(t){var e,n=[];for(e in t)n[n.length]=t[e];return n})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=n;!t(r);)r=e(r);return r})},function(t,e,n){var r=n(49),i=n(60);t.exports=i(r)},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)?n:e(n)})},function(t,e,n){var r=n(10),i=n(2),o=n(47);t.exports=i(function(t,e,n){return o(t,r(e,n))})},function(t,e,n){var r=n(10),i=n(0),o=n(58),a=n(48);t.exports=i(o(a,r))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=t(e),r=[];n&&n.length;)r[r.length]=n[0],n=t(n[1]);return r})},function(t,e,n){var r=n(0),i=n(5);t.exports=r(function(t,e){return i(t,function(){for(var n,r=1,i=e,o=0;r<=t&&"function"==typeof i;)n=r===t?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i})})},function(t,e,n){var r=n(1),i=n(37);t.exports=r(function(t){return i(1,t)})},function(t,e,n){var r=n(1);t.exports=r(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}})},function(t,e,n){var r=n(13),i=n(10),o=n(0);t.exports=o(function(t,e){return r(t.length,function(){try{return t.apply(this,arguments)}catch(t){return e.apply(this,i([t],arguments))}})})},function(t,e,n){var r,i=n(1);t.exports=(r="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff","function"==typeof String.prototype.trim&&!r.trim()&&"​".trim()?i(function(t){return t.trim()}):i(function(t){var e=new RegExp("^["+r+"]["+r+"]*"),n=new RegExp("["+r+"]["+r+"]*$");return t.replace(e,"").replace(n,"")}))},function(t,e,n){var r=n(2),i=n(7),o=n(67);t.exports=r(function(t,e,n){return"function"==typeof n["fantasy-land/traverse"]?n["fantasy-land/traverse"](e,t):o(t,i(e,n))})},function(t,e,n){var r=n(1);t.exports=r(function(t){for(var e=0,n=[];e<t.length;){for(var r=t[e],i=0;i<r.length;)void 0===n[i]&&(n[i]=[]),n[i].push(r[i]),i+=1;e+=1}return n})},function(t,e,n){var r=n(9),i=n(119),o=n(5);t.exports=o(4,function(t,e,n,o){return r(t("function"==typeof e?i(e):e),n,o)})},function(t,e,n){var r=n(21);t.exports=r(0,"toUpperCase")},function(t,e,n){var r=n(1);t.exports=r(function(t){var e=[];for(var n in t)e[e.length]=[n,t[n]];return e})},function(t,e,n){var r=n(1),i=n(6);t.exports=r(function(t){var e=[];for(var n in t)i(n,t)&&(e[e.length]=[n,t[n]]);return e})},function(t,e,n){var r=n(21);t.exports=r(0,"toLowerCase")},function(t,e){t.exports=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(106),i=n(0),o=n(148),a=n(23);t.exports=i(function(t,e){if(!o(t))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+a(t));return r(t).test(e)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t(e),e})},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):i(t)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(151);t.exports=r(i(["takeWhile"],o,function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return Array.prototype.slice.call(e,0,n)}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=e.length-1;n>=0&&t(e[n]);)n-=1;return Array.prototype.slice.call(e,n+1)})},function(t,e,n){var r=n(2),i=n(56),o=n(94);t.exports=r(function(t,e,n){return i(o(t,e,n),o(t,n,e))})},function(t,e,n){var r=n(0),i=n(56),o=n(95);t.exports=r(function(t,e){return i(o(t,e),o(e,t))})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Number(t)-Number(e)})},function(t,e,n){var r=n(0),i=n(8),o=n(51);t.exports=r(function(t,e){return i(o(t.length,e),t)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=0,r=e.length,i=[];n<r&&!t(e[n]);)i.push(e[n]),n+=1;return[i,Array.prototype.slice.call(e,n)]})},function(t,e,n){var r=n(0),i=n(17);t.exports=r(function(t,e){if(t<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<e.length;)n.push(i(r,r+=t,e));return n})},function(t,e,n){var r=n(0),i=n(80),o=n(17);t.exports=r(function(t,e){return[o(0,t,e),o(t,i(e),e)]})},function(t,e,n){var r=n(21);t.exports=r(1,"split")},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Array.prototype.slice.call(e,0).sort(function(e,n){for(var r=0,i=0;0===r&&i<t.length;)r=t[i](e,n),i+=1;return r})})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Array.prototype.slice.call(e,0).sort(function(e,n){var r=t(e),i=t(n);return r<i?-1:r>i?1:0})})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Array.prototype.slice.call(e,0).sort(t)})},function(t,e,n){var r=n(2),i=n(19),o=n(74);t.exports=r(function(t,e,n){return o(t,i(e),n)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=0,i=n.length,o=[e];r<i;)e=t(e,n[r]),o[r+1]=e,r+=1;return o})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return n.replace(t,e)})},function(t,e,n){var r=n(0),i=n(19),o=n(68);t.exports=r(function(t,e){return o(i(t),e)})},function(t,e,n){var r=n(1),i=n(14);t.exports=r(i)},function(t,e,n){var r=n(41),i=n(9),o=n(14);t.exports=r(4,[],function(t,e,n,r){return i(function(n,r){return t(n,r)?e(n,r):o(n)},n,r)})},function(t,e,n){var r=n(0),i=n(79);t.exports=r(function(t,e){if(!i(t)||!i(e))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=t;r<e;)n.push(r),r+=1;return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=t.length,r=[],i=0;i<n;)r[i]=e[t[i]],i+=1;return r})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n[e])})},function(t,e,n){var r=n(2),i=n(6);t.exports=r(function(t,e,n){return null!=n&&i(e,n)?n[e]:t})},function(t,e,n){var r=n(2),i=n(82);t.exports=r(function(t,e,n){return i(t,n[e])})},function(t,e,n){var r=n(2),i=n(8);t.exports=r(function(t,e,n){return i(e,n[t])})},function(t,e,n){var r=n(40),i=n(50),o=n(72),a=n(70);t.exports=a(r,[o,i])},function(t,e,n){var r=n(75),i=n(11);t.exports=i(r,1)},function(t,e,n){var r=n(103),i=n(33);t.exports=function(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return r.apply(this,i(arguments))}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n={};for(var r in e)t(e[r],r,e)&&(n[r]=e[r]);return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n={},r=0;r<t.length;)t[r]in e&&(n[t[r]]=e[t[r]]),r+=1;return n})},function(t,e,n){var r=n(2),i=n(20);t.exports=r(function(t,e,n){return e.length>0&&t(i(e,n))})},function(t,e,n){var r=n(2),i=n(96),o=n(20);t.exports=r(function(t,e,n){return i(t,o(e,n))})},function(t,e,n){var r=n(2),i=n(8),o=n(20);t.exports=r(function(t,e,n){return i(o(t,n),e)})},function(t,e,n){var r=n(55),i=n(81),o=n(32);t.exports=i([r,o])},function(t,e,n){var r=n(10),i=n(73),o=n(29);t.exports=i(o(r))},function(t,e,n){var r=n(10),i=n(73);t.exports=i(r)},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return[t,e]})},function(t,e,n){var r=n(13),i=n(1);t.exports=i(function(t){var e,n=!1;return r(t.length,function(){return n?e:(n=!0,e=t.apply(this,arguments))})})},function(t,e,n){var r=n(16),i=n(0);t.exports=i(function(t,e){var n={};for(var i in e)r(i,t)||(n[i]=e[i]);return n})},function(t,e){t.exports=function(t){return[t]}},function(t,e,n){var r=n(1),i=n(191);t.exports=r(i)},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(e(n))})},function(t,e,n){var r=n(1),i=n(5),o=n(22);t.exports=r(function(t){return i(t<0?1:t+1,function(){return o(t,arguments)})})},function(t,e,n){var r=n(99),i=n(0),o=n(3),a=n(114),s=n(115);t.exports=i(r(o(["any"],a,s)))},function(t,e,n){var r=n(1);t.exports=r(function(t){return-t})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t%e})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)<t(e)?n:e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e<t?e:t})},function(t,e,n){var r=n(2),i=n(45);t.exports=r(function(t,e,n){return i(function(e,n,r){return t(n,r)},e,n)})},function(t,e,n){var r=n(2),i=n(27);t.exports=r(function(t,e,n){return i(function(e,n,r){return t(n,r)},e,n)})},function(t,e,n){var r=n(0),i=n(27);t.exports=r(function(t,e){return i(function(t,e,n){return n},t,e)})},function(t,e,n){var r=n(0),i=n(27);t.exports=r(function(t,e){return i(function(t,e,n){return e},t,e)})},function(t,e,n){var r=n(46),i=n(1);t.exports=i(function(t){return r.apply(null,[{}].concat(t))})},function(t,e,n){var r=n(46),i=n(0);t.exports=i(function(t,e){return r({},t,e)})},function(t,e,n){var r=n(76),i=n(23);t.exports=r(function(){return i(arguments)})},function(t,e,n){var r=n(1),i=n(78);t.exports=r(function(t){var e=t.length;if(0===e)return NaN;var n=2-e%2,r=(e-n)/2;return i(Array.prototype.slice.call(t,0).sort(function(t,e){return t<e?-1:t>e?1:0}).slice(r,r+n))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)>t(e)?n:e})},function(t,e,n){var r=n(0),i=n(61);t.exports=r(function(t,e){return i(t)?!i(e)||e<1?NaN:(t%e+e)%e:NaN})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e.match(t)||[]})},function(t,e,n){var r=n(0),i=n(9),o=n(12);t.exports=r(function(t,e){return i(function(n,r){return n[r]=t(e[r],r,e),n},{},o(e))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=n.length-1,i=[],o=[e];r>=0;)o=t(n[r],o[0]),i[r]=o[1],r-=1;return[i,o[0]]})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=0,i=n.length,o=[],a=[e];r<i;)a=t(a[0],n[r]),o[r]=a[1],r+=1;return[a[0],o]})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t<=e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t<e})},function(t,e,n){var r=n(1),i=n(38),o=n(28),a=n(63);t.exports=r(function(t){return o(a(t),i(t))})},function(t,e,n){var r=n(1),i=n(111),o=n(28),a=n(20);t.exports=r(function(t){return o(a(t),i(t))})},function(t,e,n){var r=n(1),i=n(28),o=n(22),a=n(52);t.exports=r(function(t){return i(o(t),a(t))})},function(t,e,n){var r=n(0),i=n(15),o=n(8);t.exports=r(function(t,e){if("function"!=typeof e.lastIndexOf||i(e)){for(var n=e.length-1;n>=0;){if(o(e[n],t))return n;n-=1}return-1}return e.lastIndexOf(t)})},function(t,e,n){var r=n(1);t.exports=r(function(t){var e,n=[];for(e in t)n[n.length]=e;return n})},function(t,e,n){var r=n(21);t.exports=r(1,"join")},function(t,e,n){var r=n(1),i=n(86),o=n(8);t.exports=r(function(t){return null!=t&&o(t,i(t))})},function(t,e,n){var r=n(1),i=n(12);t.exports=r(function(t){for(var e=i(t),n=e.length,r=0,o={};r<n;){var a=e[r];o[t[a]]=a,r+=1}return o})},function(t,e,n){var r=n(1),i=n(6),o=n(12);t.exports=r(function(t){for(var e=o(t),n=e.length,r=0,a={};r<n;){var s=e[r],u=t[s],c=i(u,a)?a[u]:a[u]=[];c[c.length]=s,r+=1}return a})},function(t,e,n){var r=n(6);t.exports=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var a in o)r(a,o)&&(e[a]=o[a]);n+=1}return e}},function(t,e,n){var r,i,o,a=n(46),s=n(49),u=n(39),c=n(64),l=n(83);t.exports=(r={"@@transducer/init":Array,"@@transducer/step":function(t,e){return t.push(e),t},"@@transducer/result":s},i={"@@transducer/init":String,"@@transducer/step":function(t,e){return t+e},"@@transducer/result":s},o={"@@transducer/init":Object,"@@transducer/step":function(t,e){return a(t,u(e)?l(e[0],e[1]):e)},"@@transducer/result":s},function(t){if(c(t))return t;if(u(t))return r;if("string"==typeof t)return i;if("object"==typeof t)return o;throw new Error("Cannot create transformer for "+t)})},function(t,e,n){var r=n(107),i=n(2),o=n(64),a=n(9),s=n(226);t.exports=i(function(t,e,n){return o(t)?a(e(t),t["@@transducer/init"](),n):a(e(s(t)),r(t,[],[],!1),n)})},function(t,e,n){var r=n(24),i=n(0);t.exports=i(r("intersperse",function(t,e){for(var n=[],r=0,i=e.length;r<i;)r===i-1?n.push(e[r]):n.push(e[r],t),r+=1;return n}))},function(t,e,n){var r=n(30),i=n(2),o=n(47);t.exports=i(function(t,e,n){var i,a;e.length>n.length?(i=e,a=n):(i=n,a=e);for(var s=[],u=0;u<a.length;)r(t,a[u],i)&&(s[s.length]=a[u]),u+=1;return o(t,s)})},function(t,e,n){var r=n(16);t.exports=function(){function t(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function e(t,e,n){var i,o=typeof t;switch(o){case"string":case"number":return 0===t&&1/t==-1/0?!!n._items["-0"]||(e&&(n._items["-0"]=!0),!1):null!==n._nativeSet?e?(i=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===i):n._nativeSet.has(t):o in n._items?t in n._items[o]||(e&&(n._items[o][t]=!0),!1):(e&&(n._items[o]={},n._items[o][t]=!0),!1);case"boolean":if(o in n._items){var a=t?1:0;return!!n._items[o][a]||(e&&(n._items[o][a]=!0),!1)}return e&&(n._items[o]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?e?(i=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===i):n._nativeSet.has(t):o in n._items?!!r(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1);case"undefined":return!!n._items[o]||(e&&(n._items[o]=!0),!1);case"object":if(null===t)return!!n._items.null||(e&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(t))in n._items?!!r(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1)}}return t.prototype.add=function(t){return!e(t,!0,this)},t.prototype.has=function(t){return e(t,!1,this)},t}()},function(t,e,n){var r=n(16),i=n(0),o=n(54),a=n(29),s=n(48);t.exports=i(function(t,e){var n,i;return t.length>e.length?(n=t,i=e):(n=e,i=t),s(o(a(r)(n),i))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t=t<n.length&&t>=0?t:n.length,[].concat(Array.prototype.slice.call(n,0,t),e,Array.prototype.slice.call(n,t))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){t=t<n.length&&t>=0?t:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(t,0,e),r})},function(t,e,n){var r=n(30),i=n(2),o=n(54);t.exports=i(function(t,e,n){return o(function(e){return r(t,e,n)},e)})},function(t,e,n){var r=n(17);t.exports=r(0,-1)},function(t,e,n){var r=n(0),i=n(101),o=n(15);t.exports=r(function(t,e){return"function"!=typeof e.indexOf||o(e)?i(e,t,0):e.indexOf(t)})},function(t,e,n){var r=n(31);t.exports=r(function(t,e){return e},null)},function(t,e,n){var r=n(42);t.exports=r(1)},function(t,e,n){var r=n(2),i=n(5);t.exports=r(function(t,e,n){return i(Math.max(t.length,e.length,n.length),function(){return t.apply(this,arguments)?e.apply(this,arguments):n.apply(this,arguments)})})},function(t,e,n){var r=n(22);t.exports=r(0)},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t in e})},function(t,e,n){var r=n(0),i=n(6);t.exports=r(i)},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t>=e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t>e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=[],r=0,i=e.length;r<i;){for(var o=r+1;o<i&&t(e[o-1],e[o]);)o+=1;n.push(e.slice(r,o)),r=o}return n})},function(t,e,n){var r=n(24),i=n(0),o=n(31);t.exports=i(r("groupBy",o(function(t,e){return null==t&&(t=[]),t.push(e),t},null)))},function(t,e,n){var r=n(1);t.exports=r(function(t){for(var e={},n=0;n<t.length;)e[t[n][0]]=t[n][1],n+=1;return e})},function(t,e,n){var r=n(0),i=n(12);t.exports=r(function(t,e){for(var n=i(e),r=0;r<n.length;){var o=n[r];t(e[o],o,e),r+=1}return e})},function(t,e,n){var r=n(24),i=n(0);t.exports=i(r("forEach",function(t,e){for(var n=e.length,r=0;r<n;)t(e[r]),r+=1;return e}))},function(t,e,n){var r=n(1),i=n(108);t.exports=r(i(!0))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.idx=-1,this.lastIdx=-1}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},t.prototype["@@transducer/step"]=function(t,e){return this.idx+=1,this.f(e)&&(this.lastIdx=this.idx),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(251);t.exports=r(i([],o,function(t,e){for(var n=e.length-1;n>=0;){if(t(e[n]))return n;n-=1}return-1}))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.last=e),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(253);t.exports=r(i([],o,function(t,e){for(var n=e.length-1;n>=0;){if(t(e[n]))return e[n];n-=1}}))},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.idx+=1,this.f(e)&&(this.found=!0,t=i(this.xf["@@transducer/step"](t,this.idx))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(255);t.exports=r(i([],o,function(t,e){for(var n=0,r=e.length;n<r;){if(t(e[n]))return n;n+=1}return-1}))},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.found=!1}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.found=!0,t=i(this.xf["@@transducer/step"](t,e))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(257);t.exports=r(i(["find"],o,function(t,e){for(var n=0,r=e.length;n<r;){if(t(e[n]))return e[n];n+=1}}))},function(t,e,n){var r=n(0);t.exports=r(function t(e,n){var r,i,o,a={};for(i in n)o=typeof(r=e[i]),a[i]="function"===o?r(n[i]):r&&"object"===o?t(r,n[i]):n[i];return a})},function(t,e,n){var r=n(2),i=n(8);t.exports=r(function(t,e,n){return i(e[t],n[t])})},function(t,e,n){var r=n(2),i=n(8);t.exports=r(function(t,e,n){return i(t(e),t(n))})},function(t,e,n){var r=n(0),i=n(8),o=n(85);t.exports=r(function(t,e){return i(o(t.length,e),t)})},function(t,e,n){var r=n(0),i=n(36),o=n(35),a=n(87);t.exports=r(function(t,e){return i(t)?function(){return t.apply(this,arguments)||e.apply(this,arguments)}:o(a)(t,e)})},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(264);t.exports=r(i(["dropWhile"],o,function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return Array.prototype.slice.call(e,n)}))},function(t,e,n){var r=n(1),i=n(3),o=n(90),a=n(89),s=n(8);t.exports=r(i([],o(s),a(s)))},function(t,e,n){var r=n(0),i=n(9),o=n(4);t.exports=function(){function t(t,e){this.f=t,this.retained=[],this.xf=e}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.retain(t,e):this.flush(t,e)},t.prototype.flush=function(t,e){return t=i(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,e)},t.prototype.retain=function(t,e){return this.retained.push(e),t},r(function(e,n){return new t(e,n)})}()},function(t,e){t.exports=function(t,e){for(var n=e.length-1;n>=0&&t(e[n]);)n-=1;return Array.prototype.slice.call(e,0,n+1)}},function(t,e,n){var r=n(0),i=n(3),o=n(268),a=n(267);t.exports=r(i([],a,o))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.pos=0,this.full=!1,this.acc=new Array(t)}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(e),t},t.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var n=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?i(n):n},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(51);t.exports=function(t,e){return r(t<e.length?e.length-t:0,e)}},function(t,e,n){var r=n(0),i=n(3),o=n(272),a=n(270);t.exports=r(i([],a,o))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.n=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){return this.n>0?(this.n-=1,t):this.xf["@@transducer/step"](t,e)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t/e})},function(t,e,n){var r=n(0),i=n(61),o=n(38),a=n(93),s=n(92),u=n(52);t.exports=r(function t(e,n){switch(e.length){case 0:return n;case 1:return i(e[0])?s(e[0],1,n):a(e[0],n);default:var r=e[0],c=Array.prototype.slice.call(e,1);return null==n[r]?n:i(e[0])?u(r,t(c,n[r]),n):o(r,t(c,n[r]),n)}})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r=t(e),i=t(n);return r>i?-1:r<i?1:0})},function(t,e,n){var r=n(42);t.exports=r(-1)},function(t,e,n){var r=n(41),i=n(6),o=n(4);t.exports=function(){function t(t,e,n,r){this.valueFn=t,this.valueAcc=e,this.keyFn=n,this.xf=r,this.inputs={}}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){var e;for(e in this.inputs)if(i(e,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[e]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var n=this.keyFn(e);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],e),t},r(4,[],function(e,n,r,i){return new t(e,n,r,i)})}()},function(t,e,n){var r=n(31);t.exports=r(function(t,e){return t+1},0)},function(t,e,n){var r=n(16),i=n(0);t.exports=i(r)},function(t,e,n){var r=n(1),i=n(98);t.exports=r(function(t){return i(t.length,t)})},function(t,e,n){var r=n(13),i=n(1),o=n(7),a=n(18),s=n(11);t.exports=i(function(t){var e=s(a,0,o(function(t){return t[0].length},t));return r(e,function(){for(var e=0;e<t.length;){if(t[e][0].apply(this,arguments))return t[e][1].apply(this,arguments);e+=1}})})},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},r(function(e,n){return new t(e,n)})}()},function(t,e){var n;t.exports=(n=function(t){return(t<10?"0":"")+t},"function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},function(t,e){t.exports=function(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},function(t,e){t.exports=function(t){var e=String(t).match(/^function (\w*)/);return null==e?"":e[1]}},function(t,e){t.exports=function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}},function(t,e,n){var r=n(288),i=n(287),o=n(6),a=n(100),s=n(12),u=n(59);t.exports=function t(e,n,c,l){if(a(e,n))return!0;if(u(e)!==u(n))return!1;if(null==e||null==n)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof n.equals)return"function"==typeof e.equals&&e.equals(n)&&"function"==typeof n.equals&&n.equals(e);switch(u(e)){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===i(e.constructor))return e===n;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof n||!a(e.valueOf(),n.valueOf()))return!1;break;case"Date":if(!a(e.valueOf(),n.valueOf()))return!1;break;case"Error":return e.name===n.name&&e.message===n.message;case"RegExp":if(e.source!==n.source||e.global!==n.global||e.ignoreCase!==n.ignoreCase||e.multiline!==n.multiline||e.sticky!==n.sticky||e.unicode!==n.unicode)return!1;break;case"Map":case"Set":if(!t(r(e.entries()),r(n.entries()),c,l))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var f=s(e);if(f.length!==s(n).length)return!1;for(var p=c.length-1;p>=0;){if(c[p]===e)return l[p]===n;p-=1}for(c.push(e),l.push(n),p=f.length-1;p>=0;){var d=f[p];if(!o(d,n)||!t(n[d],e[d],c,l))return!1;p-=1}return c.pop(),l.pop(),!0}},function(t,e,n){var r=n(16),i=n(40),o=n(286),a=n(285),s=n(12),u=n(32);t.exports=function t(e,n){var c=function(i){var o=n.concat([e]);return r(i,o)?"<Circular>":t(i,o)},l=function(t,e){return i(function(e){return o(e)+": "+c(t[e])},e.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+i(c,e).join(", ")+"))";case"[object Array]":return"["+i(c,e).concat(l(e,u(function(t){return/^\d+$/.test(t)},s(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+c(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?c(NaN):o(a(e)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+c(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+c(e.valueOf())+")":o(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var f=e.toString();if("[object Object]"!==f)return f}return"{"+l(e,s(e)).join(", ")+"}"}}},function(t,e){t.exports=function(t,e){return function(){var n=this;return t.apply(n,arguments).then(function(t){return e.call(n,t)})}}},function(t,e,n){var r=n(102),i=n(33);t.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},function(t,e){t.exports=function(t,e){return function(){return e.call(this,t.apply(this,arguments))}}},function(t,e,n){var r=n(35),i=n(105);t.exports=r(i)},function(t,e,n){var r=n(1);t.exports=r(function(t){return function(e,n){return t(e,n)?-1:t(n,e)?1:0}})},function(t,e,n){var r=n(107),i=n(1);t.exports=i(function(t){return null!=t&&"function"==typeof t.clone?t.clone():r(t,[],[],!0)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){if(t>e)throw new Error("min must not be greater than max in clamp(min, max, value)");return n<t?t:n>e?e:n})},function(t,e){t.exports=function(t){return{"@@transducer/value":t,"@@transducer/reduced":!0}}},function(t,e,n){var r=n(298),i=n(39),o=n(9),a=n(4);t.exports=function(t){var e=function(t){return{"@@transducer/init":a.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){var i=t["@@transducer/step"](e,n);return i["@@transducer/reduced"]?r(i):i}}}(t);return{"@@transducer/init":a.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){return i(n)?o(e,t,n):o(e,t,[n])}}}},function(t,e,n){var r=n(0),i=n(299),o=n(7);t.exports=r(function(t,e){return o(t,i(e))})},function(t,e,n){var r=n(34);t.exports=r(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))})},function(t,e,n){var r=n(0),i=n(36),o=n(116),a=n(35);t.exports=r(function(t,e){return i(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:a(o)(t,e)})},function(t,e,n){var r=n(1),i=n(37);t.exports=r(function(t){return i(2,t)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r=t(e),i=t(n);return r<i?-1:r>i?1:0})},function(t,e,n){var r=n(1),i=n(113),o=n(5),a=n(7),s=n(18),u=n(26),c=n(11),l=n(112);t.exports=r(function t(e){return e=a(function(e){return"function"==typeof e?e:t(e)},e),o(c(s,0,u("length",l(e))),function(){var t=arguments;return a(function(e){return i(e,t)},e)})})},function(t,e,n){var r=n(10),i=n(0);t.exports=i(function(t,e){return r(e,[t])})},function(t,e,n){var r=n(10),i=n(0),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.pos=0,this.full=!1,this.acc=new Array(t)}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.store(e),this.full?this.xf["@@transducer/step"](t,this.getCopy()):t},t.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},t.prototype.getCopy=function(){return r(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},i(function(e,n){return new t(e,n)})}()},function(t,e){t.exports=function(t,e){for(var n=0,r=e.length-(t-1),i=new Array(r>=0?r:0);n<r;)i[n]=Array.prototype.slice.call(e,n,n+t),n+=1;return i}},function(t,e,n){var r=n(308),i=n(0),o=n(3),a=n(307);t.exports=i(o([],a,r))},function(t,e,n){var r=n(1),i=n(5),o=n(18),a=n(26),s=n(11);t.exports=r(function(t){return i(s(o,0,a("length",t)),function(){for(var e=0,n=t.length;e<n;){if(t[e].apply(this,arguments))return!0;e+=1}return!1})})},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(1),i=n(5),o=n(18),a=n(26),s=n(11);t.exports=r(function(t){return i(s(o,0,a("length",t)),function(){for(var e=0,n=t.length;e<n;){if(!t[e].apply(this,arguments))return!1;e+=1}return!0})})},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=i(this.xf["@@transducer/step"](t,!1))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(313);t.exports=r(i(["all"],o,function(t,e){for(var n=0;n<e.length;){if(!t(e[n]))return!1;n+=1}return!0}))},function(t,e,n){var r=n(10),i=n(1),o=n(5);t.exports=i(function(t){return o(t.length,function(){var e=0,n=arguments[0],i=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var t=n.apply(this,r(arguments,[e,i]));return e+=1,t},t.apply(this,o)})})},function(t,e){t.exports={"@@functional/placeholder":!0}},function(t,e,n){var r=n(19);t.exports=r(!0)},function(t,e,n){var r=n(19);t.exports=r(!1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.channels=e.src=e.props=e.paused=e.playing=e.state=e.muted=e.rate=e.ended=e.volume=e.buffered=e.playtime=e.duration=void 0;var r=n(44),i=n(65);function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=(0,r.path)(["duration"]),s=(0,r.path)(["playtime"]),u=(0,r.compose)(function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],n=0;n<t.length;n++)e=[].concat(o(e),[[t.start(n),t.end(n)]]);return e},(0,r.path)(["buffered"])),c=(0,r.path)(["volume"]),l=(0,r.path)(["ended"]),f=(0,r.path)(["paused"]),p=(0,r.path)(["playbackRate"]),d=(0,r.path)(["muted"]),h=(0,r.path)(["currentSrc"]),v=(0,r.path)(["activeBuffer","channelCount"]),y=(0,r.path)(["audioBuffer"]),m=(0,r.compose)(function(t){switch(t){case 0:return"HAVE_NOTHING";case 1:return"HAVE_METADATA";case 2:return"HAVE_CURRENT_DATA";case 3:return"HAVE_FUTURE_DATA";case 4:return"HAVE_ENOUGH_DATA"}},(0,r.path)(["readyState"])),g=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},b=(0,i.collectProperties)({duration:a,buffered:u,volume:c,state:m,playtime:s,ended:l,rate:p,muted:d,src:h,paused:f,playing:g,buffer:y});e.duration=a,e.playtime=s,e.buffered=u,e.volume=c,e.ended=l,e.rate=p,e.muted=d,e.state=m,e.playing=g,e.paused=f,e.props=b,e.src=h,e.channels=v},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mediaNode=e.createSourceNodes=void 0;var r=n(44),i=n(65),o=n(322),a=(0,r.compose)(i.setAttributes,i.createNode),s=function(t){var e=t.url,n=t.mimeType;return a("source")({src:e,type:n})},u=(0,r.compose)(o.mediaPolyfill,i.createNode);e.createSourceNodes=function(t){return(0,r.compose)((0,i.appendNode)(t),(0,r.map)(s))},e.mediaNode=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.onFilterUpdate=e.onReady=e.onBuffering=e.events=e.onPlay=e.onRateChange=e.onDurationChange=e.onError=e.onVolumeChange=e.onPlaytimeUpdate=e.onEnd=e.onBufferChange=e.onPause=e.onLoaded=e.onLoading=void 0;var r=n(44),i=n(65),o=n(319),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.props,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,r.curry)(function(o,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.addEventListener(t,(0,r.compose)(a,e,i.getNodeFromEvent),Object.assign({},n,s)),o})},s=a("progress",o.props,{once:!0}),u=a("canplaythrough",o.props,{once:!0}),c=a("canplay",o.props),l=a("play"),f=a("pause"),p=a("ended"),d=a("filterUpdated",o.props),h=a("progress",o.buffered),v=a("waiting"),y=a("timeupdate",o.playtime),m=a("volumechange",o.volume),g=(0,r.curry)(function(t,e){return t.addEventListener("error",function(t){var n=t.detail;switch(n&&n.networkState||this.networkState){case HTMLMediaElement.NETWORK_NO_SOURCE:return e("NETWORK_NO_SOURCE",{});case HTMLMediaElement.NETWORK_EMPTY:return e("NETWORK_EMPTY",{});case HTMLMediaElement.NETWORK_IDLE:return e("NETWORK_IDLE");case HTMLMediaElement.NETWORK_LOADING:return e("NETWORK_LOADING",{})}},!0),t.addEventListener("error-media",function(t){var n=t.detail;e("MEDIA_ERROR",n)},!1),t}),b=a("durationchange",o.duration),T=a("ratechange",o.rate),_=(0,i.collectProperties)({onLoading:s,onLoaded:u,onPause:f,onBufferChange:h,onEnd:p,onPlaytimeUpdate:y,onVolumeChange:m,onError:g,onDurationChange:b,onRateChange:T,onPlay:l,onBuffering:v,onReady:c,onFilterUpdate:d});e.onLoading=s,e.onLoaded=u,e.onPause=f,e.onBufferChange=h,e.onEnd=p,e.onPlaytimeUpdate=y,e.onVolumeChange=m,e.onError=g,e.onDurationChange=b,e.onRateChange=T,e.onPlay=l,e.events=_,e.onBuffering=v,e.onReady=c,e.onFilterUpdate=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.mediaPolyfill=void 0;var r=n(44),i=n(65),o=function(t){return t.playtime=t.currentTime,t},a=function(t){if(!t.initialized)return t;try{t.currentTime=t.playtime}catch(t){}return t},s=function(t){return t.initialized=!0,t};e.mediaPolyfill=(0,r.compose)(function(t){return t.autoplay=!1,t.loop=!1,t.preload="none",t.controls=!1,t.playtime=0,t.initialized=!1,t},function(t){return t.playtime=0,t.addEventListener("timeupdate",(0,r.compose)(o,i.getNodeFromEvent)),t.addEventListener("canplay",(0,r.compose)(a,s,i.getNodeFromEvent),{once:!0}),t.addEventListener("play",(0,r.compose)(a,i.getNodeFromEvent)),t})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.actions=e.setRate=e.setVolume=e.unmute=e.mute=e.setPlaytime=e.load=e.pause=e.play=void 0;var r=n(319),i=function(t){return function(){return t.load(),t}},o=function(t){return function(){try{t.play().catch(function(e){t.dispatchEvent(new CustomEvent("error-media",{detail:e}))})}catch(e){t.dispatchEvent(new CustomEvent("error-media",{detail:e}))}return t}},a=function(t){return function(){return t.pause(),t}},s=function(t){return function(){return t.muted=!0,t}},u=function(t){return function(){return t.muted=!1,t}},c=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return e=(e=(e=parseFloat(e))<0?0:e)>1?1:e,t.volume=e,t}},l=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return e=(e=(e=parseFloat(e))>4?4:e)<.5?.5:e,t.playbackRate=parseFloat(e),t}},f=function(t){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=(0,r.duration)(t);return e=(e=(e=parseFloat(e))>n?n:e)<0?0:e,t.initialized?(t.playtime=e,t.currentTime=e):t.playtime=e,t}},p=(0,n(65).collectProperties)({play:o,pause:a,load:i,setPlaytime:f,mute:s,unmute:u,setVolume:c,setRate:l});e.play=o,e.pause=a,e.load=i,e.setPlaytime=f,e.mute=s,e.unmute=u,e.setVolume=c,e.setRate=l,e.actions=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.video=void 0;var r=n(44),i=n(320),o=n(65);e.video=function(t){return(0,r.compose)(o.mountNode,(0,i.createSourceNodes)((0,i.mediaNode)("video")),o.toArray)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.audio=void 0;var r=n(44),i=n(320),o=n(65);e.audio=function(t){return(0,r.compose)(o.mountNode,(0,i.createSourceNodes)((0,i.mediaNode)("audio")),o.toArray)(t)}},,,,,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.actions=e.props=e.events=e.video=e.audio=void 0;var r=n(325),i=n(324),o=n(321),a=n(323),s=n(319);e.audio=r.audio,e.video=i.video,e.events=o.events,e.props=s.props,e.actions=a.actions}])},function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=329)}([function(t,e,n){var r=n(1),i=n(43);t.exports=function(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return i(n)?e:r(function(e){return t(n,e)});default:return i(n)&&i(o)?e:i(n)?r(function(e){return t(e,o)}):i(o)?r(function(e){return t(n,e)}):t(n,o)}}}},function(t,e,n){var r=n(43);t.exports=function(t){return function e(n){return 0===arguments.length||r(n)?e:t.apply(this,arguments)}}},function(t,e,n){var r=n(1),i=n(0),o=n(43);t.exports=function(t){return function e(n,a,s){switch(arguments.length){case 0:return e;case 1:return o(n)?e:i(function(e,r){return t(n,e,r)});case 2:return o(n)&&o(a)?e:o(n)?i(function(e,n){return t(e,a,n)}):o(a)?i(function(e,r){return t(n,e,r)}):r(function(e){return t(n,a,e)});default:return o(n)&&o(a)&&o(s)?e:o(n)&&o(a)?i(function(e,n){return t(e,n,s)}):o(n)&&o(s)?i(function(e,n){return t(e,a,n)}):o(a)&&o(s)?i(function(e,r){return t(n,e,r)}):o(n)?r(function(e){return t(e,a,s)}):o(a)?r(function(e){return t(n,e,s)}):o(s)?r(function(e){return t(n,a,e)}):t(n,a,s)}}}},function(t,e,n){var r=n(15),i=n(64);t.exports=function(t,e,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!r(a)){for(var s=0;s<t.length;){if("function"==typeof a[t[s]])return a[t[s]].apply(a,o);s+=1}if(i(a))return e.apply(null,o)(a)}return n.apply(this,arguments)}}},function(t,e){t.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}}},function(t,e,n){var r=n(13),i=n(1),o=n(0),a=n(41);t.exports=o(function(t,e){return 1===t?i(e):r(t,a(t,[],e))})},function(t,e){t.exports=function(t,e){return Object.prototype.hasOwnProperty.call(e,t)}},function(t,e,n){var r=n(0),i=n(3),o=n(40),a=n(9),s=n(311),u=n(5),c=n(12);t.exports=r(i(["fantasy-land/map","map"],s,function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return u(e.length,function(){return t.call(this,e.apply(this,arguments))});case"[object Object]":return a(function(n,r){return n[r]=t(e[r]),n},{},c(e));default:return o(t,e)}}))},function(t,e,n){var r=n(0),i=n(289);t.exports=r(function(t,e){return i(t,e,[],[])})},function(t,e,n){var r=n(39),i=n(119),o=n(118);t.exports=function(){function t(t,e,n){for(var r=n.next();!r.done;){if((e=t["@@transducer/step"](e,r.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function e(t,e,n,r){return t["@@transducer/result"](n[r](o(t["@@transducer/step"],t),e))}var n="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(o,a,s){if("function"==typeof o&&(o=i(o)),r(s))return function(t,e,n){for(var r=0,i=n.length;r<i;){if((e=t["@@transducer/step"](e,n[r]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}(o,a,s);if("function"==typeof s["fantasy-land/reduce"])return e(o,a,s,"fantasy-land/reduce");if(null!=s[n])return t(o,a,s[n]());if("function"==typeof s.next)return t(o,a,s);if("function"==typeof s.reduce)return e(o,a,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}()},function(t,e){t.exports=function(t,e){var n;t=t||[],e=e||[];var r=t.length,i=e.length,o=[];for(n=0;n<r;)o[o.length]=t[n],n+=1;for(n=0;n<i;)o[o.length]=e[n],n+=1;return o}},function(t,e,n){var r=n(2),i=n(9);t.exports=r(i)},function(t,e,n){var r,i,o,a,s=n(1),u=n(6),c=n(117);t.exports=(r=!{toString:null}.propertyIsEnumerable("toString"),i=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],o=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),a=function(t,e){for(var n=0;n<t.length;){if(t[n]===e)return!0;n+=1}return!1},"function"!=typeof Object.keys||o?s(function(t){if(Object(t)!==t)return[];var e,n,s=[],l=o&&c(t);for(e in t)!u(e,t)||l&&"length"===e||(s[s.length]=e);if(r)for(n=i.length-1;n>=0;)u(e=i[n],t)&&!a(s,e)&&(s[s.length]=e),n-=1;return s}):s(function(t){return Object(t)!==t?[]:Object.keys(t)}))},function(t,e){t.exports=function(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(t){return e.apply(this,arguments)};case 2:return function(t,n){return e.apply(this,arguments)};case 3:return function(t,n,r){return e.apply(this,arguments)};case 4:return function(t,n,r,i){return e.apply(this,arguments)};case 5:return function(t,n,r,i,o){return e.apply(this,arguments)};case 6:return function(t,n,r,i,o,a){return e.apply(this,arguments)};case 7:return function(t,n,r,i,o,a,s){return e.apply(this,arguments)};case 8:return function(t,n,r,i,o,a,s,u){return e.apply(this,arguments)};case 9:return function(t,n,r,i,o,a,s,u,c){return e.apply(this,arguments)};case 10:return function(t,n,r,i,o,a,s,u,c,l){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},function(t,e){t.exports=function(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}},function(t,e){t.exports=Array.isArray||function(t){return null!=t&&t.length>=0&&"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(101);t.exports=function(t,e){return r(e,t,0)>=0}},function(t,e,n){var r=n(24),i=n(2);t.exports=i(r("slice",function(t,e,n){return Array.prototype.slice.call(n,t,e)}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e>t?e:t})},function(t,e,n){var r=n(1);t.exports=r(function(t){return function(){return t}})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=e,r=0;r<t.length;){if(null==n)return;n=n[t[r]],r+=1}return n})},function(t,e,n){var r=n(0),i=n(36),o=n(5),a=n(23);t.exports=r(function(t,e){return o(t+1,function(){var n=arguments[t];if(null!=n&&i(n[e]))return n[e].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(a(n)+' does not have a method named "'+e+'"')})})},function(t,e,n){var r=n(0),i=n(25);t.exports=r(function(t,e){var n=t<0?e.length+t:t;return i(e)?e.charAt(n):e[n]})},function(t,e,n){var r=n(1),i=n(290);t.exports=r(function(t){return i(t,[])})},function(t,e,n){var r=n(15);t.exports=function(t,e){return function(){var n=arguments.length;if(0===n)return e();var i=arguments[n-1];return r(i)||"function"!=typeof i[t]?e.apply(this,arguments):i[t].apply(i,Array.prototype.slice.call(arguments,0,n-1))}}},function(t,e){t.exports=function(t){return"[object String]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(0),i=n(7),o=n(63);t.exports=r(function(t,e){return i(o(t),e)})},function(t,e,n){var r=n(2),i=n(53),o=n(45);t.exports=r(function t(e,n,r){return o(function(n,r,o){return i(r)&&i(o)?t(e,r,o):e(n,r,o)},n,r)})},function(t,e,n){var r=n(0),i=n(7);t.exports=r(function(t,e){return function(n){return function(r){return i(function(t){return e(t,r)},n(t(r)))}}})},function(t,e,n){var r=n(1),i=n(34);t.exports=r(function(t){return i(function(e,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=e,t.apply(this,r)})})},function(t,e){t.exports=function(t,e,n){for(var r=0,i=n.length;r<i;){if(t(e,n[r]))return!0;r+=1}return!1}},function(t,e,n){var r=n(41),i=n(3),o=n(6),a=n(9),s=n(279);t.exports=r(4,[],i([],s,function(t,e,n,r){return a(function(r,i){var a=n(i);return r[a]=t(o(a,r)?r[a]:e,i),r},{},r)}))},function(t,e,n){var r=n(99),i=n(0),o=n(55);t.exports=i(function(t,e){return o(r(t),e)})},function(t,e,n){var r=n(1),i=n(25);t.exports=r(function(t){return i(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()})},function(t,e,n){var r=n(1),i=n(5);t.exports=r(function(t){return i(t.length,t)})},function(t,e,n){var r=n(1),i=n(109);t.exports=r(function(t){return i(t.length,t)})},function(t,e){t.exports=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){switch(t){case 0:return function(){return e.call(this)};case 1:return function(t){return e.call(this,t)};case 2:return function(t,n){return e.call(this,t,n)};case 3:return function(t,n,r){return e.call(this,t,n,r)};case 4:return function(t,n,r,i){return e.call(this,t,n,r,i)};case 5:return function(t,n,r,i,o){return e.call(this,t,n,r,i,o)};case 6:return function(t,n,r,i,o,a){return e.call(this,t,n,r,i,o,a)};case 7:return function(t,n,r,i,o,a,s){return e.call(this,t,n,r,i,o,a,s)};case 8:return function(t,n,r,i,o,a,s,u){return e.call(this,t,n,r,i,o,a,s,u)};case 9:return function(t,n,r,i,o,a,s,u,c){return e.call(this,t,n,r,i,o,a,s,u,c)};case 10:return function(t,n,r,i,o,a,s,u,c,l){return e.call(this,t,n,r,i,o,a,s,u,c,l)};default:throw new Error("First argument to nAry must be a non-negative integer no greater than ten")}})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r={};for(var i in n)r[i]=n[i];return r[t]=e,r})},function(t,e,n){var r=n(1),i=n(15),o=n(25);t.exports=r(function(t){return!!i(t)||!!t&&"object"==typeof t&&!o(t)&&(1===t.nodeType?!!t.length:0===t.length||t.length>0&&t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1))})},function(t,e){t.exports=function(t,e){for(var n=0,r=e.length,i=Array(r);n<r;)i[n]=t(e[n]),n+=1;return i}},function(t,e,n){var r=n(13),i=n(43);t.exports=function t(e,n,o){return function(){for(var a=[],s=0,u=e,c=0;c<n.length||s<arguments.length;){var l;c<n.length&&(!i(n[c])||s>=arguments.length)?l=n[c]:(l=arguments[s],s+=1),a[c]=l,i(l)||(u-=1),c+=1}return u<=0?o.apply(this,a):r(u,t(e,a,o))}}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Number(t)+Number(e)})},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t&&!0===t["@@functional/placeholder"]}},function(t,e,n){t.exports={F:n(318),T:n(317),__:n(316),add:n(42),addIndex:n(315),adjust:n(120),all:n(314),allPass:n(312),always:n(19),and:n(116),any:n(115),anyPass:n(310),ap:n(62),aperture:n(309),append:n(306),apply:n(113),applySpec:n(305),ascend:n(304),assoc:n(38),assocPath:n(111),binary:n(303),bind:n(118),both:n(302),call:n(301),chain:n(60),clamp:n(297),clone:n(296),comparator:n(295),complement:n(294),compose:n(58),composeK:n(103),composeP:n(292),concat:n(56),cond:n(283),construct:n(282),constructN:n(98),contains:n(281),converge:n(97),countBy:n(280),curry:n(34),curryN:n(5),dec:n(278),defaultTo:n(96),descend:n(277),difference:n(95),differenceWith:n(94),dissoc:n(93),dissocPath:n(276),divide:n(275),drop:n(91),dropLast:n(273),dropLastWhile:n(269),dropRepeats:n(266),dropRepeatsWith:n(89),dropWhile:n(265),either:n(263),empty:n(86),endsWith:n(262),eqBy:n(261),eqProps:n(260),equals:n(8),evolve:n(259),filter:n(55),find:n(258),findIndex:n(256),findLast:n(254),findLastIndex:n(252),flatten:n(250),flip:n(29),forEach:n(249),forEachObjIndexed:n(248),fromPairs:n(247),groupBy:n(246),groupWith:n(245),gt:n(244),gte:n(243),has:n(242),hasIn:n(241),head:n(240),identical:n(100),identity:n(50),ifElse:n(239),inc:n(238),indexBy:n(237),indexOf:n(236),init:n(235),innerJoin:n(234),insert:n(233),insertAll:n(232),intersection:n(231),intersectionWith:n(229),intersperse:n(228),into:n(227),invert:n(224),invertObj:n(223),invoker:n(21),is:n(82),isEmpty:n(222),isNil:n(110),join:n(221),juxt:n(81),keys:n(12),keysIn:n(220),last:n(88),lastIndexOf:n(219),length:n(80),lens:n(28),lensIndex:n(218),lensPath:n(217),lensProp:n(216),lift:n(35),liftN:n(109),lt:n(215),lte:n(214),map:n(7),mapAccum:n(213),mapAccumRight:n(212),mapObjIndexed:n(211),match:n(210),mathMod:n(209),max:n(18),maxBy:n(208),mean:n(78),median:n(207),memoize:n(206),memoizeWith:n(76),merge:n(205),mergeAll:n(204),mergeDeepLeft:n(203),mergeDeepRight:n(202),mergeDeepWith:n(201),mergeDeepWithKey:n(27),mergeWith:n(200),mergeWithKey:n(45),min:n(199),minBy:n(198),modulo:n(197),multiply:n(75),nAry:n(37),negate:n(196),none:n(195),not:n(105),nth:n(22),nthArg:n(194),o:n(193),objOf:n(83),of:n(192),omit:n(190),once:n(189),or:n(87),over:n(74),pair:n(188),partial:n(187),partialRight:n(186),partition:n(185),path:n(20),pathEq:n(184),pathOr:n(183),pathSatisfies:n(182),pick:n(181),pickAll:n(72),pickBy:n(180),pipe:n(104),pipeK:n(179),pipeP:n(102),pluck:n(26),prepend:n(71),product:n(178),project:n(177),prop:n(63),propEq:n(176),propIs:n(175),propOr:n(174),propSatisfies:n(173),props:n(172),range:n(171),reduce:n(11),reduceBy:n(31),reduceRight:n(69),reduceWhile:n(170),reduced:n(169),reject:n(32),remove:n(92),repeat:n(168),replace:n(167),reverse:n(33),scan:n(166),sequence:n(67),set:n(165),slice:n(17),sort:n(164),sortBy:n(163),sortWith:n(162),split:n(161),splitAt:n(160),splitEvery:n(159),splitWhen:n(158),startsWith:n(157),subtract:n(156),sum:n(77),symmetricDifference:n(155),symmetricDifferenceWith:n(154),tail:n(57),take:n(51),takeLast:n(85),takeLastWhile:n(153),takeWhile:n(152),tap:n(150),test:n(149),times:n(68),toLower:n(147),toPairs:n(146),toPairsIn:n(145),toString:n(23),toUpper:n(144),transduce:n(143),transpose:n(142),traverse:n(141),trim:n(140),tryCatch:n(139),type:n(59),unapply:n(138),unary:n(137),uncurryN:n(136),unfold:n(135),union:n(134),unionWith:n(133),uniq:n(48),uniqBy:n(84),uniqWith:n(47),unless:n(132),unnest:n(131),until:n(130),update:n(52),useWith:n(70),values:n(112),valuesIn:n(129),view:n(128),when:n(127),where:n(66),whereEq:n(126),without:n(125),xprod:n(124),zip:n(123),zipObj:n(122),zipWith:n(121)}},function(t,e,n){var r=n(2),i=n(6);t.exports=r(function(t,e,n){var r,o={};for(r in e)i(r,e)&&(o[r]=i(r,n)?t(r,e[r],n[r]):e[r]);for(r in n)i(r,n)&&!i(r,o)&&(o[r]=n[r]);return o})},function(t,e,n){var r=n(225);t.exports="function"==typeof Object.assign?Object.assign:r},function(t,e,n){var r=n(30),i=n(0);t.exports=i(function(t,e){for(var n,i=0,o=e.length,a=[];i<o;)n=e[i],r(t,n,a)||(a[a.length]=n),i+=1;return a})},function(t,e,n){var r=n(50),i=n(84);t.exports=i(r)},function(t,e){t.exports=function(t){return t}},function(t,e,n){var r=n(1),i=n(49);t.exports=r(i)},function(t,e,n){var r=n(0),i=n(3),o=n(271),a=n(17);t.exports=r(i(["take"],o,function(t,e){return a(0,t<0?1/0:t,e)}))},function(t,e,n){var r=n(2),i=n(120),o=n(19);t.exports=r(function(t,e,n){return i(o(e),t,n)})},function(t,e){t.exports=function(t){return"[object Object]"===Object.prototype.toString.call(t)}},function(t,e){t.exports=function(t,e){for(var n=0,r=e.length,i=[];n<r;)t(e[n])&&(i[i.length]=e[n]),n+=1;return i}},function(t,e,n){var r=n(0),i=n(3),o=n(54),a=n(53),s=n(9),u=n(284),c=n(12);t.exports=r(i(["filter"],u,function(t,e){return a(e)?s(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{},c(e)):o(t,e)}))},function(t,e,n){var r=n(0),i=n(15),o=n(36),a=n(25),s=n(23);t.exports=r(function(t,e){if(i(t)){if(i(e))return t.concat(e);throw new TypeError(s(e)+" is not an array")}if(a(t)){if(a(e))return t+e;throw new TypeError(s(e)+" is not a string")}if(null!=t&&o(t["fantasy-land/concat"]))return t["fantasy-land/concat"](e);if(null!=t&&o(t.concat))return t.concat(e);throw new TypeError(s(t)+' does not have a method named "concat" or "fantasy-land/concat"')})},function(t,e,n){var r=n(24),i=n(1),o=n(17);t.exports=i(r("tail",o(1,1/0)))},function(t,e,n){var r=n(104),i=n(33);t.exports=function(){if(0===arguments.length)throw new Error("compose requires at least one argument");return r.apply(this,i(arguments))}},function(t,e,n){var r=n(1);t.exports=r(function(t){return null===t?"Null":void 0===t?"Undefined":Object.prototype.toString.call(t).slice(8,-1)})},function(t,e,n){var r=n(0),i=n(3),o=n(108),a=n(300),s=n(7);t.exports=r(i(["fantasy-land/chain","chain"],a,function(t,e){return"function"==typeof e?function(n){return t(e(n))(n)}:o(!1)(s(t,e))}))},function(t,e){t.exports=Number.isInteger||function(t){return t<<0===t}},function(t,e,n){var r=n(10),i=n(0),o=n(9),a=n(7);t.exports=i(function(t,e){return"function"==typeof e["fantasy-land/ap"]?e["fantasy-land/ap"](t):"function"==typeof t.ap?t.ap(e):"function"==typeof t?function(n){return t(n)(e(n))}:o(function(t,n){return r(t,a(n,e))},[],t)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e[t]})},function(t,e){t.exports=function(t){return"function"==typeof t["@@transducer/step"]}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dispatchEvent=e.getMediaSources=e.appendNode=e.setAttributes=e.mountNode=e.createNode=e.getNodeFromEvent=e.collectProperties=e.toArray=void 0;var r=n(44),i=function(t){return[].concat(t)},o=(0,r.path)(["target"]),a=function(t){return(0,r.compose)((0,r.reduce)(function(t,e){return t.appendChild(e),t},t),i)},s=(0,r.curry)(function(t,e){var n=new Event(t);return e.dispatchEvent(n),e});e.toArray=i,e.collectProperties=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(e){return Object.keys(t).reduce(function(n,r){return Object.assign({},n,(i={},o=r,a=t[r](e),o in i?Object.defineProperty(i,o,{value:a,enumerable:!0,configurable:!0,writable:!0}):i[o]=a,i));var i,o,a},{})}},e.getNodeFromEvent=o,e.createNode=function(t){return document.createElement(t)},e.mountNode=function(t){return(0,r.compose)(function(){return t},a(document.body))(t)},e.setAttributes=function(t){return function(e){return Object.keys(e).reduce(function(t,n){return t.setAttribute(n,e[n]),t},t)}},e.appendNode=a,e.getMediaSources=function(t){return[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(t.children)).map(function(t){return{url:t.getAttribute("src"),mimeType:t.getAttribute("type")}})},e.dispatchEvent=s},function(t,e,n){var r=n(0),i=n(6);t.exports=r(function(t,e){for(var n in t)if(i(n,t)&&!t[n](e[n]))return!1;return!0})},function(t,e,n){var r=n(0),i=n(62),o=n(7),a=n(71),s=n(69);t.exports=r(function(t,e){return"function"==typeof e.sequence?e.sequence(t):s(function(t,e){return i(o(a,t),e)},t([]),e)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n,r=Number(e),i=0;if(r<0||isNaN(r))throw new RangeError("n must be a non-negative number");for(n=new Array(r);i<r;)n[i]=t(i),i+=1;return n})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=n.length-1;r>=0;)e=t(n[r],e),r-=1;return e})},function(t,e,n){var r=n(0),i=n(5);t.exports=r(function(t,e){return i(e.length,function(){for(var n=[],r=0;r<e.length;)n.push(e[r].call(this,arguments[r])),r+=1;return t.apply(this,n.concat(Array.prototype.slice.call(arguments,e.length)))})})},function(t,e,n){var r=n(10),i=n(0);t.exports=i(function(t,e){return r([t],e)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n={},r=0,i=t.length;r<i;){var o=t[r];n[o]=e[o],r+=1}return n})},function(t,e,n){var r=n(13),i=n(0);t.exports=function(t){return i(function(e,n){return r(Math.max(0,e.length-n.length),function(){return e.apply(this,t(n,arguments))})})}},function(t,e,n){var r,i=n(2);t.exports=(r=function(t){return{value:t,map:function(e){return r(e(t))}}},i(function(t,e,n){return t(function(t){return r(e(t))})(n).value}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t*e})},function(t,e,n){var r=n(13),i=n(0),o=n(6);t.exports=i(function(t,e){var n={};return r(e.length,function(){var r=t.apply(this,arguments);return o(r,n)||(n[r]=e.apply(this,arguments)),n[r]})})},function(t,e,n){var r=n(42),i=n(11);t.exports=i(r,0)},function(t,e,n){var r=n(1),i=n(77);t.exports=r(function(t){return i(t)/t.length})},function(t,e){t.exports=function(t){return"[object Number]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(1),i=n(79);t.exports=r(function(t){return null!=t&&i(t.length)?t.length:NaN})},function(t,e,n){var r=n(1),i=n(97);t.exports=r(function(t){return i(function(){return Array.prototype.slice.call(arguments,0)},t)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return null!=e&&e.constructor===t||e instanceof t})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n={};return n[t]=e,n})},function(t,e,n){var r=n(230),i=n(0);t.exports=i(function(t,e){for(var n,i,o=new r,a=[],s=0;s<e.length;)n=t(i=e[s]),o.add(n)&&a.push(i),s+=1;return a})},function(t,e,n){var r=n(0),i=n(91);t.exports=r(function(t,e){return i(t>=0?e.length-t:0,e)})},function(t,e,n){var r=n(1),i=n(117),o=n(15),a=n(53),s=n(25);t.exports=r(function(t){return null!=t&&"function"==typeof t["fantasy-land/empty"]?t["fantasy-land/empty"]():null!=t&&null!=t.constructor&&"function"==typeof t.constructor["fantasy-land/empty"]?t.constructor["fantasy-land/empty"]():null!=t&&"function"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&"function"==typeof t.constructor.empty?t.constructor.empty():o(t)?[]:s(t)?"":a(t)?{}:i(t)?function(){return arguments}():void 0})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t||e})},function(t,e,n){var r=n(22);t.exports=r(-1)},function(t,e,n){var r=n(0),i=n(3),o=n(90),a=n(88);t.exports=r(i([],o,function(t,e){var n=[],r=1,i=e.length;if(0!==i)for(n[0]=e[0];r<i;)t(a(n),e[r])||(n[n.length]=e[r]),r+=1;return n}))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){var n=!1;return this.seenFirstValue?this.pred(this.lastValue,e)&&(n=!0):this.seenFirstValue=!0,this.lastValue=e,n?t:this.xf["@@transducer/step"](t,e)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(274),a=n(17);t.exports=r(i(["drop"],o,function(t,e){return a(Math.max(0,t),1/0,e)}))},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r=Array.prototype.slice.call(n,0);return r.splice(t,e),r})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n={};for(var r in e)n[r]=e[r];return delete n[t],n})},function(t,e,n){var r=n(30),i=n(2);t.exports=i(function(t,e,n){for(var i=[],o=0,a=e.length;o<a;)r(t,e[o],n)||r(t,e[o],i)||i.push(e[o]),o+=1;return i})},function(t,e,n){var r=n(16),i=n(0);t.exports=i(function(t,e){for(var n=[],i=0,o=t.length;i<o;)r(t[i],e)||r(t[i],n)||(n[n.length]=t[i]),i+=1;return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return null==e||e!=e?t:e})},function(t,e,n){var r=n(0),i=n(40),o=n(5),a=n(18),s=n(26),u=n(11);t.exports=r(function(t,e){return o(u(a,0,s("length",e)),function(){var n=arguments,r=this;return t.apply(r,i(function(t){return t.apply(r,n)},e))})})},function(t,e,n){var r=n(0),i=n(34),o=n(37);t.exports=r(function(t,e){if(t>10)throw new Error("Constructor with greater than ten arguments");return 0===t?function(){return new e}:i(o(t,function(t,n,r,i,o,a,s,u,c,l){switch(arguments.length){case 1:return new e(t);case 2:return new e(t,n);case 3:return new e(t,n,r);case 4:return new e(t,n,r,i);case 5:return new e(t,n,r,i,o);case 6:return new e(t,n,r,i,o,a);case 7:return new e(t,n,r,i,o,a,s);case 8:return new e(t,n,r,i,o,a,s,u);case 9:return new e(t,n,r,i,o,a,s,u,c);case 10:return new e(t,n,r,i,o,a,s,u,c,l)}}))})},function(t,e){t.exports=function(t){return function(){return!t.apply(this,arguments)}}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e})},function(t,e,n){var r=n(8);t.exports=function(t,e,n){var i,o;if("function"==typeof t.indexOf)switch(typeof e){case"number":if(0===e){for(i=1/e;n<t.length;){if(0===(o=t[n])&&1/o===i)return n;n+=1}return-1}if(e!=e){for(;n<t.length;){if("number"==typeof(o=t[n])&&o!=o)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(null===e)return t.indexOf(e,n)}for(;n<t.length;){if(r(t[n],e))return n;n+=1}return-1}},function(t,e,n){var r=n(13),i=n(291),o=n(11),a=n(57);t.exports=function(){if(0===arguments.length)throw new Error("pipeP requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},function(t,e,n){var r=n(60),i=n(58),o=n(7);t.exports=function(){if(0===arguments.length)throw new Error("composeK requires at least one argument");var t=Array.prototype.slice.call(arguments),e=t.pop();return i(i.apply(this,o(r,t)),e)}},function(t,e,n){var r=n(13),i=n(293),o=n(11),a=n(57);t.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return r(arguments[0].length,o(i,arguments[0],a(arguments)))}},function(t,e,n){var r=n(1);t.exports=r(function(t){return!t})},function(t,e){t.exports=function(t){return new RegExp(t.source,(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":""))}},function(t,e,n){var r=n(106),i=n(59);t.exports=function t(e,n,o,a){var s=function(r){for(var i=n.length,s=0;s<i;){if(e===n[s])return o[s];s+=1}for(var u in n[s+1]=e,o[s+1]=r,e)r[u]=a?t(e[u],n,o,!0):e[u];return r};switch(i(e)){case"Object":return s({});case"Array":return s([]);case"Date":return new Date(e.valueOf());case"RegExp":return r(e);default:return e}}},function(t,e,n){var r=n(39);t.exports=function(t){return function e(n){for(var i,o,a,s=[],u=0,c=n.length;u<c;){if(r(n[u]))for(a=0,o=(i=t?e(n[u]):n[u]).length;a<o;)s[s.length]=i[a],a+=1;else s[s.length]=n[u];u+=1}return s}}},function(t,e,n){var r=n(0),i=n(9),o=n(62),a=n(5),s=n(7);t.exports=r(function(t,e){var n=a(t,e);return a(t,function(){return i(o,s(n,arguments[0]),Array.prototype.slice.call(arguments,1))})})},function(t,e,n){var r=n(1);t.exports=r(function(t){return null==t})},function(t,e,n){var r=n(2),i=n(6),o=n(15),a=n(61),s=n(38),u=n(110);t.exports=r(function t(e,n,r){if(0===e.length)return n;var c=e[0];if(e.length>1){var l=!u(r)&&i(c,r)?r[c]:a(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,l)}if(a(c)&&o(r)){var f=[].concat(r);return f[c]=n,f}return s(c,n,r)})},function(t,e,n){var r=n(1),i=n(12);t.exports=r(function(t){for(var e=i(t),n=e.length,r=[],o=0;o<n;)r[o]=t[e[o]],o+=1;return r})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t.apply(this,e)})},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.any=!1}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.any||(t=this.xf["@@transducer/step"](t,!1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.any=!0,t=i(this.xf["@@transducer/step"](t,!0))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(114);t.exports=r(i(["any"],o,function(t,e){for(var n=0;n<e.length;){if(t(e[n]))return!0;n+=1}return!1}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t&&e})},function(t,e,n){var r=n(6);t.exports=function(){var t=Object.prototype.toString;return"[object Arguments]"===t.call(arguments)?function(e){return"[object Arguments]"===t.call(e)}:function(t){return r("callee",t)}}()},function(t,e,n){var r=n(13),i=n(0);t.exports=i(function(t,e){return r(t.length,function(){return t.apply(e,arguments)})})},function(t,e){t.exports=function(){function t(t){this.f=t}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(t){return t},t.prototype["@@transducer/step"]=function(t,e){return this.f(t,e)},function(e){return new t(e)}}()},function(t,e,n){var r=n(10),i=n(2);t.exports=i(function(t,e,n){if(e>=n.length||e<-n.length)return n;var i=(e<0?n.length:0)+e,o=r(n);return o[i]=t(n[i]),o})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=[],i=0,o=Math.min(e.length,n.length);i<o;)r[i]=t(e[i],n[i]),i+=1;return r})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=0,r=Math.min(t.length,e.length),i={};n<r;)i[t[n]]=e[n],n+=1;return i})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=[],r=0,i=Math.min(t.length,e.length);r<i;)n[r]=[t[r],e[r]],r+=1;return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n,r=0,i=t.length,o=e.length,a=[];r<i;){for(n=0;n<o;)a[a.length]=[t[r],e[n]],n+=1;r+=1}return a})},function(t,e,n){var r=n(16),i=n(0),o=n(29),a=n(32);t.exports=i(function(t,e){return a(o(r)(t),e)})},function(t,e,n){var r=n(0),i=n(8),o=n(7),a=n(66);t.exports=r(function(t,e){return a(o(i,t),e)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)?e(n):n})},function(t,e,n){var r,i=n(0);t.exports=(r=function(t){return{value:t,"fantasy-land/map":function(){return this}}},i(function(t,e){return t(r)(e).value}))},function(t,e,n){var r=n(1);t.exports=r(function(t){var e,n=[];for(e in t)n[n.length]=t[e];return n})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=n;!t(r);)r=e(r);return r})},function(t,e,n){var r=n(49),i=n(60);t.exports=i(r)},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)?n:e(n)})},function(t,e,n){var r=n(10),i=n(2),o=n(47);t.exports=i(function(t,e,n){return o(t,r(e,n))})},function(t,e,n){var r=n(10),i=n(0),o=n(58),a=n(48);t.exports=i(o(a,r))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=t(e),r=[];n&&n.length;)r[r.length]=n[0],n=t(n[1]);return r})},function(t,e,n){var r=n(0),i=n(5);t.exports=r(function(t,e){return i(t,function(){for(var n,r=1,i=e,o=0;r<=t&&"function"==typeof i;)n=r===t?arguments.length:o+i.length,i=i.apply(this,Array.prototype.slice.call(arguments,o,n)),r+=1,o=n;return i})})},function(t,e,n){var r=n(1),i=n(37);t.exports=r(function(t){return i(1,t)})},function(t,e,n){var r=n(1);t.exports=r(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}})},function(t,e,n){var r=n(13),i=n(10),o=n(0);t.exports=o(function(t,e){return r(t.length,function(){try{return t.apply(this,arguments)}catch(t){return e.apply(this,i([t],arguments))}})})},function(t,e,n){var r,i=n(1);t.exports=(r="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff","function"==typeof String.prototype.trim&&!r.trim()&&"​".trim()?i(function(t){return t.trim()}):i(function(t){var e=new RegExp("^["+r+"]["+r+"]*"),n=new RegExp("["+r+"]["+r+"]*$");return t.replace(e,"").replace(n,"")}))},function(t,e,n){var r=n(2),i=n(7),o=n(67);t.exports=r(function(t,e,n){return"function"==typeof n["fantasy-land/traverse"]?n["fantasy-land/traverse"](e,t):o(t,i(e,n))})},function(t,e,n){var r=n(1);t.exports=r(function(t){for(var e=0,n=[];e<t.length;){for(var r=t[e],i=0;i<r.length;)void 0===n[i]&&(n[i]=[]),n[i].push(r[i]),i+=1;e+=1}return n})},function(t,e,n){var r=n(9),i=n(119),o=n(5);t.exports=o(4,function(t,e,n,o){return r(t("function"==typeof e?i(e):e),n,o)})},function(t,e,n){var r=n(21);t.exports=r(0,"toUpperCase")},function(t,e,n){var r=n(1);t.exports=r(function(t){var e=[];for(var n in t)e[e.length]=[n,t[n]];return e})},function(t,e,n){var r=n(1),i=n(6);t.exports=r(function(t){var e=[];for(var n in t)i(n,t)&&(e[e.length]=[n,t[n]]);return e})},function(t,e,n){var r=n(21);t.exports=r(0,"toLowerCase")},function(t,e){t.exports=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)}},function(t,e,n){var r=n(106),i=n(0),o=n(148),a=n(23);t.exports=i(function(t,e){if(!o(t))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+a(t));return r(t).test(e)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t(e),e})},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):i(t)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(151);t.exports=r(i(["takeWhile"],o,function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return Array.prototype.slice.call(e,0,n)}))},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=e.length-1;n>=0&&t(e[n]);)n-=1;return Array.prototype.slice.call(e,n+1)})},function(t,e,n){var r=n(2),i=n(56),o=n(94);t.exports=r(function(t,e,n){return i(o(t,e,n),o(t,n,e))})},function(t,e,n){var r=n(0),i=n(56),o=n(95);t.exports=r(function(t,e){return i(o(t,e),o(e,t))})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Number(t)-Number(e)})},function(t,e,n){var r=n(0),i=n(8),o=n(51);t.exports=r(function(t,e){return i(o(t.length,e),t)})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=0,r=e.length,i=[];n<r&&!t(e[n]);)i.push(e[n]),n+=1;return[i,Array.prototype.slice.call(e,n)]})},function(t,e,n){var r=n(0),i=n(17);t.exports=r(function(t,e){if(t<=0)throw new Error("First argument to splitEvery must be a positive integer");for(var n=[],r=0;r<e.length;)n.push(i(r,r+=t,e));return n})},function(t,e,n){var r=n(0),i=n(80),o=n(17);t.exports=r(function(t,e){return[o(0,t,e),o(t,i(e),e)]})},function(t,e,n){var r=n(21);t.exports=r(1,"split")},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Array.prototype.slice.call(e,0).sort(function(e,n){for(var r=0,i=0;0===r&&i<t.length;)r=t[i](e,n),i+=1;return r})})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Array.prototype.slice.call(e,0).sort(function(e,n){var r=t(e),i=t(n);return r<i?-1:r>i?1:0})})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return Array.prototype.slice.call(e,0).sort(t)})},function(t,e,n){var r=n(2),i=n(19),o=n(74);t.exports=r(function(t,e,n){return o(t,i(e),n)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=0,i=n.length,o=[e];r<i;)e=t(e,n[r]),o[r+1]=e,r+=1;return o})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return n.replace(t,e)})},function(t,e,n){var r=n(0),i=n(19),o=n(68);t.exports=r(function(t,e){return o(i(t),e)})},function(t,e,n){var r=n(1),i=n(14);t.exports=r(i)},function(t,e,n){var r=n(41),i=n(9),o=n(14);t.exports=r(4,[],function(t,e,n,r){return i(function(n,r){return t(n,r)?e(n,r):o(n)},n,r)})},function(t,e,n){var r=n(0),i=n(79);t.exports=r(function(t,e){if(!i(t)||!i(e))throw new TypeError("Both arguments to range must be numbers");for(var n=[],r=t;r<e;)n.push(r),r+=1;return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=t.length,r=[],i=0;i<n;)r[i]=e[t[i]],i+=1;return r})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n[e])})},function(t,e,n){var r=n(2),i=n(6);t.exports=r(function(t,e,n){return null!=n&&i(e,n)?n[e]:t})},function(t,e,n){var r=n(2),i=n(82);t.exports=r(function(t,e,n){return i(t,n[e])})},function(t,e,n){var r=n(2),i=n(8);t.exports=r(function(t,e,n){return i(e,n[t])})},function(t,e,n){var r=n(40),i=n(50),o=n(72),a=n(70);t.exports=a(r,[o,i])},function(t,e,n){var r=n(75),i=n(11);t.exports=i(r,1)},function(t,e,n){var r=n(103),i=n(33);t.exports=function(){if(0===arguments.length)throw new Error("pipeK requires at least one argument");return r.apply(this,i(arguments))}},function(t,e,n){var r=n(0);t.exports=r(function(t,e){var n={};for(var r in e)t(e[r],r,e)&&(n[r]=e[r]);return n})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n={},r=0;r<t.length;)t[r]in e&&(n[t[r]]=e[t[r]]),r+=1;return n})},function(t,e,n){var r=n(2),i=n(20);t.exports=r(function(t,e,n){return e.length>0&&t(i(e,n))})},function(t,e,n){var r=n(2),i=n(96),o=n(20);t.exports=r(function(t,e,n){return i(t,o(e,n))})},function(t,e,n){var r=n(2),i=n(8),o=n(20);t.exports=r(function(t,e,n){return i(o(t,n),e)})},function(t,e,n){var r=n(55),i=n(81),o=n(32);t.exports=i([r,o])},function(t,e,n){var r=n(10),i=n(73),o=n(29);t.exports=i(o(r))},function(t,e,n){var r=n(10),i=n(73);t.exports=i(r)},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return[t,e]})},function(t,e,n){var r=n(13),i=n(1);t.exports=i(function(t){var e,n=!1;return r(t.length,function(){return n?e:(n=!0,e=t.apply(this,arguments))})})},function(t,e,n){var r=n(16),i=n(0);t.exports=i(function(t,e){var n={};for(var i in e)r(i,t)||(n[i]=e[i]);return n})},function(t,e){t.exports=function(t){return[t]}},function(t,e,n){var r=n(1),i=n(191);t.exports=r(i)},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(e(n))})},function(t,e,n){var r=n(1),i=n(5),o=n(22);t.exports=r(function(t){return i(t<0?1:t+1,function(){return o(t,arguments)})})},function(t,e,n){var r=n(99),i=n(0),o=n(3),a=n(114),s=n(115);t.exports=i(r(o(["any"],a,s)))},function(t,e,n){var r=n(1);t.exports=r(function(t){return-t})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t%e})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)<t(e)?n:e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e<t?e:t})},function(t,e,n){var r=n(2),i=n(45);t.exports=r(function(t,e,n){return i(function(e,n,r){return t(n,r)},e,n)})},function(t,e,n){var r=n(2),i=n(27);t.exports=r(function(t,e,n){return i(function(e,n,r){return t(n,r)},e,n)})},function(t,e,n){var r=n(0),i=n(27);t.exports=r(function(t,e){return i(function(t,e,n){return n},t,e)})},function(t,e,n){var r=n(0),i=n(27);t.exports=r(function(t,e){return i(function(t,e,n){return e},t,e)})},function(t,e,n){var r=n(46),i=n(1);t.exports=i(function(t){return r.apply(null,[{}].concat(t))})},function(t,e,n){var r=n(46),i=n(0);t.exports=i(function(t,e){return r({},t,e)})},function(t,e,n){var r=n(76),i=n(23);t.exports=r(function(){return i(arguments)})},function(t,e,n){var r=n(1),i=n(78);t.exports=r(function(t){var e=t.length;if(0===e)return NaN;var n=2-e%2,r=(e-n)/2;return i(Array.prototype.slice.call(t,0).sort(function(t,e){return t<e?-1:t>e?1:0}).slice(r,r+n))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t(n)>t(e)?n:e})},function(t,e,n){var r=n(0),i=n(61);t.exports=r(function(t,e){return i(t)?!i(e)||e<1?NaN:(t%e+e)%e:NaN})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return e.match(t)||[]})},function(t,e,n){var r=n(0),i=n(9),o=n(12);t.exports=r(function(t,e){return i(function(n,r){return n[r]=t(e[r],r,e),n},{},o(e))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=n.length-1,i=[],o=[e];r>=0;)o=t(n[r],o[0]),i[r]=o[1],r-=1;return[i,o[0]]})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){for(var r=0,i=n.length,o=[],a=[e];r<i;)a=t(a[0],n[r]),o[r]=a[1],r+=1;return[a[0],o]})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t<=e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t<e})},function(t,e,n){var r=n(1),i=n(38),o=n(28),a=n(63);t.exports=r(function(t){return o(a(t),i(t))})},function(t,e,n){var r=n(1),i=n(111),o=n(28),a=n(20);t.exports=r(function(t){return o(a(t),i(t))})},function(t,e,n){var r=n(1),i=n(28),o=n(22),a=n(52);t.exports=r(function(t){return i(o(t),a(t))})},function(t,e,n){var r=n(0),i=n(15),o=n(8);t.exports=r(function(t,e){if("function"!=typeof e.lastIndexOf||i(e)){for(var n=e.length-1;n>=0;){if(o(e[n],t))return n;n-=1}return-1}return e.lastIndexOf(t)})},function(t,e,n){var r=n(1);t.exports=r(function(t){var e,n=[];for(e in t)n[n.length]=e;return n})},function(t,e,n){var r=n(21);t.exports=r(1,"join")},function(t,e,n){var r=n(1),i=n(86),o=n(8);t.exports=r(function(t){return null!=t&&o(t,i(t))})},function(t,e,n){var r=n(1),i=n(12);t.exports=r(function(t){for(var e=i(t),n=e.length,r=0,o={};r<n;){var a=e[r];o[t[a]]=a,r+=1}return o})},function(t,e,n){var r=n(1),i=n(6),o=n(12);t.exports=r(function(t){for(var e=o(t),n=e.length,r=0,a={};r<n;){var s=e[r],u=t[s],c=i(u,a)?a[u]:a[u]=[];c[c.length]=s,r+=1}return a})},function(t,e,n){var r=n(6);t.exports=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,i=arguments.length;n<i;){var o=arguments[n];if(null!=o)for(var a in o)r(a,o)&&(e[a]=o[a]);n+=1}return e}},function(t,e,n){var r,i,o,a=n(46),s=n(49),u=n(39),c=n(64),l=n(83);t.exports=(r={"@@transducer/init":Array,"@@transducer/step":function(t,e){return t.push(e),t},"@@transducer/result":s},i={"@@transducer/init":String,"@@transducer/step":function(t,e){return t+e},"@@transducer/result":s},o={"@@transducer/init":Object,"@@transducer/step":function(t,e){return a(t,u(e)?l(e[0],e[1]):e)},"@@transducer/result":s},function(t){if(c(t))return t;if(u(t))return r;if("string"==typeof t)return i;if("object"==typeof t)return o;throw new Error("Cannot create transformer for "+t)})},function(t,e,n){var r=n(107),i=n(2),o=n(64),a=n(9),s=n(226);t.exports=i(function(t,e,n){return o(t)?a(e(t),t["@@transducer/init"](),n):a(e(s(t)),r(t,[],[],!1),n)})},function(t,e,n){var r=n(24),i=n(0);t.exports=i(r("intersperse",function(t,e){for(var n=[],r=0,i=e.length;r<i;)r===i-1?n.push(e[r]):n.push(e[r],t),r+=1;return n}))},function(t,e,n){var r=n(30),i=n(2),o=n(47);t.exports=i(function(t,e,n){var i,a;e.length>n.length?(i=e,a=n):(i=n,a=e);for(var s=[],u=0;u<a.length;)r(t,a[u],i)&&(s[s.length]=a[u]),u+=1;return o(t,s)})},function(t,e,n){var r=n(16);t.exports=function(){function t(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function e(t,e,n){var i,o=typeof t;switch(o){case"string":case"number":return 0===t&&1/t==-1/0?!!n._items["-0"]||(e&&(n._items["-0"]=!0),!1):null!==n._nativeSet?e?(i=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===i):n._nativeSet.has(t):o in n._items?t in n._items[o]||(e&&(n._items[o][t]=!0),!1):(e&&(n._items[o]={},n._items[o][t]=!0),!1);case"boolean":if(o in n._items){var a=t?1:0;return!!n._items[o][a]||(e&&(n._items[o][a]=!0),!1)}return e&&(n._items[o]=t?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?e?(i=n._nativeSet.size,n._nativeSet.add(t),n._nativeSet.size===i):n._nativeSet.has(t):o in n._items?!!r(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1);case"undefined":return!!n._items[o]||(e&&(n._items[o]=!0),!1);case"object":if(null===t)return!!n._items.null||(e&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(t))in n._items?!!r(t,n._items[o])||(e&&n._items[o].push(t),!1):(e&&(n._items[o]=[t]),!1)}}return t.prototype.add=function(t){return!e(t,!0,this)},t.prototype.has=function(t){return e(t,!1,this)},t}()},function(t,e,n){var r=n(16),i=n(0),o=n(54),a=n(29),s=n(48);t.exports=i(function(t,e){var n,i;return t.length>e.length?(n=t,i=e):(n=e,i=t),s(o(a(r)(n),i))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){return t=t<n.length&&t>=0?t:n.length,[].concat(Array.prototype.slice.call(n,0,t),e,Array.prototype.slice.call(n,t))})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){t=t<n.length&&t>=0?t:n.length;var r=Array.prototype.slice.call(n,0);return r.splice(t,0,e),r})},function(t,e,n){var r=n(30),i=n(2),o=n(54);t.exports=i(function(t,e,n){return o(function(e){return r(t,e,n)},e)})},function(t,e,n){var r=n(17);t.exports=r(0,-1)},function(t,e,n){var r=n(0),i=n(101),o=n(15);t.exports=r(function(t,e){return"function"!=typeof e.indexOf||o(e)?i(e,t,0):e.indexOf(t)})},function(t,e,n){var r=n(31);t.exports=r(function(t,e){return e},null)},function(t,e,n){var r=n(42);t.exports=r(1)},function(t,e,n){var r=n(2),i=n(5);t.exports=r(function(t,e,n){return i(Math.max(t.length,e.length,n.length),function(){return t.apply(this,arguments)?e.apply(this,arguments):n.apply(this,arguments)})})},function(t,e,n){var r=n(22);t.exports=r(0)},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t in e})},function(t,e,n){var r=n(0),i=n(6);t.exports=r(i)},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t>=e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t>e})},function(t,e,n){var r=n(0);t.exports=r(function(t,e){for(var n=[],r=0,i=e.length;r<i;){for(var o=r+1;o<i&&t(e[o-1],e[o]);)o+=1;n.push(e.slice(r,o)),r=o}return n})},function(t,e,n){var r=n(24),i=n(0),o=n(31);t.exports=i(r("groupBy",o(function(t,e){return null==t&&(t=[]),t.push(e),t},null)))},function(t,e,n){var r=n(1);t.exports=r(function(t){for(var e={},n=0;n<t.length;)e[t[n][0]]=t[n][1],n+=1;return e})},function(t,e,n){var r=n(0),i=n(12);t.exports=r(function(t,e){for(var n=i(e),r=0;r<n.length;){var o=n[r];t(e[o],o,e),r+=1}return e})},function(t,e,n){var r=n(24),i=n(0);t.exports=i(r("forEach",function(t,e){for(var n=e.length,r=0;r<n;)t(e[r]),r+=1;return e}))},function(t,e,n){var r=n(1),i=n(108);t.exports=r(i(!0))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.idx=-1,this.lastIdx=-1}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.lastIdx))},t.prototype["@@transducer/step"]=function(t,e){return this.idx+=1,this.f(e)&&(this.lastIdx=this.idx),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(251);t.exports=r(i([],o,function(t,e){for(var n=e.length-1;n>=0;){if(t(e[n]))return n;n-=1}return-1}))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=function(t){return this.xf["@@transducer/result"](this.xf["@@transducer/step"](t,this.last))},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.last=e),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(253);t.exports=r(i([],o,function(t,e){for(var n=e.length-1;n>=0;){if(t(e[n]))return e[n];n-=1}}))},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,-1)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.idx+=1,this.f(e)&&(this.found=!0,t=i(this.xf["@@transducer/step"](t,this.idx))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(255);t.exports=r(i([],o,function(t,e){for(var n=0,r=e.length;n<r;){if(t(e[n]))return n;n+=1}return-1}))},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.found=!1}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.found||(t=this.xf["@@transducer/step"](t,void 0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)&&(this.found=!0,t=i(this.xf["@@transducer/step"](t,e))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(257);t.exports=r(i(["find"],o,function(t,e){for(var n=0,r=e.length;n<r;){if(t(e[n]))return e[n];n+=1}}))},function(t,e,n){var r=n(0);t.exports=r(function t(e,n){var r,i,o,a={};for(i in n)o=typeof(r=e[i]),a[i]="function"===o?r(n[i]):r&&"object"===o?t(r,n[i]):n[i];return a})},function(t,e,n){var r=n(2),i=n(8);t.exports=r(function(t,e,n){return i(e[t],n[t])})},function(t,e,n){var r=n(2),i=n(8);t.exports=r(function(t,e,n){return i(t(e),t(n))})},function(t,e,n){var r=n(0),i=n(8),o=n(85);t.exports=r(function(t,e){return i(o(t.length,e),t)})},function(t,e,n){var r=n(0),i=n(36),o=n(35),a=n(87);t.exports=r(function(t,e){return i(t)?function(){return t.apply(this,arguments)||e.apply(this,arguments)}:o(a)(t,e)})},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){if(this.f){if(this.f(e))return t;this.f=null}return this.xf["@@transducer/step"](t,e)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(264);t.exports=r(i(["dropWhile"],o,function(t,e){for(var n=0,r=e.length;n<r&&t(e[n]);)n+=1;return Array.prototype.slice.call(e,n)}))},function(t,e,n){var r=n(1),i=n(3),o=n(90),a=n(89),s=n(8);t.exports=r(i([],o(s),a(s)))},function(t,e,n){var r=n(0),i=n(9),o=n(4);t.exports=function(){function t(t,e){this.f=t,this.retained=[],this.xf=e}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.retain(t,e):this.flush(t,e)},t.prototype.flush=function(t,e){return t=i(this.xf["@@transducer/step"],t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,e)},t.prototype.retain=function(t,e){return this.retained.push(e),t},r(function(e,n){return new t(e,n)})}()},function(t,e){t.exports=function(t,e){for(var n=e.length-1;n>=0&&t(e[n]);)n-=1;return Array.prototype.slice.call(e,0,n+1)}},function(t,e,n){var r=n(0),i=n(3),o=n(268),a=n(267);t.exports=r(i([],a,o))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.pos=0,this.full=!1,this.acc=new Array(t)}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.full&&(t=this.xf["@@transducer/step"](t,this.acc[this.pos])),this.store(e),t},t.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.n=t,this.i=0}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=o.result,t.prototype["@@transducer/step"]=function(t,e){this.i+=1;var n=0===this.n?t:this.xf["@@transducer/step"](t,e);return this.n>=0&&this.i>=this.n?i(n):n},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(51);t.exports=function(t,e){return r(t<e.length?e.length-t:0,e)}},function(t,e,n){var r=n(0),i=n(3),o=n(272),a=n(270);t.exports=r(i([],a,o))},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.n=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){return this.n>0?(this.n-=1,t):this.xf["@@transducer/step"](t,e)},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0);t.exports=r(function(t,e){return t/e})},function(t,e,n){var r=n(0),i=n(61),o=n(38),a=n(93),s=n(92),u=n(52);t.exports=r(function t(e,n){switch(e.length){case 0:return n;case 1:return i(e[0])?s(e[0],1,n):a(e[0],n);default:var r=e[0],c=Array.prototype.slice.call(e,1);return null==n[r]?n:i(e[0])?u(r,t(c,n[r]),n):o(r,t(c,n[r]),n)}})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r=t(e),i=t(n);return r>i?-1:r<i?1:0})},function(t,e,n){var r=n(42);t.exports=r(-1)},function(t,e,n){var r=n(41),i=n(6),o=n(4);t.exports=function(){function t(t,e,n,r){this.valueFn=t,this.valueAcc=e,this.keyFn=n,this.xf=r,this.inputs={}}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){var e;for(e in this.inputs)if(i(e,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[e]))["@@transducer/reduced"]){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){var n=this.keyFn(e);return this.inputs[n]=this.inputs[n]||[n,this.valueAcc],this.inputs[n][1]=this.valueFn(this.inputs[n][1],e),t},r(4,[],function(e,n,r,i){return new t(e,n,r,i)})}()},function(t,e,n){var r=n(31);t.exports=r(function(t,e){return t+1},0)},function(t,e,n){var r=n(16),i=n(0);t.exports=i(r)},function(t,e,n){var r=n(1),i=n(98);t.exports=r(function(t){return i(t.length,t)})},function(t,e,n){var r=n(13),i=n(1),o=n(7),a=n(18),s=n(11);t.exports=i(function(t){var e=s(a,0,o(function(t){return t[0].length},t));return r(e,function(){for(var e=0;e<t.length;){if(t[e][0].apply(this,arguments))return t[e][1].apply(this,arguments);e+=1}})})},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){return this.f(e)?this.xf["@@transducer/step"](t,e):t},r(function(e,n){return new t(e,n)})}()},function(t,e){var n;t.exports=(n=function(t){return(t<10?"0":"")+t},"function"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+n(t.getUTCMonth()+1)+"-"+n(t.getUTCDate())+"T"+n(t.getUTCHours())+":"+n(t.getUTCMinutes())+":"+n(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},function(t,e){t.exports=function(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},function(t,e){t.exports=function(t){var e=String(t).match(/^function (\w*)/);return null==e?"":e[1]}},function(t,e){t.exports=function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}},function(t,e,n){var r=n(288),i=n(287),o=n(6),a=n(100),s=n(12),u=n(59);t.exports=function t(e,n,c,l){if(a(e,n))return!0;if(u(e)!==u(n))return!1;if(null==e||null==n)return!1;if("function"==typeof e["fantasy-land/equals"]||"function"==typeof n["fantasy-land/equals"])return"function"==typeof e["fantasy-land/equals"]&&e["fantasy-land/equals"](n)&&"function"==typeof n["fantasy-land/equals"]&&n["fantasy-land/equals"](e);if("function"==typeof e.equals||"function"==typeof n.equals)return"function"==typeof e.equals&&e.equals(n)&&"function"==typeof n.equals&&n.equals(e);switch(u(e)){case"Arguments":case"Array":case"Object":if("function"==typeof e.constructor&&"Promise"===i(e.constructor))return e===n;break;case"Boolean":case"Number":case"String":if(typeof e!=typeof n||!a(e.valueOf(),n.valueOf()))return!1;break;case"Date":if(!a(e.valueOf(),n.valueOf()))return!1;break;case"Error":return e.name===n.name&&e.message===n.message;case"RegExp":if(e.source!==n.source||e.global!==n.global||e.ignoreCase!==n.ignoreCase||e.multiline!==n.multiline||e.sticky!==n.sticky||e.unicode!==n.unicode)return!1;break;case"Map":case"Set":if(!t(r(e.entries()),r(n.entries()),c,l))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var f=s(e);if(f.length!==s(n).length)return!1;for(var p=c.length-1;p>=0;){if(c[p]===e)return l[p]===n;p-=1}for(c.push(e),l.push(n),p=f.length-1;p>=0;){var d=f[p];if(!o(d,n)||!t(n[d],e[d],c,l))return!1;p-=1}return c.pop(),l.pop(),!0}},function(t,e,n){var r=n(16),i=n(40),o=n(286),a=n(285),s=n(12),u=n(32);t.exports=function t(e,n){var c=function(i){var o=n.concat([e]);return r(i,o)?"<Circular>":t(i,o)},l=function(t,e){return i(function(e){return o(e)+": "+c(t[e])},e.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+i(c,e).join(", ")+"))";case"[object Array]":return"["+i(c,e).concat(l(e,u(function(t){return/^\d+$/.test(t)},s(e)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof e?"new Boolean("+c(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?c(NaN):o(a(e)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof e?"new Number("+c(e.valueOf())+")":1/e==-1/0?"-0":e.toString(10);case"[object String]":return"object"==typeof e?"new String("+c(e.valueOf())+")":o(e);case"[object Undefined]":return"undefined";default:if("function"==typeof e.toString){var f=e.toString();if("[object Object]"!==f)return f}return"{"+l(e,s(e)).join(", ")+"}"}}},function(t,e){t.exports=function(t,e){return function(){var n=this;return t.apply(n,arguments).then(function(t){return e.call(n,t)})}}},function(t,e,n){var r=n(102),i=n(33);t.exports=function(){if(0===arguments.length)throw new Error("composeP requires at least one argument");return r.apply(this,i(arguments))}},function(t,e){t.exports=function(t,e){return function(){return e.call(this,t.apply(this,arguments))}}},function(t,e,n){var r=n(35),i=n(105);t.exports=r(i)},function(t,e,n){var r=n(1);t.exports=r(function(t){return function(e,n){return t(e,n)?-1:t(n,e)?1:0}})},function(t,e,n){var r=n(107),i=n(1);t.exports=i(function(t){return null!=t&&"function"==typeof t.clone?t.clone():r(t,[],[],!0)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){if(t>e)throw new Error("min must not be greater than max in clamp(min, max, value)");return n<t?t:n>e?e:n})},function(t,e){t.exports=function(t){return{"@@transducer/value":t,"@@transducer/reduced":!0}}},function(t,e,n){var r=n(298),i=n(39),o=n(9),a=n(4);t.exports=function(t){var e=function(t){return{"@@transducer/init":a.init,"@@transducer/result":function(e){return t["@@transducer/result"](e)},"@@transducer/step":function(e,n){var i=t["@@transducer/step"](e,n);return i["@@transducer/reduced"]?r(i):i}}}(t);return{"@@transducer/init":a.init,"@@transducer/result":function(t){return e["@@transducer/result"](t)},"@@transducer/step":function(t,n){return i(n)?o(e,t,n):o(e,t,[n])}}}},function(t,e,n){var r=n(0),i=n(299),o=n(7);t.exports=r(function(t,e){return o(t,i(e))})},function(t,e,n){var r=n(34);t.exports=r(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))})},function(t,e,n){var r=n(0),i=n(36),o=n(116),a=n(35);t.exports=r(function(t,e){return i(t)?function(){return t.apply(this,arguments)&&e.apply(this,arguments)}:a(o)(t,e)})},function(t,e,n){var r=n(1),i=n(37);t.exports=r(function(t){return i(2,t)})},function(t,e,n){var r=n(2);t.exports=r(function(t,e,n){var r=t(e),i=t(n);return r<i?-1:r>i?1:0})},function(t,e,n){var r=n(1),i=n(113),o=n(5),a=n(7),s=n(18),u=n(26),c=n(11),l=n(112);t.exports=r(function t(e){return e=a(function(e){return"function"==typeof e?e:t(e)},e),o(c(s,0,u("length",l(e))),function(){var t=arguments;return a(function(e){return i(e,t)},e)})})},function(t,e,n){var r=n(10),i=n(0);t.exports=i(function(t,e){return r(e,[t])})},function(t,e,n){var r=n(10),i=n(0),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.pos=0,this.full=!1,this.acc=new Array(t)}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.acc=null,this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.store(e),this.full?this.xf["@@transducer/step"](t,this.getCopy()):t},t.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},t.prototype.getCopy=function(){return r(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))},i(function(e,n){return new t(e,n)})}()},function(t,e){t.exports=function(t,e){for(var n=0,r=e.length-(t-1),i=new Array(r>=0?r:0);n<r;)i[n]=Array.prototype.slice.call(e,n,n+t),n+=1;return i}},function(t,e,n){var r=n(308),i=n(0),o=n(3),a=n(307);t.exports=i(o([],a,r))},function(t,e,n){var r=n(1),i=n(5),o=n(18),a=n(26),s=n(11);t.exports=r(function(t){return i(s(o,0,a("length",t)),function(){for(var e=0,n=t.length;e<n;){if(t[e].apply(this,arguments))return!0;e+=1}return!1})})},function(t,e,n){var r=n(0),i=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t}return t.prototype["@@transducer/init"]=i.init,t.prototype["@@transducer/result"]=i.result,t.prototype["@@transducer/step"]=function(t,e){return this.xf["@@transducer/step"](t,this.f(e))},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(1),i=n(5),o=n(18),a=n(26),s=n(11);t.exports=r(function(t){return i(s(o,0,a("length",t)),function(){for(var e=0,n=t.length;e<n;){if(!t[e].apply(this,arguments))return!1;e+=1}return!0})})},function(t,e,n){var r=n(0),i=n(14),o=n(4);t.exports=function(){function t(t,e){this.xf=e,this.f=t,this.all=!0}return t.prototype["@@transducer/init"]=o.init,t.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},t.prototype["@@transducer/step"]=function(t,e){return this.f(e)||(this.all=!1,t=i(this.xf["@@transducer/step"](t,!1))),t},r(function(e,n){return new t(e,n)})}()},function(t,e,n){var r=n(0),i=n(3),o=n(313);t.exports=r(i(["all"],o,function(t,e){for(var n=0;n<e.length;){if(!t(e[n]))return!1;n+=1}return!0}))},function(t,e,n){var r=n(10),i=n(1),o=n(5);t.exports=i(function(t){return o(t.length,function(){var e=0,n=arguments[0],i=arguments[arguments.length-1],o=Array.prototype.slice.call(arguments,0);return o[0]=function(){var t=n.apply(this,r(arguments,[e,i]));return e+=1,t},t.apply(this,o)})})},function(t,e){t.exports={"@@functional/placeholder":!0}},function(t,e,n){var r=n(19);t.exports=r(!0)},function(t,e,n){var r=n(19);t.exports=r(!1)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.channels=e.src=e.props=e.paused=e.playing=e.state=e.muted=e.rate=e.ended=e.volume=e.buffered=e.playtime=e.duration=void 0;var r=n(44),i=n(65);function o(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var a=(0,r.path)(["duration"]),s=(0,r.path)(["playtime"]),u=(0,r.compose)(function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=[],n=0;n<t.length;n++)e=[].concat(o(e),[[t.start(n),t.end(n)]]);return e},(0,r.path)(["buffered"])),c=(0,r.path)(["volume"]),l=(0,r.path)(["ended"]),f=(0,r.path)(["paused"]),p=(0,r.path)(["playbackRate"]),d=(0,r.path)(["muted"]),h=(0,r.path)(["currentSrc"]),v=(0,r.path)(["activeBuffer","channelCount"]),y=(0,r.path)(["audioBuffer"]),m=(0,r.compose)(function(t){switch(t){case 0:return"HAVE_NOTHING";case 1:return"HAVE_METADATA";case 2:return"HAVE_CURRENT_DATA";case 3:return"HAVE_FUTURE_DATA";case 4:return"HAVE_ENOUGH_DATA"}},(0,r.path)(["readyState"])),g=function(t){return t.currentTime>0&&!t.paused&&!t.ended&&t.readyState>2},b=(0,i.collectProperties)({duration:a,buffered:u,volume:c,state:m,playtime:s,ended:l,rate:p,muted:d,src:h,paused:f,playing:g,buffer:y});e.duration=a,e.playtime=s,e.buffered=u,e.volume=c,e.ended=l,e.rate=p,e.muted=d,e.state=m,e.playing=g,e.paused=f,e.props=b,e.src=h,e.channels=v},,function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.onFilterUpdate=e.onReady=e.onBuffering=e.events=e.onPlay=e.onRateChange=e.onDurationChange=e.onError=e.onVolumeChange=e.onPlaytimeUpdate=e.onEnd=e.onBufferChange=e.onPause=e.onLoaded=e.onLoading=void 0;var r=n(44),i=n(65),o=n(319),a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.props,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,r.curry)(function(o,a){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return o.addEventListener(t,(0,r.compose)(a,e,i.getNodeFromEvent),Object.assign({},n,s)),o})},s=a("progress",o.props,{once:!0}),u=a("canplaythrough",o.props,{once:!0}),c=a("canplay",o.props),l=a("play"),f=a("pause"),p=a("ended"),d=a("filterUpdated",o.props),h=a("progress",o.buffered),v=a("waiting"),y=a("timeupdate",o.playtime),m=a("volumechange",o.volume),g=(0,r.curry)(function(t,e){return t.addEventListener("error",function(t){var n=t.detail;switch(n&&n.networkState||this.networkState){case HTMLMediaElement.NETWORK_NO_SOURCE:return e("NETWORK_NO_SOURCE",{});case HTMLMediaElement.NETWORK_EMPTY:return e("NETWORK_EMPTY",{});case HTMLMediaElement.NETWORK_IDLE:return e("NETWORK_IDLE");case HTMLMediaElement.NETWORK_LOADING:return e("NETWORK_LOADING",{})}},!0),t.addEventListener("error-media",function(t){var n=t.detail;e("MEDIA_ERROR",n)},!1),t}),b=a("durationchange",o.duration),T=a("ratechange",o.rate),_=(0,i.collectProperties)({onLoading:s,onLoaded:u,onPause:f,onBufferChange:h,onEnd:p,onPlaytimeUpdate:y,onVolumeChange:m,onError:g,onDurationChange:b,onRateChange:T,onPlay:l,onBuffering:v,onReady:c,onFilterUpdate:d});e.onLoading=s,e.onLoaded=u,e.onPause=f,e.onBufferChange=h,e.onEnd=p,e.onPlaytimeUpdate=y,e.onVolumeChange=m,e.onError=g,e.onDurationChange=b,e.onRateChange=T,e.onPlay=l,e.events=_,e.onBuffering=v,e.onReady=c,e.onFilterUpdate=d},,,,,,,function(t,e,n){var r;"undefined"!=typeof self&&self,r=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/dist/",n(n.s=9)}([function(t,e,n){"use strict";n.d(e,"a",function(){return s}),n.d(e,"b",function(){return u});var r="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};function i(){}var o={trace:i,debug:i,log:i,warn:i,info:i,error:i},a=o,s=function(t){if(!0===t||"object"===(void 0===t?"undefined":r(t))){!function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];n.forEach(function(e){a[e]=t[e]?t[e].bind(t):function(t){var e=self.console[t];return e?function(){for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];r[0]&&(r[0]=function(t,e){return e="["+t+"] > "+e}(t,r[0])),e.apply(self.console,r)}:i}(e)})}(t,"debug","log","info","warn","error");try{a.log()}catch(t){a=o}}else a=o},u=o},function(t,e,n){"use strict";e.a={MEDIA_ATTACHING:"hlsMediaAttaching",MEDIA_ATTACHED:"hlsMediaAttached",MEDIA_DETACHING:"hlsMediaDetaching",MEDIA_DETACHED:"hlsMediaDetached",BUFFER_RESET:"hlsBufferReset",BUFFER_CODECS:"hlsBufferCodecs",BUFFER_CREATED:"hlsBufferCreated",BUFFER_APPENDING:"hlsBufferAppending",BUFFER_APPENDED:"hlsBufferAppended",BUFFER_EOS:"hlsBufferEos",BUFFER_FLUSHING:"hlsBufferFlushing",BUFFER_FLUSHED:"hlsBufferFlushed",MANIFEST_LOADING:"hlsManifestLoading",MANIFEST_LOADED:"hlsManifestLoaded",MANIFEST_PARSED:"hlsManifestParsed",LEVEL_SWITCHING:"hlsLevelSwitching",LEVEL_SWITCHED:"hlsLevelSwitched",LEVEL_LOADING:"hlsLevelLoading",LEVEL_LOADED:"hlsLevelLoaded",LEVEL_UPDATED:"hlsLevelUpdated",LEVEL_PTS_UPDATED:"hlsLevelPtsUpdated",AUDIO_TRACKS_UPDATED:"hlsAudioTracksUpdated",AUDIO_TRACK_SWITCHING:"hlsAudioTrackSwitching",AUDIO_TRACK_SWITCHED:"hlsAudioTrackSwitched",AUDIO_TRACK_LOADING:"hlsAudioTrackLoading",AUDIO_TRACK_LOADED:"hlsAudioTrackLoaded",SUBTITLE_TRACKS_UPDATED:"hlsSubtitleTracksUpdated",SUBTITLE_TRACK_SWITCH:"hlsSubtitleTrackSwitch",SUBTITLE_TRACK_LOADING:"hlsSubtitleTrackLoading",SUBTITLE_TRACK_LOADED:"hlsSubtitleTrackLoaded",SUBTITLE_FRAG_PROCESSED:"hlsSubtitleFragProcessed",INIT_PTS_FOUND:"hlsInitPtsFound",FRAG_LOADING:"hlsFragLoading",FRAG_LOAD_PROGRESS:"hlsFragLoadProgress",FRAG_LOAD_EMERGENCY_ABORTED:"hlsFragLoadEmergencyAborted",FRAG_LOADED:"hlsFragLoaded",FRAG_DECRYPTED:"hlsFragDecrypted",FRAG_PARSING_INIT_SEGMENT:"hlsFragParsingInitSegment",FRAG_PARSING_USERDATA:"hlsFragParsingUserdata",FRAG_PARSING_METADATA:"hlsFragParsingMetadata",FRAG_PARSING_DATA:"hlsFragParsingData",FRAG_PARSED:"hlsFragParsed",FRAG_BUFFERED:"hlsFragBuffered",FRAG_CHANGED:"hlsFragChanged",FPS_DROP:"hlsFpsDrop",FPS_DROP_LEVEL_CAPPING:"hlsFpsDropLevelCapping",ERROR:"hlsError",DESTROYING:"hlsDestroying",KEY_LOADING:"hlsKeyLoading",KEY_LOADED:"hlsKeyLoaded",STREAM_STATE_TRANSITION:"hlsStreamStateTransition"}},function(t,e,n){"use strict";n.d(e,"b",function(){return r}),n.d(e,"a",function(){return i});var r={NETWORK_ERROR:"networkError",MEDIA_ERROR:"mediaError",KEY_SYSTEM_ERROR:"keySystemError",MUX_ERROR:"muxError",OTHER_ERROR:"otherError"},i={KEY_SYSTEM_NO_KEYS:"keySystemNoKeys",KEY_SYSTEM_NO_ACCESS:"keySystemNoAccess",KEY_SYSTEM_NO_SESSION:"keySystemNoSession",KEY_SYSTEM_LICENSE_REQUEST_FAILED:"keySystemLicenseRequestFailed",MANIFEST_LOAD_ERROR:"manifestLoadError",MANIFEST_LOAD_TIMEOUT:"manifestLoadTimeOut",MANIFEST_PARSING_ERROR:"manifestParsingError",MANIFEST_INCOMPATIBLE_CODECS_ERROR:"manifestIncompatibleCodecsError",LEVEL_LOAD_ERROR:"levelLoadError",LEVEL_LOAD_TIMEOUT:"levelLoadTimeOut",LEVEL_SWITCH_ERROR:"levelSwitchError",AUDIO_TRACK_LOAD_ERROR:"audioTrackLoadError",AUDIO_TRACK_LOAD_TIMEOUT:"audioTrackLoadTimeOut",FRAG_LOAD_ERROR:"fragLoadError",FRAG_LOAD_TIMEOUT:"fragLoadTimeOut",FRAG_DECRYPT_ERROR:"fragDecryptError",FRAG_PARSING_ERROR:"fragParsingError",REMUX_ALLOC_ERROR:"remuxAllocError",KEY_LOAD_ERROR:"keyLoadError",KEY_LOAD_TIMEOUT:"keyLoadTimeOut",BUFFER_ADD_CODEC_ERROR:"bufferAddCodecError",BUFFER_APPEND_ERROR:"bufferAppendError",BUFFER_APPENDING_ERROR:"bufferAppendingError",BUFFER_STALLED_ERROR:"bufferStalledError",BUFFER_FULL_ERROR:"bufferFullError",BUFFER_SEEK_OVER_HOLE:"bufferSeekOverHole",BUFFER_NUDGE_ON_STALL:"bufferNudgeOnStall",INTERNAL_EXCEPTION:"internalException"}},function(t,e){t.exports=void 0},function(t,e,n){var r,i,o,a,s;r=/^((?:[a-zA-Z0-9+\-.]+:)?)(\/\/[^\/\;?#]*)?(.*?)??(;.*?)?(\?.*?)?(#.*?)?$/,i=/^([^\/;?#]*)(.*)$/,o=/(?:\/|^)\.(?=\/)/g,a=/(?:\/|^)\.\.\/(?!\.\.\/).*?(?=\/)/g,s={buildAbsoluteURL:function(t,e,n){if(n=n||{},t=t.trim(),!(e=e.trim())){if(!n.alwaysNormalize)return t;var r=s.parseURL(t);if(!r)throw new Error("Error trying to parse base URL.");return r.path=s.normalizePath(r.path),s.buildURLFromParts(r)}var o=s.parseURL(e);if(!o)throw new Error("Error trying to parse relative URL.");if(o.scheme)return n.alwaysNormalize?(o.path=s.normalizePath(o.path),s.buildURLFromParts(o)):e;var a=s.parseURL(t);if(!a)throw new Error("Error trying to parse base URL.");if(!a.netLoc&&a.path&&"/"!==a.path[0]){var u=i.exec(a.path);a.netLoc=u[1],a.path=u[2]}a.netLoc&&!a.path&&(a.path="/");var c={scheme:a.scheme,netLoc:o.netLoc,path:null,params:o.params,query:o.query,fragment:o.fragment};if(!o.netLoc&&(c.netLoc=a.netLoc,"/"!==o.path[0]))if(o.path){var l=a.path,f=l.substring(0,l.lastIndexOf("/")+1)+o.path;c.path=s.normalizePath(f)}else c.path=a.path,o.params||(c.params=a.params,o.query||(c.query=a.query));return null===c.path&&(c.path=n.alwaysNormalize?s.normalizePath(o.path):o.path),s.buildURLFromParts(c)},parseURL:function(t){var e=r.exec(t);return e?{scheme:e[1]||"",netLoc:e[2]||"",path:e[3]||"",params:e[4]||"",query:e[5]||"",fragment:e[6]||""}:null},normalizePath:function(t){for(t=t.split("").reverse().join("").replace(o,"");t.length!==(t=t.replace(a,"")).length;);return t.split("").reverse().join("")},buildURLFromParts:function(t){return t.scheme+t.netLoc+t.path+t.params+t.query+t.fragment}},t.exports=s},function(t,e,n){"use strict";var r=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.isHeader=function(t,e){return e+10<=t.length&&73===t[e]&&68===t[e+1]&&51===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},t.isFooter=function(t,e){return e+10<=t.length&&51===t[e]&&68===t[e+1]&&73===t[e+2]&&t[e+3]<255&&t[e+4]<255&&t[e+6]<128&&t[e+7]<128&&t[e+8]<128&&t[e+9]<128},t.getID3Data=function(e,n){for(var r=n,i=0;t.isHeader(e,n);)i+=10,i+=t._readSize(e,n+6),t.isFooter(e,n+10)&&(i+=10),n+=i;if(i>0)return e.subarray(r,r+i)},t._readSize=function(t,e){var n=0;return n=(127&t[e])<<21,n|=(127&t[e+1])<<14,n|=(127&t[e+2])<<7,n|=127&t[e+3]},t.getTimeStamp=function(e){for(var n=t.getID3Frames(e),r=0;r<n.length;r++){var i=n[r];if(t.isTimeStampFrame(i))return t._readTimeStamp(i)}},t.isTimeStampFrame=function(t){return t&&"PRIV"===t.key&&"com.apple.streaming.transportStreamTimestamp"===t.info},t._getFrameData=function(e){var n=String.fromCharCode(e[0],e[1],e[2],e[3]),r=t._readSize(e,4);return{type:n,size:r,data:e.subarray(10,10+r)}},t.getID3Frames=function(e){for(var n=0,r=[];t.isHeader(e,n);){for(var i=t._readSize(e,n+6),o=(n+=10)+i;n+8<o;){var a=t._getFrameData(e.subarray(n)),s=t._decodeFrame(a);s&&r.push(s),n+=a.size+10}t.isFooter(e,n)&&(n+=10)}return r},t._decodeFrame=function(e){return"PRIV"===e.type?t._decodePrivFrame(e):"T"===e.type[0]?t._decodeTextFrame(e):"W"===e.type[0]?t._decodeURLFrame(e):void 0},t._readTimeStamp=function(t){if(8===t.data.byteLength){var e=new Uint8Array(t.data),n=1&e[3],r=(e[4]<<23)+(e[5]<<15)+(e[6]<<7)+e[7];return r/=45,n&&(r+=47721858.84),Math.round(r)}},t._decodePrivFrame=function(e){if(!(e.size<2)){var n=t._utf8ArrayToStr(e.data,!0),r=new Uint8Array(e.data.subarray(n.length+1));return{key:e.type,info:n,data:r.buffer}}},t._decodeTextFrame=function(e){if(!(e.size<2)){if("TXXX"===e.type){var n=1,r=t._utf8ArrayToStr(e.data.subarray(n));n+=r.length+1;var i=t._utf8ArrayToStr(e.data.subarray(n));return{key:e.type,info:r,data:i}}var o=t._utf8ArrayToStr(e.data.subarray(1));return{key:e.type,data:o}}},t._decodeURLFrame=function(e){if("WXXX"===e.type){if(e.size<2)return;var n=1,r=t._utf8ArrayToStr(e.data.subarray(n));n+=r.length+1;var i=t._utf8ArrayToStr(e.data.subarray(n));return{key:e.type,info:r,data:i}}var o=t._utf8ArrayToStr(e.data);return{key:e.type,data:o}},t._utf8ArrayToStr=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.length,r=void 0,i=void 0,o=void 0,a="",s=0;s<n;){if(0===(r=t[s++])&&e)return a;if(0!==r&&3!==r)switch(r>>4){case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:a+=String.fromCharCode(r);break;case 12:case 13:i=t[s++],a+=String.fromCharCode((31&r)<<6|63&i);break;case 14:i=t[s++],o=t[s++],a+=String.fromCharCode((15&r)<<12|(63&i)<<6|(63&o)<<0)}}return a},t}();r._utf8ArrayToStr,e.a=r},function(t,e){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(t){return"function"==typeof t}function i(t){return"object"==typeof t&&null!==t}function o(t){return void 0===t}t.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||isNaN(t))throw TypeError("n must be a positive number");return this._maxListeners=t,this},n.prototype.emit=function(t){var e,n,a,s,u,c;if(this._events||(this._events={}),"error"===t&&(!this._events.error||i(this._events.error)&&!this._events.error.length)){if((e=arguments[1])instanceof Error)throw e;var l=new Error('Uncaught, unspecified "error" event. ('+e+")");throw l.context=e,l}if(o(n=this._events[t]))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(i(n))for(s=Array.prototype.slice.call(arguments,1),a=(c=n.slice()).length,u=0;u<a;u++)c[u].apply(this,s);return!0},n.prototype.addListener=function(t,e){var a;if(!r(e))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",t,r(e.listener)?e.listener:e),this._events[t]?i(this._events[t])?this._events[t].push(e):this._events[t]=[this._events[t],e]:this._events[t]=e,i(this._events[t])&&!this._events[t].warned&&(a=o(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&a>0&&this._events[t].length>a&&(this._events[t].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[t].length),"function"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(t,e){if(!r(e))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(t,i),n||(n=!0,e.apply(this,arguments))}return i.listener=e,this.on(t,i),this},n.prototype.removeListener=function(t,e){var n,o,a,s;if(!r(e))throw TypeError("listener must be a function");if(!this._events||!this._events[t])return this;if(a=(n=this._events[t]).length,o=-1,n===e||r(n.listener)&&n.listener===e)delete this._events[t],this._events.removeListener&&this.emit("removeListener",t,e);else if(i(n)){for(s=a;s-- >0;)if(n[s]===e||n[s].listener&&n[s].listener===e){o=s;break}if(o<0)return this;1===n.length?(n.length=0,delete this._events[t]):n.splice(o,1),this._events.removeListener&&this.emit("removeListener",t,e)}return this},n.prototype.removeAllListeners=function(t){var e,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[t]&&delete this._events[t],this;if(0===arguments.length){for(e in this._events)"removeListener"!==e&&this.removeAllListeners(e);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[t]))this.removeListener(t,n);else if(n)for(;n.length;)this.removeListener(t,n[n.length-1]);return delete this._events[t],this},n.prototype.listeners=function(t){return this._events&&this._events[t]?r(this._events[t])?[this._events[t]]:this._events[t].slice():[]},n.prototype.listenerCount=function(t){if(this._events){var e=this._events[t];if(r(e))return 1;if(e)return e.length}return 0},n.listenerCount=function(t,e){return t.listenerCount(e)}},function(t,e,n){"use strict";var r=n(0),i=n(1),o=Math.pow(2,32)-1,a=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observer=e,this.remuxer=n}return t.prototype.resetTimeStamp=function(t){this.initPTS=t},t.prototype.resetInitSegment=function(e,n,r,o){if(e&&e.byteLength){var a=this.initData=t.parseInitSegment(e);null==n&&(n="mp4a.40.5"),null==r&&(r="avc1.42e01e");var s={};a.audio&&a.video?s.audiovideo={container:"video/mp4",codec:n+","+r,initSegment:o?e:null}:(a.audio&&(s.audio={container:"audio/mp4",codec:n,initSegment:o?e:null}),a.video&&(s.video={container:"video/mp4",codec:r,initSegment:o?e:null})),this.observer.trigger(i.a.FRAG_PARSING_INIT_SEGMENT,{tracks:s})}else n&&(this.audioCodec=n),r&&(this.videoCodec=r)},t.probe=function(e){return t.findBox({data:e,start:0,end:Math.min(e.length,16384)},["moof"]).length>0},t.bin2str=function(t){return String.fromCharCode.apply(null,t)},t.readUint16=function(t,e){t.data&&(e+=t.start,t=t.data);var n=t[e]<<8|t[e+1];return n<0?65536+n:n},t.readUint32=function(t,e){t.data&&(e+=t.start,t=t.data);var n=t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3];return n<0?4294967296+n:n},t.writeUint32=function(t,e,n){t.data&&(e+=t.start,t=t.data),t[e]=n>>24,t[e+1]=n>>16&255,t[e+2]=n>>8&255,t[e+3]=255&n},t.findBox=function(e,n){var r=[],i=void 0,o=void 0,a=void 0,s=void 0,u=void 0,c=void 0,l=void 0;if(e.data?(c=e.start,s=e.end,e=e.data):(c=0,s=e.byteLength),!n.length)return null;for(i=c;i<s;)o=t.readUint32(e,i),a=t.bin2str(e.subarray(i+4,i+8)),l=o>1?i+o:s,a===n[0]&&(1===n.length?r.push({data:e,start:i+8,end:l}):(u=t.findBox({data:e,start:i+8,end:l},n.slice(1))).length&&(r=r.concat(u))),i=l;return r},t.parseSegmentIndex=function(e){var n=t.findBox(e,["moov"])[0],r=n?n.end:null,i=0,o=t.findBox(e,["sidx"]),a=void 0;if(!o||!o[0])return null;a=[];var s=(o=o[0]).data[0];i=0===s?8:16;var u=t.readUint32(o,i);i+=4,i+=0===s?8:16,i+=2;var c=o.end+0,l=t.readUint16(o,i);i+=2;for(var f=0;f<l;f++){var p=i,d=t.readUint32(o,p);p+=4;var h=2147483647&d;if(1==(2147483648&d)>>>31)return void console.warn("SIDX has hierarchical references (not supported)");var v=t.readUint32(o,p);p+=4,a.push({referenceSize:h,subsegmentDuration:v,info:{duration:v/u,start:c,end:c+h-1}}),c+=h,i=p+=4}return{earliestPresentationTime:0,timescale:u,version:s,referencesCount:l,references:a,moovEndOffset:r}},t.parseInitSegment=function(e){var n=[];return t.findBox(e,["moov","trak"]).forEach(function(e){var i=t.findBox(e,["tkhd"])[0];if(i){var o=i.data[i.start],a=0===o?12:20,s=t.readUint32(i,a),u=t.findBox(e,["mdia","mdhd"])[0];if(u){a=0===(o=u.data[u.start])?12:20;var c=t.readUint32(u,a),l=t.findBox(e,["mdia","hdlr"])[0];if(l){var f={soun:"audio",vide:"video"}[t.bin2str(l.data.subarray(l.start+8,l.start+12))];if(f){var p=t.findBox(e,["mdia","minf","stbl","stsd"]);if(p.length){p=p[0];var d=t.bin2str(p.data.subarray(p.start+12,p.start+16));r.b.log("MP4Demuxer:"+f+":"+d+" found")}n[s]={timescale:c,type:f},n[f]={timescale:c,id:s}}}}}}),n},t.getStartDTS=function(e,n){var r,i,o=void 0;return o=t.findBox(n,["moof","traf"]),r=[].concat.apply([],o.map(function(n){return t.findBox(n,["tfhd"]).map(function(r){var i,o;return i=t.readUint32(r,4),o=e[i].timescale||9e4,t.findBox(n,["tfdt"]).map(function(e){var n,r=void 0;return n=e.data[e.start],r=t.readUint32(e,4),1===n&&(r*=Math.pow(2,32),r+=t.readUint32(e,8)),r})[0]/o})})),i=Math.min.apply(null,r),isFinite(i)?i:0},t.offsetStartDTS=function(e,n,r){t.findBox(n,["moof","traf"]).map(function(n){return t.findBox(n,["tfhd"]).map(function(i){var a=t.readUint32(i,4),s=e[a].timescale||9e4;t.findBox(n,["tfdt"]).map(function(e){var n=e.data[e.start],i=t.readUint32(e,4);if(0===n)t.writeUint32(e,4,i-r*s);else{i*=Math.pow(2,32),i+=t.readUint32(e,8),i-=r*s,i=Math.max(i,0);var a=Math.floor(i/(o+1)),u=Math.floor(i%(o+1));t.writeUint32(e,4,a),t.writeUint32(e,8,u)}})})})},t.prototype.append=function(e,n,r,o){var a=this.initData;a||(this.resetInitSegment(e,this.audioCodec,this.videoCodec,!1),a=this.initData);var s,u=this.initPTS;if(void 0===u){var c=t.getStartDTS(a,e);this.initPTS=u=c-n,this.observer.trigger(i.a.INIT_PTS_FOUND,{initPTS:u})}t.offsetStartDTS(a,e,u),s=t.getStartDTS(a,e),this.remuxer.remux(a.audio,a.video,null,null,s,r,o,e)},t.prototype.destroy=function(){},t}();e.a=a},function(t,e,n){"use strict";var r=n(1),i=n(2),o=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.subtle=e,this.aesIV=n}return t.prototype.decrypt=function(t,e){return this.subtle.decrypt({name:"AES-CBC",iv:this.aesIV},e,t)},t}(),a=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.subtle=e,this.key=n}return t.prototype.expandKey=function(){return this.subtle.importKey("raw",this.key,{name:"AES-CBC"},!1,["encrypt","decrypt"])},t}(),s=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.rcon=[0,1,2,4,8,16,32,64,128,27,54],this.subMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.invSubMix=[new Uint32Array(256),new Uint32Array(256),new Uint32Array(256),new Uint32Array(256)],this.sBox=new Uint32Array(256),this.invSBox=new Uint32Array(256),this.key=new Uint32Array(0),this.initTable()}return t.prototype.uint8ArrayToUint32Array_=function(t){for(var e=new DataView(t),n=new Uint32Array(4),r=0;r<4;r++)n[r]=e.getUint32(4*r);return n},t.prototype.initTable=function(){var t=this.sBox,e=this.invSBox,n=this.subMix,r=n[0],i=n[1],o=n[2],a=n[3],s=this.invSubMix,u=s[0],c=s[1],l=s[2],f=s[3],p=new Uint32Array(256),d=0,h=0,v=0;for(v=0;v<256;v++)p[v]=v<128?v<<1:v<<1^283;for(v=0;v<256;v++){var y=h^h<<1^h<<2^h<<3^h<<4;y=y>>>8^255&y^99,t[d]=y,e[y]=d;var m=p[d],g=p[m],b=p[g],T=257*p[y]^16843008*y;r[d]=T<<24|T>>>8,i[d]=T<<16|T>>>16,o[d]=T<<8|T>>>24,a[d]=T,T=16843009*b^65537*g^257*m^16843008*d,u[y]=T<<24|T>>>8,c[y]=T<<16|T>>>16,l[y]=T<<8|T>>>24,f[y]=T,d?(d=m^p[p[p[b^m]]],h^=p[p[h]]):d=h=1}},t.prototype.expandKey=function(t){for(var e=this.uint8ArrayToUint32Array_(t),n=!0,r=0;r<e.length&&n;)n=e[r]===this.key[r],r++;if(!n){this.key=e;var i=this.keySize=e.length;if(4!==i&&6!==i&&8!==i)throw new Error("Invalid aes key size="+i);var o=this.ksRows=4*(i+6+1),a=void 0,s=void 0,u=this.keySchedule=new Uint32Array(o),c=this.invKeySchedule=new Uint32Array(o),l=this.sBox,f=this.rcon,p=this.invSubMix,d=p[0],h=p[1],v=p[2],y=p[3],m=void 0,g=void 0;for(a=0;a<o;a++)a<i?m=u[a]=e[a]:(g=m,a%i==0?(g=l[(g=g<<8|g>>>24)>>>24]<<24|l[g>>>16&255]<<16|l[g>>>8&255]<<8|l[255&g],g^=f[a/i|0]<<24):i>6&&a%i==4&&(g=l[g>>>24]<<24|l[g>>>16&255]<<16|l[g>>>8&255]<<8|l[255&g]),u[a]=m=(u[a-i]^g)>>>0);for(s=0;s<o;s++)a=o-s,g=3&s?u[a]:u[a-4],c[s]=s<4||a<=4?g:d[l[g>>>24]]^h[l[g>>>16&255]]^v[l[g>>>8&255]]^y[l[255&g]],c[s]=c[s]>>>0}},t.prototype.networkToHostOrderSwap=function(t){return t<<24|(65280&t)<<8|(16711680&t)>>8|t>>>24},t.prototype.decrypt=function(t,e,n,r){for(var i,o,a,s=this.keySize+6,u=this.invKeySchedule,c=this.invSBox,l=this.invSubMix,f=l[0],p=l[1],d=l[2],h=l[3],v=this.uint8ArrayToUint32Array_(n),y=v[0],m=v[1],g=v[2],b=v[3],T=new Int32Array(t),_=new Int32Array(T.length),S=void 0,A=void 0,x=void 0,w=void 0,E=void 0,O=void 0,P=void 0,C=void 0,M=void 0,L=void 0,R=void 0,k=void 0,D=void 0,I=void 0,N=this.networkToHostOrderSwap;e<T.length;){for(M=N(T[e]),L=N(T[e+1]),R=N(T[e+2]),k=N(T[e+3]),E=M^u[0],O=k^u[1],P=R^u[2],C=L^u[3],D=4,I=1;I<s;I++)S=f[E>>>24]^p[O>>16&255]^d[P>>8&255]^h[255&C]^u[D],A=f[O>>>24]^p[P>>16&255]^d[C>>8&255]^h[255&E]^u[D+1],x=f[P>>>24]^p[C>>16&255]^d[E>>8&255]^h[255&O]^u[D+2],w=f[C>>>24]^p[E>>16&255]^d[O>>8&255]^h[255&P]^u[D+3],E=S,O=A,P=x,C=w,D+=4;S=c[E>>>24]<<24^c[O>>16&255]<<16^c[P>>8&255]<<8^c[255&C]^u[D],A=c[O>>>24]<<24^c[P>>16&255]<<16^c[C>>8&255]<<8^c[255&E]^u[D+1],x=c[P>>>24]<<24^c[C>>16&255]<<16^c[E>>8&255]<<8^c[255&O]^u[D+2],w=c[C>>>24]<<24^c[E>>16&255]<<16^c[O>>8&255]<<8^c[255&P]^u[D+3],D+=3,_[e]=N(S^y),_[e+1]=N(w^m),_[e+2]=N(x^g),_[e+3]=N(A^b),y=M,m=L,g=R,b=k,e+=4}return r?(i=_.buffer,o=i.byteLength,(a=o&&new DataView(i).getUint8(o-1))?i.slice(0,o-a):i):_.buffer},t.prototype.destroy=function(){this.key=void 0,this.keySize=void 0,this.ksRows=void 0,this.sBox=void 0,this.invSBox=void 0,this.subMix=void 0,this.invSubMix=void 0,this.keySchedule=void 0,this.invKeySchedule=void 0,this.rcon=void 0},t}(),u=n(0),c=function(){function t(e,n){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).removePKCS7Padding,i=void 0===r||r;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.logEnabled=!0,this.observer=e,this.config=n,this.removePKCS7Padding=i,i)try{var o=crypto||self.crypto;this.subtle=o.subtle||o.webkitSubtle}catch(t){}this.disableWebCrypto=!this.subtle}return t.prototype.isSync=function(){return this.disableWebCrypto&&this.config.enableSoftwareAES},t.prototype.decrypt=function(t,e,n,r){var i=this;if(this.disableWebCrypto&&this.config.enableSoftwareAES){this.logEnabled&&(u.b.log("JS AES decrypt"),this.logEnabled=!1);var c=this.decryptor;c||(this.decryptor=c=new s),c.expandKey(e),r(c.decrypt(t,0,n,this.removePKCS7Padding))}else{this.logEnabled&&(u.b.log("WebCrypto AES decrypt"),this.logEnabled=!1);var l=this.subtle;this.key!==e&&(this.key=e,this.fastAesKey=new a(l,e)),this.fastAesKey.expandKey().then(function(a){new o(l,n).decrypt(t,a).catch(function(o){i.onWebCryptoError(o,t,e,n,r)}).then(function(t){r(t)})}).catch(function(o){i.onWebCryptoError(o,t,e,n,r)})}},t.prototype.onWebCryptoError=function(t,e,n,r,o){this.config.enableSoftwareAES?(u.b.log("WebCrypto Error, disable WebCrypto API"),this.disableWebCrypto=!0,this.logEnabled=!0,this.decrypt(e,n,r,o)):(u.b.error("decrypting error : "+t.message),this.observer.trigger(Event.ERROR,{type:i.b.MEDIA_ERROR,details:i.a.FRAG_DECRYPT_ERROR,fatal:!0,reason:t.message}))},t.prototype.destroy=function(){var t=this.decryptor;t&&(t.destroy(),this.decryptor=void 0)},t}();function l(t,e){return 255===t[e]&&240==(246&t[e+1])}function f(t,e){return 1&t[e+1]?7:9}function p(t,e){return(3&t[e+3])<<11|t[e+4]<<3|(224&t[e+5])>>>5}function d(t,e){return!!(e+1<t.length&&l(t,e))}function h(t,e){if(e+1<t.length&&l(t,e)){var n=f(t,e);e+5<t.length&&(n=p(t,e));var r=e+n;if(r===t.length||r+1<t.length&&l(t,r))return!0}return!1}function v(t,e,n,r,o){if(!t.samplerate){var a=function(t,e,n,r){var o,a=void 0,s=void 0,c=void 0,l=void 0,f=navigator.userAgent.toLowerCase(),p=r,d=[96e3,88200,64e3,48e3,44100,32e3,24e3,22050,16e3,12e3,11025,8e3,7350];if(a=1+((192&e[n+2])>>>6),!((o=(60&e[n+2])>>>2)>d.length-1))return c=(1&e[n+2])<<2,c|=(192&e[n+3])>>>6,u.b.log("manifest codec:"+r+",ADTS data:type:"+a+",sampleingIndex:"+o+"["+d[o]+"Hz],channelConfig:"+c),/firefox/i.test(f)?o>=6?(a=5,l=new Array(4),s=o-3):(a=2,l=new Array(2),s=o):-1!==f.indexOf("android")?(a=2,l=new Array(2),s=o):(a=5,l=new Array(4),r&&(-1!==r.indexOf("mp4a.40.29")||-1!==r.indexOf("mp4a.40.5"))||!r&&o>=6?s=o-3:((r&&-1!==r.indexOf("mp4a.40.2")&&(o>=6&&1===c||/vivaldi/i.test(f))||!r&&1===c)&&(a=2,l=new Array(2)),s=o)),l[0]=a<<3,l[0]|=(14&o)>>1,l[1]|=(1&o)<<7,l[1]|=c<<3,5===a&&(l[1]|=(14&s)>>1,l[2]=(1&s)<<7,l[2]|=8,l[3]=0),{config:l,samplerate:d[o],channelCount:c,codec:"mp4a.40."+a,manifestCodec:p};t.trigger(Event.ERROR,{type:i.b.MEDIA_ERROR,details:i.a.FRAG_PARSING_ERROR,fatal:!0,reason:"invalid ADTS sampling index:"+o})}(e,n,r,o);t.config=a.config,t.samplerate=a.samplerate,t.channelCount=a.channelCount,t.codec=a.codec,t.manifestCodec=a.manifestCodec,u.b.log("parsed codec:"+t.codec+",rate:"+a.samplerate+",nb channel:"+a.channelCount)}}function y(t){return 9216e4/t}function m(t,e,n,r,i){var o=function(t,e,n,r,i){var o,a=void 0,s=t.length;if(o=f(t,e),a=p(t,e),(a-=o)>0&&e+o+a<=s)return{headerLength:o,frameLength:a,stamp:n+r*i}}(e,n,r,i,y(t.samplerate));if(o){var a=o.stamp,s=o.headerLength,u=o.frameLength,c={unit:e.subarray(n+s,n+s+u),pts:a,dts:a};return t.samples.push(c),t.len+=u,{sample:c,length:u+s}}}var g=n(5),b=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observer=e,this.config=r,this.remuxer=n}return t.prototype.resetInitSegment=function(t,e,n,r){this._audioTrack={container:"audio/adts",type:"audio",id:0,sequenceNumber:0,isAAC:!0,samples:[],len:0,manifestCodec:e,duration:r,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(t){if(!t)return!1;for(var e=(g.a.getID3Data(t,0)||[]).length,n=t.length;e<n;e++)if(h(t,e))return u.b.log("ADTS sync word found !"),!0;return!1},t.prototype.append=function(t,e,n,r){for(var i=this._audioTrack,o=g.a.getID3Data(t,0)||[],a=g.a.getTimeStamp(o),s=a?90*a:9e4*e,c=0,l=s,f=t.length,p=o.length,h=[{pts:l,dts:l,data:o}];p<f-1;)if(d(t,p)&&p+5<f){v(i,this.observer,t,p,i.manifestCodec);var y=m(i,t,p,s,c);if(!y){u.b.log("Unable to parse AAC frame");break}p+=y.length,l=y.sample.pts,c++}else g.a.isHeader(t,p)?(o=g.a.getID3Data(t,p),h.push({pts:l,dts:l,data:o}),p+=o.length):p++;this.remuxer.remux(i,{samples:[]},{samples:h,inputTimeScale:9e4},{samples:[]},e,n,r)},t.prototype.destroy=function(){},t}(),T=n(7),_={BitratesMap:[32,64,96,128,160,192,224,256,288,320,352,384,416,448,32,48,56,64,80,96,112,128,160,192,224,256,320,384,32,40,48,56,64,80,96,112,128,160,192,224,256,320,32,48,56,64,80,96,112,128,144,160,176,192,224,256,8,16,24,32,40,48,56,64,80,96,112,128,144,160],SamplingRateMap:[44100,48e3,32e3,22050,24e3,16e3,11025,12e3,8e3],SamplesCoefficients:[[0,72,144,12],[0,0,0,0],[0,72,144,12],[0,144,144,12]],BytesInSlot:[0,1,1,4],appendFrame:function(t,e,n,r,i){if(!(n+24>e.length)){var o=this.parseHeader(e,n);if(o&&n+o.frameLength<=e.length){var a=r+i*(9e4*o.samplesPerFrame/o.sampleRate),s={unit:e.subarray(n,n+o.frameLength),pts:a,dts:a};return t.config=[],t.channelCount=o.channelCount,t.samplerate=o.sampleRate,t.samples.push(s),t.len+=o.frameLength,{sample:s,length:o.frameLength}}}},parseHeader:function(t,e){var n=t[e+1]>>3&3,r=t[e+1]>>1&3,i=t[e+2]>>4&15,o=t[e+2]>>2&3,a=t[e+2]>>1&1;if(1!==n&&0!==i&&15!==i&&3!==o){var s=3===n?3-r:3===r?3:4,u=1e3*_.BitratesMap[14*s+i-1],c=3===n?0:2===n?1:2,l=_.SamplingRateMap[3*c+o],f=t[e+3]>>6==3?1:2,p=_.SamplesCoefficients[n][r],d=_.BytesInSlot[r],h=8*p*d;return{sampleRate:l,channelCount:f,frameLength:parseInt(p*u/l+a,10)*d,samplesPerFrame:h}}},isHeaderPattern:function(t,e){return 255===t[e]&&224==(224&t[e+1])&&0!=(6&t[e+1])},isHeader:function(t,e){return!!(e+1<t.length&&this.isHeaderPattern(t,e))},probe:function(t,e){if(e+1<t.length&&this.isHeaderPattern(t,e)){var n=this.parseHeader(t,e),r=4;n&&n.frameLength&&(r=n.frameLength);var i=e+r;if(i===t.length||i+1<t.length&&this.isHeaderPattern(t,i))return!0}return!1}},S=_,A=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.data=e,this.bytesAvailable=e.byteLength,this.word=0,this.bitsAvailable=0}return t.prototype.loadWord=function(){var t=this.data,e=this.bytesAvailable,n=t.byteLength-e,r=new Uint8Array(4),i=Math.min(4,e);if(0===i)throw new Error("no bytes available");r.set(t.subarray(n,n+i)),this.word=new DataView(r.buffer).getUint32(0),this.bitsAvailable=8*i,this.bytesAvailable-=i},t.prototype.skipBits=function(t){var e=void 0;this.bitsAvailable>t?(this.word<<=t,this.bitsAvailable-=t):(t-=this.bitsAvailable,t-=(e=t>>3)>>3,this.bytesAvailable-=e,this.loadWord(),this.word<<=t,this.bitsAvailable-=t)},t.prototype.readBits=function(t){var e=Math.min(this.bitsAvailable,t),n=this.word>>>32-e;return t>32&&u.b.error("Cannot read more than 32 bits at a time"),this.bitsAvailable-=e,this.bitsAvailable>0?this.word<<=e:this.bytesAvailable>0&&this.loadWord(),(e=t-e)>0&&this.bitsAvailable?n<<e|this.readBits(e):n},t.prototype.skipLZ=function(){var t=void 0;for(t=0;t<this.bitsAvailable;++t)if(0!=(this.word&2147483648>>>t))return this.word<<=t,this.bitsAvailable-=t,t;return this.loadWord(),t+this.skipLZ()},t.prototype.skipUEG=function(){this.skipBits(1+this.skipLZ())},t.prototype.skipEG=function(){this.skipBits(1+this.skipLZ())},t.prototype.readUEG=function(){var t=this.skipLZ();return this.readBits(t+1)-1},t.prototype.readEG=function(){var t=this.readUEG();return 1&t?1+t>>>1:-1*(t>>>1)},t.prototype.readBoolean=function(){return 1===this.readBits(1)},t.prototype.readUByte=function(){return this.readBits(8)},t.prototype.readUShort=function(){return this.readBits(16)},t.prototype.readUInt=function(){return this.readBits(32)},t.prototype.skipScalingList=function(t){var e=8,n=8,r=void 0;for(r=0;r<t;r++)0!==n&&(n=(e+this.readEG()+256)%256),e=0===n?e:n},t.prototype.readSPS=function(){var t,e,n,r,i=0,o=0,a=0,s=0,u=void 0,c=void 0,l=void 0,f=this.readUByte.bind(this),p=this.readBits.bind(this),d=this.readUEG.bind(this),h=this.readBoolean.bind(this),v=this.skipBits.bind(this),y=this.skipEG.bind(this),m=this.skipUEG.bind(this),g=this.skipScalingList.bind(this);if(f(),t=f(),p(5),v(3),f(),m(),100===t||110===t||122===t||244===t||44===t||83===t||86===t||118===t||128===t){var b=d();if(3===b&&v(1),m(),m(),v(1),h())for(c=3!==b?8:12,l=0;l<c;l++)h()&&g(l<6?16:64)}m();var T=d();if(0===T)d();else if(1===T)for(v(1),y(),y(),u=d(),l=0;l<u;l++)y();m(),v(1),e=d(),n=d(),0===(r=p(1))&&v(1),v(1),h()&&(i=d(),o=d(),a=d(),s=d());var _=[1,1];if(h()&&h())switch(f()){case 1:_=[1,1];break;case 2:_=[12,11];break;case 3:_=[10,11];break;case 4:_=[16,11];break;case 5:_=[40,33];break;case 6:_=[24,11];break;case 7:_=[20,11];break;case 8:_=[32,11];break;case 9:_=[80,33];break;case 10:_=[18,11];break;case 11:_=[15,11];break;case 12:_=[64,33];break;case 13:_=[160,99];break;case 14:_=[4,3];break;case 15:_=[3,2];break;case 16:_=[2,1];break;case 255:_=[f()<<8|f(),f()<<8|f()]}return{width:Math.ceil(16*(e+1)-2*i-2*o),height:(2-r)*(n+1)*16-(r?2:4)*(a+s),pixelRatio:_}},t.prototype.readSliceType=function(){return this.readUByte(),this.readUEG(),this.readUEG()},t}(),x=function(){function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.decryptdata=r,this.discardEPB=i,this.decrypter=new c(e,n,{removePKCS7Padding:!1})}return t.prototype.decryptBuffer=function(t,e){this.decrypter.decrypt(t,this.decryptdata.key.buffer,this.decryptdata.iv.buffer,e)},t.prototype.decryptAacSample=function(t,e,n,r){var i=t[e].unit,o=i.subarray(16,i.length-i.length%16),a=o.buffer.slice(o.byteOffset,o.byteOffset+o.length),s=this;this.decryptBuffer(a,function(o){o=new Uint8Array(o),i.set(o,16),r||s.decryptAacSamples(t,e+1,n)})},t.prototype.decryptAacSamples=function(t,e,n){for(;;e++){if(e>=t.length)return void n();if(!(t[e].unit.length<32)){var r=this.decrypter.isSync();if(this.decryptAacSample(t,e,n,r),!r)return}}},t.prototype.getAvcEncryptedData=function(t){for(var e=16*Math.floor((t.length-48)/160)+16,n=new Int8Array(e),r=0,i=32;i<=t.length-16;i+=160,r+=16)n.set(t.subarray(i,i+16),r);return n},t.prototype.getAvcDecryptedUnit=function(t,e){e=new Uint8Array(e);for(var n=0,r=32;r<=t.length-16;r+=160,n+=16)t.set(e.subarray(n,n+16),r);return t},t.prototype.decryptAvcSample=function(t,e,n,r,i,o){var a=this.discardEPB(i.data),s=this.getAvcEncryptedData(a),u=this;this.decryptBuffer(s.buffer,function(s){i.data=u.getAvcDecryptedUnit(a,s),o||u.decryptAvcSamples(t,e,n+1,r)})},t.prototype.decryptAvcSamples=function(t,e,n,r){for(;;e++,n=0){if(e>=t.length)return void r();for(var i=t[e].units;!(n>=i.length);n++){var o=i[n];if(!(o.length<=48||1!==o.type&&5!==o.type)){var a=this.decrypter.isSync();if(this.decryptAvcSample(t,e,n,r,o,a),!a)return}}}},t}(),w={video:0,audio:1,id3:2,text:3},E=function(){function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observer=e,this.config=r,this.typeSupported=i,this.remuxer=n,this.sampleAes=null}return t.prototype.setDecryptData=function(t){null!=t&&null!=t.key&&"SAMPLE-AES"===t.method?this.sampleAes=new x(this.observer,this.config,t,this.discardEPB):this.sampleAes=null},t.probe=function(e){var n=t._syncOffset(e);return!(n<0||(n&&u.b.warn("MPEG2-TS detected but first sync word found @ offset "+n+", junk ahead ?"),0))},t._syncOffset=function(t){for(var e=Math.min(1e3,t.length-564),n=0;n<e;){if(71===t[n]&&71===t[n+188]&&71===t[n+376])return n;n++}return-1},t.createTrack=function(t,e){return{container:"video"===t||"audio"===t?"video/mp2t":void 0,type:t,id:w[t],pid:-1,inputTimeScale:9e4,sequenceNumber:0,samples:[],len:0,dropped:"video"===t?0:void 0,isAAC:"audio"===t||void 0,duration:"audio"===t?e:void 0}},t.prototype.resetInitSegment=function(e,n,r,i){this.pmtParsed=!1,this._pmtId=-1,this._avcTrack=t.createTrack("video",i),this._audioTrack=t.createTrack("audio",i),this._id3Track=t.createTrack("id3",i),this._txtTrack=t.createTrack("text",i),this.aacOverFlow=null,this.aacLastPTS=null,this.avcSample=null,this.audioCodec=n,this.videoCodec=r,this._duration=i},t.prototype.resetTimeStamp=function(){},t.prototype.append=function(e,n,o,a){var s=void 0,c=e.length,l=void 0,f=void 0,p=void 0,d=void 0,h=!1;this.contiguous=o;var v=this.pmtParsed,y=this._avcTrack,m=this._audioTrack,g=this._id3Track,b=y.pid,T=m.pid,_=g.pid,S=this._pmtId,A=y.pesData,x=m.pesData,w=g.pesData,E=this._parsePAT,O=this._parsePMT,P=this._parsePES,C=this._parseAVCPES.bind(this),M=this._parseAACPES.bind(this),L=this._parseMPEGPES.bind(this),R=this._parseID3PES.bind(this),k=t._syncOffset(e);for(c-=(c+k)%188,s=k;s<c;s+=188)if(71===e[s]){if(l=!!(64&e[s+1]),f=((31&e[s+1])<<8)+e[s+2],(48&e[s+3])>>4>1){if((p=s+5+e[s+4])===s+188)continue}else p=s+4;switch(f){case b:l&&(A&&(d=P(A))&&void 0!==d.pts&&C(d,!1),A={data:[],size:0}),A&&(A.data.push(e.subarray(p,s+188)),A.size+=s+188-p);break;case T:l&&(x&&(d=P(x))&&void 0!==d.pts&&(m.isAAC?M(d):L(d)),x={data:[],size:0}),x&&(x.data.push(e.subarray(p,s+188)),x.size+=s+188-p);break;case _:l&&(w&&(d=P(w))&&void 0!==d.pts&&R(d),w={data:[],size:0}),w&&(w.data.push(e.subarray(p,s+188)),w.size+=s+188-p);break;case 0:l&&(p+=e[p]+1),S=this._pmtId=E(e,p);break;case S:l&&(p+=e[p]+1);var D=O(e,p,!0===this.typeSupported.mpeg||!0===this.typeSupported.mp3,null!=this.sampleAes);(b=D.avc)>0&&(y.pid=b),(T=D.audio)>0&&(m.pid=T,m.isAAC=D.isAAC),(_=D.id3)>0&&(g.pid=_),h&&!v&&(u.b.log("reparse from beginning"),h=!1,s=k-188),v=this.pmtParsed=!0;break;case 17:case 8191:break;default:h=!0}}else this.observer.trigger(r.a.ERROR,{type:i.b.MEDIA_ERROR,details:i.a.FRAG_PARSING_ERROR,fatal:!1,reason:"TS packet did not start with 0x47"});A&&(d=P(A))&&void 0!==d.pts?(C(d,!0),y.pesData=null):y.pesData=A,x&&(d=P(x))&&void 0!==d.pts?(m.isAAC?M(d):L(d),m.pesData=null):(x&&x.size&&u.b.log("last AAC PES packet truncated,might overlap between fragments"),m.pesData=x),w&&(d=P(w))&&void 0!==d.pts?(R(d),g.pesData=null):g.pesData=w,null==this.sampleAes?this.remuxer.remux(m,y,g,this._txtTrack,n,o,a):this.decryptAndRemux(m,y,g,this._txtTrack,n,o,a)},t.prototype.decryptAndRemux=function(t,e,n,r,i,o,a){if(t.samples&&t.isAAC){var s=this;this.sampleAes.decryptAacSamples(t.samples,0,function(){s.decryptAndRemuxAvc(t,e,n,r,i,o,a)})}else this.decryptAndRemuxAvc(t,e,n,r,i,o,a)},t.prototype.decryptAndRemuxAvc=function(t,e,n,r,i,o,a){if(e.samples){var s=this;this.sampleAes.decryptAvcSamples(e.samples,0,0,function(){s.remuxer.remux(t,e,n,r,i,o,a)})}else this.remuxer.remux(t,e,n,r,i,o,a)},t.prototype.destroy=function(){this._initPTS=this._initDTS=void 0,this._duration=0},t.prototype._parsePAT=function(t,e){return(31&t[e+10])<<8|t[e+11]},t.prototype._parsePMT=function(t,e,n,r){var i,o=void 0,a={audio:-1,avc:-1,id3:-1,isAAC:!0};for(i=e+3+((15&t[e+1])<<8|t[e+2])-4,e+=12+((15&t[e+10])<<8|t[e+11]);e<i;){switch(o=(31&t[e+1])<<8|t[e+2],t[e]){case 207:if(!r){u.b.log("unkown stream type:"+t[e]);break}case 15:-1===a.audio&&(a.audio=o);break;case 21:-1===a.id3&&(a.id3=o);break;case 219:if(!r){u.b.log("unkown stream type:"+t[e]);break}case 27:-1===a.avc&&(a.avc=o);break;case 3:case 4:n?-1===a.audio&&(a.audio=o,a.isAAC=!1):u.b.log("MPEG audio found, not supported in this browser for now");break;case 36:u.b.warn("HEVC stream type found, not supported for now");break;default:u.b.log("unkown stream type:"+t[e])}e+=5+((15&t[e+3])<<8|t[e+4])}return a},t.prototype._parsePES=function(t){var e=0,n=void 0,r=void 0,i=void 0,o=void 0,a=void 0,s=void 0,c=void 0,l=void 0,f=t.data;if(!t||0===t.size)return null;for(;f[0].length<19&&f.length>1;){var p=new Uint8Array(f[0].length+f[1].length);p.set(f[0]),p.set(f[1],f[0].length),f[0]=p,f.splice(1,1)}if(1===((n=f[0])[0]<<16)+(n[1]<<8)+n[2]){if((i=(n[4]<<8)+n[5])&&i>t.size-6)return null;192&(r=n[7])&&((s=536870912*(14&n[9])+4194304*(255&n[10])+16384*(254&n[11])+128*(255&n[12])+(254&n[13])/2)>4294967295&&(s-=8589934592),64&r?((c=536870912*(14&n[14])+4194304*(255&n[15])+16384*(254&n[16])+128*(255&n[17])+(254&n[18])/2)>4294967295&&(c-=8589934592),s-c>54e5&&(u.b.warn(Math.round((s-c)/9e4)+"s delta between PTS and DTS, align them"),s=c)):c=s),l=(o=n[8])+9,t.size-=l,a=new Uint8Array(t.size);for(var d=0,h=f.length;d<h;d++){var v=(n=f[d]).byteLength;if(l){if(l>v){l-=v;continue}n=n.subarray(l),v-=l,l=0}a.set(n,e),e+=v}return i&&(i-=o+3),{data:a,pts:s,dts:c,len:i}}return null},t.prototype.pushAccesUnit=function(t,e){if(t.units.length&&t.frame){var n=e.samples,r=n.length;!this.config.forceKeyFrameOnDiscontinuity||!0===t.key||e.sps&&(r||this.contiguous)?(t.id=r,n.push(t)):e.dropped++}t.debug.length&&u.b.log(t.pts+"/"+t.dts+":"+t.debug)},t.prototype._parseAVCPES=function(t,e){var n=this,r=this._avcTrack,i=this._parseAVCNALu(t.data),o=void 0,a=this.avcSample,s=void 0,u=!1,c=void 0,l=this.pushAccesUnit.bind(this),f=function(t,e,n,r){return{key:t,pts:e,dts:n,units:[],debug:r}};t.data=null,a&&i.length&&!r.audFound&&(l(a,r),a=this.avcSample=f(!1,t.pts,t.dts,"")),i.forEach(function(e){switch(e.type){case 1:s=!0,a||(a=n.avcSample=f(!0,t.pts,t.dts,"")),a.frame=!0;var i=e.data;if(u&&i.length>4){var p=new A(i).readSliceType();2!==p&&4!==p&&7!==p&&9!==p||(a.key=!0)}break;case 5:s=!0,a||(a=n.avcSample=f(!0,t.pts,t.dts,"")),a.key=!0,a.frame=!0;break;case 6:s=!0,(o=new A(n.discardEPB(e.data))).readUByte();for(var d=0,h=0,v=!1,y=0;!v&&o.bytesAvailable>1;){d=0;do{d+=y=o.readUByte()}while(255===y);h=0;do{h+=y=o.readUByte()}while(255===y);if(4===d&&0!==o.bytesAvailable){if(v=!0,181===o.readUByte()&&49===o.readUShort()&&1195456820===o.readUInt()&&3===o.readUByte()){var m=o.readUByte(),g=31&m,b=[m,o.readUByte()];for(c=0;c<g;c++)b.push(o.readUByte()),b.push(o.readUByte()),b.push(o.readUByte());n._insertSampleInOrder(n._txtTrack.samples,{type:3,pts:t.pts,bytes:b})}}else if(h<o.bytesAvailable)for(c=0;c<h;c++)o.readUByte()}break;case 7:if(s=!0,u=!0,!r.sps){var T=(o=new A(e.data)).readSPS();r.width=T.width,r.height=T.height,r.pixelRatio=T.pixelRatio,r.sps=[e.data],r.duration=n._duration;var _=e.data.subarray(1,4),S="avc1.";for(c=0;c<3;c++){var x=_[c].toString(16);x.length<2&&(x="0"+x),S+=x}r.codec=S}break;case 8:s=!0,r.pps||(r.pps=[e.data]);break;case 9:s=!1,r.audFound=!0,a&&l(a,r),a=n.avcSample=f(!1,t.pts,t.dts,"");break;case 12:s=!1;break;default:s=!1,a&&(a.debug+="unknown NAL "+e.type+" ")}a&&s&&a.units.push(e)}),e&&a&&(l(a,r),this.avcSample=null)},t.prototype._insertSampleInOrder=function(t,e){var n=t.length;if(n>0){if(e.pts>=t[n-1].pts)t.push(e);else for(var r=n-1;r>=0;r--)if(e.pts<t[r].pts){t.splice(r,0,e);break}}else t.push(e)},t.prototype._getLastNalUnit=function(){var t=this.avcSample,e=void 0;if(!t||0===t.units.length){var n=this._avcTrack.samples;t=n[n.length-1]}if(t){var r=t.units;e=r[r.length-1]}return e},t.prototype._parseAVCNALu=function(t){var e=0,n=t.byteLength,r=void 0,i=void 0,o=this._avcTrack,a=o.naluState||0,s=a,u=[],c=void 0,l=-1,f=void 0;for(-1===a&&(l=0,f=31&t[0],a=0,e=1);e<n;)if(r=t[e++],a)if(1!==a)if(r)if(1===r){if(l>=0)c={data:t.subarray(l,e-a-1),type:f},u.push(c);else{var p=this._getLastNalUnit();if(p&&(s&&e<=4-s&&p.state&&(p.data=p.data.subarray(0,p.data.byteLength-s)),(i=e-a-1)>0)){var d=new Uint8Array(p.data.byteLength+i);d.set(p.data,0),d.set(t.subarray(0,i),p.data.byteLength),p.data=d}}e<n?(l=e,f=31&t[e],a=0):a=-1}else a=0;else a=3;else a=r?0:2;else a=r?0:1;if(l>=0&&a>=0&&(c={data:t.subarray(l,n),type:f,state:a},u.push(c)),0===u.length){var h=this._getLastNalUnit();if(h){var v=new Uint8Array(h.data.byteLength+t.byteLength);v.set(h.data,0),v.set(t,h.data.byteLength),h.data=v}}return o.naluState=a,u},t.prototype.discardEPB=function(t){for(var e,n=t.byteLength,r=[],i=1,o=void 0;i<n-2;)0===t[i]&&0===t[i+1]&&3===t[i+2]?(r.push(i+2),i+=2):i++;if(0===r.length)return t;e=n-r.length,o=new Uint8Array(e);var a=0;for(i=0;i<e;a++,i++)a===r[0]&&(a++,r.shift()),o[i]=t[a];return o},t.prototype._parseAACPES=function(t){var e,n,o=this._audioTrack,a=t.data,s=t.pts,c=this.aacOverFlow,l=this.aacLastPTS,f=void 0,p=void 0,h=void 0;if(c){var g=new Uint8Array(c.byteLength+a.byteLength);g.set(c,0),g.set(a,c.byteLength),a=g}for(p=0,n=a.length;p<n-1&&!d(a,p);p++);if(p){var b=void 0,T=void 0;if(p<n-1?(b="AAC PES did not start with ADTS header,offset:"+p,T=!1):(b="no ADTS header found in AAC PES",T=!0),u.b.warn("parsing error:"+b),this.observer.trigger(r.a.ERROR,{type:i.b.MEDIA_ERROR,details:i.a.FRAG_PARSING_ERROR,fatal:T,reason:b}),T)return}if(v(o,this.observer,a,p,this.audioCodec),f=0,e=y(o.samplerate),c&&l){var _=l+e;Math.abs(_-s)>1&&(u.b.log("AAC: align PTS for overlapping frames by "+Math.round((_-s)/90)),s=_)}for(;p<n;)if(d(a,p)&&p+5<n){var S=m(o,a,p,s,f);if(!S)break;p+=S.length,h=S.sample.pts,f++}else p++;c=p<n?a.subarray(p,n):null,this.aacOverFlow=c,this.aacLastPTS=h},t.prototype._parseMPEGPES=function(t){for(var e=t.data,n=e.length,r=0,i=0,o=t.pts;i<n;)if(S.isHeader(e,i)){var a=S.appendFrame(this._audioTrack,e,i,o,r);if(!a)break;i+=a.length,r++}else i++},t.prototype._parseID3PES=function(t){this._id3Track.samples.push(t)},t}(),O=function(){function t(e,n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observer=e,this.config=r,this.remuxer=n}return t.prototype.resetInitSegment=function(t,e,n,r){this._audioTrack={container:"audio/mpeg",type:"audio",id:-1,sequenceNumber:0,isAAC:!1,samples:[],len:0,manifestCodec:e,duration:r,inputTimeScale:9e4}},t.prototype.resetTimeStamp=function(){},t.probe=function(t){var e=void 0,n=void 0,r=g.a.getID3Data(t,0);if(r&&void 0!==g.a.getTimeStamp(r))for(e=r.length,n=Math.min(t.length-1,e+100);e<n;e++)if(S.probe(t,e))return u.b.log("MPEG Audio sync word found !"),!0;return!1},t.prototype.append=function(t,e,n,r){for(var i=g.a.getID3Data(t,0),o=g.a.getTimeStamp(i),a=o?90*o:9e4*e,s=i.length,u=t.length,c=0,l=0,f=this._audioTrack,p=[{pts:a,dts:a,data:i}];s<u;)if(S.isHeader(t,s)){var d=S.appendFrame(f,t,s,a,c);if(!d)break;s+=d.length,l=d.sample.pts,c++}else g.a.isHeader(t,s)?(i=g.a.getID3Data(t,s),p.push({pts:l,dts:l,data:i}),s+=i.length):s++;this.remuxer.remux(f,{samples:[]},{samples:p,inputTimeScale:9e4},{samples:[]},e,n,r)},t.prototype.destroy=function(){},t}(),P=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.getSilentFrame=function(t,e){switch(t){case"mp4a.40.2":if(1===e)return new Uint8Array([0,200,0,128,35,128]);if(2===e)return new Uint8Array([33,0,73,144,2,25,0,35,128]);if(3===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,142]);if(4===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,128,44,128,8,2,56]);if(5===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,56]);if(6===e)return new Uint8Array([0,200,0,128,32,132,1,38,64,8,100,0,130,48,4,153,0,33,144,2,0,178,0,32,8,224]);break;default:if(1===e)return new Uint8Array([1,64,34,128,163,78,230,128,186,8,0,0,0,28,6,241,193,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(2===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94]);if(3===e)return new Uint8Array([1,64,34,128,163,94,230,128,186,8,0,0,0,0,149,0,6,241,161,10,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,90,94])}return null},t}(),C=Math.pow(2,32)-1,M=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.init=function(){t.types={avc1:[],avcC:[],btrt:[],dinf:[],dref:[],esds:[],ftyp:[],hdlr:[],mdat:[],mdhd:[],mdia:[],mfhd:[],minf:[],moof:[],moov:[],mp4a:[],".mp3":[],mvex:[],mvhd:[],pasp:[],sdtp:[],stbl:[],stco:[],stsc:[],stsd:[],stsz:[],stts:[],tfdt:[],tfhd:[],traf:[],trak:[],trun:[],trex:[],tkhd:[],vmhd:[],smhd:[]};var e=void 0;for(e in t.types)t.types.hasOwnProperty(e)&&(t.types[e]=[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]);var n=new Uint8Array([0,0,0,0,0,0,0,0,118,105,100,101,0,0,0,0,0,0,0,0,0,0,0,0,86,105,100,101,111,72,97,110,100,108,101,114,0]),r=new Uint8Array([0,0,0,0,0,0,0,0,115,111,117,110,0,0,0,0,0,0,0,0,0,0,0,0,83,111,117,110,100,72,97,110,100,108,101,114,0]);t.HDLR_TYPES={video:n,audio:r};var i=new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,12,117,114,108,32,0,0,0,1]),o=new Uint8Array([0,0,0,0,0,0,0,0]);t.STTS=t.STSC=t.STCO=o,t.STSZ=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0]),t.VMHD=new Uint8Array([0,0,0,1,0,0,0,0,0,0,0,0]),t.SMHD=new Uint8Array([0,0,0,0,0,0,0,0]),t.STSD=new Uint8Array([0,0,0,0,0,0,0,1]);var a=new Uint8Array([105,115,111,109]),s=new Uint8Array([97,118,99,49]),u=new Uint8Array([0,0,0,1]);t.FTYP=t.box(t.types.ftyp,a,u,a,s),t.DINF=t.box(t.types.dinf,t.box(t.types.dref,i))},t.box=function(t){for(var e=Array.prototype.slice.call(arguments,1),n=8,r=e.length,i=r,o=void 0;r--;)n+=e[r].byteLength;for((o=new Uint8Array(n))[0]=n>>24&255,o[1]=n>>16&255,o[2]=n>>8&255,o[3]=255&n,o.set(t,4),r=0,n=8;r<i;r++)o.set(e[r],n),n+=e[r].byteLength;return o},t.hdlr=function(e){return t.box(t.types.hdlr,t.HDLR_TYPES[e])},t.mdat=function(e){return t.box(t.types.mdat,e)},t.mdhd=function(e,n){n*=e;var r=Math.floor(n/(C+1)),i=Math.floor(n%(C+1));return t.box(t.types.mdhd,new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24,r>>16&255,r>>8&255,255&r,i>>24,i>>16&255,i>>8&255,255&i,85,196,0,0]))},t.mdia=function(e){return t.box(t.types.mdia,t.mdhd(e.timescale,e.duration),t.hdlr(e.type),t.minf(e))},t.mfhd=function(e){return t.box(t.types.mfhd,new Uint8Array([0,0,0,0,e>>24,e>>16&255,e>>8&255,255&e]))},t.minf=function(e){return"audio"===e.type?t.box(t.types.minf,t.box(t.types.smhd,t.SMHD),t.DINF,t.stbl(e)):t.box(t.types.minf,t.box(t.types.vmhd,t.VMHD),t.DINF,t.stbl(e))},t.moof=function(e,n,r){return t.box(t.types.moof,t.mfhd(e),t.traf(r,n))},t.moov=function(e){for(var n=e.length,r=[];n--;)r[n]=t.trak(e[n]);return t.box.apply(null,[t.types.moov,t.mvhd(e[0].timescale,e[0].duration)].concat(r).concat(t.mvex(e)))},t.mvex=function(e){for(var n=e.length,r=[];n--;)r[n]=t.trex(e[n]);return t.box.apply(null,[t.types.mvex].concat(r))},t.mvhd=function(e,n){n*=e;var r=Math.floor(n/(C+1)),i=Math.floor(n%(C+1)),o=new Uint8Array([1,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,e>>24&255,e>>16&255,e>>8&255,255&e,r>>24,r>>16&255,r>>8&255,255&r,i>>24,i>>16&255,i>>8&255,255&i,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,255,255,255,255]);return t.box(t.types.mvhd,o)},t.sdtp=function(e){var n=e.samples||[],r=new Uint8Array(4+n.length),i=void 0,o=void 0;for(o=0;o<n.length;o++)i=n[o].flags,r[o+4]=i.dependsOn<<4|i.isDependedOn<<2|i.hasRedundancy;return t.box(t.types.sdtp,r)},t.stbl=function(e){return t.box(t.types.stbl,t.stsd(e),t.box(t.types.stts,t.STTS),t.box(t.types.stsc,t.STSC),t.box(t.types.stsz,t.STSZ),t.box(t.types.stco,t.STCO))},t.avc1=function(e){var n=[],r=[],i=void 0,o=void 0,a=void 0;for(i=0;i<e.sps.length;i++)a=(o=e.sps[i]).byteLength,n.push(a>>>8&255),n.push(255&a),n=n.concat(Array.prototype.slice.call(o));for(i=0;i<e.pps.length;i++)a=(o=e.pps[i]).byteLength,r.push(a>>>8&255),r.push(255&a),r=r.concat(Array.prototype.slice.call(o));var s=t.box(t.types.avcC,new Uint8Array([1,n[3],n[4],n[5],255,224|e.sps.length].concat(n).concat([e.pps.length]).concat(r))),u=e.width,c=e.height,l=e.pixelRatio[0],f=e.pixelRatio[1];return t.box(t.types.avc1,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,u>>8&255,255&u,c>>8&255,255&c,0,72,0,0,0,72,0,0,0,0,0,0,0,1,18,100,97,105,108,121,109,111,116,105,111,110,47,104,108,115,46,106,115,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,17,17]),s,t.box(t.types.btrt,new Uint8Array([0,28,156,128,0,45,198,192,0,45,198,192])),t.box(t.types.pasp,new Uint8Array([l>>24,l>>16&255,l>>8&255,255&l,f>>24,f>>16&255,f>>8&255,255&f])))},t.esds=function(t){var e=t.config.length;return new Uint8Array([0,0,0,0,3,23+e,0,1,0,4,15+e,64,21,0,0,0,0,0,0,0,0,0,0,0,5].concat([e]).concat(t.config).concat([6,1,2]))},t.mp4a=function(e){var n=e.samplerate;return t.box(t.types.mp4a,new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]),t.box(t.types.esds,t.esds(e)))},t.mp3=function(e){var n=e.samplerate;return t.box(t.types[".mp3"],new Uint8Array([0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,e.channelCount,0,16,0,0,0,0,n>>8&255,255&n,0,0]))},t.stsd=function(e){return"audio"===e.type?e.isAAC||"mp3"!==e.codec?t.box(t.types.stsd,t.STSD,t.mp4a(e)):t.box(t.types.stsd,t.STSD,t.mp3(e)):t.box(t.types.stsd,t.STSD,t.avc1(e))},t.tkhd=function(e){var n=e.id,r=e.duration*e.timescale,i=e.width,o=e.height,a=Math.floor(r/(C+1)),s=Math.floor(r%(C+1));return t.box(t.types.tkhd,new Uint8Array([1,0,0,7,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,3,n>>24&255,n>>16&255,n>>8&255,255&n,0,0,0,0,a>>24,a>>16&255,a>>8&255,255&a,s>>24,s>>16&255,s>>8&255,255&s,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,64,0,0,0,i>>8&255,255&i,0,0,o>>8&255,255&o,0,0]))},t.traf=function(e,n){var r=t.sdtp(e),i=e.id,o=Math.floor(n/(C+1)),a=Math.floor(n%(C+1));return t.box(t.types.traf,t.box(t.types.tfhd,new Uint8Array([0,0,0,0,i>>24,i>>16&255,i>>8&255,255&i])),t.box(t.types.tfdt,new Uint8Array([1,0,0,0,o>>24,o>>16&255,o>>8&255,255&o,a>>24,a>>16&255,a>>8&255,255&a])),t.trun(e,r.length+16+20+8+16+8+8),r)},t.trak=function(e){return e.duration=e.duration||4294967295,t.box(t.types.trak,t.tkhd(e),t.mdia(e))},t.trex=function(e){var n=e.id;return t.box(t.types.trex,new Uint8Array([0,0,0,0,n>>24,n>>16&255,n>>8&255,255&n,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,1]))},t.trun=function(e,n){var r=e.samples||[],i=r.length,o=12+16*i,a=new Uint8Array(o),s=void 0,u=void 0,c=void 0,l=void 0,f=void 0,p=void 0;for(n+=8+o,a.set([0,0,15,1,i>>>24&255,i>>>16&255,i>>>8&255,255&i,n>>>24&255,n>>>16&255,n>>>8&255,255&n],0),s=0;s<i;s++)c=(u=r[s]).duration,l=u.size,f=u.flags,p=u.cts,a.set([c>>>24&255,c>>>16&255,c>>>8&255,255&c,l>>>24&255,l>>>16&255,l>>>8&255,255&l,f.isLeading<<2|f.dependsOn,f.isDependedOn<<6|f.hasRedundancy<<4|f.paddingValue<<1|f.isNonSync,61440&f.degradPrio,15&f.degradPrio,p>>>24&255,p>>>16&255,p>>>8&255,255&p],12+16*s);return t.box(t.types.trun,a)},t.initSegment=function(e){t.types||t.init();var n=t.moov(e),r=void 0;return(r=new Uint8Array(t.FTYP.byteLength+n.byteLength)).set(t.FTYP),r.set(n,t.FTYP.byteLength),r},t}(),L=function(){function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observer=e,this.config=n,this.typeSupported=r;var o=navigator.userAgent;this.isSafari=i&&i.indexOf("Apple")>-1&&o&&!o.match("CriOS"),this.ISGenerated=!1}return t.prototype.destroy=function(){},t.prototype.resetTimeStamp=function(t){this._initPTS=this._initDTS=t},t.prototype.resetInitSegment=function(){this.ISGenerated=!1},t.prototype.remux=function(t,e,n,i,o,a,s){if(this.ISGenerated||this.generateIS(t,e,o),this.ISGenerated){var c=t.samples.length,l=e.samples.length,f=o,p=o;if(c&&l){var d=(t.samples[0].dts-e.samples[0].dts)/e.inputTimeScale;f+=Math.max(0,d),p+=Math.max(0,-d)}if(c){t.timescale||(u.b.warn("regenerate InitSegment as audio detected"),this.generateIS(t,e,o));var h=this.remuxAudio(t,f,a,s);if(l){var v=void 0;h&&(v=h.endPTS-h.startPTS),e.timescale||(u.b.warn("regenerate InitSegment as video detected"),this.generateIS(t,e,o)),this.remuxVideo(e,p,a,v,s)}}else if(l){var y=this.remuxVideo(e,p,a,0,s);y&&t.codec&&this.remuxEmptyAudio(t,f,a,y)}}n.samples.length&&this.remuxID3(n,o),i.samples.length&&this.remuxText(i,o),this.observer.trigger(r.a.FRAG_PARSED)},t.prototype.generateIS=function(t,e,n){var o=this.observer,a=t.samples,s=e.samples,c=this.typeSupported,l="audio/mp4",f={},p={tracks:f},d=void 0===this._initPTS,h=void 0,v=void 0;if(d&&(h=v=1/0),t.config&&a.length&&(t.timescale=t.samplerate,u.b.log("audio sampling rate : "+t.samplerate),t.isAAC||(c.mpeg?(l="audio/mpeg",t.codec=""):c.mp3&&(t.codec="mp3")),f.audio={container:l,codec:t.codec,initSegment:!t.isAAC&&c.mpeg?new Uint8Array:M.initSegment([t]),metadata:{channelCount:t.channelCount}},d&&(h=v=a[0].pts-t.inputTimeScale*n)),e.sps&&e.pps&&s.length){var y=e.inputTimeScale;e.timescale=y,f.video={container:"video/mp4",codec:e.codec,initSegment:M.initSegment([e]),metadata:{width:e.width,height:e.height}},d&&(h=Math.min(h,s[0].pts-y*n),v=Math.min(v,s[0].dts-y*n),this.observer.trigger(r.a.INIT_PTS_FOUND,{initPTS:h}))}Object.keys(f).length?(o.trigger(r.a.FRAG_PARSING_INIT_SEGMENT,p),this.ISGenerated=!0,d&&(this._initPTS=h,this._initDTS=v)):o.trigger(r.a.ERROR,{type:i.b.MEDIA_ERROR,details:i.a.FRAG_PARSING_ERROR,fatal:!1,reason:"no audio/video samples found"})},t.prototype.remuxVideo=function(t,e,n,o,a){var s,c,l,f=8,p=t.timescale,d=void 0,h=void 0,v=void 0,y=void 0,m=t.samples,g=[],b=m.length,T=this._PTSNormalize,_=this._initDTS,S=this.nextAvcDts,A=this.isSafari;if(0!==b){A&&(n|=m.length&&S&&(a&&Math.abs(e-S/p)<.1||Math.abs(m[0].pts-S-_)<p/5)),n||(S=e*p),m.forEach(function(t){t.pts=T(t.pts-_,S),t.dts=T(t.dts-_,S)}),m.sort(function(t,e){var n=t.dts-e.dts,r=t.pts-e.pts;return n||r||t.id-e.id});var x=m.reduce(function(t,e){return Math.max(Math.min(t,e.pts-e.dts),-18e3)},0);if(x<0){u.b.warn("PTS < DTS detected in video samples, shifting DTS by "+Math.round(x/90)+" ms to overcome this issue");for(var w=0;w<m.length;w++)m[w].dts+=x}var E=m[0];y=Math.max(E.dts,0),v=Math.max(E.pts,0);var O=Math.round((y-S)/90);n&&O&&(O>1?u.b.log("AVC:"+O+" ms hole between fragments detected,filling it"):O<-1&&u.b.log("AVC:"+-O+" ms overlapping between fragments detected"),y=S,m[0].dts=y,v=Math.max(v-O,S),m[0].pts=v,u.b.log("Video/PTS/DTS adjusted: "+Math.round(v/90)+"/"+Math.round(y/90)+",delta:"+O+" ms")),E=m[m.length-1],l=Math.max(E.dts,0),c=Math.max(E.pts,0,l),A&&(d=Math.round((l-y)/(m.length-1)));for(var P=0,C=0,L=0;L<b;L++){for(var R=m[L],k=R.units,D=k.length,I=0,N=0;N<D;N++)I+=k[N].data.length;C+=I,P+=D,R.length=I,R.dts=A?y+L*d:Math.max(R.dts,y),R.pts=Math.max(R.pts,R.dts)}var B=C+4*P+8;try{h=new Uint8Array(B)}catch(t){return void this.observer.trigger(r.a.ERROR,{type:i.b.MUX_ERROR,details:i.a.REMUX_ALLOC_ERROR,fatal:!1,bytes:B,reason:"fail allocating video mdat "+B})}var G=new DataView(h.buffer);G.setUint32(0,B),h.set(M.types.mdat,4);for(var F=0;F<b;F++){for(var j=m[F],H=j.units,U=0,W=void 0,V=0,K=H.length;V<K;V++){var $=H[V],z=$.data,X=$.data.byteLength;G.setUint32(f,X),f+=4,h.set(z,f),f+=X,U+=4+X}if(A)W=Math.max(0,d*Math.round((j.pts-j.dts)/d));else{if(F<b-1)d=m[F+1].dts-j.dts;else{var q=this.config,Y=j.dts-m[F>0?F-1:F].dts;if(q.stretchShortVideoTrack){var Q=q.maxBufferHole,J=Math.floor(Q*p),Z=(o?v+o*p:this.nextAudioPts)-j.pts;Z>J?((d=Z-Y)<0&&(d=Y),u.b.log("It is approximately "+Z/90+" ms to the next segment; using duration "+d/90+" ms for the last video frame.")):d=Y}else d=Y}W=Math.round(j.pts-j.dts)}g.push({size:U,duration:d,cts:W,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:j.key?2:1,isNonSync:j.key?0:1}})}this.nextAvcDts=l+d;var tt=t.dropped;if(t.len=0,t.nbNalu=0,t.dropped=0,g.length&&navigator.userAgent.toLowerCase().indexOf("chrome")>-1){var et=g[0].flags;et.dependsOn=2,et.isNonSync=0}t.samples=g,s=M.moof(t.sequenceNumber++,y,t),t.samples=[];var nt={data1:s,data2:h,startPTS:v/p,endPTS:(c+d)/p,startDTS:y/p,endDTS:this.nextAvcDts/p,type:"video",hasAudio:!1,hasVideo:!0,nb:g.length,dropped:tt};return this.observer.trigger(r.a.FRAG_PARSING_DATA,nt),nt}},t.prototype.remuxAudio=function(t,e,n,o){var a=t.inputTimeScale,s=t.timescale,c=a/s,l=(t.isAAC?1024:1152)*c,f=this._PTSNormalize,p=this._initDTS,d=!t.isAAC&&this.typeSupported.mpeg,h=void 0,v=void 0,y=void 0,m=void 0,g=void 0,b=void 0,T=void 0,_=t.samples,S=[],A=this.nextAudioPts;if(n|=_.length&&A&&(o&&Math.abs(e-A/a)<.1||Math.abs(_[0].pts-A-p)<20*l),_.forEach(function(t){t.pts=t.dts=f(t.pts-p,e*a)}),0!==(_=_.filter(function(t){return t.pts>=0})).length){if(n||(A=o?e*a:_[0].pts),t.isAAC)for(var x=this.config.maxAudioFramesDrift,w=0,E=A;w<_.length;){var O,C=_[w];O=C.pts-E;var L=Math.abs(1e3*O/a);if(O<=-x*l)u.b.warn("Dropping 1 audio frame @ "+(E/a).toFixed(3)+"s due to "+Math.round(L)+" ms overlap."),_.splice(w,1),t.len-=C.unit.length;else if(O>=x*l&&L<1e4&&E){var R=Math.round(O/l);u.b.warn("Injecting "+R+" audio frame @ "+(E/a).toFixed(3)+"s due to "+Math.round(1e3*O/a)+" ms gap.");for(var k=0;k<R;k++){var D=Math.max(E,0);(y=P.getSilentFrame(t.manifestCodec||t.codec,t.channelCount))||(u.b.log("Unable to get silent frame for given audio codec; duplicating last frame instead."),y=C.unit.subarray()),_.splice(w,0,{unit:y,pts:D,dts:D}),t.len+=y.length,E+=l,w++}C.pts=C.dts=E,E+=l,w++}else Math.abs(O),C.pts=C.dts=E,E+=l,w++}for(var I=0,N=_.length;I<N;I++){var B=_[I],G=B.unit,F=B.pts;if(void 0!==T)v.duration=Math.round((F-T)/c);else{var j=Math.round(1e3*(F-A)/a),H=0;if(n&&t.isAAC&&j){if(j>0&&j<1e4)H=Math.round((F-A)/l),u.b.log(j+" ms hole between AAC samples detected,filling it"),H>0&&((y=P.getSilentFrame(t.manifestCodec||t.codec,t.channelCount))||(y=G.subarray()),t.len+=H*y.length);else if(j<-12){u.b.log("drop overlapping AAC sample, expected/parsed/delta:"+(A/a).toFixed(3)+"s/"+(F/a).toFixed(3)+"s/"+-j+"ms"),t.len-=G.byteLength;continue}F=A}if(b=F,!(t.len>0))return;var U=d?t.len:t.len+8;h=d?0:8;try{m=new Uint8Array(U)}catch(t){return void this.observer.trigger(r.a.ERROR,{type:i.b.MUX_ERROR,details:i.a.REMUX_ALLOC_ERROR,fatal:!1,bytes:U,reason:"fail allocating audio mdat "+U})}d||(new DataView(m.buffer).setUint32(0,U),m.set(M.types.mdat,4));for(var W=0;W<H;W++)(y=P.getSilentFrame(t.manifestCodec||t.codec,t.channelCount))||(u.b.log("Unable to get silent frame for given audio codec; duplicating this frame instead."),y=G.subarray()),m.set(y,h),h+=y.byteLength,v={size:y.byteLength,cts:0,duration:1024,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(v)}m.set(G,h);var V=G.byteLength;h+=V,v={size:V,cts:0,duration:0,flags:{isLeading:0,isDependedOn:0,hasRedundancy:0,degradPrio:0,dependsOn:1}},S.push(v),T=F}var K=0,$=S.length;if($>=2&&(K=S[$-2].duration,v.duration=K),$){this.nextAudioPts=A=T+c*K,t.len=0,t.samples=S,g=d?new Uint8Array:M.moof(t.sequenceNumber++,b/c,t),t.samples=[];var z=b/a,X=A/a,q={data1:g,data2:m,startPTS:z,endPTS:X,startDTS:z,endDTS:X,type:"audio",hasAudio:!0,hasVideo:!1,nb:$};return this.observer.trigger(r.a.FRAG_PARSING_DATA,q),q}return null}},t.prototype.remuxEmptyAudio=function(t,e,n,r){var i=t.inputTimeScale,o=i/(t.samplerate?t.samplerate:i),a=this.nextAudioPts,s=(void 0!==a?a:r.startDTS*i)+this._initDTS,c=r.endDTS*i+this._initDTS,l=1024*o,f=Math.ceil((c-s)/l),p=P.getSilentFrame(t.manifestCodec||t.codec,t.channelCount);if(u.b.warn("remux empty Audio"),p){for(var d=[],h=0;h<f;h++){var v=s+h*l;d.push({unit:p,pts:v,dts:v}),t.len+=p.length}t.samples=d,this.remuxAudio(t,e,n)}else u.b.trace("Unable to remuxEmptyAudio since we were unable to get a silent frame for given audio codec!")},t.prototype.remuxID3=function(t,e){var n=t.samples.length,i=void 0,o=t.inputTimeScale,a=this._initPTS,s=this._initDTS;if(n){for(var u=0;u<n;u++)(i=t.samples[u]).pts=(i.pts-a)/o,i.dts=(i.dts-s)/o;this.observer.trigger(r.a.FRAG_PARSING_METADATA,{samples:t.samples})}t.samples=[],e=e},t.prototype.remuxText=function(t,e){t.samples.sort(function(t,e){return t.pts-e.pts});var n=t.samples.length,i=void 0,o=t.inputTimeScale,a=this._initPTS;if(n){for(var s=0;s<n;s++)(i=t.samples[s]).pts=(i.pts-a)/o;this.observer.trigger(r.a.FRAG_PARSING_USERDATA,{samples:t.samples})}t.samples=[],e=e},t.prototype._PTSNormalize=function(t,e){var n=void 0;if(void 0===e)return t;for(n=e<t?-8589934592:8589934592;Math.abs(t-e)>4294967296;)t+=n;return t},t}(),R=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observer=e}return t.prototype.destroy=function(){},t.prototype.resetTimeStamp=function(){},t.prototype.resetInitSegment=function(){},t.prototype.remux=function(t,e,n,i,o,a,s,u){var c=this.observer,l="";t&&(l+="audio"),e&&(l+="video"),c.trigger(r.a.FRAG_PARSING_DATA,{data1:u,startPTS:o,startDTS:o,type:l,hasAudio:!!t,hasVideo:!!e,nb:1,dropped:0}),c.trigger(r.a.FRAG_PARSED)},t}(),k=function(){function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.observer=e,this.typeSupported=n,this.config=r,this.vendor=i}return t.prototype.destroy=function(){var t=this.demuxer;t&&t.destroy()},t.prototype.push=function(t,e,n,i,o,a,s,u,l,f,p,d){if(t.byteLength>0&&null!=e&&null!=e.key&&"AES-128"===e.method){var h=this.decrypter;null==h&&(h=this.decrypter=new c(this.observer,this.config));var v=this,y=void 0;try{y=performance.now()}catch(t){y=Date.now()}h.decrypt(t,e.key.buffer,e.iv.buffer,function(t){var c=void 0;try{c=performance.now()}catch(t){c=Date.now()}v.observer.trigger(r.a.FRAG_DECRYPTED,{stats:{tstart:y,tdecrypt:c}}),v.pushDecrypted(new Uint8Array(t),e,new Uint8Array(n),i,o,a,s,u,l,f,p,d)})}else this.pushDecrypted(new Uint8Array(t),e,new Uint8Array(n),i,o,a,s,u,l,f,p,d)},t.prototype.pushDecrypted=function(t,e,n,o,a,s,u,c,l,f,p,d){var h=this.demuxer;if(!h||(u||c)&&!this.probe(t)){for(var v=this.observer,y=this.typeSupported,m=this.config,g=[{demux:E,remux:L},{demux:T.a,remux:R},{demux:b,remux:L},{demux:O,remux:L}],_=0,S=g.length;_<S;_++){var A=g[_],x=A.demux.probe;if(x(t)){var w=this.remuxer=new A.remux(v,m,y,this.vendor);h=new A.demux(v,w,m,y),this.probe=x;break}}if(!h)return void v.trigger(r.a.ERROR,{type:i.b.MEDIA_ERROR,details:i.a.FRAG_PARSING_ERROR,fatal:!0,reason:"no demux matching with content found"});this.demuxer=h}var P=this.remuxer;(u||c)&&(h.resetInitSegment(n,o,a,f),P.resetInitSegment()),u&&(h.resetTimeStamp(d),P.resetTimeStamp(d)),"function"==typeof h.setDecryptData&&h.setDecryptData(e),h.append(t,s,l,p)},t}();e.a=k},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(4),i=n.n(r),o=n(2),a=n(1),s=n(0),u="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},c=new Set(["hlsEventGeneric","hlsHandlerDestroying","hlsHandlerDestroyed"]),l=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hls=e,this.onEvent=this.onEvent.bind(this);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];this.handledEvents=r,this.useGenericHandler=!0,this.registerListeners()}return t.prototype.destroy=function(){this.onHandlerDestroying(),this.unregisterListeners(),this.onHandlerDestroyed()},t.prototype.onHandlerDestroying=function(){},t.prototype.onHandlerDestroyed=function(){},t.prototype.isEventHandler=function(){return"object"===u(this.handledEvents)&&this.handledEvents.length&&"function"==typeof this.onEvent},t.prototype.registerListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(t){if(c.has(t))throw new Error("Forbidden event-name: "+t);this.hls.on(t,this.onEvent)},this)},t.prototype.unregisterListeners=function(){this.isEventHandler()&&this.handledEvents.forEach(function(t){this.hls.off(t,this.onEvent)},this)},t.prototype.onEvent=function(t,e){this.onEventGeneric(t,e)},t.prototype.onEventGeneric=function(t,e){try{(function(t,e){var n="on"+t.replace("hls","");if("function"!=typeof this[n])throw new Error("Event "+t+" has no generic handler in this "+this.constructor.name+" class (tried "+n+")");return this[n].bind(this,e)}).call(this,t,e).call()}catch(e){s.b.error("An internal error happened while handling event "+t+'. Error message: "'+e.message+'". Here is a stacktrace:',e),this.hls.trigger(a.a.ERROR,{type:o.b.OTHER_ERROR,details:o.a.INTERNAL_EXCEPTION,fatal:!1,event:t,err:e})}},t}(),f=n(7),p=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),d=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.method=null,this.key=null,this.iv=null,this._uri=null}return p(t,[{key:"uri",get:function(){return!this._uri&&this.reluri&&(this._uri=i.a.buildAbsoluteURL(this.baseuri,this.reluri,{alwaysNormalize:!0})),this._uri}}]),t}(),h=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),v=function(){function t(){var e;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._url=null,this._byteRange=null,this._decryptdata=null,this.tagList=[],this._elementaryStreams=((e={})[t.ElementaryStreamTypes.AUDIO]=!1,e[t.ElementaryStreamTypes.VIDEO]=!1,e)}return t.prototype.addElementaryStream=function(t){this._elementaryStreams[t]=!0},t.prototype.hasElementaryStream=function(t){return!0===this._elementaryStreams[t]},t.prototype.createInitializationVector=function(t){for(var e=new Uint8Array(16),n=12;n<16;n++)e[n]=t>>8*(15-n)&255;return e},t.prototype.fragmentDecryptdataFromLevelkey=function(t,e){var n=t;return t&&t.method&&t.uri&&!t.iv&&((n=new d).method=t.method,n.baseuri=t.baseuri,n.reluri=t.reluri,n.iv=this.createInitializationVector(e)),n},h(t,[{key:"url",get:function(){return!this._url&&this.relurl&&(this._url=i.a.buildAbsoluteURL(this.baseurl,this.relurl,{alwaysNormalize:!0})),this._url},set:function(t){this._url=t}},{key:"programDateTime",get:function(){return!this._programDateTime&&this.rawProgramDateTime&&(this._programDateTime=new Date(Date.parse(this.rawProgramDateTime))),this._programDateTime}},{key:"byteRange",get:function(){if(!this._byteRange&&!this.rawByteRange)return[];if(this._byteRange)return this._byteRange;var t=[];if(this.rawByteRange){var e=this.rawByteRange.split("@",2);if(1===e.length){var n=this.lastByteRangeEndOffset;t[0]=n||0}else t[0]=parseInt(e[1]);t[1]=parseInt(e[0])+t[0],this._byteRange=t}return t}},{key:"byteRangeStartOffset",get:function(){return this.byteRange[0]}},{key:"byteRangeEndOffset",get:function(){return this.byteRange[1]}},{key:"decryptdata",get:function(){return this._decryptdata||(this._decryptdata=this.fragmentDecryptdataFromLevelkey(this.levelkey,this.sn)),this._decryptdata}}],[{key:"ElementaryStreamTypes",get:function(){return{AUDIO:"audio",VIDEO:"video"}}}]),t}(),y=/^(\d+)x(\d+)$/,m=/\s*(.+?)\s*=((?:\".*?\")|.*?)(?:,|$)/g,g=function(){function t(e){for(var n in function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),"string"==typeof e&&(e=t.parseAttrList(e)),e)e.hasOwnProperty(n)&&(this[n]=e[n])}return t.prototype.decimalInteger=function(t){var e=parseInt(this[t],10);return e>Number.MAX_SAFE_INTEGER?1/0:e},t.prototype.hexadecimalInteger=function(t){if(this[t]){var e=(this[t]||"0x").slice(2);e=(1&e.length?"0":"")+e;for(var n=new Uint8Array(e.length/2),r=0;r<e.length/2;r++)n[r]=parseInt(e.slice(2*r,2*r+2),16);return n}return null},t.prototype.hexadecimalIntegerAsNumber=function(t){var e=parseInt(this[t],16);return e>Number.MAX_SAFE_INTEGER?1/0:e},t.prototype.decimalFloatingPoint=function(t){return parseFloat(this[t])},t.prototype.enumeratedString=function(t){return this[t]},t.prototype.decimalResolution=function(t){var e=y.exec(this[t]);if(null!==e)return{width:parseInt(e[1],10),height:parseInt(e[2],10)}},t.parseAttrList=function(t){var e=void 0,n={};for(m.lastIndex=0;null!==(e=m.exec(t));){var r=e[2];0===r.indexOf('"')&&r.lastIndexOf('"')===r.length-1&&(r=r.slice(1,-1)),n[e[1]]=r}return n},t}(),b={audio:{a3ds:!0,"ac-3":!0,"ac-4":!0,alac:!0,alaw:!0,dra1:!0,"dts+":!0,"dts-":!0,dtsc:!0,dtse:!0,dtsh:!0,"ec-3":!0,enca:!0,g719:!0,g726:!0,m4ae:!0,mha1:!0,mha2:!0,mhm1:!0,mhm2:!0,mlpa:!0,mp4a:!0,"raw ":!0,Opus:!0,samr:!0,sawb:!0,sawp:!0,sevc:!0,sqcp:!0,ssmv:!0,twos:!0,ulaw:!0},video:{avc1:!0,avc2:!0,avc3:!0,avc4:!0,avcp:!0,drac:!0,dvav:!0,dvhe:!0,encv:!0,hev1:!0,hvc1:!0,mjp2:!0,mp4v:!0,mvc1:!0,mvc2:!0,mvc3:!0,mvc4:!0,resv:!0,rv60:!0,s263:!0,svc1:!0,svc2:!0,"vc-1":!0,vp08:!0,vp09:!0}};function T(t,e){return MediaSource.isTypeSupported((e||"video")+'/mp4;codecs="'+t+'"')}var _=/#EXT-X-STREAM-INF:([^\n\r]*)[\r\n]+([^\r\n]+)/g,S=/#EXT-X-MEDIA:(.*)/g,A=new RegExp([/#EXTINF:\s*(\d*(?:\.\d+)?)(?:,(.*)\s+)?/.source,/|(?!#)(\S+)/.source,/|#EXT-X-BYTERANGE:*(.+)/.source,/|#EXT-X-PROGRAM-DATE-TIME:(.+)/.source,/|#.*/.source].join(""),"g"),x=/(?:(?:#(EXTM3U))|(?:#EXT-X-(PLAYLIST-TYPE):(.+))|(?:#EXT-X-(MEDIA-SEQUENCE): *(\d+))|(?:#EXT-X-(TARGETDURATION): *(\d+))|(?:#EXT-X-(KEY):(.+))|(?:#EXT-X-(START):(.+))|(?:#EXT-X-(ENDLIST))|(?:#EXT-X-(DISCONTINUITY-SEQ)UENCE:(\d+))|(?:#EXT-X-(DIS)CONTINUITY))|(?:#EXT-X-(VERSION):(\d+))|(?:#EXT-X-(MAP):(.+))|(?:(#)(.*):(.*))|(?:(#)(.*))(?:.*)\r?\n?/,w=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}return t.findGroup=function(t,e){if(!t)return null;for(var n=null,r=0;r<t.length;r++){var i=t[r];i.id===e&&(n=i)}return n},t.convertAVC1ToAVCOTI=function(t){var e=void 0,n=t.split(".");return n.length>2?(e=n.shift()+".",e+=parseInt(n.shift()).toString(16),e+=("000"+parseInt(n.shift()).toString(16)).substr(-4)):e=t,e},t.resolve=function(t,e){return i.a.buildAbsoluteURL(e,t,{alwaysNormalize:!0})},t.parseMasterPlaylist=function(e,n){var r=[],i=void 0;function o(t,e){["video","audio"].forEach(function(n){var r=t.filter(function(t){return function(t,e){var n=b[e];return!!n&&!0===n[t.slice(0,4)]}(t,n)});if(r.length){var i=r.filter(function(t){return 0===t.lastIndexOf("avc1",0)||0===t.lastIndexOf("mp4a",0)});e[n+"Codec"]=i.length>0?i[0]:r[0],t=t.filter(function(t){return-1===r.indexOf(t)})}}),e.unknownCodecs=t}for(_.lastIndex=0;null!=(i=_.exec(e));){var a={},s=a.attrs=new g(i[1]);a.url=t.resolve(i[2],n);var u=s.decimalResolution("RESOLUTION");u&&(a.width=u.width,a.height=u.height),a.bitrate=s.decimalInteger("AVERAGE-BANDWIDTH")||s.decimalInteger("BANDWIDTH"),a.name=s.NAME,o([].concat((s.CODECS||"").split(/[ ,]+/)),a),a.videoCodec&&-1!==a.videoCodec.indexOf("avc1")&&(a.videoCodec=t.convertAVC1ToAVCOTI(a.videoCodec)),r.push(a)}return r},t.parseMasterPlaylistMedia=function(e,n,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],o=void 0,a=[],s=0;for(S.lastIndex=0;null!==(o=S.exec(e));){var u={},c=new g(o[1]);if(c.TYPE===r){if(u.groupId=c["GROUP-ID"],u.name=c.NAME,u.type=r,u.default="YES"===c.DEFAULT,u.autoselect="YES"===c.AUTOSELECT,u.forced="YES"===c.FORCED,c.URI&&(u.url=t.resolve(c.URI,n)),u.lang=c.LANGUAGE,u.name||(u.name=u.lang),i.length){var l=t.findGroup(i,u.groupId);u.audioCodec=l?l.codec:i[0].codec}u.id=s++,a.push(u)}}return a},t.parseLevelPlaylist=function(t,e,n,r){var i=0,o=0,a={type:null,version:null,url:e,fragments:[],live:!0,startSN:0},u=new d,c=0,l=null,f=new v,p=void 0,h=void 0;for(A.lastIndex=0;null!==(p=A.exec(t));){var y=p[1];if(y){f.duration=parseFloat(y);var m=(" "+p[2]).slice(1);f.title=m||null,f.tagList.push(m?["INF",y,m]:["INF",y])}else if(p[3]){if(!isNaN(f.duration)){var b=i++;f.type=r,f.start=o,f.levelkey=u,f.sn=b,f.level=n,f.cc=c,f.baseurl=e,f.relurl=(" "+p[3]).slice(1),a.programDateTime&&(l?f.rawProgramDateTime?f.pdt=Date.parse(f.rawProgramDateTime):f.pdt=l.pdt+1e3*l.duration:f.pdt=Date.parse(a.programDateTime),f.endPdt=f.pdt+1e3*f.duration),a.fragments.push(f),l=f,o+=f.duration,f=new v}}else if(p[4]){if(f.rawByteRange=(" "+p[4]).slice(1),l){var T=l.byteRangeEndOffset;T&&(f.lastByteRangeEndOffset=T)}}else if(p[5])f.rawProgramDateTime=(" "+p[5]).slice(1),f.tagList.push(["PROGRAM-DATE-TIME",f.rawProgramDateTime]),void 0===a.programDateTime&&(a.programDateTime=new Date(new Date(Date.parse(p[5]))-1e3*o));else{for(p=p[0].match(x),h=1;h<p.length&&void 0===p[h];h++);var _=(" "+p[h+1]).slice(1),S=(" "+p[h+2]).slice(1);switch(p[h]){case"#":f.tagList.push(S?[_,S]:[_]);break;case"PLAYLIST-TYPE":a.type=_.toUpperCase();break;case"MEDIA-SEQUENCE":i=a.startSN=parseInt(_);break;case"TARGETDURATION":a.targetduration=parseFloat(_);break;case"VERSION":a.version=parseInt(_);break;case"EXTM3U":break;case"ENDLIST":a.live=!1;break;case"DIS":c++,f.tagList.push(["DIS"]);break;case"DISCONTINUITY-SEQ":c=parseInt(_);break;case"KEY":var w=new g(_),E=w.enumeratedString("METHOD"),O=w.URI,P=w.hexadecimalInteger("IV");E&&(u=new d,O&&["AES-128","SAMPLE-AES","SAMPLE-AES-CENC"].indexOf(E)>=0&&(u.method=E,u.baseuri=e,u.reluri=O,u.key=null,u.iv=P));break;case"START":var C=new g(_).decimalFloatingPoint("TIME-OFFSET");isNaN(C)||(a.startTimeOffset=C);break;case"MAP":var M=new g(_);f.relurl=M.URI,f.rawByteRange=M.BYTERANGE,f.baseurl=e,f.level=n,f.type=r,f.sn="initSegment",a.initSegment=f,f=new v;break;default:s.b.warn("line parsed but not handled: "+p)}}}return(f=l)&&!f.relurl&&(a.fragments.pop(),o-=f.duration),a.totalduration=o,a.averagetargetduration=o/a.fragments.length,a.endSN=i-1,a.startCC=a.fragments[0]?a.fragments[0].cc:0,a.endCC=c,!a.initSegment&&a.fragments.length&&a.fragments.every(function(t){return t.relurl.endsWith(".mp4")})&&(s.b.warn("MP4 fragments found but no init segment (probably no MAP, incomplete M3U8), trying to fetch SIDX"),(f=new v).relurl=a.fragments[0].relurl,f.baseurl=e,f.level=n,f.type=r,f.sn="initSegment",a.initSegment=f,a.needSidxRanges=!0),a},t}(),E=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),O={MANIFEST:"manifest",LEVEL:"level",AUDIO_TRACK:"audioTrack",SUBTITLE_TRACK:"subtitleTrack"},P={MAIN:"main",AUDIO:"audio",SUBTITLE:"subtitle"},C=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.MANIFEST_LOADING,a.a.LEVEL_LOADING,a.a.AUDIO_TRACK_LOADING,a.a.SUBTITLE_TRACK_LOADING));return r.loaders={},r}return 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)}(e,t),e.canHaveQualityLevels=function(t){return t!==O.AUDIO_TRACK&&t!==O.SUBTITLE_TRACK},e.mapContextToLevelType=function(t){switch(t.type){case O.AUDIO_TRACK:return P.AUDIO;case O.SUBTITLE_TRACK:return P.SUBTITLE;default:return P.MAIN}},e.getResponseUrl=function(t,e){var n=t.url;return void 0!==n&&0!==n.indexOf("data:")||(n=e.url),n},e.prototype.createInternalLoader=function(t){var e=this.hls.config,n=e.pLoader,r=e.loader,i=new(n||r)(e);return t.loader=i,this.loaders[t.type]=i,i},e.prototype.getInternalLoader=function(t){return this.loaders[t.type]},e.prototype.resetInternalLoader=function(t){this.loaders[t]&&delete this.loaders[t]},e.prototype.destroyInternalLoaders=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy(),this.resetInternalLoader(t)}},e.prototype.destroy=function(){this.destroyInternalLoaders(),t.prototype.destroy.call(this)},e.prototype.onManifestLoading=function(t){this.load(t.url,{type:O.MANIFEST})},e.prototype.onLevelLoading=function(t){this.load(t.url,{type:O.LEVEL,level:t.level,id:t.id})},e.prototype.onAudioTrackLoading=function(t){this.load(t.url,{type:O.AUDIO_TRACK,id:t.id})},e.prototype.onSubtitleTrackLoading=function(t){this.load(t.url,{type:O.SUBTITLE_TRACK,id:t.id})},e.prototype.load=function(t,e){var n=this.hls.config,r=this.getInternalLoader(e);if(r){var i=r.context;if(i&&i.url===t)return s.b.trace("playlist request ongoing"),!1;s.b.warn("aborting previous loader for type: "+e.type),r.abort()}var o,a,u=void 0,c=void 0,l=void 0,f=void 0;switch(e.type){case O.MANIFEST:u=n.manifestLoadingMaxRetry,c=n.manifestLoadingTimeOut,l=n.manifestLoadingRetryDelay,f=n.manifestLoadingMaxRetryTimeout;break;case O.LEVEL:u=0,c=n.levelLoadingTimeOut;break;default:u=n.levelLoadingMaxRetry,c=n.levelLoadingTimeOut,l=n.levelLoadingRetryDelay,f=n.levelLoadingMaxRetryTimeout,s.b.log("Playlist loader for "+e.type+" "+(e.level||e.id))}return r=this.createInternalLoader(e),e.url=t,e.responseType=e.responseType||"",o={timeout:c,maxRetry:u,retryDelay:l,maxRetryDelay:f},a={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},r.load(e,o,a),!0},e.prototype.loadsuccess=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;if(n.isSidxRequest)return this._handleSidxRequest(t,n),void this._handlePlaylistLoaded(t,e,n,r);this.resetInternalLoader(n.type);var i=t.data;e.tload=performance.now(),0===i.indexOf("#EXTM3U")?i.indexOf("#EXTINF:")>0||i.indexOf("#EXT-X-TARGETDURATION:")>0?this._handleTrackOrLevelPlaylist(t,e,n,r):this._handleMasterPlaylist(t,e,n,r):this._handleManifestParsingError(t,n,"no EXTM3U delimiter",r)},e.prototype.loaderror=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._handleNetworkError(e,n)},e.prototype.loadtimeout=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._handleNetworkError(e,n,!0)},e.prototype._handleMasterPlaylist=function(t,n,r,i){var o=this.hls,u=t.data,c=e.getResponseUrl(t,r),l=w.parseMasterPlaylist(u,c);if(l.length){var f=l.map(function(t){return{id:t.attrs.AUDIO,codec:t.audioCodec}}),p=w.parseMasterPlaylistMedia(u,c,"AUDIO",f),d=w.parseMasterPlaylistMedia(u,c,"SUBTITLES");if(p.length){var h=!1;p.forEach(function(t){t.url||(h=!0)}),!1===h&&l[0].audioCodec&&!l[0].attrs.AUDIO&&(s.b.log("audio codec signaled in quality level, but no embedded audio track signaled, create one"),p.unshift({type:"main",name:"main"}))}o.trigger(a.a.MANIFEST_LOADED,{levels:l,audioTracks:p,subtitles:d,url:c,stats:n,networkDetails:i})}else this._handleManifestParsingError(t,r,"no level found in manifest",i)},e.prototype._handleTrackOrLevelPlaylist=function(t,n,r,i){var o=this.hls,s=r.id,u=r.level,c=r.type,l=e.getResponseUrl(t,r),f=isNaN(u)?isNaN(s)?0:s:u,p=e.mapContextToLevelType(r),d=w.parseLevelPlaylist(t.data,l,f,p);if(d.tload=n.tload,c===O.MANIFEST){var h={url:l,details:d};o.trigger(a.a.MANIFEST_LOADED,{levels:[h],audioTracks:[],url:l,stats:n,networkDetails:i})}if(n.tparsed=performance.now(),d.needSidxRanges){var v=d.initSegment.url;this.load(v,{isSidxRequest:!0,type:c,level:u,levelDetails:d,id:s,rangeStart:0,rangeEnd:2048,responseType:"arraybuffer"})}else r.levelDetails=d,this._handlePlaylistLoaded(t,n,r,i)},e.prototype._handleSidxRequest=function(t,e){var n=f.a.parseSegmentIndex(new Uint8Array(t.data));n.references.forEach(function(t,n){var r=t.info,i=e.levelDetails.fragments[n];0===i.byteRange.length&&(i.rawByteRange=String(1+r.end-r.start)+"@"+String(r.start))}),e.levelDetails.initSegment.rawByteRange=String(n.moovEndOffset)+"@0"},e.prototype._handleManifestParsingError=function(t,e,n,r){this.hls.trigger(a.a.ERROR,{type:o.b.NETWORK_ERROR,details:o.a.MANIFEST_PARSING_ERROR,fatal:!0,url:t.url,reason:n,networkDetails:r})},e.prototype._handleNetworkError=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=void 0,i=void 0,s=this.getInternalLoader(t);switch(t.type){case O.MANIFEST:r=n?o.a.MANIFEST_LOAD_TIMEOUT:o.a.MANIFEST_LOAD_ERROR,i=!0;break;case O.LEVEL:r=n?o.a.LEVEL_LOAD_TIMEOUT:o.a.LEVEL_LOAD_ERROR,i=!1;break;case O.AUDIO_TRACK:r=n?o.a.AUDIO_TRACK_LOAD_TIMEOUT:o.a.AUDIO_TRACK_LOAD_ERROR,i=!1;break;default:i=!1}s&&(s.abort(),this.resetInternalLoader(t.type)),this.hls.trigger(a.a.ERROR,{type:o.b.NETWORK_ERROR,details:r,fatal:i,url:s.url,loader:s,context:t,networkDetails:e})},e.prototype._handlePlaylistLoaded=function(t,n,r,i){var o=r.type,s=r.level,u=r.id,c=r.levelDetails;if(c.targetduration)if(e.canHaveQualityLevels(r.type))this.hls.trigger(a.a.LEVEL_LOADED,{details:c,level:s||0,id:u||0,stats:n,networkDetails:i});else switch(o){case O.AUDIO_TRACK:this.hls.trigger(a.a.AUDIO_TRACK_LOADED,{details:c,id:u,stats:n,networkDetails:i});break;case O.SUBTITLE_TRACK:this.hls.trigger(a.a.SUBTITLE_TRACK_LOADED,{details:c,id:u,stats:n,networkDetails:i})}else this._handleManifestParsingError(t,r,"invalid target duration",i)},E(e,null,[{key:"ContextType",get:function(){return O}},{key:"LevelType",get:function(){return P}}]),e}(l),M=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.FRAG_LOADING));return r.loaders={},r}return 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)}(e,t),e.prototype.destroy=function(){var e=this.loaders;for(var n in e){var r=e[n];r&&r.destroy()}this.loaders={},t.prototype.destroy.call(this)},e.prototype.onFragLoading=function(t){var e=t.frag,n=e.type,r=this.loaders,i=this.hls.config,o=i.fLoader,a=i.loader;e.loaded=0;var u=r[n];u&&(s.b.warn("abort previous fragment loader for type: "+n),u.abort()),u=r[n]=e.loader=i.fLoader?new o(i):new a(i);var c,l,f=void 0;f={url:e.url,frag:e,responseType:"arraybuffer",progressData:!1};var p=e.byteRangeStartOffset,d=e.byteRangeEndOffset;isNaN(p)||isNaN(d)||(f.rangeStart=p,f.rangeEnd=d),c={timeout:i.fragLoadingTimeOut,maxRetry:0,retryDelay:0,maxRetryDelay:i.fragLoadingMaxRetryTimeout},l={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this),onProgress:this.loadprogress.bind(this)},u.load(f,c,l)},e.prototype.loadsuccess=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=t.data,o=n.frag;o.loader=void 0,this.loaders[o.type]=void 0,this.hls.trigger(a.a.FRAG_LOADED,{payload:i,frag:o,stats:e,networkDetails:r})},e.prototype.loaderror=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=e.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(a.a.ERROR,{type:o.b.NETWORK_ERROR,details:o.a.FRAG_LOAD_ERROR,fatal:!1,frag:e.frag,response:t,networkDetails:n})},e.prototype.loadtimeout=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=e.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(a.a.ERROR,{type:o.b.NETWORK_ERROR,details:o.a.FRAG_LOAD_TIMEOUT,fatal:!1,frag:e.frag,networkDetails:n})},e.prototype.loadprogress=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=e.frag;i.loaded=t.loaded,this.hls.trigger(a.a.FRAG_LOAD_PROGRESS,{frag:i,stats:t,networkDetails:r})},e}(l),L=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.KEY_LOADING));return r.loaders={},r.decryptkey=null,r.decrypturl=null,r}return 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)}(e,t),e.prototype.destroy=function(){for(var t in this.loaders){var e=this.loaders[t];e&&e.destroy()}this.loaders={},l.prototype.destroy.call(this)},e.prototype.onKeyLoading=function(t){var e=t.frag,n=e.type,r=this.loaders[n],i=e.decryptdata,o=i.uri;if(o!==this.decrypturl||null===this.decryptkey){var u,c,l,f=this.hls.config;r&&(s.b.warn("abort previous key loader for type:"+n),r.abort()),e.loader=this.loaders[n]=new f.loader(f),this.decrypturl=o,this.decryptkey=null,u={url:o,frag:e,responseType:"arraybuffer"},c={timeout:f.fragLoadingTimeOut,maxRetry:f.fragLoadingMaxRetry,retryDelay:f.fragLoadingRetryDelay,maxRetryDelay:f.fragLoadingMaxRetryTimeout},l={onSuccess:this.loadsuccess.bind(this),onError:this.loaderror.bind(this),onTimeout:this.loadtimeout.bind(this)},e.loader.load(u,c,l)}else this.decryptkey&&(i.key=this.decryptkey,this.hls.trigger(a.a.KEY_LOADED,{frag:e}))},e.prototype.loadsuccess=function(t,e,n){var r=n.frag;this.decryptkey=r.decryptdata.key=new Uint8Array(t.data),r.loader=void 0,this.loaders[r.type]=void 0,this.hls.trigger(a.a.KEY_LOADED,{frag:r})},e.prototype.loaderror=function(t,e){var n=e.frag,r=n.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(a.a.ERROR,{type:o.b.NETWORK_ERROR,details:o.a.KEY_LOAD_ERROR,fatal:!1,frag:n,response:t})},e.prototype.loadtimeout=function(t,e){var n=e.frag,r=n.loader;r&&r.abort(),this.loaders[e.type]=void 0,this.hls.trigger(a.a.ERROR,{type:o.b.NETWORK_ERROR,details:o.a.KEY_LOAD_TIMEOUT,fatal:!1,frag:n})},e}(l),R={search:function(t,e){for(var n=0,r=t.length-1,i=null,o=null;n<=r;){var a=e(o=t[i=(n+r)/2|0]);if(a>0)n=i+1;else{if(!(a<0))return o;r=i-1}}return null}},k={isBuffered:function(t,e){try{if(t)for(var n=t.buffered,r=0;r<n.length;r++)if(e>=n.start(r)&&e<=n.end(r))return!0}catch(t){}return!1},bufferInfo:function(t,e,n){try{if(t){var r=t.buffered,i=[],o=void 0;for(o=0;o<r.length;o++)i.push({start:r.start(o),end:r.end(o)});return this.bufferedInfo(i,e,n)}}catch(t){}return{len:0,start:e,end:e,nextStart:void 0}},bufferedInfo:function(t,e,n){var r=[],i=void 0,o=void 0,a=void 0,s=void 0,u=void 0;for(t.sort(function(t,e){var n=t.start-e.start;return n||e.end-t.end}),u=0;u<t.length;u++){var c=r.length;if(c){var l=r[c-1].end;t[u].start-l<n?t[u].end>l&&(r[c-1].end=t[u].end):r.push(t[u])}else r.push(t[u])}for(u=0,i=0,o=a=e;u<r.length;u++){var f=r[u].start,p=r[u].end;if(e+n>=f&&e<p)o=f,i=(a=p)-e;else if(e+n<f){s=f;break}}return{len:i,start:o,end:a,nextStart:s}}},D=n(8),I=n(6),N=n.n(I),B=n(10),G=n.n(B);function F(){if("undefined"!=typeof window)return window.MediaSource||window.WebKitMediaSource}var j=F(),H=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hls=e,this.id=n;var r=this.observer=new N.a,i=e.config;r.trigger=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];r.emit.apply(r,[t,t].concat(n))},r.off=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];r.removeListener.apply(r,[t].concat(n))};var u=function(t,n){(n=n||{}).frag=this.frag,n.id=this.id,e.trigger(t,n)}.bind(this);r.on(a.a.FRAG_DECRYPTED,u),r.on(a.a.FRAG_PARSING_INIT_SEGMENT,u),r.on(a.a.FRAG_PARSING_DATA,u),r.on(a.a.FRAG_PARSED,u),r.on(a.a.ERROR,u),r.on(a.a.FRAG_PARSING_METADATA,u),r.on(a.a.FRAG_PARSING_USERDATA,u),r.on(a.a.INIT_PTS_FOUND,u);var c={mp4:j.isTypeSupported("video/mp4"),mpeg:j.isTypeSupported("audio/mpeg"),mp3:j.isTypeSupported('audio/mp4; codecs="mp3"')},l=navigator.vendor;if(i.enableWorker&&"undefined"!=typeof Worker){s.b.log("demuxing in webworker");var f=void 0;try{f=this.w=G()(11),this.onwmsg=this.onWorkerMessage.bind(this),f.addEventListener("message",this.onwmsg),f.onerror=function(t){e.trigger(a.a.ERROR,{type:o.b.OTHER_ERROR,details:o.a.INTERNAL_EXCEPTION,fatal:!0,event:"demuxerWorker",err:{message:t.message+" ("+t.filename+":"+t.lineno+")"}})},f.postMessage({cmd:"init",typeSupported:c,vendor:l,id:n,config:JSON.stringify(i)})}catch(t){s.b.error("error while initializing DemuxerWorker, fallback on DemuxerInline"),f&&URL.revokeObjectURL(f.objectURL),this.demuxer=new D.a(r,c,i,l),this.w=void 0}}else this.demuxer=new D.a(r,c,i,l)}return t.prototype.destroy=function(){var t=this.w;if(t)t.removeEventListener("message",this.onwmsg),t.terminate(),this.w=null;else{var e=this.demuxer;e&&(e.destroy(),this.demuxer=null)}var n=this.observer;n&&(n.removeAllListeners(),this.observer=null)},t.prototype.push=function(t,e,n,r,i,o,a,u){var c=this.w,l=isNaN(i.startDTS)?i.start:i.startDTS,f=i.decryptdata,p=this.frag,d=!(p&&i.cc===p.cc),h=!(p&&i.level===p.level),v=p&&i.sn===p.sn+1,y=!h&&v;if(d&&s.b.log(this.id+":discontinuity detected"),h&&s.b.log(this.id+":switch detected"),this.frag=i,c)c.postMessage({cmd:"demux",data:t,decryptdata:f,initSegment:e,audioCodec:n,videoCodec:r,timeOffset:l,discontinuity:d,trackSwitch:h,contiguous:y,duration:o,accurateTimeOffset:a,defaultInitPTS:u},t instanceof ArrayBuffer?[t]:[]);else{var m=this.demuxer;m&&m.push(t,f,e,n,r,l,d,h,y,o,a,u)}},t.prototype.onWorkerMessage=function(t){var e=t.data,n=this.hls;switch(e.event){case"init":URL.revokeObjectURL(this.w.objectURL);break;case a.a.FRAG_PARSING_DATA:e.data.data1=new Uint8Array(e.data1),e.data2&&(e.data.data2=new Uint8Array(e.data2));default:e.data=e.data||{},e.data.frag=this.frag,e.data.id=this.id,n.trigger(e.event,e.data)}},t}(),U="NOT_LOADED",W="APPENDING",V=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.BUFFER_APPENDED,a.a.FRAG_BUFFERED,a.a.FRAG_LOADED));return r.bufferPadding=.2,r.fragments=Object.create(null),r.timeRanges=Object.create(null),r.config=n.config,r}return 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)}(e,t),e.prototype.destroy=function(){this.fragments=null,this.timeRanges=null,this.config=null,l.prototype.destroy.call(this),t.prototype.destroy.call(this)},e.prototype.getBufferedFrag=function(t,e){var n=this.fragments,r=Object.keys(n).filter(function(r){var i=n[r];if(i.body.type!==e)return!1;if(!i.buffered)return!1;var o=i.body;return o.startPTS<=t&&t<=o.endPTS});if(0===r.length)return null;var i=r.pop();return n[i].body},e.prototype.detectEvictedFragments=function(t,e){var n=this,r=void 0,i=void 0;Object.keys(this.fragments).forEach(function(o){var a=n.fragments[o];if(!0===a.buffered){var s=a.range[t];if(s){r=s.time;for(var u=0;u<r.length;u++)if(i=r[u],!1===n.isTimeBuffered(i.startPTS,i.endPTS,e)){n.removeFragment(a.body);break}}}})},e.prototype.detectPartialFragments=function(t){var e=this,n=this.getFragmentKey(t),r=this.fragments[n];r&&(r.buffered=!0,Object.keys(this.timeRanges).forEach(function(n){if(!0===t.hasElementaryStream(n)){var i=e.timeRanges[n];r.range[n]=e.getBufferedTimes(t.startPTS,t.endPTS,i)}}))},e.prototype.getBufferedTimes=function(t,e,n){for(var r=[],i=void 0,o=void 0,a=!1,s=0;s<n.length;s++){if(i=n.start(s)-this.bufferPadding,o=n.end(s)+this.bufferPadding,t>=i&&e<=o){r.push({startPTS:Math.max(t,n.start(s)),endPTS:Math.min(e,n.end(s))});break}if(t<o&&e>i)r.push({startPTS:Math.max(t,n.start(s)),endPTS:Math.min(e,n.end(s))}),a=!0;else if(e<=i)break}return{time:r,partial:a}},e.prototype.getFragmentKey=function(t){return t.type+"_"+t.level+"_"+t.sn},e.prototype.getPartialFragment=function(t){var e=this,n=void 0,r=void 0,i=void 0,o=null,a=0;return Object.keys(this.fragments).forEach(function(s){var u=e.fragments[s];e.isPartial(u)&&(r=u.body.startPTS-e.bufferPadding,i=u.body.endPTS+e.bufferPadding,t>=r&&t<=i&&(n=Math.min(t-r,i-t),a<=n&&(o=u.body,a=n)))}),o},e.prototype.getState=function(t){var e=this.getFragmentKey(t),n=this.fragments[e],r=U;return void 0!==n&&(r=n.buffered?!0===this.isPartial(n)?"PARTIAL":"OK":W),r},e.prototype.isPartial=function(t){return!0===t.buffered&&(void 0!==t.range.video&&!0===t.range.video.partial||void 0!==t.range.audio&&!0===t.range.audio.partial)},e.prototype.isTimeBuffered=function(t,e,n){for(var r=void 0,i=void 0,o=0;o<n.length;o++){if(r=n.start(o)-this.bufferPadding,i=n.end(o)+this.bufferPadding,t>=r&&e<=i)return!0;if(e<=r)return!1}return!1},e.prototype.onFragLoaded=function(t){var e=t.frag;if(!isNaN(e.sn)){var n=this.getFragmentKey(e),r={body:e,range:Object.create(null),buffered:!1};this.fragments[n]=r}},e.prototype.onBufferAppended=function(t){var e=this;this.timeRanges=t.timeRanges,Object.keys(this.timeRanges).forEach(function(t){var n=e.timeRanges[t];e.detectEvictedFragments(t,n)})},e.prototype.onFragBuffered=function(t){this.detectPartialFragments(t.frag)},e.prototype.hasFragment=function(t){var e=this.getFragmentKey(t);return void 0!==this.fragments[e]},e.prototype.removeFragment=function(t){var e=this.getFragmentKey(t);delete this.fragments[e]},e.prototype.removeAllFragments=function(){this.fragments=Object.create(null)},e}(l);function K(t,e,n){var r=t[e],i=t[n],o=i.startPTS;isNaN(o)?i.start=n>e?r.start+r.duration:Math.max(r.start-i.duration,0):n>e?(r.duration=o-r.start,r.duration<0&&s.b.warn("negative duration computed for frag "+r.sn+",level "+r.level+", there should be some duration drift between playlist and fragment!")):(i.duration=r.start-o,i.duration<0&&s.b.warn("negative duration computed for frag "+i.sn+",level "+i.level+", there should be some duration drift between playlist and fragment!"))}function $(t,e,n,r,i,o){var a=n;if(!isNaN(e.startPTS)){var s=Math.abs(e.startPTS-n);isNaN(e.deltaPTS)?e.deltaPTS=s:e.deltaPTS=Math.max(s,e.deltaPTS),a=Math.max(n,e.startPTS),n=Math.min(n,e.startPTS),r=Math.max(r,e.endPTS),i=Math.min(i,e.startDTS),o=Math.max(o,e.endDTS)}var u=n-e.start;e.start=e.startPTS=n,e.maxStartPTS=a,e.endPTS=r,e.startDTS=i,e.endDTS=o,e.duration=r-n;var c=e.sn;if(!t||c<t.startSN||c>t.endSN)return 0;var l,f=void 0,p=void 0;for(l=c-t.startSN,(f=t.fragments)[l]=e,p=l;p>0;p--)K(f,p,p-1);for(p=l;p<f.length-1;p++)K(f,p,p+1);return t.PTSKnown=!0,u}var z={toString:function(t){for(var e="",n=t.length,r=0;r<n;r++)e+="["+t.start(r).toFixed(3)+","+t.end(r).toFixed(3)+"]";return e}};function X(t,e){e.fragments.forEach(function(e){if(e){var n=e.start+t;e.start=e.startPTS=n,e.endPTS=n+e.duration}}),e.PTSKnown=!0}function q(t,e,n){if(function(t,e,n){var r=!1;return e&&e.details&&n&&(n.endCC>n.startCC||t&&t.cc<n.startCC)&&(r=!0),r}(t,e,n)){var r=function(t,e){var n=t.fragments,r=e.fragments;if(r.length&&n.length){var i=function(t,e){for(var n=null,r=0;r<t.length;r+=1){var i=t[r];if(i&&i.cc===e){n=i;break}}return n}(n,r[0].cc);if(i&&(!i||i.startPTS))return i;s.b.log("No frag in previous level to align on")}else s.b.log("No fragments to align")}(e.details,n);r&&(s.b.log("Adjusting PTS using last level due to CC increase within current level"),X(r.start,n))}if(!1===n.PTSKnown&&e&&e.details&&e.details.fragments&&e.details.fragments.length){var i=e.details.programDateTime,o=(n.programDateTime-i)/1e3+e.details.fragments[0].start;isNaN(o)||(s.b.log("adjusting PTS using programDateTime delta, sliding:"+o.toFixed(3)),X(o,n))}}var Y=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];var a=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}(this,t.call.apply(t,[this,n].concat(i)));return a._tickInterval=null,a._tickCallCount=0,a}return 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)}(e,t),e.prototype.destroy=function(){this.clearInterval(),t.prototype.destroy.call(this)},e.prototype.hasInterval=function(){return null!==this._tickInterval},e.prototype.setInterval=function(t){function e(e){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(t){return!this._tickInterval&&(this._tickInterval=setInterval(this.tick.bind(this,!1),t),!0)}),e.prototype.clearInterval=function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}(function(){return!!this._tickInterval&&(clearInterval(this._tickInterval),this._tickInterval=null,!0)}),e.prototype.tick=function(){this._tickCallCount++,1===this._tickCallCount&&(this.doTick(),this._tickCallCount>1&&setTimeout(this.tick.bind(this),0),this._tickCallCount=0)},e.prototype.doTick=function(){throw new Error("TaskLoop is abstract and `doLoop` must be implemented")},e}(l),Q=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),J={STOPPED:"STOPPED",IDLE:"IDLE",KEY_LOADING:"KEY_LOADING",FRAG_LOADING:"FRAG_LOADING",FRAG_LOADING_WAITING_RETRY:"FRAG_LOADING_WAITING_RETRY",WAITING_LEVEL:"WAITING_LEVEL",PARSING:"PARSING",PARSED:"PARSED",BUFFER_FLUSHING:"BUFFER_FLUSHING",ENDED:"ENDED",ERROR:"ERROR"},Z=function(t){function e(n,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var i=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}(this,t.call(this,n,a.a.MEDIA_ATTACHED,a.a.MEDIA_DETACHING,a.a.MANIFEST_LOADING,a.a.MANIFEST_PARSED,a.a.LEVEL_LOADED,a.a.KEY_LOADED,a.a.FRAG_LOADED,a.a.FRAG_LOAD_EMERGENCY_ABORTED,a.a.FRAG_PARSING_INIT_SEGMENT,a.a.FRAG_PARSING_DATA,a.a.FRAG_PARSED,a.a.ERROR,a.a.AUDIO_TRACK_SWITCHING,a.a.AUDIO_TRACK_SWITCHED,a.a.BUFFER_CREATED,a.a.BUFFER_APPENDED,a.a.BUFFER_FLUSHED));return i.fragmentTracker=r,i.config=n.config,i.audioCodecSwap=!1,i._state=J.STOPPED,i}return 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)}(e,t),e.prototype.onHandlerDestroying=function(){this.stopLoad()},e.prototype.onHandlerDestroyed=function(){this.state=J.STOPPED,this.fragmentTracker=null},e.prototype.startLoad=function(t){if(this.levels){var e=this.lastCurrentTime,n=this.hls;if(this.stopLoad(),this.setInterval(100),this.level=-1,this.fragLoadError=0,!this.startFragRequested){var r=n.startLevel;-1===r&&(r=0,this.bitrateTest=!0),this.level=n.nextLoadLevel=r,this.loadedmetadata=!1}e>0&&-1===t&&(s.b.log("override startPosition with lastCurrentTime @"+e.toFixed(3)),t=e),this.state=J.IDLE,this.nextLoadPosition=this.startPosition=this.lastCurrentTime=t,this.tick()}else this.forceStartLoad=!0,this.state=J.STOPPED},e.prototype.stopLoad=function(){var t=this.fragCurrent;t&&(t.loader&&t.loader.abort(),this.fragmentTracker.removeFragment(t),this.fragCurrent=null),this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.clearInterval(),this.state=J.STOPPED,this.forceStartLoad=!1},e.prototype.doTick=function(){switch(this.state){case J.BUFFER_FLUSHING:this.fragLoadError=0;break;case J.IDLE:this._doTickIdle();break;case J.WAITING_LEVEL:var t=this.levels[this.level];t&&t.details&&(this.state=J.IDLE);break;case J.FRAG_LOADING_WAITING_RETRY:var e=performance.now(),n=this.retryDate;(!n||e>=n||this.media&&this.media.seeking)&&(s.b.log("mediaController: retryDate reached, switch back to IDLE state"),this.state=J.IDLE);break;case J.ERROR:case J.STOPPED:case J.FRAG_LOADING:case J.PARSING:case J.PARSED:case J.ENDED:}this._checkBuffer(),this._checkFragmentChanged()},e.prototype._doTickIdle=function(){var t=this.hls,e=t.config,n=this.media;if(void 0!==this.levelLastLoaded&&(n||!this.startFragRequested&&e.startFragPrefetch)){var r=void 0;r=this.loadedmetadata?n.currentTime:this.nextLoadPosition;var i=t.nextLoadLevel,o=this.levels[i];if(o){var u=o.bitrate,c=void 0;c=u?Math.max(8*e.maxBufferSize/u,e.maxBufferLength):e.maxBufferLength,c=Math.min(c,e.maxMaxBufferLength);var l=k.bufferInfo(this.mediaBuffer?this.mediaBuffer:n,r,e.maxBufferHole),f=l.len;if(!(f>=c)){s.b.trace("buffer length of "+f.toFixed(3)+" is below max of "+c.toFixed(3)+". checking for more payload ..."),this.level=t.nextLoadLevel=i;var p=o.details;if(void 0===p||!0===p.live&&this.levelLastLoaded!==i)this.state=J.WAITING_LEVEL;else{var d=this.fragPrevious;if(!p.live&&d&&!d.backtracked&&d.sn===p.endSN&&!l.nextStart&&Math.min(n.duration,d.start+d.duration)-Math.max(l.end,d.start)<=Math.max(.2,d.duration)){var h={};return this.altAudio&&(h.type="video"),this.hls.trigger(a.a.BUFFER_EOS,h),void(this.state=J.ENDED)}this._fetchPayloadOrEos(r,l,p)}}}}},e.prototype._fetchPayloadOrEos=function(t,e,n){var r=this.fragPrevious,i=this.level,o=n.fragments,a=o.length;if(0!==a){var u=o[0].start,c=o[a-1].start+o[a-1].duration,l=e.end,f=void 0;if(n.initSegment&&!n.initSegment.data)f=n.initSegment;else if(n.live){var p=this.config.initialLiveManifestSize;if(a<p)return void s.b.warn("Can not start playback of a level, reason: not enough fragments "+a+" < "+p);if(null===(f=this._ensureFragmentAtLivePoint(n,l,u,c,r,o,a)))return}else l<u&&(f=o[0]);f||(f=this._findFragment(u,r,a,o,l,c,n)),f&&this._loadFragmentOrKey(f,i,n,t,l)}},e.prototype._ensureFragmentAtLivePoint=function(t,e,n,r,i,o,a){var u=this.hls.config,c=this.media,l=void 0,f=void 0!==u.liveMaxLatencyDuration?u.liveMaxLatencyDuration:u.liveMaxLatencyDurationCount*t.targetduration;if(e<Math.max(n-u.maxFragLookUpTolerance,r-f)){var p=this.liveSyncPosition=this.computeLivePosition(n,t);s.b.log("buffer end: "+e.toFixed(3)+" is located too far from the end of live sliding playlist, reset currentTime to : "+p.toFixed(3)),e=p,c&&c.readyState&&c.duration>p&&(c.currentTime=p),this.nextLoadPosition=p}if(t.PTSKnown&&e>r&&c&&c.readyState)return null;if(this.startFragRequested&&!t.PTSKnown){if(i)if(t.programDateTime)l=this._findFragmentByPDT(o,i.endPdt+1);else{var d=i.sn+1;if(d>=t.startSN&&d<=t.endSN){var h=o[d-t.startSN];i.cc===h.cc&&(l=h,s.b.log("live playlist, switching playlist, load frag with next SN: "+l.sn))}l||(l=R.search(o,function(t){return i.cc-t.cc}))&&s.b.log("live playlist, switching playlist, load frag with same CC: "+l.sn)}l||(l=o[Math.min(a-1,Math.round(a/2))],s.b.log("live playlist, switching playlist, unknown, load middle frag : "+l.sn))}return l},e.prototype._findFragmentByPDT=function(t,e){if(!t||void 0===e)return null;if(e<t[0].pdt)return null;if(e>=t[t.length-1].endPdt)return null;for(var n=0;n<t.length;++n){var r=t[n];if(e<r.endPdt)return r}return null},e.prototype._findFragmentBySN=function(t,e,n,r){var i=void 0,o=this.hls.config.maxFragLookUpTolerance,a=t?e[t.sn-e[0].sn+1]:void 0,s=function(t){var e=Math.min(o,t.duration+(t.deltaPTS?t.deltaPTS:0));return t.start+t.duration-e<=n?1:t.start-e>n&&t.start?-1:0};return n<r&&(n>r-o&&(o=0),i=a&&!s(a)?a:R.search(e,s)),i},e.prototype._findFragment=function(t,e,n,r,i,o,a){var u=this.hls.config,c=void 0,l=void 0;if(l=i<o?a.programDateTime?this._findFragmentByPDT(r,1e3*i+(a.programDateTime?Date.parse(a.programDateTime):0)-1e3*t):this._findFragmentBySN(e,r,i,o):r[n-1]){var f=(c=l).sn-a.startSN,p=e&&c.level===e.level,d=r[f-1],h=r[f+1];if(e&&c.sn===e.sn)if(p&&!c.backtracked)if(c.sn<a.endSN){var v=e.deltaPTS;v&&v>u.maxBufferHole&&e.dropped&&f?(c=d,s.b.warn("SN just loaded, with large PTS gap between audio and video, maybe frag is not starting with a keyframe ? load previous one to try to overcome this")):(c=h,s.b.log("SN just loaded, load next one: "+c.sn))}else c=null;else c.backtracked&&(h&&h.backtracked?(s.b.warn("Already backtracked from fragment "+h.sn+", will not backtrack to fragment "+c.sn+". Loading fragment "+h.sn),c=h):(s.b.warn("Loaded fragment with dropped frames, backtracking 1 segment to find a keyframe"),c.dropped=0,d?(c=d).backtracked=!0:f&&(c=null)))}return c},e.prototype._loadFragmentOrKey=function(t,e,n,r,i){if(t.decryptdata&&null!=t.decryptdata.uri&&null==t.decryptdata.key)s.b.log("Loading key for "+t.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+e),this.state=J.KEY_LOADING,this.hls.trigger(a.a.KEY_LOADING,{frag:t});else{s.b.log("Loading "+t.sn+" of ["+n.startSN+" ,"+n.endSN+"],level "+e+", currentTime:"+r.toFixed(3)+",bufferEnd:"+i.toFixed(3));var o=this.fragmentTracker.getState(t);this.fragCurrent=t,this.startFragRequested=!0,isNaN(t.sn)||t.bitrateTest||(this.nextLoadPosition=t.start+t.duration),t.backtracked||o===U?(t.autoLevel=this.hls.autoLevelEnabled,t.bitrateTest=this.bitrateTest,this.hls.trigger(a.a.FRAG_LOADING,{frag:t}),this.demuxer||(this.demuxer=new H(this.hls,"main")),this.state=J.FRAG_LOADING):o===W&&this._reduceMaxBufferLength(t.duration)&&this.fragmentTracker.removeFragment(t)}},e.prototype.getBufferedFrag=function(t){return this.fragmentTracker.getBufferedFrag(t,C.LevelType.MAIN)},e.prototype.followingBufferedFrag=function(t){return t?this.getBufferedFrag(t.endPTS+.5):null},e.prototype._checkFragmentChanged=function(){var t=void 0,e=void 0,n=this.media;if(n&&n.readyState&&!1===n.seeking&&((e=n.currentTime)>n.playbackRate*this.lastCurrentTime&&(this.lastCurrentTime=e),k.isBuffered(n,e)?t=this.getBufferedFrag(e):k.isBuffered(n,e+.1)&&(t=this.getBufferedFrag(e+.1)),t)){var r=t;if(r!==this.fragPlaying){this.hls.trigger(a.a.FRAG_CHANGED,{frag:r});var i=r.level;this.fragPlaying&&this.fragPlaying.level===i||this.hls.trigger(a.a.LEVEL_SWITCHED,{level:i}),this.fragPlaying=r}}},e.prototype.immediateLevelSwitch=function(){if(s.b.log("immediateLevelSwitch"),!this.immediateSwitch){this.immediateSwitch=!0;var t=this.media,e=void 0;t?(e=t.paused,t.pause()):e=!0,this.previouslyPaused=e}var n=this.fragCurrent;n&&n.loader&&n.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(0,Number.POSITIVE_INFINITY)},e.prototype.immediateLevelSwitchEnd=function(){var t=this.media;t&&t.buffered.length&&(this.immediateSwitch=!1,k.isBuffered(t,t.currentTime)&&(t.currentTime-=1e-4),this.previouslyPaused||t.play())},e.prototype.nextLevelSwitch=function(){var t=this.media;if(t&&t.readyState){var e,n=void 0,r=void 0;if((e=this.getBufferedFrag(t.currentTime))&&e.startPTS>1&&this.flushMainBuffer(0,e.startPTS-1),t.paused)n=0;else{var i=this.hls.nextLoadLevel,o=this.levels[i],a=this.fragLastKbps;n=a&&this.fragCurrent?this.fragCurrent.duration*o.bitrate/(1e3*a)+1:0}if((r=this.getBufferedFrag(t.currentTime+n))&&(r=this.followingBufferedFrag(r))){var s=this.fragCurrent;s&&s.loader&&s.loader.abort(),this.fragCurrent=null,this.flushMainBuffer(r.maxStartPTS,Number.POSITIVE_INFINITY)}}},e.prototype.flushMainBuffer=function(t,e){this.state=J.BUFFER_FLUSHING;var n={startOffset:t,endOffset:e};this.altAudio&&(n.type="video"),this.hls.trigger(a.a.BUFFER_FLUSHING,n)},e.prototype.onMediaAttached=function(t){var e=this.media=this.mediaBuffer=t.media;this.onvseeking=this.onMediaSeeking.bind(this),this.onvseeked=this.onMediaSeeked.bind(this),this.onvended=this.onMediaEnded.bind(this),e.addEventListener("seeking",this.onvseeking),e.addEventListener("seeked",this.onvseeked),e.addEventListener("ended",this.onvended);var n=this.config;this.levels&&n.autoStartLoad&&this.hls.startLoad(n.startPosition)},e.prototype.onMediaDetaching=function(){var t=this.media;t&&t.ended&&(s.b.log("MSE detaching and video ended, reset startPosition"),this.startPosition=this.lastCurrentTime=0);var e=this.levels;e&&e.forEach(function(t){t.details&&t.details.fragments.forEach(function(t){t.backtracked=void 0})}),t&&(t.removeEventListener("seeking",this.onvseeking),t.removeEventListener("seeked",this.onvseeked),t.removeEventListener("ended",this.onvended),this.onvseeking=this.onvseeked=this.onvended=null),this.media=this.mediaBuffer=null,this.loadedmetadata=!1,this.stopLoad()},e.prototype.onMediaSeeking=function(){var t=this.media,e=t?t.currentTime:void 0,n=this.config;isNaN(e)||s.b.log("media seeking to "+e.toFixed(3));var r=this.mediaBuffer?this.mediaBuffer:t,i=k.bufferInfo(r,e,this.config.maxBufferHole);if(this.state===J.FRAG_LOADING){var o=this.fragCurrent;if(0===i.len&&o){var a=n.maxFragLookUpTolerance,u=o.start-a,c=o.start+o.duration+a;e<u||e>c?(o.loader&&(s.b.log("seeking outside of buffer while fragment load in progress, cancel fragment load"),o.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.state=J.IDLE):s.b.log("seeking outside of buffer but within currently loaded fragment range")}}else this.state===J.ENDED&&(0===i.len&&(this.fragPrevious=0),this.state=J.IDLE);t&&(this.lastCurrentTime=e),this.loadedmetadata||(this.nextLoadPosition=this.startPosition=e),this.tick()},e.prototype.onMediaSeeked=function(){var t=this.media,e=t?t.currentTime:void 0;isNaN(e)||s.b.log("media seeked to "+e.toFixed(3)),this.tick()},e.prototype.onMediaEnded=function(){s.b.log("media ended"),this.startPosition=this.lastCurrentTime=0},e.prototype.onManifestLoading=function(){s.b.log("trigger BUFFER_RESET"),this.hls.trigger(a.a.BUFFER_RESET),this.fragmentTracker.removeAllFragments(),this.stalled=!1,this.startPosition=this.lastCurrentTime=0},e.prototype.onManifestParsed=function(t){var e=!1,n=!1,r=void 0;t.levels.forEach(function(t){(r=t.audioCodec)&&(-1!==r.indexOf("mp4a.40.2")&&(e=!0),-1!==r.indexOf("mp4a.40.5")&&(n=!0))}),this.audioCodecSwitch=e&&n,this.audioCodecSwitch&&s.b.log("both AAC/HE-AAC audio found in levels; declaring level codec as HE-AAC"),this.levels=t.levels,this.startFragRequested=!1;var i=this.config;(i.autoStartLoad||this.forceStartLoad)&&this.hls.startLoad(i.startPosition)},e.prototype.onLevelLoaded=function(t){var e=t.details,n=t.level,r=this.levels[this.levelLastLoaded],i=this.levels[n],o=e.totalduration,u=0;if(s.b.log("level "+n+" loaded ["+e.startSN+","+e.endSN+"],duration:"+o),e.live){var c=i.details;c&&e.fragments.length>0?(function(t,e){var n=Math.max(t.startSN,e.startSN)-e.startSN,r=Math.min(t.endSN,e.endSN)-e.startSN,i=e.startSN-t.startSN,o=t.fragments,a=e.fragments,u=0,c=void 0;if(e.initSegment&&t.initSegment&&(e.initSegment=t.initSegment),r<n)e.PTSKnown=!1;else{for(var l=n;l<=r;l++){var f=o[i+l],p=a[l];p&&f&&(u=f.cc-p.cc,isNaN(f.startPTS)||(p.start=p.startPTS=f.startPTS,p.endPTS=f.endPTS,p.duration=f.duration,p.backtracked=f.backtracked,p.dropped=f.dropped,c=p))}if(u)for(s.b.log("discontinuity sliding from playlist, take drift into account"),l=0;l<a.length;l++)a[l].cc+=u;if(c)$(e,c,c.startPTS,c.endPTS,c.startDTS,c.endDTS);else if(i>=0&&i<o.length){var d=o[i].start;for(l=0;l<a.length;l++)a[l].start+=d}e.PTSKnown=t.PTSKnown}}(c,e),u=e.fragments[0].start,this.liveSyncPosition=this.computeLivePosition(u,c),e.PTSKnown&&!isNaN(u)?s.b.log("live playlist sliding:"+u.toFixed(3)):(s.b.log("live playlist - outdated PTS, unknown sliding"),q(this.fragPrevious,r,e))):(s.b.log("live playlist - first load, unknown sliding"),e.PTSKnown=!1,q(this.fragPrevious,r,e))}else e.PTSKnown=!1;if(i.details=e,this.levelLastLoaded=n,this.hls.trigger(a.a.LEVEL_UPDATED,{details:e,level:n}),!1===this.startFragRequested){if(-1===this.startPosition||-1===this.lastCurrentTime){var l=e.startTimeOffset;isNaN(l)?e.live?(this.startPosition=this.computeLivePosition(u,e),s.b.log("configure startPosition to "+this.startPosition)):this.startPosition=0:(l<0&&(s.b.log("negative start time offset "+l+", count from end of last fragment"),l=u+o+l),s.b.log("start time offset found in playlist, adjust startPosition to "+l),this.startPosition=l),this.lastCurrentTime=this.startPosition}this.nextLoadPosition=this.startPosition}this.state===J.WAITING_LEVEL&&(this.state=J.IDLE),this.tick()},e.prototype.onKeyLoaded=function(){this.state===J.KEY_LOADING&&(this.state=J.IDLE,this.tick())},e.prototype.onFragLoaded=function(t){var e=this.fragCurrent,n=t.frag;if(this.state===J.FRAG_LOADING&&e&&"main"===n.type&&n.level===e.level&&n.sn===e.sn){var r=t.stats,i=this.levels[e.level],o=i.details;if(s.b.log("Loaded "+e.sn+" of ["+o.startSN+" ,"+o.endSN+"],level "+e.level),this.bitrateTest=!1,this.stats=r,!0===n.bitrateTest&&this.hls.nextLoadLevel)this.state=J.IDLE,this.startFragRequested=!1,r.tparsed=r.tbuffered=performance.now(),this.hls.trigger(a.a.FRAG_BUFFERED,{stats:r,frag:e,id:"main"}),this.tick();else if("initSegment"===n.sn)this.state=J.IDLE,r.tparsed=r.tbuffered=performance.now(),o.initSegment.data=t.payload,this.hls.trigger(a.a.FRAG_BUFFERED,{stats:r,frag:e,id:"main"}),this.tick();else{this.state=J.PARSING;var u=o.totalduration,c=e.level,l=e.sn,f=this.config.defaultAudioCodec||i.audioCodec;this.audioCodecSwap&&(s.b.log("swapping playlist audio codec"),void 0===f&&(f=this.lastAudioCodec),f&&(f=-1!==f.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5")),this.pendingBuffering=!0,this.appended=!1,s.b.log("Parsing "+l+" of ["+o.startSN+" ,"+o.endSN+"],level "+c+", cc "+e.cc);var p=this.demuxer;p||(p=this.demuxer=new H(this.hls,"main"));var d=this.media,h=!(d&&d.seeking)&&(o.PTSKnown||!o.live),v=o.initSegment?o.initSegment.data:[];p.push(t.payload,v,f,i.videoCodec,e,u,h,void 0)}}this.fragLoadError=0},e.prototype.onFragParsingInitSegment=function(t){var e=this.fragCurrent,n=t.frag;if(e&&"main"===t.id&&n.sn===e.sn&&n.level===e.level&&this.state===J.PARSING){var r=t.tracks,i=void 0,o=void 0;if(r.audio&&this.altAudio&&delete r.audio,o=r.audio){var u=this.levels[this.level].audioCodec,c=navigator.userAgent.toLowerCase();u&&this.audioCodecSwap&&(s.b.log("swapping playlist audio codec"),u=-1!==u.indexOf("mp4a.40.5")?"mp4a.40.2":"mp4a.40.5"),this.audioCodecSwitch&&1!==o.metadata.channelCount&&-1===c.indexOf("firefox")&&(u="mp4a.40.5"),-1!==c.indexOf("android")&&"audio/mpeg"!==o.container&&(u="mp4a.40.2",s.b.log("Android: force audio codec to "+u)),o.levelCodec=u,o.id=t.id}for(i in(o=r.video)&&(o.levelCodec=this.levels[this.level].videoCodec,o.id=t.id),this.hls.trigger(a.a.BUFFER_CODECS,r),r){o=r[i],s.b.log("main track:"+i+",container:"+o.container+",codecs[level/parsed]=["+o.levelCodec+"/"+o.codec+"]");var l=o.initSegment;l&&(this.appended=!0,this.pendingBuffering=!0,this.hls.trigger(a.a.BUFFER_APPENDING,{type:i,data:l,parent:"main",content:"initSegment"}))}this.tick()}},e.prototype.onFragParsingData=function(t){var e=this,n=this.fragCurrent,r=t.frag;if(n&&"main"===t.id&&r.sn===n.sn&&r.level===n.level&&("audio"!==t.type||!this.altAudio)&&this.state===J.PARSING){var i=this.levels[this.level],o=n;if(isNaN(t.endPTS)&&(t.endPTS=t.startPTS+n.duration,t.endDTS=t.startDTS+n.duration),!0===t.hasAudio&&o.addElementaryStream(v.ElementaryStreamTypes.AUDIO),!0===t.hasVideo&&o.addElementaryStream(v.ElementaryStreamTypes.VIDEO),s.b.log("Parsed "+t.type+",PTS:["+t.startPTS.toFixed(3)+","+t.endPTS.toFixed(3)+"],DTS:["+t.startDTS.toFixed(3)+"/"+t.endDTS.toFixed(3)+"],nb:"+t.nb+",dropped:"+(t.dropped||0)),"video"===t.type)if(o.dropped=t.dropped,o.dropped)if(o.backtracked)s.b.warn("Already backtracked on this fragment, appending with the gap");else{var u=i.details;if(!u||o.sn!==u.startSN)return s.b.warn("missing video frame(s), backtracking fragment"),this.fragmentTracker.removeFragment(o),o.backtracked=!0,this.nextLoadPosition=t.startPTS,this.state=J.IDLE,this.fragPrevious=o,void this.tick();s.b.warn("missing video frame(s) on first frag, appending with gap")}else o.backtracked=!1;var c=$(i.details,o,t.startPTS,t.endPTS,t.startDTS,t.endDTS),l=this.hls;l.trigger(a.a.LEVEL_PTS_UPDATED,{details:i.details,level:this.level,drift:c,type:t.type,start:t.startPTS,end:t.endPTS}),[t.data1,t.data2].forEach(function(n){n&&n.length&&e.state===J.PARSING&&(e.appended=!0,e.pendingBuffering=!0,l.trigger(a.a.BUFFER_APPENDING,{type:t.type,data:n,parent:"main",content:"data"}))}),this.tick()}},e.prototype.onFragParsed=function(t){var e=this.fragCurrent,n=t.frag;e&&"main"===t.id&&n.sn===e.sn&&n.level===e.level&&this.state===J.PARSING&&(this.stats.tparsed=performance.now(),this.state=J.PARSED,this._checkAppendedParsed())},e.prototype.onAudioTrackSwitching=function(t){var e=!!t.url,n=t.id;if(!e){if(this.mediaBuffer!==this.media){s.b.log("switching on main audio, use media.buffered to schedule main fragment loading"),this.mediaBuffer=this.media;var r=this.fragCurrent;r.loader&&(s.b.log("switching to main audio track, cancel main fragment load"),r.loader.abort()),this.fragCurrent=null,this.fragPrevious=null,this.demuxer&&(this.demuxer.destroy(),this.demuxer=null),this.state=J.IDLE}var i=this.hls;i.trigger(a.a.BUFFER_FLUSHING,{startOffset:0,endOffset:Number.POSITIVE_INFINITY,type:"audio"}),i.trigger(a.a.AUDIO_TRACK_SWITCHED,{id:n}),this.altAudio=!1}},e.prototype.onAudioTrackSwitched=function(t){var e=t.id,n=!!this.hls.audioTracks[e].url;if(n){var r=this.videoBuffer;r&&this.mediaBuffer!==r&&(s.b.log("switching on alternate audio, use video.buffered to schedule main fragment loading"),this.mediaBuffer=r)}this.altAudio=n,this.tick()},e.prototype.onBufferCreated=function(t){var e=t.tracks,n=void 0,r=void 0,i=!1;for(var o in e){var a=e[o];"main"===a.id?(r=o,n=a,"video"===o&&(this.videoBuffer=e[o].buffer)):i=!0}i&&n?(s.b.log("alternate track found, use "+r+".buffered to schedule main fragment loading"),this.mediaBuffer=n.buffer):this.mediaBuffer=this.media},e.prototype.onBufferAppended=function(t){if("main"===t.parent){var e=this.state;e!==J.PARSING&&e!==J.PARSED||(this.pendingBuffering=t.pending>0,this._checkAppendedParsed())}},e.prototype._checkAppendedParsed=function(){if(!(this.state!==J.PARSED||this.appended&&this.pendingBuffering)){var t=this.fragCurrent;if(t){var e=this.mediaBuffer?this.mediaBuffer:this.media;s.b.log("main buffered : "+z.toString(e.buffered)),this.fragPrevious=t;var n=this.stats;n.tbuffered=performance.now(),this.fragLastKbps=Math.round(8*n.total/(n.tbuffered-n.tfirst)),this.hls.trigger(a.a.FRAG_BUFFERED,{stats:n,frag:t,id:"main"}),this.state=J.IDLE}this.tick()}},e.prototype.onError=function(t){var e=t.frag||this.fragCurrent;if(!e||"main"===e.type){var n=!!this.media&&k.isBuffered(this.media,this.media.currentTime)&&k.isBuffered(this.media,this.media.currentTime+.5);switch(t.details){case o.a.FRAG_LOAD_ERROR:case o.a.FRAG_LOAD_TIMEOUT:case o.a.KEY_LOAD_ERROR:case o.a.KEY_LOAD_TIMEOUT:if(!t.fatal)if(this.fragLoadError+1<=this.config.fragLoadingMaxRetry){var r=Math.min(Math.pow(2,this.fragLoadError)*this.config.fragLoadingRetryDelay,this.config.fragLoadingMaxRetryTimeout);s.b.warn("mediaController: frag loading failed, retry in "+r+" ms"),this.retryDate=performance.now()+r,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.fragLoadError++,this.state=J.FRAG_LOADING_WAITING_RETRY}else s.b.error("mediaController: "+t.details+" reaches max retry, redispatch as fatal ..."),t.fatal=!0,this.state=J.ERROR;break;case o.a.LEVEL_LOAD_ERROR:case o.a.LEVEL_LOAD_TIMEOUT:this.state!==J.ERROR&&(t.fatal?(this.state=J.ERROR,s.b.warn("streamController: "+t.details+",switch to "+this.state+" state ...")):t.levelRetry||this.state!==J.WAITING_LEVEL||(this.state=J.IDLE));break;case o.a.BUFFER_FULL_ERROR:"main"!==t.parent||this.state!==J.PARSING&&this.state!==J.PARSED||(n?(this._reduceMaxBufferLength(this.config.maxBufferLength),this.state=J.IDLE):(s.b.warn("buffer full error also media.currentTime is not buffered, flush everything"),this.fragCurrent=null,this.flushMainBuffer(0,Number.POSITIVE_INFINITY)))}}},e.prototype._reduceMaxBufferLength=function(t){var e=this.config;return e.maxMaxBufferLength>=t&&(e.maxMaxBufferLength/=2,s.b.warn("main:reduce max buffer length to "+e.maxMaxBufferLength+"s"),!0)},e.prototype._checkBuffer=function(){var t=this.media,e=this.config;if(t&&t.readyState){var n=t.currentTime,r=(this.mediaBuffer?this.mediaBuffer:t).buffered;if(!this.loadedmetadata&&r.length){this.loadedmetadata=!0;var i=t.seeking?n:this.startPosition;n!==i&&(s.b.log("target start position not buffered, seek to buffered.start(0) "+i+" from current time"+n+" "),t.currentTime=i)}else if(this.immediateSwitch)this.immediateLevelSwitchEnd();else{var u=k.bufferInfo(t,n,e.maxBufferHole),c=!(t.paused&&t.readyState>1||t.ended||0===t.buffered.length);if(n!==this.lastCurrentTime)this.stallReported&&(s.b.warn("playback not stuck anymore @"+n+", after "+Math.round(performance.now()-this.stalled)+"ms"),this.stallReported=!1),this.stalled=void 0,this.nudgeRetry=0;else if(c){var l=performance.now(),f=this.hls;if(this.stalled){var p=l-this.stalled,d=u.len,h=this.nudgeRetry||0,v=this.fragmentTracker.getPartialFragment(n);if(null!==v)for(var y=0,m=0;m<t.buffered.length;m++){var g=t.buffered.start(m);if(n>=y&&n<g)return t.currentTime=Math.max(g,t.currentTime+.1),s.b.warn("skipping hole, adjusting currentTime from "+n+" to "+t.currentTime),this.stalled=void 0,void f.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.BUFFER_SEEK_OVER_HOLE,fatal:!1,reason:"fragment loaded with buffer holes, seeking from "+n+" to "+t.currentTime,frag:v});y=t.buffered.end(m)}if(d>.5&&p>1e3*e.highBufferWatchdogPeriod)if(this.stallReported||(this.stallReported=!0,s.b.warn("playback stalling in high buffer @"+n),f.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.BUFFER_STALLED_ERROR,fatal:!1,buffer:d})),this.stalled=void 0,this.nudgeRetry=++h,h<e.nudgeMaxRetry){var b=t.currentTime,T=b+h*e.nudgeOffset;s.b.log("adjust currentTime from "+b+" to "+T),t.currentTime=T,f.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.BUFFER_NUDGE_ON_STALL,fatal:!1})}else s.b.error("still stuck in high buffer @"+n+" after "+e.nudgeMaxRetry+", raise fatal error"),f.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.BUFFER_STALLED_ERROR,fatal:!0})}else this.stalled=l,this.stallReported=!1}}}},e.prototype.onFragLoadEmergencyAborted=function(){this.state=J.IDLE,this.loadedmetadata||(this.startFragRequested=!1,this.nextLoadPosition=this.startPosition),this.tick()},e.prototype.onBufferFlushed=function(){var t=this.mediaBuffer?this.mediaBuffer:this.media;this.fragmentTracker.detectEvictedFragments(v.ElementaryStreamTypes.VIDEO,t.buffered),this.state=J.IDLE,this.fragPrevious=null},e.prototype.swapAudioCodec=function(){this.audioCodecSwap=!this.audioCodecSwap},e.prototype.computeLivePosition=function(t,e){var n=void 0!==this.config.liveSyncDuration?this.config.liveSyncDuration:this.config.liveSyncDurationCount*e.targetduration;return t+Math.max(0,e.totalduration-n)},Q(e,[{key:"state",set:function(t){if(this.state!==t){var e=this.state;this._state=t,s.b.log("main stream:"+e+"->"+t),this.hls.trigger(a.a.STREAM_STATE_TRANSITION,{previousState:e,nextState:t})}},get:function(){return this._state}},{key:"currentLevel",get:function(){var t=this.media;if(t){var e=this.getBufferedFrag(t.currentTime);if(e)return e.level}return-1}},{key:"nextBufferedFrag",get:function(){var t=this.media;return t?this.followingBufferedFrag(this.getBufferedFrag(t.currentTime)):null}},{key:"nextLevel",get:function(){var t=this.nextBufferedFrag;return t?t.level:-1}},{key:"liveSyncPosition",get:function(){return this._liveSyncPosition},set:function(t){this._liveSyncPosition=t}}]),e}(Y),tt=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),et=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.MANIFEST_LOADED,a.a.LEVEL_LOADED,a.a.FRAG_LOADED,a.a.ERROR));return r.canload=!1,r.currentLevelIndex=null,r.manualLevelIndex=-1,r.timer=null,r}return 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)}(e,t),e.prototype.onHandlerDestroying=function(){this.cleanTimer(),this.manualLevelIndex=-1},e.prototype.cleanTimer=function(){null!==this.timer&&(clearTimeout(this.timer),this.timer=null)},e.prototype.startLoad=function(){var t=this._levels;this.canload=!0,this.levelRetryCount=0,t&&t.forEach(function(t){t.loadError=0;var e=t.details;e&&e.live&&(t.details=void 0)}),null!==this.timer&&this.loadLevel()},e.prototype.stopLoad=function(){this.canload=!1},e.prototype.onManifestLoaded=function(t){var e=[],n=void 0,r={},i=null,u=!1,c=!1,l=/chrome|firefox/.test(navigator.userAgent.toLowerCase()),f=[];if(t.levels.forEach(function(t){t.loadError=0,t.fragmentError=!1,u=u||!!t.videoCodec,c=c||!!t.audioCodec||!(!t.attrs||!t.attrs.AUDIO),!0===l&&t.audioCodec&&-1!==t.audioCodec.indexOf("mp4a.40.34")&&(t.audioCodec=void 0),void 0===(i=r[t.bitrate])?(t.url=[t.url],t.urlId=0,r[t.bitrate]=t,e.push(t)):i.url.push(t.url)}),!0===u&&!0===c&&(e=e.filter(function(t){return!!t.videoCodec})),e=e.filter(function(t){var e=t.audioCodec,n=t.videoCodec;return(!e||T(e))&&(!n||T(n))}),t.audioTracks&&(f=t.audioTracks.filter(function(t){return!t.audioCodec||T(t.audioCodec,"audio")})),e.length>0){n=e[0].bitrate,e.sort(function(t,e){return t.bitrate-e.bitrate}),this._levels=e;for(var p=0;p<e.length;p++)if(e[p].bitrate===n){this._firstLevel=p,s.b.log("manifest loaded,"+e.length+" level(s) found, first bitrate:"+n);break}this.hls.trigger(a.a.MANIFEST_PARSED,{levels:e,audioTracks:f,firstLevel:this._firstLevel,stats:t.stats,audio:c,video:u,altAudio:f.length>0})}else this.hls.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.MANIFEST_INCOMPATIBLE_CODECS_ERROR,fatal:!0,url:this.hls.url,reason:"no level with compatible codecs found in manifest"})},e.prototype.setLevelInternal=function(t){var e=this._levels,n=this.hls;if(t>=0&&t<e.length){if(this.cleanTimer(),this.currentLevelIndex!==t){s.b.log("switching to level "+t),this.currentLevelIndex=t;var r=e[t];r.level=t,n.trigger(a.a.LEVEL_SWITCHING,r)}var i=e[t],u=i.details;if(!u||!0===u.live){var c=i.urlId;n.trigger(a.a.LEVEL_LOADING,{url:i.url[c],level:t,id:c})}}else n.trigger(a.a.ERROR,{type:o.b.OTHER_ERROR,details:o.a.LEVEL_SWITCH_ERROR,level:t,fatal:!1,reason:"invalid level idx"})},e.prototype.onError=function(t){if(!0!==t.fatal){var e=!1,n=!1,r=void 0;switch(t.details){case o.a.FRAG_LOAD_ERROR:case o.a.FRAG_LOAD_TIMEOUT:case o.a.KEY_LOAD_ERROR:case o.a.KEY_LOAD_TIMEOUT:r=t.frag.level,n=!0;break;case o.a.LEVEL_LOAD_ERROR:case o.a.LEVEL_LOAD_TIMEOUT:r=t.context.level,e=!0;break;case o.a.REMUX_ALLOC_ERROR:r=t.level,e=!0}void 0!==r&&this.recoverLevel(t,r,e,n)}else t.type===o.b.NETWORK_ERROR&&this.cleanTimer()},e.prototype.recoverLevel=function(t,e,n,r){var i=this,o=this.hls.config,a=t.details,u=this._levels[e],c=void 0,l=void 0,f=void 0;if(u.loadError++,u.fragmentError=r,!0===n){if(!(this.levelRetryCount+1<=o.levelLoadingMaxRetry))return s.b.error("level controller, cannot recover from "+a+" error"),this.currentLevelIndex=null,this.cleanTimer(),void(t.fatal=!0);l=Math.min(Math.pow(2,this.levelRetryCount)*o.levelLoadingRetryDelay,o.levelLoadingMaxRetryTimeout),this.timer=setTimeout(function(){return i.loadLevel()},l),t.levelRetry=!0,this.levelRetryCount++,s.b.warn("level controller, "+a+", retry in "+l+" ms, current retry count is "+this.levelRetryCount)}!0!==n&&!0!==r||((c=u.url.length)>1&&u.loadError<c?(s.b.warn("level controller, "+a+" for level "+e+": switching to redundant stream id "+u.urlId),u.urlId=(u.urlId+1)%c,u.details=void 0):-1===this.manualLevelIndex?(f=0===e?this._levels.length-1:e-1,s.b.warn("level controller, "+a+": switch to "+f),this.hls.nextAutoLevel=this.currentLevelIndex=f):!0===r&&(s.b.warn("level controller, "+a+": reload a fragment"),this.currentLevelIndex=null))},e.prototype.onFragLoaded=function(t){var e=t.frag;if(void 0!==e&&"main"===e.type){var n=this._levels[e.level];void 0!==n&&(n.fragmentError=!1,n.loadError=0,this.levelRetryCount=0)}},e.prototype.onLevelLoaded=function(t){var e=this,n=t.level;if(n===this.currentLevelIndex){var r=this._levels[n];!1===r.fragmentError&&(r.loadError=0,this.levelRetryCount=0);var i=t.details;if(i.live){var o=1e3*(i.averagetargetduration?i.averagetargetduration:i.targetduration),a=o,u=r.details;u&&i.endSN===u.endSN&&(a/=2,s.b.log("same live playlist, reload twice faster")),a-=performance.now()-t.stats.trequest,a=Math.max(o/2,Math.round(a)),s.b.log("live playlist, reload in "+Math.round(a)+" ms"),this.timer=setTimeout(function(){return e.loadLevel()},a)}else this.cleanTimer()}},e.prototype.loadLevel=function(){var t=void 0,e=void 0;null!==this.currentLevelIndex&&!0===this.canload&&void 0!==(t=this._levels[this.currentLevelIndex])&&t.url.length>0&&(e=t.urlId,this.hls.trigger(a.a.LEVEL_LOADING,{url:t.url[e],level:this.currentLevelIndex,id:e}))},tt(e,[{key:"levels",get:function(){return this._levels}},{key:"level",get:function(){return this.currentLevelIndex},set:function(t){var e=this._levels;e&&(t=Math.min(t,e.length-1),this.currentLevelIndex===t&&void 0!==e[t].details||this.setLevelInternal(t))}},{key:"manualLevel",get:function(){return this.manualLevelIndex},set:function(t){this.manualLevelIndex=t,void 0===this._startLevel&&(this._startLevel=t),-1!==t&&(this.level=t)}},{key:"firstLevel",get:function(){return this._firstLevel},set:function(t){this._firstLevel=t}},{key:"startLevel",get:function(){if(void 0===this._startLevel){var t=this.hls.config.startLevel;return void 0!==t?t:this._firstLevel}return this._startLevel},set:function(t){this._startLevel=t}},{key:"nextLoadLevel",get:function(){return-1!==this.manualLevelIndex?this.manualLevelIndex:this.hls.nextAutoLevel},set:function(t){this.level=t,-1===this.manualLevelIndex&&(this.hls.nextAutoLevel=t)}}]),e}(l),nt=n(5);function rt(t,e){var n=null;try{n=new window.Event("addtrack")}catch(t){(n=document.createEvent("Event")).initEvent("addtrack",!1,!1)}n.track=t,e.dispatchEvent(n)}var it=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.MEDIA_ATTACHED,a.a.MEDIA_DETACHING,a.a.FRAG_PARSING_METADATA));return r.id3Track=void 0,r.media=void 0,r}return 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)}(e,t),e.prototype.destroy=function(){l.prototype.destroy.call(this)},e.prototype.onMediaAttached=function(t){this.media=t.media,this.media},e.prototype.onMediaDetaching=function(){!function(t){if(t&&t.cues)for(;t.cues.length>0;)t.removeCue(t.cues[0])}(this.id3Track),this.id3Track=void 0,this.media=void 0},e.prototype.getID3Track=function(t){for(var e=0;e<t.length;e++){var n=t[e];if("metadata"===n.kind&&"id3"===n.label)return rt(n,this.media),n}return this.media.addTextTrack("metadata","id3")},e.prototype.onFragParsingMetadata=function(t){var e=t.frag,n=t.samples;this.id3Track||(this.id3Track=this.getID3Track(this.media.textTracks),this.id3Track.mode="hidden");for(var r=window.WebKitDataCue||window.VTTCue||window.TextTrackCue,i=0;i<n.length;i++){var o=nt.a.getID3Frames(n[i].data);if(o){var a=n[i].pts,s=i<n.length-1?n[i+1].pts:e.endPTS;a===s&&(s+=1e-4);for(var u=0;u<o.length;u++){var c=o[u];if(!nt.a.isTimeStampFrame(c)){var l=new r(a,s,"");l.value=c,this.id3Track.addCue(l)}}}}},e}(l),ot=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.alpha_=e?Math.exp(Math.log(.5)/e):0,this.estimate_=0,this.totalWeight_=0}return t.prototype.sample=function(t,e){var n=Math.pow(this.alpha_,t);this.estimate_=e*(1-n)+n*this.estimate_,this.totalWeight_+=t},t.prototype.getTotalWeight=function(){return this.totalWeight_},t.prototype.getEstimate=function(){if(this.alpha_){var t=1-Math.pow(this.alpha_,this.totalWeight_);return this.estimate_/t}return this.estimate_},t}(),at=function(){function t(e,n,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.hls=e,this.defaultEstimate_=i,this.minWeight_=.001,this.minDelayMs_=50,this.slow_=new ot(n),this.fast_=new ot(r)}return t.prototype.sample=function(t,e){var n=8e3*e/(t=Math.max(t,this.minDelayMs_)),r=t/1e3;this.fast_.sample(r,n),this.slow_.sample(r,n)},t.prototype.canEstimate=function(){var t=this.fast_;return t&&t.getTotalWeight()>=this.minWeight_},t.prototype.getEstimate=function(){return this.canEstimate()?Math.min(this.fast_.getEstimate(),this.slow_.getEstimate()):this.defaultEstimate_},t.prototype.destroy=function(){},t}(),st=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ut=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.FRAG_LOADING,a.a.FRAG_LOADED,a.a.FRAG_BUFFERED,a.a.ERROR));return r.lastLoadedFragLevel=0,r._nextAutoLevel=-1,r.hls=n,r.timer=null,r._bwEstimator=null,r.onCheck=r._abandonRulesCheck.bind(r),r}return 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)}(e,t),e.prototype.destroy=function(){this.clearTimer(),l.prototype.destroy.call(this)},e.prototype.onFragLoading=function(t){var e=t.frag;if("main"===e.type){if(this.timer||(this.timer=setInterval(this.onCheck,100)),!this._bwEstimator){var n=this.hls,r=t.frag.level,i=n.levels[r].details.live,o=n.config,a=void 0,s=void 0;i?(a=o.abrEwmaFastLive,s=o.abrEwmaSlowLive):(a=o.abrEwmaFastVoD,s=o.abrEwmaSlowVoD),this._bwEstimator=new at(n,s,a,o.abrEwmaDefaultEstimate)}this.fragCurrent=e}},e.prototype._abandonRulesCheck=function(){var t=this.hls,e=t.media,n=this.fragCurrent,r=n.loader,i=t.minAutoLevel;if(!r||r.stats&&r.stats.aborted)return s.b.warn("frag loader destroy or aborted, disarm abandonRules"),this.clearTimer(),void(this._nextAutoLevel=-1);var o=r.stats;if(e&&o&&(!e.paused&&0!==e.playbackRate||!e.readyState)&&n.autoLevel&&n.level){var u=performance.now()-o.trequest,c=Math.abs(e.playbackRate);if(u>500*n.duration/c){var l=t.levels,f=Math.max(1,o.bw?o.bw/8:1e3*o.loaded/u),p=l[n.level],d=p.realBitrate?Math.max(p.realBitrate,p.bitrate):p.bitrate,h=o.total?o.total:Math.max(o.loaded,Math.round(n.duration*d/8)),v=e.currentTime,y=(h-o.loaded)/f,m=(k.bufferInfo(e,v,t.config.maxBufferHole).end-v)/c;if(m<2*n.duration/c&&y>m){var g=void 0,b=void 0;for(b=n.level-1;b>i;b--){var T=l[b].realBitrate?Math.max(l[b].realBitrate,l[b].bitrate):l[b].bitrate;if((g=n.duration*T/(6.4*f))<m)break}g<y&&(s.b.warn("loading too slow, abort fragment loading and switch to level "+b+":fragLoadedDelay["+b+"]<fragLoadedDelay["+(n.level-1)+"];bufferStarvationDelay:"+g.toFixed(1)+"<"+y.toFixed(1)+":"+m.toFixed(1)),t.nextLoadLevel=b,this._bwEstimator.sample(u,o.loaded),r.abort(),this.clearTimer(),t.trigger(a.a.FRAG_LOAD_EMERGENCY_ABORTED,{frag:n,stats:o}))}}}},e.prototype.onFragLoaded=function(t){var e=t.frag;if("main"===e.type&&!isNaN(e.sn)){if(this.clearTimer(),this.lastLoadedFragLevel=e.level,this._nextAutoLevel=-1,this.hls.config.abrMaxWithRealBitrate){var n=this.hls.levels[e.level],r=(n.loaded?n.loaded.bytes:0)+t.stats.loaded,i=(n.loaded?n.loaded.duration:0)+t.frag.duration;n.loaded={bytes:r,duration:i},n.realBitrate=Math.round(8*r/i)}if(t.frag.bitrateTest){var o=t.stats;o.tparsed=o.tbuffered=o.tload,this.onFragBuffered(t)}}},e.prototype.onFragBuffered=function(t){var e=t.stats,n=t.frag;if(!(!0===e.aborted||"main"!==n.type||isNaN(n.sn)||n.bitrateTest&&e.tload!==e.tbuffered)){var r=e.tparsed-e.trequest;s.b.log("latency/loading/parsing/append/kbps:"+Math.round(e.tfirst-e.trequest)+"/"+Math.round(e.tload-e.tfirst)+"/"+Math.round(e.tparsed-e.tload)+"/"+Math.round(e.tbuffered-e.tparsed)+"/"+Math.round(8*e.loaded/(e.tbuffered-e.trequest))),this._bwEstimator.sample(r,e.loaded),e.bwEstimate=this._bwEstimator.getEstimate(),n.bitrateTest?this.bitrateTestDelay=r/1e3:this.bitrateTestDelay=0}},e.prototype.onError=function(t){switch(t.details){case o.a.FRAG_LOAD_ERROR:case o.a.FRAG_LOAD_TIMEOUT:this.clearTimer()}},e.prototype.clearTimer=function(){clearInterval(this.timer),this.timer=null},e.prototype._findBestLevel=function(t,e,n,r,i,o,a,u,c){for(var l=i;l>=r;l--){var f=c[l].details,p=f?f.totalduration/f.fragments.length:e,d=!!f&&f.live,h=void 0;h=l<=t?a*n:u*n;var v=c[l].realBitrate?Math.max(c[l].realBitrate,c[l].bitrate):c[l].bitrate,y=v*p/h;if(s.b.trace("level/adjustedbw/bitrate/avgDuration/maxFetchDuration/fetchDuration: "+l+"/"+Math.round(h)+"/"+v+"/"+p+"/"+o+"/"+y),h>v&&(!y||d&&!this.bitrateTestDelay||y<o))return l}return-1},st(e,[{key:"nextAutoLevel",get:function(){var t=this._nextAutoLevel,e=this._bwEstimator;if(!(-1===t||e&&e.canEstimate()))return t;var n=this._nextABRAutoLevel;return-1!==t&&(n=Math.min(t,n)),n},set:function(t){this._nextAutoLevel=t}},{key:"_nextABRAutoLevel",get:function(){var t=this.hls,e=t.maxAutoLevel,n=t.levels,r=t.config,i=t.minAutoLevel,o=t.media,a=this.lastLoadedFragLevel,u=this.fragCurrent?this.fragCurrent.duration:0,c=o?o.currentTime:0,l=o&&0!==o.playbackRate?Math.abs(o.playbackRate):1,f=this._bwEstimator?this._bwEstimator.getEstimate():r.abrEwmaDefaultEstimate,p=(k.bufferInfo(o,c,r.maxBufferHole).end-c)/l,d=this._findBestLevel(a,u,f,i,e,p,r.abrBandWidthFactor,r.abrBandWidthUpFactor,n);if(d>=0)return d;s.b.trace("rebuffering expected to happen, lets try to find a quality level minimizing the rebuffering");var h=u?Math.min(u,r.maxStarvationDelay):r.maxStarvationDelay,v=r.abrBandWidthFactor,y=r.abrBandWidthUpFactor;if(0===p){var m=this.bitrateTestDelay;m&&(h=(u?Math.min(u,r.maxLoadingDelay):r.maxLoadingDelay)-m,s.b.trace("bitrate test took "+Math.round(1e3*m)+"ms, set first fragment max fetchDuration to "+Math.round(1e3*h)+" ms"),v=y=1)}return d=this._findBestLevel(a,u,f,i,e,p+h,v,y,n),Math.max(d,0)}}]),e}(l),ct=F(),lt=function(t){function e(n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,n,a.a.MEDIA_ATTACHING,a.a.MEDIA_DETACHING,a.a.MANIFEST_PARSED,a.a.BUFFER_RESET,a.a.BUFFER_APPENDING,a.a.BUFFER_CODECS,a.a.BUFFER_EOS,a.a.BUFFER_FLUSHING,a.a.LEVEL_PTS_UPDATED,a.a.LEVEL_UPDATED));return r._msDuration=null,r._levelDuration=null,r._live=null,r._objectUrl=null,r.onsbue=r.onSBUpdateEnd.bind(r),r.onsbe=r.onSBUpdateError.bind(r),r.pendingTracks={},r.tracks={},r}return 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)}(e,t),e.prototype.destroy=function(){l.prototype.destroy.call(this)},e.prototype.onLevelPtsUpdated=function(t){var e=t.type,n=this.tracks.audio;if("audio"===e&&n&&"audio/mpeg"===n.container){var r=this.sourceBuffer.audio;if(Math.abs(r.timestampOffset-t.start)>.1){var i=r.updating;try{r.abort()}catch(t){i=!0,s.b.warn("can not abort audio buffer: "+t)}i?this.audioTimestampOffset=t.start:(s.b.warn("change mpeg audio timestamp offset from "+r.timestampOffset+" to "+t.start),r.timestampOffset=t.start)}}},e.prototype.onManifestParsed=function(t){var e=t.audio,n=t.video||t.levels.length&&t.audio,r=0;t.altAudio&&(e||n)&&(r=(e?1:0)+(n?1:0),s.b.log(r+" sourceBuffer(s) expected")),this.sourceBufferNb=r},e.prototype.onMediaAttaching=function(t){var e=this.media=t.media;if(e){var n=this.mediaSource=new ct;this.onmso=this.onMediaSourceOpen.bind(this),this.onmse=this.onMediaSourceEnded.bind(this),this.onmsc=this.onMediaSourceClose.bind(this),n.addEventListener("sourceopen",this.onmso),n.addEventListener("sourceended",this.onmse),n.addEventListener("sourceclose",this.onmsc),e.src=URL.createObjectURL(n),this._objectUrl=e.src}},e.prototype.onMediaDetaching=function(){s.b.log("media source detaching");var t=this.mediaSource;if(t){if("open"===t.readyState)try{t.endOfStream()}catch(t){s.b.warn("onMediaDetaching:"+t.message+" while calling endOfStream")}t.removeEventListener("sourceopen",this.onmso),t.removeEventListener("sourceended",this.onmse),t.removeEventListener("sourceclose",this.onmsc),this.media&&(URL.revokeObjectURL(this._objectUrl),this.media.src===this._objectUrl?(this.media.removeAttribute("src"),this.media.load()):s.b.warn("media.src was changed by a third party - skip cleanup")),this.mediaSource=null,this.media=null,this._objectUrl=null,this.pendingTracks={},this.tracks={},this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0}this.onmso=this.onmse=this.onmsc=null,this.hls.trigger(a.a.MEDIA_DETACHED)},e.prototype.onMediaSourceOpen=function(){s.b.log("media source opened"),this.hls.trigger(a.a.MEDIA_ATTACHED,{media:this.media});var t=this.mediaSource;t&&t.removeEventListener("sourceopen",this.onmso),this.checkPendingTracks()},e.prototype.checkPendingTracks=function(){var t=this.pendingTracks,e=Object.keys(t).length;e&&(this.sourceBufferNb<=e||0===this.sourceBufferNb)&&(this.createSourceBuffers(t),this.pendingTracks={},this.doAppending())},e.prototype.onMediaSourceClose=function(){s.b.log("media source closed")},e.prototype.onMediaSourceEnded=function(){s.b.log("media source ended")},e.prototype.onSBUpdateEnd=function(){if(this.audioTimestampOffset){var t=this.sourceBuffer.audio;s.b.warn("change mpeg audio timestamp offset from "+t.timestampOffset+" to "+this.audioTimestampOffset),t.timestampOffset=this.audioTimestampOffset,delete this.audioTimestampOffset}this._needsFlush&&this.doFlush(),this._needsEos&&this.checkEos(),this.appending=!1;var e=this.parent,n=this.segments.reduce(function(t,n){return n.parent===e?t+1:t},0),r={},i=this.sourceBuffer;for(var o in i)r[o]=i[o].buffered;this.hls.trigger(a.a.BUFFER_APPENDED,{parent:e,pending:n,timeRanges:r}),this._needsFlush||this.doAppending(),this.updateMediaElementDuration()},e.prototype.onSBUpdateError=function(t){s.b.error("sourceBuffer error:",t),this.hls.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.BUFFER_APPENDING_ERROR,fatal:!1})},e.prototype.onBufferReset=function(){var t=this.sourceBuffer;for(var e in t){var n=t[e];try{this.mediaSource.removeSourceBuffer(n),n.removeEventListener("updateend",this.onsbue),n.removeEventListener("error",this.onsbe)}catch(t){}}this.sourceBuffer={},this.flushRange=[],this.segments=[],this.appended=0},e.prototype.onBufferCodecs=function(t){if(0===Object.keys(this.sourceBuffer).length){for(var e in t)this.pendingTracks[e]=t[e];var n=this.mediaSource;n&&"open"===n.readyState&&this.checkPendingTracks()}},e.prototype.createSourceBuffers=function(t){var e=this.sourceBuffer,n=this.mediaSource;for(var r in t)if(!e[r]){var i=t[r],u=i.levelCodec||i.codec,c=i.container+";codecs="+u;s.b.log("creating sourceBuffer("+c+")");try{var l=e[r]=n.addSourceBuffer(c);l.addEventListener("updateend",this.onsbue),l.addEventListener("error",this.onsbe),this.tracks[r]={codec:u,container:i.container},i.buffer=l}catch(t){s.b.error("error while trying to add sourceBuffer:"+t.message),this.hls.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.BUFFER_ADD_CODEC_ERROR,fatal:!1,err:t,mimeType:c})}}this.hls.trigger(a.a.BUFFER_CREATED,{tracks:t})},e.prototype.onBufferAppending=function(t){this._needsFlush||(this.segments?this.segments.push(t):this.segments=[t],this.doAppending())},e.prototype.onBufferAppendFail=function(t){s.b.error("sourceBuffer error:",t.event),this.hls.trigger(a.a.ERROR,{type:o.b.MEDIA_ERROR,details:o.a.BUFFER_APPENDING_ERROR,fatal:!1})},e.prototype.onBufferEos=function(t){var e=this.sourceBuffer,n=t.type;for(var r in e)n&&r!==n||e[r].ended||(e[r].ended=!0,s.b.log(r+" sourceBuffer now EOS"));this.checkEos()},e.prototype.checkEos=function(){var t=this.sourceBuffer,e=this.mediaSource;if(e&&"open"===e.readyState){for(var n in t){var r=t[n];if(!r.ended)return;if(r.updating)return void(this._needsEos=!0)}s.b.log("all media data available, signal endOfStream() to MediaSource and stop loading fragment");try{e.endOfStream()}catch(t){s.b.warn("exception while calling mediaSource.endOfStream()")}this._needsEos=!1}else this._needsEos=!1},e.prototype.onBufferFlushing=function(t){this.flushRange.push({start:t.startOffset,end:t.endOffset,type:t.type}),this.flushBufferCounter=0,this.doFlush()},e.prototype.onLevelUpdated=function(t){var e=t.details;e.fragments.length>0&&(this._levelDuration=e.totalduration+e.fragments[0].start,this._live=e.live,this.updateMediaElementDuration())},e.prototype.updateMediaElementDuration=function(){var t,e=this.hls.config;if(null!==this._levelDuration&&this.media&&this.mediaSource&&this.sourceBuffer&&0!==this.media.readyState&&"open"===this.mediaSource.readyState){for(var n in this.sourceBuffer)if(!0===this.sourceBuffer[n].updating)return;t=this.media.duration,null===this._msDuration&&(this._msDuration=this.mediaSource.duration),!0===this._live&&!0===e.liveDurationInfinity?(s.b.log("Media Source duration is set to Infinity"),this._msDuration=this.mediaSource.duration=1/0):(this._levelDuration>this._msDuration&&this._levelDuration>t||t===1/0||isNaN(t))&&(s.b.log("Updating Media Source duration to "+this._levelDuration.toFixed(3)),this._msDuration=this.mediaSource.duration=this._levelDuration)}},e.prototype.doFlush=function(){for(;this.flushRange.length;){var t=this.flushRange[0];if(!this.flushBuffer(t.start,t.end,t.type))return void(this._needsFlush=!0);this.flushRange.shift(),this.flushBufferCounter=0}if(0===this.flushRange.length){this._needsFlush=!1;var e=0,n=this.sourceBuffer;try{for(var r in n)e+=n[r].buffered.length}catch(t){s.b.error("error while accessing sourceBuffer.buffered")}this.appended=e,this.hls.trigger(a.a.BUFFER_FLUSHED)}},e.prototype.doAppending=function(){var t=this.hls,e=this.sourceBuffer,n=this.segments;if(Object.keys(e).length){if(this.media.error)return this.segments=[],void s.b.error("trying to append although a media error occured, flush segment and abort");if(this.appending)return;if(n&&n.length){var r=n.shift();try{var i=e[r.type];i?i.updating?n.unshift(r):(i.ended=!1,this.parent=r.parent,i.appendBuffer(r.data),this.appendError=0,this.appended++,this.appending=!0):this.onSBUpdateEnd()}catch(e){s.b.error("error while trying to append buffer:"+e.message),n.unshift(r);var u={type:o.b.MEDIA_ERROR,parent:r.parent};22!==e.code?(this.appendError?this.appendError++:this.appendError=1,u.details=o.a.BUFFER_APPEND_ERROR,this.appendError>t.config.appendErrorMaxRetry?(s.b.log("fail "+t.config.appendErrorMaxRetry+" times to append segment in sourceBuffer"),n=[],u.fatal=!0,t.trigger(a.a.ERROR,u)):(u.fatal=!1,t.trigger(a.a.ERROR,u))):(this.segments=[],u.details=o.a.BUFFER_FULL_ERROR,u.fatal=!1,t.trigger(a.a.ERROR,u))}}}},e.prototype.flushBuffer=function(t,e,n){var r=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,l=this.sourceBuffer;if(Object.keys(l).length){if(s.b.log("flushBuffer,pos/start/end: "+this.media.currentTime.toFixed(3)+"/"+t+"/"+e),this.flushBufferCounter<this.appended){for(var f in l)if(!n||f===n){if((r=l[f]).ended=!1,r.updating)return s.b.warn("cannot flush, sb updating in progress"),!1;try{for(i=0;i<r.buffered.length;i++)if(o=r.buffered.start(i),a=r.buffered.end(i),-1!==navigator.userAgent.toLowerCase().indexOf("firefox")&&e===Number.POSITIVE_INFINITY?(u=t,c=e):(u=Math.max(o,t),c=Math.min(a,e)),Math.min(c,a)-u>.5)return this.flushBufferCounter++,s.b.log("flush "+f+" ["+u+","+c+"], of ["+o+","+a+"], pos:"+this.media.currentTime),r.remove(u,c),!1}catch(t){s.b.warn("exception while accessing sourcebuffer, it might have been removed from MediaSource")}}}else s.b.warn("abort flushing too many retries");s.b.log("buffer flushed")}return!0},e}(l),ft=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),pt=function(t){function e(n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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}(this,t.call(this,n,a.a.FPS_DROP_LEVEL_CAPPING,a.a.MEDIA_ATTACHING,a.a.MANIFEST_PARSED))}return 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)}(e,t),e.prototype.destroy=function(){this.hls.config.capLevelToPlayerSize&&(this.media=this.restrictedLevels=null,this.autoLevelCapping=Number.POSITIVE_INFINITY,this.timer&&(this.timer=clearInterval(this.timer)))},e.prototype.onFpsDropLevelCapping=function(t){e.isLevelAllowed(t.droppedLevel,this.restrictedLevels)&&this.restrictedLevels.push(t.droppedLevel)},e.prototype.onMediaAttaching=function(t){this.media=t.media instanceof HTMLVideoElement?t.media:null},e.prototype.onManifestParsed=function(t){var e=this.hls;this.restrictedLevels=[],e.config.capLevelToPlayerSize&&(this.autoLevelCapping=Number.POSITIVE_INFINITY,this.levels=t.levels,e.firstLevel=this.getMaxLevel(t.firstLevel),clearInterval(this.timer),this.timer=setInterval(this.detectPlayerSize.bind(this),1e3),this.detectPlayerSize())},e.prototype.detectPlayerSize=function(){if(this.media){var t=this.levels?this.levels.length:0;if(t){var e=this.hls;e.autoLevelCapping=this.getMaxLevel(t-1),e.autoLevelCapping>this.autoLevelCapping&&e.streamController.nextLevelSwitch(),this.autoLevelCapping=e.autoLevelCapping}}},e.prototype.getMaxLevel=function(t){var n=this;if(!this.levels)return-1;var r=this.levels.filter(function(r,i){return e.isLevelAllowed(i,n.restrictedLevels)&&i<=t});return e.getMaxLevelByMediaSize(r,this.mediaWidth,this.mediaHeight)},e.isLevelAllowed=function(t){return-1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).indexOf(t)},e.getMaxLevelByMediaSize=function(t,e,n){if(!t||t&&!t.length)return-1;for(var r,i,o=t.length-1,a=0;a<t.length;a+=1){var s=t[a];if((s.width>=e||s.height>=n)&&(r=s,!(i=t[a+1])||r.width!==i.width||r.height!==i.height)){o=a;break}}return o},ft(e,[{key:"mediaWidth",get:function(){var t=void 0,n=this.media;return n&&(t=n.width||n.clientWidth||n.offsetWidth,t*=e.contentScaleFactor),t}},{key:"mediaHeight",get:function(){var t=void 0,n=this.media;return n&&(t=n.height||n.clientHeight||n.offsetHeight,t*=e.contentScaleFactor),t}}],[{key:"contentScaleFactor",get:function(){var t=1;try{t=window.devicePixelRatio}catch(t){}return t}}]),e}(l),dt=function(t){function e(n){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),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}(this,t.call(this,n,a.a.MEDIA_ATTACHING))}return 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)}(e,t),e.prototype.destroy=function(){this.timer&&clearInterval(this.timer),this.isVideoPlaybackQualityAvailable=!1},e.prototype.onMediaAttaching=function(t){var e=this.hls.config;e.capLevelOnFPSDrop&&("function"==typeof(this.video=t.media instanceof HTMLVideoElement?t.media:null).getVideoPlaybackQuality&&(this.isVideoPlaybackQualityAvailable=!0),clearInterval(this.timer),this.timer=setInterval(this.checkFPSInterval.bind(this),e.fpsDroppedMonitoringPeriod))},e.prototype.checkFPS=function(t,e,n){var r=performance.now();if(e){if(this.lastTime){var i=r-this.lastTime,o=n-this.lastDroppedFrames,u=e-this.lastDecodedFrames,c=1e3*o/i,l=this.hls;if(l.trigger(a.a.FPS_DROP,{currentDropped:o,currentDecoded:u,totalDroppedFrames:n}),c>0&&o>l.config.fpsDroppedMonitoringThreshold*u){var f=l.currentLevel;s.b.warn("drop FPS ratio greater than max allowed value for currentLevel: "+f),f>0&&(-1===l.autoLevelCapping||l.autoLevelCapping>=f)&&(f-=1,l.trigger(a.a.FPS_DROP_LEVEL_CAPPING,{level:f,droppedLevel:l.currentLevel}),l.autoLevelCapping=f,l.streamController.nextLevelSwitch())}}this.lastTime=r,this.lastDroppedFrames=n,this.lastDecodedFrames=e}},e.prototype.checkFPSInterval=function(){var t=this.video;if(t)if(this.isVideoPlaybackQualityAvailable){var e=t.getVideoPlaybackQuality();this.checkFPS(t,e.totalVideoFrames,e.droppedVideoFrames)}else this.checkFPS(t,t.webkitDecodedFrameCount,t.webkitDroppedFrameCount)},e}(l),ht=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e&&e.xhrSetup&&(this.xhrSetup=e.xhrSetup)}return t.prototype.destroy=function(){this.abort(),this.loader=null},t.prototype.abort=function(){var t=this.loader;t&&4!==t.readyState&&(this.stats.aborted=!0,t.abort()),window.clearTimeout(this.requestTimeout),this.requestTimeout=null,window.clearTimeout(this.retryTimeout),this.retryTimeout=null},t.prototype.load=function(t,e,n){this.context=t,this.config=e,this.callbacks=n,this.stats={trequest:performance.now(),retry:0},this.retryDelay=e.retryDelay,this.loadInternal()},t.prototype.loadInternal=function(){var t=void 0,e=this.context;t=this.loader=new XMLHttpRequest;var n=this.stats;n.tfirst=0,n.loaded=0;var r=this.xhrSetup;try{if(r)try{r(t,e.url)}catch(n){t.open("GET",e.url,!0),r(t,e.url)}t.readyState||t.open("GET",e.url,!0)}catch(n){return void this.callbacks.onError({code:t.status,text:n.message},e,t)}e.rangeEnd&&t.setRequestHeader("Range","bytes="+e.rangeStart+"-"+(e.rangeEnd-1)),t.onreadystatechange=this.readystatechange.bind(this),t.onprogress=this.loadprogress.bind(this),t.responseType=e.responseType,this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),this.config.timeout),t.send()},t.prototype.readystatechange=function(t){var e=t.currentTarget,n=e.readyState,r=this.stats,i=this.context,o=this.config;if(!r.aborted&&n>=2)if(window.clearTimeout(this.requestTimeout),0===r.tfirst&&(r.tfirst=Math.max(performance.now(),r.trequest)),4===n){var a=e.status;if(a>=200&&a<300){r.tload=Math.max(r.tfirst,performance.now());var u=void 0,c=void 0;c="arraybuffer"===i.responseType?(u=e.response).byteLength:(u=e.responseText).length,r.loaded=r.total=c;var l={url:e.responseURL,data:u};this.callbacks.onSuccess(l,r,i,e)}else r.retry>=o.maxRetry||a>=400&&a<499?(s.b.error(a+" while loading "+i.url),this.callbacks.onError({code:a,text:e.statusText},i,e)):(s.b.warn(a+" while loading "+i.url+", retrying in "+this.retryDelay+"..."),this.destroy(),this.retryTimeout=window.setTimeout(this.loadInternal.bind(this),this.retryDelay),this.retryDelay=Math.min(2*this.retryDelay,o.maxRetryDelay),r.retry++)}else this.requestTimeout=window.setTimeout(this.loadtimeout.bind(this),o.timeout)},t.prototype.loadtimeout=function(){s.b.warn("timeout while loading "+this.context.url),this.callbacks.onTimeout(this.stats,this.context,null)},t.prototype.loadprogress=function(t){var e=t.currentTarget,n=this.stats;n.loaded=t.loaded,t.lengthComputable&&(n.total=t.total);var r=this.callbacks.onProgress;r&&r(n,this.context,null,e)},t}(),vt=(n(3),{autoStartLoad:!0,startPosition:-1,defaultAudioCodec:void 0,debug:!1,capLevelOnFPSDrop:!1,capLevelToPlayerSize:!1,initialLiveManifestSize:1,maxBufferLength:30,maxBufferSize:6e7,maxBufferHole:.5,lowBufferWatchdogPeriod:.5,highBufferWatchdogPeriod:3,nudgeOffset:.1,nudgeMaxRetry:3,maxFragLookUpTolerance:.25,liveSyncDurationCount:3,liveMaxLatencyDurationCount:1/0,liveSyncDuration:void 0,liveMaxLatencyDuration:void 0,liveDurationInfinity:!1,maxMaxBufferLength:600,enableWorker:!0,enableSoftwareAES:!0,manifestLoadingTimeOut:1e4,manifestLoadingMaxRetry:1,manifestLoadingRetryDelay:1e3,manifestLoadingMaxRetryTimeout:64e3,startLevel:void 0,levelLoadingTimeOut:1e4,levelLoadingMaxRetry:4,levelLoadingRetryDelay:1e3,levelLoadingMaxRetryTimeout:64e3,fragLoadingTimeOut:2e4,fragLoadingMaxRetry:6,fragLoadingRetryDelay:1e3,fragLoadingMaxRetryTimeout:64e3,startFragPrefetch:!1,fpsDroppedMonitoringPeriod:5e3,fpsDroppedMonitoringThreshold:.2,appendErrorMaxRetry:3,loader:ht,fLoader:void 0,pLoader:void 0,xhrSetup:void 0,licenseXhrSetup:void 0,abrController:ut,bufferController:lt,capLevelController:pt,fpsController:dt,stretchShortVideoTrack:!1,maxAudioFramesDrift:1,forceKeyFrameOnDiscontinuity:!0,abrEwmaFastLive:3,abrEwmaSlowLive:9,abrEwmaFastVoD:3,abrEwmaSlowVoD:9,abrEwmaDefaultEstimate:5e5,abrBandWidthFactor:.95,abrBandWidthUpFactor:.7,abrMaxWithRealBitrate:!1,maxStarvationDelay:4,maxLoadingDelay:4,minAutoBitrate:0,emeEnabled:!1,widevineLicenseUrl:void 0,requestMediaKeySystemAccessFunc:window.navigator&&window.navigator.requestMediaKeySystemAccess?window.navigator.requestMediaKeySystemAccess.bind(window.navigator):null}),yt=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(12);var mt=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var r=t.DefaultConfig;if((n.liveSyncDurationCount||n.liveMaxLatencyDurationCount)&&(n.liveSyncDuration||n.liveMaxLatencyDuration))throw new Error("Illegal hls.js config: don't mix up liveSyncDurationCount/liveMaxLatencyDurationCount and liveSyncDuration/liveMaxLatencyDuration");for(var i in r)i in n||(n[i]=r[i]);if(void 0!==n.liveMaxLatencyDurationCount&&n.liveMaxLatencyDurationCount<=n.liveSyncDurationCount)throw new Error('Illegal hls.js config: "liveMaxLatencyDurationCount" must be gt "liveSyncDurationCount"');if(void 0!==n.liveMaxLatencyDuration&&(n.liveMaxLatencyDuration<=n.liveSyncDuration||void 0===n.liveSyncDuration))throw new Error('Illegal hls.js config: "liveMaxLatencyDuration" must be gt "liveSyncDuration"');Object(s.a)(n.debug),this.config=n,this._autoLevelCapping=-1;var o=this.observer=new N.a;o.trigger=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];o.emit.apply(o,[t,t].concat(n))},o.off=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];o.removeListener.apply(o,[t].concat(n))},this.on=o.on.bind(o),this.off=o.off.bind(o),this.trigger=o.trigger.bind(o);var a=this.abrController=new n.abrController(this),u=new n.bufferController(this),c=new n.capLevelController(this),l=new n.fpsController(this),f=new C(this),p=new M(this),d=new L(this),h=new it(this),v=this.levelController=new et(this),y=new V(this),m=[v,this.streamController=new Z(this,y)],g=n.audioStreamController;g&&m.push(new g(this,y)),this.networkControllers=m;var b=[f,p,d,a,u,c,l,h,y];if(g=n.audioTrackController){var T=new g(this);this.audioTrackController=T,b.push(T)}if(g=n.subtitleTrackController){var _=new g(this);this.subtitleTrackController=_,b.push(_)}if(g=n.emeController){var S=new g(this);this.emeController=S,b.push(S)}[n.subtitleStreamController,n.timelineController].forEach(function(t){t&&b.push(new t(e))}),this.coreComponents=b}return t.isSupported=function(){return t=F(),e=window.SourceBuffer||window.WebKitSourceBuffer,n=t&&"function"==typeof t.isTypeSupported&&t.isTypeSupported('video/mp4; codecs="avc1.42E01E,mp4a.40.2"'),r=!e||e.prototype&&"function"==typeof e.prototype.appendBuffer&&"function"==typeof e.prototype.remove,!!n&&!!r;var t,e,n,r},yt(t,null,[{key:"version",get:function(){return"0.9.1"}},{key:"Events",get:function(){return a.a}},{key:"ErrorTypes",get:function(){return o.b}},{key:"ErrorDetails",get:function(){return o.a}},{key:"DefaultConfig",get:function(){return t.defaultConfig?t.defaultConfig:vt},set:function(e){t.defaultConfig=e}}]),t.prototype.destroy=function(){s.b.log("destroy"),this.trigger(a.a.DESTROYING),this.detachMedia(),this.coreComponents.concat(this.networkControllers).forEach(function(t){t.destroy()}),this.url=null,this.observer.removeAllListeners(),this._autoLevelCapping=-1},t.prototype.attachMedia=function(t){s.b.log("attachMedia"),this.media=t,this.trigger(a.a.MEDIA_ATTACHING,{media:t})},t.prototype.detachMedia=function(){s.b.log("detachMedia"),this.trigger(a.a.MEDIA_DETACHING),this.media=null},t.prototype.loadSource=function(t){t=i.a.buildAbsoluteURL(window.location.href,t,{alwaysNormalize:!0}),s.b.log("loadSource:"+t),this.url=t,this.trigger(a.a.MANIFEST_LOADING,{url:t})},t.prototype.startLoad=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;s.b.log("startLoad("+t+")"),this.networkControllers.forEach(function(e){e.startLoad(t)})},t.prototype.stopLoad=function(){s.b.log("stopLoad"),this.networkControllers.forEach(function(t){t.stopLoad()})},t.prototype.swapAudioCodec=function(){s.b.log("swapAudioCodec"),this.streamController.swapAudioCodec()},t.prototype.recoverMediaError=function(){s.b.log("recoverMediaError");var t=this.media;this.detachMedia(),this.attachMedia(t)},yt(t,[{key:"levels",get:function(){return this.levelController.levels}},{key:"currentLevel",get:function(){return this.streamController.currentLevel},set:function(t){s.b.log("set currentLevel:"+t),this.loadLevel=t,this.streamController.immediateLevelSwitch()}},{key:"nextLevel",get:function(){return this.streamController.nextLevel},set:function(t){s.b.log("set nextLevel:"+t),this.levelController.manualLevel=t,this.streamController.nextLevelSwitch()}},{key:"loadLevel",get:function(){return this.levelController.level},set:function(t){s.b.log("set loadLevel:"+t),this.levelController.manualLevel=t}},{key:"nextLoadLevel",get:function(){return this.levelController.nextLoadLevel},set:function(t){this.levelController.nextLoadLevel=t}},{key:"firstLevel",get:function(){return Math.max(this.levelController.firstLevel,this.minAutoLevel)},set:function(t){s.b.log("set firstLevel:"+t),this.levelController.firstLevel=t}},{key:"startLevel",get:function(){return this.levelController.startLevel},set:function(t){s.b.log("set startLevel:"+t),-1!==t&&(t=Math.max(t,this.minAutoLevel)),this.levelController.startLevel=t}},{key:"autoLevelCapping",get:function(){return this._autoLevelCapping},set:function(t){s.b.log("set autoLevelCapping:"+t),this._autoLevelCapping=t}},{key:"autoLevelEnabled",get:function(){return-1===this.levelController.manualLevel}},{key:"manualLevel",get:function(){return this.levelController.manualLevel}},{key:"minAutoLevel",get:function(){for(var t=this.levels,e=this.config.minAutoBitrate,n=t?t.length:0,r=0;r<n;r++)if((t[r].realBitrate?Math.max(t[r].realBitrate,t[r].bitrate):t[r].bitrate)>e)return r;return 0}},{key:"maxAutoLevel",get:function(){var t=this.levels,e=this.autoLevelCapping;return-1===e&&t&&t.length?t.length-1:e}},{key:"nextAutoLevel",get:function(){return Math.min(Math.max(this.abrController.nextAutoLevel,this.minAutoLevel),this.maxAutoLevel)},set:function(t){this.abrController.nextAutoLevel=Math.max(this.minAutoLevel,t)}},{key:"audioTracks",get:function(){var t=this.audioTrackController;return t?t.audioTracks:[]}},{key:"audioTrack",get:function(){var t=this.audioTrackController;return t?t.audioTrack:-1},set:function(t){var e=this.audioTrackController;e&&(e.audioTrack=t)}},{key:"liveSyncPosition",get:function(){return this.streamController.liveSyncPosition}},{key:"subtitleTracks",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTracks:[]}},{key:"subtitleTrack",get:function(){var t=this.subtitleTrackController;return t?t.subtitleTrack:-1},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleTrack=t)}},{key:"subtitleDisplay",get:function(){var t=this.subtitleTrackController;return!!t&&t.subtitleDisplay},set:function(t){var e=this.subtitleTrackController;e&&(e.subtitleDisplay=t)}}]),t}();e.default=mt},function(t,e,n){function r(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n.oe=function(t){throw console.error(t),t};var r=n(n.s=ENTRY_MODULE);return r.default||r}var i="[\\.|\\-|\\+|\\w|/|@]+",o="\\((/\\*.*?\\*/)?s?.*?("+i+").*?\\)";function a(t){return(t+"").replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function s(t,e,r){var s={};s[r]=[];var u=e.toString(),c=u.match(/^function\s?\(\w+,\s*\w+,\s*(\w+)\)/);if(!c)return s;for(var l,f=c[1],p=new RegExp("(\\\\n|\\W)"+a(f)+o,"g");l=p.exec(u);)"dll-reference"!==l[3]&&s[r].push(l[3]);for(p=new RegExp("\\("+a(f)+'\\("(dll-reference\\s('+i+'))"\\)\\)'+o,"g");l=p.exec(u);)t[l[2]]||(s[r].push(l[1]),t[l[2]]=n(l[1]).m),s[l[2]]=s[l[2]]||[],s[l[2]].push(l[4]);return s}function u(t){return Object.keys(t).reduce(function(e,n){return e||t[n].length>0},!1)}t.exports=function(t,e){e=e||{};var i={main:n.m},o=e.all?{main:Object.keys(i)}:function(t,e){for(var n={main:[e]},r={main:[]},i={main:{}};u(n);)for(var o=Object.keys(n),a=0;a<o.length;a++){var c=o[a],l=n[c].pop();if(i[c]=i[c]||{},!i[c][l]&&t[c][l]){i[c][l]=!0,r[c]=r[c]||[],r[c].push(l);for(var f=s(t,t[c][l],c),p=Object.keys(f),d=0;d<p.length;d++)n[p[d]]=n[p[d]]||[],n[p[d]]=n[p[d]].concat(f[p[d]])}}return r}(i,t),a="";Object.keys(o).filter(function(t){return"main"!==t}).forEach(function(t){for(var e=0;o[t][e];)e++;o[t].push(e),i[t][e]="(function(module, exports, __webpack_require__) { module.exports = __webpack_require__; })",a=a+"var "+t+" = ("+r.toString().replace("ENTRY_MODULE",JSON.stringify(e))+")({"+o[t].map(function(e){return JSON.stringify(e)+": "+i[t][e].toString()}).join(",")+"});\n"}),a=a+"("+r.toString().replace("ENTRY_MODULE",JSON.stringify(t))+")({"+o.main.map(function(t){return JSON.stringify(t)+": "+i.main[t].toString()}).join(",")+"})(self);";var c=new window.Blob([a],{type:"text/javascript"});if(e.bare)return c;var l=(window.URL||window.webkitURL||window.mozURL||window.msURL).createObjectURL(c),f=new window.Worker(l);return f.objectURL=l,f}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(8),i=n(1),o=n(0),a=n(6),s=n.n(a);e.default=function(t){var e=new s.a;e.trigger=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.emit.apply(e,[t,t].concat(r))},e.off=function(t){for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];e.removeListener.apply(e,[t].concat(r))};var n=function(e,n){t.postMessage({event:e,data:n})};t.addEventListener("message",function(i){var a=i.data;switch(a.cmd){case"init":var s=JSON.parse(a.config);t.demuxer=new r.a(e,a.typeSupported,s,a.vendor);try{Object(o.a)(!0===s.debug)}catch(t){console.warn("demuxerWorker: unable to enable logs")}n("init",null);break;case"demux":t.demuxer.push(a.data,a.decryptdata,a.initSegment,a.audioCodec,a.videoCodec,a.timeOffset,a.discontinuity,a.trackSwitch,a.contiguous,a.duration,a.accurateTimeOffset,a.defaultInitPTS)}}),e.on(i.a.FRAG_DECRYPTED,n),e.on(i.a.FRAG_PARSING_INIT_SEGMENT,n),e.on(i.a.FRAG_PARSED,n),e.on(i.a.ERROR,n),e.on(i.a.FRAG_PARSING_METADATA,n),e.on(i.a.FRAG_PARSING_USERDATA,n),e.on(i.a.INIT_PTS_FOUND,n),e.on(i.a.FRAG_PARSING_DATA,function(e,n){var r=[],i={event:e,data:n};n.data1&&(i.data1=n.data1.buffer,r.push(n.data1.buffer),delete n.data1),n.data2&&(i.data2=n.data2.buffer,r.push(n.data2.buffer),delete n.data2),t.postMessage(i,r)})}},function(t,e){ /*! http://mths.be/endswith v0.2.0 by @mathias */ String.prototype.endsWith||function(){"use strict";var t=function(){try{var t={},e=Object.defineProperty,n=e(t,t,t)&&e}catch(t){}return n}(),e={}.toString,n=function(t){if(null==this)throw TypeError();var n=String(this);if(t&&"[object RegExp]"==e.call(t))throw TypeError();var r=n.length,i=String(t),o=i.length,a=r;if(arguments.length>1){var s=arguments[1];void 0!==s&&(a=s?Number(s):0)!=a&&(a=0)}var u=Math.min(Math.max(a,0),r)-o;if(u<0)return!1;for(var c=-1;++c<o;)if(n.charCodeAt(u+c)!=i.charCodeAt(c))return!1;return!0};t?t(String.prototype,"endsWith",{value:n,configurable:!0,writable:!0}):String.prototype.endsWith=n}()}]).default},t.exports=r()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.attatchStream=e.isHLS=void 0;var r,i=n(328),o=(r=i)&&r.__esModule?r:{default:r},a=n(44),s=n(321),u=n(65),c=(0,a.compose)(function(t){return t.reduce(function(t,e){return t||~["application/x-mpegURL","vnd.apple.mpegURL"].indexOf(e.mimeType)?e.url:null},null)},u.toArray);e.isHLS=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return!!o.default.isSupported()&&!!c(t)},e.attatchStream=function(t){if(!o.default.isSupported())return t;var e=new o.default({autoStartLoad:!1}),n=(0,u.getMediaSources)(t),r=c(n),i=(0,s.events)(t);return r?(e.attachMedia(t),i.onPlay(function(){e.loadSource(r)},{once:!0}),e.on(o.default.Events.MANIFEST_PARSED,function(){e.startLoad(t.currentTime)}),e.on(o.default.Events.ERROR,function(n,r){switch(r.details){case o.default.ErrorDetails.NETWORK_ERROR:e.startLoad(),t.dispatchEvent(new CustomEvent("error",{detail:{networkState:HTMLMediaElement.NETWORK_EMPTY}}));break;default:e.destroy(),t.dispatchEvent(new CustomEvent("error",{detail:{networkState:HTMLMediaElement.NETWORK_NO_SOURCE}}))}}),t):t}}])},,,,,,,,,,function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(32))},function(t,e,n){"use strict"; /*! * set-value <https://github.com/jonschlinkert/set-value> * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. */const r=n(799);function i(t,e,n,r){if(!a(t))return t;let s=r||{};const u=Array.isArray(e);if(!u&&"string"!=typeof e)return t;let c=s.merge;c&&"function"!=typeof c&&(c=Object.assign);const l=u?e:function(t,e){const n=function(t,e){let n=t;if(void 0===e)return n+"";const r=Object.keys(e);for(let t=0;t<r.length;t++){const i=r[t];n+=";"+i+"="+String(e[i])}return n}(t,e);if(i.memo[n])return i.memo[n];const r=e&&e.separator?e.separator:".";let o=[],a=[];o=e&&"function"==typeof e.split?e.split(t):t.split(r);for(let t=0;t<o.length;t++){let e=o[t];for(;e&&"\\"===e.slice(-1)&&o[t+1];)e=e.slice(0,-1)+r+o[++t];a.push(e)}return i.memo[n]=a,a}(e,s),f=l.length,p=t;if(!r&&1===l.length)return o(t,l[0],n,c),t;for(let e=0;e<f;e++){let r=l[e];if(a(t[r])||(t[r]={}),e===f-1){o(t,r,n,c);break}t=t[r]}return p}function o(t,e,n,i){i&&r(t[e])&&r(n)?t[e]=i({},t[e],n):t[e]=n}function a(t){switch(typeof t){case"null":return!1;case"object":case"function":return!0;default:return!1}}i.memo={},t.exports=i},function(t,e,n){ /*! * get-value <https://github.com/jonschlinkert/get-value> * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. */ const r=n(752);function i(t,e,n){return"function"==typeof n.join?n.join(t):t[0]+e+t[1]}function o(t,e,n){return"function"!=typeof n.isValid||n.isValid(t,e)}function a(t){return r(t)||Array.isArray(t)||"function"==typeof t}t.exports=function(t,e,n){if(r(n)||(n={default:n}),!a(t))return void 0!==n.default?n.default:t;"number"==typeof e&&(e=String(e));const s=Array.isArray(e),u="string"==typeof e,c=n.separator||".",l=n.joinChar||("string"==typeof c?c:".");if(!u&&!s)return t;if(u&&e in t)return o(e,t,n)?t[e]:n.default;let f=s?e:function(t,e,n){if("function"==typeof n.split)return n.split(t);return t.split(e)}(e,c,n),p=f.length,d=0;do{let e=f[d];for("number"==typeof e&&(e=String(e));e&&"\\"===e.slice(-1);)e=i([e.slice(0,-1),f[++d]||""],l,n);if(e in t){if(!o(e,t,n))return n.default;t=t[e]}else{let r=!1,a=d+1;for(;a<p;)if(r=(e=i([e,f[a++]],l,n))in t){if(!o(e,t,n))return n.default;t=t[e],d=a-1;break}if(!r)return n.default}}while(++d<p&&a(t));return d===p?t:n.default}},,,,,,,,,,,,,function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(797),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(32))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,i=1,o={},a=!1,s=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){l(t)})}:function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&l(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),r=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){l(t.data)},r=function(e){t.port2.postMessage(e)}}():s&&"onreadystatechange"in s.createElement("script")?function(){var t=s.documentElement;r=function(e){var n=s.createElement("script");n.onreadystatechange=function(){l(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():r=function(t){setTimeout(l,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var a={callback:t,args:e};return o[i]=a,r(i),i++},u.clearImmediate=c}function c(t){delete o[t]}function l(t){if(a)setTimeout(l,0,t);else{var e=o[t];if(e){a=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{c(t),a=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(32),n(133))},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){"use strict"; /*! * is-plain-object <https://github.com/jonschlinkert/is-plain-object> * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. */var r=n(752);function i(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var e,n;return!1!==i(t)&&("function"==typeof(e=t.constructor)&&(!1!==i(n=e.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}},function(t,e,n){(function(e){var r=n(754),i=n(577);function o(t,e,n,r){this._locale=null,this._currentContext=null,this._contexts={},this._listeners=[],this._appliedListeners=[],this._locales={},this._targetElement=null,this._targetWindow=null,this._targetPlatform="",this._targetUserAgent="",this._isModernBrowser=!1,this._targetKeyDownBinding=null,this._targetKeyUpBinding=null,this._targetResetBinding=null,this._paused=!1,this._callerHandler=null,this.setContext("global"),this.watch(t,e,n,r)}o.prototype.setLocale=function(t,e){var n=null;"string"==typeof t?e?e(n=new r(t),this._targetPlatform,this._targetUserAgent):n=this._locales[t]||null:t=(n=t)._localeName,this._locale=n,this._locales[t]=n,n&&(this._locale.pressedKeys=n.pressedKeys)},o.prototype.getLocale=function(t){return t||(t=this._locale.localeName),this._locales[t]||null},o.prototype.bind=function(t,e,n,r){if(null!==t&&"function"!=typeof t||(r=n,n=e,e=t,t=null),t&&"object"==typeof t&&"number"==typeof t.length)for(var o=0;o<t.length;o+=1)this.bind(t[o],e,n);else this._listeners.push({keyCombo:t?new i(t):null,pressHandler:e||null,releaseHandler:n||null,preventRepeat:r||!1,preventRepeatByDefault:r||!1})},o.prototype.addListener=o.prototype.bind,o.prototype.on=o.prototype.bind,o.prototype.unbind=function(t,e,n){if(null!==t&&"function"!=typeof t||(n=e,e=t,t=null),t&&"object"==typeof t&&"number"==typeof t.length)for(var r=0;r<t.length;r+=1)this.unbind(t[r],e,n);else for(r=0;r<this._listeners.length;r+=1){var i=this._listeners[r],o=!t&&!i.keyCombo||i.keyCombo&&i.keyCombo.isEqual(t),a=!e&&!n||!e&&!i.pressHandler||e===i.pressHandler,s=!e&&!n||!n&&!i.releaseHandler||n===i.releaseHandler;o&&a&&s&&(this._listeners.splice(r,1),r-=1)}},o.prototype.removeListener=o.prototype.unbind,o.prototype.off=o.prototype.unbind,o.prototype.setContext=function(t){this._locale&&this.releaseAllKeys(),this._contexts[t]||(this._contexts[t]=[]),this._listeners=this._contexts[t],this._currentContext=t},o.prototype.getContext=function(){return this._currentContext},o.prototype.withContext=function(t,e){var n=this.getContext();this.setContext(t),e(),this.setContext(n)},o.prototype.watch=function(t,n,r,i){var o=this;if(this.stop(),!t){if(!e.addEventListener&&!e.attachEvent)throw new Error("Cannot find global functions addEventListener or attachEvent.");t=e}if("number"==typeof t.nodeType&&(i=r,r=n,n=t,t=e),!t.addEventListener&&!t.attachEvent)throw new Error("Cannot find addEventListener or attachEvent methods on targetWindow.");this._isModernBrowser=!!t.addEventListener;var a=t.navigator&&t.navigator.userAgent||"",s=t.navigator&&t.navigator.platform||"";n&&null!==n||(n=t.document),r&&null!==r||(r=s),i&&null!==i||(i=a),this._targetKeyDownBinding=function(t){o.pressKey(t.keyCode,t),o._handleCommandBug(t,s)},this._targetKeyUpBinding=function(t){o.releaseKey(t.keyCode,t)},this._targetResetBinding=function(t){o.releaseAllKeys(t)},this._bindEvent(n,"keydown",this._targetKeyDownBinding),this._bindEvent(n,"keyup",this._targetKeyUpBinding),this._bindEvent(t,"focus",this._targetResetBinding),this._bindEvent(t,"blur",this._targetResetBinding),this._targetElement=n,this._targetWindow=t,this._targetPlatform=r,this._targetUserAgent=i},o.prototype.stop=function(){this._targetElement&&this._targetWindow&&(this._unbindEvent(this._targetElement,"keydown",this._targetKeyDownBinding),this._unbindEvent(this._targetElement,"keyup",this._targetKeyUpBinding),this._unbindEvent(this._targetWindow,"focus",this._targetResetBinding),this._unbindEvent(this._targetWindow,"blur",this._targetResetBinding),this._targetWindow=null,this._targetElement=null)},o.prototype.pressKey=function(t,e){if(!this._paused){if(!this._locale)throw new Error("Locale not set");this._locale.pressKey(t),this._applyBindings(e)}},o.prototype.releaseKey=function(t,e){if(!this._paused){if(!this._locale)throw new Error("Locale not set");this._locale.releaseKey(t),this._clearBindings(e)}},o.prototype.releaseAllKeys=function(t){if(!this._paused){if(!this._locale)throw new Error("Locale not set");this._locale.pressedKeys.length=0,this._clearBindings(t)}},o.prototype.pause=function(){this._paused||(this._locale&&this.releaseAllKeys(),this._paused=!0)},o.prototype.resume=function(){this._paused=!1},o.prototype.reset=function(){this.releaseAllKeys(),this._listeners.length=0},o.prototype._bindEvent=function(t,e,n){return this._isModernBrowser?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},o.prototype._unbindEvent=function(t,e,n){return this._isModernBrowser?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},o.prototype._getGroupedListeners=function(){var t=[],e=[],n=this._listeners;return"global"!==this._currentContext&&(n=[].concat(n,this._contexts.global)),n.sort(function(t,e){return(e.keyCombo?e.keyCombo.keyNames.length:0)-(t.keyCombo?t.keyCombo.keyNames.length:0)}).forEach(function(n){for(var r=-1,i=0;i<e.length;i+=1)(null===e[i]&&null===n.keyCombo||null!==e[i]&&e[i].isEqual(n.keyCombo))&&(r=i);-1===r&&(r=e.length,e.push(n.keyCombo)),t[r]||(t[r]=[]),t[r].push(n)}),t},o.prototype._applyBindings=function(t){var e=!1;t||(t={}),t.preventRepeat=function(){e=!0},t.pressedKeys=this._locale.pressedKeys.slice(0);for(var n=this._locale.pressedKeys.slice(0),r=this._getGroupedListeners(),o=0;o<r.length;o+=1){var a=r[o],s=a[0].keyCombo;if(null===s||s.check(n)){for(var u=0;u<a.length;u+=1){var c=a[u];null===s&&(c={keyCombo:new i(n.join("+")),pressHandler:c.pressHandler,releaseHandler:c.releaseHandler,preventRepeat:c.preventRepeat,preventRepeatByDefault:c.preventRepeatByDefault}),c.pressHandler&&!c.preventRepeat&&(c.pressHandler.call(this,t),e&&(c.preventRepeat=e,e=!1)),c.releaseHandler&&-1===this._appliedListeners.indexOf(c)&&this._appliedListeners.push(c)}if(s)for(u=0;u<s.keyNames.length;u+=1){var l=n.indexOf(s.keyNames[u]);-1!==l&&(n.splice(l,1),u-=1)}}}},o.prototype._clearBindings=function(t){t||(t={});for(var e=0;e<this._appliedListeners.length;e+=1){var n=this._appliedListeners[e],r=n.keyCombo;if(null===r||!r.check(this._locale.pressedKeys)){if(this._callerHandler!==n.releaseHandler){var i=this._callerHandler;this._callerHandler=n.releaseHandler,n.preventRepeat=n.preventRepeatByDefault,n.releaseHandler.call(this,t),this._callerHandler=i}this._appliedListeners.splice(e,1),e-=1}}},o.prototype._handleCommandBug=function(t,e){e.match("Mac")&&this._locale.pressedKeys.includes("command")&&!["shift","ctrl","alt","capslock","tab","command"].includes(this._locale.getKeyNames(t.keyCode)[0])&&this._targetKeyUpBinding(t)},t.exports=o}).call(this,n(32))},function(t,e){t.exports=function(t,e,n){t.bindKeyCode(3,["cancel"]),t.bindKeyCode(8,["backspace"]),t.bindKeyCode(9,["tab"]),t.bindKeyCode(12,["clear"]),t.bindKeyCode(13,["enter"]),t.bindKeyCode(16,["shift"]),t.bindKeyCode(17,["ctrl"]),t.bindKeyCode(18,["alt","menu"]),t.bindKeyCode(19,["pause","break"]),t.bindKeyCode(20,["capslock"]),t.bindKeyCode(27,["escape","esc"]),t.bindKeyCode(32,["space","spacebar"]),t.bindKeyCode(33,["pageup"]),t.bindKeyCode(34,["pagedown"]),t.bindKeyCode(35,["end"]),t.bindKeyCode(36,["home"]),t.bindKeyCode(37,["left"]),t.bindKeyCode(38,["up"]),t.bindKeyCode(39,["right"]),t.bindKeyCode(40,["down"]),t.bindKeyCode(41,["select"]),t.bindKeyCode(42,["printscreen"]),t.bindKeyCode(43,["execute"]),t.bindKeyCode(44,["snapshot"]),t.bindKeyCode(45,["insert","ins"]),t.bindKeyCode(46,["delete","del"]),t.bindKeyCode(47,["help"]),t.bindKeyCode(145,["scrolllock","scroll"]),t.bindKeyCode(187,["equal","equalsign","="]),t.bindKeyCode(188,["comma",","]),t.bindKeyCode(190,["period","."]),t.bindKeyCode(191,["slash","forwardslash","/"]),t.bindKeyCode(192,["graveaccent","`"]),t.bindKeyCode(219,["openbracket","["]),t.bindKeyCode(220,["backslash","\\"]),t.bindKeyCode(221,["closebracket","]"]),t.bindKeyCode(222,["apostrophe","'"]),t.bindKeyCode(48,["zero","0"]),t.bindKeyCode(49,["one","1"]),t.bindKeyCode(50,["two","2"]),t.bindKeyCode(51,["three","3"]),t.bindKeyCode(52,["four","4"]),t.bindKeyCode(53,["five","5"]),t.bindKeyCode(54,["six","6"]),t.bindKeyCode(55,["seven","7"]),t.bindKeyCode(56,["eight","8"]),t.bindKeyCode(57,["nine","9"]),t.bindKeyCode(96,["numzero","num0"]),t.bindKeyCode(97,["numone","num1"]),t.bindKeyCode(98,["numtwo","num2"]),t.bindKeyCode(99,["numthree","num3"]),t.bindKeyCode(100,["numfour","num4"]),t.bindKeyCode(101,["numfive","num5"]),t.bindKeyCode(102,["numsix","num6"]),t.bindKeyCode(103,["numseven","num7"]),t.bindKeyCode(104,["numeight","num8"]),t.bindKeyCode(105,["numnine","num9"]),t.bindKeyCode(106,["nummultiply","num*"]),t.bindKeyCode(107,["numadd","num+"]),t.bindKeyCode(108,["numenter"]),t.bindKeyCode(109,["numsubtract","num-"]),t.bindKeyCode(110,["numdecimal","num."]),t.bindKeyCode(111,["numdivide","num/"]),t.bindKeyCode(144,["numlock","num"]),t.bindKeyCode(112,["f1"]),t.bindKeyCode(113,["f2"]),t.bindKeyCode(114,["f3"]),t.bindKeyCode(115,["f4"]),t.bindKeyCode(116,["f5"]),t.bindKeyCode(117,["f6"]),t.bindKeyCode(118,["f7"]),t.bindKeyCode(119,["f8"]),t.bindKeyCode(120,["f9"]),t.bindKeyCode(121,["f10"]),t.bindKeyCode(122,["f11"]),t.bindKeyCode(123,["f12"]),t.bindMacro("shift + `",["tilde","~"]),t.bindMacro("shift + 1",["exclamation","exclamationpoint","!"]),t.bindMacro("shift + 2",["at","@"]),t.bindMacro("shift + 3",["number","#"]),t.bindMacro("shift + 4",["dollar","dollars","dollarsign","$"]),t.bindMacro("shift + 5",["percent","%"]),t.bindMacro("shift + 6",["caret","^"]),t.bindMacro("shift + 7",["ampersand","and","&"]),t.bindMacro("shift + 8",["asterisk","*"]),t.bindMacro("shift + 9",["openparen","("]),t.bindMacro("shift + 0",["closeparen",")"]),t.bindMacro("shift + -",["underscore","_"]),t.bindMacro("shift + =",["plus","+"]),t.bindMacro("shift + [",["opencurlybrace","opencurlybracket","{"]),t.bindMacro("shift + ]",["closecurlybrace","closecurlybracket","}"]),t.bindMacro("shift + \\",["verticalbar","|"]),t.bindMacro("shift + ;",["colon",":"]),t.bindMacro("shift + '",["quotationmark","'"]),t.bindMacro("shift + !,",["openanglebracket","<"]),t.bindMacro("shift + .",["closeanglebracket",">"]),t.bindMacro("shift + /",["questionmark","?"]),e.match("Mac")?t.bindMacro("command",["mod","modifier"]):t.bindMacro("ctrl",["mod","modifier"]);for(var r=65;r<=90;r+=1){var i=String.fromCharCode(r+32),o=String.fromCharCode(r);t.bindKeyCode(r,i),t.bindMacro("shift + "+i,o),t.bindMacro("capslock + "+i,o)}var a,s,u=n.match("Firefox")?59:186,c=n.match("Firefox")?173:189;e.match("Mac")&&(n.match("Safari")||n.match("Chrome"))?(a=91,s=93):e.match("Mac")&&n.match("Opera")?(a=17,s=17):e.match("Mac")&&n.match("Firefox")&&(a=224,s=224),t.bindKeyCode(u,["semicolon",";"]),t.bindKeyCode(c,["dash","-"]),t.bindKeyCode(a,["command","windows","win","super","leftcommand","leftwindows","leftwin","leftsuper"]),t.bindKeyCode(s,["command","windows","win","super","rightcommand","rightwindows","rightwin","rightsuper"]),t.setKillKey("command")}},function(t,e,n){var r=n(803)(function(t,e){return t+e},0);t.exports=r},function(t,e,n){var r=n(804),i=n(131);t.exports=function(t,e){return function(n,o){var a;if(void 0===n&&void 0===o)return e;if(void 0!==n&&(a=n),void 0!==o){if(void 0===a)return o;"string"==typeof n||"string"==typeof o?(n=i(n),o=i(o)):(n=r(n),o=r(o)),a=t(n,o)}return a}}},function(t,e,n){var r=n(21),i=NaN;t.exports=function(t){return"number"==typeof t?t:r(t)?i:+t}},function(t,e,n){var r=n(50),i=n(28),o=n(24);t.exports=function(t){return function(e,n,a){var s=Object(e);if(!i(e)){var u=r(n,3);e=o(e),n=function(t){return u(s[t],t,s)}}var c=t(e,n,a);return c>-1?s[u?e[c]:c]:void 0}}},function(t,e){t.exports=function(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}},function(t,e){t.exports=function(t,e,n,r,i){return i(t,function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)}),n}},function(t,e,n){var r=n(809),i=n(3);t.exports=function(t,e,n,o){return null==t?[]:(i(e)||(e=null==e?[]:[e]),i(n=o?void 0:n)||(n=null==n?[]:[n]),r(t,e,n))}},function(t,e,n){var r=n(75),i=n(50),o=n(757),a=n(810),s=n(48),u=n(811),c=n(30);t.exports=function(t,e,n){var l=-1;e=r(e.length?e:[c],s(i));var f=o(t,function(t,n,i){return{criteria:r(e,function(e){return e(t)}),index:++l,value:t}});return a(f,function(t,e){return u(t,e,n)})}},function(t,e){t.exports=function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}},function(t,e,n){var r=n(812);t.exports=function(t,e,n){for(var i=-1,o=t.criteria,a=e.criteria,s=o.length,u=n.length;++i<s;){var c=r(o[i],a[i]);if(c)return i>=u?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}},function(t,e,n){var r=n(21);t.exports=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,o=t==t,a=r(t),s=void 0!==e,u=null===e,c=e==e,l=r(e);if(!u&&!l&&!a&&t>e||a&&s&&c&&!u&&!l||i&&s&&c||!n&&c||!o)return 1;if(!i&&!a&&!l&&t<e||l&&n&&o&&!i&&!a||u&&n&&o||!s&&o||!c)return-1}return 0}},function(t,e){t.exports=function(t,e,n){return t==t&&(void 0!==n&&(t=t<=n?t:n),void 0!==e&&(t=t>=e?t:e)),t}},function(t,e,n){var r=n(6);t.exports=function(){return r.Date.now()}},function(t,e){t.exports=function(){throw new Error("define cannot be used indirect")}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(t,e,n){"use strict";var r=n(932),i="Copy to clipboard: #{key}, Enter";t.exports=function(t,e){var n,o,a,s,u,c,l=!1;e||(e={}),n=e.debug||!1;try{if(a=r(),s=document.createRange(),u=document.getSelection(),(c=document.createElement("span")).textContent=t,c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",document.body.appendChild(c),s.selectNode(c),u.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");l=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData("text",t),l=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),o=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:i),window.prompt(o,t)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),c&&document.body.removeChild(c),a()}return l}},function(t,e){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach(function(e){t.addRange(e)}),e&&e.focus()}}},function(t,e,n){"use strict";n.r(e),function(t){n.d(e,"install",function(){return Wt}),n.d(e,"VTooltip",function(){return Vt}),n.d(e,"VClosePopover",function(){return Kt}),n.d(e,"VPopover",function(){return $t}),n.d(e,"createTooltip",function(){return bt}),n.d(e,"destroyTooltip",function(){return Tt});for( /**! * @fileOverview Kickass library to create and place poppers near their reference elements. * @version 1.14.3 * @license * Copyright (c) 2016 Federico Zivolo and contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ var r="undefined"!=typeof window&&"undefined"!=typeof document,i=["Edge","Trident","Firefox"],o=0,a=0;a<i.length;a+=1)if(r&&navigator.userAgent.indexOf(i[a])>=0){o=1;break}var s=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},o))}};function u(t){return t&&"[object Function]"==={}.toString.call(t)}function c(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=c(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:f(l(t))}var p=r&&!(!window.MSInputMethodContext||!document.documentMode),d=r&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?p:10===t?d:p||d}function v(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TD","TABLE"].indexOf(n.nodeName)&&"static"===c(n,"position")?v(n):n:t?t.ownerDocument.documentElement:document.documentElement}function y(t){return null!==t.parentNode?y(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a=o.commonAncestorContainer;if(t!==a&&e!==a||r.contains(i))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||v(t.firstElementChild)===t)}(a)?a:v(a);var s=y(t);return s.host?m(s.host,e):m(t,y(e).host)}function g(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[e]}return t[e]}function b(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function T(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?n["offset"+t]+r["margin"+("Height"===t?"Top":"Left")]+r["margin"+("Height"===t?"Bottom":"Right")]:0)}function _(){var t=document.body,e=document.documentElement,n=h(10)&&getComputedStyle(e);return{height:T("Height",t,e,n),width:T("Width",t,e,n)}}var S=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},A=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),x=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},w=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function E(t){return w({},t,{right:t.left+t.width,bottom:t.top+t.height})}function O(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(t){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?_():{},a=o.width||t.clientWidth||i.right-i.left,s=o.height||t.clientHeight||i.bottom-i.top,u=t.offsetWidth-a,l=t.offsetHeight-s;if(u||l){var f=c(t);u-=b(f,"x"),l-=b(f,"y"),i.width-=u,i.height-=l}return E(i)}function P(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===e.nodeName,o=O(t),a=O(e),s=f(t),u=c(e),l=parseFloat(u.borderTopWidth,10),p=parseFloat(u.borderLeftWidth,10);n&&"HTML"===e.nodeName&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=E({top:o.top-a.top-l,left:o.left-a.left-p,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var v=parseFloat(u.marginTop,10),y=parseFloat(u.marginLeft,10);d.top-=l-v,d.bottom-=l-v,d.left-=p-y,d.right-=p-y,d.marginTop=v,d.marginLeft=y}return(r&&!n?e.contains(s):e===s&&"BODY"!==s.nodeName)&&(d=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}(d,e)),d}function C(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===c(e,"transform");)e=e.parentElement;return e||document.documentElement}function M(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?C(t):m(t,e);if("viewport"===r)o=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=P(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),s=e?0:g(n,"left");return E({top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:i,height:o})}(a,i);else{var s=void 0;"scrollParent"===r?"BODY"===(s=f(l(e))).nodeName&&(s=t.ownerDocument.documentElement):s="window"===r?t.ownerDocument.documentElement:r;var u=P(s,a,i);if("HTML"!==s.nodeName||function t(e){var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&("fixed"===c(e,"position")||t(l(e)))}(a))o=u;else{var p=_(),d=p.height,h=p.width;o.top+=u.top-u.marginTop,o.bottom=d+u.top,o.left+=u.left-u.marginLeft,o.right=h+u.left}}return o.left+=n,o.top+=n,o.right-=n,o.bottom-=n,o}function L(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=M(n,r,o,i),s={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(s).map(function(t){return w({key:t},s[t],{area:function(t){return t.width*t.height}(s[t])})}).sort(function(t,e){return e.area-t.area}),c=u.filter(function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight}),l=c.length>0?c[0].key:u[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function R(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return P(n,r?C(e):m(e,n),r)}function k(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),r=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function D(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function I(t,e,n){n=n.split("-")[0];var r=k(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",s=o?"left":"top",u=o?"height":"width",c=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[s]=n===s?e[s]-r[c]:e[D(s)],i}function N(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function B(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var r=N(t,function(t){return t[e]===n});return t.indexOf(r)}(t,"name",n))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&u(n)&&(e.offsets.popper=E(e.offsets.popper),e.offsets.reference=E(e.offsets.reference),e=n(e,t))}),e}function G(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function F(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function j(t){var e=t.ownerDocument;return e?e.defaultView:window}function H(t,e,n,r){n.updateBound=r,j(t).addEventListener("resize",n.updateBound,{passive:!0});var i=f(t);return function t(e,n,r,i){var o="BODY"===e.nodeName,a=o?e.ownerDocument.defaultView:e;a.addEventListener(n,r,{passive:!0}),o||t(f(a.parentNode),n,r,i),i.push(a)}(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=function(t,e){return j(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach(function(t){t.removeEventListener("scroll",e.updateBound)}),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e}(this.reference,this.state))}function W(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function V(t,e){Object.keys(e).forEach(function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&W(e[n])&&(r="px"),t.style[n]=e[n]+r})}function K(t,e,n){var r=N(t,function(t){return t.name===e}),i=!!r&&t.some(function(t){return t.name===n&&t.enabled&&t.order<r.order});if(!i){var o="`"+e+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+o+" modifier in order to work, be sure to include it before "+o+"!")}return i}var $=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],z=$.slice(3);function X(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=z.indexOf(t),r=z.slice(n+1).concat(z.slice(0,n));return e?r.reverse():r}var q={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"};function Y(t,e,n,r){var i=[0,0],o=-1!==["right","left"].indexOf(r),a=t.split(/(\+|\-)/).map(function(t){return t.trim()}),s=a.indexOf(N(a,function(t){return-1!==t.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var u=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(u)[0]]),[a[s].split(u)[1]].concat(a.slice(s+1))]:[a];return(c=c.map(function(t,r){var i=(1===r?!o:o)?"height":"width",a=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,a=!0,t):a?(t[t.length-1]+=e,a=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,r){var i=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),o=+i[1],a=i[2];if(!o)return t;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=r}return E(s)[e]/100*o}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o;return o}(t,i,e,n)})})).forEach(function(t,e){t.forEach(function(n,r){W(n)&&(i[e]+=n*("-"===t[r-1]?-1:1))})}),i}var Q={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],r=e.split("-")[1];if(r){var i=t.offsets,o=i.reference,a=i.popper,s=-1!==["bottom","top"].indexOf(n),u=s?"left":"top",c=s?"width":"height",l={start:x({},u,o[u]),end:x({},u,o[u]+o[c]-a[c])};t.offsets.popper=w({},a,l[r])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,r=t.placement,i=t.offsets,o=i.popper,a=i.reference,s=r.split("-")[0],u=void 0;return u=W(+n)?[+n,0]:Y(n,o,a,s),"left"===s?(o.top+=u[0],o.left-=u[1]):"right"===s?(o.top+=u[0],o.left+=u[1]):"top"===s?(o.left+=u[0],o.top-=u[1]):"bottom"===s&&(o.left+=u[0],o.top+=u[1]),t.popper=o,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||v(t.instance.popper);t.instance.reference===n&&(n=v(n));var r=F("transform"),i=t.instance.popper.style,o=i.top,a=i.left,s=i[r];i.top="",i.left="",i[r]="";var u=M(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);i.top=o,i.left=a,i[r]=s,e.boundaries=u;var c=e.priority,l=t.offsets.popper,f={primary:function(t){var n=l[t];return l[t]<u[t]&&!e.escapeWithReference&&(n=Math.max(l[t],u[t])),x({},t,n)},secondary:function(t){var n="right"===t?"left":"top",r=l[n];return l[t]>u[t]&&!e.escapeWithReference&&(r=Math.min(l[n],u[t]-("right"===t?l.width:l.height))),x({},n,r)}};return c.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";l=w({},l,f[e](t))}),t.offsets.popper=l,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,r=e.reference,i=t.placement.split("-")[0],o=Math.floor,a=-1!==["top","bottom"].indexOf(i),s=a?"right":"bottom",u=a?"left":"top",c=a?"width":"height";return n[s]<o(r[u])&&(t.offsets.popper[u]=o(r[u])-n[c]),n[u]>o(r[s])&&(t.offsets.popper[u]=o(r[s])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!K(t.instance.modifiers,"arrow","keepTogether"))return t;var r=e.element;if("string"==typeof r){if(!(r=t.instance.popper.querySelector(r)))return t}else if(!t.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var i=t.placement.split("-")[0],o=t.offsets,a=o.popper,s=o.reference,u=-1!==["left","right"].indexOf(i),l=u?"height":"width",f=u?"Top":"Left",p=f.toLowerCase(),d=u?"left":"top",h=u?"bottom":"right",v=k(r)[l];s[h]-v<a[p]&&(t.offsets.popper[p]-=a[p]-(s[h]-v)),s[p]+v>a[h]&&(t.offsets.popper[p]+=s[p]+v-a[h]),t.offsets.popper=E(t.offsets.popper);var y=s[p]+s[l]/2-v/2,m=c(t.instance.popper),g=parseFloat(m["margin"+f],10),b=parseFloat(m["border"+f+"Width"],10),T=y-t.offsets.popper[p]-g-b;return T=Math.max(Math.min(a[l]-v,T),0),t.arrowElement=r,t.offsets.arrow=(x(n={},p,Math.round(T)),x(n,d,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(G(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=M(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),r=t.placement.split("-")[0],i=D(r),o=t.placement.split("-")[1]||"",a=[];switch(e.behavior){case q.FLIP:a=[r,i];break;case q.CLOCKWISE:a=X(r);break;case q.COUNTERCLOCKWISE:a=X(r,!0);break;default:a=e.behavior}return a.forEach(function(s,u){if(r!==s||a.length===u+1)return t;r=t.placement.split("-")[0],i=D(r);var c=t.offsets.popper,l=t.offsets.reference,f=Math.floor,p="left"===r&&f(c.right)>f(l.left)||"right"===r&&f(c.left)<f(l.right)||"top"===r&&f(c.bottom)>f(l.top)||"bottom"===r&&f(c.top)<f(l.bottom),d=f(c.left)<f(n.left),h=f(c.right)>f(n.right),v=f(c.top)<f(n.top),y=f(c.bottom)>f(n.bottom),m="left"===r&&d||"right"===r&&h||"top"===r&&v||"bottom"===r&&y,g=-1!==["top","bottom"].indexOf(r),b=!!e.flipVariations&&(g&&"start"===o&&d||g&&"end"===o&&h||!g&&"start"===o&&v||!g&&"end"===o&&y);(p||m||b)&&(t.flipped=!0,(p||m)&&(r=a[u+1]),b&&(o=function(t){return"end"===t?"start":"start"===t?"end":t}(o)),t.placement=r+(o?"-"+o:""),t.offsets.popper=w({},t.offsets.popper,I(t.instance.popper,t.offsets.reference,t.placement)),t=B(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],r=t.offsets,i=r.popper,o=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return i[a?"left":"top"]=o[n]-(s?i[a?"width":"height"]:0),t.placement=D(e),t.offsets.popper=E(i),t}},hide:{order:800,enabled:!0,fn:function(t){if(!K(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=N(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottom<n.top||e.left>n.right||e.top>n.bottom||e.right<n.left){if(!0===t.hide)return t;t.hide=!0,t.attributes["x-out-of-boundaries"]=""}else{if(!1===t.hide)return t;t.hide=!1,t.attributes["x-out-of-boundaries"]=!1}return t}},computeStyle:{order:850,enabled:!0,fn:function(t,e){var n=e.x,r=e.y,i=t.offsets.popper,o=N(t.instance.modifiers,function(t){return"applyStyle"===t.name}).gpuAcceleration;void 0!==o&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==o?o:e.gpuAcceleration,s=O(v(t.instance.popper)),u={position:i.position},c={left:Math.floor(i.left),top:Math.round(i.top),bottom:Math.round(i.bottom),right:Math.floor(i.right)},l="bottom"===n?"top":"bottom",f="right"===r?"left":"right",p=F("transform"),d=void 0,h=void 0;if(h="bottom"===l?-s.height+c.bottom:c.top,d="right"===f?-s.width+c.right:c.left,a&&p)u[p]="translate3d("+d+"px, "+h+"px, 0)",u[l]=0,u[f]=0,u.willChange="transform";else{var y="bottom"===l?-1:1,m="right"===f?-1:1;u[l]=h*y,u[f]=d*m,u.willChange=l+", "+f}var g={"x-placement":t.placement};return t.attributes=w({},g,t.attributes),t.styles=w({},u,t.styles),t.arrowStyles=w({},t.offsets.arrow,t.arrowStyles),t},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(t){return V(t.instance.popper,t.styles),function(t,e){Object.keys(e).forEach(function(n){!1!==e[n]?t.setAttribute(n,e[n]):t.removeAttribute(n)})}(t.instance.popper,t.attributes),t.arrowElement&&Object.keys(t.arrowStyles).length&&V(t.arrowElement,t.arrowStyles),t},onLoad:function(t,e,n,r,i){var o=R(i,e,t,n.positionFixed),a=L(n.placement,o,e,t,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return e.setAttribute("x-placement",a),V(e,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}}},J=function(){function t(e,n){var r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};S(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=s(this.update.bind(this)),this.options=w({},t.Defaults,i),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(w({},t.Defaults.modifiers,i.modifiers)).forEach(function(e){r.options.modifiers[e]=w({},t.Defaults.modifiers[e]||{},i.modifiers?i.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return w({name:t},r.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&u(t.onLoad)&&t.onLoad(r.reference,r.popper,r.options,t,r.state)}),this.update();var o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}return A(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=L(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=I(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=B(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,G(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[F("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=H(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return U.call(this)}}]),t}();J.Utils=("undefined"!=typeof window?window:t).PopperUtils,J.placements=$,J.Defaults=Q;var Z=function(){};function tt(t){return"string"==typeof t&&(t=t.split(" ")),t}function et(t,e){var n=tt(e),r=void 0;r=t.className instanceof Z?tt(t.className.baseVal):tt(t.className),n.forEach(function(t){-1===r.indexOf(t)&&r.push(t)}),t instanceof SVGElement?t.setAttribute("class",r.join(" ")):t.className=r.join(" ")}function nt(t,e){var n=tt(e),r=void 0;r=t.className instanceof Z?tt(t.className.baseVal):tt(t.className),n.forEach(function(t){var e=r.indexOf(t);-1!==e&&r.splice(e,1)}),t instanceof SVGElement?t.setAttribute("class",r.join(" ")):t.className=r.join(" ")}"undefined"!=typeof window&&(Z=window.SVGAnimatedString);var rt=!1;if("undefined"!=typeof window){rt=!1;try{var it=Object.defineProperty({},"passive",{get:function(){rt=!0}});window.addEventListener("test",null,it)}catch(t){}}var ot="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},at=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},st=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),ut=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},ct={container:!1,delay:0,html:!1,placement:"top",title:"",template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",offset:0},lt=[],ft=function(){function t(e,n){at(this,t),pt.call(this),n=ut({},ct,n),e.jquery&&(e=e[0]),this.reference=e,this.options=n,this._isOpen=!1,this._init()}return st(t,[{key:"setClasses",value:function(t){this._classes=t}},{key:"setContent",value:function(t){this.options.title=t,this._tooltipNode&&this._setContent(t,this.options)}},{key:"setOptions",value:function(t){var e=!1,n=t&&t.classes||St.options.defaultClass;this._classes!==n&&(this.setClasses(n),e=!0),t=yt(t);var r=!1,i=!1;for(var o in this.options.offset===t.offset&&this.options.placement===t.placement||(r=!0),(this.options.template!==t.template||this.options.trigger!==t.trigger||this.options.container!==t.container||e)&&(i=!0),t)this.options[o]=t[o];if(this._tooltipNode)if(i){var a=this._isOpen;this.dispose(),this._init(),a&&this.show()}else r&&this.popperInstance.update()}},{key:"_init",value:function(){var t="string"==typeof this.options.trigger?this.options.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[];this._isDisposed=!1,this._enableDocumentTouch=-1===t.indexOf("manual"),this._setEventListeners(this.reference,t,this.options)}},{key:"_create",value:function(t,e){var n=window.document.createElement("div");n.innerHTML=e.trim();var r=n.childNodes[0];return r.id="tooltip_"+Math.random().toString(36).substr(2,10),r.setAttribute("aria-hidden","true"),this.options.autoHide&&-1!==this.options.trigger.indexOf("hover")&&(r.addEventListener("mouseenter",this.hide),r.addEventListener("click",this.hide)),r}},{key:"_setContent",value:function(t,e){var n=this;this.asyncContent=!1,this._applyContent(t,e).then(function(){n.popperInstance.update()})}},{key:"_applyContent",value:function(t,e){var n=this;return new Promise(function(r,i){var o=e.html,a=n._tooltipNode;if(a){var s=a.querySelector(n.options.innerSelector);if(1===t.nodeType){if(o){for(;s.firstChild;)s.removeChild(s.firstChild);s.appendChild(t)}}else{if("function"==typeof t){var u=t();return void(u&&"function"==typeof u.then?(n.asyncContent=!0,e.loadingClass&&et(a,e.loadingClass),e.loadingContent&&n._applyContent(e.loadingContent,e),u.then(function(t){return e.loadingClass&&nt(a,e.loadingClass),n._applyContent(t,e)}).then(r).catch(i)):n._applyContent(u,e).then(r).catch(i))}o?s.innerHTML=t:s.innerText=t}r()}})}},{key:"_show",value:function(t,e){if(e&&"string"==typeof e.container&&!document.querySelector(e.container))return;clearTimeout(this._disposeTimer),delete(e=Object.assign({},e)).offset;var n=!0;this._tooltipNode&&(et(this._tooltipNode,this._classes),n=!1);var r=this._ensureShown(t,e);return n&&this._tooltipNode&&et(this._tooltipNode,this._classes),et(t,["v-tooltip-open"]),r}},{key:"_ensureShown",value:function(t,e){var n=this;if(this._isOpen)return this;if(this._isOpen=!0,lt.push(this),this._tooltipNode)return this._tooltipNode.style.display="",this._tooltipNode.setAttribute("aria-hidden","false"),this.popperInstance.enableEventListeners(),this.popperInstance.update(),this.asyncContent&&this._setContent(e.title,e),this;var r=t.getAttribute("title")||e.title;if(!r)return this;var i=this._create(t,e.template);this._tooltipNode=i,this._setContent(r,e),t.setAttribute("aria-describedby",i.id);var o=this._findContainer(e.container,t);this._append(i,o);var a=ut({},e.popperOptions,{placement:e.placement});return a.modifiers=ut({},a.modifiers,{arrow:{element:this.options.arrowSelector}}),e.boundariesElement&&(a.modifiers.preventOverflow={boundariesElement:e.boundariesElement}),this.popperInstance=new J(t,i,a),requestAnimationFrame(function(){!n._isDisposed&&n.popperInstance?(n.popperInstance.update(),requestAnimationFrame(function(){n._isDisposed?n.dispose():n._isOpen&&i.setAttribute("aria-hidden","false")})):n.dispose()}),this}},{key:"_noLongerOpen",value:function(){var t=lt.indexOf(this);-1!==t&<.splice(t,1)}},{key:"_hide",value:function(){var t=this;if(!this._isOpen)return this;this._isOpen=!1,this._noLongerOpen(),this._tooltipNode.style.display="none",this._tooltipNode.setAttribute("aria-hidden","true"),this.popperInstance.disableEventListeners(),clearTimeout(this._disposeTimer);var e=St.options.disposeTimeout;return null!==e&&(this._disposeTimer=setTimeout(function(){t._tooltipNode&&(t._tooltipNode.removeEventListener("mouseenter",t.hide),t._tooltipNode.removeEventListener("click",t.hide),t._tooltipNode.parentNode.removeChild(t._tooltipNode),t._tooltipNode=null)},e)),nt(this.reference,["v-tooltip-open"]),this}},{key:"_dispose",value:function(){var t=this;return this._isDisposed=!0,this._events.forEach(function(e){var n=e.func,r=e.event;t.reference.removeEventListener(r,n)}),this._events=[],this._tooltipNode?(this._hide(),this._tooltipNode.removeEventListener("mouseenter",this.hide),this._tooltipNode.removeEventListener("click",this.hide),this.popperInstance.destroy(),this.popperInstance.options.removeOnDestroy||(this._tooltipNode.parentNode.removeChild(this._tooltipNode),this._tooltipNode=null)):this._noLongerOpen(),this}},{key:"_findContainer",value:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t}},{key:"_append",value:function(t,e){e.appendChild(t)}},{key:"_setEventListeners",value:function(t,e,n){var r=this,i=[],o=[];e.forEach(function(t){switch(t){case"hover":i.push("mouseenter"),o.push("mouseleave"),r.options.hideOnTargetClick&&o.push("click");break;case"focus":i.push("focus"),o.push("blur"),r.options.hideOnTargetClick&&o.push("click");break;case"click":i.push("click"),o.push("click")}}),i.forEach(function(e){var i=function(e){!0!==r._isOpen&&(e.usedByTooltip=!0,r._scheduleShow(t,n.delay,n,e))};r._events.push({event:e,func:i}),t.addEventListener(e,i)}),o.forEach(function(e){var i=function(e){!0!==e.usedByTooltip&&r._scheduleHide(t,n.delay,n,e)};r._events.push({event:e,func:i}),t.addEventListener(e,i)})}},{key:"_onDocumentTouch",value:function(t){this._enableDocumentTouch&&this._scheduleHide(this.reference,this.options.delay,this.options,t)}},{key:"_scheduleShow",value:function(t,e,n){var r=this,i=e&&e.show||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){return r._show(t,n)},i)}},{key:"_scheduleHide",value:function(t,e,n,r){var i=this,o=e&&e.hide||e||0;clearTimeout(this._scheduleTimer),this._scheduleTimer=window.setTimeout(function(){if(!1!==i._isOpen&&document.body.contains(i._tooltipNode)){if("mouseleave"===r.type)if(i._setTooltipNodeEvent(r,t,e,n))return;i._hide(t,n)}},o)}}]),t}(),pt=function(){var t=this;this.show=function(){t._show(t.reference,t.options)},this.hide=function(){t._hide()},this.dispose=function(){t._dispose()},this.toggle=function(){return t._isOpen?t.hide():t.show()},this._events=[],this._setTooltipNodeEvent=function(e,n,r,i){var o=e.relatedreference||e.toElement||e.relatedTarget;return!!t._tooltipNode.contains(o)&&(t._tooltipNode.addEventListener(e.type,function r(o){var a=o.relatedreference||o.toElement||o.relatedTarget;t._tooltipNode.removeEventListener(e.type,r),n.contains(a)||t._scheduleHide(n,i.delay,i,o)}),!0)}};"undefined"!=typeof document&&document.addEventListener("touchstart",function(t){for(var e=0;e<lt.length;e++)lt[e]._onDocumentTouch(t)},!rt||{passive:!0,capture:!0});var dt={enabled:!0},ht=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],vt={defaultPlacement:"top",defaultClass:"vue-tooltip-theme",defaultTargetClass:"has-tooltip",defaultHtml:!0,defaultTemplate:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',defaultArrowSelector:".tooltip-arrow, .tooltip__arrow",defaultInnerSelector:".tooltip-inner, .tooltip__inner",defaultDelay:0,defaultTrigger:"hover focus",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultLoadingClass:"tooltip-loading",defaultLoadingContent:"...",autoHide:!0,defaultHideOnTargetClick:!0,disposeTimeout:5e3,popover:{defaultPlacement:"bottom",defaultClass:"vue-popover-theme",defaultBaseClass:"tooltip popover",defaultWrapperClass:"wrapper",defaultInnerClass:"tooltip-inner popover-inner",defaultArrowClass:"tooltip-arrow popover-arrow",defaultDelay:0,defaultTrigger:"click",defaultOffset:0,defaultContainer:"body",defaultBoundariesElement:void 0,defaultPopperOptions:{},defaultAutoHide:!0,defaultHandleResize:!0}};function yt(t){var e={placement:void 0!==t.placement?t.placement:St.options.defaultPlacement,delay:void 0!==t.delay?t.delay:St.options.defaultDelay,html:void 0!==t.html?t.html:St.options.defaultHtml,template:void 0!==t.template?t.template:St.options.defaultTemplate,arrowSelector:void 0!==t.arrowSelector?t.arrowSelector:St.options.defaultArrowSelector,innerSelector:void 0!==t.innerSelector?t.innerSelector:St.options.defaultInnerSelector,trigger:void 0!==t.trigger?t.trigger:St.options.defaultTrigger,offset:void 0!==t.offset?t.offset:St.options.defaultOffset,container:void 0!==t.container?t.container:St.options.defaultContainer,boundariesElement:void 0!==t.boundariesElement?t.boundariesElement:St.options.defaultBoundariesElement,autoHide:void 0!==t.autoHide?t.autoHide:St.options.autoHide,hideOnTargetClick:void 0!==t.hideOnTargetClick?t.hideOnTargetClick:St.options.defaultHideOnTargetClick,loadingClass:void 0!==t.loadingClass?t.loadingClass:St.options.defaultLoadingClass,loadingContent:void 0!==t.loadingContent?t.loadingContent:St.options.defaultLoadingContent,popperOptions:ut({},void 0!==t.popperOptions?t.popperOptions:St.options.defaultPopperOptions)};if(e.offset){var n=ot(e.offset),r=e.offset;("number"===n||"string"===n&&-1===r.indexOf(","))&&(r="0, "+r),e.popperOptions.modifiers||(e.popperOptions.modifiers={}),e.popperOptions.modifiers.offset={offset:r}}return e.trigger&&-1!==e.trigger.indexOf("click")&&(e.hideOnTargetClick=!1),e}function mt(t,e){for(var n=t.placement,r=0;r<ht.length;r++){var i=ht[r];e[i]&&(n=i)}return n}function gt(t){var e=void 0===t?"undefined":ot(t);return"string"===e?t:!(!t||"object"!==e)&&t.content}function bt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=gt(e),i=void 0!==e.classes?e.classes:St.options.defaultClass,o=ut({title:r},yt(ut({},e,{placement:mt(e,n)}))),a=t._tooltip=new ft(t,o);a.setClasses(i),a._vueEl=t;var s=void 0!==e.targetClasses?e.targetClasses:St.options.defaultTargetClass;return t._tooltipTargetClasses=s,et(t,s),a}function Tt(t){t._tooltip&&(t._tooltip.dispose(),delete t._tooltip,delete t._tooltipOldShow),t._tooltipTargetClasses&&(nt(t,t._tooltipTargetClasses),delete t._tooltipTargetClasses)}function _t(t,e){var n=e.value,r=(e.oldValue,e.modifiers),i=gt(n);if(i&&dt.enabled){var o=void 0;t._tooltip?((o=t._tooltip).setContent(i),o.setOptions(ut({},n,{placement:mt(n,r)}))):o=bt(t,n,r),void 0!==n.show&&n.show!==t._tooltipOldShow&&(t._tooltipOldShow=n.show,n.show?o.show():o.hide())}else Tt(t)}var St={options:vt,bind:_t,update:_t,unbind:function(t){Tt(t)}};function At(t){t.addEventListener("click",wt),t.addEventListener("touchstart",Et,!!rt&&{passive:!0})}function xt(t){t.removeEventListener("click",wt),t.removeEventListener("touchstart",Et),t.removeEventListener("touchend",Ot),t.removeEventListener("touchcancel",Pt)}function wt(t){var e=t.currentTarget;t.closePopover=!e.$_vclosepopover_touch,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}function Et(t){if(1===t.changedTouches.length){var e=t.currentTarget;e.$_vclosepopover_touch=!0;var n=t.changedTouches[0];e.$_vclosepopover_touchPoint=n,e.addEventListener("touchend",Ot),e.addEventListener("touchcancel",Pt)}}function Ot(t){var e=t.currentTarget;if(e.$_vclosepopover_touch=!1,1===t.changedTouches.length){var n=t.changedTouches[0],r=e.$_vclosepopover_touchPoint;t.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,t.closeAllPopover=e.$_closePopoverModifiers&&!!e.$_closePopoverModifiers.all}}function Pt(t){t.currentTarget.$_vclosepopover_touch=!1}var Ct={bind:function(t,e){var n=e.value,r=e.modifiers;t.$_closePopoverModifiers=r,(void 0===n||n)&&At(t)},update:function(t,e){var n=e.value,r=e.oldValue,i=e.modifiers;t.$_closePopoverModifiers=i,n!==r&&(void 0===n||n?At(t):xt(t))},unbind:function(t){xt(t)}};var Mt=void 0;function Lt(){Lt.init||(Lt.init=!0,Mt=-1!==function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var n=t.indexOf("rv:");return parseInt(t.substring(n+3,t.indexOf(".",n)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}())}var Rt={render:function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"resize-observer",attrs:{tabindex:"-1"}})},staticRenderFns:[],_scopeId:"data-v-b329ee4c",name:"resize-observer",methods:{notify:function(){this.$emit("notify")},addResizeHandlers:function(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.notify),this._w===this.$el.offsetWidth&&this._h===this.$el.offsetHeight||this.notify()},removeResizeHandlers:function(){this._resizeObject&&this._resizeObject.onload&&(!Mt&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.notify),delete this._resizeObject.onload)}},mounted:function(){var t=this;Lt(),this.$nextTick(function(){t._w=t.$el.offsetWidth,t._h=t.$el.offsetHeight});var e=document.createElement("object");this._resizeObject=e,e.setAttribute("style","display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; pointer-events: none; z-index: -1;"),e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Mt&&this.$el.appendChild(e),e.data="about:blank",Mt||this.$el.appendChild(e)},beforeDestroy:function(){this.removeResizeHandlers()}};var kt={version:"0.4.4",install:function(t){t.component("resize-observer",Rt)}},Dt=null;function It(t){var e=St.options.popover[t];return void 0===e?St.options[t]:e}"undefined"!=typeof window?Dt=window.Vue:void 0!==t&&(Dt=t.Vue),Dt&&Dt.use(kt);var Nt=!1;"undefined"!=typeof window&&"undefined"!=typeof navigator&&(Nt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);var Bt=[],Gt=function(){};"undefined"!=typeof window&&(Gt=window.Element);var Ft={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"v-popover",class:t.cssClass},[n("span",{ref:"trigger",staticClass:"trigger",staticStyle:{display:"inline-block"},attrs:{"aria-describedby":t.popoverId,tabindex:-1!==t.trigger.indexOf("focus")?0:-1}},[t._t("default")],2),t._v(" "),n("div",{ref:"popover",class:[t.popoverBaseClass,t.popoverClass,t.cssClass],style:{visibility:t.isOpen?"visible":"hidden"},attrs:{id:t.popoverId,"aria-hidden":t.isOpen?"false":"true"}},[n("div",{class:t.popoverWrapperClass},[n("div",{ref:"inner",class:t.popoverInnerClass,staticStyle:{position:"relative"}},[n("div",[t._t("popover")],2),t._v(" "),t.handleResize?n("ResizeObserver",{on:{notify:t.$_handleResize}}):t._e()],1),t._v(" "),n("div",{ref:"arrow",class:t.popoverArrowClass})])])])},staticRenderFns:[],name:"VPopover",components:{ResizeObserver:Rt},props:{open:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placement:{type:String,default:function(){return It("defaultPlacement")}},delay:{type:[String,Number,Object],default:function(){return It("defaultDelay")}},offset:{type:[String,Number],default:function(){return It("defaultOffset")}},trigger:{type:String,default:function(){return It("defaultTrigger")}},container:{type:[String,Object,Gt,Boolean],default:function(){return It("defaultContainer")}},boundariesElement:{type:[String,Gt],default:function(){return It("defaultBoundariesElement")}},popperOptions:{type:Object,default:function(){return It("defaultPopperOptions")}},popoverClass:{type:[String,Array],default:function(){return It("defaultClass")}},popoverBaseClass:{type:[String,Array],default:function(){return St.options.popover.defaultBaseClass}},popoverInnerClass:{type:[String,Array],default:function(){return St.options.popover.defaultInnerClass}},popoverWrapperClass:{type:[String,Array],default:function(){return St.options.popover.defaultWrapperClass}},popoverArrowClass:{type:[String,Array],default:function(){return St.options.popover.defaultArrowClass}},autoHide:{type:Boolean,default:function(){return St.options.popover.defaultAutoHide}},handleResize:{type:Boolean,default:function(){return St.options.popover.defaultHandleResize}},openGroup:{type:String,default:null}},data:function(){return{isOpen:!1,id:Math.random().toString(36).substr(2,10)}},computed:{cssClass:function(){return{open:this.isOpen}},popoverId:function(){return"popover_"+this.id}},watch:{open:function(t){t?this.show():this.hide()},disabled:function(t,e){t!==e&&(t?this.hide():this.open&&this.show())},container:function(t){if(this.isOpen&&this.popperInstance){var e=this.$refs.popover,n=this.$refs.trigger,r=this.$_findContainer(this.container,n);if(!r)return void console.warn("No container for popover",this);r.appendChild(e),this.popperInstance.scheduleUpdate()}},trigger:function(t){this.$_removeEventListeners(),this.$_addEventListeners()},placement:function(t){var e=this;this.$_updatePopper(function(){e.popperInstance.options.placement=t})},offset:"$_restartPopper",boundariesElement:"$_restartPopper",popperOptions:{handler:"$_restartPopper",deep:!0}},created:function(){this.$_isDisposed=!1,this.$_mounted=!1,this.$_events=[],this.$_preventOpen=!1},mounted:function(){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t),this.$_init(),this.open&&this.show()},beforeDestroy:function(){this.dispose()},methods:{show:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.event,r=(e.skipDelay,e.force);!(void 0!==r&&r)&&this.disabled||(this.$_scheduleShow(n),this.$emit("show")),this.$emit("update:open",!0),this.$_beingShowed=!0,requestAnimationFrame(function(){t.$_beingShowed=!1})},hide:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.event;t.skipDelay;this.$_scheduleHide(e),this.$emit("hide"),this.$emit("update:open",!1)},dispose:function(){if(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.popperInstance&&(this.popperInstance.destroy(),!this.popperInstance.options.removeOnDestroy)){var t=this.$refs.popover;t.parentNode&&t.parentNode.removeChild(t)}this.$_mounted=!1,this.popperInstance=null,this.isOpen=!1,this.$emit("dispose")},$_init:function(){-1===this.trigger.indexOf("manual")&&this.$_addEventListeners()},$_show:function(){var t=this,e=this.$refs.trigger,n=this.$refs.popover;if(clearTimeout(this.$_disposeTimer),!this.isOpen){if(this.popperInstance&&(this.isOpen=!0,this.popperInstance.enableEventListeners(),this.popperInstance.scheduleUpdate()),!this.$_mounted){var r=this.$_findContainer(this.container,e);if(!r)return void console.warn("No container for popover",this);r.appendChild(n),this.$_mounted=!0}if(!this.popperInstance){var i=ut({},this.popperOptions,{placement:this.placement});if(i.modifiers=ut({},i.modifiers,{arrow:ut({},i.modifiers&&i.modifiers.arrow,{element:this.$refs.arrow})}),this.offset){var o=this.$_getOffset();i.modifiers.offset=ut({},i.modifiers&&i.modifiers.offset,{offset:o})}this.boundariesElement&&(i.modifiers.preventOverflow=ut({},i.modifiers&&i.modifiers.preventOverflow,{boundariesElement:this.boundariesElement})),this.popperInstance=new J(e,n,i),requestAnimationFrame(function(){!t.$_isDisposed&&t.popperInstance?(t.popperInstance.scheduleUpdate(),requestAnimationFrame(function(){t.$_isDisposed?t.dispose():t.isOpen=!0})):t.dispose()})}var a=this.openGroup;if(a)for(var s=void 0,u=0;u<Bt.length;u++)(s=Bt[u]).openGroup!==a&&(s.hide(),s.$emit("close-group"));Bt.push(this),this.$emit("apply-show")}},$_hide:function(){var t=this;if(this.isOpen){var e=Bt.indexOf(this);-1!==e&&Bt.splice(e,1),this.isOpen=!1,this.popperInstance&&this.popperInstance.disableEventListeners(),clearTimeout(this.$_disposeTimer);var n=St.options.popover.disposeTimeout||St.options.disposeTimeout;null!==n&&(this.$_disposeTimer=setTimeout(function(){var e=t.$refs.popover;e&&(e.parentNode&&e.parentNode.removeChild(e),t.$_mounted=!1)},n)),this.$emit("apply-hide")}},$_findContainer:function(t,e){return"string"==typeof t?t=window.document.querySelector(t):!1===t&&(t=e.parentNode),t},$_getOffset:function(){var t=ot(this.offset),e=this.offset;return("number"===t||"string"===t&&-1===e.indexOf(","))&&(e="0, "+e),e},$_addEventListeners:function(){var t=this,e=this.$refs.trigger,n=[],r=[];("string"==typeof this.trigger?this.trigger.split(" ").filter(function(t){return-1!==["click","hover","focus"].indexOf(t)}):[]).forEach(function(t){switch(t){case"hover":n.push("mouseenter"),r.push("mouseleave");break;case"focus":n.push("focus"),r.push("blur");break;case"click":n.push("click"),r.push("click")}}),n.forEach(function(n){var r=function(e){t.isOpen||(e.usedByTooltip=!0,!t.$_preventOpen&&t.show({event:e}))};t.$_events.push({event:n,func:r}),e.addEventListener(n,r)}),r.forEach(function(n){var r=function(e){e.usedByTooltip||t.hide({event:e})};t.$_events.push({event:n,func:r}),e.addEventListener(n,r)})},$_scheduleShow:function(){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),t)this.$_show();else{var e=parseInt(this.delay&&this.delay.show||this.delay||0);this.$_scheduleTimer=setTimeout(this.$_show.bind(this),e)}},$_scheduleHide:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(clearTimeout(this.$_scheduleTimer),n)this.$_hide();else{var r=parseInt(this.delay&&this.delay.hide||this.delay||0);this.$_scheduleTimer=setTimeout(function(){if(t.isOpen){if(e&&"mouseleave"===e.type)if(t.$_setTooltipNodeEvent(e))return;t.$_hide()}},r)}},$_setTooltipNodeEvent:function(t){var e=this,n=this.$refs.trigger,r=this.$refs.popover,i=t.relatedreference||t.toElement||t.relatedTarget;return!!r.contains(i)&&(r.addEventListener(t.type,function i(o){var a=o.relatedreference||o.toElement||o.relatedTarget;r.removeEventListener(t.type,i),n.contains(a)||e.hide({event:o})}),!0)},$_removeEventListeners:function(){var t=this.$refs.trigger;this.$_events.forEach(function(e){var n=e.func,r=e.event;t.removeEventListener(r,n)}),this.$_events=[]},$_updatePopper:function(t){this.popperInstance&&(t(),this.isOpen&&this.popperInstance.scheduleUpdate())},$_restartPopper:function(){if(this.popperInstance){var t=this.isOpen;this.dispose(),this.$_isDisposed=!1,this.$_init(),t&&this.show({skipDelay:!0,force:!0})}},$_handleGlobalClose:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.$_beingShowed||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),n&&(this.$_preventOpen=!0,setTimeout(function(){e.$_preventOpen=!1},300)))},$_handleResize:function(){this.isOpen&&this.popperInstance&&(this.popperInstance.scheduleUpdate(),this.$emit("resize"))}}};function jt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];requestAnimationFrame(function(){for(var n=void 0,r=0;r<Bt.length;r++)if((n=Bt[r]).$refs.popover){var i=n.$refs.popover.contains(t.target);(t.closeAllPopover||t.closePopover&&i||n.autoHide&&!i)&&n.$_handleGlobalClose(t,e)}})}"undefined"!=typeof document&&"undefined"!=typeof window&&(Nt?document.addEventListener("touchend",function(t){jt(t,!0)},!rt||{passive:!0,capture:!0}):window.addEventListener("click",function(t){jt(t)},!0));var Ht="undefined"!=typeof window?window:void 0!==t?t:"undefined"!=typeof self?self:{};var Ut=function(t,e){return t(e={exports:{}},e.exports),e.exports}(function(t,e){var n=200,r="__lodash_hash_undefined__",i=800,o=16,a=9007199254740991,s="[object Arguments]",u="[object AsyncFunction]",c="[object Function]",l="[object GeneratorFunction]",f="[object Null]",p="[object Object]",d="[object Proxy]",h="[object Undefined]",v=/^\[object .+?Constructor\]$/,y=/^(?:0|[1-9]\d*)$/,m={};m["[object Float32Array]"]=m["[object Float64Array]"]=m["[object Int8Array]"]=m["[object Int16Array]"]=m["[object Int32Array]"]=m["[object Uint8Array]"]=m["[object Uint8ClampedArray]"]=m["[object Uint16Array]"]=m["[object Uint32Array]"]=!0,m[s]=m["[object Array]"]=m["[object ArrayBuffer]"]=m["[object Boolean]"]=m["[object DataView]"]=m["[object Date]"]=m["[object Error]"]=m[c]=m["[object Map]"]=m["[object Number]"]=m[p]=m["[object RegExp]"]=m["[object Set]"]=m["[object String]"]=m["[object WeakMap]"]=!1;var g="object"==typeof Ht&&Ht&&Ht.Object===Object&&Ht,b="object"==typeof self&&self&&self.Object===Object&&self,T=g||b||Function("return this")(),_=e&&!e.nodeType&&e,S=_&&t&&!t.nodeType&&t,A=S&&S.exports===_,x=A&&g.process,w=function(){try{return x&&x.binding&&x.binding("util")}catch(t){}}(),E=w&&w.isTypedArray;function O(t,e){return"__proto__"==e?void 0:t[e]}var P=Array.prototype,C=Function.prototype,M=Object.prototype,L=T["__core-js_shared__"],R=C.toString,k=M.hasOwnProperty,D=function(){var t=/[^.]+$/.exec(L&&L.keys&&L.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),I=M.toString,N=R.call(Object),B=RegExp("^"+R.call(k).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),G=A?T.Buffer:void 0,F=T.Symbol,j=T.Uint8Array,H=G?G.allocUnsafe:void 0,U=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object),W=Object.create,V=M.propertyIsEnumerable,K=P.splice,$=F?F.toStringTag:void 0,z=function(){try{var t=mt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),X=G?G.isBuffer:void 0,q=Math.max,Y=Date.now,Q=mt(T,"Map"),J=mt(Object,"create"),Z=function(){function t(){}return function(e){if(!Pt(e))return{};if(W)return W(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function tt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function et(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function nt(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function rt(t){var e=this.__data__=new et(t);this.size=e.size}function it(t,e){var n=At(t),r=!n&&St(t),i=!n&&!r&&wt(t),o=!n&&!r&&!i&&Mt(t),a=n||r||i||o,s=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=s.length;for(var c in t)!e&&!k.call(t,c)||a&&("length"==c||i&&("offset"==c||"parent"==c)||o&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||gt(c,u))||s.push(c);return s}function ot(t,e,n){(void 0===n||_t(t[e],n))&&(void 0!==n||e in t)||ut(t,e,n)}function at(t,e,n){var r=t[e];k.call(t,e)&&_t(r,n)&&(void 0!==n||e in t)||ut(t,e,n)}function st(t,e){for(var n=t.length;n--;)if(_t(t[n][0],e))return n;return-1}function ut(t,e,n){"__proto__"==e&&z?z(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}tt.prototype.clear=function(){this.__data__=J?J(null):{},this.size=0},tt.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},tt.prototype.get=function(t){var e=this.__data__;if(J){var n=e[t];return n===r?void 0:n}return k.call(e,t)?e[t]:void 0},tt.prototype.has=function(t){var e=this.__data__;return J?void 0!==e[t]:k.call(e,t)},tt.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=J&&void 0===e?r:e,this},et.prototype.clear=function(){this.__data__=[],this.size=0},et.prototype.delete=function(t){var e=this.__data__,n=st(e,t);return!(n<0||(n==e.length-1?e.pop():K.call(e,n,1),--this.size,0))},et.prototype.get=function(t){var e=this.__data__,n=st(e,t);return n<0?void 0:e[n][1]},et.prototype.has=function(t){return st(this.__data__,t)>-1},et.prototype.set=function(t,e){var n=this.__data__,r=st(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},nt.prototype.clear=function(){this.size=0,this.__data__={hash:new tt,map:new(Q||et),string:new tt}},nt.prototype.delete=function(t){var e=yt(this,t).delete(t);return this.size-=e?1:0,e},nt.prototype.get=function(t){return yt(this,t).get(t)},nt.prototype.has=function(t){return yt(this,t).has(t)},nt.prototype.set=function(t,e){var n=yt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},rt.prototype.clear=function(){this.__data__=new et,this.size=0},rt.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},rt.prototype.get=function(t){return this.__data__.get(t)},rt.prototype.has=function(t){return this.__data__.has(t)},rt.prototype.set=function(t,e){var r=this.__data__;if(r instanceof et){var i=r.__data__;if(!Q||i.length<n-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new nt(i)}return r.set(t,e),this.size=r.size,this};var ct=function(t){return function(e,n,r){for(var i=-1,o=Object(e),a=r(e),s=a.length;s--;){var u=a[t?s:++i];if(!1===n(o[u],u,o))break}return e}}();function lt(t){return null==t?void 0===t?h:f:$&&$ in Object(t)?function(t){var e=k.call(t,$),n=t[$];try{t[$]=void 0;var r=!0}catch(t){}var i=I.call(t);r&&(e?t[$]=n:delete t[$]);return i}(t):function(t){return I.call(t)}(t)}function ft(t){return Ct(t)&<(t)==s}function pt(t){return!(!Pt(t)||function(t){return!!D&&D in t}(t))&&(Et(t)?B:v).test(function(t){if(null!=t){try{return R.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function dt(t){if(!Pt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=bt(t),n=[];for(var r in t)("constructor"!=r||!e&&k.call(t,r))&&n.push(r);return n}function ht(t,e,n,r,i){t!==e&&ct(e,function(o,a){if(Pt(o))i||(i=new rt),function(t,e,n,r,i,o,a){var s=O(t,n),u=O(e,n),c=a.get(u);if(c)return void ot(t,n,c);var l=o?o(s,u,n+"",t,e,a):void 0,f=void 0===l;if(f){var d=At(u),h=!d&&wt(u),v=!d&&!h&&Mt(u);l=u,d||h||v?At(s)?l=s:!function(t){return Ct(t)&&xt(t)}(s)?h?(f=!1,l=function(t,e){if(e)return t.slice();var n=t.length,r=H?H(n):new t.constructor(n);return t.copy(r),r}(u,!0)):v?(f=!1,l=function(t,e){var n=e?function(t){var e=new t.constructor(t.byteLength);return new j(e).set(new j(t)),e}(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(u,!0)):l=[]:l=function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(s):function(t){if(!Ct(t)||lt(t)!=p)return!1;var e=U(t);if(null===e)return!0;var n=k.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&R.call(n)==N}(u)||St(u)?(l=s,St(s)?l=function(t){return function(t,e,n,r){var i=!n;n||(n={});var o=-1,a=e.length;for(;++o<a;){var s=e[o],u=r?r(n[s],t[s],s,n,t):void 0;void 0===u&&(u=t[s]),i?ut(n,s,u):at(n,s,u)}return n}(t,Lt(t))}(s):(!Pt(s)||r&&Et(s))&&(l=function(t){return"function"!=typeof t.constructor||bt(t)?{}:Z(U(t))}(u))):f=!1}f&&(a.set(u,l),i(l,u,r,o,a),a.delete(u));ot(t,n,l)}(t,e,a,n,ht,r,i);else{var s=r?r(O(t,a),o,a+"",t,e,i):void 0;void 0===s&&(s=o),ot(t,a,s)}},Lt)}function vt(t,e){return Tt(function(t,e,n){return e=q(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,o=q(r.length-e,0),a=Array(o);++i<o;)a[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(a),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,s)}}(t,e,kt),t+"")}function yt(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function mt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return pt(n)?n:void 0}function gt(t,e){var n=typeof t;return!!(e=null==e?a:e)&&("number"==n||"symbol"!=n&&y.test(t))&&t>-1&&t%1==0&&t<e}function bt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||M)}var Tt=function(t){var e=0,n=0;return function(){var r=Y(),a=o-(r-n);if(n=r,a>0){if(++e>=i)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(z?function(t,e){return z(t,"toString",{configurable:!0,enumerable:!1,value:function(t){return function(){return t}}(e),writable:!0})}:kt);function _t(t,e){return t===e||t!=t&&e!=e}var St=ft(function(){return arguments}())?ft:function(t){return Ct(t)&&k.call(t,"callee")&&!V.call(t,"callee")},At=Array.isArray;function xt(t){return null!=t&&Ot(t.length)&&!Et(t)}var wt=X||function(){return!1};function Et(t){if(!Pt(t))return!1;var e=lt(t);return e==c||e==l||e==u||e==d}function Ot(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=a}function Pt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ct(t){return null!=t&&"object"==typeof t}var Mt=E?function(t){return function(e){return t(e)}}(E):function(t){return Ct(t)&&Ot(t.length)&&!!m[lt(t)]};function Lt(t){return xt(t)?it(t,!0):dt(t)}var Rt=function(t){return vt(function(e,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,a=i>2?n[2]:void 0;for(o=t.length>3&&"function"==typeof o?(i--,o):void 0,a&&function(t,e,n){if(!Pt(n))return!1;var r=typeof e;return!!("number"==r?xt(n)&>(e,n.length):"string"==r&&e in n)&&_t(n[e],t)}(n[0],n[1],a)&&(o=i<3?void 0:o,i=1),e=Object(e);++r<i;){var s=n[r];s&&t(e,s,r,o)}return e})}(function(t,e,n){ht(t,e,n)});function kt(t){return t}t.exports=Rt});function Wt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Wt.installed){Wt.installed=!0;var n={};Ut(n,vt,e),zt.options=n,St.options=n,t.directive("tooltip",St),t.directive("close-popover",Ct),t.component("v-popover",Ft)}}var Vt=St,Kt=Ct,$t=Ft,zt={install:Wt,get enabled(){return dt.enabled},set enabled(t){dt.enabled=t}},Xt=null;"undefined"!=typeof window?Xt=window.Vue:void 0!==t&&(Xt=t.Vue),Xt&&Xt.use(zt),e.default=zt}.call(this,n(32))}]]);