hjplayer
Version:
hjplayer, a HTML5 Player, can play flv and hls by Media Source Extension, based on typescript;
1,264 lines • 162 kB
JavaScript
/*!
* Vue.js v2.6.10
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
! function(e, t) {
"object" == typeof exports && "undefined" != typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define(t) : (e = e || self).Vue = t()
}(this, function() {
"use strict";
var e = Object.freeze({});
function t(e) {
return null == e
}
function n(e) {
return null != e
}
function r(e) {
return !0 === e
}
function i(e) {
return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e
}
function o(e) {
return null !== e && "object" == typeof e
}
var a = Object.prototype.toString;
function s(e) {
return "[object Object]" === a.call(e)
}
function c(e) {
var t = parseFloat(String(e));
return t >= 0 && Math.floor(t) === t && isFinite(e)
}
function u(e) {
return n(e) && "function" == typeof e.then && "function" == typeof e.catch
}
function l(e) {
return null == e ? "" : Array.isArray(e) || s(e) && e.toString === a ? JSON.stringify(e, null, 2) : String(e)
}
function f(e) {
var t = parseFloat(e);
return isNaN(t) ? e : t
}
function p(e, t) {
for (var n = Object.create(null), r = e.split(","), i = 0; i < r.length; i++) n[r[i]] = !0;
return t ? function(e) {
return n[e.toLowerCase()]
} : function(e) {
return n[e]
}
}
var d = p("slot,component", !0),
v = p("key,ref,slot,slot-scope,is");
function h(e, t) {
if (e.length) {
var n = e.indexOf(t);
if (n > -1) return e.splice(n, 1)
}
}
var m = Object.prototype.hasOwnProperty;
function y(e, t) {
return m.call(e, t)
}
function g(e) {
var t = Object.create(null);
return function(n) {
return t[n] || (t[n] = e(n))
}
}
var _ = /-(\w)/g,
b = g(function(e) {
return e.replace(_, function(e, t) {
return t ? t.toUpperCase() : ""
})
}),
$ = g(function(e) {
return e.charAt(0).toUpperCase() + e.slice(1)
}),
w = /\B([A-Z])/g,
C = g(function(e) {
return e.replace(w, "-$1").toLowerCase()
});
var x = Function.prototype.bind ? function(e, t) {
return e.bind(t)
} : function(e, t) {
function n(n) {
var r = arguments.length;
return r ? r > 1 ? e.apply(t, arguments) : e.call(t, n) : e.call(t)
}
return n._length = e.length, n
};
function k(e, t) {
t = t || 0;
for (var n = e.length - t, r = new Array(n); n--;) r[n] = e[n + t];
return r
}
function A(e, t) {
for (var n in t) e[n] = t[n];
return e
}
function O(e) {
for (var t = {}, n = 0; n < e.length; n++) e[n] && A(t, e[n]);
return t
}
function S(e, t, n) {}
var T = function(e, t, n) {
return !1
},
E = function(e) {
return e
};
function N(e, t) {
if (e === t) return !0;
var n = o(e),
r = o(t);
if (!n || !r) return !n && !r && String(e) === String(t);
try {
var i = Array.isArray(e),
a = Array.isArray(t);
if (i && a) return e.length === t.length && e.every(function(e, n) {
return N(e, t[n])
});
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
if (i || a) return !1;
var s = Object.keys(e),
c = Object.keys(t);
return s.length === c.length && s.every(function(n) {
return N(e[n], t[n])
})
} catch (e) {
return !1
}
}
function j(e, t) {
for (var n = 0; n < e.length; n++)
if (N(e[n], t)) return n;
return -1
}
function D(e) {
var t = !1;
return function() {
t || (t = !0, e.apply(this, arguments))
}
}
var L = "data-server-rendered",
M = ["component", "directive", "filter"],
I = ["beforeCreate", "created", "beforeMount", "mounted", "beforeUpdate", "updated", "beforeDestroy", "destroyed", "activated", "deactivated", "errorCaptured", "serverPrefetch"],
F = {
optionMergeStrategies: Object.create(null),
silent: !1,
productionTip: !1,
devtools: !1,
performance: !1,
errorHandler: null,
warnHandler: null,
ignoredElements: [],
keyCodes: Object.create(null),
isReservedTag: T,
isReservedAttr: T,
isUnknownElement: T,
getTagNamespace: S,
parsePlatformTagName: E,
mustUseProp: T,
async: !0,
_lifecycleHooks: I
},
P = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;
function R(e, t, n, r) {
Object.defineProperty(e, t, {
value: n,
enumerable: !!r,
writable: !0,
configurable: !0
})
}
var H = new RegExp("[^" + P.source + ".$_\\d]");
var B, U = "__proto__" in {},
z = "undefined" != typeof window,
V = "undefined" != typeof WXEnvironment && !!WXEnvironment.platform,
K = V && WXEnvironment.platform.toLowerCase(),
J = z && window.navigator.userAgent.toLowerCase(),
q = J && /msie|trident/.test(J),
W = J && J.indexOf("msie 9.0") > 0,
Z = J && J.indexOf("edge/") > 0,
G = (J && J.indexOf("android"), J && /iphone|ipad|ipod|ios/.test(J) || "ios" === K),
X = (J && /chrome\/\d+/.test(J), J && /phantomjs/.test(J), J && J.match(/firefox\/(\d+)/)),
Y = {}.watch,
Q = !1;
if (z) try {
var ee = {};
Object.defineProperty(ee, "passive", {
get: function() {
Q = !0
}
}), window.addEventListener("test-passive", null, ee)
} catch (e) {}
var te = function() {
return void 0 === B && (B = !z && !V && "undefined" != typeof global && (global.process && "server" === global.process.env.VUE_ENV)), B
},
ne = z && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
function re(e) {
return "function" == typeof e && /native code/.test(e.toString())
}
var ie, oe = "undefined" != typeof Symbol && re(Symbol) && "undefined" != typeof Reflect && re(Reflect.ownKeys);
ie = "undefined" != typeof Set && re(Set) ? Set : function() {
function e() {
this.set = Object.create(null)
}
return e.prototype.has = function(e) {
return !0 === this.set[e]
}, e.prototype.add = function(e) {
this.set[e] = !0
}, e.prototype.clear = function() {
this.set = Object.create(null)
}, e
}();
var ae = S,
se = 0,
ce = function() {
this.id = se++, this.subs = []
};
ce.prototype.addSub = function(e) {
this.subs.push(e)
}, ce.prototype.removeSub = function(e) {
h(this.subs, e)
}, ce.prototype.depend = function() {
ce.target && ce.target.addDep(this)
}, ce.prototype.notify = function() {
for (var e = this.subs.slice(), t = 0, n = e.length; t < n; t++) e[t].update()
}, ce.target = null;
var ue = [];
function le(e) {
ue.push(e), ce.target = e
}
function fe() {
ue.pop(), ce.target = ue[ue.length - 1]
}
var pe = function(e, t, n, r, i, o, a, s) {
this.tag = e, this.data = t, this.children = n, this.text = r, this.elm = i, this.ns = void 0, this.context = o, this.fnContext = void 0, this.fnOptions = void 0, this.fnScopeId = void 0, this.key = t && t.key, this.componentOptions = a, this.componentInstance = void 0, this.parent = void 0, this.raw = !1, this.isStatic = !1, this.isRootInsert = !0, this.isComment = !1, this.isCloned = !1, this.isOnce = !1, this.asyncFactory = s, this.asyncMeta = void 0, this.isAsyncPlaceholder = !1
},
de = {
child: {
configurable: !0
}
};
de.child.get = function() {
return this.componentInstance
}, Object.defineProperties(pe.prototype, de);
var ve = function(e) {
void 0 === e && (e = "");
var t = new pe;
return t.text = e, t.isComment = !0, t
};
function he(e) {
return new pe(void 0, void 0, void 0, String(e))
}
function me(e) {
var t = new pe(e.tag, e.data, e.children && e.children.slice(), e.text, e.elm, e.context, e.componentOptions, e.asyncFactory);
return t.ns = e.ns, t.isStatic = e.isStatic, t.key = e.key, t.isComment = e.isComment, t.fnContext = e.fnContext, t.fnOptions = e.fnOptions, t.fnScopeId = e.fnScopeId, t.asyncMeta = e.asyncMeta, t.isCloned = !0, t
}
var ye = Array.prototype,
ge = Object.create(ye);
["push", "pop", "shift", "unshift", "splice", "sort", "reverse"].forEach(function(e) {
var t = ye[e];
R(ge, e, function() {
for (var n = [], r = arguments.length; r--;) n[r] = arguments[r];
var i, o = t.apply(this, n),
a = this.__ob__;
switch (e) {
case "push":
case "unshift":
i = n;
break;
case "splice":
i = n.slice(2)
}
return i && a.observeArray(i), a.dep.notify(), o
})
});
var _e = Object.getOwnPropertyNames(ge),
be = !0;
function $e(e) {
be = e
}
var we = function(e) {
var t;
this.value = e, this.dep = new ce, this.vmCount = 0, R(e, "__ob__", this), Array.isArray(e) ? (U ? (t = ge, e.__proto__ = t) : function(e, t, n) {
for (var r = 0, i = n.length; r < i; r++) {
var o = n[r];
R(e, o, t[o])
}
}(e, ge, _e), this.observeArray(e)) : this.walk(e)
};
function Ce(e, t) {
var n;
if (o(e) && !(e instanceof pe)) return y(e, "__ob__") && e.__ob__ instanceof we ? n = e.__ob__ : be && !te() && (Array.isArray(e) || s(e)) && Object.isExtensible(e) && !e._isVue && (n = new we(e)), t && n && n.vmCount++, n
}
function xe(e, t, n, r, i) {
var o = new ce,
a = Object.getOwnPropertyDescriptor(e, t);
if (!a || !1 !== a.configurable) {
var s = a && a.get,
c = a && a.set;
s && !c || 2 !== arguments.length || (n = e[t]);
var u = !i && Ce(n);
Object.defineProperty(e, t, {
enumerable: !0,
configurable: !0,
get: function() {
var t = s ? s.call(e) : n;
return ce.target && (o.depend(), u && (u.dep.depend(), Array.isArray(t) && function e(t) {
for (var n = void 0, r = 0, i = t.length; r < i; r++)(n = t[r]) && n.__ob__ && n.__ob__.dep.depend(), Array.isArray(n) && e(n)
}(t))), t
},
set: function(t) {
var r = s ? s.call(e) : n;
t === r || t != t && r != r || s && !c || (c ? c.call(e, t) : n = t, u = !i && Ce(t), o.notify())
}
})
}
}
function ke(e, t, n) {
if (Array.isArray(e) && c(t)) return e.length = Math.max(e.length, t), e.splice(t, 1, n), n;
if (t in e && !(t in Object.prototype)) return e[t] = n, n;
var r = e.__ob__;
return e._isVue || r && r.vmCount ? n : r ? (xe(r.value, t, n), r.dep.notify(), n) : (e[t] = n, n)
}
function Ae(e, t) {
if (Array.isArray(e) && c(t)) e.splice(t, 1);
else {
var n = e.__ob__;
e._isVue || n && n.vmCount || y(e, t) && (delete e[t], n && n.dep.notify())
}
}
we.prototype.walk = function(e) {
for (var t = Object.keys(e), n = 0; n < t.length; n++) xe(e, t[n])
}, we.prototype.observeArray = function(e) {
for (var t = 0, n = e.length; t < n; t++) Ce(e[t])
};
var Oe = F.optionMergeStrategies;
function Se(e, t) {
if (!t) return e;
for (var n, r, i, o = oe ? Reflect.ownKeys(t) : Object.keys(t), a = 0; a < o.length; a++) "__ob__" !== (n = o[a]) && (r = e[n], i = t[n], y(e, n) ? r !== i && s(r) && s(i) && Se(r, i) : ke(e, n, i));
return e
}
function Te(e, t, n) {
return n ? function() {
var r = "function" == typeof t ? t.call(n, n) : t,
i = "function" == typeof e ? e.call(n, n) : e;
return r ? Se(r, i) : i
} : t ? e ? function() {
return Se("function" == typeof t ? t.call(this, this) : t, "function" == typeof e ? e.call(this, this) : e)
} : t : e
}
function Ee(e, t) {
var n = t ? e ? e.concat(t) : Array.isArray(t) ? t : [t] : e;
return n ? function(e) {
for (var t = [], n = 0; n < e.length; n++) - 1 === t.indexOf(e[n]) && t.push(e[n]);
return t
}(n) : n
}
function Ne(e, t, n, r) {
var i = Object.create(e || null);
return t ? A(i, t) : i
}
Oe.data = function(e, t, n) {
return n ? Te(e, t, n) : t && "function" != typeof t ? e : Te(e, t)
}, I.forEach(function(e) {
Oe[e] = Ee
}), M.forEach(function(e) {
Oe[e + "s"] = Ne
}), Oe.watch = function(e, t, n, r) {
if (e === Y && (e = void 0), t === Y && (t = void 0), !t) return Object.create(e || null);
if (!e) return t;
var i = {};
for (var o in A(i, e), t) {
var a = i[o],
s = t[o];
a && !Array.isArray(a) && (a = [a]), i[o] = a ? a.concat(s) : Array.isArray(s) ? s : [s]
}
return i
}, Oe.props = Oe.methods = Oe.inject = Oe.computed = function(e, t, n, r) {
if (!e) return t;
var i = Object.create(null);
return A(i, e), t && A(i, t), i
}, Oe.provide = Te;
var je = function(e, t) {
return void 0 === t ? e : t
};
function De(e, t, n) {
if ("function" == typeof t && (t = t.options), function(e, t) {
var n = e.props;
if (n) {
var r, i, o = {};
if (Array.isArray(n))
for (r = n.length; r--;) "string" == typeof(i = n[r]) && (o[b(i)] = {
type: null
});
else if (s(n))
for (var a in n) i = n[a], o[b(a)] = s(i) ? i : {
type: i
};
e.props = o
}
}(t), function(e, t) {
var n = e.inject;
if (n) {
var r = e.inject = {};
if (Array.isArray(n))
for (var i = 0; i < n.length; i++) r[n[i]] = {
from: n[i]
};
else if (s(n))
for (var o in n) {
var a = n[o];
r[o] = s(a) ? A({
from: o
}, a) : {
from: a
}
}
}
}(t), function(e) {
var t = e.directives;
if (t)
for (var n in t) {
var r = t[n];
"function" == typeof r && (t[n] = {
bind: r,
update: r
})
}
}(t), !t._base && (t.extends && (e = De(e, t.extends, n)), t.mixins))
for (var r = 0, i = t.mixins.length; r < i; r++) e = De(e, t.mixins[r], n);
var o, a = {};
for (o in e) c(o);
for (o in t) y(e, o) || c(o);
function c(r) {
var i = Oe[r] || je;
a[r] = i(e[r], t[r], n, r)
}
return a
}
function Le(e, t, n, r) {
if ("string" == typeof n) {
var i = e[t];
if (y(i, n)) return i[n];
var o = b(n);
if (y(i, o)) return i[o];
var a = $(o);
return y(i, a) ? i[a] : i[n] || i[o] || i[a]
}
}
function Me(e, t, n, r) {
var i = t[e],
o = !y(n, e),
a = n[e],
s = Pe(Boolean, i.type);
if (s > -1)
if (o && !y(i, "default")) a = !1;
else if ("" === a || a === C(e)) {
var c = Pe(String, i.type);
(c < 0 || s < c) && (a = !0)
}
if (void 0 === a) {
a = function(e, t, n) {
if (!y(t, "default")) return;
var r = t.default;
if (e && e.$options.propsData && void 0 === e.$options.propsData[n] && void 0 !== e._props[n]) return e._props[n];
return "function" == typeof r && "Function" !== Ie(t.type) ? r.call(e) : r
}(r, i, e);
var u = be;
$e(!0), Ce(a), $e(u)
}
return a
}
function Ie(e) {
var t = e && e.toString().match(/^\s*function (\w+)/);
return t ? t[1] : ""
}
function Fe(e, t) {
return Ie(e) === Ie(t)
}
function Pe(e, t) {
if (!Array.isArray(t)) return Fe(t, e) ? 0 : -1;
for (var n = 0, r = t.length; n < r; n++)
if (Fe(t[n], e)) return n;
return -1
}
function Re(e, t, n) {
le();
try {
if (t)
for (var r = t; r = r.$parent;) {
var i = r.$options.errorCaptured;
if (i)
for (var o = 0; o < i.length; o++) try {
if (!1 === i[o].call(r, e, t, n)) return
} catch (e) {
Be(e, r, "errorCaptured hook")
}
}
Be(e, t, n)
} finally {
fe()
}
}
function He(e, t, n, r, i) {
var o;
try {
(o = n ? e.apply(t, n) : e.call(t)) && !o._isVue && u(o) && !o._handled && (o.catch(function(e) {
return Re(e, r, i + " (Promise/async)")
}), o._handled = !0)
} catch (e) {
Re(e, r, i)
}
return o
}
function Be(e, t, n) {
if (F.errorHandler) try {
return F.errorHandler.call(null, e, t, n)
} catch (t) {
t !== e && Ue(t, null, "config.errorHandler")
}
Ue(e, t, n)
}
function Ue(e, t, n) {
if (!z && !V || "undefined" == typeof console) throw e;
console.error(e)
}
var ze, Ve = !1,
Ke = [],
Je = !1;
function qe() {
Je = !1;
var e = Ke.slice(0);
Ke.length = 0;
for (var t = 0; t < e.length; t++) e[t]()
}
if ("undefined" != typeof Promise && re(Promise)) {
var We = Promise.resolve();
ze = function() {
We.then(qe), G && setTimeout(S)
}, Ve = !0
} else if (q || "undefined" == typeof MutationObserver || !re(MutationObserver) && "[object MutationObserverConstructor]" !== MutationObserver.toString()) ze = "undefined" != typeof setImmediate && re(setImmediate) ? function() {
setImmediate(qe)
} : function() {
setTimeout(qe, 0)
};
else {
var Ze = 1,
Ge = new MutationObserver(qe),
Xe = document.createTextNode(String(Ze));
Ge.observe(Xe, {
characterData: !0
}), ze = function() {
Ze = (Ze + 1) % 2, Xe.data = String(Ze)
}, Ve = !0
}
function Ye(e, t) {
var n;
if (Ke.push(function() {
if (e) try {
e.call(t)
} catch (e) {
Re(e, t, "nextTick")
} else n && n(t)
}), Je || (Je = !0, ze()), !e && "undefined" != typeof Promise) return new Promise(function(e) {
n = e
})
}
var Qe = new ie;
function et(e) {
! function e(t, n) {
var r, i;
var a = Array.isArray(t);
if (!a && !o(t) || Object.isFrozen(t) || t instanceof pe) return;
if (t.__ob__) {
var s = t.__ob__.dep.id;
if (n.has(s)) return;
n.add(s)
}
if (a)
for (r = t.length; r--;) e(t[r], n);
else
for (i = Object.keys(t), r = i.length; r--;) e(t[i[r]], n)
}(e, Qe), Qe.clear()
}
var tt = g(function(e) {
var t = "&" === e.charAt(0),
n = "~" === (e = t ? e.slice(1) : e).charAt(0),
r = "!" === (e = n ? e.slice(1) : e).charAt(0);
return {
name: e = r ? e.slice(1) : e,
once: n,
capture: r,
passive: t
}
});
function nt(e, t) {
function n() {
var e = arguments,
r = n.fns;
if (!Array.isArray(r)) return He(r, null, arguments, t, "v-on handler");
for (var i = r.slice(), o = 0; o < i.length; o++) He(i[o], null, e, t, "v-on handler")
}
return n.fns = e, n
}
function rt(e, n, i, o, a, s) {
var c, u, l, f;
for (c in e) u = e[c], l = n[c], f = tt(c), t(u) || (t(l) ? (t(u.fns) && (u = e[c] = nt(u, s)), r(f.once) && (u = e[c] = a(f.name, u, f.capture)), i(f.name, u, f.capture, f.passive, f.params)) : u !== l && (l.fns = u, e[c] = l));
for (c in n) t(e[c]) && o((f = tt(c)).name, n[c], f.capture)
}
function it(e, i, o) {
var a;
e instanceof pe && (e = e.data.hook || (e.data.hook = {}));
var s = e[i];
function c() {
o.apply(this, arguments), h(a.fns, c)
}
t(s) ? a = nt([c]) : n(s.fns) && r(s.merged) ? (a = s).fns.push(c) : a = nt([s, c]), a.merged = !0, e[i] = a
}
function ot(e, t, r, i, o) {
if (n(t)) {
if (y(t, r)) return e[r] = t[r], o || delete t[r], !0;
if (y(t, i)) return e[r] = t[i], o || delete t[i], !0
}
return !1
}
function at(e) {
return i(e) ? [he(e)] : Array.isArray(e) ? function e(o, a) {
var s = [];
var c, u, l, f;
for (c = 0; c < o.length; c++) t(u = o[c]) || "boolean" == typeof u || (l = s.length - 1, f = s[l], Array.isArray(u) ? u.length > 0 && (st((u = e(u, (a || "") + "_" + c))[0]) && st(f) && (s[l] = he(f.text + u[0].text), u.shift()), s.push.apply(s, u)) : i(u) ? st(f) ? s[l] = he(f.text + u) : "" !== u && s.push(he(u)) : st(u) && st(f) ? s[l] = he(f.text + u.text) : (r(o._isVList) && n(u.tag) && t(u.key) && n(a) && (u.key = "__vlist" + a + "_" + c + "__"), s.push(u)));
return s
}(e) : void 0
}
function st(e) {
return n(e) && n(e.text) && !1 === e.isComment
}
function ct(e, t) {
if (e) {
for (var n = Object.create(null), r = oe ? Reflect.ownKeys(e) : Object.keys(e), i = 0; i < r.length; i++) {
var o = r[i];
if ("__ob__" !== o) {
for (var a = e[o].from, s = t; s;) {
if (s._provided && y(s._provided, a)) {
n[o] = s._provided[a];
break
}
s = s.$parent
}
if (!s && "default" in e[o]) {
var c = e[o].default;
n[o] = "function" == typeof c ? c.call(t) : c
}
}
}
return n
}
}
function ut(e, t) {
if (!e || !e.length) return {};
for (var n = {}, r = 0, i = e.length; r < i; r++) {
var o = e[r],
a = o.data;
if (a && a.attrs && a.attrs.slot && delete a.attrs.slot, o.context !== t && o.fnContext !== t || !a || null == a.slot)(n.default || (n.default = [])).push(o);
else {
var s = a.slot,
c = n[s] || (n[s] = []);
"template" === o.tag ? c.push.apply(c, o.children || []) : c.push(o)
}
}
for (var u in n) n[u].every(lt) && delete n[u];
return n
}
function lt(e) {
return e.isComment && !e.asyncFactory || " " === e.text
}
function ft(t, n, r) {
var i, o = Object.keys(n).length > 0,
a = t ? !!t.$stable : !o,
s = t && t.$key;
if (t) {
if (t._normalized) return t._normalized;
if (a && r && r !== e && s === r.$key && !o && !r.$hasNormal) return r;
for (var c in i = {}, t) t[c] && "$" !== c[0] && (i[c] = pt(n, c, t[c]))
} else i = {};
for (var u in n) u in i || (i[u] = dt(n, u));
return t && Object.isExtensible(t) && (t._normalized = i), R(i, "$stable", a), R(i, "$key", s), R(i, "$hasNormal", o), i
}
function pt(e, t, n) {
var r = function() {
var e = arguments.length ? n.apply(null, arguments) : n({});
return (e = e && "object" == typeof e && !Array.isArray(e) ? [e] : at(e)) && (0 === e.length || 1 === e.length && e[0].isComment) ? void 0 : e
};
return n.proxy && Object.defineProperty(e, t, {
get: r,
enumerable: !0,
configurable: !0
}), r
}
function dt(e, t) {
return function() {
return e[t]
}
}
function vt(e, t) {
var r, i, a, s, c;
if (Array.isArray(e) || "string" == typeof e)
for (r = new Array(e.length), i = 0, a = e.length; i < a; i++) r[i] = t(e[i], i);
else if ("number" == typeof e)
for (r = new Array(e), i = 0; i < e; i++) r[i] = t(i + 1, i);
else if (o(e))
if (oe && e[Symbol.iterator]) {
r = [];
for (var u = e[Symbol.iterator](), l = u.next(); !l.done;) r.push(t(l.value, r.length)), l = u.next()
} else
for (s = Object.keys(e), r = new Array(s.length), i = 0, a = s.length; i < a; i++) c = s[i], r[i] = t(e[c], c, i);
return n(r) || (r = []), r._isVList = !0, r
}
function ht(e, t, n, r) {
var i, o = this.$scopedSlots[e];
o ? (n = n || {}, r && (n = A(A({}, r), n)), i = o(n) || t) : i = this.$slots[e] || t;
var a = n && n.slot;
return a ? this.$createElement("template", {
slot: a
}, i) : i
}
function mt(e) {
return Le(this.$options, "filters", e) || E
}
function yt(e, t) {
return Array.isArray(e) ? -1 === e.indexOf(t) : e !== t
}
function gt(e, t, n, r, i) {
var o = F.keyCodes[t] || n;
return i && r && !F.keyCodes[t] ? yt(i, r) : o ? yt(o, e) : r ? C(r) !== t : void 0
}
function _t(e, t, n, r, i) {
if (n)
if (o(n)) {
var a;
Array.isArray(n) && (n = O(n));
var s = function(o) {
if ("class" === o || "style" === o || v(o)) a = e;
else {
var s = e.attrs && e.attrs.type;
a = r || F.mustUseProp(t, s, o) ? e.domProps || (e.domProps = {}) : e.attrs || (e.attrs = {})
}
var c = b(o),
u = C(o);
c in a || u in a || (a[o] = n[o], i && ((e.on || (e.on = {}))["update:" + o] = function(e) {
n[o] = e
}))
};
for (var c in n) s(c)
} else;
return e
}
function bt(e, t) {
var n = this._staticTrees || (this._staticTrees = []),
r = n[e];
return r && !t ? r : (wt(r = n[e] = this.$options.staticRenderFns[e].call(this._renderProxy, null, this), "__static__" + e, !1), r)
}
function $t(e, t, n) {
return wt(e, "__once__" + t + (n ? "_" + n : ""), !0), e
}
function wt(e, t, n) {
if (Array.isArray(e))
for (var r = 0; r < e.length; r++) e[r] && "string" != typeof e[r] && Ct(e[r], t + "_" + r, n);
else Ct(e, t, n)
}
function Ct(e, t, n) {
e.isStatic = !0, e.key = t, e.isOnce = n
}
function xt(e, t) {
if (t)
if (s(t)) {
var n = e.on = e.on ? A({}, e.on) : {};
for (var r in t) {
var i = n[r],
o = t[r];
n[r] = i ? [].concat(i, o) : o
}
} else;
return e
}
function kt(e, t, n, r) {
t = t || {
$stable: !n
};
for (var i = 0; i < e.length; i++) {
var o = e[i];
Array.isArray(o) ? kt(o, t, n) : o && (o.proxy && (o.fn.proxy = !0), t[o.key] = o.fn)
}
return r && (t.$key = r), t
}
function At(e, t) {
for (var n = 0; n < t.length; n += 2) {
var r = t[n];
"string" == typeof r && r && (e[t[n]] = t[n + 1])
}
return e
}
function Ot(e, t) {
return "string" == typeof e ? t + e : e
}
function St(e) {
e._o = $t, e._n = f, e._s = l, e._l = vt, e._t = ht, e._q = N, e._i = j, e._m = bt, e._f = mt, e._k = gt, e._b = _t, e._v = he, e._e = ve, e._u = kt, e._g = xt, e._d = At, e._p = Ot
}
function Tt(t, n, i, o, a) {
var s, c = this,
u = a.options;
y(o, "_uid") ? (s = Object.create(o))._original = o : (s = o, o = o._original);
var l = r(u._compiled),
f = !l;
this.data = t, this.props = n, this.children = i, this.parent = o, this.listeners = t.on || e, this.injections = ct(u.inject, o), this.slots = function() {
return c.$slots || ft(t.scopedSlots, c.$slots = ut(i, o)), c.$slots
}, Object.defineProperty(this, "scopedSlots", {
enumerable: !0,
get: function() {
return ft(t.scopedSlots, this.slots())
}
}), l && (this.$options = u, this.$slots = this.slots(), this.$scopedSlots = ft(t.scopedSlots, this.$slots)), u._scopeId ? this._c = function(e, t, n, r) {
var i = Pt(s, e, t, n, r, f);
return i && !Array.isArray(i) && (i.fnScopeId = u._scopeId, i.fnContext = o), i
} : this._c = function(e, t, n, r) {
return Pt(s, e, t, n, r, f)
}
}
function Et(e, t, n, r, i) {
var o = me(e);
return o.fnContext = n, o.fnOptions = r, t.slot && ((o.data || (o.data = {})).slot = t.slot), o
}
function Nt(e, t) {
for (var n in t) e[b(n)] = t[n]
}
St(Tt.prototype);
var jt = {
init: function(e, t) {
if (e.componentInstance && !e.componentInstance._isDestroyed && e.data.keepAlive) {
var r = e;
jt.prepatch(r, r)
} else {
(e.componentInstance = function(e, t) {
var r = {
_isComponent: !0,
_parentVnode: e,
parent: t
},
i = e.data.inlineTemplate;
n(i) && (r.render = i.render, r.staticRenderFns = i.staticRenderFns);
return new e.componentOptions.Ctor(r)
}(e, Wt)).$mount(t ? e.elm : void 0, t)
}
},
prepatch: function(t, n) {
var r = n.componentOptions;
! function(t, n, r, i, o) {
var a = i.data.scopedSlots,
s = t.$scopedSlots,
c = !!(a && !a.$stable || s !== e && !s.$stable || a && t.$scopedSlots.$key !== a.$key),
u = !!(o || t.$options._renderChildren || c);
t.$options._parentVnode = i, t.$vnode = i, t._vnode && (t._vnode.parent = i);
if (t.$options._renderChildren = o, t.$attrs = i.data.attrs || e, t.$listeners = r || e, n && t.$options.props) {
$e(!1);
for (var l = t._props, f = t.$options._propKeys || [], p = 0; p < f.length; p++) {
var d = f[p],
v = t.$options.props;
l[d] = Me(d, v, n, t)
}
$e(!0), t.$options.propsData = n
}
r = r || e;
var h = t.$options._parentListeners;
t.$options._parentListeners = r, qt(t, r, h), u && (t.$slots = ut(o, i.context), t.$forceUpdate())
}(n.componentInstance = t.componentInstance, r.propsData, r.listeners, n, r.children)
},
insert: function(e) {
var t, n = e.context,
r = e.componentInstance;
r._isMounted || (r._isMounted = !0, Yt(r, "mounted")), e.data.keepAlive && (n._isMounted ? ((t = r)._inactive = !1, en.push(t)) : Xt(r, !0))
},
destroy: function(e) {
var t = e.componentInstance;
t._isDestroyed || (e.data.keepAlive ? function e(t, n) {
if (n && (t._directInactive = !0, Gt(t))) return;
if (!t._inactive) {
t._inactive = !0;
for (var r = 0; r < t.$children.length; r++) e(t.$children[r]);
Yt(t, "deactivated")
}
}(t, !0) : t.$destroy())
}
},
Dt = Object.keys(jt);
function Lt(i, a, s, c, l) {
if (!t(i)) {
var f = s.$options._base;
if (o(i) && (i = f.extend(i)), "function" == typeof i) {
var p;
if (t(i.cid) && void 0 === (i = function(e, i) {
if (r(e.error) && n(e.errorComp)) return e.errorComp;
if (n(e.resolved)) return e.resolved;
var a = Ht;
a && n(e.owners) && -1 === e.owners.indexOf(a) && e.owners.push(a);
if (r(e.loading) && n(e.loadingComp)) return e.loadingComp;
if (a && !n(e.owners)) {
var s = e.owners = [a],
c = !0,
l = null,
f = null;
a.$on("hook:destroyed", function() {
return h(s, a)
});
var p = function(e) {
for (var t = 0, n = s.length; t < n; t++) s[t].$forceUpdate();
e && (s.length = 0, null !== l && (clearTimeout(l), l = null), null !== f && (clearTimeout(f), f = null))
},
d = D(function(t) {
e.resolved = Bt(t, i), c ? s.length = 0 : p(!0)
}),
v = D(function(t) {
n(e.errorComp) && (e.error = !0, p(!0))
}),
m = e(d, v);
return o(m) && (u(m) ? t(e.resolved) && m.then(d, v) : u(m.component) && (m.component.then(d, v), n(m.error) && (e.errorComp = Bt(m.error, i)), n(m.loading) && (e.loadingComp = Bt(m.loading, i), 0 === m.delay ? e.loading = !0 : l = setTimeout(function() {
l = null, t(e.resolved) && t(e.error) && (e.loading = !0, p(!1))
}, m.delay || 200)), n(m.timeout) && (f = setTimeout(function() {
f = null, t(e.resolved) && v(null)
}, m.timeout)))), c = !1, e.loading ? e.loadingComp : e.resolved
}
}(p = i, f))) return function(e, t, n, r, i) {
var o = ve();
return o.asyncFactory = e, o.asyncMeta = {
data: t,
context: n,
children: r,
tag: i
}, o
}(p, a, s, c, l);
a = a || {}, $n(i), n(a.model) && function(e, t) {
var r = e.model && e.model.prop || "value",
i = e.model && e.model.event || "input";
(t.attrs || (t.attrs = {}))[r] = t.model.value;
var o = t.on || (t.on = {}),
a = o[i],
s = t.model.callback;
n(a) ? (Array.isArray(a) ? -1 === a.indexOf(s) : a !== s) && (o[i] = [s].concat(a)) : o[i] = s
}(i.options, a);
var d = function(e, r, i) {
var o = r.options.props;
if (!t(o)) {
var a = {},
s = e.attrs,
c = e.props;
if (n(s) || n(c))
for (var u in o) {
var l = C(u);
ot(a, c, u, l, !0) || ot(a, s, u, l, !1)
}
return a
}
}(a, i);
if (r(i.options.functional)) return function(t, r, i, o, a) {
var s = t.options,
c = {},
u = s.props;
if (n(u))
for (var l in u) c[l] = Me(l, u, r || e);
else n(i.attrs) && Nt(c, i.attrs), n(i.props) && Nt(c, i.props);
var f = new Tt(i, c, a, o, t),
p = s.render.call(null, f._c, f);
if (p instanceof pe) return Et(p, i, f.parent, s);
if (Array.isArray(p)) {
for (var d = at(p) || [], v = new Array(d.length), h = 0; h < d.length; h++) v[h] = Et(d[h], i, f.parent, s);
return v
}
}(i, d, a, s, c);
var v = a.on;
if (a.on = a.nativeOn, r(i.options.abstract)) {
var m = a.slot;
a = {}, m && (a.slot = m)
}! function(e) {
for (var t = e.hook || (e.hook = {}), n = 0; n < Dt.length; n++) {
var r = Dt[n],
i = t[r],
o = jt[r];
i === o || i && i._merged || (t[r] = i ? Mt(o, i) : o)
}
}(a);
var y = i.options.name || l;
return new pe("vue-component-" + i.cid + (y ? "-" + y : ""), a, void 0, void 0, void 0, s, {
Ctor: i,
propsData: d,
listeners: v,
tag: l,
children: c
}, p)
}
}
}
function Mt(e, t) {
var n = function(n, r) {
e(n, r), t(n, r)
};
return n._merged = !0, n
}
var It = 1,
Ft = 2;
function Pt(e, a, s, c, u, l) {
return (Array.isArray(s) || i(s)) && (u = c, c = s, s = void 0), r(l) && (u = Ft),
function(e, i, a, s, c) {
if (n(a) && n(a.__ob__)) return ve();
n(a) && n(a.is) && (i = a.is);
if (!i) return ve();
Array.isArray(s) && "function" == typeof s[0] && ((a = a || {}).scopedSlots = {
default: s[0]
}, s.length = 0);
c === Ft ? s = at(s) : c === It && (s = function(e) {
for (var t = 0; t < e.length; t++)
if (Array.isArray(e[t])) return Array.prototype.concat.apply([], e);
return e
}(s));
var u, l;
if ("string" == typeof i) {
var f;
l = e.$vnode && e.$vnode.ns || F.getTagNamespace(i), u = F.isReservedTag(i) ? new pe(F.parsePlatformTagName(i), a, s, void 0, void 0, e) : a && a.pre || !n(f = Le(e.$options, "components", i)) ? new pe(i, a, s, void 0, void 0, e) : Lt(f, a, e, s, i)
} else u = Lt(i, a, e, s);
return Array.isArray(u) ? u : n(u) ? (n(l) && function e(i, o, a) {
i.ns = o;
"foreignObject" === i.tag && (o = void 0, a = !0);
if (n(i.children))
for (var s = 0, c = i.children.length; s < c; s++) {
var u = i.children[s];
n(u.tag) && (t(u.ns) || r(a) && "svg" !== u.tag) && e(u, o, a)
}
}(u, l), n(a) && function(e) {
o(e.style) && et(e.style);
o(e.class) && et(e.class)
}(a), u) : ve()
}(e, a, s, c, u)
}
var Rt, Ht = null;
function Bt(e, t) {
return (e.__esModule || oe && "Module" === e[Symbol.toStringTag]) && (e = e.default), o(e) ? t.extend(e) : e
}
function Ut(e) {
return e.isComment && e.asyncFactory
}
function zt(e) {
if (Array.isArray(e))
for (var t = 0; t < e.length; t++) {
var r = e[t];
if (n(r) && (n(r.componentOptions) || Ut(r))) return r
}
}
function Vt(e, t) {
Rt.$on(e, t)
}
function Kt(e, t) {
Rt.$off(e, t)
}
function Jt(e, t) {
var n = Rt;
return function r() {
null !== t.apply(null, arguments) && n.$off(e, r)
}
}
function qt(e, t, n) {
Rt = e, rt(t, n || {}, Vt, Kt, Jt, e), Rt = void 0
}
var Wt = null;
function Zt(e) {
var t = Wt;
return Wt = e,
function() {
Wt = t
}
}
function Gt(e) {
for (; e && (e = e.$parent);)
if (e._inactive) return !0;
return !1
}
function Xt(e, t) {
if (t) {
if (e._directInactive = !1, Gt(e)) return
} else if (e._directInactive) return;
if (e._inactive || null === e._inactive) {
e._inactive = !1;
for (var n = 0; n < e.$children.length; n++) Xt(e.$children[n]);
Yt(e, "activated")
}
}
function Yt(e, t) {
le();
var n = e.$options[t],
r = t + " hook";
if (n)
for (var i = 0, o = n.length; i < o; i++) He(n[i], e, null, e, r);
e._hasHookEvent && e.$emit("hook:" + t), fe()
}
var Qt = [],
en = [],
tn = {},
nn = !1,
rn = !1,
on = 0;
var an = 0,
sn = Date.now;
if (z && !q) {
var cn = window.performance;
cn && "function" == typeof cn.now && sn() > document.createEvent("Event").timeStamp && (sn = function() {
return cn.now()
})
}
function un() {
var e, t;
for (an = sn(), rn = !0, Qt.sort(function(e, t) {
return e.id - t.id
}), on = 0; on < Qt.length; on++)(e = Qt[on]).before && e.before(), t = e.id, tn[t] = null, e.run();
var n = en.slice(),
r = Qt.slice();
on = Qt.length = en.length = 0, tn = {}, nn = rn = !1,
function(e) {
for (var t = 0; t < e.length; t++) e[t]._inactive = !0, Xt(e[t], !0)
}(n),
function(e) {
var t = e.length;
for (; t--;) {
var n = e[t],
r = n.vm;
r._watcher === n && r._isMounted && !r._isDestroyed && Yt(r, "updated")
}
}(r), ne && F.devtools && ne.emit("flush")
}
var ln = 0,
fn = function(e, t, n, r, i) {
this.vm = e, i && (e._watcher = this), e._watchers.push(this), r ? (this.deep = !!r.deep, this.user = !!r.user, this.lazy = !!r.lazy, this.sync = !!r.sync, this.before = r.before) : this.deep = this.user = this.lazy = this.sync = !1, this.cb = n, this.id = ++ln, this.active = !0, this.dirty = this.lazy, this.deps = [], this.newDeps = [], this.depIds = new ie, this.newDepIds = new ie, this.expression = "", "function" == typeof t ? this.getter = t : (this.getter = function(e) {
if (!H.test(e)) {
var t = e.split(".");
return function(e) {
for (var n = 0; n < t.length; n++) {
if (!e) return;
e = e[t[n]]
}
return e
}
}
}(t), this.getter || (this.getter = S)), this.value = this.lazy ? void 0 : this.get()
};
fn.prototype.get = function() {
var e;
le(this);
var t = this.vm;
try {
e = this.getter.call(t, t)
} catch (e) {
if (!this.user) throw e;
Re(e, t, 'getter for watcher "' + this.expression + '"')
} finally {
this.deep && et(e), fe(), this.cleanupDeps()
}
return e
}, fn.prototype.addDep = function(e) {
var t = e.id;
this.newDepIds.has(t) || (this.newDepIds.add(t), this.newDeps.push(e), this.depIds.has(t) || e.addSub(this))
}, fn.prototype.cleanupDeps = function() {
for (var e = this.deps.length; e--;) {
var t = this.deps[e];
this.newDepIds.has(t.id) || t.removeSub(this)
}
var n = this.depIds;
this.depIds = this.newDepIds, this.newDepIds = n, this.newDepIds.clear(), n = this.deps, this.deps = this.newDeps, this.newDeps = n, this.newDeps.length = 0
}, fn.prototype.update = function() {
this.lazy ? this.dirty = !0 : this.sync ? this.run() : function(e) {
var t = e.id;
if (null == tn[t]) {
if (tn[t] = !0, rn) {
for (var n = Qt.length - 1; n > on && Qt[n].id > e.id;) n--;
Qt.splice(n + 1, 0, e)
} else Qt.push(e);
nn || (nn = !0, Ye(un))
}
}(this)
}, fn.prototype.run = function() {
if (this.active) {
var e = this.get();
if (e !== this.value || o(e) || this.deep) {
var t = this.value;
if (this.value = e, this.user) try {
this.cb.call(this.vm, e, t)
} catch (e) {
Re(e, this.vm, 'callback for watcher "' + this.expression + '"')
} else this.cb.call(this.vm, e, t)
}
}
}, fn.prototype.evaluate = function() {
this.value = this.get(), this.dirty = !1
}, fn.prototype.depend = function() {
for (var e = this.deps.length; e--;) this.deps[e].depend()
}, fn.prototype.teardown = function() {
if (this.active) {
this.vm._isBeingDestroyed || h(this.vm._watchers, this);
for (var e = this.deps.length; e--;) this.deps[e].removeSub(this);
this.active = !1
}
};
var pn = {
enumerable: !0,
configurable: !0,
get: S,
set: S
};
function dn(e, t, n) {
pn.get = function() {
return this[t][n]
}, pn.set = function(e) {
this[t][n] = e
}, Object.defineProperty(e, n, pn)
}
function vn(e) {
e._watchers = [];
var t = e.$options;
t.props && function(e, t) {
var n = e.$options.propsData || {},
r = e._props = {},
i = e.$options._propKeys = [];
e.$parent && $e(!1);
var o = function(o) {
i.push(o);
var a = Me(o, t, n, e);
xe(r, o, a), o in e || dn(e, "_props", o)
};
for (var a in t) o(a);
$e(!0)
}(e, t.props), t.methods && function(e, t) {
e.$options.props;
for (var n in t) e[n] = "function" != typeof t[n] ? S : x(t[n], e)
}(e, t.methods), t.data ? function(e) {
var t = e.$options.data;
s(t = e._data = "function" == typeof t ? function(e, t) {
le();
try {
return e.call(t, t)
} catch (e) {
return Re(e, t, "data()"), {}
} finally {
fe()
}
}(t, e) : t || {}) || (t = {});
var n = Object.keys(t),
r = e.$options.props,
i = (e.$options.methods, n.length);
for (; i--;) {
var o = n[i];
r && y(r, o) || (a = void 0, 36 !== (a = (o + "").charCodeAt(0)) && 95 !== a && dn(e, "_data", o))
}
var a;
Ce(t, !0)
}(e) : Ce(e._data = {}, !0), t.computed && function(e, t) {
var n =