!function(e) { "use strict"; var t = "1.0.0" , s = "jxmark" , i = e , n = i.jx , a = {}; if (!("undefined" == typeof n || n.mark && n.mark === s)) throw new error('"jx" name is defined in other javascript code !!!'); n && (a = n.packages), n = function(e) { var t = this , s = function(e, t) { return e && e.hasownproperty && e instanceof t }; return e ? s(t, n) ? t._init() : t = new n : t = n.root, t } , n.prototype = { version: t, _init: function() { this.constructor = n }, namespace: function(e) { if (!e) return i; e = string(e); var t, s, n = e.split("."), a = i; for (t = 0; t < n.length; t += 1) s = n[t], a[s] = a[s] || {}, a = a[n[t]]; return a }, "package": function() { var e, t = arguments[0], s = arguments[arguments.length - 1], a = i; if ("function" != typeof s) throw new error("function required"); "string" == typeof t ? (a = this.namespace(t), n.packages[t] || (n.packages[t] = { isloaded: !0, returnvalue: e }), a.packagename = t) : "object" == typeof t && (a = t), e = s.call(a, this), "string" == typeof t && (n.packages[t].returnvalue = e) }, checkpackage: function(e) { return n.packages[e] }, starttime: +new date, tostring: function() { return "jet version " + this.version + " !" } }, n.packages = a, n.root = new n((!0)), n.mark = s, i.jx = n }(this), jx()["package"](function(e) { "use strict"; var t, s, i, n, a, o, r, l, h, c, d, u, p, m; t = function(e) { return "undefined" == typeof e } , s = function(e) { return null === e } , i = function(e) { return (0 === e || e) && e.constructor === number } , a = function(e) { return (e === !1 || e) && e.constructor === boolean } , n = function(e) { return ("" === e || e) && e.constructor === string } , o = function(e) { return e && (e.constructor === object || "[object object]" === object.prototype.tostring.call(e)) } , r = function(e) { return e && (e.constructor === array || "[object array]" === object.prototype.tostring.call(e)) } , l = function(e) { return !!(e && e.callee && i(e.length)) } , h = function(e) { return e && e.constructor === function } , c = function(e) { return t(e) ? "undefined" : s(e) ? "null" : i(e) ? "number" : a(e) ? "boolean" : n(e) ? "string" : o(e) ? "object" : r(e) ? "array" : l(e) ? "arguments" : h(e) ? "function" : "other" } , u = function(e, t) { return math.floor(math.random() * (t - e + 1) + e) } , p = function(e, t, s) { var i, n, e, a, l = arguments; for (1 === l.length ? (e = this, i = 0) : (e = l[0] || {}, i = 1); i < arguments.length; i++) { a = arguments[i]; for (n in a) { var c = e[n] , d = a[n]; c !== d && (!d || !o(d) || r(d) || d.nodetype || h(d) ? void 0 !== d && (e[n] = d) : (c = e[n] || {}, e[n] = p(c, d || (null != d.length ? [] : {})))) } } return e } , d = function() {} , m = function() { var t = arguments.length , s = arguments[t - 1]; if (s.init = s.init || function() {} , 2 === t) { var i = arguments[0].extend , n = function() {}; n.prototype = i.prototype; var a = function() { this.init.apply(this, arguments) }; return a.superclass = i.prototype, a.callsuper = function(e, t) { var s = array.prototype.slice , i = s.call(arguments, 2) , n = a.superclass[t]; n && n.apply(e, i.concat(s.call(arguments))) } , a.prototype = new n, a.prototype.constructor = a, e.extend(a.prototype, s), a.prototype.init = function() { s.init.apply(this, arguments) } , a } if (1 === t) { var o = function() { return this.init.apply(this, arguments) }; return o.prototype = s, o } } , e.isundefined = t, e.isnull = s, e.isnumber = i, e.isstring = n, e.isboolean = a, e.isobject = o, e.isarray = r, e.isarguments = l, e.isfunction = h, e.$typeof = c, e.emptyfunc = d, e.random = u, e.extend = p, e.class = m }), function() { function e() { return os.apply(null, arguments) } function t(e) { os = e } function s(e) { return "[object array]" === object.prototype.tostring.call(e) } function i(e) { return e instanceof date || "[object date]" === object.prototype.tostring.call(e) } function n(e, t) { var s, i = []; for (s = 0; s < e.length; ++s) i.push(t(e[s], s)); return i } function a(e, t) { return object.prototype.hasownproperty.call(e, t) } function o(e, t) { for (var s in t) a(t, s) && (e[s] = t[s]); return a(t, "tostring") && (e.tostring = t.tostring), a(t, "valueof") && (e.valueof = t.valueof), e } function r(e, t, s, i) { return ne(e, t, s, i, !0).utc() } function l() { return { empty: !1, unusedtokens: [], unusedinput: [], overflow: -2, charsleftover: 0, nullinput: !1, invalidmonth: null, invalidformat: !1, userinvalidated: !1, iso: !1 } } function h(e) { return null == e._pf && (e._pf = l()), e._pf } function c(e) { if (null == e._isvalid) { var t = h(e); e._isvalid = !(isnan(e._d.gettime()) || !(t.overflow < 0) || t.empty || t.invalidmonth || t.invalidweekday || t.nullinput || t.invalidformat || t.userinvalidated), e._strict && (e._isvalid = e._isvalid && 0 === t.charsleftover && 0 === t.unusedtokens.length && void 0 === t.bighour) } return e._isvalid } function d(e) { var t = r(nan); return null != e ? o(h(t), e) : h(t).userinvalidated = !0, t } function u(e, t) { var s, i, n; if ("undefined" != typeof t._isamomentobject && (e._isamomentobject = t._isamomentobject), "undefined" != typeof t._i && (e._i = t._i), "undefined" != typeof t._f && (e._f = t._f), "undefined" != typeof t._l && (e._l = t._l), "undefined" != typeof t._strict && (e._strict = t._strict), "undefined" != typeof t._tzm && (e._tzm = t._tzm), "undefined" != typeof t._isutc && (e._isutc = t._isutc), "undefined" != typeof t._offset && (e._offset = t._offset), "undefined" != typeof t._pf && (e._pf = h(t)), "undefined" != typeof t._locale && (e._locale = t._locale), as.length > 0) for (s in as) i = as[s], n = t[i], "undefined" != typeof n && (e[i] = n); return e } function p(t) { u(this, t), this._d = new date(null != t._d ? t._d.gettime() : nan), ls === !1 && (ls = !0, e.updateoffset(this), ls = !1) } function m(e) { return e instanceof p || null != e && null != e._isamomentobject } function f(e) { return e < 0 ? math.ceil(e) : math.floor(e) } function g(e) { var t = +e , s = 0; return 0 !== t && isfinite(t) && (s = f(t)), s } function v(e, t, s) { var i, n = math.min(e.length, t.length), a = math.abs(e.length - t.length), o = 0; for (i = 0; i < n; i++) (s && e[i] !== t[i] || !s && g(e[i]) !== g(t[i])) && o++; return o + a } function b() {} function y(e) { return e ? e.tolowercase().replace("_", "-") : e } function k(e) { for (var t, s, i, n, a = 0; a < e.length; ) { for (n = y(e[a]).split("-"), t = n.length, s = y(e[a + 1]), s = s ? s.split("-") : null; t > 0; ) { if (i = w(n.slice(0, t).join("-"))) return i; if (s && s.length >= t && v(n, s, !0) >= t - 1) break; t-- } a++ } return null } function w(e) { var t = null; if (!ys[e] && "undefined" != typeof module && module && module.exports) try { t = es._abbr, require("./locale/" + e), x(t) } catch (s) {} return ys[e] } function x(e, t) { var s; return e && (s = "undefined" == typeof t ? _(e) : c(e, t), s && (es = s)), es._abbr } function c(e, t) { return null !== t ? (t.abbr = e, ys[e] = ys[e] || new b, ys[e].set(t), x(e), ys[e]) : (delete ys[e], null) } function _(e) { var t; if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e) return es; if (!s(e)) { if (t = w(e)) return t; e = [e] } return k(e) } function d(e, t) { var s = e.tolowercase(); hs[s] = hs[s + "s"] = hs[t] = e } function s(e) { return "string" == typeof e ? hs[e] || hs[e.tolowercase()] : void 0 } function i(e) { var t, s, i = {}; for (s in e) a(e, s) && (t = s(s), t && (i[t] = e[s])); return i } function n(t, s) { return function(i) { return null != i ? ($(this, t, i), e.updateoffset(this, s), this) : m(this, t) } } function m(e, t) { return e._d["get" + (e._isutc ? "utc" : "") + t]() } function $(e, t, s) { return e._d["set" + (e._isutc ? "utc" : "") + t](s) } function t(e, t) { var s; if ("object" == typeof e) for (s in e) this.set(s, e[s]); else if (e = s(e), "function" == typeof this[e]) return this[e](t); return this } function p(e, t, s) { var i = "" + math.abs(e) , n = t - i.length , a = e >= 0; return (a ? s ? "+" : "" : "-") + math.pow(10, math.max(0, n)).tostring().substr(1) + i } function o(e, t, s, i) { var n = i; "string" == typeof i && (n = function() { return this[i]() } ), e && (bs[e] = n), t && (bs[t[0]] = function() { return p(n.apply(this, arguments), t[1], t[2]) } ), s && (bs[s] = function() { return this.localedata().ordinal(n.apply(this, arguments), e) } ) } function e(e) { return e.match(/\[[\s\s]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "") } function a(e) { var t, s, i = e.match(vs); for (t = 0, s = i.length; t < s; t++) bs[i[t]] ? i[t] = bs[i[t]] : i[t] = e(i[t]); return function(n) { var a = ""; for (t = 0; t < s; t++) a += i[t]instanceof function ? i[t].call(n, e) : i[t]; return a } } function l(e, t) { return e.isvalid() ? (t = y(t, e.localedata()), us[t] = us[t] || a(t), us[t](e)) : e.localedata().invaliddate() } function y(e, t) { function s(e) { return t.longdateformat(e) || e } var i = 5; for (rs.lastindex = 0; i >= 0 && rs.test(e); ) e = e.replace(rs, s), rs.lastindex = 0, i -= 1; return e } function h(e) { return "function" == typeof e && "[object function]" === object.prototype.tostring.call(e) } function v(e, t, s) { ii[e] = h(t) ? t : function(e) { return e && s ? s : t } } function r(e, t) { return a(ii, e) ? ii[e](t._strict, t._locale) : new regexp(u(e)) } function u(e) { return e.replace("\\", "").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g, function(e, t, s, i, n) { return t || s || i || n }).replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&") } function b(e, t) { var s, i = t; for ("string" == typeof e && (e = [e]), "number" == typeof t && (i = function(e, s) { s[t] = g(e) } ), s = 0; s < e.length; s++) ni[e[s]] = i } function j(e, t) { b(e, function(e, s, i, n) { i._w = i._w || {}, t(e, i._w, i, n) }) } function f(e, t, s) { null != t && a(ni, e) && ni[e](t, s._a, s, e) } function w(e, t) { return new date(date.utc(e, t + 1, 0)).getutcdate() } function z(e) { return this._months[e.month()] } function g(e) { return this._monthsshort[e.month()] } function j(e, t, s) { var i, n, a; for (this._monthsparse || (this._monthsparse = [], this._longmonthsparse = [], this._shortmonthsparse = []), i = 0; i < 12; i++) { if (n = r([2e3, i]), s && !this._longmonthsparse[i] && (this._longmonthsparse[i] = new regexp("^" + this.months(n, "").replace(".", "") + "$","i"), this._shortmonthsparse[i] = new regexp("^" + this.monthsshort(n, "").replace(".", "") + "$","i")), s || this._monthsparse[i] || (a = "^" + this.months(n, "") + "|^" + this.monthsshort(n, ""), this._monthsparse[i] = new regexp(a.replace(".", ""),"i")), s && "mmmm" === t && this._longmonthsparse[i].test(e)) return i; if (s && "mmm" === t && this._shortmonthsparse[i].test(e)) return i; if (!s && this._monthsparse[i].test(e)) return i } } function q(e, t) { var s; return "string" == typeof t && (t = e.localedata().monthsparse(t), "number" != typeof t) ? e : (s = math.min(e.date(), w(e.year(), t)), e._d["set" + (e._isutc ? "utc" : "") + "month"](t, s), e) } function q(t) { return null != t ? (q(this, t), e.updateoffset(this, !0), this) : m(this, "month") } function k() { return w(this.year(), this.month()) } function x(e) { var t, s = e._a; return s && h(e).overflow === -2 && (t = s[oi] < 0 || s[oi] > 11 ? oi : s[ri] < 1 || s[ri] > w(s[ai], s[oi]) ? ri : s[li] < 0 || s[li] > 24 || 24 === s[li] && (0 !== s[hi] || 0 !== s[ci] || 0 !== s[di]) ? li : s[hi] < 0 || s[hi] > 59 ? hi : s[ci] < 0 || s[ci] > 59 ? ci : s[di] < 0 || s[di] > 999 ? di : -1, h(e)._overflowdayofyear && (t < ai || t > ri) && (t = ri), h(e).overflow = t), e } function z(t) { e.suppressdeprecationwarnings === !1 && "undefined" != typeof console && console.warn && console.warn("deprecation warning: " + t) } function ee(e, t) { var s = !0; return o(function() { return s && (z(e + "\n" + (new error).stack), s = !1), t.apply(this, arguments) }, t) } function te(e, t) { mi[e] || (z(t), mi[e] = !0) } function se(e) { var t, s, i = e._i, n = fi.exec(i); if (n) { for (h(e).iso = !0, t = 0, s = gi.length; t < s; t++) if (gi[t][1].exec(i)) { e._f = gi[t][0]; break } for (t = 0, s = vi.length; t < s; t++) if (vi[t][1].exec(i)) { e._f += (n[6] || " ") + vi[t][0]; break } i.match(ei) && (e._f += "z"), we(e) } else e._isvalid = !1 } function ie(t) { var s = bi.exec(t._i); return null !== s ? void (t._d = new date((+s[1]))) : (se(t), void (t._isvalid === !1 && (delete t._isvalid, e.createfrominputfallback(t)))) } function ne(e, t, s, i, n, a, o) { var r = new date(e,t,s,i,n,a,o); return e < 1970 && r.setfullyear(e), r } function ae(e) { var t = new date(date.utc.apply(null, arguments)); return e < 1970 && t.setutcfullyear(e), t } function oe(e) { return re(e) ? 366 : 365 } function re(e) { return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0 } function le() { return re(this.year()) } function he(e, t, s) { var i, n = s - t, a = s - e.day(); return a > n && (a -= 7), a < n - 7 && (a += 7), i = me(e).add(a, "d"), { week: math.ceil(i.dayofyear() / 7), year: i.year() } } function ce(e) { return he(e, this._week.dow, this._week.doy).week } function de() { return this._week.dow } function ue() { return this._week.doy } function pe(e) { var t = this.localedata().week(this); return null == e ? t : this.add(7 * (e - t), "d") } function me(e) { var t = he(this, 1, 4).week; return null == e ? t : this.add(7 * (e - t), "d") } function fe(e, t, s, i, n) { var a, o = 6 + n - i, r = ae(e, 0, 1 + o), l = r.getutcday(); return l < n && (l += 7), s = null != s ? 1 * s : n, a = 1 + o + 7 * (t - 1) - l + s, { year: a > 0 ? e : e - 1, dayofyear: a > 0 ? a : oe(e - 1) + a } } function ge(e) { var t = math.round((this.clone().startof("day") - this.clone().startof("year")) / 864e5) + 1; return null == e ? t : this.add(e - t, "d") } function ve(e, t, s) { return null != e ? e : null != t ? t : s } function be(e) { var t = new date; return e._useutc ? [t.getutcfullyear(), t.getutcmonth(), t.getutcdate()] : [t.getfullyear(), t.getmonth(), t.getdate()] } function ye(e) { var t, s, i, n, a = []; if (!e._d) { for (i = be(e), e._w && null == e._a[ri] && null == e._a[oi] && ke(e), e._dayofyear && (n = ve(e._a[ai], i[ai]), e._dayofyear > oe(n) && (h(e)._overflowdayofyear = !0), s = ae(n, 0, e._dayofyear), e._a[oi] = s.getutcmonth(), e._a[ri] = s.getutcdate()), t = 0; t < 3 && null == e._a[t]; ++t) e._a[t] = a[t] = i[t]; for (; t < 7; t++) e._a[t] = a[t] = null == e._a[t] ? 2 === t ? 1 : 0 : e._a[t]; 24 === e._a[li] && 0 === e._a[hi] && 0 === e._a[ci] && 0 === e._a[di] && (e._nextday = !0, e._a[li] = 0), e._d = (e._useutc ? ae : ne).apply(null, a), null != e._tzm && e._d.setutcminutes(e._d.getutcminutes() - e._tzm), e._nextday && (e._a[li] = 24) } } function ke(e) { var t, s, i, n, a, o, r; t = e._w, null != t.gg || null != t.w || null != t.e ? (a = 1, o = 4, s = ve(t.gg, e._a[ai], he(me(), 1, 4).year), i = ve(t.w, 1), n = ve(t.e, 1)) : (a = e._locale._week.dow, o = e._locale._week.doy, s = ve(t.gg, e._a[ai], he(me(), a, o).year), i = ve(t.w, 1), null != t.d ? (n = t.d, n < a && ++i) : n = null != t.e ? t.e + a : a), r = fe(s, i, n, o, a), e._a[ai] = r.year, e._dayofyear = r.dayofyear } function we(t) { if (t._f === e.iso_8601) return void se(t); t._a = [], h(t).empty = !0; var s, i, n, a, o, r = "" + t._i, l = r.length, c = 0; for (n = y(t._f, t._locale).match(vs) || [], s = 0; s < n.length; s++) a = n[s], i = (r.match(r(a, t)) || [])[0], i && (o = r.substr(0, r.indexof(i)), o.length > 0 && h(t).unusedinput.push(o), r = r.slice(r.indexof(i) + i.length), c += i.length), bs[a] ? (i ? h(t).empty = !1 : h(t).unusedtokens.push(a), f(a, i, t)) : t._strict && !i && h(t).unusedtokens.push(a); h(t).charsleftover = l - c, r.length > 0 && h(t).unusedinput.push(r), h(t).bighour === !0 && t._a[li] <= 12 && t._a[li] > 0 && (h(t).bighour = void 0), t._a[li] = xe(t._locale, t._a[li], t._meridiem), ye(t), x(t) } function xe(e, t, s) { var i; return null == s ? t : null != e.meridiemhour ? e.meridiemhour(t, s) : null != e.ispm ? (i = e.ispm(s), i && t < 12 && (t += 12), i || 12 !== t || (t = 0), t) : t } function ce(e) { var t, s, i, n, a; if (0 === e._f.length) return h(e).invalidformat = !0, void (e._d = new date(nan)); for (n = 0; n < e._f.length; n++) a = 0, t = u({}, e), null != e._useutc && (t._useutc = e._useutc), t._f = e._f[n], we(t), c(t) && (a += h(t).charsleftover, a += 10 * h(t).unusedtokens.length, h(t).score = a, (null == i || a < i) && (i = a, s = t)); o(e, s || t) } function _e(e) { if (!e._d) { var t = i(e._i); e._a = [t.year, t.month, t.day || t.date, t.hour, t.minute, t.second, t.millisecond], ye(e) } } function de(e) { var t = new p(x(se(e))); return t._nextday && (t.add(1, "d"), t._nextday = void 0), t } function se(e) { var t = e._i , n = e._f; return e._locale = e._locale || _(e._l), null === t || void 0 === n && "" === t ? d({ nullinput: !0 }) : ("string" == typeof t && (e._i = t = e._locale.preparse(t)), m(t) ? new p(x(t)) : (s(n) ? ce(e) : n ? we(e) : i(t) ? e._d = t : ie(e), e)) } function ie(t) { var a = t._i; void 0 === a ? t._d = new date : i(a) ? t._d = new date((+a)) : "string" == typeof a ? ie(t) : s(a) ? (t._a = n(a.slice(0), function(e) { return parseint(e, 10) }), ye(t)) : "object" == typeof a ? _e(t) : "number" == typeof a ? t._d = new date(a) : e.createfrominputfallback(t) } function ne(e, t, s, i, n) { var a = {}; return "boolean" == typeof s && (i = s, s = void 0), a._isamomentobject = !0, a._useutc = a._isutc = n, a._l = s, a._i = e, a._f = t, a._strict = i, de(a) } function me(e, t, s, i) { return ne(e, t, s, i, !1) } function $e(e, t) { var i, n; if (1 === t.length && s(t[0]) && (t = t[0]), !t.length) return me(); for (i = t[0], n = 1; n < t.length; ++n) t[n].isvalid() && !t[n][e](i) || (i = t[n]); return i } function te() { var e = [].slice.call(arguments, 0); return $e("isbefore", e) } function pe() { var e = [].slice.call(arguments, 0); return $e("isafter", e) } function oe(e) { var t = i(e) , s = t.year || 0 , i = t.quarter || 0 , n = t.month || 0 , a = t.week || 0 , o = t.day || 0 , r = t.hour || 0 , l = t.minute || 0 , h = t.second || 0 , c = t.millisecond || 0; this._milliseconds = +c + 1e3 * h + 6e4 * l + 36e5 * r, this._days = +o + 7 * a, this._months = +n + 3 * i + 12 * s, this._data = {}, this._locale = _(), this._bubble() } function ee(e) { return e instanceof oe } function ae(e, t) { o(e, 0, 0, function() { var e = this.utcoffset() , s = "+"; return e < 0 && (e = -e, s = "-"), s + p(~~(e / 60), 2) + t + p(~~e % 60, 2) }) } function le(e) { var t = (e || "").match(ei) || [] , s = t[t.length - 1] || [] , i = (s + "").match(ci) || ["-", 0, 0] , n = +(60 * i[1]) + g(i[2]); return "+" === i[0] ? n : -n } function ye(t, s) { var n, a; return s._isutc ? (n = s.clone(), a = (m(t) || i(t) ? +t : +me(t)) - +n, n._d.settime(+n._d + a), e.updateoffset(n, !1), n) : me(t).local() } function he(e) { return 15 * -math.round(e._d.gettimezoneoffset() / 15) } function ve(t, s) { var i, n = this._offset || 0; return null != t ? ("string" == typeof t && (t = le(t)), math.abs(t) < 16 && (t = 60 * t), !this._isutc && s && (i = he(this)), this._offset = t, this._isutc = !0, null != i && this.add(i, "m"), n !== t && (!s || this._changeinprogress ? tt(this, qe(t - n, "m"), 1, !1) : this._changeinprogress || (this._changeinprogress = !0, e.updateoffset(this, !0), this._changeinprogress = null)), this) : this._isutc ? n : he(this) } function re(e, t) { return null != e ? ("string" != typeof e && (e = -e), this.utcoffset(e, t), this) : -this.utcoffset() } function ue(e) { return this.utcoffset(0, e) } function be(e) { return this._isutc && (this.utcoffset(0, e), this._isutc = !1, e && this.subtract(he(this), "m")), this } function je() { return this._tzm ? this.utcoffset(this._tzm) : "string" == typeof this._i && this.utcoffset(le(this._i)), this } function fe(e) { return e = e ? me(e).utcoffset() : 0, (this.utcoffset() - e) % 60 === 0 } function we() { return this.utcoffset() > this.clone().month(0).utcoffset() || this.utcoffset() > this.clone().month(5).utcoffset() } function ze() { if ("undefined" != typeof this._isdstshifted) return this._isdstshifted; var e = {}; if (u(e, this), e = se(e), e._a) { var t = e._isutc ? r(e._a) : me(e._a); this._isdstshifted = this.isvalid() && v(e._a, t.toarray()) > 0 } else this._isdstshifted = !1; return this._isdstshifted } function ge() { return !this._isutc } function je() { return this._isutc } function qe() { return this._isutc && 0 === this._offset } function qe(e, t) { var s, i, n, o = e, r = null; return ee(e) ? o = { ms: e._milliseconds, d: e._days, m: e._months } : "number" == typeof e ? (o = {}, t ? o[t] = e : o.milliseconds = e) : (r = _i.exec(e)) ? (s = "-" === r[1] ? -1 : 1, o = { y: 0, d: g(r[ri]) * s, h: g(r[li]) * s, m: g(r[hi]) * s, s: g(r[ci]) * s, ms: g(r[di]) * s }) : (r = di.exec(e)) ? (s = "-" === r[1] ? -1 : 1, o = { y: ke(r[2], s), m: ke(r[3], s), d: ke(r[4], s), h: ke(r[5], s), m: ke(r[6], s), s: ke(r[7], s), w: ke(r[8], s) }) : null == o ? o = {} : "object" == typeof o && ("from"in o || "to"in o) && (n = ze(me(o.from), me(o.to)), o = {}, o.ms = n.milliseconds, o.m = n.months), i = new oe(o), ee(e) && a(e, "_locale") && (i._locale = e._locale), i } function ke(e, t) { var s = e && parsefloat(e.replace(",", ".")); return (isnan(s) ? 0 : s) * t } function xe(e, t) { var s = { milliseconds: 0, months: 0 }; return s.months = t.month() - e.month() + 12 * (t.year() - e.year()), e.clone().add(s.months, "m").isafter(t) && --s.months, s.milliseconds = +t - +e.clone().add(s.months, "m"), s } function ze(e, t) { var s; return t = ye(t, e), e.isbefore(t) ? s = xe(e, t) : (s = xe(t, e), s.milliseconds = -s.milliseconds, s.months = -s.months), s } function et(e, t) { return function(s, i) { var n, a; return null === i || isnan(+i) || (te(t, "moment()." + t + "(period, number) is deprecated. please use moment()." + t + "(number, period)."), a = s, s = i, i = a), s = "string" == typeof s ? +s : s, n = qe(s, i), tt(this, n, e), this } } function tt(t, s, i, n) { var a = s._milliseconds , o = s._days , r = s._months; n = null == n || n, a && t._d.settime(+t._d + a * i), o && $(t, "date", m(t, "date") + o * i), r && q(t, m(t, "month") + r * i), n && e.updateoffset(t, o || r) } function st(e, t) { var s = e || me() , i = ye(s, this).startof("day") , n = this.diff(i, "days", !0) , a = n < -6 ? "sameelse" : n < -1 ? "lastweek" : n < 0 ? "lastday" : n < 1 ? "sameday" : n < 2 ? "nextday" : n < 7 ? "nextweek" : "sameelse"; return this.format(t && t[a] || this.localedata().calendar(a, this, me(s))) } function it() { return new p(this) } function nt(e, t) { var s; return t = s("undefined" != typeof t ? t : "millisecond"), "millisecond" === t ? (e = m(e) ? e : me(e), +this > +e) : (s = m(e) ? +e : +me(e), s < +this.clone().startof(t)) } function at(e, t) { var s; return t = s("undefined" != typeof t ? t : "millisecond"), "millisecond" === t ? (e = m(e) ? e : me(e), +this < +e) : (s = m(e) ? +e : +me(e), +this.clone().endof(t) < s) } function ot(e, t, s) { return this.isafter(e, s) && this.isbefore(t, s) } function rt(e, t) { var s; return t = s(t || "millisecond"), "millisecond" === t ? (e = m(e) ? e : me(e), +this === +e) : (s = +me(e), +this.clone().startof(t) <= s && s <= +this.clone().endof(t)) } function lt(e, t, s) { var i, n, a = ye(e, this), o = 6e4 * (a.utcoffset() - this.utcoffset()); return t = s(t), "year" === t || "month" === t || "quarter" === t ? (n = ht(this, a), "quarter" === t ? n /= 3 : "year" === t && (n /= 12)) : (i = this - a, n = "second" === t ? i / 1e3 : "minute" === t ? i / 6e4 : "hour" === t ? i / 36e5 : "day" === t ? (i - o) / 864e5 : "week" === t ? (i - o) / 6048e5 : i), s ? n : f(n) } function ht(e, t) { var s, i, n = 12 * (t.year() - e.year()) + (t.month() - e.month()), a = e.clone().add(n, "months"); return t - a < 0 ? (s = e.clone().add(n - 1, "months"), i = (t - a) / (a - s)) : (s = e.clone().add(n + 1, "months"), i = (t - a) / (s - a)), -(n + i) } function ct() { return this.clone().locale("en").format("ddd mmm dd yyyy hh:mm:ss [gmt]zz") } function dt() { var e = this.clone().utc(); return 0 < e.year() && e.year() <= 9999 ? "function" == typeof date.prototype.toisostring ? this.todate().toisostring() : l(e, "yyyy-mm-dd[t]hh:mm:ss.sss[z]") : l(e, "yyyyyy-mm-dd[t]hh:mm:ss.sss[z]") } function ut(t) { var s = l(this, t || e.defaultformat); return this.localedata().postformat(s) } function pt(e, t) { return this.isvalid() ? qe({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localedata().invaliddate() } function mt(e) { return this.from(me(), e) } function ft(e, t) { return this.isvalid() ? qe({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localedata().invaliddate() } function gt(e) { return this.to(me(), e) } function vt(e) { var t; return void 0 === e ? this._locale._abbr : (t = _(e), null != t && (this._locale = t), this) } function bt() { return this._locale } function yt(e) { switch (e = s(e)) { case "year": this.month(0); case "quarter": case "month": this.date(1); case "week": case "isoweek": case "day": this.hours(0); case "hour": this.minutes(0); case "minute": this.seconds(0); case "second": this.milliseconds(0) } return "week" === e && this.weekday(0), "isoweek" === e && this.isoweekday(1), "quarter" === e && this.month(3 * math.floor(this.month() / 3)), this } function kt(e) { return e = s(e), void 0 === e || "millisecond" === e ? this : this.startof(e).add(1, "isoweek" === e ? "week" : e).subtract(1, "ms") } function wt() { return +this._d - 6e4 * (this._offset || 0) } function xt() { return math.floor(+this / 1e3) } function ct() { return this._offset ? new date((+this)) : this._d } function _t() { var e = this; return [e.year(), e.month(), e.date(), e.hour(), e.minute(), e.second(), e.millisecond()] } function dt() { var e = this; return { years: e.year(), months: e.month(), date: e.date(), hours: e.hours(), minutes: e.minutes(), seconds: e.seconds(), milliseconds: e.milliseconds() } } function st() { return c(this) } function it() { return o({}, h(this)) } function nt() { return h(this).overflow } function mt(e, t) { o(0, [e, e.length], 0, t) } function $t(e, t, s) { return he(me([e, 11, 31 + t - s]), t, s).week } function tt(e) { var t = he(this, this.localedata()._week.dow, this.localedata()._week.doy).year; return null == e ? t : this.add(e - t, "y") } function pt(e) { var t = he(this, 1, 4).year; return null == e ? t : this.add(e - t, "y") } function ot() { return $t(this.year(), 1, 4) } function et() { var e = this.localedata()._week; return $t(this.year(), e.dow, e.doy) } function at(e) { return null == e ? math.ceil((this.month() + 1) / 3) : this.month(3 * (e - 1) + this.month() % 3) } function lt(e, t) { return "string" != typeof e ? e : isnan(e) ? (e = t.weekdaysparse(e), "number" == typeof e ? e : null) : parseint(e, 10) } function yt(e) { return this._weekdays[e.day()] } function ht(e) { return this._weekdaysshort[e.day()] } function vt(e) { return this._weekdaysmin[e.day()] } function rt(e) { var t, s, i; for (this._weekdaysparse = this._weekdaysparse || [], t = 0; t < 7; t++) if (this._weekdaysparse[t] || (s = me([2e3, 1]).day(t), i = "^" + this.weekdays(s, "") + "|^" + this.weekdaysshort(s, "") + "|^" + this.weekdaysmin(s, ""), this._weekdaysparse[t] = new regexp(i.replace(".", ""),"i")), this._weekdaysparse[t].test(e)) return t } function ut(e) { var t = this._isutc ? this._d.getutcday() : this._d.getday(); return null != e ? (e = lt(e, this.localedata()), this.add(e - t, "d")) : t } function bt(e) { var t = (this.day() + 7 - this.localedata()._week.dow) % 7; return null == e ? t : this.add(e - t, "d") } function jt(e) { return null == e ? this.day() || 7 : this.day(this.day() % 7 ? e : e - 7) } function ft(e, t) { o(e, 0, 0, function() { return this.localedata().meridiem(this.hours(), this.minutes(), t) }) } function wt(e, t) { return t._meridiemparse } function zt(e) { return "p" === (e + "").tolowercase().charat(0) } function gt(e, t, s) { return e > 11 ? s ? "pm" : "pm" : s ? "am" : "am" } function jt(e, t) { t[di] = g(1e3 * ("0." + e)) } function qt() { return this._isutc ? "utc" : "" } function qt() { return this._isutc ? "coordinated universal time" : "" } function kt(e) { return me(1e3 * e) } function xt() { return me.apply(null, arguments).parsezone() } function zt(e, t, s) { var i = this._calendar[e]; return "function" == typeof i ? i.call(t, s) : i } function es(e) { var t = this._longdateformat[e] , s = this._longdateformat[e.touppercase()]; return t || !s ? t : (this._longdateformat[e] = s.replace(/mmmm|mm|dd|dddd/g, function(e) { return e.slice(1) }), this._longdateformat[e]) } function ts() { return this._invaliddate } function ss(e) { return this._ordinal.replace("%d", e) } function is(e) { return e } function ns(e, t, s, i) { var n = this._relativetime[s]; return "function" == typeof n ? n(e, t, s, i) : n.replace(/%d/i, e) } function as(e, t) { var s = this._relativetime[e > 0 ? "future" : "past"]; return "function" == typeof s ? s(t) : s.replace(/%s/i, t) } function os(e) { var t, s; for (s in e) t = e[s], "function" == typeof t ? this[s] = t : this["_" + s] = t; this._ordinalparselenient = new regexp(this._ordinalparse.source + "|" + /\d{1,2}/.source) } function rs(e, t, s, i) { var n = _() , a = r().set(i, t); return n[s](a, e) } function ls(e, t, s, i, n) { if ("number" == typeof e && (t = e, e = void 0), e = e || "", null != t) return rs(e, t, s, n); var a, o = []; for (a = 0; a < i; a++) o[a] = rs(e, a, s, n); return o } function hs(e, t) { return ls(e, t, "months", 12, "month") } function cs(e, t) { return ls(e, t, "monthsshort", 12, "month") } function ds(e, t) { return ls(e, t, "weekdays", 7, "day") } function us(e, t) { return ls(e, t, "weekdaysshort", 7, "day") } function ps(e, t) { return ls(e, t, "weekdaysmin", 7, "day") } function ms() { var e = this._data; return this._milliseconds = ji(this._milliseconds), this._days = ji(this._days), this._months = ji(this._months), e.milliseconds = ji(e.milliseconds), e.seconds = ji(e.seconds), e.minutes = ji(e.minutes), e.hours = ji(e.hours), e.months = ji(e.months), e.years = ji(e.years), this } function fs(e, t, s, i) { var n = qe(t, s); return e._milliseconds += i * n._milliseconds, e._days += i * n._days, e._months += i * n._months, e._bubble() } function gs(e, t) { return fs(this, e, t, 1) } function vs(e, t) { return fs(this, e, t, -1) } function bs(e) { return e < 0 ? math.floor(e) : math.ceil(e) } function ys() { var e, t, s, i, n, a = this._milliseconds, o = this._days, r = this._months, l = this._data; return a >= 0 && o >= 0 && r >= 0 || a <= 0 && o <= 0 && r <= 0 || (a += 864e5 * bs(ws(r) + o), o = 0, r = 0), l.milliseconds = a % 1e3, e = f(a / 1e3), l.seconds = e % 60, t = f(e / 60), l.minutes = t % 60, s = f(t / 60), l.hours = s % 24, o += f(s / 24), n = f(ks(o)), r += n, o -= bs(ws(n)), i = f(r / 12), r %= 12, l.days = o, l.months = r, l.years = i, this } function ks(e) { return 4800 * e / 146097 } function ws(e) { return 146097 * e / 4800 } function xs(e) { var t, s, i = this._milliseconds; if (e = s(e), "month" === e || "year" === e) return t = this._days + i / 864e5, s = this._months + ks(t), "month" === e ? s : s / 12; switch (t = this._days + math.round(ws(this._months)), e) { case "week": return t / 7 + i / 6048e5; case "day": return t + i / 864e5; case "hour": return 24 * t + i / 36e5; case "minute": return 1440 * t + i / 6e4; case "second": return 86400 * t + i / 1e3; case "millisecond": return math.floor(864e5 * t) + i; default: throw new error("unknown unit " + e) } } function cs() { return this._milliseconds + 864e5 * this._days + this._months % 12 * 2592e6 + 31536e6 * g(this._months / 12) } function _s(e) { return function() { return this.as(e) } } function ds(e) { return e = s(e), this[e + "s"]() } function ss(e) { return function() { return this._data[e] } } function is() { return f(this.days() / 7) } function ns(e, t, s, i, n) { return n.relativetime(t || 1, !!s, e, i) } function ms(e, t, s) { var i = qe(e).abs() , n = dn(i.as("s")) , a = dn(i.as("m")) , o = dn(i.as("h")) , r = dn(i.as("d")) , l = dn(i.as("m")) , h = dn(i.as("y")) , c = n < un.s && ["s", n] || 1 === a && ["m"] || a < un.m && ["mm", a] || 1 === o && ["h"] || o < un.h && ["hh", o] || 1 === r && ["d"] || r < un.d && ["dd", r] || 1 === l && ["m"] || l < un.m && ["mm", l] || 1 === h && ["y"] || ["yy", h]; return c[2] = t, c[3] = +e > 0, c[4] = s, ns.apply(null, c) } function $s(e, t) { return void 0 !== un[e] && (void 0 === t ? un[e] : (un[e] = t, !0)) } function ts(e) { var t = this.localedata() , s = ms(this, !e, t); return e && (s = t.pastfuture(+this, s)), t.postformat(s) } function ps() { var e, t, s, i = pn(this._milliseconds) / 1e3, n = pn(this._days), a = pn(this._months); e = f(i / 60), t = f(e / 60), i %= 60, e %= 60, s = f(a / 12), a %= 12; var o = s , r = a , l = n , h = t , c = e , d = i , u = this.asseconds(); return u ? (u < 0 ? "-" : "") + "p" + (o ? o + "y" : "") + (r ? r + "m" : "") + (l ? l + "d" : "") + (h || c || d ? "t" : "") + (h ? h + "h" : "") + (c ? c + "m" : "") + (d ? d + "s" : "") : "p0d" } var os, es, as = e.momentproperties = [], ls = !1, ys = {}, hs = {}, vs = /(\[[^\[]*\])|(\\)?(mo|mm?m?m?|do|dddo|dd?d?d?|ddd?d?|do?|w[o|w]?|w[o|w]?|q|yyyyyy|yyyyy|yyyy|yy|gg(ggg?)?|gg(ggg?)?|e|e|a|a|hh?|hh?|mm?|ss?|s{1,9}|x|x|zz?|zz?|.)/g, rs = /(\[[^\[]*\])|(\\)?(lts|lt|ll?l?l?|l{1,4})/g, us = {}, bs = {}, js = /\d/, fs = /\d\d/, ws = /\d{3}/, zs = /\d{4}/, gs = /[+-]?\d{6}/, js = /\d\d?/, qs = /\d{1,3}/, qs = /\d{1,4}/, ks = /[+-]?\d{1,6}/, xs = /\d+/, zs = /[+-]?\d+/, ei = /z|[+-]\d\d:?\d\d/gi, ti = /[+-]?\d+(\.\d{1,3})?/, si = /[0-9]*['a-z\u00a0-\u05ff\u0700-\ud7ff\uf900-\ufdcf\ufdf0-\uffef]+|[\u0600-\u06ff\/]+(\s*?[\u0600-\u06ff]+){1,2}/i, ii = {}, ni = {}, ai = 0, oi = 1, ri = 2, li = 3, hi = 4, ci = 5, di = 6; o("m", ["mm", 2], "mo", function() { return this.month() + 1 }), o("mmm", 0, 0, function(e) { return this.localedata().monthsshort(this, e) }), o("mmmm", 0, 0, function(e) { return this.localedata().months(this, e) }), d("month", "m"), v("m", js), v("mm", js, fs), v("mmm", si), v("mmmm", si), b(["m", "mm"], function(e, t) { t[oi] = g(e) - 1 }), b(["mmm", "mmmm"], function(e, t, s, i) { var n = s._locale.monthsparse(e, i, s._strict); null != n ? t[oi] = n : h(s).invalidmonth = e }); var ui = "january_february_march_april_may_june_july_august_september_october_november_december".split("_") , pi = "jan_feb_mar_apr_may_jun_jul_aug_sep_oct_nov_dec".split("_") , mi = {}; e.suppressdeprecationwarnings = !1; var fi = /^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(w\d\d$)|(w\d\d-\d)|(\d\d\d))((t| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*z)?)?$/ , gi = [["yyyyyy-mm-dd", /[+-]\d{6}-\d{2}-\d{2}/], ["yyyy-mm-dd", /\d{4}-\d{2}-\d{2}/], ["gggg-[w]ww-e", /\d{4}-w\d{2}-\d/], ["gggg-[w]ww", /\d{4}-w\d{2}/], ["yyyy-ddd", /\d{4}-\d{3}/]] , vi = [["hh:mm:ss.ssss", /(t| )\d\d:\d\d:\d\d\.\d+/], ["hh:mm:ss", /(t| )\d\d:\d\d:\d\d/], ["hh:mm", /(t| )\d\d:\d\d/], ["hh", /(t| )\d\d/]] , bi = /^\/?date\((\-?\d+)/i; e.createfrominputfallback = ee("moment construction falls back to js date. this is discouraged and will be removed in upcoming major release. please refer to https://github.com/moment/moment/issues/1407 for more info.", function(e) { e._d = new date(e._i + (e._useutc ? " utc" : "")) }), o(0, ["yy", 2], 0, function() { return this.year() % 100 }), o(0, ["yyyy", 4], 0, "year"), o(0, ["yyyyy", 5], 0, "year"), o(0, ["yyyyyy", 6, !0], 0, "year"), d("year", "y"), v("y", zs), v("yy", js, fs), v("yyyy", qs, zs), v("yyyyy", ks, gs), v("yyyyyy", ks, gs), b(["yyyyy", "yyyyyy"], ai), b("yyyy", function(t, s) { s[ai] = 2 === t.length ? e.parsetwodigityear(t) : g(t) }), b("yy", function(t, s) { s[ai] = e.parsetwodigityear(t) }), e.parsetwodigityear = function(e) { return g(e) + (g(e) > 68 ? 1900 : 2e3) } ; var yi = n("fullyear", !1); o("w", ["ww", 2], "wo", "week"), o("w", ["ww", 2], "wo", "isoweek"), d("week", "w"), d("isoweek", "w"), v("w", js), v("ww", js, fs), v("w", js), v("ww", js, fs), j(["w", "ww", "w", "ww"], function(e, t, s, i) { t[i.substr(0, 1)] = g(e) }); var ki = { dow: 0, doy: 6 }; o("ddd", ["dddd", 3], "dddo", "dayofyear"), d("dayofyear", "ddd"), v("ddd", qs), v("dddd", ws), b(["ddd", "dddd"], function(e, t, s) { s._dayofyear = g(e) }), e.iso_8601 = function() {} ; var wi = ee("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548", function() { var e = me.apply(null, arguments); return e < this ? this : e }) , xi = ee("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548", function() { var e = me.apply(null, arguments); return e > this ? this : e }); ae("z", ":"), ae("zz", ""), v("z", ei), v("zz", ei), b(["z", "zz"], function(e, t, s) { s._useutc = !0, s._tzm = le(e) }); var ci = /([\+\-]|\d\d)/gi; e.updateoffset = function() {} ; var _i = /(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/ , di = /^(-)?p(?:(?:([0-9,.]*)y)?(?:([0-9,.]*)m)?(?:([0-9,.]*)d)?(?:t(?:([0-9,.]*)h)?(?:([0-9,.]*)m)?(?:([0-9,.]*)s)?)?|([0-9,.]*)w)$/; qe.fn = oe.prototype; var si = et(1, "add") , ii = et(-1, "subtract"); e.defaultformat = "yyyy-mm-ddthh:mm:ssz"; var ni = ee("moment().lang() is deprecated. instead, use moment().localedata() to get the language configuration. use moment().locale() to change languages.", function(e) { return void 0 === e ? this.localedata() : this.locale(e) }); o(0, ["gg", 2], 0, function() { return this.weekyear() % 100 }), o(0, ["gg", 2], 0, function() { return this.isoweekyear() % 100 }), mt("gggg", "weekyear"), mt("ggggg", "weekyear"), mt("gggg", "isoweekyear"), mt("ggggg", "isoweekyear"), d("weekyear", "gg"), d("isoweekyear", "gg"), v("g", zs), v("g", zs), v("gg", js, fs), v("gg", js, fs), v("gggg", qs, zs), v("gggg", qs, zs), v("ggggg", ks, gs), v("ggggg", ks, gs), j(["gggg", "ggggg", "gggg", "ggggg"], function(e, t, s, i) { t[i.substr(0, 2)] = g(e) }), j(["gg", "gg"], function(t, s, i, n) { s[n] = e.parsetwodigityear(t) }), o("q", 0, 0, "quarter"), d("quarter", "q"), v("q", js), b("q", function(e, t) { t[oi] = 3 * (g(e) - 1) }), o("d", ["dd", 2], "do", "date"), d("date", "d"), v("d", js), v("dd", js, fs), v("do", function(e, t) { return e ? t._ordinalparse : t._ordinalparselenient }), b(["d", "dd"], ri), b("do", function(e, t) { t[ri] = g(e.match(js)[0], 10) }); var mi = n("date", !0); o("d", 0, "do", "day"), o("dd", 0, 0, function(e) { return this.localedata().weekdaysmin(this, e) }), o("ddd", 0, 0, function(e) { return this.localedata().weekdaysshort(this, e) }), o("dddd", 0, 0, function(e) { return this.localedata().weekdays(this, e) }), o("e", 0, 0, "weekday"), o("e", 0, 0, "isoweekday"), d("day", "d"), d("weekday", "e"), d("isoweekday", "e"), v("d", js), v("e", js), v("e", js), v("dd", si), v("ddd", si), v("dddd", si), j(["dd", "ddd", "dddd"], function(e, t, s) { var i = s._locale.weekdaysparse(e); null != i ? t.d = i : h(s).invalidweekday = e }), j(["d", "e", "e"], function(e, t, s, i) { t[i] = g(e) }); var $i = "sunday_monday_tuesday_wednesday_thursday_friday_saturday".split("_") , ti = "sun_mon_tue_wed_thu_fri_sat".split("_") , pi = "su_mo_tu_we_th_fr_sa".split("_"); o("h", ["hh", 2], 0, "hour"), o("h", ["hh", 2], 0, function() { return this.hours() % 12 || 12 }), ft("a", !0), ft("a", !1), d("hour", "h"), v("a", wt), v("a", wt), v("h", js), v("h", js), v("hh", js, fs), v("hh", js, fs), b(["h", "hh"], li), b(["a", "a"], function(e, t, s) { s._ispm = s._locale.ispm(e), s._meridiem = e }), b(["h", "hh"], function(e, t, s) { t[li] = g(e), h(s).bighour = !0 }); var oi = /[ap]\.?m?\.?/i , ei = n("hours", !0); o("m", ["mm", 2], 0, "minute"), d("minute", "m"), v("m", js), v("mm", js, fs), b(["m", "mm"], hi); var ai = n("minutes", !1); o("s", ["ss", 2], 0, "second"), d("second", "s"), v("s", js), v("ss", js, fs), b(["s", "ss"], ci); var li = n("seconds", !1); o("s", 0, 0, function() { return ~~(this.millisecond() / 100) }), o(0, ["ss", 2], 0, function() { return ~~(this.millisecond() / 10) }), o(0, ["sss", 3], 0, "millisecond"), o(0, ["ssss", 4], 0, function() { return 10 * this.millisecond() }), o(0, ["sssss", 5], 0, function() { return 100 * this.millisecond() }), o(0, ["ssssss", 6], 0, function() { return 1e3 * this.millisecond() }), o(0, ["sssssss", 7], 0, function() { return 1e4 * this.millisecond() }), o(0, ["ssssssss", 8], 0, function() { return 1e5 * this.millisecond() }), o(0, ["sssssssss", 9], 0, function() { return 1e6 * this.millisecond() }), d("millisecond", "ms"), v("s", qs, js), v("ss", qs, fs), v("sss", qs, ws); var yi; for (yi = "ssss"; yi.length <= 9; yi += "s") v(yi, xs); for (yi = "s"; yi.length <= 9; yi += "s") b(yi, jt); var hi = n("milliseconds", !1); o("z", 0, 0, "zoneabbr"), o("zz", 0, 0, "zonename"); var vi = p.prototype; vi.add = si, vi.calendar = st, vi.clone = it, vi.diff = lt, vi.endof = kt, vi.format = ut, vi.from = pt, vi.fromnow = mt, vi.to = ft, vi.tonow = gt, vi.get = t, vi.invalidat = nt, vi.isafter = nt, vi.isbefore = at, vi.isbetween = ot, vi.issame = rt, vi.isvalid = st, vi.lang = ni, vi.locale = vt, vi.localedata = bt, vi.max = xi, vi.min = wi, vi.parsingflags = it, vi.set = t, vi.startof = yt, vi.subtract = ii, vi.toarray = _t, vi.toobject = dt, vi.todate = ct, vi.toisostring = dt, vi.tojson = dt, vi.tostring = ct, vi.unix = xt, vi.valueof = wt, vi.year = yi, vi.isleapyear = le, vi.weekyear = tt, vi.isoweekyear = pt, vi.quarter = vi.quarters = at, vi.month = q, vi.daysinmonth = k, vi.week = vi.weeks = pe, vi.isoweek = vi.isoweeks = me, vi.weeksinyear = et, vi.isoweeksinyear = ot, vi.date = mi, vi.day = vi.days = ut, vi.weekday = bt, vi.isoweekday = jt, vi.dayofyear = ge, vi.hour = vi.hours = ei, vi.minute = vi.minutes = ai, vi.second = vi.seconds = li, vi.millisecond = vi.milliseconds = hi, vi.utcoffset = ve, vi.utc = ue, vi.local = be, vi.parsezone = je, vi.hasalignedhouroffset = fe, vi.isdst = we, vi.isdstshifted = ze, vi.islocal = ge, vi.isutcoffset = je, vi.isutc = qe, vi.isutc = qe, vi.zoneabbr = qt, vi.zonename = qt, vi.dates = ee("dates accessor is deprecated. use date instead.", mi), vi.months = ee("months accessor is deprecated. use month instead", q), vi.years = ee("years accessor is deprecated. use year instead", yi), vi.zone = ee("moment().zone is deprecated, use moment().utcoffset instead. https://github.com/moment/moment/issues/1779", re); var ri = vi , ui = { sameday: "[today at] lt", nextday: "[tomorrow at] lt", nextweek: "dddd [at] lt", lastday: "[yesterday at] lt", lastweek: "[last] dddd [at] lt", sameelse: "l" } , bi = { lts: "h:mm:ss a", lt: "h:mm a", l: "mm/dd/yyyy", ll: "mmmm d, yyyy", lll: "mmmm d, yyyy h:mm a", llll: "dddd, mmmm d, yyyy h:mm a" } , ji = "invalid date" , fi = "%d" , wi = /\d{1,2}/ , zi = { future: "in %s", past: "%s ago", s: "a few seconds", m: "a minute", mm: "%d minutes", h: "an hour", hh: "%d hours", d: "a day", dd: "%d days", m: "a month", mm: "%d months", y: "a year", yy: "%d years" } , gi = b.prototype; gi._calendar = ui, gi.calendar = zt, gi._longdateformat = bi, gi.longdateformat = es, gi._invaliddate = ji, gi.invaliddate = ts, gi._ordinal = fi, gi.ordinal = ss, gi._ordinalparse = wi, gi.preparse = is, gi.postformat = is, gi._relativetime = zi, gi.relativetime = ns, gi.pastfuture = as, gi.set = os, gi.months = z, gi._months = ui, gi.monthsshort = g, gi._monthsshort = pi, gi.monthsparse = j, gi.week = ce, gi._week = ki, gi.firstdayofyear = ue, gi.firstdayofweek = de, gi.weekdays = yt, gi._weekdays = $i, gi.weekdaysmin = vt, gi._weekdaysmin = pi, gi.weekdaysshort = ht, gi._weekdaysshort = ti, gi.weekdaysparse = rt, gi.ispm = zt, gi._meridiemparse = oi, gi.meridiem = gt, x("en", { ordinalparse: /\d{1,2}(th|st|nd|rd)/, ordinal: function(e) { var t = e % 10 , s = 1 === g(e % 100 / 10) ? "th" : 1 === t ? "st" : 2 === t ? "nd" : 3 === t ? "rd" : "th"; return e + s } }), e.lang = ee("moment.lang is deprecated. use moment.locale instead.", x), e.langdata = ee("moment.langdata is deprecated. use moment.localedata instead.", _); var ji = math.abs , qi = _s("ms") , qi = _s("s") , ki = _s("m") , xi = _s("h") , zi = _s("d") , en = _s("w") , tn = _s("m") , sn = _s("y") , nn = ss("milliseconds") , an = ss("seconds") , on = ss("minutes") , rn = ss("hours") , ln = ss("days") , hn = ss("months") , cn = ss("years") , dn = math.round , un = { s: 45, m: 45, h: 22, d: 26, m: 11 } , pn = math.abs , mn = oe.prototype; mn.abs = ms, mn.add = gs, mn.subtract = vs, mn.as = xs, mn.asmilliseconds = qi, mn.asseconds = qi, mn.asminutes = ki, mn.ashours = xi, mn.asdays = zi, mn.asweeks = en, mn.asmonths = tn, mn.asyears = sn, mn.valueof = cs, mn._bubble = ys, mn.get = ds, mn.milliseconds = nn, mn.seconds = an, mn.minutes = on, mn.hours = rn, mn.days = ln, mn.weeks = is, mn.months = hn, mn.years = cn, mn.humanize = ts, mn.toisostring = ps, mn.tostring = ps, mn.tojson = ps, mn.locale = vt, mn.localedata = bt, mn.toisostring = ee("toisostring() is deprecated. please use toisostring() instead (notice the capitals)", ps), mn.lang = ni, o("x", 0, 0, "unix"), o("x", 0, 0, "valueof"), v("x", zs), v("x", ti), b("x", function(e, t, s) { s._d = new date(1e3 * parsefloat(e, 10)) }), b("x", function(e, t, s) { s._d = new date(g(e)) }), e.version = "2.10.6", t(me), e.fn = ri, e.min = te, e.max = pe, e.utc = r, e.unix = kt, e.months = hs, e.isdate = i, e.locale = x, e.invalid = d, e.duration = qe, e.ismoment = m, e.weekdays = ds, e.parsezone = xt, e.localedata = _, e.isduration = ee, e.monthsshort = cs, e.weekdaysmin = ps, e.definelocale = c, e.weekdaysshort = us, e.normalizeunits = s, e.relativetimethreshold = $s; var fn = e; window.moment = fn }(), function(e) { e.definelocale("zh-cn", { months: "一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"), monthsshort: "1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"), weekdays: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"), weekdaysshort: "周日_周一_周二_周三_周四_周五_周六".split("_"), weekdaysmin: "日_一_二_三_四_五_六".split("_"), longdateformat: { lt: "ah点mm分", lts: "ah点m分s秒", l: "yyyy-mm-dd", ll: "yyyy年mmmd日", lll: "yyyy年mmmd日ah点mm分", llll: "yyyy年mmmd日ddddah点mm分", l: "yyyy-mm-dd", ll: "yyyy年mmmd日", lll: "yyyy年mmmd日ah点mm分", llll: "yyyy年mmmd日ddddah点mm分" }, meridiemparse: /凌晨|早上|上午|中午|下午|晚上/, meridiemhour: function(e, t) { return 12 === e && (e = 0), "凌晨" === t || "早上" === t || "上午" === t ? e : "下午" === t || "晚上" === t ? e + 12 : e >= 11 ? e : e + 12 }, meridiem: function(e, t, s) { var i = 100 * e + t; return i < 600 ? "凌晨" : i < 900 ? "早上" : i < 1130 ? "上午" : i < 1230 ? "中午" : i < 1800 ? "下午" : "晚上" }, calendar: { sameday: function() { return 0 === this.minutes() ? "[今天]ah[点整]" : "[今天]lt" }, nextday: function() { return 0 === this.minutes() ? "[明天]ah[点整]" : "[明天]lt" }, lastday: function() { return 0 === this.minutes() ? "[昨天]ah[点整]" : "[昨天]lt" }, nextweek: function() { var t, s; return t = e().startof("week"), s = this.unix() - t.unix() >= 604800 ? "[下]" : "[本]", 0 === this.minutes() ? s + "dddah点整" : s + "dddah点mm" }, lastweek: function() { var t, s; return t = e().startof("week"), s = this.unix() < t.unix() ? "[上]" : "[本]", 0 === this.minutes() ? s + "dddah点整" : s + "dddah点mm" }, sameelse: "ll" }, ordinalparse: /\d{1,2}(日|月|周)/, ordinal: function(e, t) { switch (t) { case "d": case "d": case "ddd": return e + "日"; case "m": return e + "月"; case "w": case "w": return e + "周"; default: return e } }, relativetime: { future: "%s内", past: "%s前", s: "几秒", m: "1 分钟", mm: "%d 分钟", h: "1 小时", hh: "%d 小时", d: "1 天", dd: "%d 天", m: "1 个月", mm: "%d 个月", y: "1 年", yy: "%d 年" }, week: { dow: 1, doy: 4 } }) }(moment), function(e) { e.locale("zh_cn") }(moment), +function(e) { "use strict"; function t() { var e = document.createelement("bootstrap") , t = { webkittransition: "webkittransitionend", moztransition: "transitionend", otransition: "otransitionend otransitionend", transition: "transitionend" }; for (var s in t) if (void 0 !== e.style[s]) return { end: t[s] }; return !1 } e.fn.emulatetransitionend = function(t) { var s = !1 , i = this; e(this).one("bstransitionend", function() { s = !0 }); var n = function() { s || e(i).trigger(e.support.transition.end) }; return settimeout(n, t), this } , e(function() { e.support.transition = t(), e.support.transition && (e.event.special.bstransitionend = { bindtype: e.support.transition.end, delegatetype: e.support.transition.end, handle: function(t) { if (e(t.target).is(this)) return t.handleobj.handler.apply(this, arguments) } }) }) }(jquery), function(e) { e.fn.drags = function(t) { t = e.extend({ handle: "", cursor: "move" }, t); var s = "" === t.handle ? e(this) : e(this).find(t.handle) , i = e(this) , n = function() { var t, s; return { start: function(n) { t = i.css("z-index"), s = function() { var e = i.outerheight() , t = i.outerwidth() , s = i.offset().top + e - n.pagey , a = i.offset().left + t - n.pagex; return function(n) { i.offset({ top: n.pagey + s - e, left: n.pagex + a - t }) } }(), e(window).on("mousemove", s).addclass("draggable") }, stop: function() { e(window).off("mousemove", s).removeclass("draggable") } } }(); return s.css("cursor", t.cursor).on("mousedown", function(t) { e(window).one("mouseup", function(e) { n.stop(), s.removeclass("active-handle") }), n.start(t), s.addclass("active-handle") }), s } }(jquery), $.fn.extend({ dragging: function(e) { function t() { o.each(function(e) { var t = parseint(math.random() * (b - k)) , s = parseint(math.random() * (v - y)); "x" == c.tolowercase() ? $(this).css({ left: s }) : "y" == c.tolowercase() ? $(this).css({ top: t }) : "both" == c.tolowercase() && $(this).css({ top: t, left: s }) }) } var s, i, n, a, o = $(this), r = o.parent(), l = { move: "both", randomposition: !0, hander: 1 }, h = $.extend({}, l, e), c = h.move, d = h.randomposition, u = h.hander; h.parent && (o = h.parent), u = 1 == u ? o : o.find(h.hander), r.css({ position: "relative" }), h.parent ? o.css({ position: "absolute", left: "50%", marginleft: -o.width() / 2 }) : o.css({ position: "absolute" }), u.css({ cursor: "move" }); var p, m, f, g, v = r.width(), b = r.height(), y = o.width() + parseint(o.css("padding-left")) + parseint(o.css("padding-right")), k = o.height() + parseint(o.css("padding-top")) + parseint(o.css("padding-bottom")), w = !1; d && t(), u.mousedown(function(e) { return w = !0, n = e.pagex, a = e.pagey, p = o.position().left, m = o.position().top, !1 }), $(document).mouseup(function(e) { w = !1 }), $(document).mousemove(function(e) { function t() { if (w === !0) return o.css({ left: f }), f < 0 && o.css({ left: "0" }), f > v - y && o.css({ left: v - y }), f } function r() { if (w === !0) return o.css({ top: g }), g < 0 && o.css({ top: "0" }), g > b - k && o.css({ top: b - k }), g } function l() { w === !0 && o.css({ left: f, top: g }) } s = e.pagex, f = p + s - n, i = e.pagey, g = m + i - a, "x" == c.tolowercase() ? t() : "y" == c.tolowercase() ? r() : "both" == c.tolowercase() && l() }) } }), function(e, t, s) { "function" == typeof define && define.amd ? define(["jquery"], e) : "object" == typeof exports ? module.exports = e(require("jquery")) : e(t || s) }(function(e) { var t = function(t, s, i) { var n = { invalid: [], getcaret: function() { try { var e, s = 0, i = t.get(0), a = document.selection, o = i.selectionstart; return a && navigator.appversion.indexof("msie 10") === -1 ? (e = a.createrange(), e.movestart("character", -n.val().length), s = e.text.length) : (o || "0" === o) && (s = o), s } catch (r) {} }, setcaret: function(e) { try { if (t.is(":focus")) { var s, i = t.get(0); i.setselectionrange ? i.setselectionrange(i.value.length, i.value.length) : (s = i.createtextrange(), s.collapse(!0), s.moveend("character", s.value.length), s.movestart("character", s.value.length), s.select()) } } catch (n) {} }, events: function() { t.on("keydown.mask", function(e) { t.data("mask-keycode", e.keycode || e.which), t.data("mask-previus-value", t.val()), t.data("mask-previus-caret-pos", n.getcaret()), n.maskdigitposmapold = n.maskdigitposmap }).on(e.jmaskglobals.useinput ? "input.mask" : "keyup.mask", n.behaviour).on("paste.mask drop.mask", function() { settimeout(function() { t.keydown().keyup() }, 100) }).on("change.mask", function() { t.data("changed", !0) }).on("blur.mask", function() { r === n.val() || t.data("changed") || t.trigger("change"), t.data("changed", !1) }).on("blur.mask", function() { r = n.val() }).on("focus.mask", function(t) { i.selectonfocus === !0 && e(t.target).select() }).on("focusout.mask", function() { i.clearifnotmatch && !a.test(n.val()) && n.val("") }) }, getregexmask: function() { for (var e, t, i, n, a, r, l = [], h = 0; h < s.length; h++) e = o.translation[s.charat(h)], e ? (t = e.pattern.tostring().replace(/.{1}$|^.{1}/g, ""), i = e.optional, n = e.recursive, n ? (l.push(s.charat(h)), a = { digit: s.charat(h), pattern: t }) : l.push(i || n ? t + "?" : t)) : l.push(s.charat(h).replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&")); return r = l.join(""), a && (r = r.replace(new regexp("(" + a.digit + "(.*" + a.digit + ")?)"), "($1)?").replace(new regexp(a.digit,"g"), a.pattern)), new regexp(r) }, destroyevents: function() { t.off(["input", "keydown", "keyup", "paste", "drop", "blur", "focusout", ""].join(".mask ")) }, val: function(e) { var s, i = t.is("input"), n = i ? "val" : "text"; return arguments.length > 0 ? (t[n]() !== e && t[n](e), s = t) : s = t[n](), s }, calculatecaretposition: function() { var e = t.data("mask-previus-value") || "" , s = n.getmasked() , i = n.getcaret(); if (e !== s) { var a = t.data("mask-previus-caret-pos") || 0 , o = s.length , r = e.length , l = 0 , h = 0 , c = 0 , d = 0 , u = 0; for (u = i; u < o && n.maskdigitposmap[u]; u++) h++; for (u = i - 1; u >= 0 && n.maskdigitposmap[u]; u--) l++; for (u = i - 1; u >= 0; u--) n.maskdigitposmap[u] && c++; for (u = a - 1; u >= 0; u--) n.maskdigitposmapold[u] && d++; if (i > r) i = o; else if (a >= i && a !== r) { if (!n.maskdigitposmapold[i]) { var p = i; i -= d - c, i -= l, n.maskdigitposmap[i] && (i = p) } } else i > a && (i += c - d, i += h) } return i }, behaviour: function(s) { s = s || window.event, n.invalid = []; var i = t.data("mask-keycode"); if (e.inarray(i, o.bypasskeys) === -1) { var a = n.getmasked() , r = n.getcaret(); return settimeout(function() { n.setcaret(n.calculatecaretposition()) }, 10), n.val(a), n.setcaret(r), n.callbacks(s) } }, getmasked: function(e, t) { var a, r, l = [], h = void 0 === t ? n.val() : t + "", c = 0, d = s.length, u = 0, p = h.length, m = 1, f = "push", g = -1, v = 0, b = []; i.reverse ? (f = "unshift", m = -1, a = 0, c = d - 1, u = p - 1, r = function() { return c > -1 && u > -1 } ) : (a = d - 1, r = function() { return c < d && u < p } ); for (var y; r(); ) { var k = s.charat(c) , w = h.charat(u) , x = o.translation[k]; x ? (w.match(x.pattern) ? (l[f](w), x.recursive && (g === -1 ? g = c : c === a && (c = g - m), a === g && (c -= m)), c += m) : w === y ? (v--, y = void 0) : x.optional ? (c += m, u -= m) : x.fallback ? (l[f](x.fallback), c += m, u -= m) : n.invalid.push({ p: u, v: w, e: x.pattern }), u += m) : (e || l[f](k), w === k ? (b.push(u), u += m) : (y = k, b.push(u + v), v++), c += m) } var c = s.charat(a); d !== p + 1 || o.translation[c] || l.push(c); var _ = l.join(""); return n.mapmaskdigitpositions(_, b, p), _ }, mapmaskdigitpositions: function(e, t, s) { var a = i.reverse ? e.length - s : 0; n.maskdigitposmap = {}; for (var o = 0; o < t.length; o++) n.maskdigitposmap[t[o] + a] = 1 }, callbacks: function(e) { var a = n.val() , o = a !== r , l = [a, e, t, i] , h = function(e, t, s) { "function" == typeof i[e] && t && i[e].apply(this, s) }; h("onchange", o === !0, l), h("onkeypress", o === !0, l), h("oncomplete", a.length === s.length, l), h("oninvalid", n.invalid.length > 0, [a, e, t, n.invalid, i]) } }; t = e(t); var a, o = this, r = n.val(); s = "function" == typeof s ? s(n.val(), void 0, t, i) : s, o.mask = s, o.options = i, o.remove = function() { var e = n.getcaret(); return n.destroyevents(), n.val(o.getcleanval()), n.setcaret(e), t } , o.getcleanval = function() { return n.getmasked(!0) } , o.getmaskedval = function(e) { return n.getmasked(!1, e) } , o.init = function(r) { if (r = r || !1, i = i || {}, o.clearifnotmatch = e.jmaskglobals.clearifnotmatch, o.bypasskeys = e.jmaskglobals.bypasskeys, o.translation = e.extend({}, e.jmaskglobals.translation, i.translation), o = e.extend(!0, {}, o, i), a = n.getregexmask(), r) n.events(), n.val(n.getmasked()); else { i.placeholder && t.attr("placeholder", i.placeholder), t.data("mask") && t.attr("autocomplete", "off"); for (var l = 0, h = !0; l < s.length; l++) { var c = o.translation[s.charat(l)]; if (c && c.recursive) { h = !1; break } } h && t.attr("maxlength", s.length), n.destroyevents(), n.events(); var d = n.getcaret(); n.val(n.getmasked()), n.setcaret(d) } } , o.init(!t.is("input")) }; e.maskwatchers = {}; var s = function() { var s = e(this) , n = {} , a = "data-mask-" , o = s.attr("data-mask"); if (s.attr(a + "reverse") && (n.reverse = !0), s.attr(a + "clearifnotmatch") && (n.clearifnotmatch = !0), "true" === s.attr(a + "selectonfocus") && (n.selectonfocus = !0), i(s, o, n)) return s.data("mask", new t(this,o,n)) } , i = function(t, s, i) { i = i || {}; var n = e(t).data("mask") , a = json.stringify , o = e(t).val() || e(t).text(); try { return "function" == typeof s && (s = s(o)), "object" != typeof n || a(n.options) !== a(i) || n.mask !== s } catch (r) {} } , n = function(e) { var t, s = document.createelement("div"); return e = "on" + e, t = e in s, t || (s.setattribute(e, "return;"), t = "function" == typeof s[e]), s = null, t }; e.fn.mask = function(s, n) { n = n || {}; var a = this.selector , o = e.jmaskglobals , r = o.watchinterval , l = n.watchinputs || o.watchinputs , h = function() { if (i(this, s, n)) return e(this).data("mask", new t(this,s,n)) }; return e(this).each(h), a && "" !== a && l && (clearinterval(e.maskwatchers[a]), e.maskwatchers[a] = setinterval(function() { e(document).find(a).each(h) }, r)), this } , e.fn.masked = function(e) { return this.data("mask").getmaskedval(e) } , e.fn.unmask = function() { return clearinterval(e.maskwatchers[this.selector]), delete e.maskwatchers[this.selector], this.each(function() { var t = e(this).data("mask"); t && t.remove().removedata("mask") }) } , e.fn.cleanval = function() { return this.data("mask").getcleanval() } , e.applydatamask = function(t) { t = t || e.jmaskglobals.maskelements; var i = t instanceof e ? t : e(t); i.filter(e.jmaskglobals.datamaskattr).each(s) } ; var a = { maskelements: "input,td,span,div", datamaskattr: "*[data-mask]", datamask: !0, watchinterval: 300, watchinputs: !0, useinput: !/chrome\/[2-4][0-9]|samsungbrowser/.test(window.navigator.useragent) && n("input"), watchdatamask: !1, bypasskeys: [9, 16, 17, 18, 36, 37, 38, 39, 40, 91], translation: { 0: { pattern: /\d/ }, 9: { pattern: /\d/, optional: !0 }, "#": { pattern: /\d/, recursive: !0 }, a: { pattern: /[a-za-z0-9]/ }, s: { pattern: /[a-za-z]/ } } }; e.jmaskglobals = e.jmaskglobals || {}, a = e.jmaskglobals = e.extend(!0, {}, a, e.jmaskglobals), a.datamask && e.applydatamask(), setinterval(function() { e.jmaskglobals.watchdatamask && e.applydatamask() }, a.watchinterval) }, window.jquery, window.zepto), function(e) { "function" == typeof define && define.amd ? define(["jquery"], e) : e(jquery) }(function(e) { e.ui = e.ui || {}; var t = (e.ui.version = "1.12.1", 0) , s = array.prototype.slice; e.cleandata = function(t) { return function(s) { var i, n, a; for (a = 0; null != (n = s[a]); a++) try { i = e._data(n, "events"), i && i.remove && e(n).triggerhandler("remove") } catch (o) {} t(s) } }(e.cleandata), e.widget = function(t, s, i) { var n, a, o, r = {}, l = t.split(".")[0]; t = t.split(".")[1]; var h = l + "-" + t; return i || (i = s, s = e.widget), e.isarray(i) && (i = e.extend.apply(null, [{}].concat(i))), e.expr[":"][h.tolowercase()] = function(t) { return !!e.data(t, h) } , e[l] = e[l] || {}, n = e[l][t], a = e[l][t] = function(e, t) { return this._createwidget ? void (arguments.length && this._createwidget(e, t)) : new a(e,t) } , e.extend(a, n, { version: i.version, _proto: e.extend({}, i), _childconstructors: [] }), o = new s, o.options = e.widget.extend({}, o.options), e.each(i, function(t, i) { return e.isfunction(i) ? void (r[t] = function() { function e() { return s.prototype[t].apply(this, arguments) } function n(e) { return s.prototype[t].apply(this, e) } return function() { var t, s = this._super, a = this._superapply; return this._super = e, this._superapply = n, t = i.apply(this, arguments), this._super = s, this._superapply = a, t } }()) : void (r[t] = i) }), a.prototype = e.widget.extend(o, { widgeteventprefix: n ? o.widgeteventprefix || t : t }, r, { constructor: a, namespace: l, widgetname: t, widgetfullname: h }), n ? (e.each(n._childconstructors, function(t, s) { var i = s.prototype; e.widget(i.namespace + "." + i.widgetname, a, s._proto) }), delete n._childconstructors) : s._childconstructors.push(a), e.widget.bridge(t, a), a } , e.widget.extend = function(t) { for (var i, n, a = s.call(arguments, 1), o = 0, r = a.length; o < r; o++) for (i in a[o]) n = a[o][i], a[o].hasownproperty(i) && void 0 !== n && (e.isplainobject(n) ? t[i] = e.isplainobject(t[i]) ? e.widget.extend({}, t[i], n) : e.widget.extend({}, n) : t[i] = n); return t } , e.widget.bridge = function(t, i) { var n = i.prototype.widgetfullname || t; e.fn[t] = function(a) { var o = "string" == typeof a , r = s.call(arguments, 1) , l = this; return o ? this.length || "instance" !== a ? this.each(function() { var s, i = e.data(this, n); return "instance" === a ? (l = i, !1) : i ? e.isfunction(i[a]) && "_" !== a.charat(0) ? (s = i[a].apply(i, r), s !== i && void 0 !== s ? (l = s && s.jquery ? l.pushstack(s.get()) : s, !1) : void 0) : e.error("no such method '" + a + "' for " + t + " widget instance") : e.error("cannot call methods on " + t + " prior to initialization; attempted to call method '" + a + "'") }) : l = void 0 : (r.length && (a = e.widget.extend.apply(null, [a].concat(r))), this.each(function() { var t = e.data(this, n); t ? (t.option(a || {}), t._init && t._init()) : e.data(this, n, new i(a,this)) })), l } } , e.widget = function() {} , e.widget._childconstructors = [], e.widget.prototype = { widgetname: "widget", widgeteventprefix: "", defaultelement: "
' + this.settings.nofound + "
", this.source = this.settings.source || this.settings.data, this.sourcemap = {}, this.delay = this.settings.delay, this.buildhtml(), this.initelements(), this.bindevents() }, buildhtml: function() { var e = this.element.data("plugin-id") , t = '' + this.settings.weeklabel + " | "); var _ = this; $.each(this.settings.daysofweek, function(e, t) { c += e === (7 - _.settings.firstday) % 7 || e === (6 - _.settings.firstday) % 7 ? '' + t + " | " : "" + t + " | " }), c += "
---|---|---|
' + t[v][0].week() + " | ");
for (var g = 0; g < 7; g++) {
var d = [];
t[v][g].issame(x, "day") && d.push("selected"),
t[v][g].issame(new date, "day") && d.push("today");
for (var s = 0; s < e.length; s++)
t[v][g].issame(moment(e[s], "yyyy-mm-dd"), "day") && d.push("disable");
t[v][g].isoweekday() > 5 && d.push("weekend"),
t[v][g].month() != t[1][1].month() && d.push("off"),
this.settings.mindate && t[v][g].isbefore(this.settings.mindate, "day") && d.push("off", "disabled"),
k && t[v][g].isafter(k, "day") && d.push("off", "disabled");
var i = this.render(new date(t[v][g]))
, n = ""
, m = !1
, t = new regexp("disable").test(i);
t && d.push("disable");
for (var m = 0; m < d.length; m++)
n += d[m] + " ",
"disabled" == d[m] && (m = !0);
m || (n += "available"),
c += '' + i + " | "
}
c += "
' + this.settings.nofound + "
", this.source = this.settings.source || this.settings.data, this.clear = this.settings.clear || function() {} , this.sourcemap = {}, this.delay = this.settings.delay, this.buildhtml(), this.initelements(), this.bindevents() }, initelements: function() { this.elements = { view: this.element, menu: $(".dropdown-menu", this.container), menudwon: $(".glyphicon-menu-down", this.container), menuremove: $(".glyphicon-remove", this.container) }; var e = this.elements.view.data("plugin-id"); this.elements.view.attr("data-s-dropdown-id", "#c-combobox-menu-" + e), this.dropdown = new s.ui.controls.dropdown(this.elements.view,{ _pluginid: e }) }, buildhtml: function() { var e = this.element.data("plugin-id") , t = '' + this.settings.nofound + "
", this.source = this.settings.data, this.sourcemap = {}, this.delay = this.settings.delay, this.chooseitems = [], this.selecteditems = [], this.buildhtml(), this.initelements(), this.transferattributes(), this.bindevents(), this.bindeventsex()) }, buildhtml: function() { this.element.hide(); var e = this.element.data("plugin-id") , t = '